CN107294858B - Multicast service monitoring method and device - Google Patents
Multicast service monitoring method and device Download PDFInfo
- Publication number
- CN107294858B CN107294858B CN201610193094.8A CN201610193094A CN107294858B CN 107294858 B CN107294858 B CN 107294858B CN 201610193094 A CN201610193094 A CN 201610193094A CN 107294858 B CN107294858 B CN 107294858B
- Authority
- CN
- China
- Prior art keywords
- multicast
- network unit
- optical network
- mirror
- target optical
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5009—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a multicast service monitoring method, which comprises the following steps: synchronizing the multicast services of different types of mirror entities and a target optical network unit, wherein each type of mirror entity corresponds to a replication node of the multicast service of the target optical network unit at each forwarding level of an optical line terminal; carrying out flow statistics on the synchronized multicast services of the mirror image entities of each type, and acquiring condition parameters corresponding to the abnormal forwarding of the preset multicast services; and when the flow statistic result meets the condition parameters, determining that the multicast service of the target optical network unit is abnormally forwarded, and determining a forwarding level in which the abnormality is positioned. The invention also discloses a multicast service monitoring device. The invention can realize the monitoring of the multicast service of the optical line terminal.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for monitoring a multicast service.
Background
With the continuous development of Network access technology, the xPON technology mainly based on the EPON (ethernet passive Optical Network) technology and the GPON (Gigabit-Capable passive Optical Network) technology is mainly used in large-scale commercial applications. Compared with the traditional access network technology and the Ethernet switch technology, the physical layer of the PON is a point-to-multipoint topological structure and consists of an optical line terminal, an optical distribution network and an optical network unit.
At present, operators are more and more standard for operation and maintenance of optical line terminals of office-side equipment, and the requirements for service stability are higher and higher. However, for various reasons, the optical line terminal inevitably has service problems in actual operation, and multicast, which is an important service, also has various problems. However, the implementation of the multicast service is related to the implementation of the related video service (such as a networking mode, a set-top box operating mode, etc.), and also related to the protocol interaction and service flow forwarding of the multicast service, and thus, monitoring of the multicast service of the optical line terminal is not implemented at present.
Disclosure of Invention
The invention mainly aims to provide a multicast service monitoring method and a device, aiming at realizing the monitoring of the multicast service of an optical line terminal.
In order to achieve the above object, the present invention provides a multicast service monitoring method, where the multicast service monitoring method includes:
synchronizing the multicast services of different types of mirror entities and a target optical network unit, wherein each type of mirror entity corresponds to a replication node of the multicast service of the target optical network unit at each forwarding level of an optical line terminal;
carrying out flow statistics on the synchronized multicast services of the mirror image entities of each type, and acquiring condition parameters corresponding to the abnormal forwarding of the preset multicast services;
and when the flow statistic result meets the condition parameters, determining that the multicast service of the target optical network unit is abnormally forwarded, and determining a forwarding level in which the abnormality is positioned.
Optionally, after the step of determining that the multicast service of the target onu is abnormally forwarded and determining a forwarding level at which the abnormality is located when the result of the traffic statistics meets the condition parameter, the method further includes:
and outputting alarm information of the forwarding level carrying the abnormity.
Optionally, before the step of synchronizing the multicast services of the mirror entities of different types and the target optical network unit, the method further includes:
taking a copy node of multicast service of a target optical network unit at each forwarding level of an optical line terminal as a mirror source port, correspondingly setting each type of mirror entity of the target optical network unit, and configuring a synchronization mode for each type of mirror entity, wherein the synchronization mode comprises a first mode and a second mode;
the step of synchronizing the multicast services of the mirror entities of different types and the target optical network unit comprises:
selecting various types of mirror image entities and determining a synchronization mode of the selected mirror image entities;
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
Optionally, the step of synchronizing the multicast services of the different types of mirror entities and the target optical network unit further includes:
and converting the multicast service stream received by the synchronized mirror image entities of each type into a video, and displaying the video through a display device.
Optionally, while performing the multicast service of synchronizing the mirror entities of different types and the target optical network unit, the following steps are also performed:
and shielding other service flows except the multicast service flow of each type of mirror entity.
In addition, to achieve the above object, the present invention further provides a multicast service monitoring apparatus, including:
the synchronous module is used for synchronizing different types of mirror image entities and multicast services of the target optical network unit, wherein each type of mirror image entity corresponds to a replication node of the multicast services of the target optical network unit at each forwarding level of the optical line terminal;
the counting module is used for carrying out flow statistics on the synchronized multicast services of the mirror image entities of various types and acquiring condition parameters corresponding to the abnormal forwarding of the preset multicast services;
and the monitoring module is used for determining the multicast service forwarding abnormity of the target optical network unit and determining the forwarding level in which the abnormity is positioned when the flow statistic result meets the condition parameters.
Optionally, the multicast service monitoring apparatus further includes:
and the output module is used for outputting the alarm information of the forwarding level carrying the abnormity.
Optionally, the multicast service monitoring apparatus further includes:
a setting module, configured to set, as mirror source ports, mirror entities of various types of a target optical network unit correspondingly to copy nodes of multicast services of the target optical network unit at forwarding levels of an optical line terminal, and configure a synchronization mode for the set mirror entities of various types, where the synchronization mode includes a first mode and a second mode;
the synchronization module is further configured to select various types of mirror entities and determine a synchronization mode of the selected mirror entities, wherein,
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
Optionally, the mirror entity in each type of mirror entity has different configured synchronization modes, and the multicast service monitoring apparatus further includes:
and the display module is used for converting the multicast service stream received by the synchronized mirror image entities into a video and displaying the video through the display equipment.
Optionally, the multicast service monitoring apparatus further includes:
and the shielding module is used for shielding other service flows of the mirror image entities of various types except the multicast service flow.
The multicast service monitoring method and the device provided by the invention have the advantages that different types of mirror image entities corresponding to the target optical network unit are arranged at different forwarding levels of the optical line terminal, the multicast service flow of the target optical network unit is led out from different forwarding levels without damage under the condition of not influencing the perception of the target optical network unit, the forwarding quality of the optical line terminal at different forwarding levels is monitored through the multicast service flow led out from different forwarding levels, the abnormal positioning of the optical line terminal at different forwarding levels is completed under the condition of not depending on other external equipment or program sources, the purpose of monitoring the multicast service of the optical line terminal is achieved, and the higher accuracy is achieved.
Drawings
Fig. 1 is a schematic flowchart of a multicast service monitoring method according to a first embodiment of the present invention;
fig. 2 is an exemplary diagram of a multicast forwarding path of a multicast service at an optical line terminal according to a first embodiment of the multicast service monitoring method of the present invention;
fig. 3 is a functional module diagram of a multicast service monitoring apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, in a first embodiment of the multicast service monitoring method of the present invention, the multicast service monitoring method includes:
step S10, synchronizing different types of mirror image entities and multicast services of the target optical network unit, wherein each type of mirror image entity corresponds to a replication node of the multicast services of the target optical network unit at each forwarding level of the optical line terminal;
it should be noted that, compared with the conventional access network technology and ethernet switch technology, the physical layer of xPON is a point-to-multipoint topology structure, and the downlink data thereof adopts a physical layer broadcast manner, that is, the downlink data is transmitted to all terminal devices on the link, that is, the optical network unit. On the basis of a physical layer, a logical unicast channel is established by an xPON link layer, and common unicast service can be sent to an optical network unit through the logical unicast channel. However, for multicast services, if a unicast channel is also taken, it means that a large amount of multicast data packets need to be copied at the optical line terminal, which increases the complexity of implementing the device, and more importantly, a large amount of copied multicast packets will cause great waste to link bandwidth. Therefore, in the current xPON network, the forwarding of the multicast service stream utilizes the characteristic of the downlink broadcast of the physical layer to directly send the multicast service stream to the optical network unit through the broadcast channel.
For the optical line terminal of the local side device, the main stream of the telecom equipment adopts the structure of the PON board, the switch board and the connection board on the forwarding plane. Therefore, the multicast traffic is usually duplicated at a plurality of nodes in the PON device, and for example, the multicast traffic needs to be duplicated between a plurality of PON boards on a switch board, and needs to be duplicated between a plurality of PON ports on a PON board. When the multicast service flow is copied to the PON port level, the multicast service flow is not copied between the optical network units continuously, but is forwarded to the optical network units in a single copy mode by adopting a downstream multicast or broadcast channel. In the forwarding process of the multicast service flow, the optical line terminal receives the multicast service flow from a source port, and the source port is used as a first-level replication node of multicast and is generally positioned on a control board/a switch board; under the control of multicast protocol, the flow is distributed to the forwarding port, and the forwarding port is the second-level replication node of multicast. The number of the primary replication node and the secondary replication node may be one or more. The following description is made with an optical line termination having two levels of forwarding hierarchy. It will be appreciated by those skilled in the art that in other embodiments the optical line termination may also be provided with only one or more than two forwarding levels.
In this embodiment, before step S10, the method further includes:
based on the forwarding path of the multicast service of the target optical network unit at the optical line terminal, a first type mirror entity and a second type mirror entity corresponding to the target optical network unit are set, specifically, a first copy node and a second copy node of the multicast service of the target optical network unit at the optical line terminal can be used as mirror source ports, a mirror destination port of the first copy node is set and used as the first type mirror entity of the target optical network unit, and a mirror destination port of the second copy node is set and used as the second type mirror entity of the target optical network unit. The first replication node and the second replication node are located at different forwarding levels, and if the first replication node is a primary replication node, the second replication node is a secondary replication node.
In addition, the target optical network unit can be configured in a man-machine command mode, and a user can use any optical network unit connected with the optical line terminal in a downstream mode as an object for monitoring the multicast service according to needs, namely the target optical network unit.
The following describes the setting of the mirror entity of the target onu with reference to fig. 2:
as shown in fig. 2, a multicast service flow from a multicast source is subjected to a first-level replication at a source port (a first-level replication node) of an optical line termination switch board, the replicated multicast service flow is distributed to a forwarding port (a second-level replication node) on each PON board, a second-level replication is performed at the forwarding port, and the replicated multicast service flow flows to a target optical network unit and other optical network units.
When a first type mirror image entity of a target optical network unit is set, selecting an entity or an interface which is completely or partially the same as a multicast service flow forwarding path of the target optical network unit, wherein the entity or the interface comprises but is not limited to an uplink port which passes through the same first-level replication node with a specific multicast service of the target optical network unit; when the second type mirror image entity of the target optical network unit is set, an entity or an interface which is completely or partially the same as the multicast service flow forwarding path of the target optical network unit is selected, wherein the entity or the interface comprises but is not limited to a lower connection port which passes through the same primary and secondary replication nodes with the specific multicast service of the target optical network unit.
In this embodiment, because the first type of mirror entity and the second type of mirror entity respectively correspond to a first replication node and a second replication node of the multicast service of the target optical network unit at different forwarding levels of the optical line terminal, by synchronizing the first type of mirror entity and the second type of mirror entity with the multicast service of the target optical network unit, a specific multicast service stream of the target optical network unit can be led out from different forwarding levels without loss without affecting the perception of the target optical network unit, so as to analyze and monitor the multicast service of the target optical network unit in the following process.
Step S20, flow statistics is carried out on the synchronized multicast services of the mirror image entities of various types, and condition parameters corresponding to the preset multicast service forwarding abnormity are obtained;
step S30, when the result of the traffic statistics satisfies the condition parameter, determining that the multicast service forwarding of the target onu is abnormal, and determining the forwarding level at which the abnormality is located.
In this embodiment, the traffic statistics may include, but are not limited to, a continuous count, a number of times of switching according to a multicast channel protocol, and the like. The multicast traffic of the replication nodes of different levels can be calculated by comparing the multicast traffic statistical counts of different mirror image entities, and whether the forwarding of the multicast service of the target optical network unit at the optical line terminal is abnormal or not can be confirmed by comparing the multicast traffic of different mirror image entities. After the first type of mirror image entity and the second type of mirror image entity of the target optical network unit are correspondingly arranged, the historical flow counting clearing command and the flow counting command can be executed on the arranged first type of mirror image entity and the second type of mirror image entity through the man-machine command, so that the historical flow counting of the arranged first type of mirror image entity and the second type of mirror image entity is simultaneously cleared, and the flow counting is restarted.
Specifically, the set first type mirror entity corresponds to a first-level replication node of the multicast service of the target network unit at the optical line terminal, and the set second type mirror entity corresponds to a second-level replication node of the multicast service of the target optical network unit at the optical line terminal. When the flow statistics is performed on the multicast services of the first type mirror image entity and the second type mirror image entity, the flow statistics includes normal message counting and abnormal message counting, wherein the abnormal messages include but are not limited to a drop message and an error message. The condition parameters corresponding to the abnormal multicast service forwarding comprise a first condition parameter corresponding to the abnormal forwarding of the primary replication node, a second condition parameter corresponding to the abnormal forwarding of the secondary replication node, a third condition parameter corresponding to the abnormal forwarding between the primary replication node and the secondary replication node and the like.
The flow statistics of the multicast service of the first mirror image entity realizes the flow monitoring of a specific multicast source (the multicast source where the multicast group corresponding to the target optical network unit is located) and a first-level replication node, wherein the normal message counting can calculate the specific multicast service flow passing through the first-level replication node; the abnormal packet count increase condition can realize monitoring the multicast service forwarding quality of the primary replication node, and if the abnormal packet count continuously increases within a first preset time period (meets a first condition parameter), the primary replication node is indicated to be abnormal in forwarding.
The flow statistics of the second class mirror image entity multicast service realizes the flow monitoring of the secondary replication node passed by the specific multicast source, wherein, the normal message counting can calculate the specific multicast service flow passing the secondary replication node; the abnormal packet count increase condition can realize monitoring the multicast service forwarding quality of the secondary replication node, and if the abnormal packet count continuously increases within a second preset time period (meeting a second condition parameter), the abnormal forwarding of the secondary replication node is indicated. It should be noted that the first preset time period and the second preset time period may be set to be the same or different, for example, the first preset time period and the second preset time period may be set to be 5 seconds at the same time.
And monitoring the flow between the two levels of nodes by calculating a first difference value of normal message counts of the first class of mirror image entities and the second class of mirror image entities and comparing the calculated first difference value with a first preset threshold value, wherein when the calculated first difference value is greater than the first preset threshold value (meets a third condition parameter), the forwarding between the first level replication node and the second level replication node is abnormal.
Further, in this embodiment, a forwarding channel between the optical line terminal and the target optical network unit may also be monitored, specifically, in the step of traffic statistics, traffic statistics may also be performed on a multicast service stream actually received by the target optical network unit, and the condition parameter corresponding to the multicast service forwarding abnormality further includes a fourth condition parameter corresponding to the forwarding channel abnormality of the target optical network unit. After the flow statistics of the multicast service flow actually received by the target optical network unit is completed, calculating a second difference value of abnormal message counts of a second type mirror entity and the target optical network unit, and comparing the calculated second difference value with a second preset threshold value, wherein when the calculated second difference value is greater than the second preset threshold value (meeting a fourth condition parameter), a forwarding channel of the target optical network unit is abnormal. In general, the forwarding path abnormality of the target optical network unit may be caused by the interference of the optical link quality or other factors.
In addition, the forwarding function of the target optical network unit may also be monitored, specifically, after the traffic statistics of the multicast service stream actually received by the target optical network unit is completed, a third difference between the normal packet counts of the second-class mirror entity and the target optical network unit is calculated, and the calculated third difference is compared with a third preset threshold, where when the calculated third difference is greater than the third preset threshold, the forwarding function of the target optical network unit is abnormal, or other service streams are forwarded to the target optical network unit in addition to the normal multicast service stream, which may cause the bandwidth configuration to be exceeded if the calculated third difference is too large.
Further, in this embodiment, the quality of the specific multicast source may also be monitored, specifically, when it is detected that the target onu switches the multicast channel, that is, switches the added multicast group, if the abnormal packet count of any set mirror entity does not increase within a third preset time period (specifically, the abnormal packet count may be set according to actual needs, for example, the third preset time period may be set to 5 seconds), the specific program source is abnormal.
Further, in this embodiment, in order to avoid that other traffic flows besides the multicast traffic flow affect the traffic statistics operation, the following steps are also performed while step S10 is performed:
and shielding other service flows except the multicast service flow of each type of mirror entity.
In the multicast service monitoring method provided by this embodiment, different types of mirror entities corresponding to the target optical network unit are set at different forwarding levels of the optical line terminal, and the multicast service stream of the target optical network unit is led out from different forwarding levels without loss without affecting the perception of the target optical network unit, so that the forwarding quality of the optical line terminal at different forwarding levels is monitored by the multicast service stream led out at different forwarding levels, and abnormal positioning of the optical line terminal at different forwarding levels is completed without depending on other external devices or program sources, so that the purpose of monitoring the multicast service of the optical line terminal is achieved, and higher accuracy is achieved.
Further, based on the first embodiment, a second embodiment of the multicast service monitoring method according to the present invention is provided, and in this embodiment, after step S30, the method further includes:
and outputting alarm information of the forwarding level carrying the abnormity.
It should be noted that the difference between this embodiment and the first embodiment is that, when the determination of the forwarding abnormality of the multicast service of the target optical network unit is completed and the forwarding abnormality of the multicast service of the target optical network unit is determined, this embodiment further outputs an alarm message carrying an abnormal forwarding level to visually notify the user of the fault location of the multicast service abnormality.
In addition, the output alarm information can also comprise interface information of the replication node which forwards the exception. For example, when the abnormal packet count of the first type of mirror entity continuously increases within a first preset time period, that is, when a first condition parameter is satisfied, it is determined that the primary replication node is abnormal in forwarding, and the output alarm information is "the primary replication node is abnormal in forwarding" + "interface information of the primary replication node.
Further, in this embodiment, the alarm function for forwarding exception may be turned on by the user as needed. The user can specifically start the alarm function of abnormal forwarding through a man-machine command, a network manager or other operation and maintenance systems, and can further specify the forwarding level of the alarm, for example, the user can specify to start the alarm function of the 'primary replication node', and corresponding alarm information can be output only when the forwarding of the 'primary replication node' is abnormal.
Further, based on the first embodiment, a third embodiment of the multicast service monitoring method according to the present invention is provided, where in this embodiment, before step S10, the method further includes:
taking a copy node of multicast service of a target optical network unit at each forwarding level of an optical line terminal as a mirror source port, correspondingly setting each type of mirror entity of the target optical network unit, and configuring a synchronization mode for each type of mirror entity, wherein the synchronization mode comprises a first mode and a second mode;
the step S10 includes:
selecting various types of mirror image entities and determining a synchronization mode of the selected mirror image entities;
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
It should be noted that the difference between the present embodiment and the first embodiment is that, in the present embodiment, a synchronization mode is configured for a first type of mirror entity and a second type of mirror entity while the first type of mirror entity and the second type of mirror entity are set.
The synchronous mode refers to a following relationship between the mirror entity action based on the multicast protocol and the action of the target optical network unit, including but not limited to following (first mode) and not following (second mode), wherein "following" refers to that the action of the mirror entity depends on the protocol action result of the target optical network unit; by "not follow" is meant that the action of the mirroring entity depends only on the protocol action request of the target optical network unit and not on the action result of the target optical network unit.
Further, based on the third embodiment, a fourth embodiment of the multicast service monitoring method of the present invention is provided, in this embodiment, synchronization modes configured by mirror entities in each type of mirror entities are different, and after step S10, the method further includes:
and converting the multicast service stream received by the synchronized mirror image entities of each type into a video, and displaying the video through a display device.
In this embodiment, the second type of mirror entity includes a first mirror entity and a second mirror entity, and the first mirror entity and the second mirror entity are configured with different synchronization modes. Based on the foregoing description, it can be understood by those skilled in the art that, since the synchronization modes configured by the mirror entities in the mirror entities of the respective types are different, the multicast service streams received by the mirror entities in different synchronization modes after synchronization are correspondingly different. The following describes the configured synchronization operation of each mirror entity with the synchronization mode configured by the first type of mirror entity as the second mode, the synchronization mode configured by the first type of mirror entity as the first mode, and the synchronization mode configured by the second type of mirror entity as the second mode.
1. The synchronization mode of the first mirror image entity is a first mode, that is, the synchronization of the multicast service flow of the first mirror image entity and the target optical network unit is realized according to whether the optical line terminal responds to the multicast group join/leave message of the target optical network unit successfully, which includes:
(1) the target optical network unit leaves the multicast channel 1 successfully: when a target optical network unit sends a multicast group leaving message leaving the multicast channel 1, an optical line terminal deletes the target optical network unit from a specific multicast group 1 corresponding to the multicast channel 1 according to the content of the multicast group leaving message; after the optical line terminal successfully deletes the target optical network unit from the specific multicast group 1, deleting the first mirror image entity from the specific multicast group 1, and simultaneously cutting off the multicast service flow of the multicast channel 1 sent to the target optical network unit and the first mirror image entity; if the optical line terminal does not successfully respond to the multicast group leaving message of the target optical network unit, that is, the target optical network unit is not successfully deleted from the specific multicast group 1, the first mirror image entity is not processed.
(2) And the target optical network unit successfully adds the multicast channel 2: when a target optical network unit sends a multicast group adding message added to a multicast channel 2, an optical line terminal adds the target optical network unit to a specific multicast group 2 corresponding to the multicast channel 2 according to the content of the multicast group adding message; after the optical line terminal successfully adds the target optical network unit into the specific multicast group 2, adding a first mirror image entity into the specific multicast group 2, and simultaneously introducing a multicast service stream of a multicast channel 2 into the target optical network unit and the first mirror image entity; if the optical line terminal does not successfully respond to the multicast group join message of the target optical network unit, the target optical network unit is not added to the specific multicast group 2, and the first mirror image entity is not processed.
(3) The target optical network unit switches the multicast channel: the target optical network unit firstly sends out a multicast group leaving message leaving the multicast channel 1 and then sends out a multicast group adding message adding the multicast channel 2; firstly, deleting the target optical network unit from the specific multicast group 1 corresponding to the multicast channel 1 by the optical line terminal according to the content of the message leaving the multicast group, then deleting the first mirror image entity from the specific multicast group 1, and simultaneously cutting off the multicast service flow of the multicast channel 1 sent to the target optical network unit and the first mirror image entity; then according to the multicast group adding message of the multicast channel 2 sent by the target optical network unit, after the target optical network unit is successfully added into the specific multicast group 2 corresponding to the multicast channel 2, adding the first mirror image entity into the specific multicast group 2, and simultaneously introducing the multicast service flow of the multicast channel 2 into the target optical network unit and the first mirror image entity; and if the optical line terminal does not successfully respond to the multicast group adding/leaving message of the target optical network unit, the first mirror image entity is not processed.
2. The synchronization mode of the second mirror image entity is a second mode, that is, the synchronization operation of the first mirror image entity is realized according to whether the target optical network unit sends the multicast group join/leave message, and the method comprises the following steps:
(1) the target optical network unit applies for leaving the multicast channel 1: when the optical line terminal receives a multicast group leaving message which is sent by a target optical network unit and leaves a multicast channel 1, the second mirror image entity is deleted from the specific multicast group 1 corresponding to the multicast channel 1, and meanwhile, the multicast service flow of the multicast channel 1 sent to the second mirror image entity is cut off.
(2) The target optical network unit applies for adding a multicast channel 2: when the optical line terminal receives a multicast group join message which is sent by a target optical network unit and joins in the multicast channel 2, the second mirror image entity joins in the specific multicast group 2 corresponding to the multicast channel 2, and simultaneously, the multicast service flow of the multicast channel 2 is introduced into the second mirror image entity.
(3) The target optical network unit applies for switching the multicast channel: the target optical network unit firstly sends out a multicast group leaving message leaving the multicast channel 1 and then sends out a multicast group adding message adding the multicast channel 2; firstly, according to a multicast group leaving message received by an optical line terminal, deleting a second mirror image entity from a specific multicast group 1 corresponding to a multicast channel 1, and simultaneously intercepting a multicast service stream of the multicast channel 1 sent to the second mirror image entity; and then adding the second mirror image entity into the specific multicast group 2 corresponding to the multicast channel 2 according to the multicast group adding message received by the optical line terminal, and simultaneously introducing the multicast service stream of the multicast channel 2 into the second mirror image entity.
3. The synchronization mode of the first kind of mirror entity is the first mode, that is, the synchronization operation of the first kind of mirror entity is implemented according to whether the target optical network unit sends the multicast group join/leave message, which may specifically refer to the above description of performing the synchronization operation on the second mirror entity, and is not described here again.
After the set synchronous operation of the mirror image entities is completed, the multicast service stream received by the first class mirror image entities, the first mirror image entities and the second mirror image entities after the synchronization is converted into videos, and the videos are displayed through display equipment, specifically, the videos of the mirror image entities can be correspondingly displayed in different regions on the same display equipment, or the videos corresponding to the mirror image entities can be respectively displayed on different display equipment.
In this embodiment, the actual multicast service stream of the target optical network unit is obtained at the mirror image entity and converted into a video, so that real-time mirror image monitoring of the multicast service stream of the target optical network unit can be realized, wherein the first type of mirror image entity realizes monitoring of a specific multicast service stream at a first-level replication node of an optical line terminal; the second mirror image entity (including the first mirror image entity and the second mirror image entity) realizes the monitoring of the second-level copy node of the specific multicast service flow at the optical line terminal; and the multicast service quality of the target optical network unit can be visually judged by the real-time video stream acquired by the mirror image entities in different synchronous modes, and whether the optical line terminal successfully processes the multicast group join/leave message sent by the target optical network unit is visually judged, for example, if the converted videos corresponding to the first mirror image entity and the second mirror image entity are different, the optical line terminal fails to successfully process the multicast group join/leave message sent by the target optical network unit.
Referring to fig. 3, in a first embodiment of the multicast service monitoring apparatus of the present invention, the multicast service monitoring apparatus includes:
a synchronization module 10, configured to synchronize different types of mirror entities with multicast services of a target optical network unit, where each type of mirror entity corresponds to a replication node of each forwarding level of the multicast service of the target optical network unit at an optical line terminal;
it should be noted that, compared with the conventional access network technology and ethernet switch technology, the physical layer of xPON is a point-to-multipoint topology structure, and the downlink data thereof adopts a physical layer broadcast manner, that is, the downlink data is transmitted to all terminal devices on the link, that is, the optical network unit. On the basis of a physical layer, a logical unicast channel is established by an xPON link layer, and common unicast service can be sent to an optical network unit through the logical unicast channel. However, for multicast services, if a unicast channel is also taken, it means that a large amount of multicast data packets need to be copied at the optical line terminal, which increases the complexity of implementing the device, and more importantly, a large amount of copied multicast packets will cause great waste to link bandwidth. Therefore, in the current xPON network, the forwarding of the multicast service stream utilizes the characteristic of the downlink broadcast of the physical layer to directly send the multicast service stream to the optical network unit through the broadcast channel.
For the optical line terminal of the local side device, the main stream of the telecom equipment adopts the structure of the PON board, the switch board and the connection board on the forwarding plane. Therefore, the multicast traffic is usually duplicated at a plurality of nodes in the PON device, and for example, the multicast traffic needs to be duplicated between a plurality of PON boards on a switch board, and needs to be duplicated between a plurality of PON ports on a PON board. When the multicast service flow is copied to the PON port level, the multicast service flow is not copied between the optical network units continuously, but is forwarded to the optical network units in a single copy mode by adopting a downstream multicast or broadcast channel. In the forwarding process of the multicast service flow, the optical line terminal receives the multicast service flow from a source port, and the source port is used as a first-level replication node of multicast and is generally positioned on a control board/a switch board; under the control of multicast protocol, the flow is distributed to the forwarding port, and the forwarding port is the second-level replication node of multicast. The number of the primary replication node and the secondary replication node may be one or more. The following description is made with an optical line termination having two levels of forwarding hierarchy. It will be appreciated by those skilled in the art that in other embodiments the optical line termination may also be provided with only one or more than two forwarding levels.
In this embodiment, the multicast service monitoring apparatus provided by the present invention is built in an optical line terminal to operate, and further includes:
the setting module is used for setting a first type of mirror entity and a second type of mirror entity corresponding to the target optical network unit based on a forwarding path of the multicast service of the target optical network unit at the optical line terminal, specifically, a first replication node and a second replication node of the multicast service of the target optical network unit at the optical line terminal can be used as mirror source ports, a mirror destination port of the first replication node is used as a first type of mirror entity of the target optical network unit, and a mirror destination port of the second replication node is used as a second type of mirror entity of the target optical network unit. The first replication node and the second replication node are located at different forwarding levels, and if the first replication node is a primary replication node, the second replication node is a secondary replication node.
In addition, the target optical network unit can be configured in a man-machine command mode, and a user can use any optical network unit connected with the optical line terminal in a downstream mode as an object for monitoring the multicast service according to needs, namely the target optical network unit.
The following describes the setting of the mirror entity of the target onu with reference to fig. 2:
as shown in fig. 2, a multicast service flow from a multicast source is subjected to a first-level replication at a source port (a first-level replication node) of an optical line termination switch board, the replicated multicast service flow is distributed to a forwarding port (a second-level replication node) on each PON board, a second-level replication is performed at the forwarding port, and the replicated multicast service flow flows to a target optical network unit and other optical network units.
When a first-class mirror image entity of a target optical network unit is set, a setting module selects an entity or an interface which is completely or partially the same as a multicast service flow forwarding path of the target optical network unit, including but not limited to an uplink port which is subjected to the same level of replication node with a specific multicast service of the target optical network unit; when the second type mirror image entity of the target optical network unit is set, the setting module selects an entity or an interface which is completely or partially the same as the multicast service flow forwarding path of the target optical network unit, including but not limited to a lower connection port which passes through the same primary and secondary replication nodes with the specific multicast service of the target optical network unit.
In this embodiment, because the first type of mirror entity and the second type of mirror entity respectively correspond to a first replication node and a second replication node of the multicast service of the target optical network unit at different forwarding levels of the optical line terminal, the synchronization module 10 synchronizes the multicast services of the first type of mirror entity and the second type of mirror entity with the target optical network unit, so that a specific multicast service stream of the target optical network unit can be led out from different forwarding levels without loss without affecting the perception of the target optical network unit, so as to analyze and monitor the multicast service of the target optical network unit in the following process.
The counting module 20 is configured to perform traffic counting on the synchronized multicast services of the mirror image entities of each type, and acquire a condition parameter corresponding to a preset multicast service forwarding exception;
and the monitoring module 30 is configured to determine that the multicast service of the target optical network unit is abnormally forwarded and determine a forwarding level where the abnormality is located when a result of the traffic statistics satisfies the condition parameter.
In this embodiment, the traffic statistics may include, but are not limited to, a continuous count, a number of times of switching according to a multicast channel protocol, and the like. The multicast traffic of the replication nodes of different levels can be calculated by comparing the multicast traffic statistical counts of different mirror image entities, and whether the forwarding of the multicast service of the target optical network unit at the optical line terminal is abnormal or not can be confirmed by comparing the multicast traffic of different mirror image entities. After the first type of mirror image entity and the second type of mirror image entity of the target optical network unit are correspondingly set, the clearing historical traffic statistic command and the traffic statistic command can be executed on the set first type of mirror image entity and second type of mirror image entity through the man-machine command, so that the historical traffic statistics of the set first type of mirror image entity and second type of mirror image entity are cleared simultaneously, and the traffic statistics is restarted simultaneously by the statistics module 20.
Specifically, the first type of mirror entity set by the setting module corresponds to a first-level replication node of the multicast service of the target network unit at the optical line terminal, and the second type of mirror entity set corresponds to a second-level replication node of the multicast service of the target optical network unit at the optical line terminal. The counting module 20 counts traffic of the multicast services of the first type mirror image entity and the second type mirror image entity, including normal packet counting and abnormal packet counting, where the abnormal packet includes, but is not limited to, a drop packet and an error packet. The condition parameters corresponding to the abnormal multicast service forwarding comprise a first condition parameter corresponding to the abnormal forwarding of the primary replication node, a second condition parameter corresponding to the abnormal forwarding of the secondary replication node, a third condition parameter corresponding to the abnormal forwarding between the primary replication node and the secondary replication node and the like.
The counting module 20 counts the flow of the multicast service of the first type mirror image entity for the monitoring module 30 to monitor the flow of a specific multicast source (the multicast source where the multicast group corresponding to the target optical network unit is located) and a primary replication node, wherein the normal packet counting can calculate the flow of the specific multicast service passing through the primary replication node; the abnormal packet count increase condition can realize monitoring the multicast service forwarding quality of the primary replication node, and if the abnormal packet count continuously increases within a first preset time period (meets a first condition parameter), the primary replication node is indicated to be abnormal in forwarding.
The counting module 20 counts the flow of the second type mirror image entity multicast service for the monitoring module 30 to monitor the flow of the second level copy node passed by the specific multicast source, wherein the normal packet counting can calculate the specific multicast service flow passing the second level copy node; the abnormal packet count increase condition can realize monitoring the multicast service forwarding quality of the secondary replication node, and if the abnormal packet count continuously increases within a second preset time period (meeting a second condition parameter), the abnormal forwarding of the secondary replication node is indicated. It should be noted that the first preset time period and the second preset time period may be set to be the same or different, for example, the first preset time period and the second preset time period may be set to be 5 seconds at the same time.
The monitoring module 30 calculates a first difference value of normal packet counts of the first-class mirror image entity and the second-class mirror image entity, and compares the calculated first difference value with a first preset threshold value, so as to implement flow monitoring between the two-level nodes, wherein when the calculated first difference value is greater than the first preset threshold value (which satisfies a third condition parameter), forwarding between the first-level replication node and the second-level replication node is abnormal.
Further, in this embodiment, the monitoring module 30 may also monitor a forwarding channel between the optical line terminal and the target optical network unit, specifically, in the step of traffic statistics, the statistics module 20 may also perform traffic statistics on the multicast service stream actually received by the target optical network unit, and the condition parameter corresponding to the multicast service forwarding abnormality further includes a fourth condition parameter corresponding to the forwarding channel abnormality of the target optical network unit. After the statistics module 20 completes the flow statistics of the multicast service flow actually received by the target onu, the monitoring module 30 calculates a second difference between the second-class mirror image entity and the abnormal packet count of the target onu, and compares the calculated second difference with a second preset threshold, wherein when the calculated second difference is greater than the second preset threshold (which satisfies a fourth condition parameter), the forwarding channel of the target onu is abnormal. In general, the forwarding path abnormality of the target optical network unit may be caused by the interference of the optical link quality or other factors.
In addition, the monitoring module 30 may also monitor the forwarding function of the target optical network unit, specifically, after the statistics module 20 completes flow statistics on the multicast service stream actually received by the target optical network unit, calculate a third difference value of normal packet counts of the second-class mirror entity and the target optical network unit, and compare the calculated third difference value with a third preset threshold, where when the calculated third difference value is greater than the third preset threshold, the forwarding function of the target optical network unit is abnormal, or other service streams are forwarded to the target optical network unit besides the normal multicast service stream, which may cause bandwidth configuration to be exceeded if the calculated third difference value is too large.
Further, in this embodiment, the monitoring module 30 may also monitor the quality of the specific multicast source, specifically, when it is detected that the target optical network unit switches the multicast channel, that is, switches the added multicast group, if the abnormal packet count of any set mirror entity does not increase within a third preset time period (which may be set according to actual needs, for example, the third preset time period may be set to 5 seconds), the specific program source is abnormal.
Further, in this embodiment, in order to avoid that other service flows besides the multicast service flow affect the flow statistics operation of the statistics module 20, the multicast service monitoring apparatus further includes:
and the shielding module is used for shielding other service flows of the mirror image entities of various types except the multicast service flow.
The multicast service monitoring device provided in this embodiment sets different types of mirror entities corresponding to the target optical network unit at different forwarding levels of the optical line terminal, so that the multicast service flow of the target optical network unit is led out from different forwarding levels without loss without affecting the perception of the target optical network unit, and the multicast service flow led out from different forwarding levels monitors the forwarding quality of the optical line terminal at different forwarding levels, and completes the abnormal positioning of the optical line terminal at different forwarding levels without depending on other external devices or program sources, thereby achieving the purpose of monitoring the multicast service of the optical line terminal, and having higher accuracy.
Further, based on the first embodiment, a second embodiment of the multicast service monitoring apparatus of the present invention is provided, in this embodiment, the multicast service monitoring apparatus further includes:
and the output module is used for outputting the alarm information of the forwarding level carrying the abnormity.
It should be noted that the difference between this embodiment and the first embodiment is that, in this embodiment, when the monitoring module 30 completes the judgment of the forwarding abnormality of the multicast service of the target optical network unit and determines that the forwarding of the multicast service of the target optical network unit is abnormal, the output module further outputs the alarm information carrying the abnormal forwarding hierarchy, so as to intuitively notify the user of the fault location of the abnormal multicast service.
In addition, the alarm information output by the output module may further include interface information of the replication node forwarding the exception. For example, when the abnormal packet count of the first type of mirror entity continues to increase within a first preset time period, that is, when the first condition parameter is satisfied, the monitoring module 30 determines that the primary replication node is abnormal in forwarding, and the alarm information output by the output module is "the primary replication node is abnormal in forwarding" + "the interface information of the primary replication node.
Further, in this embodiment, the alarm function for forwarding exception may be turned on by the user as needed. The user can specifically start the alarm function of abnormal forwarding through a human-computer command, a network manager or other operation and maintenance systems, and can further specify the forwarding level of the alarm, for example, the user can specify to start the alarm function of the "primary replication node", and the output module can output corresponding alarm information only when the forwarding of the "primary replication node" is abnormal.
Further, based on the first embodiment, a third embodiment of the multicast service monitoring apparatus of the present invention is provided, in this embodiment, the setting module is further configured to use a replication node of the multicast service of the target optical network unit at each forwarding level of the optical line terminal as a mirror source port, set each type of mirror entity of the target optical network unit correspondingly, and configure a synchronization mode for each type of mirror entity that is set, where the synchronization mode includes a first mode and a second mode;
the synchronization module 10 is further configured to select various types of mirror entities and determine a synchronization mode of the selected mirror entities, wherein,
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
It should be noted that the difference between the present embodiment and the first embodiment is that, in the present embodiment, the setting module configures a synchronization mode for the set first type mirror entity and the set second type mirror entity while setting the first type mirror entity and the second type mirror entity.
The synchronous mode refers to a following relationship between the mirror entity action based on the multicast protocol and the action of the target optical network unit, including but not limited to following (first mode) and not following (second mode), wherein "following" refers to that the action of the mirror entity depends on the protocol action result of the target optical network unit; by "not follow" is meant that the action of the mirroring entity depends only on the protocol action request of the target optical network unit and not on the action result of the target optical network unit.
Further, based on the third embodiment, a fourth embodiment of the multicast service monitoring apparatus of the present invention is provided, in this embodiment, synchronization modes configured by mirror entities in each type of mirror entities are different, and the multicast service monitoring apparatus further includes:
and the display module is used for converting the multicast service stream received by the synchronized mirror image entities into a video and displaying the video through the display equipment.
In this embodiment, the second type of mirror entity set by the setting module includes a first mirror entity and a second mirror entity, and the first mirror entity and the second mirror entity are configured with different synchronization modes. Based on the foregoing description, it can be understood by those skilled in the art that, since the synchronization modes configured by the mirror entities in the mirror entities of the respective types are different, the multicast service streams received by the mirror entities in different synchronization modes after synchronization are correspondingly different. The following describes the configured synchronization operation of each mirror entity with the synchronization mode configured by the first type of mirror entity as the second mode, the synchronization mode configured by the first type of mirror entity as the first mode, and the synchronization mode configured by the second type of mirror entity as the second mode.
1. The synchronization mode of the first mirror image entity is the first mode, that is, the synchronization module 10 realizes synchronization of the multicast service flow of the first mirror image entity and the target optical network unit according to whether the optical line terminal responds to the multicast group join/leave message of the target optical network unit successfully, including:
(1) the target optical network unit leaves the multicast channel 1 successfully: when a target optical network unit sends a multicast group leaving message leaving the multicast channel 1, an optical line terminal deletes the target optical network unit from a specific multicast group 1 corresponding to the multicast channel 1 according to the content of the multicast group leaving message; after the optical line terminal successfully deletes the target optical network unit from the specific multicast group 1, the synchronization module 10 deletes the first mirror image entity from the specific multicast group 1, and simultaneously cuts off the multicast service stream of the multicast channel 1 sent to the target optical network unit and the first mirror image entity; if the olt does not successfully respond to the multicast group leave packet of the target onu, i.e. the target onu is not successfully deleted from the specific multicast group 1, the synchronization module 10 does not process the first mirror entity.
(2) And the target optical network unit successfully adds the multicast channel 2: when a target optical network unit sends a multicast group adding message added to a multicast channel 2, an optical line terminal adds the target optical network unit to a specific multicast group 2 corresponding to the multicast channel 2 according to the content of the multicast group adding message; after the optical line terminal successfully adds the target optical network unit into the specific multicast group 2, the synchronization module 10 adds the first mirror image entity into the specific multicast group 2, and simultaneously introduces the multicast service stream of the multicast channel 2 into the target optical network unit and the first mirror image entity; if the olt does not successfully respond to the multicast group join packet of the target onu, that is, the target onu is not added to the specific multicast group 2, the synchronization module 10 does not process the first mirror entity.
(3) The target optical network unit switches the multicast channel: the target optical network unit firstly sends out a multicast group leaving message leaving the multicast channel 1 and then sends out a multicast group adding message adding the multicast channel 2; firstly, according to the content of the multicast group leaving message, the optical line terminal deletes the target optical network unit from the specific multicast group 1 corresponding to the multicast channel 1, and then the synchronization module 10 deletes the first mirror image entity from the specific multicast group 1, and simultaneously cuts off the multicast service flow of the multicast channel 1 sent to the target optical network unit and the first mirror image entity; then according to the multicast group adding message of the multicast channel 2 sent by the target optical network unit, after the target optical network unit is successfully added into the specific multicast group 2 corresponding to the multicast channel 2, adding the first mirror image entity into the specific multicast group 2, and simultaneously introducing the multicast service flow of the multicast channel 2 into the target optical network unit and the first mirror image entity; if the olt does not successfully respond to the multicast group join/leave message of the target onu, the synchronization module 10 does not process the first mirror entity.
2. The synchronization mode of the second mirror image entity is the second mode, that is, the synchronization module 10 implements the synchronization operation of the first mirror image entity according to whether the target optical network unit sends the multicast group join/leave message, including:
(1) the target optical network unit applies for leaving the multicast channel 1: when the optical line terminal receives a multicast group leaving message sent by the target optical network unit to leave the multicast channel 1, the synchronization module 10 deletes the second mirror image entity from the specific multicast group 1 corresponding to the multicast channel 1, and simultaneously cuts off the multicast service stream of the multicast channel 1 sent to the second mirror image entity.
(2) The target optical network unit applies for adding a multicast channel 2: when the optical line terminal receives a multicast group join message sent by the target optical network unit to join the multicast channel 2, the synchronization module 10 joins the second mirror image entity to the specific multicast group 2 corresponding to the multicast channel 2, and at the same time, introduces the multicast service stream of the multicast channel 2 into the second mirror image entity.
(3) The target optical network unit applies for switching the multicast channel: the target optical network unit firstly sends out a multicast group leaving message leaving the multicast channel 1 and then sends out a multicast group adding message adding the multicast channel 2; the synchronization module 10 firstly deletes the second mirror image entity from the specific multicast group 1 corresponding to the multicast channel 1 according to the multicast group leaving message received by the optical line terminal, and simultaneously cuts off the multicast service stream of the multicast channel 1 sent to the second mirror image entity; the synchronization module 10 adds the second mirror image entity to the specific multicast group 2 corresponding to the multicast channel 2 according to the multicast group adding message received by the optical line terminal, and introduces the multicast service stream of the multicast channel 2 into the second mirror image entity.
3. The synchronization mode of the first kind of mirror entity is the first mode, that is, the synchronization module 10 implements the synchronization operation on the first kind of mirror entity according to whether the target optical network unit sends the multicast group join/leave message, and specifically, the description of performing the synchronization operation on the second mirror entity by referring to the synchronization module 10 may be referred to, and details are not described here again.
After the synchronization module 10 completes the synchronization operation of the set mirror image entities, the display module converts the multicast service stream received by the synchronized first type mirror image entity, the first mirror image entity, and the second mirror image entity into a video, and displays the video through the display device, specifically, the video of each mirror image entity can be correspondingly displayed in different regions on the same display device, or the video corresponding to each mirror image entity can be respectively displayed on different display devices.
In this embodiment, the actual multicast service stream of the target optical network unit is obtained at the mirror image entity and converted into a video, so that real-time mirror image monitoring of the multicast service stream of the target optical network unit can be realized, wherein the first type of mirror image entity realizes monitoring of a specific multicast service stream at a first-level replication node of an optical line terminal; the second mirror image entity (including the first mirror image entity and the second mirror image entity) realizes the monitoring of the second-level copy node of the specific multicast service flow at the optical line terminal; and the multicast service quality of the target optical network unit can be visually judged by the real-time video stream acquired by the mirror image entities in different synchronous modes, and whether the optical line terminal successfully processes the multicast group join/leave message sent by the target optical network unit is visually judged, for example, if the converted videos corresponding to the first mirror image entity and the second mirror image entity are different, the optical line terminal fails to successfully process the multicast group join/leave message sent by the target optical network unit.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A multicast service monitoring method is characterized in that the multicast service monitoring method comprises the following steps:
synchronizing the multicast services of different types of mirror entities and a target optical network unit, wherein each type of mirror entity corresponds to a replication node of the multicast service of the target optical network unit at each forwarding level of an optical line terminal;
carrying out flow statistics on the synchronized multicast services of the mirror image entities of each type, and acquiring condition parameters corresponding to the abnormal forwarding of the preset multicast services;
and when the flow statistic result meets the condition parameters, determining that the multicast service of the target optical network unit is abnormally forwarded, and determining a forwarding level in which the abnormality is positioned.
2. The method according to claim 1, wherein after the step of determining that the multicast service forwarding of the target onu is abnormal and determining the forwarding level at which the abnormality is located when the result of the traffic statistics satisfies the condition parameter, the method further comprises:
and outputting alarm information of the forwarding level carrying the abnormity.
3. The method for monitoring multicast service according to claim 1, wherein before the step of synchronizing the multicast services of the mirror entities of different types and the target optical network unit, the method further comprises:
taking a copy node of multicast service of a target optical network unit at each forwarding level of an optical line terminal as a mirror source port, correspondingly setting each type of mirror entity of the target optical network unit, and configuring a synchronization mode for each type of mirror entity, wherein the synchronization mode comprises a first mode and a second mode;
the step of synchronizing the multicast services of the mirror entities of different types and the target optical network unit comprises:
selecting various types of mirror image entities and determining a synchronization mode of the selected mirror image entities;
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
4. The method for monitoring multicast service according to claim 3, wherein the mirror entities of each type have different configured synchronization modes, and after the step of synchronizing the multicast services of the mirror entities of different types and the target optical network unit, the method further comprises:
and converting the multicast service stream received by the synchronized mirror image entities of each type into a video, and displaying the video through a display device.
5. The multicast service monitoring method according to any of claims 1 to 4, wherein the following steps are performed while performing the multicast service for synchronizing the mirror entities of different types with the target optical network unit:
and shielding other service flows except the multicast service flow of each type of mirror entity.
6. A multicast service monitoring apparatus, comprising:
the synchronous module is used for synchronizing different types of mirror image entities and multicast services of the target optical network unit, wherein each type of mirror image entity corresponds to a replication node of the multicast services of the target optical network unit at each forwarding level of the optical line terminal;
the counting module is used for carrying out flow statistics on the synchronized multicast services of the mirror image entities of various types and acquiring condition parameters corresponding to the abnormal forwarding of the preset multicast services;
and the monitoring module is used for determining the multicast service forwarding abnormity of the target optical network unit and determining the forwarding level in which the abnormity is positioned when the flow statistic result meets the condition parameters.
7. The multicast traffic monitoring apparatus according to claim 6, wherein the multicast traffic monitoring apparatus further comprises:
and the output module is used for outputting the alarm information of the forwarding level carrying the abnormity.
8. The multicast traffic monitoring apparatus according to claim 6, wherein the multicast traffic monitoring apparatus further comprises:
a setting module, configured to set, as mirror source ports, mirror entities of various types of a target optical network unit correspondingly to copy nodes of multicast services of the target optical network unit at forwarding levels of an optical line terminal, and configure a synchronization mode for the set mirror entities of various types, where the synchronization mode includes a first mode and a second mode;
the synchronization module is further configured to select various types of mirror entities and determine a synchronization mode of the selected mirror entities, wherein,
if the selected mirror image entity is in the first mode, when a multicast group adding or leaving message sent by the target optical network unit is received and the target optical network unit successfully adds or leaves the corresponding multicast group, correspondingly introducing or stopping a multicast service stream of the multicast group to the selected mirror image entity;
if the selected mirror image entity is in the second mode, when a multicast group adding or leaving message sent by the target optical network unit is received, the multicast service flow of the multicast group is correspondingly introduced or cut off to the selected mirror image entity.
9. The multicast service monitoring apparatus according to claim 8, wherein the mirror entities of each type have different configured synchronization modes, and the multicast service monitoring apparatus further comprises:
and the display module is used for converting the multicast service stream received by the synchronized mirror image entities into a video and displaying the video through the display equipment.
10. The multicast traffic monitoring apparatus according to any of claims 6 to 9, wherein the multicast traffic monitoring apparatus further comprises:
and the shielding module is used for shielding other service flows of the mirror image entities of various types except the multicast service flow.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610193094.8A CN107294858B (en) | 2016-03-30 | 2016-03-30 | Multicast service monitoring method and device |
PCT/CN2017/072823 WO2017166922A1 (en) | 2016-03-30 | 2017-02-03 | Multicast service monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610193094.8A CN107294858B (en) | 2016-03-30 | 2016-03-30 | Multicast service monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107294858A CN107294858A (en) | 2017-10-24 |
CN107294858B true CN107294858B (en) | 2020-10-20 |
Family
ID=59962539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610193094.8A Active CN107294858B (en) | 2016-03-30 | 2016-03-30 | Multicast service monitoring method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107294858B (en) |
WO (1) | WO2017166922A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111082951B (en) * | 2019-12-30 | 2022-04-22 | 中国联合网络通信集团有限公司 | Fault diagnosis method, device, equipment and storage medium |
CN114390377A (en) * | 2020-10-19 | 2022-04-22 | 中国移动通信有限公司研究院 | Fault recovery method and device of broadband access system |
CN114070828B (en) * | 2022-01-17 | 2022-05-17 | 中央广播电视总台 | Program stream fault detection method and device, computer equipment and readable storage medium |
CN114710401B (en) * | 2022-04-29 | 2024-02-06 | 北京达佳互联信息技术有限公司 | Abnormality positioning method and device |
CN118158579B (en) * | 2024-03-06 | 2024-09-20 | 广州芯德通信科技股份有限公司 | Method for realizing massive high concurrency upgrading of optical network units in optical network system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035599A (en) * | 2010-12-01 | 2011-04-27 | 苏州新海宜通信科技股份有限公司 | FTTH passive optical link monitoring system and method |
CN102142893A (en) * | 2011-01-24 | 2011-08-03 | 华为技术有限公司 | Reflectance anomaly detection method, system and device for optical distribution network |
CN102148723A (en) * | 2011-01-31 | 2011-08-10 | 中兴通讯股份有限公司 | Method and terminal for detecting multicast service quality |
CN102149026A (en) * | 2010-02-08 | 2011-08-10 | 中兴通讯股份有限公司 | Multicast realizing method and system |
CN103402144A (en) * | 2013-07-29 | 2013-11-20 | 华为技术有限公司 | Method, device and system for automatically measuring multicast service performances |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0986226B1 (en) * | 1998-09-11 | 2007-01-17 | Hitachi, Ltd. | Ip packet communication apparatus |
KR100523490B1 (en) * | 2003-12-17 | 2005-10-24 | 한국전자통신연구원 | Method for multicast service in ethernet passive optical network system |
US8223660B2 (en) * | 2007-04-18 | 2012-07-17 | Rockstar Bidco Lp | Failure notification in a network having serially connected nodes |
CN101174909B (en) * | 2007-11-16 | 2010-08-18 | 华为技术有限公司 | Control method, equipment and system for passive optical network multicast access |
CN101719851A (en) * | 2009-11-26 | 2010-06-02 | 中兴通讯股份有限公司 | Method and device for realizing performance statistics of optical network unit |
CN104301813A (en) * | 2014-11-18 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | Ethernet passive optical network system and configuration method |
-
2016
- 2016-03-30 CN CN201610193094.8A patent/CN107294858B/en active Active
-
2017
- 2017-02-03 WO PCT/CN2017/072823 patent/WO2017166922A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102149026A (en) * | 2010-02-08 | 2011-08-10 | 中兴通讯股份有限公司 | Multicast realizing method and system |
CN102035599A (en) * | 2010-12-01 | 2011-04-27 | 苏州新海宜通信科技股份有限公司 | FTTH passive optical link monitoring system and method |
CN102142893A (en) * | 2011-01-24 | 2011-08-03 | 华为技术有限公司 | Reflectance anomaly detection method, system and device for optical distribution network |
CN102148723A (en) * | 2011-01-31 | 2011-08-10 | 中兴通讯股份有限公司 | Method and terminal for detecting multicast service quality |
CN103402144A (en) * | 2013-07-29 | 2013-11-20 | 华为技术有限公司 | Method, device and system for automatically measuring multicast service performances |
Also Published As
Publication number | Publication date |
---|---|
WO2017166922A1 (en) | 2017-10-05 |
CN107294858A (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107294858B (en) | Multicast service monitoring method and device | |
JP5643433B2 (en) | Method and apparatus for protocol event management | |
CN107995314B (en) | CDN network system and network source returning method thereof | |
RU2643793C1 (en) | Fault management in one-way mbms channels based on tail parts | |
WO2012155682A1 (en) | Alarm management method and device of terminal apparatus of passive optical network | |
CN106789630B (en) | A kind of network protection method and system, controller, equipment | |
US10785515B2 (en) | Communication control device, communication control method, and communication system | |
KR20140106235A (en) | Open-flow switch and packet manageing method thereof | |
KR20130055392A (en) | Method and appratus for protection switching in point-to- multipoint network | |
CN109510777B (en) | Flow table arranging method and device and SDN controller | |
WO2011160498A1 (en) | Configuration method and node for operation administration and maintenace | |
EP2129042B1 (en) | A multicast network system, node and a method for detecting a fault of a multicast network link | |
US9112791B2 (en) | Methods and apparatus for protecting a communications network | |
CN105791113B (en) | A kind of multilink delay equalization method and system based on SDN | |
WO2012103761A1 (en) | Method for detecting quality of multicast service and terminal | |
RU2730390C1 (en) | Method and apparatus for automatic determination of inter-node communication topology in shared backup ring of transoceanic multiplex section | |
CN105071986B (en) | A kind of method of supervisory control system running state | |
TW201806359A (en) | Network service method and system based on Software Defined Networking | |
EP2830259B1 (en) | Method and system for managing end-to-end service performance based on threshold, and network manager | |
CN102308518B (en) | Method for using a computer network | |
CN105471667A (en) | Multicast link detection method, network equipment and server | |
EP2596601B1 (en) | Logging control plane events | |
CN100466546C (en) | System and method for realizing business protection using LCAS protocol | |
CN115664969A (en) | SD-WAN system, and use method and device of SD-WAN system | |
CN102394765A (en) | Method for positioning faults of cable television network management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200914 Address after: 210000 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing Applicant after: Nanjing Zhongxing Software Co.,Ltd. Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice Applicant before: ZTE Corp. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |