Passive optical network multicast protocol message processing method and device
By configuring the multicast protocol message layer 2 forwarding switch in the passive optical network system, the multicast server is allowed to be deployed to the terminal ONU side, which solves the problem that the multicast server must be placed on the upper side of the OLT, and realizes flexible networking and efficient resource utilization, reducing the maintenance and management costs of the operator.
Patent Information
- Application Number
- CN202510639046.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-08-08
AI Technical Summary
In the existing passive optical network system, the multicast server must be placed on the upper side of the OLT, resulting in high resource occupation and inflexible networking. The multicast protocol message processing depends on the OLT's master control disk, which increases maintenance and management costs.
By configuring the multicast protocol message layer 2 forwarding switch, the enable state is set at the PON ports within and between the service disk, to realize the flexible forwarding and management of multicast protocol messages, allowing the multicast server to be laid out on the terminal ONU side, and using the layer 2 forwarding function of the service disk for accurate forwarding.
It realizes flexible networking of passive optical network systems, improves the utilization rate of terminal equipment, reduces the bandwidth usage of OLT master control disk, reduces the maintenance and management costs of operators, and improves the forwarding performance of the system.
Smart Images

Figure CN120455875A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless network, and in particular to a method and device for processing multicast protocol messages in a passive optical network. Background Art
[0002] A Passive Optical Network (PON) system generally includes an Optical Line Terminal (OLT), an Optical Distribution Network (ODN), an Optical Network Unit (ONU) or an Optical Network Terminal (ONT).
[0003] A VLAN ID (Virtual Local Area Network Identifier) is a digital identifier that uniquely identifies a VLAN. Using a VLAN ID helps isolate broadcast domains, improve network security, simplify network management, and increase network flexibility.
[0004] Currently, OLTs primarily utilize a plug-in card architecture, consisting of a main control disk and service disks (also known as interface disks or line cards). The main control disk is responsible for primary switching, i.e., switching between line cards within the device and to aggregation layer network devices, while the service disk primarily provides PON interfaces. PON network topologies typically adopt a multi-level tree or star structure, encompassing three core components: the optical line terminal (OLT), the optical network unit (ONU), and the optical network device (ODN), which provides optical transmission channels.
[0005] Generally speaking, data sent from users to the network is accessed through the terminal ONU device, then forwarded to the service disk's PON port, where it enters the service disk and is then forwarded out of the OLT's uplink port. Conversely, data sent from the network to users enters through the OLT's uplink port, is forwarded out of the service disk's PON port, and finally reaches the terminal ONU device. Multicast servers are typically deployed on the core switch near the OLT's uplink port, requiring the OLT's main control panel or core switch to participate in the processing and forwarding of multicast protocol packets.
[0006] With the widespread adoption of PON access, network operators are placing increasing demands on networking models. Traditional LAN aggregation switches are being replaced by OLTs, horizontal copper cables are being replaced by optical fiber, and access switches are being replaced by passive optical splitters. To facilitate maintenance and management, multicast servers providing services and ONUs (online unit terminals) are often located in the same physical area. Consequently, some operators are requiring multicast servers to be located on the ONU side of the same service board, a feature referred to hereafter as reverse multicast.
[0007] However, in traditional PON systems, horizontal resource sharing of the PON network is difficult to achieve because Layer 2 port isolation is typically configured between ONUs, preventing direct connectivity between terminals across the same service board. If the existing upstream model is still used, multicast protocol packets from the ONU side are forwarded unidirectionally upward to the OLT service board, which then forwards them to the master control board, which then forwards them to the uplink port. In this case, the OLT master control board or the core switch on the uplink port side must participate in processing and forwarding the multicast protocol packets, which consumes CPU resources and bandwidth of the PON system's master control board. Furthermore, in the downstream direction, multicast protocol packets forwarded to the multicast server on the ONU side are typically broadcast or flooded. Reverse multicast protocol packets can cause other ONU devices connected to the same PON port on the service board to receive duplicate packets. Summary of the Invention
[0008] In view of this, the present invention provides a method and apparatus for processing multicast protocol messages in a passive optical network.
[0009] Specifically, the present invention is achieved through the following technical solutions:
[0010] According to a first aspect of the present invention, a method for processing a passive optical network multicast protocol message is provided, the method comprising the steps of:
[0011] Configure the Layer 2 forwarding switch for multicast protocol packets;
[0012] Obtaining the state of the multicast protocol packet layer 2 forwarding switch;
[0013] Receive multicast protocol packets;
[0014] Determine whether the state is an enabled state;
[0015] If so, forwarding the multicast protocol message;
[0016] If not, the multicast protocol message is not forwarded.
[0017] Optionally, configuring the multicast protocol packet layer 2 forwarding switch includes the steps of:
[0018] Configure the PON port number in the service disk;
[0019] Configure the forwarding switch enable option;
[0020] Configure the target PON port bitmap in the service disk.
[0021] Optionally, configuring the target PON port bitmap in the service disk includes the steps of:
[0022] When the PON port is enabled, the current PON port is added to the target PON port bitmap;
[0023] When inter-PON port is enabled, other PON ports are added to the target PON port bitmap.
[0024] Optionally, the obtaining the state of the multicast protocol packet layer 2 forwarding switch includes the steps of:
[0025] Obtaining the status of the switch in the service disk PON port in the layer 2 forwarding switch of the multicast protocol message;
[0026] The status of the switch between the service disk PON ports in the multicast protocol message layer 2 forwarding switch is obtained.
[0027] Optionally, the determining whether the state is an enabled state comprises the steps of:
[0028] Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0029] Determine whether the service disk PON port switch in the multicast protocol message layer 2 forwarding switch is in an enabled state.
[0030] Optionally, the forwarding processing of the multicast protocol message includes the steps of:
[0031] Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0032] If so, forward the multicast protocol message to the service flow channel of the same virtual local area network identifier except the source service flow number in the PON port of the service disk, learn the layer 2 information of the multicast protocol message and associate it with the corresponding service flow number;
[0033] If not, the multicast protocol message is not forwarded.
[0034] Optionally, the forwarding processing of the multicast protocol message includes the steps of:
[0035] Determine whether the service disk PON port switch in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0036] If so, forward the multicast protocol message to the channel corresponding to the service flow of the same virtual local area network identifier of other PON ports;
[0037] If not, the multicast protocol message is not forwarded.
[0038] According to a second aspect of the present invention, there is provided a passive optical network multicast protocol message processing device, comprising:
[0039] Configuration module, used to configure the Layer 2 forwarding switch for multicast protocol packets;
[0040] A status acquisition module, configured to acquire the status of the multicast protocol packet layer 2 forwarding switch;
[0041] A message receiving module, used for receiving multicast protocol messages;
[0042] A judging module, configured to judge whether the state is an enabled state;
[0043] An execution module, configured to execute a preset operation according to the result of the judgment module;
[0044] When the result of the judging module is yes, the executing module forwards the multicast protocol message; when the result of the judging module is no, the executing module does not forward the multicast protocol message.
[0045] According to a third aspect of the present invention, a service disk of a passive optical network system is provided, wherein the service disk stores a computer program, and when the service disk executes the program, the steps of any one of the aforementioned methods are implemented.
[0046] The technical solution provided by the present invention brings at least the following beneficial effects:
[0047] The present application provides a method and device for processing multicast protocol messages in a passive optical network, which solves the limitation that the multicast server in the existing passive optical network system must be arranged on the uplink side of the OLT and the switching equipment on the uplink side needs to be configured and processed accordingly. It can realize the flexible networking of the passive optical network system, and the multicast server can be arranged on the terminal ONU side, thereby improving the utilization of the terminal equipment; reducing the bandwidth occupation of the main control disk of the OLT, improving the forwarding performance of the entire passive optical network system, and reducing the maintenance and management costs of operators. The present invention provides an innovative multicast protocol message processing method by introducing a layer 2 forwarding switch, which not only improves the flexibility and performance of the passive optical network system, but also reduces the maintenance and management costs of operators. This innovation is of great significance for promoting the development and popularization of PON technology, especially in modern communication networks that require efficient and flexible networking. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 A schematic diagram of a process for processing a multicast protocol message in a passive optical network provided by an embodiment of the present invention;
[0051] Figure 2 A schematic structural diagram of a passive optical network multicast protocol message processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0053] Figure 1 The present invention schematically illustrates a flow chart of a method for processing a multicast protocol message in a passive optical network applicable to an embodiment of the present invention.
[0054] See also Figure 1 The embodiment of the present invention provides a method for processing a multicast protocol message in a passive optical network. The method may include the following steps:
[0055] S1: Configure the Layer 2 forwarding switch for multicast protocol packets.
[0056] Exemplarily, configuring a multicast protocol packet layer 2 forwarding switch includes the following steps:
[0057] Configure the PON port number in the service disk;
[0058] Configure the forwarding switch enable option;
[0059] Configure the target PON port bitmap in the service disk.
[0060] In the embodiment of the present application, the service disk is used to configure the multicast protocol packet layer 2 forwarding switch, that is, to configure the enable state or disable state of the multicast protocol layer 2 forwarding switch within the service disk PON port or between PON ports. The table entries of the configuration table include the PON port number, forwarding switch enable option, and target PON port bitmap. The configuration table is shown in Table 1 below:
[0061] Table 1
[0062]
[0063]
[0064] Exemplarily, configuring the target PON port bitmap includes the steps of:
[0065] When the PON port is enabled, the current PON port is added to the target PON port bitmap;
[0066] When inter-PON port is enabled, other PON ports are added to the target PON port bitmap.
[0067] In the embodiment of the present application, the target PON port bitmap includes the current PON port and other PON ports, so both the current PON port and other PON ports need to be configured, and the configuration table is shown in Table 1 above.
[0068] S2: Obtain the status of the layer 2 forwarding switch of the multicast protocol packet;
[0069] Exemplarily, the obtaining of the state of the multicast protocol packet layer 2 forwarding switch includes the steps of:
[0070] Obtaining the status of the switch in the service disk PON port in the layer 2 forwarding switch of the multicast protocol message;
[0071] The status of the switch between the service disk PON ports in the multicast protocol message layer 2 forwarding switch is obtained.
[0072] In an embodiment of the present application, the status of the switch within the service disk PON port and the switch between the service disk PON ports need to be obtained. Status reading instructions can be sent to the switch within the service disk PON port and the switch between the service disk PON ports respectively, and the status of the switch within the service disk PON port and the switch between the service disk PON ports can be obtained by distinguishing the status reading feedback instructions.
[0073] S3: Receive multicast protocol packets;
[0074] S4: Determine whether the state is an enabled state;
[0075] Exemplarily, the determining whether the state is an enabled state includes the steps of:
[0076] Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0077] Determine whether the service disk PON port switch in the multicast protocol message layer 2 forwarding switch is in an enabled state.
[0078] In the embodiment of the present application, when determining the enable status, it is necessary to determine the enable status of the switch within the PON port and the switch between the PON ports respectively.
[0079] S5: If yes, forward the multicast protocol message;
[0080] Exemplarily, the forwarding process of the multicast protocol message includes the following steps:
[0081] Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0082] If so, forward the multicast protocol message to the service flow channel of the same virtual local area network identifier except the source service flow number in the PON port of the service disk, learn the multicast protocol message and associate it with the corresponding service flow number;
[0083] If not, the multicast protocol message is not forwarded.
[0084] In an embodiment of the present application, each service flow number is associated with a port service of an ONU, and the ONUid, the uni-side port number of the ONU, and the VLAN ID information of the ONU port service can be mapped to a service flow number. The service flow number is globally unique within the service disk. When the service disk configures the ONU port service, it establishes channel information with the specific port service of the ONU and maps it to the service flow number for recording. When the switch in the PON port of the service disk is in the enabled state, the multicast protocol message is forwarded to the service flow channel of the same virtual LAN identifier in the PON port of the service disk except for the source service flow number, and the multicast protocol message is learned and associated with the corresponding service flow number. The layer 2 information of the learned multicast protocol message is the source address and outer VLAN ID (virtual LAN identifier) of the learned multicast protocol message.
[0085] Exemplarily, the forwarding process of the multicast protocol message includes the following steps:
[0086] Determine whether the service disk PON port switch in the multicast protocol packet layer 2 forwarding switch is in an enabled state;
[0087] If so, forward the multicast protocol message to the service flow channel of the same virtual local area network identifier of other PON ports;
[0088] If not, the multicast protocol message is not forwarded.
[0089] In the embodiment of the present application, when the switch between the PON ports of the service disk is in an enabled state, the multicast protocol message is forwarded to the service flow channels of the other PON ports of the service disk with the same virtual LAN identifier.
[0090] S6: If not, do not forward the multicast protocol message.
[0091] In the embodiment of the present application, the present invention utilizes the layer 2 forwarding function of the service disk itself. On this basis, the multicast protocol message can be forwarded in reverse based on the service flow granularity, and only forwarded to the service flow channel with the same virtual LAN identifier. The multicast protocol layer 2 forwarding module of the service disk can accurately send the multicast protocol message to the port service of the corresponding ONU. The reverse multicast function within the same PON port, between different PON ports, and within the same ONU under the same service disk is realized. The multicast protocol layer 2 forwarding module of the service disk does not change the original rule of forwarding the multicast protocol message to the service disk CPU, so it does not affect the original multicast agent service function, and can support the multicast agent function of the service disk at the same time. The multicast protocol layer 2 forwarding module of the service disk does not change the original rule of forwarding the multicast protocol message upward to the main control disk, so it does not affect the original forward multicast function.
[0092] The present invention relates to a method and device for processing multicast protocol messages in a Passive Optical Network (PON), and particularly focuses on improving the flexibility and system performance of multicast services.
[0093] The core of the present invention is to provide an innovative multicast protocol message processing method, which allows for more flexible configuration and management of multicast services in a passive optical network system. The main steps include:
[0094] Configure a Layer 2 forwarding switch for multicast protocol packets: Set a control switch on relevant devices in the PON system (such as the optical line terminal OLT or optical network unit ONU) to determine whether to allow multicast protocol packets to be forwarded at Layer 2 (data link layer).
[0095] Get switch status: The system periodically checks or obtains the current status of the Layer 2 forwarding switch in real time, that is, whether it is in the enabled (enabled) state.
[0096] Receiving a multicast protocol message: When a device in the PON network (such as an OLT or ONU) receives a multicast protocol message, the following processing flow is triggered.
[0097] Determine the switch status: Based on the previously obtained Layer 2 forwarding switch status, the system determines whether to forward the received multicast protocol message. If enabled, the system forwards the message to the designated destination device or network segment. If not, the system does not forward the message and discards or ignores it.
[0098] It has the following advantages: Flexible networking: Traditionally, the multicast server needs to be deployed on the uplink side of the OLT, and the switching equipment on the uplink side needs to be specifically configured. The present invention breaks this limitation and allows the multicast server to be deployed on the terminal ONU side, thereby greatly improving the flexibility of the networking. Improve terminal equipment utilization: By placing the multicast server on the ONU side closer to the user end, the resources and functions of the terminal equipment can be more effectively utilized, improving the service capabilities and efficiency of the overall system. Reduce OLT bandwidth occupancy: Since multicast protocol messages can be flexibly forwarded or discarded at the second layer, unnecessary message traffic is reduced, thereby reducing the occupancy of the OLT main control disk bandwidth and improving the forwarding performance of the entire PON system. Reduce maintenance and management costs: Since the networking is more flexible, the dependence on the uplink side switching equipment and the configuration complexity are reduced, so the operator's costs in equipment maintenance, network management and troubleshooting can be reduced.
[0099] like Figure 2 The present application provides a passive optical network multicast protocol message processing device, comprising:
[0100] Configuration module 10, used to configure the multicast protocol packet layer 2 forwarding switch;
[0101] A status acquisition module 20 is used to obtain the status of the multicast protocol packet layer 2 forwarding switch;
[0102] A message receiving module 30 is used to receive multicast protocol messages;
[0103] A judging module 40 is configured to judge whether the state is an enabled state;
[0104] An execution module 50, configured to execute a preset operation according to the result of the judgment module;
[0105] When the result of the judging module is yes, the executing module forwards the multicast protocol message; when the result of the judging module is no, the executing module does not forward the multicast protocol message.
[0106] The present application provides a passive optical network multicast protocol message processing device that can execute a passive optical network multicast protocol message processing method provided by the above steps.
[0107] It should be understood that the above-described specific embodiments of the present invention are merely illustrative or illustrative of the principles of the present invention and do not constitute limitations of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included within the scope of protection of the present invention. In addition, the appended claims are intended to cover all variations and modifications that fall within the scope and metes and bounds of the appended claims, or equivalents thereof.
[0108] The present application also provides a service disk of a passive optical network system, wherein the service disk stores a computer program, and when the service disk executes the program, the steps of any of the aforementioned methods are implemented.
[0109] The present application provides a method and device for processing multicast protocol messages in a passive optical network, which solves the limitation that the multicast server in the existing passive optical network system must be arranged on the uplink side of the OLT and the switching equipment on the uplink side needs to be configured and processed accordingly. The method and device can realize flexible networking of the passive optical network system, and the multicast server can be arranged on the terminal ONU side, thereby improving the utilization of the terminal equipment; reducing the bandwidth occupation of the main control disk of the OLT, improving the forwarding performance of the entire passive optical network system, and reducing the maintenance and management costs of operators.
[0110] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0111] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for processing multicast protocol messages in a passive optical network, characterized in that: Including steps: Configure the Layer 2 forwarding switch for multicast protocol packets; Obtaining the state of the multicast protocol packet layer 2 forwarding switch; Receive multicast protocol packets; Determine whether the state is an enabled state; If so, forwarding the multicast protocol message; If not, the multicast protocol message is not forwarded.
2. The method for processing a passive optical network multicast protocol message according to claim 1, wherein: The configuration of the multicast protocol packet layer 2 forwarding switch comprises the following steps: Configure the PON port number in the service disk; Configure the forwarding switch enable option; Configure the target PON port bitmap in the service disk.
3. The method for processing passive optical network multicast protocol messages according to claim 2, wherein: The configuration target PON port bitmap comprises the steps of: When the PON port is enabled, the current PON port is added to the target PON port bitmap; When inter-PON port is enabled, other PON ports are added to the target PON port bitmap.
4. The method for processing a passive optical network multicast protocol message according to claim 1, wherein: The step of obtaining the state of the multicast protocol packet layer 2 forwarding switch comprises the following steps: Obtaining the status of the switch in the service disk PON port in the layer 2 forwarding switch of the multicast protocol message; The status of the switch between the service disk PON ports in the multicast protocol message layer 2 forwarding switch is obtained.
5. The method for processing passive optical network multicast protocol messages according to claim 1, wherein: Determining whether the state is an enabled state includes the steps of: Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state; Determine whether the service disk PON port switch in the multicast protocol message layer 2 forwarding switch is in an enabled state.
6. The method for processing passive optical network multicast protocol messages according to claim 1, wherein: The forwarding process of the multicast protocol message comprises the steps of: Determine whether the switch in the service disk PON port in the multicast protocol packet layer 2 forwarding switch is in an enabled state; If so, forward the multicast protocol message to the service flow channel of the same virtual local area network identifier except the source service flow number in the PON port of the service disk, learn the layer 2 information of the multicast protocol message and associate it with the corresponding service flow number; If not, the multicast protocol message is not forwarded.
7. The method for processing passive optical network multicast protocol messages according to claim 1, wherein: The forwarding process of the multicast protocol message comprises the steps of: Determine whether the service disk PON port switch in the multicast protocol packet layer 2 forwarding switch is in an enabled state; If so, forward the multicast protocol message to the channel corresponding to the service flow number of the same virtual local area network identifier of other PON ports of the service disk; If not, the multicast protocol message is not forwarded.
8. A passive optical network multicast protocol message processing device, characterized in that: include: Configuration module, used to configure the Layer 2 forwarding switch for multicast protocol packets; A status acquisition module, configured to acquire the status of the multicast protocol packet layer 2 forwarding switch; A message receiving module, used for receiving multicast protocol messages; A judging module, configured to judge whether the switch state is an enabled state; An execution module, configured to execute a preset operation according to the result of the judgment module; Wherein, when the result of the judging module is yes, the executing module forwards the multicast protocol message; When the result of the judging module is no, the executing module does not forward the multicast protocol message.
9. A service disk of a passive optical network system, wherein the service disk stores a computer program, characterized in that: When the business disk executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.