CN103200470B - The dispensing device of a kind of Gbit passive optical network system multicast service and method - Google Patents

The dispensing device of a kind of Gbit passive optical network system multicast service and method Download PDF

Info

Publication number
CN103200470B
CN103200470B CN201310117586.5A CN201310117586A CN103200470B CN 103200470 B CN103200470 B CN 103200470B CN 201310117586 A CN201310117586 A CN 201310117586A CN 103200470 B CN103200470 B CN 103200470B
Authority
CN
China
Prior art keywords
multicast
module
message
primary module
request
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
CN201310117586.5A
Other languages
Chinese (zh)
Other versions
CN103200470A (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.)
WEIFANG DONGSHENG ELECTRONIC CO Ltd
Weifang University
Original Assignee
WEIFANG DONGSHENG ELECTRONIC CO Ltd
Weifang University
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 WEIFANG DONGSHENG ELECTRONIC CO Ltd, Weifang University filed Critical WEIFANG DONGSHENG ELECTRONIC CO Ltd
Priority to CN201310117586.5A priority Critical patent/CN103200470B/en
Publication of CN103200470A publication Critical patent/CN103200470A/en
Application granted granted Critical
Publication of CN103200470B publication Critical patent/CN103200470B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The present invention relates to Ethernet passive optical network technical field, provide dispensing device and the method for a kind of Gbit passive optical network system multicast service, described device is built in OLT, it includes primary module, CLI command module, host module and routing module, primary module receives multicast data flow and the request data package of externally input, analysis request packet obtains solicited message, and solicited message is sent to message queue, it is distributed to routing module or host module processes, host module sets up the corresponding relation between requesting host and port according to solicited message, routing module sets up multicast forward table, and to the member's forwarding multicasting stream in multicast forward table。By the cooperation that cooperates of above-mentioned modules, shorten OLT from receiving first IGMP request message of the particular multicast group from specific PON mouth to the time starting to send to this user multicast data message, improve the utilization rate of device resource。

Description

