WO2013107232A1 - Detection method and system based on pon system - Google Patents

Detection method and system based on pon system Download PDF

Info

Publication number
WO2013107232A1
WO2013107232A1 PCT/CN2012/086620 CN2012086620W WO2013107232A1 WO 2013107232 A1 WO2013107232 A1 WO 2013107232A1 CN 2012086620 W CN2012086620 W CN 2012086620W WO 2013107232 A1 WO2013107232 A1 WO 2013107232A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
optical
otdr
onu
identifier
Prior art date
Application number
PCT/CN2012/086620
Other languages
French (fr)
Chinese (zh)
Inventor
李明生
卢金树
陆建鑫
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013107232A1 publication Critical patent/WO2013107232A1/en

Links

Classifications

    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Definitions

  • the present invention relates to the field of Passive Optical Networks (PON), and in particular to a detection method and system based on a PON system.
  • PON Passive Optical Networks
  • BACKGROUND With the rapid development of network technologies and the popularization of network applications, network communication, online shopping, and online entertainment have become part of the modern life, and the speed of the network is being promoted, especially in the domestic or foreign countries, especially the access network. The network speed is increasing, and the most popular and promising technology at present is PON (Passive Optical Networks). At the same time, PON has begun to be deployed on a large scale at home and abroad, and has been widely used. Accepted by the operator.
  • the main reason for determining the cause and location of the fault of the optical fiber line is to diagnose the cause and location of the fault of the optical fiber line through an OTDR (Optical Time Domain Reflectometer) device, and use the OTDR device to detect
  • the optical signal can be detected by combining the detected optical signal of the OTDR device into the trunk optical fiber through the combiner; or connecting the backbone optical fiber to the OTDR device to detect the optical fiber line.
  • the above method of detecting an optical fiber line failure using an OTDR device has the following disadvantages:
  • OTDR equipment is relatively expensive, and it is not convenient to operate. The cost of the above method for detecting the fault of the optical fiber line is increased, and the operation difficulty is increased. 2) There are multiple ONUs (Optical Network Units, light) under the PON port. Network element), only the branch fiber of a few ONUs in multiple ONUs may be faulty. However, when the OTDR device is used to detect the fault of the optical fiber line, all ONU services need to be stopped, and the OTDR device is connected to the PON. , or will After the detection optical signal of the OTDR device is integrated into the trunk optical fiber, the services of all the ONUs are continued, and the fault of the optical fiber line is detected. Therefore, when the services of all the ONUs are stopped, the normal ONUs under the PON interface are affected. ;
  • the above method for detecting the failure of the optical fiber line using the OTDR device needs to detect the failure of the optical fiber line when the optical line is known to be faulty, and the optical line cannot be detected in real time and automatically.
  • the present invention provides a detection method and system based on a PON system, so as to at least solve the problem that the OTDR detection cannot be performed automatically and in real time in the related art, and the normal ONU under the PON port performs services during OTDR detection.
  • a detection method based on a PON system including: an optical line terminal medium access control OLT MAC chip is configured with an ONU set to be detected as a virtual ONU outside a normally working optical network unit ONU
  • the virtual ONU is allocated a bandwidth other than the bandwidth corresponding to the normally working ONU, and generates a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating the detection type;
  • the detection indicator is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth, so that the optical module on the OLT side performs a detection operation corresponding to the identifier for indicating the detection type.
  • the PON system-based detection method further includes: the optical module on the OLT side receives the OLT MAC chip sending The detection indication signal, wherein the identifier for indicating the detection type in the detection indication signal comprises an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and the optical module performs a detection operation corresponding to the identifier for indicating the detection type.
  • the step of the optical module performing the detecting operation corresponding to the identifier for indicating the type of the detecting comprises: obtaining an identifier for indicating the type of the detection from the detection indication signal; and if the acquired identifier for indicating the type of detection is OTDR detection The optical module performs OTDR detection. If the obtained identifier for indicating the detection type is an optical power detection identifier, the optical module performs optical power detection.
  • the step of performing the OTDR detection by the optical module includes: the optical module injecting the optical detection signal into the optical port of the trunk optical fiber for performing OTDR detection, wherein the optical detection signal is an optical signal having a wavelength of a non-downward operating wavelength.
  • the foregoing PON system-based detection method further includes: the optical module acquires an OTDR detection result; and the optical module determines the status of the optical fiber line according to the OTDR detection result, and if the determined result has an alarm information, The optical module reports the OTDR detection result to the NMS.
  • the NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result.
  • the foregoing PON system-based detection method further includes: performing corresponding PON protection switching on the faulty location.
  • the PON system-based detection method further includes: the OLT MAC chip transmitting the detection indication signal to the optical module by using at least one of the following manners: The OLT MAC chip sends the detection indication signal to the optical module every preset period, or the OLT MAC chip sends the detection indication signal to the optical module after receiving the manually triggered instruction.
  • a detection system based on a PON system including: an optical line terminal medium access control OLT MAC chip, wherein the OLT MAC chip includes: a configuration unit, configured to operate in an optical network An ONU is configured as a virtual ONU, and a virtual ONU is allocated a bandwidth other than the bandwidth corresponding to the normally working ONU, and generates a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes The sending unit is configured to send the detection indication signal to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module on the OLT side performs the indication and is used for the indication.
  • the detection type corresponds to the detection operation.
  • the PON system-based detection system further includes: an optical module on the OLT side, wherein the optical module includes: a receiving unit, configured to receive a detection indication signal sent by the OLT MAC chip, where the detection indication signal is used for indicating detection
  • the type of identifier includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and an execution unit configured to perform a detection operation corresponding to the identifier for indicating the detection type.
  • the execution unit includes: an obtaining module, configured to acquire an identifier for indicating a detection type from the detection indication signal; and the first execution module is configured to execute when the acquired identifier for indicating the detection type is an OTDR detection identifier OTDR detection; The second execution module is configured to perform optical power detection when the acquired identifier for indicating the detection type is an optical power detection identifier.
  • the first execution module includes: an injection sub-module configured to inject an optical detection signal into the optical port of the main fiber for OTDR detection, wherein the optical detection signal is an optical signal having a wavelength of a non-downward operating wavelength.
  • the PON system-based detection system further includes: an obtaining unit configured to acquire an OTDR detection result; and a reporting unit configured to determine a status of the optical fiber line according to the OTDR detection result, and if the determined result has an alarm information, the optical module The OTDR detection result is reported to the NMS, so that the NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result.
  • the foregoing PON system-based detection system further includes: a switching unit, configured to be based on the network management
  • the OLT MAC chip configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a bandwidth corresponding to the normally operating optical network unit ONU for the virtual ONU.
  • the bandwidth indicates that the detection indication signal corresponding to the virtual ONU is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module performs the identifier corresponding to the detection indication signal for indicating the detection type.
  • the detection operation enables the optical module to perform the detection operation on the optical line in real time according to the received detection indication signal.
  • the virtual ONU is configured outside the normal working optical network unit ONU, and the bandwidth allocated to the virtual ONU is normal.
  • the working optical network unit ONU has different bandwidths, and sends a detection indication signal in the time slot of the virtual ONU, so that the optical module is detected based on the bandwidth of the virtual ONU, and the optical network unit can be guaranteed to operate normally when detecting.
  • ONU's business has no impact, which improves system performance and helps improve user body .
  • FIG. 1 is a preferred structural diagram of a detection system based on a PON system according to an embodiment of the present invention
  • FIG. 2 is a preferred structural diagram of an execution unit according to an embodiment of the present invention
  • FIG. 4 is another preferred structural diagram of a detection system based on a PON system according to an embodiment of the present invention
  • FIG. 5 is an embodiment of the present invention. Still another preferred structural diagram of a PON system based detection system; FIG. 6 is a preferred structural diagram of an optical module in accordance with an embodiment of the present invention; FIG. 7 is a preferred flowchart of a PON system-based detection method according to an embodiment of the present invention; FIG. 8 is another preferred flowchart of a PON system-based detection method according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a detection system based on a PON system according to an embodiment of the present invention. As shown in FIG.
  • the detection system based on a PON system includes an OLT MAC chip 102, wherein an OLT MAC chip
  • the configuration unit 1021 is configured to configure an ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocate a bandwidth other than the bandwidth corresponding to the normally working ONU for the virtual ONU, and generate a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating a detection type;
  • the sending unit 1022 is in communication with the configuration unit 1021, and is configured to detect in a time slot corresponding to the bandwidth allocated for the virtual ONU.
  • the indication signal is sent to the optical module on the OLT side, so that the optical module on the OLT side performs a detection operation corresponding to the identifier for indicating the detection type.
  • the PON system-based detection system may further include: an optical module 104 on the OLT side, where the optical module 104 includes: a receiving unit 1041 configured to receive a detection indication signal sent by the OLT MAC chip 102.
  • the identifier for indicating the type of detection in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier.
  • the execution unit 1042 is in communication with the receiving unit 1041, and is configured to perform an identifier for indicating the type of detection. Corresponding detection operations.
  • the OLT MAC chip 102 configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a virtual ONU corresponding to the optical network unit ONU that works normally.
  • the bandwidth of the bandwidth is different, and the detection indication signal corresponding to the virtual ONU is sent to the optical module 104 on the OLT side in the time slot corresponding to the bandwidth allocated by the virtual ONU, so that the optical module 104 performs the detection indication signal and the detection indication signal.
  • the detection operation corresponding to the type of the identifier enables the optical module 104 to perform the detection operation on the optical line in real time according to the received detection indication signal.
  • the virtual ONU is configured outside the normally operated optical network unit ONU.
  • the bandwidth allocated by the ONU is different from the bandwidth corresponding to the ONU of the optical network unit that is working normally, and the detection indication signal is sent in the time slot of the virtual ONU, so that the light is made.
  • the module 104 is configured to detect the bandwidth of the virtual ONU. When the detection is performed, the function of the ONU of the optical network unit that works normally is not affected, thereby improving the performance of the system and improving the user experience.
  • the sending unit 1022 is further configured to send the detection indication signal to the light in at least one of the following manners before the optical module 104 receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip 102.
  • the OLT MAC chip 102 sends a detection indication signal to the optical module 104 every preset period, or the OLT MAC chip 102 sends a detection indication signal to the optical module 104 after receiving the manually triggered instruction.
  • the OLT MAC chip 102 can preset a period for transmitting the detection indication signal, and different period lengths can be set according to different detection requirements to meet different detection requirements. Meanwhile, it can also be triggered by a manual trigger method.
  • the OLT MAC chip 102 sends a detection indication signal. For example, when the optical line is faulty, the OLT MAC chip 102 can be manually triggered to send a detection indication signal at any time to detect the failure of the optical line. Therefore, different scenarios can be selected.
  • a preferred execution unit 1042 includes: an obtaining module 202, configured to acquire an identifier for indicating a detection type from the detection indication signal; An execution module 204, in communication with the obtaining module 202, is configured to perform OTDR detection when the acquired identifier for indicating the detection type is an OTDR detection identifier; the second execution module 206 is in communication with the acquisition module 202, and is set to be acquired.
  • the identifier indicating the type of detection is the optical power detection identifier
  • optical power detection is performed.
  • a preferred first execution module 204 is provided.
  • the first execution module 204 includes: an injection sub-module 302 configured to inject light detection signals into the light of the backbone fiber.
  • the OTDR detection is performed in the port, wherein the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength.
  • the optical detection signal is injected into the optical port of the main fiber to realize detection of the optical line, and at the same time, the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength.
  • the non-downward operating wavelength refers to any wavelength except one wavelength.
  • the downlink operating wavelength is an operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm
  • the upstream operating wavelength is The operating wavelength in the range of (1290 - 1330) nm centered at 1310 nm
  • the non-downstream operating wavelength means that the operating wavelength is not in the range of 1490 nm (1480 to 1500) nm, for example, 1310 nm
  • the downstream operating wavelength is the operating wavelength in the range of (1575 1580) nm centered at 1577nm
  • the upstream working wavelength is centered at 1270nm in the (1260 1280;) nm range.
  • non-downward operating wavelength means working as long as it is not in the range of 1577 nm (1575 to 1580 nm) nm
  • the wavelengths can be, for example, working wavelengths such as 1310 nm, 1490 nm, and 1550 nm; of course, the operating wavelength of the OTDR is required to meet the operating wavelength of the OTDR.
  • the PON system-based detection system includes: an obtaining unit 1043 configured to acquire an OTDR detection result; a reporting unit 1044, in communication with the obtaining unit 1043, configured to determine according to the OTDR detection result.
  • the OTDR detection result is reported to the network management system, so that the network management determines the cause of the failure and the location of the failure in the optical fiber line according to the OTDR detection result.
  • the OTDR detection result is reported to the network management system, so as to determine the cause of the fault in the optical fiber line and the location of the fault, and provide an easy-to-read, accurate optical fiber line. The condition thus improves the detection accuracy of the present invention.
  • the above PON system-based detection system includes: a switching unit
  • a preferred optical module 104 is provided. As shown in FIG. 6, the optical module 104 includes:
  • the optical module 104 includes an OTDR processing module in addition to the normal service transceiver function module, and the OTDR processing module (equivalent to the execution unit 1022) can complete the OTDR detection function; the optical module 104 and the PON MAC (Media Access Control)
  • the interface between the chips 104 also includes:
  • I2C Inter-Integrated Circuit
  • OTDR event equivalent to OTDR detection result
  • OLT PON optical module 104 characteristics acquisition interface
  • the Trigger signal (equivalent to the detection indication signal) is set to trigger the optical module 104 to obtain the ONU optical power or initiate the OTDR measurement, and the Trigger signal is output by the PON MAC chip under the control of the DBA module.
  • the Trigger signal is defined by the Trigger signal measured by the current RSSI (Received Signal Strength Indication), and the specific detection function of the Trigger signal is configured by the I2C;
  • PON upstream operating wavelength eg, 1310 nm
  • downstream wavelength eg, 1490 nm
  • data path differential interface e.g. 3) PON upstream operating wavelength (eg, 1310 nm) and downstream wavelength (eg, 1490 nm) data path differential interface; 2.
  • the upstream wavelength for example, GPON is 1310 nm, 10G GPON is 1277 nm, etc.
  • the non-downward working wavelength refers to any wavelength other than one wavelength, for example, in a GPON system.
  • the downstream operating wavelength is the operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm
  • the upstream working wavelength is the operating wavelength in the range of (1290 ⁇ 1330) nm centered at 1310 nm, non-downward operating wavelength.
  • the downstream working wavelength is centered at 1577nm.
  • the upstream operating wavelength is the operating wavelength in the range of (1260 1280) nm centered at 1270 nm, and the non-downward operating wavelength is as long as it is not centered at 1577 nm (1575 ⁇ 1580 nm) nm
  • the working wavelengths in the range can be, for example, working wavelengths such as 1310nm, 1490nm, and 1550nm; of course, the operating wavelength of the OTDR needs to be full.
  • the working wavelength of the characteristics of the foot OTDR is the operating wavelength in the range of (1260 1280) nm centered at 1270 nm, and the non-downward operating wavelength is as long as it is not centered at 1577 nm (1575 ⁇ 1580 nm) nm
  • the working wavelengths in the range can be, for example, working wavelengths such as 1310nm, 1490nm, and 1550nm; of course, the operating wavelength of the OTDR needs to be full.
  • the receiving device of the OTDR module shares a receiver with the uplink signal of the normal PON to reduce the cost
  • the OTDR test is controlled by the Trigger signal. The test result is fed back to the system through the I2C interface.
  • is the wavelength of the OTDR test optical signal
  • is the data uplink working wavelength
  • is the data downlink working wavelength
  • can be equal to ⁇ , also It may not be equal to ⁇ , and preferably, ⁇ is equal to ⁇ , but ⁇ must not be equal to ⁇ .
  • the detection indication signal is sent to the optical module 104 by the OLT MAC chip 102. After receiving the detection indication signal, the optical module 104 performs a detection operation corresponding to the identifier for indicating the detection type, and implements the use of the optical module 104.
  • the detection operation of the optical line avoids the use of the external device to detect the optical line, thereby avoiding the normal ONUs under the mouth when performing the detection of the optical line by using the external device; meanwhile, the OLT MAC chip 102 can
  • the detection indication signal is sent every preset period to avoid fault detection of the optical line when the optical line is found to be faulty, so that the optical line can be detected in real time and automatically, and the OTDR equipment is used in the related art to solve the optical fiber line.
  • the detection of the ONU that affects the normal ONU under the PON port and the failure to detect the optical line in real time and automatically can ensure that the normal ONU under the PON port does not affect the service when detecting the optical line. At the same time, the real-time and automatic detection are improved.
  • the preferred embodiment provides a preferred PON system-based detection method.
  • the PON system-based detection method includes: S702: The optical line terminal medium access control OLT MAC chip configures an ONU set to be detected as a virtual ONU outside the normal working optical network unit ONU, and allocates a bandwidth other than the bandwidth corresponding to the normally working ONU for the virtual ONU.
  • the OLT MAC chip configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a bandwidth corresponding to the normally operating optical network unit ONU for the virtual ONU.
  • the detection indicator signal corresponding to the virtual ONU is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module performs the identifier for indicating the detection type in the detection indication signal.
  • Corresponding detection operations enable the optical module to perform real-time and automatic detection of the optical line according to the received detection indication signal.
  • a virtual ONU is configured outside the normally operating optical network unit ONU to allocate bandwidth for the virtual ONU.
  • the bandwidth corresponding to the ONU of the optical network unit that is working normally is different.
  • the detection indication signal is sent in the time slot of the virtual ONU, so that the optical module is detected based on the bandwidth of the virtual ONU, and the normal working light can be realized when detecting.
  • the PON system-based detection method further includes: the optical module on the OLT side receives the OLT. a detection indication signal sent by the MAC chip, where the identifier for indicating the detection type in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and the optical module performs an identifier corresponding to the identifier for indicating the detection type. Detection operation.
  • the detection operation is performed, and the optical module can perform detection in real time according to the detection indication signal, and the optical module can be used according to the detection indication signal.
  • the optical power detection or OTDR detection is performed on the identifier indicating the type of detection, thereby enhancing the practicability of the detection method.
  • the OLT MAC chip before the optical module receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip, the OLT MAC chip sends the detection indication signal to the optical module in at least one of the following ways: OLT MAC chip every The preset period sends the detection indication signal to the optical module, or the OLT MAC chip sends the detection indication signal to the optical module after receiving the manually triggered instruction.
  • the OLT MAC chip can preset the period for sending the detection indication signal, and different period lengths can be set according to different detection requirements to meet different detection requirements. Meanwhile, the OLT can also be triggered by manual triggering.
  • the MAC chip sends a detection indication signal.
  • the OLT MAC can be manually triggered at any time.
  • the chip transmits the detection indication signal and detects the failure of the optical line in time. Therefore, different manners of transmitting the detection indication signal can be selected for different scenarios, thereby enhancing the flexibility of use of the embodiment.
  • a method is provided for performing a detection operation corresponding to an identifier for indicating a detection type, and specifically, the optical module performs an identifier corresponding to the identifier for indicating the detection type.
  • the method for detecting the operation includes: obtaining an identifier for indicating a detection type from the detection indication signal; if the acquired identifier for indicating the detection type is an OTDR detection identifier, the optical module performs OTDR detection; The identifier of the optical power detection identifier is used by the optical module to perform optical power detection.
  • different detections can be performed based on the identifications of different detection types included in the detection indication signal, thereby enhancing the utility of the present invention.
  • a method for performing OTDR detection by a preferred optical module is provided. Specifically, the method for performing OTDR detection by the optical module includes: the optical module injecting the optical detection signal into the optical port of the trunk optical fiber for OTDR detection.
  • the light detection signal is an optical signal whose wavelength is a non-downward operating wavelength.
  • the optical detection signal is injected into the optical port of the main fiber to realize detection of the optical line, and at the same time, the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength.
  • the non-downward operating wavelength refers to any wavelength except one wavelength.
  • the downlink operating wavelength is an operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm
  • the upstream operating wavelength is The operating wavelength in the range of (1290 - 1330) nm centered at 1310 nm
  • the non-downstream operating wavelength means that the operating wavelength is not in the range of 1490 nm (1480 to 1500) nm, for example, 1310 nm
  • the downstream operating wavelength is the operating wavelength in the range of (1575 1580) nm centered at 1577nm
  • the upstream working wavelength is centered at 1270nm in the (1260 1280;) nm range.
  • the operating wavelength inside, the non-downward operating wavelength means that the operating wavelength is not in the range of 1577 nm (1575 to 1580 nm) nm, for example, 1310 nm, 1490 nm, 1550 nm, etc.; of course, the operating wavelength of the OTDR is selected.
  • the PON system-based detection method further includes: after the optical module performs OTDR detection on the ONU, the optical module acquires an OTDR detection result; and the optical module determines the status of the optical fiber line according to the OTDR detection result, if the determined result is If the alarm is generated, the optical module reports the OTDR detection result to the NMS.
  • the NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result.
  • the OTDR detection result is reported to the network management system, so as to determine the cause of the fault in the optical fiber line and the location of the fault, and provide an easy-to-read
  • the condition of the precise optical fiber line improves the detection accuracy of the present invention.
  • the foregoing PON system-based detection method further includes: after determining, by the network management, the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, where the fault occurs. Perform corresponding PON protection switching on it.
  • the PON protection switching can be performed simply, intuitively, and effectively according to the OTDR detection result.
  • another preferred PON system-based detection method is provided. As shown in FIG. 8, the PON system-based detection method includes:
  • a virtual ONU is configured in the DBA (Dynamic Bandwidth Assignment) module of the OLT PON-MAC chip. For example, the ONU ID is fixed to 0, and the actually used ONU is not assigned a number with an ONU ID of 0. And assigning the virtual ONU a fixed bandwidth that satisfies the OTDR event, hereinafter referred to as Tv, which can be periodically or manually assigned to allocate such a bandwidth, and can trigger an OTDR event in a period of ⁇ time slot or at a specified time; preferably, for the determination of Tv, the size of Tv can be determined as follows:
  • Tv the size of the allocated time slot Tv according to the situation of the entire ODN network, and the time required for the OTDR test optical signal to reach the longest distance ONU in the ODN network should be less than Tv/2; and each ONU in the entire network
  • the distance can be obtained by ranging. After obtaining the distance of all the ONUs under the mouth, the maximum actual distance can be obtained, and the speed of light and the refractive index in the fiber are also known, so that the formula can be used to calculate the farthest.
  • the time required by the ONU is Tl. At this time, it is necessary to ensure that Tv is greater than 2T1.
  • the DBA module determines the period T according to T1 and the bandwidth B bps allocated to the virtual ONU (OTDR per second)
  • the number of monitoring) and Tv can be determined according to the following formula: ⁇ > 2 ⁇ 1
  • Tv a static method can be used to determine that the maximum physical distance and logical distance supported by each ODN network are already, and the maximum physical distance supported by it is regarded as the farthest ONU distance, and Tl is calculated. Then, calculate Tv and ⁇ , where ⁇ must be greater than or equal to 1.
  • the OTDR processing module needs to determine whether to perform optical power measurement or OTDR event according to the previous configuration, that is, the optical module supports optical power measurement and OTDR detection, and if the OTDR detection is performed, Then, the process goes to step S806, if the measurement of the optical power is performed, the process goes to step S812;
  • the OTDR module obtains OTDR test data in the Tv time slot. Specifically, triggering an OTDR event and acquiring optical power adopts a Trigger signal inside the optical module. To trigger, you need to measure the optical power or trigger the OTDR event.
  • the CPU informs the optical module through the I2C whether it is currently measuring optical power or OTDR event, and then sets the MAC chip, and the MAC chip sends the Trigger signal to the optical module. If it is OTDR measurement, The relevant module needs to be notified to prepare the OTDR measurement, and the optical power measurement is not required.
  • the Trigger signal is used to notify the OTDR test wavelength laser to turn on and emit the detection optical signal, and the detection optical signal is injected into the PON optical port, wherein the test optical signal can be a pulse. Or sequence
  • S810 After the measurement is completed, the current measured OTDR event is read by the I2C, and the OTDR test curve data is obtained, and the optical line condition is analyzed according to the OTDR event. If the optical line has the alarm information, the OTDR event is reported to the network management, and at the same time, the network management Comprehensive analysis of various OTDR events and alarm information (for example, ONU signal loss, OLT PON trunk signal loss, etc.), giving user-readable ODN network fault information, ODN network fault information can accurately indicate the ODN network The cause of the fault and the location of the fault, the OTDR detection process ends; S812: If the optical power measurement is performed, only the signal is sent to the optical module control and the OTDR function module notifies it to complete the measurement of the optical power without triggering the OTDR measurement. Wavelength lasers (the specific optical power detection mode is exactly the same as the existing optical power detection mode, and will not be described here);
  • the method for detecting the optical line avoids the use of the external device compared with the prior art, thereby reducing the cost of detecting the optical line; at the same time, reducing the operation difficulty and improving the optical line Convenience of detection; It not only affects the normal service in the existing network while locating the fault, saves the operation and maintenance cost, can locate the optical line fault in real time, and can locate the fault and the fault of the optical line faster, more accurately and intelligently. The location can detect and solve the fault of the optical line in time, and improve the satisfaction of operators and customers.
  • the PON OLT optical module with the OTDR function does not need to be changed.
  • the optical interface optical interface that supports the optical layer OLS parameters (including RSSI measurement) detection function is still used to ensure the OLT system deployed on the live network.
  • the OTDR function can be supported by replacing the optical module and upgrading the software version, and a large number of expensive OLT PON cards and other components of the OLT do not need to be changed, reducing network investment.
  • the 0TDR measurement can not only provide the user with the cause of the failure of the 0DN network and the location of the fault, but also accelerate the maintenance and positioning of the network fault, and the OTDR measurement function can also pass the fiber connectivity.
  • the OTDR function can be used to detect the OLT and the first fraction Whether the backbone fiber between the SPILITER is normal, if the fault is detected, the PON protection switching is triggered, and the OTDR detection is used for the PON protection.
  • the PON protection is simpler and more intuitive than the current LOS (Loss of Signal) detection.
  • the OTDR detection mode needs to be set to the periodic real-time detection mode.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides a detection method and system based on a PON system. The method comprises: configuring an OLT MAC chip with a set detection ONU as a virtual ONU in addition to a normally working ONU, allocating to the virtual ONU a bandwidth other than the bandwidth corresponding to the normally working ONU, and generating a detection indication signal corresponding to the virtual ONU, the detection indication signal comprising an identifier used for indicating a detection type; and sending the detection indication signal to an optical module at an OLT side within a time slot corresponding to the bandwidth allocated to the virtual ONU, so that the optical module at the OLT side executes a detection operation corresponding to the identifier used for indicating the detection type. The present invention solves the problem in the prior art that OTDR detection cannot be performed automatically and in real time and services of a normal ONU are influenced during OTDR detection, thereby guaranteeing that the services of the normal ONU are not influenced and improving real-time performance and automaticity of detection.

