Disclosure of Invention
The technical problem to be solved by the invention is to provide a gigabit passive optical network system and a controllable multicast implementation method thereof, thereby improving the service security.
In order to solve the above problem, the present invention provides a method for implementing controllable multicast in a gigabit passive optical network system, comprising:
configuring and storing user port multicast authority information on an Optical Line Terminal (OLT), establishing a mapping relation between a user port on an Optical Network Unit (ONU) and a gigabit passive optical network encapsulation mode encapsulation port identifier (Gemport), and transmitting the mapping relation to the ONU by the OLT;
when the ONU receives a user request message, searching a corresponding Gemport in the mapping relation according to a user port, and sending the user request message to the OLT through the Gemport;
and the OLT finds a corresponding user port in the mapping relation through the Gemport, and when the user port multicast authority information is judged to allow the user to access, the OLT issues multicast member information to the ONU, and the ONU forwards multicast data according to the multicast member information configuration.
Further, the method also has the following characteristics:
the mapping relationship established between the user port and the Gemport is a one-to-one mapping relationship.
Further, the method also has the following characteristics:
the request message of the user is an internet group management protocol request message or a multicast listener discovery message.
Further, the method also has the following characteristics:
the ONU is configured according to the multicast member information, and the forwarding of the multicast data specifically comprises the following steps:
and after receiving the multicast member information sent by the OLT, the ONU searches a user port corresponding to the Gemport, creates a user-side two-layer forwarding entry for the user port and forwards the multicast data.
Further, the method also has the following characteristics:
and the OLT dynamically transmits multicast member information to the ONU by using the attribute of the static access control list in a multicast operation template of a management entity interface, wherein the OLT configures the transmitted multicast member information in the corresponding Gemport through the multicast operation template.
In order to solve the above problems, the present invention further provides a gigabit passive optical network system, including an Optical Line Terminal (OLT) and an Optical Network Unit (ONU), wherein:
the OLT is used for configuring and storing user port multicast authority information, establishing a mapping relation between a user port on the ONU and a gigabit passive optical network encapsulation mode encapsulation port identifier (Gemport), and issuing the mapping relation to the ONU by the OLT; after receiving the user request message, searching a corresponding user port in the mapping relation through the Gemport, and issuing multicast member information to the ONU when judging that the user is allowed to access according to the user port multicast authority information;
the ONU is used for storing the mapping relation, finding a corresponding Gemport in the mapping relation according to a user port when the ONU receives a user request message, and sending the user request message to the OLT through the Gemport; and forwarding multicast data according to the multicast member information configuration.
Further, the system also has the following characteristics:
the mapping relationship established between the user port and the Gemport is a one-to-one mapping relationship.
Further, the system also has the following characteristics:
the request message of the user is an internet group management protocol request message or a multicast listener discovery message.
Further, the system also has the following characteristics:
the ONU is configured according to the multicast member information, and the forwarding of the multicast data specifically comprises the following steps:
and after receiving the multicast member information sent by the OLT, the ONU searches a user port corresponding to the Gemport, creates a user-side two-layer forwarding entry for the user port and forwards the multicast data.
Further, the system also has the following characteristics:
the OLT dynamically issues multicast member information to the ONU by utilizing the attribute of a static access control list in a multicast operation template of a management entity interface; and the OLT configures the delivered multicast member information in the corresponding Gemport through a multicast operation template.
The method and the system expand the multicast control mode of the G.984.4 standard, support centralized controllable multicast, greatly facilitate the development of IPTV controllable multicast service on GPON and improve the service safety. In another embodiment, the multicast authority control table of the ONU is perfectly expanded to support multicast preview control, thereby providing a complete controllable multicast solution. Moreover, the problem that the multicast preview function of the GPON ONU cannot be realized by the multicast control interface of the G984.4 standard can be realized, and the standard multicast control method is perfected.
Detailed Description
The multicast control interface defined by the G984.4 standard is based on a distributed controllable multicast model, and requires that the ONU has a strong protocol processing capability, and an authority control point (i.e. ONU) is close to a user, so that security is not easily guaranteed. The invention provides a method for realizing centralized controllable multicast on an OLT (optical line terminal), which perfects the function of multicast service and improves the service security.
The centralized controllable multicast idea is that OLT carries out centralized management of multicast user authority and protocol control, identifies ONU user information on OLT, carries out centralized processing of protocol, dynamically issues configuration information for creating and deleting multicast member information to ONU, and controls the multicast data forwarding of ONU. The ONU does not need to store service data and does not need complex protocol processing.
The following detailed description of embodiments of the invention refers to the accompanying drawings.
In the centralized controllable multicast implementation method in this embodiment, the OLT performs centralized multicast user authority management and protocol control, identifies ONU user information on the OLT, performs centralized protocol processing, dynamically issues configuration messages for creating and deleting multicast member information to the ONU, and controls multicast data forwarding of the ONU. And the ONU does not need to store service data and does not need complex protocol processing.
The method in the embodiment comprises the following steps:
configuring and storing user port multicast authority information on an OLT (optical line terminal), establishing a mapping relation between a user port on an ONU (optical network unit) and Gemport, and issuing the mapping relation to the ONU by the OLT;
when the ONU receives the user request message, finding the corresponding Gemport in the mapping relation according to the user port, and sending the user request message to the OLT through the Gemport;
the OLT finds the corresponding user port in the mapping relation through Gemport, judges according to the multicast authority information of the user port, if the user is allowed to access, the OLT issues the multicast member information to the ONU, and the ONU realizes the multicast data forwarding according to the multicast member information.
Fig. 1 is a flowchart of the multicast control implementation method in the embodiment of the present invention, which specifically includes the following steps:
step 110: establishing a mapping relation between a user port on an ONU and a Gemport on the OLT, configuring and storing user port multicast authority information by the OLT, issuing the mapping relation between the user port and the Gemport to the ONU, and storing the mapping relation between the user port and the Gemport by the ONU;
because the mapping relation is established between the user port and the Gemport, the user request message received by the ONU can be mapped on the corresponding Gemport;
preferably, a one-to-one mapping relationship is established between the user port and the Gemport;
therefore, in the subsequent processing, the OLT can distinguish IGMP request messages from different user ports according to Gemport to judge the user multicast authority.
In order to be compatible with the existing standard, the OLT sets a multicast authority control table of the ONU equipment through an OMCI interface and stores user port multicast authority information.
Step 120: when the ONU receives a request message of a user from a user port, the ONU finds a Gemport corresponding to the user port according to a mapping relation between the Gemport stored in the ONU and the user port, and sends the request message of the user to the OLT through the Gemport;
for IPv4, the request message of the user may be an IGMP request message; for IPv6, the user's request message may be a Multicast Listener Discovery (MLD) message.
Step 130: after receiving the user request message, the OLT searches for a corresponding user port number according to the Gemport, judges the multicast authority of the user according to the configured user port multicast authority information, and executes step 140 when the multicast authority is that the user is allowed to access; otherwise, ending the access of the user;
step 140: OLT sends multicast member information to ONU;
in this embodiment, in order to be further compatible with the existing standard, in a Multicast operation template (MOP) of a Management Entity (ME) interface defined by the g.984.4 standard, the OLT sets Multicast member information in a static access control list (static access control list) and dynamically issues the Multicast member information to the ONU by using the static access control list attribute. And the OLT configures the delivered multicast member information in the corresponding Gemport through the MOP.
The multicast member information comprises a multicast group and a multicast port list, and the multicast group corresponds to a multicast channel.
The static access control list is used for configuring the static multicast member information in the G.984.4 standard, and the application mode of the static access control list is expanded without changing the original meaning of the static access control list. The fields of the static access control list are defined as follows:
0-Table index (2bytes)
1-GEM Port identification (2bytes)
2-VLAN number (2bytes)
3-Source IP Address (4 bytes)
4-initial destination IP Address (4 bytes)
5-terminate destination IP Address (4 bytes)
6-group Bandwidth (4 bytes)
7-Retention (2bytes)
In step 150, after receiving the multicast member information sent by the OLT, the ONU searches for a user port corresponding to the geoport, and creates a user-side two-layer forwarding entry, that is, a multicast forwarding entry, for the user port.
And the ONU creates a two-layer multicast forwarding entry according to the mapping relation between the Gemport and the user port, thereby controlling the forwarding of the multicast stream.
Further, when the user leaves the multicast group, the ONU searches the corresponding Gemport in the mapping relation according to the user port, and informs the OLT through the Gemport; and the OLT controls the ONU to delete the multicast forwarding table entry through the same OMCI interface and stops forwarding the multicast data.
Based on the above implementation method, this embodiment further provides a gigabit passive optical network system, including an Optical Line Terminal (OLT) and an Optical Network Unit (ONU); wherein,
the OLT is used for configuring and storing user port multicast authority information, establishing a mapping relation between a user port on the ONU and a gigabit passive optical network encapsulation mode encapsulation port identifier (Gemport), and issuing the mapping relation to the ONU by the OLT; after receiving the user request message, searching a corresponding user port in the mapping relation through Gemport, and issuing multicast member information to the ONU when judging that the user is allowed to access according to the user port multicast authority information;
the ONU is used for storing the mapping relation, finding a corresponding Gemport in the mapping relation according to a user port when the ONU receives a user request message, and sending the user request message to the OLT through the Gemport; and forwarding the multicast data according to the multicast member information configuration.
Further, the mapping relationship established between the user port and the geomport may be a one-to-one mapping relationship.
The request message of the user is an internet group management protocol request message or a multicast listener discovery message.
The ONU is configured according to the multicast member information, and the forwarding of the multicast data specifically comprises the following steps:
and after receiving the multicast member information sent by the OLT, the ONU searches a user port corresponding to the Gemport, creates a user-side two-layer forwarding entry for the user port and forwards the multicast data.
The OLT dynamically transmits multicast member information to the ONU by using the attribute of the static access control list in a multicast operation template of a management entity interface; and the OLT configures the delivered multicast member information in the corresponding Gemport through a multicast operation template.
An embodiment of the invention is described below as an application example.
In this application example, the multicast VLAN is set to 100, and the multicast IP address is set to 224.1.1.1.
A, establishing a mapping relation between a user port1 and a Gemport1 on an ONU on an OLT, and issuing the mapping relation to the ONU;
b, when the ONU receives an IGMP request message with a group address of 224.1.1.1 on a user port1, the IGMP request message is sent to the OLT through Gemport 1;
c, the OLT searches the multicast authority of the user port1 corresponding to Gemport1, and sends the multicast member information of 224.1.1.1 to Gemport1 through an MOP interface;
d, the ONU receives the multicast member information and creates a two-layer multicast forwarding entry of the user port1 corresponding to Gemport 1.
(vlan=100,mac=01:00:5e:01:01:01,port=1)
While the preferred and other embodiments of the invention have been illustrated and described, it will be clear that the invention is not so limited. Numerous modifications, changes, variations, substitutions and equivalents will occur to those skilled in the art without departing from the spirit and scope of the present invention as defined by the appended claims.