Background technology
Gigabit passive optical network (Gigabit Passive Optical Network, referred to as GPON) be ITU Telecommunication Standardization Sector (ITU Telecommunication Standardization Sector, referred to as ITU-T) G.984 the one of standard definition is point-to-multipoint, multiple services, use G-PON Encapsulation Mode (GPON Encapsulation Method, referred to as GEM) frame carrying miscellaneous service, and service quality (Quality of Service can be provided, referred to as QoS) the gigabit broad-band full-service access technology that ensures.
In Gbit passive optical network system, G.984.4 GPON standard defines several business model about two layer functions (Layer 2 functions), and bridge model is a kind of typical model wherein, and a simple bridge model definition as shown in Figure 1.Be embodied in media access control layer bridge service moulding plate (Media Access Control Bridge Service Profile, referred to as MAC Bridge Service Profile) management entity by access side network interface (Access network interface, referred to as ANI) side first line of a couplet bridge port media access control layer bridge port configuration data (Media Access Control Bridge Port Configuration Data, referred to as MAC Bridge Port Config Data) the mutual destination node of management entity sensing G-PON Encapsulation Mode (GPON Encapsulation Method Interworking termination point, referred to as GEMInterworking TP) management entity, by Customer Premises Network interface (User network interface, referred to as UNI) side second line of a couplet bridge port MAC Bridge Port Config Data management entity sensing physical link destination node user side Ethernet interface (Physical path termination point Ethernet UNI, referred to as PPTP Ethernet UNI) management entity.
In GPON system, G.984.4 standard define only as next model for multicast service, as shown in Figure 2.For this model, MAC Bridge Service Profile management entity must point to the mutual destination node of multicast entity multicast G-PON Encapsulation Mode (Multicast GEM interworking termination point) by a multicast first line of a couplet bridge mouth MAC Bridge Port Config Data could realize multicast service.
In the attribute of the multicast entity Multicast GEM interworking termination point of G984.4 standard to describe, a pointer is had to be (what point in bridge model is MAC Bridge Service Profileg management entity) of pointing to service moulding plate (Service Profile), but this attribute has clearly stated in a standard and has passed into disuse, continue to retain just in order to the consideration of compatibility, this attribute being described below in a standard:
Service moulding plate pointer: this attribute is set to 0, and no longer employs.In order to rear lane is compatible, execution MAC bridge service moulding plate, IP route service template or 802.1P mapping services template also may can be set as.(read, write, arrange during establishment) (necessary attribute) (2 byte) (Service profile pointer:This attribute is set to 0 and not used.For backward compatibility, it may also be set to point to a MAC bridge service profile, IP router service profile or 802.1P mapper service profile. (R, W, Set-by-create) (mandatory) (2bytes)).
For complicated business, when namely there is many bridges, optical line terminal (Optical line terminal, referred to as OLT) generally can not create multiple multicast first line of a couplet bridge mouth (i.e. MAC Bridge Port Config Data management entity), be used to refer to multicast entity Multicast GEM interworking termination point, like this, just only have one of them bridge and multicast entity associated, other bridges can not realize multicast service.In actual applications, user realizes the demand of multicast under proposing many bridge modes, but this is beyond the definition of G.984.4 standard, cannot realize.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Fig. 3 is the flow chart of the multicast service realizing method according to the embodiment of the present invention.As shown in Figure 3, comprise according to the multicast service realizing method of the embodiment of the present invention:
Step S302, create one or more multicast entity Multicast GEM interworking termination point, wherein, above-mentioned multicast entity is not associated with any one bridge in many bridges model.
Step S306, when the bridge in many bridges model has multicast service demand, has the vlan information of the user side of the bridge of multicast service demand to set up multicast packet passage according to the vlan information of above-mentioned multicast entity and this.
Step S308, uses above-mentioned multicast packet channel transfer multi-cast business data.
According to the definition G.984.4 of GPON standard, for bridge model (single bridge or many bridges), multicast entity Multicast GEM interworking termination point (each bridge must create an example of this entity) is pointed by the multicast first line of a couplet bridge mouth MAC Bridge Port Config Data management entity of ANI side.But pass through said method, OLT only creates a multicast entity (also can create multiple for subsequent use), and do not create the multicast first line of a couplet bridge mouth of ANI side specially, thus make this multicast entity be in vacant state (with reference to figure 5), although this multicast entity does not associate with any one bridge, the multicast service on all bridges all depends on this multicast entity and realizes.
Under many bridges model, when the user on certain bridge has multicast service demand, just can by expansion VLAN operation configuration data (Extended VLAN Tagging Operation Config Data) management entity configuration vlan information on this entity, namely carry out filtering to it and process, VLAN on this bridge can be passed through from multicast entity Multicast GEM interworking termination point, namely the multicast packet passage for transport multicast business datum is set up by configuration vlan information, thus multicast service is achieved under many bridges model.
Preferably, before step S306, following process can also be comprised:
Step S304, has the vlan information of the user side of the bridge of multicast service demand to set up multicast protocol passage according to the vlan information of above-mentioned multicast entity and this.
After multicast protocol passage has created, optical network unit (Optical Network Unit, referred to as ONU) just can send protocol massages to OLT by this multicast protocol passage, select corresponding multicast service, whether whether OLT also can inquire about a certain multicast service by this multicast protocol passage to ONU using always, to determine also to need to send this multi-cast business data to ONU.
Preferably, above-mentioned vlan information include but not limited to following one of at least: VLAN ID, data transport priority.
VLAN ID is the underlying parameter creating multicast protocol passage and multicast packet passage, and data transport priority then defines the priority between business, and the data determining which business can preferentially be transmitted.
Preferably, in step s 304, there is the vlan information of the user side of the bridge of multicast service demand to set up multicast protocol passage according to the vlan information of above-mentioned multicast entity and this and may further include one of following process:
(1) when management entity Multicast configuration template (Multicast Operations Profile) is set up, search in this management entity and whether there is the vlan information unicast channel identical with the vlan information of required multicast protocol, if exist, then using this unicast channel as above-mentioned multicast protocol passage.
(2) when above-mentioned management entity is not set up, or when there is not the vlan information unicast channel identical with the vlan information of required multicast protocol in the management entity set up, directly there is the vlan information of the user side of the bridge of multicast service demand to set up above-mentioned multicast protocol passage according to above-mentioned multicast entity and this.
The foundation of multicast protocol passage includes but not limited to above-mentioned two kinds of modes, when there is available unicast channel in management entity, can directly using this unicast channel as multicast protocol passage, when there is not available unicast channel in the management entity that management entity is not set up or set up, then need have the vlan information of the user side of the bridge of multicast service demand to set up above-mentioned multicast protocol passage according to the vlan information of multicast entity and this.
Below in conjunction with example, above preferred embodiment is described in detail.
According to the multicast entity relationship of many bridges model of example of the present invention, as shown in Figure 5: multicast entity Multicast GEM interworking termination point does not exist points relationship with any bridge entity, if user needs to realize multicast service on certain bridge, then must pass through Extended VLAN Tagging Operation Config Data management entity on multicast entity Multicast GEM interworking termination point, configure the vlan information corresponding to user side, set up the incidence relation of multicast entity Multicast GEM interworking termination point and certain bridge.It should be noted that, in Fig. 1, Fig. 2, Fig. 5, the connection ratio that what the mark " 1 " on the arrow of presentation-entity annexation identified is between two entities is 1: 1, and " p " then represents that the connection ratio of this entity and other entities is variable.
As shown in Figure 6, in this example, the Establishing process of multicast packet passage may further include following process:
The ONU that step S602:ONU have received establishment (Set-by-create) multicast entity manages control interface (ONUmanagement and control interface, referred to as OMCI) message.
Step S604: except the relation between bridge and multicast entity, judges whether the entity points relationship of multicast channel in protocol level is communicated with, if be communicated with, performs step S606, otherwise terminates.
Step S606: the vlan information according to multicast entity and the configuration of user side sets up multicast protocol passage.
Step S608: the vlan information according to multicast entity and the configuration of user side sets up multicast packet passage.
Wherein, as shown in Figure 7, the Establishing process of multicast protocol passage may further include following process:
Step S702: the multicast template Multicast Operations Profile management entity judging whether to create 9.3.27 joint in G.984.4 standard, if created, performs step S704, otherwise performs step S710.
Step S704: search identical with the vlan information of required multicast protocol with Multicast Operations Profile management entity (namely with multicast template matches) unicast channel.
Step S706: if find corresponding unicast channel, perform step S708, otherwise perform step S710.
Step S708: using the unicast channel that finds as multicast protocol passage.
Step S710: the vlan information according to multicast entity and the configuration of user side sets up multicast protocol passage.
After multicast protocol passage and multicast packet passage have created, ONU sends protocol massages to OLT by multicast protocol passage, the multicast traffic stream that OLT sends to ONU, ONU is by multicast packet channel reception multicast traffic stream, then be forwarded to the corresponding UNI registered permanent residence, thus realize the multicast service under many bridges model.
Fig. 8 is the structured flowchart of the multicast service implement device according to the embodiment of the present invention.As shown in Figure 8, comprise according to the multicast service implement device of the embodiment of the present invention:
Entity set-up module 82, for creating one or more multicast entity Multicast GEM interworking termination point, wherein, multicast entity is not associated with any one bridge in many bridges model.
Data channel module 84, when having a multicast service demand for the bridge in many bridges model, has the vlan information of the user side of the bridge of multicast service demand to set up multicast packet passage according to the virtual LAN VLAN information of multicast entity and this.
Business realizing module 86, for using above-mentioned multicast packet channel transfer multi-cast business data.
Pass through said apparatus, create one and be in vacant state multicast entity (also can create multiple for subsequent use), when the user on certain bridge has multicast service demand, only need the vlan information being had the user side of the bridge of multicast service demand by the virtual LAN VLAN information of configuration multicast entity and this, VLAN on this bridge can be passed through from multicast entity, namely establish the multicast packet passage for transport multicast business datum, thus achieve multicast service under many bridges model.
Preferably, can further include according to the multicast service implement device of the embodiment of the present invention:
Protocol channel module 88, for having the vlan information of the user side of the bridge of multicast service demand to set up multicast protocol passage according to the vlan information of multicast entity and this.
After multicast protocol passage has created, ONU just can send protocol massages to OLT by this multicast protocol passage, select corresponding multicast service, whether whether OLT also can inquire about a certain multicast service by this multicast protocol passage to ONU using always, to determine also to need to send this multi-cast business data to ONU.
Preferably, above-mentioned vlan information include but not limited to following one of at least: VLAN ID, data transport priority.
VLAN ID is the underlying parameter creating multicast protocol passage and multicast packet passage, and data transport priority then defines the priority between business, and the data determining which business can preferentially be transmitted.
Preferably, protocol channel module 88 may further include:
First sets up module 882, for when management entity Multicast Operations Profile sets up, search in management entity and whether there is the vlan information unicast channel identical with the vlan information of required multicast protocol, if exist, then using this unicast channel as above-mentioned multicast protocol passage.
Second sets up module 884, for not setting up at management entity, or when there is not the vlan information unicast channel identical with the vlan information of required multicast protocol in the management entity set up, directly there is the vlan information of the user side of the bridge of multicast service demand to set up described multicast protocol passage according to the vlan information of above-mentioned multicast entity and this.
Said two units sets up mode corresponding to two kinds of multicast protocol passages, and in specific implementation process, protocol channel module 88 includes but not limited to said two units, can expand as required.
As can be seen from the above description, by technical scheme provided by the invention, realize multicast service under many bridges model that can be defined by OMCI in gigabit passive optical network, when making to there is many bridges, each bridge can realize multicast functionality according to expection.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.