Description

基于 PON系统的检测方法和系统 技术领域 本发明涉及无缘光网络(Passive Optical Networks,简称为 PON)领域,具体而言, 涉及一种基于 PON系统的检测方法和系统。 背景技术 随着网络技术的快速发展和网络应用的普及化, 网络通讯和网络购物以及网络娱 乐等已经成为现代人生活中的一部分, 不论国内还是国外都在进行网络的提速, 特别 是接入网的网络速率提升,而目前最热门、最具有前景的技术就是 PON(Passive Optical Networks, 无缘光网络), 同时, 在国内和国际上 PON已经开始在大规模地部署了, 而且已经被绝大多数的运营商所接受。 在大量的 PON设备部署运行之后,需要对这些 PON设备进行日常的运维和管理, 虽然目前对于 PON设备的运维已经积累了一些经验,但是,对于光纤线路的故障定位 目前还缺少有效的手段, 由于光纤大部分都部署在室外, 很容易受到各种条件的影响 而出现一些异常现象, 例如, 光纤严重弯曲, 光纤断裂, 当出现这些异常现象时, 只 有确切地知道弯曲点的位置及弯曲的原因, 断裂点的位置及断裂的原因后才能对光纤 进行修复。 目前, 对于光纤线路的故障的原因和位置的确定主要采用的方法是通过 OTDR (Optical Time Domain Reflectometer, 光时域反射仪) 设备来诊断出光纤线路的故障 的原因和位置, 在利用 OTDR设备检测光纤线路的故障时, 可以通过合波器将 OTDR 设备的检测光信号合入到主干光纤中以实现对光纤线路进行检测; 或者将主干光纤连 接到 OTDR设备上, 来对光纤线路进行检测。 然而, 上述使用 OTDR设备对光纤线路的故障进行检测的方法存在有如下缺点:  TECHNICAL FIELD The present invention relates to the field of Passive Optical Networks (PON), and in particular to a detection method and system based on a PON system. BACKGROUND With the rapid development of network technologies and the popularization of network applications, network communication, online shopping, and online entertainment have become part of the modern life, and the speed of the network is being promoted, especially in the domestic or foreign countries, especially the access network. The network speed is increasing, and the most popular and promising technology at present is PON (Passive Optical Networks). At the same time, PON has begun to be deployed on a large scale at home and abroad, and has been widely used. Accepted by the operator. After a large number of PON devices are deployed and operated, it is necessary to perform daily operation and maintenance and management of these PON devices. Although some experience has been accumulated for the operation and maintenance of PON devices, there is still no effective means for fault location of optical fiber lines. Because most of the fiber is deployed outdoors, it is easy to be affected by various conditions and some abnormal phenomena occur. For example, the fiber is severely bent and the fiber is broken. When these anomalies occur, only the position and bending of the bending point are known. The cause of the break, the location of the break, and the cause of the break can be repaired. At present, the main reason for determining the cause and location of the fault of the optical fiber line is to diagnose the cause and location of the fault of the optical fiber line through an OTDR (Optical Time Domain Reflectometer) device, and use the OTDR device to detect In the case of a fault in the optical fiber line, the optical signal can be detected by combining the detected optical signal of the OTDR device into the trunk optical fiber through the combiner; or connecting the backbone optical fiber to the OTDR device to detect the optical fiber line. However, the above method of detecting an optical fiber line failure using an OTDR device has the following disadvantages:
1 ) OTDR设备比较昂贵, 操作起来也不太方便, 提高了上述对光纤线路的故障进 行检测的方法的成本, 增加了操作难度; 2) 在 PON口下有多个 ONU (Optical Network Unit, 光网络单元), 可能只有多 个 ONU中的少数 ONU的分支光纤出现故障,然而, 当使用 OTDR设备对光纤线路的 故障进行检测时, 需要将所有 ONU的业务都停止, 将 OTDR设备接入 PON中, 或将 OTDR设备的检测光信号合入到主干光纤中后, 再继续所有 ONU的业务, 对光纤线 路的故障进行检测, 这样, 在停止所有 ONU 的业务时就会影响到 PON 口下正常的 ONU进行业务; 1) OTDR equipment is relatively expensive, and it is not convenient to operate. The cost of the above method for detecting the fault of the optical fiber line is increased, and the operation difficulty is increased. 2) There are multiple ONUs (Optical Network Units, light) under the PON port. Network element), only the branch fiber of a few ONUs in multiple ONUs may be faulty. However, when the OTDR device is used to detect the fault of the optical fiber line, all ONU services need to be stopped, and the OTDR device is connected to the PON. , or will After the detection optical signal of the OTDR device is integrated into the trunk optical fiber, the services of all the ONUs are continued, and the fault of the optical fiber line is detected. Therefore, when the services of all the ONUs are stopped, the normal ONUs under the PON interface are affected. ;
3 ) 上述使用 OTDR设备对光纤线路的故障进行检测的方法需要在知道光线路出 现故障时, 才对光纤线路的故障进行检测, 而导致不能实时地、 自动地对光线路进行 检测。 发明内容 本发明提供了一种基于 PON系统的检测方法和系统,以至少解决相关技术中不能 自动地、 实时地进行 OTDR检测且在进行 OTDR检测时影响 PON口下正常的 ONU 进行业务的问题。 根据本发明的一个方面, 提供了一种基于 PON系统的检测方法, 其包括: 光线路 终端媒体访问控制 OLT MAC芯片在正常工作的光网络单元 ONU之外配置一个设置为 检测的 ONU作为虚拟 ONU,为虚拟 ONU分配除与正常工作的 ONU对应的带宽之外 的带宽, 并生成与虚拟 ONU对应的检测指示信号, 其中, 检测指示信号包括用于指 示检测类型的标识; 在为虚拟 ONU分配的带宽所对应的时隙内将检测指示信号发送 给 OLT侧的光模块, 以使 OLT侧的光模块执行与用于指示检测类型的标识相对应的 检测操作。 优选地, 在为虚拟 ONU分配的带宽所对应的时隙内将检测指示信号发送给 OLT 侧的光模块之后, 上述基于 PON系统的检测方法还包括: OLT侧的光模块接收 OLT MAC芯片发送的检测指示信号,其中,检测指示信号中用于指示检测类型的标识包括 光功率检测标识或光时域反射仪 OTDR检测标识; 光模块执行与用于指示检测类型的 标识相对应的检测操作。 优选地, 光模块执行与用于指示检测类型的标识相对应的检测操作的步骤包括: 从检测指示信号中获取用于指示检测类型的标识; 若获取的用于指示检测类型的标识 为 OTDR检测标识, 则光模块执行 OTDR检测; 若获取的用于指示检测类型的标识为 光功率检测标识, 则光模块执行光功率检测。 优选地, 光模块执行 OTDR检测的步骤包括: 光模块将光检测信号注入到主干光 纤的光口中进行 OTDR检测, 其中, 光检测信号是波长为非下行工作波长的光信号。 优选地, 光模块对 ONU进行 OTDR检测之后, 上述基于 PON系统的检测方法还 包括:光模块获取 OTDR检测结果;光模块根据 OTDR检测结果确定光纤线路的状况, 若确定的结果中有告警信息,则光模块将 OTDR检测结果上报给网管,网管根据 OTDR 检测结果确定光纤线路中出现故障的原因和出现故障的位置。 优选地, 在网管根据 OTDR检测结果确定光纤线路中发生故障的原因和发生故障 的位置之后, 上述基于 PON系统的检测方法还包括: 在出现故障的位置上进行对应的 PON保护倒换。 优选地, 光模块接收光线路终端媒体访问控制 OLT MAC芯片发送的检测指示信 号之前, 上述基于 PON系统的检测方法还包括: OLT MAC芯片通过至少以下方式之 一将检测指示信号发送给光模块: OLT MAC 芯片每隔预设周期将检测指示信号发送 给光模块, 或者, OLT MAC 芯片在接收到手动触发的指令之后将检测指示信号发送 给光模块。 根据本发明的另一方面, 提供了一种基于 PON系统的检测系统, 其包括: 光线路 终端媒体访问控制 OLT MAC芯片, 其中, OLT MAC芯片包括: 配置单元, 设置为在 正常工作的光网络单元 ONU之外配置一个设置为检测的 ONU作为虚拟 ONU, 为虚 拟 ONU分配除与正常工作的 ONU对应的带宽之外的带宽, 并生成与虚拟 ONU对应 的检测指示信号, 其中, 检测指示信号包括用于指示检测类型的标识; 发送单元, 设 置为在为虚拟 ONU分配的带宽所对应的时隙内将检测指示信号发送给 OLT侧的光模 块, 以使 OLT侧的光模块执行与用于指示检测类型的标识相对应的检测操作。 优选地, 上述基于 PON系统的检测系统还包括: OLT侧的光模块, 其中, 光模 块包括: 接收单元, 设置为接收 OLT MAC芯片发送的检测指示信号, 其中, 检测指 示信号中用于指示检测类型的标识包括光功率检测标识或光时域反射仪 OTDR检测标 识; 执行单元, 设置为执行与用于指示检测类型的标识相对应的检测操作。 优选地, 执行单元包括: 获取模块, 设置为从检测指示信号中获取用于指示检测 类型的标识; 第一执行模块, 设置为在获取的用于指示检测类型的标识为 OTDR检测 标识时, 执行 OTDR检测; 第二执行模块, 设置为在获取的用于指示检测类型的标识 为光功率检测标识时, 执行光功率检测。 优选地, 第一执行模块包括: 注入子模块, 设置为将光检测信号注入到主干光纤 的光口中进行 OTDR检测, 其中, 光检测信号是波长为非下行工作波长的光信号。 优选地, 上述基于 PON系统的检测系统还包括: 获取单元, 设置为获取 OTDR 检测结果; 上报单元, 设置为根据 OTDR检测结果确定光纤线路的状况, 若确定的结 果中有告警信息, 则光模块将 OTDR检测结果上报给网管, 使得网管根据 OTDR检测 结果确定光纤线路中出现故障的原因和出现故障的位置。 优选地, 上述基于 PON系统的检测系统还包括: 倒换单元, 设置为在网管根据3) The above method for detecting the failure of the optical fiber line using the OTDR device needs to detect the failure of the optical fiber line when the optical line is known to be faulty, and the optical line cannot be detected in real time and automatically. SUMMARY OF THE INVENTION The present invention provides a detection method and system based on a PON system, so as to at least solve the problem that the OTDR detection cannot be performed automatically and in real time in the related art, and the normal ONU under the PON port performs services during OTDR detection. According to an aspect of the present invention, a detection method based on a PON system is provided, including: an optical line terminal medium access control OLT MAC chip is configured with an ONU set to be detected as a virtual ONU outside a normally working optical network unit ONU The virtual ONU is allocated a bandwidth other than the bandwidth corresponding to the normally working ONU, and generates a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating the detection type; The detection indicator is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth, so that the optical module on the OLT side performs a detection operation corresponding to the identifier for indicating the detection type. Preferably, after the detection indication signal is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, the PON system-based detection method further includes: the optical module on the OLT side receives the OLT MAC chip sending The detection indication signal, wherein the identifier for indicating the detection type in the detection indication signal comprises an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and the optical module performs a detection operation corresponding to the identifier for indicating the detection type. Preferably, the step of the optical module performing the detecting operation corresponding to the identifier for indicating the type of the detecting comprises: obtaining an identifier for indicating the type of the detection from the detection indication signal; and if the acquired identifier for indicating the type of detection is OTDR detection The optical module performs OTDR detection. If the obtained identifier for indicating the detection type is an optical power detection identifier, the optical module performs optical power detection. Preferably, the step of performing the OTDR detection by the optical module includes: the optical module injecting the optical detection signal into the optical port of the trunk optical fiber for performing OTDR detection, wherein the optical detection signal is an optical signal having a wavelength of a non-downward operating wavelength. Preferably, after the optical module performs OTDR detection on the ONU, the foregoing PON system-based detection method further includes: the optical module acquires an OTDR detection result; and the optical module determines the status of the optical fiber line according to the OTDR detection result, and if the determined result has an alarm information, The optical module reports the OTDR detection result to the NMS. The NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result. Preferably, after the network management determines the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, the foregoing PON system-based detection method further includes: performing corresponding PON protection switching on the faulty location. Preferably, before the optical module receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip, the PON system-based detection method further includes: the OLT MAC chip transmitting the detection indication signal to the optical module by using at least one of the following manners: The OLT MAC chip sends the detection indication signal to the optical module every preset period, or the OLT MAC chip sends the detection indication signal to the optical module after receiving the manually triggered instruction. According to another aspect of the present invention, a detection system based on a PON system is provided, including: an optical line terminal medium access control OLT MAC chip, wherein the OLT MAC chip includes: a configuration unit, configured to operate in an optical network An ONU is configured as a virtual ONU, and a virtual ONU is allocated a bandwidth other than the bandwidth corresponding to the normally working ONU, and generates a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes The sending unit is configured to send the detection indication signal to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module on the OLT side performs the indication and is used for the indication. The detection type corresponds to the detection operation. Preferably, the PON system-based detection system further includes: an optical module on the OLT side, wherein the optical module includes: a receiving unit, configured to receive a detection indication signal sent by the OLT MAC chip, where the detection indication signal is used for indicating detection The type of identifier includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and an execution unit configured to perform a detection operation corresponding to the identifier for indicating the detection type. Preferably, the execution unit includes: an obtaining module, configured to acquire an identifier for indicating a detection type from the detection indication signal; and the first execution module is configured to execute when the acquired identifier for indicating the detection type is an OTDR detection identifier OTDR detection; The second execution module is configured to perform optical power detection when the acquired identifier for indicating the detection type is an optical power detection identifier. Preferably, the first execution module includes: an injection sub-module configured to inject an optical detection signal into the optical port of the main fiber for OTDR detection, wherein the optical detection signal is an optical signal having a wavelength of a non-downward operating wavelength. Preferably, the PON system-based detection system further includes: an obtaining unit configured to acquire an OTDR detection result; and a reporting unit configured to determine a status of the optical fiber line according to the OTDR detection result, and if the determined result has an alarm information, the optical module The OTDR detection result is reported to the NMS, so that the NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result. Preferably, the foregoing PON system-based detection system further includes: a switching unit, configured to be based on the network management
OTDR检测结果确定光纤线路中发生故障的原因和发生故障的位置之后, 在出现故障 的位置上进行对应的 PON保护倒换。 在本发明中, OLT MAC芯片在正常工作的光网络单元 ONU之外配置一个设置为 检测的光网络单元 ONU作为虚拟 ONU, 并为虚拟 ONU分配与正常工作的光网络单 元 ONU对应的带宽不同的带宽, 在为虚拟 ONU分配的带宽对应的时隙内将与虚拟 ONU对应的检测指示信号发送给 OLT侧的光模块, 以使得光模块进行与检测指示信 号中用于指示检测类型的标识相对应的检测操作, 实现光模块可以根据接收的检测指 示信号实时地、 自动地对光线路进行检测操作; 同时, 在正常工作的光网络单元 ONU 之外配置虚拟 ONU, 为虚拟 ONU分配的带宽与正常工作的光网络单元 ONU对应的 带宽不同, 在虚拟 ONU的时隙内发送检测指示信号, 使得光模块是基于虚拟 ONU的 带宽进行检测的, 在进行检测时, 可以保证对正常工作的光网络单元 ONU 的业务不 产生影响, 从而提高系统的性能, 有助于改善用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的基于 PON系统的检测系统的一种优选的结构图; 图 2是根据本发明实施例的执行单元的一种优选的结构图; 图 3是根据本发明实施例的第一执行模块的一种优选的结构图; 图 4是根据本发明实施例的基于 PON系统的检测系统的另一种优选的结构图; 图 5是根据本发明实施例的基于 PON系统的检测系统的又一种优选的结构图; 图 6是根据本发明实施例的光模块的一种优选的结构图; 图 7是根据本发明实施例的基于 PON系统的检测方法的一种优选的流程图; 图 8是根据本发明实施例的基于 PON系统的检测方法的另一种优选的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在以下各个实施例中, 通信可以由无线连接或有线连接或其两者的组合来实现, 本发明对此不做限定。 实施例 1 图 1是根据本发明实施例的基于 PON系统的检测系统的一种优选的结构图,如图 1所示, 该基于 PON系统的检测系统包括 OLT MAC芯片 102, 其中, OLT MAC芯片 102包括: 配置单元 1021, 设置为在正常工作的光网络单元 ONU之外配置一个设置 为检测的 ONU作为虚拟 ONU,为虚拟 ONU分配除与正常工作的 ONU对应的带宽之 外的带宽, 并生成与虚拟 ONU对应的检测指示信号, 其中, 检测指示信号包括用于 指示检测类型的标识; 发送单元 1022, 与配置单元 1021通信, 设置为在为虚拟 ONU 分配的带宽所对应的时隙内将检测指示信号发送给 OLT侧的光模块, 以使 OLT侧的 光模块执行与用于指示检测类型的标识相对应的检测操作。 优选的, 根据本发明优选实施例的基于 PON 系统的检测系统还可以包括: OLT 侧的光模块 104, 其中, 光模块 104包括: 接收单元 1041, 设置为接收 OLT MAC芯 片 102发送的检测指示信号, 其中, 检测指示信号中用于指示检测类型的标识包括光 功率检测标识或光时域反射仪 OTDR检测标识; 执行单元 1042, 与接收单元 1041通 信, 设置为执行与用于指示检测类型的标识相对应的检测操作。 在本优选实施例中, OLT MAC芯片 102在正常工作的光网络单元 ONU之外配置 一个设置为检测的光网络单元 ONU作为虚拟 ONU, 并为虚拟 ONU分配与正常工作 的光网络单元 ONU对应的带宽不同的带宽,在为虚拟 ONU分配的带宽对应的时隙内 将与虚拟 ONU对应的检测指示信号发送给 OLT侧的光模块 104, 以使得光模块 104 进行与检测指示信号中用于指示检测类型的标识相对应的检测操作, 实现光模块 104 可以根据接收的检测指示信号实时地、 自动地对光线路进行检测操作; 同时, 在正常 工作的光网络单元 ONU之外配置虚拟 ONU, 为虚拟 ONU分配的带宽与正常工作的 光网络单元 ONU对应的带宽不同, 在虚拟 ONU的时隙内发送检测指示信号, 使得光 模块 104是基于虚拟 ONU的带宽进行检测的, 在进行检测时, 可以保证对正常工作 的光网络单元 ONU的业务不产生影响, 从而提高系统的性能, 有助于改善用户体验。 在本优选实施例的中, 发送单元 1022还设置为,在光模块 104接收光线路终端媒 体访问控制 OLT MAC芯片 102发送的检测指示信号之前, 通过至少以下方式之一将 检测指示信号发送给光模块 104: OLT MAC芯片 102每隔预设周期将检测指示信号发 送给光模块 104, 或者, OLT MAC芯片 102在接收到手动触发的指令之后将检测指示 信号发送给光模块 104。在本实施例中, OLT MAC芯片 102可以预设发送检测指示信 号的周期, 根据不同的检测需求可以设置不同的周期时长, 以满足不同的检测要求; 同时, 也可以通过手动触发的方式来触发 OLT MAC芯片 102发送检测指示信号, 例 如, 在得知光线路出现故障时, 可以随时手动触发 OLT MAC芯片 102发送检测指示 信号, 以及时检测光线路的故障, 因此, 可以针对不同场景, 选择不同的发送检测指 示信号的方式, 从而增强了本实施例的使用灵活性。 在本优选实施例中, 提供了一种优选的执行单元 1042, 如图 2所示, 该执行单元 1042包括: 获取模块 202, 设置为从检测指示信号中获取用于指示检测类型的标识; 第一执行模块 204, 与获取模块 202通信, 设置为在获取的用于指示检测类型的标识 为 OTDR检测标识时, 执行 OTDR检测; 第二执行模块 206, 与获取模块 202通信, 设置为在获取的用于指示检测类型的标识为光功率检测标识时, 执行光功率检测。 在 本实施例中,可以根据检测指示信号中包括的不同的检测类型的标识执行不同的检测, 从而增强了本发明的实用性。 在本优选实施例中, 提供了一种优选的第一执行模块 204, 如图 3所示, 该第一 执行模块 204包括: 注入子模块 302, 设置为将光检测信号注入到主干光纤的光口中 进行 OTDR检测, 其中, 光检测信号是波长为非下行工作波长的光信号。 在本实施例 中, 将光检测信号注入到主干光纤的光口中, 以实现对光线路的检测, 同时, 光检测 信号是波长为非下行工作波长的光信号。 优选地, 非下行工作波长指除了一个波长以 外的任何波长, 例如, 在 GPON系统中, 下行工作波长是以 1490nm为中心的在 (1480 - 1500) nm范围内的工作波长, 上行工作波长是以 1310 nm为中心的在 (1290 - 1330) nm范围内的工作波长, 非下行工作波长指的是只要不在以 1490nm为中心的 (1480 〜 1500) nm范围内的工作波长均可以, 例如, 1310nm, 1550nm, 1575nm等工作波长; 在 XGPON系统中, 下行工作波长是以 1577nm为中心的在 (1575 1580) nm范围内的 工作波长, 上行工作波长是以 1270nm为中心的在 (1260 1280;) nm范围内的工作波长, 非下行工作波长指只要不在以 1577nm为中心的 (1575 〜 1580nm) nm范围内的工作 波长均可以, 例如, 1310nm, 1490nm, 1550nm等工作波长; 当然, 选择 OTDR的工 作波长还需要满足 OTDR的特性的工作波长。 在本优选实施例中, 如图 4所示, 上述基于 PON系统的检测系统包括: 获取单元 1043, 设置为获取 OTDR检测结果; 上报单元 1044, 与获取单元 1043通信, 设置为 根据 OTDR检测结果确定光纤线路的状况, 若确定的结果中有告警信息, 将 OTDR检 测结果上报给网管, 使得网管根据 OTDR检测结果确定光纤线路中出现故障的原因和 出现故障的位置。 在本实施例中, 在确定出 OTDR检测结果有告警信息时, 将 OTDR 检测结果上报给网管, 以便确定光纤线路中出现故障的原因和出现故障的位置, 给出 易读、 精确的光纤线路的状况, 从而提高了本发明的检测准确性。 在本优选实施例中, 如图 5所示, 上述基于 PON系统的检测系统包括: 倒换单元After the OTDR detection result determines the cause of the failure in the fiber line and the location of the failure, the corresponding PON protection switching is performed at the location where the failure occurs. In the present invention, the OLT MAC chip configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a bandwidth corresponding to the normally operating optical network unit ONU for the virtual ONU. The bandwidth indicates that the detection indication signal corresponding to the virtual ONU is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module performs the identifier corresponding to the detection indication signal for indicating the detection type. The detection operation enables the optical module to perform the detection operation on the optical line in real time according to the received detection indication signal. At the same time, the virtual ONU is configured outside the normal working optical network unit ONU, and the bandwidth allocated to the virtual ONU is normal. The working optical network unit ONU has different bandwidths, and sends a detection indication signal in the time slot of the virtual ONU, so that the optical module is detected based on the bandwidth of the virtual ONU, and the optical network unit can be guaranteed to operate normally when detecting. ONU's business has no impact, which improves system performance and helps improve user body . BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a preferred structural diagram of a detection system based on a PON system according to an embodiment of the present invention; FIG. 2 is a preferred structural diagram of an execution unit according to an embodiment of the present invention; A preferred structural diagram of a first execution module according to an embodiment of the present invention; FIG. 4 is another preferred structural diagram of a detection system based on a PON system according to an embodiment of the present invention; FIG. 5 is an embodiment of the present invention. Still another preferred structural diagram of a PON system based detection system; FIG. 6 is a preferred structural diagram of an optical module in accordance with an embodiment of the present invention; FIG. 7 is a preferred flowchart of a PON system-based detection method according to an embodiment of the present invention; FIG. 8 is another preferred flowchart of a PON system-based detection method according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In the following embodiments, the communication may be implemented by a wireless connection or a wired connection or a combination of both, which is not limited by the present invention. Embodiment 1 FIG. 1 is a schematic structural diagram of a detection system based on a PON system according to an embodiment of the present invention. As shown in FIG. 1, the detection system based on a PON system includes an OLT MAC chip 102, wherein an OLT MAC chip The configuration unit 1021 is configured to configure an ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocate a bandwidth other than the bandwidth corresponding to the normally working ONU for the virtual ONU, and generate a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating a detection type; the sending unit 1022 is in communication with the configuration unit 1021, and is configured to detect in a time slot corresponding to the bandwidth allocated for the virtual ONU. The indication signal is sent to the optical module on the OLT side, so that the optical module on the OLT side performs a detection operation corresponding to the identifier for indicating the detection type. Preferably, the PON system-based detection system according to the preferred embodiment of the present invention may further include: an optical module 104 on the OLT side, where the optical module 104 includes: a receiving unit 1041 configured to receive a detection indication signal sent by the OLT MAC chip 102. The identifier for indicating the type of detection in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier. The execution unit 1042 is in communication with the receiving unit 1041, and is configured to perform an identifier for indicating the type of detection. Corresponding detection operations. In the preferred embodiment, the OLT MAC chip 102 configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a virtual ONU corresponding to the optical network unit ONU that works normally. The bandwidth of the bandwidth is different, and the detection indication signal corresponding to the virtual ONU is sent to the optical module 104 on the OLT side in the time slot corresponding to the bandwidth allocated by the virtual ONU, so that the optical module 104 performs the detection indication signal and the detection indication signal. The detection operation corresponding to the type of the identifier enables the optical module 104 to perform the detection operation on the optical line in real time according to the received detection indication signal. At the same time, the virtual ONU is configured outside the normally operated optical network unit ONU. The bandwidth allocated by the ONU is different from the bandwidth corresponding to the ONU of the optical network unit that is working normally, and the detection indication signal is sent in the time slot of the virtual ONU, so that the light is made. The module 104 is configured to detect the bandwidth of the virtual ONU. When the detection is performed, the function of the ONU of the optical network unit that works normally is not affected, thereby improving the performance of the system and improving the user experience. In the preferred embodiment, the sending unit 1022 is further configured to send the detection indication signal to the light in at least one of the following manners before the optical module 104 receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip 102. Module 104: The OLT MAC chip 102 sends a detection indication signal to the optical module 104 every preset period, or the OLT MAC chip 102 sends a detection indication signal to the optical module 104 after receiving the manually triggered instruction. In this embodiment, the OLT MAC chip 102 can preset a period for transmitting the detection indication signal, and different period lengths can be set according to different detection requirements to meet different detection requirements. Meanwhile, it can also be triggered by a manual trigger method. The OLT MAC chip 102 sends a detection indication signal. For example, when the optical line is faulty, the OLT MAC chip 102 can be manually triggered to send a detection indication signal at any time to detect the failure of the optical line. Therefore, different scenarios can be selected. The manner of transmitting the detection indication signal enhances the flexibility of use of the embodiment. In the preferred embodiment, a preferred execution unit 1042 is provided. As shown in FIG. 2, the execution unit 1042 includes: an obtaining module 202, configured to acquire an identifier for indicating a detection type from the detection indication signal; An execution module 204, in communication with the obtaining module 202, is configured to perform OTDR detection when the acquired identifier for indicating the detection type is an OTDR detection identifier; the second execution module 206 is in communication with the acquisition module 202, and is set to be acquired. When the identifier indicating the type of detection is the optical power detection identifier, optical power detection is performed. In the present embodiment, different detections can be performed based on the identifications of different detection types included in the detection indication signal, thereby enhancing the utility of the present invention. In the preferred embodiment, a preferred first execution module 204 is provided. As shown in FIG. 3, the first execution module 204 includes: an injection sub-module 302 configured to inject light detection signals into the light of the backbone fiber. The OTDR detection is performed in the port, wherein the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength. In this embodiment, the optical detection signal is injected into the optical port of the main fiber to realize detection of the optical line, and at the same time, the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength. Preferably, the non-downward operating wavelength refers to any wavelength except one wavelength. For example, in a GPON system, the downlink operating wavelength is an operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm, and the upstream operating wavelength is The operating wavelength in the range of (1290 - 1330) nm centered at 1310 nm, the non-downstream operating wavelength means that the operating wavelength is not in the range of 1490 nm (1480 to 1500) nm, for example, 1310 nm, Operating wavelengths of 1550nm, 1575nm; In XGPON systems, the downstream operating wavelength is the operating wavelength in the range of (1575 1580) nm centered at 1577nm, and the upstream working wavelength is centered at 1270nm in the (1260 1280;) nm range. Operating wavelength inside, non-downward operating wavelength means working as long as it is not in the range of 1577 nm (1575 to 1580 nm) nm The wavelengths can be, for example, working wavelengths such as 1310 nm, 1490 nm, and 1550 nm; of course, the operating wavelength of the OTDR is required to meet the operating wavelength of the OTDR. In the preferred embodiment, as shown in FIG. 4, the PON system-based detection system includes: an obtaining unit 1043 configured to acquire an OTDR detection result; a reporting unit 1044, in communication with the obtaining unit 1043, configured to determine according to the OTDR detection result. The status of the optical fiber line, if there is an alarm information in the determined result, the OTDR detection result is reported to the network management system, so that the network management determines the cause of the failure and the location of the failure in the optical fiber line according to the OTDR detection result. In this embodiment, when it is determined that the OTDR detection result has the alarm information, the OTDR detection result is reported to the network management system, so as to determine the cause of the fault in the optical fiber line and the location of the fault, and provide an easy-to-read, accurate optical fiber line. The condition thus improves the detection accuracy of the present invention. In the preferred embodiment, as shown in FIG. 5, the above PON system-based detection system includes: a switching unit
1045, 设置为在网管根据 OTDR检测结果确定光纤线路中发生故障的原因和发生故障 的位置之后, 在出现故障的位置上进行对应的 PON保护倒换。 在本实施例中, 根据 OTDR检测结果确定光纤线路中发生故障的原因和发生故障的位置后, 在出现故障的 位置上进行对应的 PON保护倒换,避免根据信号丢失现象进行相应的 PON保护倒换, 从而可以根据 OTDR检测结果简单、 直观、 有效地进行 PON保护倒换。 在本优选实施例中, 提供了一种优选的光模块 104, 如图 6所示, 该光模块 104 包括: 1045. After the network management determines the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, perform corresponding PON protection switching at the fault location. In this embodiment, after determining the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, performing corresponding PON protection switching at the location where the fault occurs, to avoid corresponding PON protection switching according to the signal loss phenomenon, Therefore, the PON protection switching can be performed simply, intuitively, and effectively according to the OTDR detection result. In the preferred embodiment, a preferred optical module 104 is provided. As shown in FIG. 6, the optical module 104 includes:
1、 光模块 104内除了正常业务收发功能模块还包括 OTDR处理模块, 该 OTDR 处理模块(相当于执行单元 1022)可以完成 OTDR检测功能;光模块 104和 PON MAC (Media Access Control, 媒体访问控制) 芯片 104之间的接口还包括: 1. The optical module 104 includes an OTDR processing module in addition to the normal service transceiver function module, and the OTDR processing module (equivalent to the execution unit 1022) can complete the OTDR detection function; the optical module 104 and the PON MAC (Media Access Control) The interface between the chips 104 also includes:
1 ) I2C (Inter-Integrated Circuit) (相当于获取单元 106) 接口, 设置为 ONU光 功率, OTDR事件 (相当于 OTDR检测结果) 及 OLT PON光模块 104特性的采集接 Π ; 1) I2C (Inter-Integrated Circuit) (equivalent to acquisition unit 106) interface, set to ONU optical power, OTDR event (equivalent to OTDR detection result) and OLT PON optical module 104 characteristics acquisition interface;
2) Trigger信号(相当于检测指示信号), 设置为触发光模块 104去获取 ONU光 功率或启动 OTDR测量, Trigger信号由 PON MAC芯片在 DBA模块控制下输出,2) The Trigger signal (equivalent to the detection indication signal) is set to trigger the optical module 104 to obtain the ONU optical power or initiate the OTDR measurement, and the Trigger signal is output by the PON MAC chip under the control of the DBA module.
Trigger信号沿用当前 RSSI (Received Signal Strength Indication,接收的信号强度指示) 测量的 Trigger信号定义, 通过 I2C配置 Trigger信号的具体检测功能; The Trigger signal is defined by the Trigger signal measured by the current RSSI (Received Signal Strength Indication), and the specific detection function of the Trigger signal is configured by the I2C;
3 ) PON上行工作波长 (例如, 1310nm) 和下行波长 (例如, 1490nm) 数据通 路差分接口; 2、 使用上行波长 (例如, GPON为 1310nm, 10G GPON为 1277nm等) 或者其 他非下行波长作为测试光信号; 优选地, 非下行工作波长指除了一个波长以外的任何 波长,例如,在 GPON系统中,下行工作波长是以 1490nm为中心的在 (1480 - 1500) nm 范围内的工作波长,上行工作波长是以 1310 nm为中心的在 (1290 〜 1330) nm范围内的 工作波长, 非下行工作波长指的是只要不在以 1490nm为中心的 (1480 〜 1500) nm范围 内的工作波长均可以, 例如, 1310nm, 1550nm, 1575nm等工作波长; 在 XGPON系 统中, 下行工作波长是以 1577nm为中心的在 (1575 1580) nm范围内的工作波长, 上 行工作波长是以 1270nm为中心的在 (1260 1280) nm范围内的工作波长, 非下行工作 波长指只要不在以 1577nm为中心的 ( 1575 ~ 1580nm) nm范围内的工作波长均可以, 例如, 1310nm, 1490nm, 1550nm等工作波长; 当然, 选择 OTDR的工作波长还需要 满足 OTDR的特性的工作波长。 3) PON upstream operating wavelength (eg, 1310 nm) and downstream wavelength (eg, 1490 nm) data path differential interface; 2. Use the upstream wavelength (for example, GPON is 1310 nm, 10G GPON is 1277 nm, etc.) or other non-downstream wavelengths as the test optical signal; preferably, the non-downward working wavelength refers to any wavelength other than one wavelength, for example, in a GPON system. The downstream operating wavelength is the operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm, and the upstream working wavelength is the operating wavelength in the range of (1290 ~ 1330) nm centered at 1310 nm, non-downward operating wavelength. It means that as long as the working wavelength is not in the range of 1490nm (1480 ~ 1500) nm, for example, 1310nm, 1550nm, 1575nm and other working wavelengths; in XGPON system, the downstream working wavelength is centered at 1577nm. (1575 1580) Operating wavelength in the nm range, the upstream operating wavelength is the operating wavelength in the range of (1260 1280) nm centered at 1270 nm, and the non-downward operating wavelength is as long as it is not centered at 1577 nm (1575 ~ 1580 nm) nm The working wavelengths in the range can be, for example, working wavelengths such as 1310nm, 1490nm, and 1550nm; of course, the operating wavelength of the OTDR needs to be full. The working wavelength of the characteristics of the foot OTDR.
3、 OTDR模块接收光器件同正常 PON的上行信号共用一个接收器, 以降低成本; 3. The receiving device of the OTDR module shares a receiver with the uplink signal of the normal PON to reduce the cost;
4、 OTDR测试受控于 Trigger信号, 测试结果通过 I2C接口反馈给系统; 其中, λΤ为 OTDR测试光信号的波长, λυ为数据上行工作波长, λϋ为数据下行 工作波长; λΤ可以等于 λυ, 也可以不等于 λυ, 优选的, λΤ等于 λυ, 但是, λΤ必须 不等于 λϋ。 在上述优选实施例中,通过 OLT MAC芯片 102向光模块 104发送检测指示信号, 光模块 104 接收到检测指示信号后执行与用于指示检测类型的标识相对应的检测操 作, 实现使用光模块 104对光线路进行检测操作, 避免使用外置设备对光线路进行检 测操作, 从而避免了在使用外置设备对光线路进行检测时影响 ΡΟΝ口下正常的 ONU 进行业务; 同时, OLT MAC芯片 102可以每隔预设周期发送检测指示信号, 避免在 发现光线路出现故障时再对光线路进行故障检测, 从而可以实时地、 自动地对光线路 进行检测,解决了相关技术中使用 OTDR设备对光纤线路进行检测而导致的影响 PON 口下正常的 ONU进行业务以及不能实时地、 自动地对光线路进行检测得问题, 从而 在对光线路进行检测时可以保证不影响 PON口下正常的 ONU进行业务, 同时, 提高 了检测的实时性, 自动性。 实施例 2 在图 1-6的基础上, 本优选实施例提供了一种优选的基于 PON系统的检测方法, 如图 7所示, 该基于 PON系统的检测方法包括: S702: 光线路终端媒体访问控制 OLT MAC芯片在正常工作的光网络单元 ONU 之外配置一个设置为检测的 ONU作为虚拟 ONU, 为虚拟 ONU分配除与正常工作的 ONU对应的带宽之外的带宽, 并生成与虚拟 ONU对应的检测指示信号, 其中, 检测 指示信号包括用于指示检测类型的标识; S704: 在为虚拟 ONU分配的带宽所对应的时隙内将检测指示信号发送给 OLT侧 的光模块, 以使 OLT侧的光模块执行与用于指示检测类型的标识相对应的检测操作。 在上述优选实施例中, OLT MAC芯片在正常工作的光网络单元 ONU之外配置一 个设置为检测的光网络单元 ONU作为虚拟 ONU, 并为虚拟 ONU分配与正常工作的 光网络单元 ONU对应的带宽不同的带宽,在为虚拟 ONU分配的带宽对应的时隙内将 与虚拟 ONU对应的检测指示信号发送给 OLT侧的光模块, 以使得光模块进行与检测 指示信号中用于指示检测类型的标识相对应的检测操作, 实现光模块可以根据接收的 检测指示信号实时地、 自动地对光线路进行检测操作; 同时, 在正常工作的光网络单 元 ONU之外配置虚拟 ONU, 为虚拟 ONU分配的带宽与正常工作的光网络单元 ONU 对应的带宽不同, 在虚拟 ONU 的时隙内发送检测指示信号, 使得光模块是基于虚拟 ONU的带宽进行检测的, 在进行检测时, 可以实现对正常工作的光网络单元 ONU的 业务不产生影响, 从而提高系统的性能, 有助于改善用户体验。 在本优选实施例中, 在为虚拟 ONU分配的带宽所对应的时隙内将检测指示信号 发送给 OLT侧的光模块之后, 上述基于 PON系统的检测方法还包括: OLT侧的光模 块接收 OLT MAC芯片发送的检测指示信号, 其中, 检测指示信号中用于指示检测类 型的标识包括光功率检测标识或光时域反射仪 OTDR检测标识; 光模块执行与用于指 示检测类型的标识相对应的检测操作。 在本实施例中, 光模块接收到 MAC芯片发送 的检测指示信号后, 进行检测操作, 可以实现光模块根据检测指示信号实时地、 自动 地进行检测, 同时, 光模块可以根据检测指示信号中用于指示检测类型的标识进行光 功率检测或 OTDR检测, 从而增强了本检测方法的实用性。 在本优选实施例中, 在光模块接收光线路终端媒体访问控制 OLT MAC芯片发送 的检测指示信号之前, OLT MAC 芯片通过至少以下方式之一将检测指示信号发送给 光模块: OLT MAC芯片每隔预设周期将检测指示信号发送给光模块,或者, OLT MAC 芯片在接收到手动触发的指令之后将检测指示信号发送给光模块。在本实施例中, OLT MAC芯片可以预设发送检测指示信号的周期,根据不同的检测需求可以设置不同的周 期时长, 以满足不同的检测要求; 同时, 也可以通过手动触发的方式来触发 OLT MAC 芯片发送检测指示信号,例如,在得知光线路出现故障时,可以随时手动触发 OLT MAC 芯片发送检测指示信号, 以及时检测光线路的故障, 因此, 可以针对不同场景, 选择 不同的发送检测指示信号的方式, 从而增强了本实施例的使用灵活性。 在本优选实施例中, 提供了一种优选的光模块执行与用于指示检测类型的标识相 对应的检测操作的方法, 具体地, 该光模块执行与用于指示检测类型的标识相对应的 检测操作的方法包括: 从检测指示信号中获取用于指示检测类型的标识; 若获取的用 于指示检测类型的标识为 OTDR检测标识, 则光模块执行 OTDR检测; 若获取的用于 指示检测类型的标识为光功率检测标识, 则光模块执行光功率检测。 在本实施例中, 可以根据检测指示信号中包括的不同的检测类型的标识执行不同的检测, 从而增强了 本发明的实用性。 在本优选实施例中, 提供了一种优选的光模块执行 OTDR检测的方法, 具体地, 该光模块执行 OTDR检测的方法包括: 光模块将光检测信号注入到主干光纤的光口中 进行 OTDR检测, 其中, 光检测信号是波长为非下行工作波长的光信号。 在本实施例 中, 将光检测信号注入到主干光纤的光口中, 以实现对光线路的检测, 同时, 光检测 信号是波长为非下行工作波长的光信号。 优选地, 非下行工作波长指除了一个波长以 外的任何波长, 例如, 在 GPON系统中, 下行工作波长是以 1490nm为中心的在 (1480 - 1500) nm范围内的工作波长, 上行工作波长是以 1310 nm为中心的在 (1290 - 1330) nm范围内的工作波长, 非下行工作波长指的是只要不在以 1490nm为中心的 (1480 〜 1500) nm范围内的工作波长均可以, 例如, 1310nm, 1550nm, 1575nm等工作波长; 在 XGPON系统中, 下行工作波长是以 1577nm为中心的在 (1575 1580) nm范围内的 工作波长, 上行工作波长是以 1270nm为中心的在 (1260 1280;) nm范围内的工作波长, 非下行工作波长指只要不在以 1577nm为中心的 (1575 〜 1580nm) nm范围内的工作 波长均可以, 例如, 1310nm, 1490nm, 1550nm等工作波长; 当然, 选择 OTDR的工 作波长还需要满足 OTDR的特性的工作波长。 在本优选实施例中, 上述基于 PON系统的检测方法还包括: 光模块对 ONU进行 OTDR检测之后, 光模块获取 OTDR检测结果; 光模块根据 OTDR检测结果确定光纤 线路的状况, 若确定的结果中有告警信息, 则光模块将 OTDR检测结果上报给网管, 网管根据 OTDR检测结果确定光纤线路中出现故障的原因和出现故障的位置。在本实 施例中, 在本实施例中, 在确定出 OTDR检测结果有告警信息时, 将 OTDR检测结果 上报给网管, 以便确定光纤线路中出现故障的原因和出现故障的位置, 给出易读、 精 确的光纤线路的状况, 从而提高了本发明的检测准确性。 在本优选实施例中, 上述基于 PON系统的检测方法还包括: 在网管根据 OTDR 检测结果确定光纤线路中发生故障的原因和发生故障的位置之后, 在出现故障的位置 上进行对应的 PON保护倒换。 在本实施例中, 根据 OTDR检测结果确定光纤线路中 发生故障的原因和发生故障的位置后, 在出现故障的位置上进行对应的 PON保护倒 换, 避免根据信号丢失现象进行相应的 PON保护倒换, 从而可以根据 OTDR检测结 果简单、 直观、 有效地进行 PON保护倒换。 在本优选实施例中,提供了另一种优选的基于 PON系统的检测方法,如图 8所示, 该基于 PON系统的检测方法包括: 4. The OTDR test is controlled by the Trigger signal. The test result is fed back to the system through the I2C interface. Among them, λΤ is the wavelength of the OTDR test optical signal, λυ is the data uplink working wavelength, and λϋ is the data downlink working wavelength; λΤ can be equal to λυ, also It may not be equal to λυ, and preferably, λΤ is equal to λυ, but λΤ must not be equal to λϋ. In the above preferred embodiment, the detection indication signal is sent to the optical module 104 by the OLT MAC chip 102. After receiving the detection indication signal, the optical module 104 performs a detection operation corresponding to the identifier for indicating the detection type, and implements the use of the optical module 104. The detection operation of the optical line avoids the use of the external device to detect the optical line, thereby avoiding the normal ONUs under the mouth when performing the detection of the optical line by using the external device; meanwhile, the OLT MAC chip 102 can The detection indication signal is sent every preset period to avoid fault detection of the optical line when the optical line is found to be faulty, so that the optical line can be detected in real time and automatically, and the OTDR equipment is used in the related art to solve the optical fiber line. The detection of the ONU that affects the normal ONU under the PON port and the failure to detect the optical line in real time and automatically can ensure that the normal ONU under the PON port does not affect the service when detecting the optical line. At the same time, the real-time and automatic detection are improved. Embodiment 2 On the basis of FIG. 1-6, the preferred embodiment provides a preferred PON system-based detection method. As shown in FIG. 7, the PON system-based detection method includes: S702: The optical line terminal medium access control OLT MAC chip configures an ONU set to be detected as a virtual ONU outside the normal working optical network unit ONU, and allocates a bandwidth other than the bandwidth corresponding to the normally working ONU for the virtual ONU. And generating a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating a detection type; S704: transmitting the detection indication signal to the OLT side in a time slot corresponding to the bandwidth allocated for the virtual ONU And a module, so that the optical module on the OLT side performs a detection operation corresponding to the identifier for indicating the type of detection. In the above preferred embodiment, the OLT MAC chip configures an optical network unit ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates a bandwidth corresponding to the normally operating optical network unit ONU for the virtual ONU. The detection indicator signal corresponding to the virtual ONU is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, so that the optical module performs the identifier for indicating the detection type in the detection indication signal. Corresponding detection operations enable the optical module to perform real-time and automatic detection of the optical line according to the received detection indication signal. Meanwhile, a virtual ONU is configured outside the normally operating optical network unit ONU to allocate bandwidth for the virtual ONU. The bandwidth corresponding to the ONU of the optical network unit that is working normally is different. The detection indication signal is sent in the time slot of the virtual ONU, so that the optical module is detected based on the bandwidth of the virtual ONU, and the normal working light can be realized when detecting. The service of the network unit ONU does not affect, thereby improving the performance of the system and helping to change user experience. In the preferred embodiment, after the detection indication signal is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated for the virtual ONU, the PON system-based detection method further includes: the optical module on the OLT side receives the OLT. a detection indication signal sent by the MAC chip, where the identifier for indicating the detection type in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; and the optical module performs an identifier corresponding to the identifier for indicating the detection type. Detection operation. In this embodiment, after the optical module receives the detection indication signal sent by the MAC chip, the detection operation is performed, and the optical module can perform detection in real time according to the detection indication signal, and the optical module can be used according to the detection indication signal. The optical power detection or OTDR detection is performed on the identifier indicating the type of detection, thereby enhancing the practicability of the detection method. In the preferred embodiment, before the optical module receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip, the OLT MAC chip sends the detection indication signal to the optical module in at least one of the following ways: OLT MAC chip every The preset period sends the detection indication signal to the optical module, or the OLT MAC chip sends the detection indication signal to the optical module after receiving the manually triggered instruction. In this embodiment, the OLT MAC chip can preset the period for sending the detection indication signal, and different period lengths can be set according to different detection requirements to meet different detection requirements. Meanwhile, the OLT can also be triggered by manual triggering. The MAC chip sends a detection indication signal. For example, when it is known that the optical line is faulty, the OLT MAC can be manually triggered at any time. The chip transmits the detection indication signal and detects the failure of the optical line in time. Therefore, different manners of transmitting the detection indication signal can be selected for different scenarios, thereby enhancing the flexibility of use of the embodiment. In the preferred embodiment, a method is provided for performing a detection operation corresponding to an identifier for indicating a detection type, and specifically, the optical module performs an identifier corresponding to the identifier for indicating the detection type. The method for detecting the operation includes: obtaining an identifier for indicating a detection type from the detection indication signal; if the acquired identifier for indicating the detection type is an OTDR detection identifier, the optical module performs OTDR detection; The identifier of the optical power detection identifier is used by the optical module to perform optical power detection. In the present embodiment, different detections can be performed based on the identifications of different detection types included in the detection indication signal, thereby enhancing the utility of the present invention. In the preferred embodiment, a method for performing OTDR detection by a preferred optical module is provided. Specifically, the method for performing OTDR detection by the optical module includes: the optical module injecting the optical detection signal into the optical port of the trunk optical fiber for OTDR detection. Wherein, the light detection signal is an optical signal whose wavelength is a non-downward operating wavelength. In this embodiment, the optical detection signal is injected into the optical port of the main fiber to realize detection of the optical line, and at the same time, the optical detection signal is an optical signal whose wavelength is a non-downward operating wavelength. Preferably, the non-downward operating wavelength refers to any wavelength except one wavelength. For example, in a GPON system, the downlink operating wavelength is an operating wavelength in the range of (1480 - 1500) nm centered at 1490 nm, and the upstream operating wavelength is The operating wavelength in the range of (1290 - 1330) nm centered at 1310 nm, the non-downstream operating wavelength means that the operating wavelength is not in the range of 1490 nm (1480 to 1500) nm, for example, 1310 nm, Operating wavelengths of 1550nm, 1575nm; In XGPON systems, the downstream operating wavelength is the operating wavelength in the range of (1575 1580) nm centered at 1577nm, and the upstream working wavelength is centered at 1270nm in the (1260 1280;) nm range. The operating wavelength inside, the non-downward operating wavelength means that the operating wavelength is not in the range of 1577 nm (1575 to 1580 nm) nm, for example, 1310 nm, 1490 nm, 1550 nm, etc.; of course, the operating wavelength of the OTDR is selected. The operating wavelength required to meet the characteristics of the OTDR. In the preferred embodiment, the PON system-based detection method further includes: after the optical module performs OTDR detection on the ONU, the optical module acquires an OTDR detection result; and the optical module determines the status of the optical fiber line according to the OTDR detection result, if the determined result is If the alarm is generated, the optical module reports the OTDR detection result to the NMS. The NMS determines the cause of the fault and the location of the fault in the fiber line based on the OTDR detection result. In this embodiment, in the embodiment, when it is determined that the OTDR detection result has the alarm information, the OTDR detection result is reported to the network management system, so as to determine the cause of the fault in the optical fiber line and the location of the fault, and provide an easy-to-read The condition of the precise optical fiber line improves the detection accuracy of the present invention. In the preferred embodiment, the foregoing PON system-based detection method further includes: after determining, by the network management, the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, where the fault occurs. Perform corresponding PON protection switching on it. In this embodiment, after determining the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, performing corresponding PON protection switching at the location where the fault occurs, to avoid corresponding PON protection switching according to the signal loss phenomenon, Therefore, the PON protection switching can be performed simply, intuitively, and effectively according to the OTDR detection result. In the preferred embodiment, another preferred PON system-based detection method is provided. As shown in FIG. 8, the PON system-based detection method includes:
S802: 在 OLT PON-MAC芯片内的 DBA (Dynamic Bandwidth Assignment, 动态 带宽分配) 模块里配置一个虚拟 ONU, 例如, 固定采用 ONU ID为 0, 实际使用的 ONU不在为其分配 ONU ID为 0的编号, 并给该虚拟 ONU分配一满足 OTDR事件的 固定带宽, 下面简称 Tv, 可以周期地或者手动指定分配一个这样的带宽, 能够在 Τν 时隙内周期或者指定时刻触发产生 OTDR事件; 优选地, 对于 Tv的确定, 可以采用 如下方式来确定 Tv的大小: S802: A virtual ONU is configured in the DBA (Dynamic Bandwidth Assignment) module of the OLT PON-MAC chip. For example, the ONU ID is fixed to 0, and the actually used ONU is not assigned a number with an ONU ID of 0. And assigning the virtual ONU a fixed bandwidth that satisfies the OTDR event, hereinafter referred to as Tv, which can be periodically or manually assigned to allocate such a bandwidth, and can trigger an OTDR event in a period of Τν time slot or at a specified time; preferably, for For the determination of Tv, the size of Tv can be determined as follows:
1 ) 根据整个 ODN网络的情况来动态确定分配的时隙 Tv的大小, OTDR测试光 信号到达 ODN网络中最远距离的 ONU所需的时间应该小于 Tv/2;而整个网络中每个 ONU的距离可以通过测距来获得,在获取 ΡΟΝ口下所有的 ONU的距离之后,能够得 到最大的实际距离, 同时光速和在光纤中的折射率也是已知的, 这样可以通过公式来 计算到达最远的 ONU所需的时间 Tl,此时需要保证 Tv大于 2T1,假设分配给虚拟 ONU 的带宽为 B bps, DBA模块根据 T1和分配给虚拟 ONU的带宽 B bps来确定周期 T (每 秒钟进行 OTDR监测的次数) 以及 Tv, 可以根据下面的公式可以确定以上两个参数: Τν > 2Τ1 1) dynamically determine the size of the allocated time slot Tv according to the situation of the entire ODN network, and the time required for the OTDR test optical signal to reach the longest distance ONU in the ODN network should be less than Tv/2; and each ONU in the entire network The distance can be obtained by ranging. After obtaining the distance of all the ONUs under the mouth, the maximum actual distance can be obtained, and the speed of light and the refractive index in the fiber are also known, so that the formula can be used to calculate the farthest. The time required by the ONU is Tl. At this time, it is necessary to ensure that Tv is greater than 2T1. Assuming that the bandwidth allocated to the virtual ONU is B bps, the DBA module determines the period T according to T1 and the bandwidth B bps allocated to the virtual ONU (OTDR per second) The number of monitoring) and Tv, the above two parameters can be determined according to the following formula: Τν > 2Τ1
Τ < (Β X 6.43 I 8) I (2T1 + 1) Τ < (Β X 6.43 I 8) I (2T1 + 1)
2 ) 对于 Tv还可以采用一种静态方式来确定, 对于每一个 ODN网络其支持的最 大物理距离以及逻辑距离是已经的, 将其支持最大的物理距离当作最远的 ONU距离, 计算出 Tl, 然后在算出 Tv和 Τ, 其中 Τ必须大于等于 1。 S804: 当光模块接收到触发 (Trigger) 信号时候, OTDR处理模块需要根据之前 配置判断是进行光功率的测量还是监测 OTDR事件, 即光模块支持光功率的测量和 OTDR检测, 若是进行 OTDR检测, 则转至步骤 S806, 若是进行光功率的测量, 则转 至步骤 S812; 2) For Tv, a static method can be used to determine that the maximum physical distance and logical distance supported by each ODN network are already, and the maximum physical distance supported by it is regarded as the farthest ONU distance, and Tl is calculated. Then, calculate Tv and Τ, where Τ must be greater than or equal to 1. S804: When the optical module receives the trigger (Trigger) signal, the OTDR processing module needs to determine whether to perform optical power measurement or OTDR event according to the previous configuration, that is, the optical module supports optical power measurement and OTDR detection, and if the OTDR detection is performed, Then, the process goes to step S806, if the measurement of the optical power is performed, the process goes to step S812;
S806:在 MAC为虚拟 ONU分配 Tv带宽时, OTDR模块在 Tv时隙中获得 OTDR 测试数据。 具体地, 触发 OTDR事件和获取光功率在光模块内部均采用 Trigger信号 来触发, 需要在测量光功率或者触发 OTDR事件时, 首先 CPU通过 I2C通知光模块 内部当前是测量光功率还是 OTDR事件, 然后设置 MAC芯片, MAC芯片送给光模 块 Trigger信号; 如果是 OTDR测量, 则需要通知相关模块准备 OTDR测量, 不需要 进行光功率的测量, 同时通过 Trigger信号通知 OTDR测试波长激光器打开并发出检 测光信号, 将检测光信号注入 PON光口中, 其中, 测试光信号可以是脉冲或序列; S806: When the MAC allocates a Tv bandwidth for the virtual ONU, the OTDR module obtains OTDR test data in the Tv time slot. Specifically, triggering an OTDR event and acquiring optical power adopts a Trigger signal inside the optical module. To trigger, you need to measure the optical power or trigger the OTDR event. First, the CPU informs the optical module through the I2C whether it is currently measuring optical power or OTDR event, and then sets the MAC chip, and the MAC chip sends the Trigger signal to the optical module. If it is OTDR measurement, The relevant module needs to be notified to prepare the OTDR measurement, and the optical power measurement is not required. At the same time, the Trigger signal is used to notify the OTDR test wavelength laser to turn on and emit the detection optical signal, and the detection optical signal is injected into the PON optical port, wherein the test optical signal can be a pulse. Or sequence
S808: 为了降低测试噪声, 重复上述分配 Tv和 OTDR测试的过程, 其中, 重复 分配 Tv的次数直至满足 OTDR测试处理模块所需要的测试精度, 一般为几千至几十 万次, 光模块控制及 OTDR处理模块将测试的数据平均后得到最终的测试结果; S808: In order to reduce the test noise, repeat the above process of allocating Tv and OTDR tests, wherein the number of times of Tv is repeatedly allocated until the test accuracy required by the OTDR test processing module is satisfied, generally several thousand to several hundred thousand times, and the optical module control and The OTDR processing module averages the tested data to obtain the final test result;
S810: 当测量结束后, 通过 I2C读取当前测量的 OTDR事件, 获取到 OTDR测试 曲线数据,根据 OTDR事件分析光纤线路情况,如果,光纤线路有告警信息则将 OTDR 事件上报给网管, 同时, 网管对各种 OTDR事件及告警信息 (例如, ONU信号丢失, OLT PON主干信号丢失等告警信息) 进行综合分析, 给出用户易读的 ODN网络故障 信息, ODN网络故障信息可以精确地指示出 ODN网络出现故障的原因和出现故障的 位置, OTDR检测流程结束; S812: 如果是进行光功率测量, 则仅仅将信号送给光模块控制及 OTDR功能模块 通知其完成光功率的测量, 而不触发 OTDR测量波长激光器(具体的光功率检测方式 与现有的光功率检测方式完全一致, 这里不再赘述); S810: After the measurement is completed, the current measured OTDR event is read by the I2C, and the OTDR test curve data is obtained, and the optical line condition is analyzed according to the OTDR event. If the optical line has the alarm information, the OTDR event is reported to the network management, and at the same time, the network management Comprehensive analysis of various OTDR events and alarm information (for example, ONU signal loss, OLT PON trunk signal loss, etc.), giving user-readable ODN network fault information, ODN network fault information can accurately indicate the ODN network The cause of the fault and the location of the fault, the OTDR detection process ends; S812: If the optical power measurement is performed, only the signal is sent to the optical module control and the OTDR function module notifies it to complete the measurement of the optical power without triggering the OTDR measurement. Wavelength lasers (the specific optical power detection mode is exactly the same as the existing optical power detection mode, and will not be described here);
S814: 光模块指示光功率测量结束; S814: The optical module indicates that the optical power measurement ends.
S816: 通过 I2C接口读取光功率测量结果, 光功率测量流程结束。 在上述优选实施例中, 对光线路进行检测的方法与现有技术相比, 避免使用外置 设备, 降低了对光线路进行检测的成本; 同时, 降低了操作难度, 提高了对光线路进 行检测的方便性; 在定位故障的同时不影响现网中的正常业务, 节省了运维成本, 能 够实时定位光线路故障, 能够更快更准确更智能地定位光线路出现故障的原因和出现 故障的位置, 能够及时发现和解决光线路出现故障,提高了运营商以及客户的满意度。 同时,增加 OTDR功能后的 PON OLT光模块,其和 MAC间的接口无需变动, 依 然沿用当前业界支持光层 OLS参数 (包括 RSSI测量) 检测功能的光模块光接口, 保 证现网部署的 OLT系统可以通过更换光模块及升级软件版本来支持 OTDR功能,而大 量昂贵的 OLT PON卡及 OLT其它部件都不需要更改, 减少网络投资。 进一步地, 在本优选实施例中, 0TDR测量除了为用户指示出 0DN网络出现故 障的原因和出现故障的位置, 进而加快了网络故障的维护和定位外, OTDR测量功能 还可以通过对光纤连通性进行检测来实现 PON的各种保护, 以 OTDR测量结果作为 保护的触发条件, 例如, PON的跨 OLT TYPE B PON保护及同 OLT TYPE B保护, 就 可以用 OTDR功能来检测 OLT和第一级分路器 (SPILITER) 间主干光纤是否正常, 如果检测到故障则触发 PON保护倒换, 将 OTDR检测用于 PON保护, 比目前的根据 信号丢失(LOS, Loss of signal)检测进行 PON保护更简单, 直观和有效, 当将 OTDR 功能用于 PON网络保护时, OTDR检测工作模式需要设置成周期性实时检测模式。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 S816: The optical power measurement result is read through the I2C interface, and the optical power measurement process ends. In the above preferred embodiment, the method for detecting the optical line avoids the use of the external device compared with the prior art, thereby reducing the cost of detecting the optical line; at the same time, reducing the operation difficulty and improving the optical line Convenience of detection; It not only affects the normal service in the existing network while locating the fault, saves the operation and maintenance cost, can locate the optical line fault in real time, and can locate the fault and the fault of the optical line faster, more accurately and intelligently. The location can detect and solve the fault of the optical line in time, and improve the satisfaction of operators and customers. At the same time, the PON OLT optical module with the OTDR function does not need to be changed. The optical interface optical interface that supports the optical layer OLS parameters (including RSSI measurement) detection function is still used to ensure the OLT system deployed on the live network. The OTDR function can be supported by replacing the optical module and upgrading the software version, and a large number of expensive OLT PON cards and other components of the OLT do not need to be changed, reducing network investment. Further, in the preferred embodiment, the 0TDR measurement can not only provide the user with the cause of the failure of the 0DN network and the location of the fault, but also accelerate the maintenance and positioning of the network fault, and the OTDR measurement function can also pass the fiber connectivity. Detecting to implement various protections of the PON, using OTDR measurement results as protection trigger conditions, for example, PON cross-OLT TYPE B PON protection and OLT TYPE B protection, the OTDR function can be used to detect the OLT and the first fraction Whether the backbone fiber between the SPILITER is normal, if the fault is detected, the PON protection switching is triggered, and the OTDR detection is used for the PON protection. The PON protection is simpler and more intuitive than the current LOS (Loss of Signal) detection. And valid, when the OTDR function is used for PON network protection, the OTDR detection mode needs to be set to the periodic real-time detection mode. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种基于 PON系统的检测方法, 包括: 1. A detection method based on a PON system, comprising:
光线路终端媒体访问控制 OLT MAC芯片在正常工作的光网络单元 ONU 之外配置一个设置为检测的 ONU作为虚拟 ONU, 为所述虚拟 ONU分配除与 所述正常工作的 ONU对应的带宽之外的带宽,并生成与所述虚拟 ONU对应的 检测指示信号, 其中, 所述检测指示信号包括用于指示检测类型的标识;  The optical line terminal medium access control OLT MAC chip configures an ONU set to be detected as a virtual ONU outside the normally operating optical network unit ONU, and allocates the virtual ONU with a bandwidth other than the normally working ONU. And generating a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating a detection type;
在为所述虚拟 ONU分配的带宽所对应的时隙内将所述检测指示信号发送 给 OLT侧的光模块, 以使所述 OLT侧的光模块执行与所述用于指示检测类型 的标识相对应的检测操作。  Transmitting the detection indication signal to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated by the virtual ONU, so that the optical module on the OLT side performs the identification with the identifier for indicating the detection type. Corresponding detection operation.
2. 根据权利要求 1所述的方法, 其中, 在为所述虚拟 ONU分配的带宽所对应的 时隙内将所述检测指示信号发送给 OLT侧的光模块之后, 还包括: The method according to claim 1, wherein, after the detecting the indication signal is sent to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated by the virtual ONU, the method further includes:
所述 OLT侧的光模块接收所述 OLT MAC芯片发送的检测指示信号,其中, 所述检测指示信号中用于指示检测类型的标识包括光功率检测标识或光时域反 射仪 OTDR检测标识; 所述光模块执行与所述用于指示检测类型的标识相对应的检测操作。  The optical module on the OLT side receives the detection indication signal sent by the OLT MAC chip, where the identifier for indicating the detection type in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier; The light module performs a detection operation corresponding to the identifier for indicating the type of detection.
3. 根据权利要求 2所述的方法, 其中, 所述光模块执行与所述用于指示检测类型 的标识相对应的检测操作的步骤包括: The method according to claim 2, wherein the step of the optical module performing the detecting operation corresponding to the identifier for indicating the type of detection comprises:
从所述检测指示信号中获取所述用于指示检测类型的标识;  Obtaining the identifier for indicating a detection type from the detection indication signal;
若获取的所述用于指示所述检测类型的标识为 OTDR检测标识, 则所述光 模块执行 OTDR检测; 若获取的所述用于指示所述检测类型的标识为光功率检测标识, 则所述光 模块执行光功率检测。  If the obtained identifier for indicating the detection type is an OTDR detection identifier, the optical module performs OTDR detection; if the acquired identifier for indicating the detection type is an optical power detection identifier, The optical module performs optical power detection.
4. 根据权利要求 3所述的方法, 其中, 所述光模块执行 OTDR检测的步骤包括: 所述光模块将光检测信号注入到主干光纤的光口中进行 OTDR检测,其中, 所述光检测信号是波长为非下行工作波长的光信号。 The method of claim 3, wherein the step of performing the OTDR detection by the optical module comprises: the optical module injecting a light detection signal into an optical port of a trunk optical fiber for performing OTDR detection, wherein the optical detection signal It is an optical signal whose wavelength is a non-downward operating wavelength.
5. 根据权利要求 3或 4所述的方法, 其中, 所述光模块对所述 ONU进行 OTDR 检测之后, 还包括: 所述光模块获取 OTDR检测结果; The method according to claim 3 or 4, wherein after the OTDR detection by the optical module on the ONU, the method further includes: The optical module acquires an OTDR detection result.
所述光模块根据所述 OTDR检测结果确定光纤线路的状况,若确定的结果 中有告警信息, 则所述光模块将所述 OTDR检测结果上报给网管, 所述网管根 据所述 OTDR检测结果确定所述光纤线路中出现故障的原因和出现故障的位 置。  The optical module determines the status of the optical fiber line according to the OTDR detection result, and if the determined result has the alarm information, the optical module reports the OTDR detection result to the network management, and the network management determines the OTDR detection result according to the OTDR detection result. The cause of the failure in the fiber line and the location of the failure.
6. 根据权利要求 5所述的方法, 其中, 在所述网管根据所述 OTDR检测结果确定 所述光纤线路中发生故障的原因和发生故障的位置之后, 还包括: 在出现故障 的位置上进行对应的 PON保护倒换。 The method according to claim 5, wherein after the network management determines the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result, the network management further includes: performing the faulty location Corresponding PON protection switching.
7. 根据权利要求 1所述的方法, 其中, 光模块接收光线路终端媒体访问控制 OLT MAC芯片发送的检测指示信号之前, 还包括: The method according to claim 1, wherein before the optical module receives the detection indication signal sent by the optical line terminal media access control OLT MAC chip, the method further includes:
所述 OLT MAC芯片通过至少以下方式之一将所述检测指示信号发送给所 述光模块: 所述 OLT MAC芯片每隔预设周期将所述检测指示信号发送给所述 光模块, 或者, 所述 OLT MAC芯片在接收到手动触发的指令之后将所述检测 指示信号发送给所述光模块。  The OLT MAC chip sends the detection indication signal to the optical module in at least one of the following manners: the OLT MAC chip sends the detection indication signal to the optical module every preset period, or The OLT MAC chip sends the detection indication signal to the optical module after receiving the manually triggered instruction.
8. 一种基于 PON系统的检测系统, 包括: 光线路终端媒体访问控制 OLT MAC芯 片, 其中, 所述 OLT MAC芯片包括: A PON system-based detection system, comprising: an optical line terminal medium access control OLT MAC chip, wherein the OLT MAC chip comprises:
配置单元, 设置为在正常工作的光网络单元 ONU之外配置一个用于检测 的 ONU作为虚拟 ONU,为所述虚拟 ONU分配除与所述正常工作的 ONU对应 的带宽之外的带宽, 并生成与所述虚拟 ONU对应的检测指示信号, 其中, 所 述检测指示信号包括用于指示检测类型的标识;  The configuration unit is configured to configure an ONU for detecting as a virtual ONU outside the ONU of the working optical network unit, and allocate the bandwidth of the virtual ONU except the bandwidth corresponding to the normally working ONU, and generate a detection indication signal corresponding to the virtual ONU, where the detection indication signal includes an identifier for indicating a detection type;
发送单元, 设置为在为所述虚拟 ONU分配的带宽所对应的时隙内将所述 检测指示信号发送给 OLT侧的光模块, 以使所述 OLT侧的光模块执行与所述 用于指示检测类型的标识相对应的检测操作。  The sending unit is configured to send the detection indication signal to the optical module on the OLT side in the time slot corresponding to the bandwidth allocated by the virtual ONU, so that the optical module on the OLT side performs the indication and the indication The detection type corresponds to the detection operation.
9. 根据权利要求 8所述的系统, 还包括: 所述 OLT侧的光模块, 其中, 所述光模 块包括: 9. The system of claim 8, further comprising: the optical module on the OLT side, wherein the optical module comprises:
接收单元, 设置为接收所述 OLT MAC芯片发送的检测指示信号, 其中, 所述检测指示信号中用于指示检测类型的标识包括光功率检测标识或光时域反 射仪 OTDR检测标识;  The receiving unit is configured to receive the detection indication signal sent by the OLT MAC chip, where the identifier for indicating the detection type in the detection indication signal includes an optical power detection identifier or an optical time domain reflectometer OTDR detection identifier;
执行单元,设置为执行与所述用于指示检测类型的标识相对应的检测操作。 And an execution unit configured to perform a detection operation corresponding to the identifier for indicating a detection type.
10. 根据权利要求 9所述的系统, 其中, 所述执行单元包括: 获取模块, 设置为从所述检测指示信号中获取所述用于指示检测类型的标 识; The system according to claim 9, wherein the execution unit comprises: an obtaining module, configured to acquire the identifier for indicating a detection type from the detection indication signal;
第一执行模块, 设置为在获取的所述用于指示所述检测类型的标识为 OTDR检测标识时, 执行 OTDR检测; 第二执行模块, 设置为在获取的所述用于指示所述检测类型的标识为光功 率检测标识时, 执行光功率检测。  The first execution module is configured to perform OTDR detection when the acquired identifier for indicating the detection type is an OTDR detection identifier, and the second execution module is configured to: When the identification of the optical power detection flag is performed, optical power detection is performed.
11. 根据权利要求 10所述的系统, 其中, 所述第一执行模块包括: The system according to claim 10, wherein the first execution module comprises:
注入子模块, 设置为将光检测信号注入到主干光纤的光口中进行 OTDR检 测, 其中, 所述光检测信号是波长为非下行工作波长的光信号。  The injection sub-module is configured to inject an optical detection signal into the optical port of the trunk optical fiber for performing OTDR detection, wherein the optical detection signal is an optical signal having a wavelength of a non-downward operating wavelength.
12. 根据权利要求 10或 11所述的系统, 还包括: 12. The system of claim 10 or 11, further comprising:
获取单元, 设置为获取 OTDR检测结果;  The obtaining unit is set to obtain an OTDR detection result;
上报单元, 设置为根据所述 OTDR检测结果确定光纤线路的状况, 若确定 的结果中有告警信息, 则所述光模块将所述 OTDR检测结果上报给网管, 使得 所述网管根据所述 OTDR检测结果确定所述光纤线路中出现故障的原因和出现 故障的位置。  The reporting unit is configured to determine the status of the optical fiber line according to the OTDR detection result, and if the determined result has the alarm information, the optical module reports the OTDR detection result to the network management, so that the network management device detects the OTDR according to the OTDR. The result determines the cause of the failure in the fiber optic line and the location of the failure.
13. 根据权利要求 12所述的系统, 还包括: 13. The system of claim 12, further comprising:
倒换单元, 设置为在所述网管根据所述 OTDR检测结果确定所述光纤线路 中发生故障的原因和发生故障的位置之后, 在出现故障的位置上进行对应的 PON保护倒换。  The switching unit is configured to perform a corresponding PON protection switching at the location where the fault occurs after the network management determines the cause of the fault in the optical fiber line and the location of the fault according to the OTDR detection result.
PCT/CN2012/086620 2012-01-20 2012-12-14 Detection method and system based on pon system WO2013107232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210019102.9 2012-01-20
CN201210019102.9A CN102546010B (en) 2012-01-20 2012-01-20 Detection method and detection system based on passive optical network (PON) system