The dispensing device of a kind of Gbit passive optical network system multicast service and method
Technical field
The invention belongs to Ethernet passive optical network technical field, particularly relate to dispensing device and the method for a kind of Gbit passive optical network system multicast service。
Background technology
Gigabit passive optical network (Gigabit-CapablePassiveOpticalNetwork, GPON) (following be called for short GPON) technology be a kind of based on ethernet technology, point-to-multipoint intelligent acess technology, it integrates the feature such as efficient of the low cost of ethernet technology and passive optical network PON, is the best mode realizing fiber-to-the-home Optical Access Network future。
GPON system is by optical line terminal equipment (OpticalLineTerminal, OLT), user side (OpticalNetworkUnit, ONU), Optical Distribution Network (OpticalDistributionNetwork, ODN) composition。General its descending employing broadcast mode, up employing TDMA (time division multiple acess access) mode。So-called " passive ", refers to and does not contain any active electronic device and electronic power supply in ODN, be all made up of passive devices such as optical branching devices (Splitter), and therefore its management maintenance is less costly。
Along with developing rapidly of the Internet, the Video Applications of a lot of high bandwidths has progressively come into the life of people, for instance IPTV, video conference, network audio-video broadcast, VoD, quotations on the stock market issue, E-learning, long-distance education, tele-medicine etc.。In order at ethernet passive optical network (EthernetPassiveOpticalNetwork, EPON) system is supported broadband multimedia services, EPON supporting, multicasting technology becomes a problem, because multicasting technology saves bandwidth, is one of effective means reducing offered load。
The multicast generally said refers to IP multicast, and it realizes in three layers;And in EPON system, OLT and ONU substantially regards Ethernet switch as, they broadly fall into two-layer equipment, multicast packets and broadcast packet are not made any distinction between, OLT is directly broadcasted away (this phenomenon is called general stream) after receiving multicast packets, so not only waste the substantial amounts of network bandwidth, cause broadcast storm, also have impact on regular traffic。
In GPON system, when multicast data flow is delivered to OLT device, OLT is longer to the time that first this multicast group user of this PON mouth sends multicast data message to starting from first the IGMP request message receiving the particular multicast group from specific PON mouth, and the resource utilization of equipment is relatively low。
Summary of the invention
It is an object of the invention to provide the dispensing device of a kind of Gbit passive optical network system multicast service, aim to solve the problem that in prior art, in GPON system, when multicast data flow is delivered to OLT device, OLT is longer to the time that first this multicast group user of this PON mouth sends multicast data message to starting from receiving first IGMP request message of the particular multicast group from specific PON mouth, the problem that the resource utilization of equipment is relatively low。
The present invention is achieved in that the dispensing device of a kind of Gbit passive optical network system multicast service, and described device is built in the optical line terminal equipment of Gbit passive optical network system, and described device specifically includes:
Primary module, establishment and operation for multicast agent business control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying virtual local area network tags VLANtag of second line of a couplet mouth main frame and user's input;
CLI command module, is connected with described primary module, is used for being turned on and off hardware multicast function, multicast agent service parameter is carried out initial configuration, meanwhile, exports the CLI command bag of described user input to described primary module;
Host module, it is connected with described primary module, during for being the common request packet from second line of a couplet mouth main frame when the type of described packet, receive and process described primary module and deliver to the solicited message of described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, wherein, corresponding relation between requesting host and the corresponding port of described foundation includes the information of request target multicast data flow;
Routing module, is connected with described primary module, is used for starting initial query intervalometer, sends initial query, meanwhile, receives the correspondence relationship information between multicast data flow and requesting host and the corresponding port of forwarding of described primary module output;
When the request data package carrying virtual local area network tags VLANtag that the type of described packet is from second line of a couplet mouth main frame, described routing module is according to the described solicited message in described message queue, set up and safeguard the multicast forward table corresponding with VLAN, and forward, to multicast group member, the multicast data flow that described primary module receives to described multicast forward table;
When the type of described packet is the CLI command bag that user inputs, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with described CLI command, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
The another object of the embodiment of the present invention is in that to provide the distribution method of the Gbit passive optical network system multicast service of a kind of dispensing device based on Gbit passive optical network system multicast service, and described method comprises the steps:
Described primary module performs the establishment of multicast agent business and runs control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying virtual local area network tags VLANtag of second line of a couplet mouth main frame and user's input;
Described CLI command module is additionally operable to be turned on and off hardware multicast function, and multicast agent service parameter is carried out initial configuration;
When the common request packet that the type of described packet is from second line of a couplet mouth main frame, described host module receives and processes described primary module and delivers to the request data package in described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, then, described routing module is set up according to the corresponding relation between described requesting host and corresponding port and safeguards multicast forward table, and forward packet to the member in multicast forward table;
When the request data package carrying virtual local area network tags VLANtag that the type of described packet is from second line of a couplet mouth main frame, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with VLAN, and forward described multicast data flow to the member in multicast forward table;
When the type of described packet is the CLI command bag that user inputs, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with described CLI command, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
As a kind of improved plan, described routing module safeguards that the step of multicast forward table specifically includes the group to multicast forward table and adds, organizes deletion, port interpolation and port deletion。
The dispensing device of the Gbit passive optical network system multicast service that the embodiment of the present invention provides is built in OLT, it is built-in with primary module, CLI command module, host module and routing module, wherein primary module is as nucleus module, generate the function receiving and sending packet in multicast procedures, receive multicast data flow and the request data package of externally input, resolve described request data package and obtain solicited message, and solicited message is sent to message queue, it is distributed to routing module or host module processes, host module sets up the corresponding relation between requesting host and port according to described solicited message, routing module sets up multicast forward table according to the corresponding relation between described solicited message or described requesting host and port, and forward, to the member in multicast forward table, the multicast data flow that described primary module receives。By the cooperation that cooperates of above-mentioned modules, shorten multicast data flow when being delivered to OLT device, OLT, from receiving first IGMP request message of the particular multicast group from specific PON mouth to the time starting to send multicast data message to first this multicast group user of this PON mouth, improves the utilization rate of device resource。
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the dispensing device of the Gbit passive optical network system multicast service that the embodiment of the present invention provides;
Fig. 2 is the work process flow chart of the primary module that the embodiment of the present invention provides;
Fig. 3 is the work process flow chart of the host module that the embodiment of the present invention provides;
Fig. 4 is the work process flow chart of the routing module that the embodiment of the present invention provides;
Fig. 5 is the flowchart of the distribution method of the Gbit passive optical network system multicast service that the embodiment of the present invention provides;
Fig. 6 is the flowchart of the dynamic multicast that the embodiment of the present invention provides;
Fig. 7 is the flowchart of the static multicast that the embodiment of the present invention provides;
Fig. 8 is the flowchart of the M-VLAN that the embodiment of the present invention provides;
Wherein, 11-primary module, 12-CLI command module, 13-host module, 14-routing module。
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated。Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention。
Fig. 1 illustrates the structural frames of the dispensing device of Gbit passive optical network system multicast service provided by the invention, for the ease of illustrating, only provides part related to the present invention in figure。
The dispensing device of Gbit passive optical network system multicast service is built in the optical line terminal equipment (OLT) of Gbit passive optical network system (GPON), this device specifically includes primary module 11, CLI command module 12, host module 13 and routing module 14, wherein:
Primary module 11, establishment and operation for multicast agent business control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying virtual local area network tags VLANtag of second line of a couplet mouth main frame and user's input;
Wherein, primary module 11 function is responsible for establishment and the operation maintenance of multicast OLT proxy module, there is provided and receive and send packet function, then different types of request data package will be distinguished, and give host module or routing module process, and global variable assignment is the work such as default value, the application of task number, the establishment of message queue in multicast agent process。
The operation maintenance of primary module 11 is responsible for after the IGMP data message received process the useful information of acquisition is delivered to message queue, polling message queue processing message, call corresponding host module or routing module, start corresponding timer, amendment multicast forward table, choose whether as required to send to upper united mouth join message or leave message, timer expiry event classification is given corresponding timer expiry and processes function process。
CLI command module 12, is connected with primary module 11, is used for being turned on and off hardware multicast function, multicast agent service parameter is carried out initial configuration, meanwhile, exports the CLI command bag of described user input to primary module 11;
Wherein, the multicast agent service parameter of initial configuration includes various parameter and static group information, for instance the agent IP address of software arrangements, port ageing time, hardware configuration abandon unknown multicast data etc.。
After opening multicast agent function, the establishment work of multicast agent function, during establishment, parameter is all configured to default value, it is necessary to could by the configuration operation of user after the configuration information of preservation configures this module parameter。What use during configuration is exactly the function of CLI module offer, and when closing multicast agent module, CLI module is responsible for follow-up work, deletes the resource that this module takies, and closes hardware multicast function。
Host module 13, it is connected with primary module 11, the request data package of message queue is delivered to for receiving and process described primary module 11, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module 11, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, wherein, corresponding relation between requesting host and the corresponding port of described foundation includes the information of request target multicast data flow;
Wherein, host module 13 runs IGMPv1 version and two kinds of Host Status figure of IGMPv2 version, and host module 13 achieves both state diagrams, when V1 version router exists, carries out IGMPv1 edition owner's machine state diagram;When only V2 version router does not have V1 version router, carry out IGMPv2 edition owner's machine state diagram。
Routing module 14, it is connected with primary module 11, for starting initial query intervalometer, send initial query, simultaneously, receive the correspondence relationship information between multicast data flow and requesting host and the corresponding port of forwarding of described primary module 11 output, set up and safeguard multicast forward table according to the described solicited message in the correspondence relationship information between described requesting host and corresponding port or described message queue, and forward, to multicast group member, the multicast data flow that described primary module 11 receives according to described multicast forward table。
Wherein multicast forward table is the corresponding relation between multicast data flow and port, and between requesting host with port, there is also corresponding corresponding relation, thus it is recognised that when multicast data flow is transmitted to corresponding ports by routing module 14, namely can be understood as the requesting host that multicast data flow is transmitted to correspondence。
In embodiments of the present invention, routing module 14 safeguards that the step of multicast forward table specifically includes the group to multicast forward table and adds, organizes deletion, port interpolation and port deletion, does not repeat them here, but not in order to limit the present invention。
Wherein, owing to multicast agent must send query message to each port, limit it as inquiry, the querier election mechanism of disabling IGMP route herein。
When this routing module 14 is just opened, starting initial query intervalometer, send initial query, initial query interval is the 1/4 of general polling, and inquiry times is default value that is 2 time, it is therefore an objective to finds member relation as early as possible, sets up multicast forward table。
In embodiments of the present invention, above-mentioned each module operates on the ARM of OLT device, processes API and OLT master chip transmission IGMP message by special packet, controls API by multicast and control the multicast forward table of OLT master chip。
OLT master chip, according to the multicast forward table set up, flows to member port multicast service and forwards, thus achieving L 2 multicast function in GPON system。
Primary module 11, CLI command module 12 and routing module 14 are also connected with other hardware devices of GPON system, in order to realize technical scheme, do not repeat them here, but not in order to limit the present invention。
In embodiments of the present invention, primary module is as nucleus module, generate the function receiving and sending packet in multicast procedures, receive multicast data flow and the request data package of externally input, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, it is distributed to routing module or host module processes, host module sets up the corresponding relation between requesting host and port according to described solicited message, routing module sets up multicast forward table according to the corresponding relation between described solicited message or described requesting host and port, and forward, to the member in multicast forward table, the multicast data flow that described primary module receives。By the cooperation that cooperates of above-mentioned modules, shorten multicast data flow when being delivered to OLT device, OLT, from receiving first IGMP request message of the particular multicast group from specific PON mouth to the time starting to send multicast data message to first this multicast group user of this PON mouth, improves the utilization rate of device resource。
In embodiments of the present invention, in GPON system, take the mode of SCB+IGMP to realize the distribution of multicast service, utilize the multicast based on extension OAM to control message and realize control and the management function of multicast service。
At present, GPON system substantially all adopts IGMPProxy/Snooping protocol for realizing multicast, under this mode, OLT utilizes IGMPProxy, ONU to utilize IGMPSnooping to realize the management to multicast member, realizes being dynamically added/exit and maintaining of multicast member by IGMPJoin/Leave and Query message。Additionally, each operator is in order to manage group membership for greater flexibility, it is likely to adopt the company standard of oneself, if dynamic controllable multicast agreement is better to meet the business demand of IPTV, below IGMPProxy/Snooping and dynamic controllable multicast agreement is introduced respectively:
(1)IGMPProxy
IGMPProxy realizes principle: OLT, by intercepting the IGMP message between user and router, records mapping table i.e. the mac address table of multicast mac address and port。
When router sends a multicast packet through OLT, OLT analyzes the MAC Address of this multicast packet, search MAC table, then only can give, by this transmitting multicast data, the port belonging under this multicast group, other port will not be sent to, thus greatly reduce the message of data link layer, it is suppressed that network storm。
Igmp frame have three kinds dissimilar, data according to Type territory are different, query messages (Query) can be divided into, report message (Report message), leave message (Leave message), setting up multicast table, the first line of a couplet port of Proxy equipment performs the role of main frame, and second line of a couplet port performs the role of router。
(2)IGMPSnooping
IGMPSnooping realizes principle: OLT, in the way of intercepting main frame and being sent to router IGMP Report Message, forms the corresponding relation of group membership and switch ports themselves, and according to this corresponding relation, the multicast packet received forwards a packet to the port of group membership。
In order to make it easy to understand, on the basis of above-mentioned conventional func, the following concrete implementation flow process providing each module of the embodiment of the present invention:
(1) work process of primary module, as shown in Figure 2:
The master chip of step a:OLT equipment receives request data package and multicast data flow;
Step b: the primary module request data package to receiving carries out parsing and obtains solicited message, this resolving is common decapsulation process or the process that pack arrangement is resolved, and does not repeat them here;
Step c: the solicited message after resolving is sent into message queue, namely this solicited message includes three types, it is corresponding with the type of request data package, wherein, the CLI command information that the solicited message carrying VLANtag and the user from the common request information of second line of a couplet mouth main frame, from second line of a couplet mouth main frame inputs;
Step d: call corresponding mission function, carries out classification process to the solicited message after resolving;
Step e: when the common request information that this solicited message is from second line of a couplet mouth main frame, this solicited message is flowed to above-mentioned host module and processes accordingly;
Step f: when the CLI command information that this solicited message is from the solicited message carrying VLANtag of second line of a couplet mouth main frame and user's input, this request data is lost and processes accordingly to above-mentioned routing module。
(2) work process of host module, as shown in Figure 3:
Step a: obtain primary module and deliver to the solicited message in message queue, and resolve;
Step b: obtain the corresponding relation between requesting host and port, namely on corresponding port, has those or that requesting host to exist, and when being transmitted to this port by multicast data flow, those or that requesting host can acquire this multicast data flow;
Step c: the corresponding relation between requesting host and port is fed back to primary module, in order to routing module obtains this port information, wherein, the corresponding relation between described requesting host and corresponding port includes the information of request target multicast data flow。
In this step, the request target multicast data flow of port and corresponding ports being informed, primary module, primary module forward it to routing module, routing module based on this, sets up multicast forward table forwarding multicasting stream。
(3) work process of routing module, as shown in Figure 4:
Step a: routing module, according to the corresponding relation between solicited message or requesting host and port, sets up multicast forward table;
Wherein, this process setting up multicast forward table can be understood as and is divided into three different modes, it may be assumed that
The first: set up multicast forward table according to the corresponding relation between requesting host and port, it is embodied as the corresponding corresponding multicast data flow of common port, now, corresponding multicast data flow can be forwarded to corresponding ports by routing module, and the multicast data flow that can realize corresponding requests main frame forwards;
The second: set up according to solicited message, this solicited message includes the request target multicast data flow information of VLANtag and correspondence, in order to set up, the port carrying tag is stood multicast forward table, and now, multicast data flow can be transmitted to this port carrying tag by routing module;
The third: setting up according to solicited message, this solicited message comprises CLI command information, and by port involved in CLI command for according to setting up multicast forward table, now, multicast data flow is transmitted to this member by routing module。
Step b: multicast data flow is transmitted to this group membership by routing module。
In embodiments of the present invention, what Fig. 5 illustrated the distribution method of the Gbit passive optical network system multicast service that the embodiment of the present invention provides realizes flow process, and its concrete step is as described below:
In step S501, primary module performs the establishment of multicast agent business and runs control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying VLANtag of second line of a couplet mouth main frame and user's input。
Wherein, the CLI command bag of user's input is generated by CLI module。
In step S502, when the common request packet that the type of packet is from second line of a couplet mouth main frame, host module receives and processes described primary module and delivers to the solicited message in described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, then, described routing module is set up according to the corresponding relation between described requesting host and corresponding port and safeguards multicast forward table, and to the member's forwarding multicasting stream in multicast forward table。
In step S503, when the request data package carrying VLANtag that the type of packet is from second line of a couplet mouth main frame, routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with VLAN, and forward described multicast data flow to the member in multicast forward table。
In step S504, when the type of packet is the CLI command bag that user inputs, routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with described CLI command, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
In embodiments of the present invention, the above-mentioned content giving a different embodiment, below in conjunction with three concrete implementation examples, the solution of the present invention is described in detail:
1, dynamic multicast
Referring to Fig. 6, the process of dynamic multicast needs the participation of IGMP message, namely needs its trigger action, and its concrete operating process is as described below:
Step S1.1, primary module receive the common request packet of multicast data flow and the requesting host from second line of a couplet mouth;
The request data package received is resolved by step S1.2, primary module, and the process of its parsing is similar to the parsing that the structure to general data bag forms, for instance the parsing of the information such as data packet head, pointer, does not repeat them here, but not in order to limit the present invention。
Step S1.3, primary module are delivered in message queue by resolving the solicited message obtained, and wait that host module extracts。
Step S1.4, host module receive and process described primary module and deliver to the solicited message of described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, respond general polling and the group-specific query of router simultaneously, sending Active report request to router and leave message, the corresponding relation between requesting host and the corresponding port of described foundation includes the information of request target multicast data flow;
Step S1.5, routing module receive the correspondence relationship information between multicast data flow and requesting host and the corresponding port of forwarding of primary module output, set up and safeguard multicast forward table according to the correspondence relationship information between described requesting host and corresponding port, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
For the technical scheme understanding the present embodiment further, following provide a concrete example dynamic multicast illustrated:
Assuming there are 10 requesting hosts, be designated as Z1-Z10 respectively, port is D1-Dn (n is natural number), and when these requesting hosts send request data package to primary module, this request data package is resolved by host module, obtains such as following table,
Consulting table 1, requesting host sends the corresponding table of the port of request message with it:
Where it is assumed that the multicast data flow that content is CCTV5 of Z1, Z5 and Z10 request, what Z2 asked is the multicast data flow of CCTV6, the multicast data flow of the Phoenix Satellite TV of Z3, Z4 and Z8 request, and residue Z6, Z7 and Z9 ask the multicast data flow of CCTV1:
The information of the correspondence relationship information of table 1 and the multicast data flow of above-mentioned respective request is fed back to primary module by host module;
Routing module sets up multicast forward table according to the information of upper table and the multicast data flow of respective request, and the port that namely Z1, Z5 and Z10 are corresponding is one group, and port corresponding for Z2 is one group, and the port that Z3, Z4 and Z8 are corresponding is one group, and residue Z6, Z7 and Z9 are one group, it may be assumed that
Refer to table 2, the content of multicast forward table, the i.e. relation of multicast group and corresponding ports:
Port D4、D13、D7 D8 D9、D10、D1 D14、D15、D2
Multicast group CCTV5 multicast group CCTV6 multicast group Phoenix Satellite TV multicast group CCTV1 multicast group
Then, according to this table, CCTV5 multicast data flow is forwarded on D4, D13, D7 port by routing module, and CCTV6 multicast data flow is forwarded to D8 port, Phoenix Satellite TV multicast data flow is forwarded on D9, D10, D1 port, CCTV1 multicast data flow is forwarded on D14, D15, D2 port;
Further, as long as corresponding multicast data flow being forwarded on the port of correspondence, then can transfer it on the requesting host of correspondence, namely respectively CCTV5 multicast data flow is forwarded on Z1, Z5, Z10 requesting host, CCTV6 multicast data flow is forwarded on Z2 requesting host, Phoenix Satellite TV multicast data flow is forwarded on Z3, Z4, Z8 requesting host, CCTV1 multicast data flow is forwarded on Z6, Z7, Z9 requesting host, thus realizing the Layer 2 Multicast business on OLT。
Above are only the one of the present invention with specific reference to example, it is simple to understand, at this not in order to limit the present invention。
2, static multicast
Referring to Fig. 7, static multicast, without the participation of IGMP message, is directly configured OLT master chip by CLI command and realizes, and its concrete implementation process is as described below:
Step S2.1, CLI command module receive the CLI command bag of multicast data flow and externally input;
The CLI command bag that above-mentioned CLI command module is received by step S2.2, primary module resolves, and is delivered to message queue by resolving the solicited message obtained;
Multicast forward table is set up and safeguarded to step S2.3, routing module, according to the solicited message in message queue, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
In order to make it easy to understand, following provide static multicast implement example:
It is a particular multicast group that network operation personnel arranges several ports corresponding by CLI command, it is assumed that for D1-D5;
First, CLI command module receives the CLI command of network operation personnel's input, and is transported to primary module;
This CLI command is resolved by primary module, learns that D1-D5 needs to be set to particular multicast group, and primary module is transmitted to routing module;
D1-D5 is set as a multicast group by routing module, and forwards corresponding multicast data flow to this five ports, carries out the acquisition of multicast data flow for corresponding requesting host。
Above are only the concrete example of the present invention, at this not in order to limit the present invention。
3, M-VLAN
M-VLAN divides the VLAN that multicast is special on OLT, multicast service uses multiple VLAN being exclusively used in multicast service to realize isolated with other business, one corresponding multicast channel of M-VLAN or a channel group, one multicast channel only belongs to a specific M-VLAN, and the group business stream transmitted in SCB (single copy broadcast) channel is all with M-VLAN tag。
The general polling that OLT issues is designed as one, band acquiescence multicast VLANtag, and group-specific query is designed as with the M-VLAN belonging to the multicast group of place;The VLANtag of the IGMP message sent from second line of a couplet mouth (i.e. PON mouth) that OLT receives is clean culture VLANtag。
The IGMP message transmitted in the upper united mouth (port being namely connected with router) of OLT and group business stream are all with the M-VLAN tag of respective sets。
Refer to Fig. 8, in conjunction with above-described embodiment, following provide M-VLAN implement flow process:
Step S3.1, primary module receive multicast data flow and the request data package carrying VLANtag from second line of a couplet mouth main frame, and it is carried out structure elucidation, and are delivered to message queue by resolving the solicited message obtained;
Multicast forward table is set up and safeguarded to step S3.2, routing module, according to the solicited message in message queue, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
The above-mentioned mode of operation three kinds different provided for the embodiment of the present invention, does not repeat them here, but not in order to limit the present invention。
In embodiments of the present invention, OLT device is by intercepting different IGMP message, different message there is different process, when a requesting host to add certain multicast group, send addition group request message, after primary module receives this request message, through packet parsing, through route this multicast group of module creation or increase this port to already present multicast group list item。And forward this message to multicast group port;When certain main frame leaves multicast group, send out and leave (Leave) message。After primary module receives this message, through packet parsing, delete Multicast Routing group port through routing module。
The content recorded in above-described embodiment mostly relatively is and participates in multicast data flow forwarding content, namely the content application of member in multicast forward table added, then for contents such as the deletion of group member, interpolations, it is same as the prior art or similar, do not repeat them here, but not in order to limit the present invention。
The dispensing device of the Gbit passive optical network system multicast service that the embodiment of the present invention provides is built in OLT, it is built-in with primary module, CLI command module, host module and routing module, wherein primary module is as nucleus module, generate the function receiving and sending packet in multicast procedures, receive multicast data flow and the request data package of externally input, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, it is distributed to routing module or host module processes, host module sets up the corresponding relation between requesting host and port according to described solicited message, routing module sets up multicast forward table according to the corresponding relation between described solicited message or described requesting host and port, and forward, to the member in multicast forward table, the multicast data flow that described primary module receives。By the cooperation that cooperates of above-mentioned modules, shorten multicast data flow when being delivered to OLT device, OLT, from receiving first IGMP request message of the particular multicast group from specific PON mouth to the time starting to send multicast data message to first this multicast group user of this PON mouth, improves the utilization rate of device resource。
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention。

