CN114745047A - Method and device for collecting monitoring messages - Google Patents

Method and device for collecting monitoring messages Download PDF

Info

Publication number
CN114745047A
CN114745047A CN202210313824.9A CN202210313824A CN114745047A CN 114745047 A CN114745047 A CN 114745047A CN 202210313824 A CN202210313824 A CN 202210313824A CN 114745047 A CN114745047 A CN 114745047A
Authority
CN
China
Prior art keywords
message
type
operation management
management maintenance
optical network
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.)
Withdrawn
Application number
CN202210313824.9A
Other languages
Chinese (zh)
Inventor
王永彬
胡国伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202210313824.9A priority Critical patent/CN114745047A/en
Publication of CN114745047A publication Critical patent/CN114745047A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and a device for collecting monitoring messages. Wherein the method comprises the following steps: setting a monitoring data type and an optical network unit fault monitoring type; identifying the message type of the received operation management maintenance message; when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit; and mirroring the operation management maintenance message to a network interface connected with the collector.

Description

Method and device for collecting monitoring messages
Technical Field
The present application relates to an ethernet passive optical network technology, and in particular, to a method and an apparatus for collecting monitoring packets.
Background
An EPON (Ethernet Passive Optical Network ) adopts a point-to-multipoint structure and Passive Optical fiber transmission, and provides multiple services on the Ethernet to realize an important technology of fiber to the home. The EPON network adopts PON technology on a physical layer, uses an Ethernet protocol on a data link layer and realizes Ethernet access by utilizing a topological structure of the PON.
When an EPON Network fails, a professional PON (Passive Optical Network) analyzer needs to be connected between an OLT (Optical Line Terminal) and an ONU (Optical Network Unit) to capture an OAM (Operation, Administration, and Maintenance) message to analyze the failure. However, this method has a disadvantage that the PON analyzer cannot intelligently analyze the OAM message to analyze the OAM message corresponding to the configured OAM command.
Disclosure of Invention
The present application aims to provide a method and an apparatus for collecting monitoring messages, so that an optical line terminal mirrors OAM messages from an optical network unit to be collected to a collector.
In order to achieve the above object, the present application provides a method for collecting management packets, including: setting a monitoring data type and an optical network unit fault monitoring type; identifying the message type of the received operation management maintenance message; when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit; and mirroring the operation management maintenance message to a network interface connected with the collector.
In order to achieve the above object, the present application further provides a device for collecting management packets, which can be used in an optical line terminal, and the device includes: the setting module is used for setting the monitoring data type and the optical network unit fault monitoring type; the receiving module is used for receiving the operation management maintenance message; the analysis module is used for identifying the message type of the received operation management maintenance message; when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit; and the mirror image module is used for mirroring the operation management maintenance message to the network interface connected with the collector.
The method and the device have the advantages that the OAM message from the ONU is monitored through the optical line terminal OLT of the EPON, so that the state of the EPON is monitored in real time, the positioning efficiency of the problems of the EPON is greatly improved, and the stability of the EPON is improved.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for collecting management packets according to the present application;
fig. 2 is a schematic diagram of a monitoring operation management maintenance message mechanism provided in the present application;
fig. 3 is a schematic diagram of an embodiment of an apparatus for collecting management packets according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
Fig. 1 shows an embodiment of a method for collecting management packets, which includes the following steps:
step 101, setting a monitoring data type and an optical network unit fault monitoring type;
step 102, identifying the message type of the received operation management maintenance message;
103, when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit;
and step 104, mirroring the operation, management and maintenance message to a network interface connected with the collector.
The method and the device have the advantages that the OAM message from the ONU is monitored through the optical line terminal OLT of the EPON, so that the state of the EPON is monitored in real time, the positioning efficiency of the problems of the EPON is greatly improved, and the stability of the EPON is improved.
Fig. 2 is a schematic diagram of a monitoring operation management maintenance message mechanism provided in the present application; an OLT device embedded SOAM (supervisory OAM) Agent and a remote SOAM Collector. The SOAM Agent of the OLT mirrors OAM data which is sent to the ONU by the OLT needing to be monitored and OAM data received from the ONU to the Ethernet port through an ACL (access control list).
Specific OAM messages are monitored by configuring monitoring instructions on the OLT, such as monitoring loop monitoring OAM message instructions and monitoring ONU internal fault report OAM message instructions.
Because the number of the ONUs in the network is large, in order to reduce the phenomenon that the CPU load of the OLT is too large when the OLT monitors a specific OAM message, the OAM message for monitoring the specified ONU can be set.
And the OLT generates mirror image ACL list items according to the configured monitoring instructions, and mirrors the OAM messages conforming to the monitoring OAM instructions to the Ethernet port connected with the Collector.
According to the method and the device, data to be monitored are carried by using the extended OAM and the extended private OAM, and ONU fault data are carried by using the extended private OAM. The OLT may identify whether the received OAM message is an extended private OAM according to a vendor identifier carried in an OUI (organization unique identifier).
When an OLT receives an OAM message, analyzing an Ext.Opcode field which represents an extended operation type (get, set, auth, event and the like) and a Branch field which represents an attribute of an extended object (generally, the extended attribute is an extended attribute, and get and set can be executed, and 0xC7) wherein the OAM message is an analysis message type; and (3) determining that the action behavior of the OAM message accords with the configured monitoring instruction by using a Leaf field for expressing the operation management (specific action) of the extended object, and copying and caching the OAM message.
Similarly, when receiving the OAM message, the OLT distinguishes that the OAM message is an extended private OAM message according to the OUI field, determines that the action behavior of the extended private OAM message conforms to the configured monitoring instruction according to the PDU _ TYPE field and the REQ _ ID field of the private OAM message, and copies one for caching.
The OAM messages received by the OLT are all provided with LLID (Logical Link ID); if the LLIDs of the appointed ONUs of the configured monitoring instruction are the same, identifying the type of the OAM message as an expanded OAM message or a private OLT receives the OAM message, analyzing the action behavior of the OAM message to be in accordance with the configured monitoring instruction, and copying and caching the OAM message.
And when the expanded OAM message and the expanded private OAM cached by the OLT reach a caching threshold value or a timer of the OAM from the OLT to the collector arrives, sending the cached OAM message and the expanded private OAM to the collector.
In the application, the OLT does not buffer the ONU faults transmitted by the extended private OAM message, but directly copies one part of the ONU faults and mirrors the part of the ONU faults to the Ethernet port connected with the collector
In the application, in an OAM message for monitoring an ONU fault, a PDU _ TYPE field needs to be filled with "EOAM _ EVENT", and REQ _ ID to distinguish fault TYPEs, and different faults can be identified by agreeing on an ID value. For example, an ID value of 0xf1 indicates that the CPU utilization exceeds 90%, an ID value of 0xf2 indicates that the ONU memory threshold is reached, and an ID value of 0xf3 indicates that the upstream traffic is congested.
When the ONU has a fault which needs to be reported immediately, the ONU directly sends an extended private OAM message with a fault type to the OLT, and the OLT directly sends the message to the collector after receiving the message and analyzing the message.
When the OLT receives the OAM message, the OAM message is an extended private OAM message according to the resolution of the OUI field, the extended private OAM message is determined to carry ONU fault data according to the PDU _ TYPE field and the REQ _ ID field of the private OAM message, a copy of the received extended private OAM message is immediately copied, and the extended private OAM message is connected with an Ethernet port of the collector to be sent, so that the message with the ONU fault data is immediately mirrored to the collector.
Fig. 3 is a schematic diagram illustrating an embodiment of an apparatus for collecting management packets according to the present application. The device comprises a setting module, a receiving module, an analysis model, a cache module and a mirror image module.
The setting module is used for setting the monitoring data type and the optical network unit fault monitoring type; the receiving module is used for receiving the operation management maintenance message; the analysis module is used for identifying the message type of the received operation management maintenance message; when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit; and the mirror image module is used for mirroring the operation management maintenance message to the network interface connected with the collector.
The analysis module is also used for analyzing the fault monitoring type of the optical network unit corresponding to the data of the specified field of the operation, management and maintenance message when the message type of the operation, management and maintenance message is the message type carrying the monitoring data; the cached operation management maintenance message is stored in a caching module; and the mirror image module is also used for mirroring all the cached operation management maintenance messages to the network interface connected with the collector when the number of the cached operation management maintenance messages reaches a preset value or the collection timer arrives.
The setting module is also used for setting the identification, the monitoring data type and the optical network unit fault monitoring type of the monitored optical network unit; the analysis module is also used for analyzing the fault data of the specified field of the operation, management and maintenance message corresponding to the fault monitoring type of the optical network unit when the message type of the operation, management and maintenance message is the message type carrying the fault data of the optical network unit and carries the identifier; and the mirror image module is also used for mirroring the operation management maintenance message to the network interface connected with the collector.
The analysis module is also used for analyzing the fault monitoring type of the optical network unit corresponding to the data of the specified field of the operation, management and maintenance message when the message type of the operation, management and maintenance message is the message type carrying the monitoring data and carries the identification, and the cached operation, management and maintenance message is stored in the cache module; and the mirror image module is also used for mirroring all the cached operation management maintenance messages to the network interface connected with the collector when the number of the cached operation management maintenance messages reaches a preset value or the collection timer arrives.
The operation management maintenance message carrying the monitoring data is an extended operation management maintenance message or an extended private operation management maintenance message; the message type of the operation management maintenance message carrying the fault data of the optical network unit is an extended private operation management maintenance message.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for collecting management packets, the method comprising:
setting a monitoring data type and an optical network unit fault monitoring type;
identifying the message type of the received operation management maintenance message;
when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit;
and mirroring the operation, management and maintenance message to a network interface connected with a collector.
2. The method of claim 1, further comprising,
when the message type of the operation management maintenance message is the message type carrying the monitoring data, analyzing the fault monitoring type of the optical network unit corresponding to the data of the specified field of the operation management maintenance message;
caching the operation management maintenance message;
and when the number of the cached operation management maintenance messages reaches a preset value or a collection timer arrives, mirroring all the cached operation management maintenance messages to a network interface connected with the collector.
3. The method of claim 1, further comprising,
setting the identification, the monitoring data type and the optical network unit fault monitoring type of the monitored optical network unit;
when the message type of the operation management maintenance message is a message type carrying optical network unit fault data and carries the identifier, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the optical network unit fault monitoring type;
and mirroring the operation management maintenance message to a network interface connected with a collector.
4. The method of claim 3, further comprising,
when the message type of the operation management maintenance message is the message type carrying the monitoring data and carries the identifier, analyzing the fault monitoring type of the optical network unit corresponding to the data of the specified field of the operation management maintenance message;
caching the operation management maintenance message;
and when the number of the cached operation management maintenance messages reaches a preset value or a collection timer arrives, mirroring all the cached operation management maintenance messages to a network interface connected with the collector.
5. The method according to any one of claims 1 to 4, wherein the operation management maintenance packet carrying the monitoring data is an extended operation management maintenance packet or an extended private operation management maintenance packet;
the message type of the operation management maintenance message carrying the fault data of the optical network unit is an extended private operation management maintenance message.
6. An apparatus for collecting management packets, which can be used in an optical line terminal, the apparatus comprising:
the setting module is used for setting the monitoring data type and the optical network unit fault monitoring type;
the receiving module is used for receiving the operation management maintenance message;
the analysis module is used for identifying the message type of the received operation management maintenance message; when the message type of the operation management maintenance message is the message type carrying the fault data of the optical network unit, analyzing the fault data of the specified field of the operation management maintenance message corresponding to the fault monitoring type of the optical network unit;
and the mirror image module is used for mirroring the operation management maintenance message to a network interface connected with the collector.
7. The apparatus of claim 6, further comprising a cache module;
the analysis module is further configured to analyze the fault monitoring type of the optical network unit corresponding to the data in the specified field of the operation, management and maintenance packet when the packet type of the operation, management and maintenance packet is the packet type carrying the monitoring data; caching the operation management maintenance message in the caching module;
the mirror image module is further configured to mirror all the cached operation, management and maintenance messages to a network interface connected to the collector when the number of the cached operation, management and maintenance messages reaches a preset value or a collection timer arrives.
8. The apparatus of claim 6,
the setting module is also used for setting the identification, the monitoring data type and the optical network unit fault monitoring type of the monitored optical network unit;
the analysis module is further configured to analyze the fault data of the specified field of the operation, management and maintenance packet corresponding to the fault monitoring type of the optical network unit when the packet type of the operation, management and maintenance packet is a packet type carrying fault data of the optical network unit and carries the identifier;
the mirror image module is further configured to mirror the operation management maintenance packet to a network interface connected to the collector.
9. The apparatus of claim 8,
the analysis module is further configured to, when the message type of the operation, management and maintenance message is a message type carrying the monitoring data and carries the identifier, analyze a fault monitoring type of an optical network unit corresponding to data in a specified field of the operation, management and maintenance message, and cache the operation, management and maintenance message in the cache module;
the mirror image module is further configured to mirror all the cached operation management maintenance messages to the network interface connected to the collector when the number of the cached operation management maintenance messages reaches a preset value or a collection timer arrives.
10. The apparatus according to any one of claims 6 to 9, wherein the operation management maintenance packet carrying the monitoring data is an extended operation management maintenance packet or an extended private operation management maintenance packet;
the message type of the operation management maintenance message carrying the fault data of the optical network unit is an extended private operation management maintenance message.
CN202210313824.9A 2022-03-28 2022-03-28 Method and device for collecting monitoring messages Withdrawn CN114745047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210313824.9A CN114745047A (en) 2022-03-28 2022-03-28 Method and device for collecting monitoring messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210313824.9A CN114745047A (en) 2022-03-28 2022-03-28 Method and device for collecting monitoring messages