Publications (1)

Publication Number Publication Date
WO2013107232A1 true WO2013107232A1 (en) 2013-07-25

Family

ID=46352059

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/086620 WO2013107232A1 (en) 2012-01-20 2012-12-14 Detection method and system based on pon system

Country Status (2)

Country Link
CN (1) CN102546010B (en)
WO (1) WO2013107232A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570867A (en) * 2014-12-26 2015-04-29 广东美的厨房电器制造有限公司 Abnormity diagnosis method, abnormity diagnosis system, server, household electrical appliance and environment sensor

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546010B (en) * 2012-01-20 2017-02-08 中兴通讯股份有限公司 Detection method and detection system based on passive optical network (PON) system
CN103067078B (en) * 2013-01-07 2015-07-15 青岛海信宽带多媒体技术有限公司 Optical line terminal optical module and Ethernet passive optical network breakpoint detection system
PT2963970T (en) * 2013-03-28 2022-02-03 Huawei Tech Co Ltd Method and device for allocating bandwidth, user equipment and base station
CN104301037A (en) * 2013-07-16 2015-01-21 中兴通讯股份有限公司 Method and system of implementing automatic alarm of fiber fault of passive optical network
WO2015017969A1 (en) * 2013-08-05 2015-02-12 华为技术有限公司 Bandwidth allocation method, device and system
ES2664076T3 (en) 2013-12-09 2018-04-18 Huawei Technologies Co., Ltd. Apparatus and method for detecting an uplink optical signal
CN106549706B (en) * 2015-09-16 2019-04-26 青岛海信宽带多媒体技术有限公司 A kind of electrical port module
CN106851439B (en) * 2015-12-07 2020-04-24 深圳市中兴微电子技术有限公司 Access method and device for multiple optical network units

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489155A (en) * 2006-03-15 2009-07-22 华为技术有限公司 Passive optical network system and service protection method thereof
CN101562480A (en) * 2008-04-15 2009-10-21 华为技术有限公司 Optical access network, and method, system and apparatus for backuping optical line terminal
CN102075244A (en) * 2010-12-30 2011-05-25 北京格林伟迪科技有限公司 Method for diagnosing constant optical network units in Ethernet passive optical network
CN102142894A (en) * 2011-02-12 2011-08-03 华为技术有限公司 Optical network unit control method device and system
CN102546010A (en) * 2012-01-20 2012-07-04 中兴通讯股份有限公司 Detection method and detection system based on passive optical network (PON) system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20031104A0 (en) * 2003-07-25 2003-07-25 Nokia Corp Fiber optic protection in telecommunications networks
CN101217313A (en) * 2008-01-11 2008-07-09 北京邮电大学 A fault diagnosis method applied OTDR passive optical network optical fiber
KR100971676B1 (en) * 2008-10-09 2010-07-22 한국과학기술원 A Fault Localization Method and A Fault Localization Apparatus in A Passive Optical Network and A Passive Optical Network Having the Same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489155A (en) * 2006-03-15 2009-07-22 华为技术有限公司 Passive optical network system and service protection method thereof
CN101562480A (en) * 2008-04-15 2009-10-21 华为技术有限公司 Optical access network, and method, system and apparatus for backuping optical line terminal
CN102075244A (en) * 2010-12-30 2011-05-25 北京格林伟迪科技有限公司 Method for diagnosing constant optical network units in Ethernet passive optical network
CN102142894A (en) * 2011-02-12 2011-08-03 华为技术有限公司 Optical network unit control method device and system
CN102546010A (en) * 2012-01-20 2012-07-04 中兴通讯股份有限公司 Detection method and detection system based on passive optical network (PON) system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570867A (en) * 2014-12-26 2015-04-29 广东美的厨房电器制造有限公司 Abnormity diagnosis method, abnormity diagnosis system, server, household electrical appliance and environment sensor