Claims (3)

1. the dispensing device of a Gbit passive optical network system multicast service, it is characterised in that described device is built in the optical line terminal equipment of Gbit passive optical network system, described device specifically includes:
Primary module, establishment and operation for multicast agent business control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying virtual local area network tags VLANtag of second line of a couplet mouth main frame and user's input;
CLI command module, is connected with described primary module, is used for being turned on and off hardware multicast function, multicast agent service parameter is carried out initial configuration, meanwhile, exports the CLI command bag of described user input to described primary module;
Host module, it is connected with described primary module, during for being the common request packet from second line of a couplet mouth main frame when the type of described packet, receive and process described primary module and deliver to the solicited message of described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, wherein, corresponding relation between requesting host and the corresponding port of described foundation includes the information of request target multicast data flow;
Routing module, is connected with described primary module, is used for starting initial query intervalometer, sends initial query, meanwhile, receives the correspondence relationship information between multicast data flow and requesting host and the corresponding port of forwarding of described primary module output;
When the request data package carrying virtual local area network tags VLANtag that the type of described packet is from second line of a couplet mouth main frame, described routing module is according to the described solicited message in described message queue, set up and safeguard the multicast forward table corresponding with VLAN, and forward, to multicast group member, the multicast data flow that described primary module receives to described multicast forward table;
When the type of described packet is the CLI command bag that user inputs, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with described CLI command, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
2. the distribution method based on the Gbit passive optical network system multicast service of the dispensing device of the Gbit passive optical network system multicast service described in claim 1, it is characterised in that described method comprises the steps:
Described primary module performs the establishment of multicast agent business and runs control, generate the function receiving and sending packet in multicast procedures, simultaneously, receive the outside multicast data flow being delivered to and request data package, resolve described request data package and obtain solicited message, and described solicited message is sent to message queue, the type of described request data package includes the common request packet from second line of a couplet mouth main frame, CLI command bag from the request data package carrying virtual local area network tags VLANtag of second line of a couplet mouth main frame and user's input;
Described CLI command module is additionally operable to be turned on and off hardware multicast function, and multicast agent service parameter is carried out initial configuration;
When the common request packet that the type of described packet is from second line of a couplet mouth main frame, described host module receives and processes described primary module and delivers to the request data package in described message queue, take on host function, control between requesting host and corresponding port, set up corresponding relation, and the corresponding relation between requesting host and the corresponding port of foundation is sent to described primary module, simultaneously, the general polling of response router and group-specific query, send Active report request to router and leave message, then, described routing module is set up according to the corresponding relation between described requesting host and corresponding port and safeguards multicast forward table, and forward packet to the member in multicast forward table;
When the request data package carrying virtual local area network tags VLANtag that the type of described packet is from second line of a couplet mouth main frame, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with VLAN, and forward described multicast data flow to the member in multicast forward table;
When the type of described packet is the CLI command bag that user inputs, described routing module is according to the solicited message in described message queue, set up and safeguard the multicast forward table corresponding with described CLI command, and forward, to multicast group member, the multicast data flow that described primary module receives according to described multicast forward table。
3. the distribution method of Gbit passive optical network system multicast service according to claim 2, it is characterised in that described routing module safeguards that the step of multicast forward table specifically includes the group to multicast forward table and adds, organizes deletion, port interpolation and port deletion。
CN201310117586.5A 2013-04-07 2013-04-07 The dispensing device of a kind of Gbit passive optical network system multicast service and method Expired - Fee Related CN103200470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117586.5A CN103200470B (en) 2013-04-07 2013-04-07 The dispensing device of a kind of Gbit passive optical network system multicast service and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117586.5A CN103200470B (en) 2013-04-07 2013-04-07 The dispensing device of a kind of Gbit passive optical network system multicast service and method