Publications (1)

Publication Number Publication Date
CN114745047A true CN114745047A (en) 2022-07-12

Family

ID=82278109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210313824.9A Withdrawn CN114745047A (en) 2022-03-28 2022-03-28 Method and device for collecting monitoring messages

Country Status (1)

Country Link
CN (1) CN114745047A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822128A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 PON system message mirroring method and PON system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822128A (en) * 2020-12-30 2021-05-18 瑞斯康达科技发展股份有限公司 PON system message mirroring method and PON system

Similar Documents

Publication Publication Date Title
CN100438505C (en) Passive optic network user terminal and its power control and state reporting method
US8755685B2 (en) Joint switching method for an aggregation node, aggregation node and system
CN106301837B (en) Passive optical network alarm detection method and device
CN102055525A (en) Loop detecting and controlling method
EP2568733A1 (en) Method and apparatus for collecting mobile communication data
CN103227966B (en) Transparent protection switching operation in a Pon
CN101369916B (en) Performance index collection method
WO2021233322A1 (en) Synchronization method, apparatus and device for recording data, and storage medium
CN101150365A (en) A management method of passive optical network terminal
CN101567799A (en) Automatic configuring method of optical network unit
WO2013097719A1 (en) Method and apparatus for resources synchronization
CN102638373B (en) Method for realizing alarm standby of access equipment
CN101047443B (en) Fault detection debugging method of passive optical network system and communication message device
CN102025540A (en) Topological structure of Ethernet passive optical network (EPON) network element equipment and configuration method thereof
CN101202656B (en) Method and apparatus for resource supervising
EP2026502B1 (en) Embedded reactive and proactive intelligence
US20180367427A1 (en) Method for performing connectivity check and apparatus
CN100413248C (en) Improved method and system for carrying out charging based on flow
CN100474817C (en) Managing system and method for access apparatus
CN103269296B (en) A kind of user side of passive optical network system detection system and detection method
CN114745047A (en) Method and device for collecting monitoring messages
JP2006025434A (en) System and method for high capacity fault correlation
CN115276235A (en) Intelligent management system and method for transformer substation safety monitoring
CN100362811C (en) Method for obtaining configuration information
KR19980026888A (en) Remote fault management method using Simple Network Management Protocol (SNMP) in asynchronous transmission (ATM) device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220712

WW01 Invention patent application withdrawn after publication