Also Published As

Publication number Publication date
CN102546010B (en) 2017-02-08
CN102546010A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
WO2013107232A1 (en) Detection method and system based on pon system
US8655167B1 (en) Fiber diagnosis system for point-to-point optical access networks
US9577748B2 (en) Monitoring of a passive optical network (PON)
US7778543B2 (en) Passive optical network rogue optical network unit diagnostics
CN103457658B (en) Optical line terminal olt
US7809262B2 (en) Methods, systems, and computer-readable media for determining physical layer failures
KR101790698B1 (en) Method and apparatus for detecting optical line obstruction in passive optical network
US20140056582A1 (en) Detecting and communicating potential optical fiber issues in optical networks
CN102055523A (en) Method, equipment and system for diagnosing failure of passive optical network
WO2008128462A1 (en) A fault detecting method, system and apparatus for optical distributed network
CN104144013A (en) Method, device and system for fault diagnosis of PON
US9806802B2 (en) Method and device for detecting rogue behavior
CN104144014A (en) Method, device and system for detecting optical fiber faults
KR20130093829A (en) Apparatus and method for monitoring optical line
CN107078793B (en) A kind of fiber fault diagnosis method, apparatus and system
US9973271B2 (en) Method and device for configuring OTDR test parameter set
CN203788287U (en) Optical cable automatic monitoring system based on optical signal alarm and performance monitoring triggering
KR102657364B1 (en) Method, apparatus and system for determining connectivity of optical network terminals
JP2012029176A (en) Hinderance onu specification device, hinderance onu specification method and pon system
US9008509B2 (en) Measurement of optical performance for passive WDM systems
KR101889553B1 (en) System and method for monitoring optical line
SG191973A1 (en) Identification of an optical-layer failure in a passive optical network
WO2022222618A1 (en) Link status measurement method and apparatus, system, and storage medium
JP5232032B2 (en) Method for identifying a failed network terminal in a passive optical network (PON)
Oishi et al. ONU tester for diagnosis of TDMA-PON using multi-point control protocol messages

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12865866

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12865866

Country of ref document: EP

Kind code of ref document: A1