Publications (2)

Publication Number Publication Date
CN103200470A CN103200470A (en) 2013-07-10
CN103200470B true CN103200470B (en) 2016-06-22

Family

ID=48722800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117586.5A Expired - Fee Related CN103200470B (en) 2013-04-07 2013-04-07 The dispensing device of a kind of Gbit passive optical network system multicast service and method

Country Status (1)

Country Link
CN (1) CN103200470B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789655B (en) * 2016-11-28 2020-09-25 新华三技术有限公司 Method and device for sending route announcement message
CN111163378A (en) * 2019-11-26 2020-05-15 中盈优创资讯科技有限公司 Optical network multicast sinking management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547086A (en) * 2008-03-24 2009-09-30 华为技术有限公司 Method, system and device for broadband access network multicast control
CN101877803A (en) * 2010-06-29 2010-11-03 中兴通讯股份有限公司 Method, system and device for realizing multicast preview
CN101951323A (en) * 2010-08-12 2011-01-19 上海市共进通信技术有限公司 Device and method for realizing uplink multicast in Gigabit passive optical network
CN102802094A (en) * 2012-09-12 2012-11-28 上海斐讯数据通信技术有限公司 Improvement method used for shortening multicasting traffic stream issued retardation in EPON (ethernet passive optical network) system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713351B1 (en) * 2005-02-07 2007-05-04 삼성전자주식회사 System and method for providing internet protocaol broadcast service
CN101414919B (en) * 2007-10-19 2012-11-28 上海贝尔阿尔卡特股份有限公司 Control method and apparatus for ascending multicast business

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547086A (en) * 2008-03-24 2009-09-30 华为技术有限公司 Method, system and device for broadband access network multicast control
CN101877803A (en) * 2010-06-29 2010-11-03 中兴通讯股份有限公司 Method, system and device for realizing multicast preview
CN101951323A (en) * 2010-08-12 2011-01-19 上海市共进通信技术有限公司 Device and method for realizing uplink multicast in Gigabit passive optical network
CN102802094A (en) * 2012-09-12 2012-11-28 上海斐讯数据通信技术有限公司 Improvement method used for shortening multicasting traffic stream issued retardation in EPON (ethernet passive optical network) system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GPON 系统组播业务标准化模型的设计实现;范雨晓;《现代电信科技》;20110228;全文 *
GPON系统中组播VLAN 的设计;谭锋等;《光通信技术》;20110930(第9期);全文 *
组播协议在GPON 中的实现及应用;王欣等;《光通信技术》;20070630;全文 *

Also Published As

Publication number Publication date
CN103200470A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
US8443103B2 (en) Method and system for intelligently forwarding multicast packets
US7848343B2 (en) Traffic management for a passive optical network terminal
US8488604B2 (en) Method, device and system for forwarding multicast packets
CN101286990B (en) Forwarding method and apparatus of double-layer multicast
CN101094087A (en) Controllable multicast system under environment of passive optical network, and implementing method
CN101510891A (en) Apparatus and method for implementing multicast by EPON access system
JP5256118B2 (en) Information distribution system and information distribution method
JP2008103864A (en) Ip multicast service system, switch device, and method of selecting and transmitting group used for them
US8238337B1 (en) Hybrid multicast switch employing network-layer routing
JP5449548B2 (en) Multicast processing method and apparatus
KR101048572B1 (en) Push Group Multicast Internet Group Management System and Its Method in Passive Subscriber Network
CN102098166A (en) Gigabit passive optical network system and controllable multicast implementation method thereof
CN100484055C (en) Method for implementing multicast spanning VLAN
CN103200470B (en) The dispensing device of a kind of Gbit passive optical network system multicast service and method
CN101621467A (en) Method, devicedevice and system for realizing multicast VSI
CN106375100B (en) Method of realizing group broadcasting and device in a kind of video monitoring system
CN111491221B (en) vOLT multicast method and OLT equipment
CN101247541B (en) Method for implementing multimedia multicast service of mobile communications network
CN102149026A (en) Multicast realizing method and system
CN100421410C (en) Method for realizing mobile communication network multimedia enhancement service
CN1925468B (en) Internet set managerial protocol report inhibiting method and communications network system
CN107465742B (en) Distribution equipment and method for realizing asymmetric service by UDP tunnel technology
CN101355509A (en) Method for saving multicast forwarding bandwidth of distributed network equipment
JP5116495B2 (en) Optical communication system and station side device
CN102594686A (en) Implementing method of multicast terminal on rapid departure from multicast

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160622

Termination date: 20180407

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