WO2023216784A1 - Abnormal equipment detection method, optical module and optical line terminal body - Google Patents

Abnormal equipment detection method, optical module and optical line terminal body Download PDF

Info

Publication number
WO2023216784A1
WO2023216784A1 PCT/CN2023/087173 CN2023087173W WO2023216784A1 WO 2023216784 A1 WO2023216784 A1 WO 2023216784A1 CN 2023087173 W CN2023087173 W CN 2023087173W WO 2023216784 A1 WO2023216784 A1 WO 2023216784A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical module
type
abnormal
optical
working mode
Prior art date
Application number
PCT/CN2023/087173
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 WO2023216784A1 publication Critical patent/WO2023216784A1/en

Links

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • 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
    • H04Q2011/0083Testing; Monitoring

Definitions

  • the present application relates to the field of passive optical network technology, and in particular to a method for detecting abnormal equipment, an optical module, and an optical line terminal body.
  • Passive optical network includes optical line termination (OLT), optical distribution network (ODN) and multiple optical network termination (ONT).
  • OLT includes PON boards and optical modules. Furthermore, the OLT may include multiple PON boards. Each PON board carries out optical communication with user-side equipment through multiple optical modules, and each optical module can carry out optical communication with at least one user-side equipment.
  • the PON board on the OLT will instruct all user-side equipment connected to it to shut down.
  • the PON board can determine the address of the abnormal device based on the information interaction between the user-side device and the PON board, so as to facilitate maintenance of the abnormal device based on the address.
  • This application provides a method for detecting abnormal equipment, an optical module, and an optical line terminal body. This application avoids interrupting the services of other user-side devices except at least one user-side device connected to the optical module, and ensures that the other user-side devices can work normally.
  • the technical solutions provided by this application are as follows:
  • this application provides a method for detecting abnormal equipment.
  • the method is applied to any optical module in the optical line terminal, and the optical module performs optical communication with at least one user-side device.
  • the method includes: determining that there is an abnormal device in at least one user-side device and that the abnormal device is in an abnormal working state; obtaining the type of the abnormal device; if the working mode of the optical module does not match the type of the abnormal device, adjusting the working mode of the optical module to The working mode matches the type of the abnormal device; in the working mode matching the type of the abnormal device, continue to receive a signal from at least one user-side device, and the signal is used to determine the address of the abnormal device.
  • the optical module when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, obtain the type of the abnormal device, and In the working mode that matches the type of the abnormal device, continuing to receive signals from at least one user-side device can facilitate determining the address of the abnormal device based on the signal.
  • All user-side equipment connected to the main body of the optical line terminal connected to the module should be avoided. It avoids interrupting the business of other user-side equipment, ensuring that the other user-side equipment can work normally, effectively reducing the impact on the business of the optical network terminal connected to the main body of the optical line terminal connected to the optical module, and conducive to Improve user experience.
  • the optical module includes: a signal processor.
  • the type of the abnormal device is obtained, including: determining the type of the abnormal device based on the working status of the signal processor.
  • the working status is used to indicate whether the signal processor is working in a normal state or an abnormal state. For example, when the working status indicates that the signal processor is working in a normal state, the type of abnormal device is PON equipment; when the working status indicates that the signal processor is working in an abnormal state, the type of abnormal device is other types of equipment except PON equipment. , other types of devices include Ethernet devices.
  • the signal processor working in an abnormal state has one or more of the following manifestations: the signal processor cannot perform clock recovery on the received signal, the equalizer coefficient of the signal processor does not converge, and the signal judged by the signal processor is wrong. .
  • the optical module After determining that an abnormal device exists in at least one user-side device that is in optical communication with the optical module, the optical module can send type information to the optical line terminal body to inform the optical line terminal body of the type of the abnormal device, so that the optical line terminal body can act according to the The type information determines whether the working mode of the optical module matches the type of the abnormal device.
  • the optical line terminal body After receiving the type information sent by the optical module, the optical line terminal body can obtain the working mode of the optical module, and determine whether the working mode of the optical module matches the type of the abnormal device based on the type information and the working mode of the optical module.
  • the types of abnormal devices include: PON devices or other types of devices except PON devices, and other types of devices include Ethernet devices.
  • the implementation method of determining whether the working mode of the optical module matches the type of the abnormal device includes: when the type indicates that the abnormal device is a PON device, determining whether the working mode of the optical module matches the type of the abnormal device, and when the type indicates that the abnormal device is When using other types of equipment, it is determined that the working mode of the optical module does not match the type of abnormal equipment.
  • the optical line terminal body can send an adjustment instruction to the optical module, so that the optical module adjusts the working mode of the optical module to match the type of the abnormal device according to the adjustment instruction.
  • Working mode so that the optical module can correctly receive signals sent by abnormal devices in the adjusted working mode.
  • the working mode that matches the type of the abnormal device may be the working mode of the abnormal device, or may be other working modes that enable the optical module to correctly receive signals sent by the abnormal device.
  • the working mode of the optical module does not match the type of the abnormal device, adjust the working mode of the optical module to a working mode that matches the type of the abnormal device, including: adjusting based on the type information sent by the optical line terminal body after receiving When issuing an instruction, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
  • the working mode of the optical module if the working mode of the optical module does not match the type of the abnormal device, the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device, including: if the working mode of the optical module matches the type of the abnormal device, If the type of the abnormal device does not match, the operating mode of the optical module is automatically adjusted to the working mode that matches the type of the abnormal device.
  • the method further includes: forwarding the signal to the optical line terminal body in the optical line terminal, so that the optical line The terminal subject determines the address of the abnormal device based on this signal.
  • the optical module when the optical module receives a signal in the adjusted working mode, the optical module forwards the signal to the optical line terminal body, which may include: the optical module converts the signal into a signal in the PON working mode, and forwards the signal to the main body of the optical line terminal.
  • the main body of the optical line terminal forwards signals in the PON working mode.
  • the main body of the optical line terminal can still work in the PON working mode, that is, the main body of the optical line terminal does not need to follow the optical module to adjust the working mode.
  • the optical line terminal body can be connected to multiple optical modules, when the optical line terminal body does not need to follow the optical module to adjust the working mode, the optical line terminal body can still communicate normally with user-side equipment connected to other optical modules, further ensuring User-side equipment connected to other optical modules can work normally.
  • the optical module includes: a signal processor, and two or more signal generators, And one of the two or more signal generators is used to generate a clock signal of the first frequency. If the clock signal of the first frequency matches the type of the abnormal device, then the working mode of the optical module is adjusted to match the type of the abnormal device.
  • the matching working mode includes: providing a first frequency clock signal to the signal processor.
  • the optical module may determine that there is an abnormal device in at least one user-side device that performs optical communication with the optical module when the status of the received signal is different from the status of the signal under normal circumstances. For example, because the abnormal device will continue to emit light, when there is no abnormal device in the at least one user-side device, the optical module will not receive the continuous signal generated by the continuous light emission. When there is an abnormal device in the at least one user-side device, the optical module will receive continuous signals generated by continuous light emission. Therefore, determining that an abnormal device exists in at least one user-side device includes: determining that an abnormal device exists in at least one user-side device when receiving a continuous signal from the user-side device.
  • this application provides a method for detecting abnormal equipment.
  • This method is applied to any optical line terminal body in the optical line terminal.
  • the method includes: obtaining the working mode of the optical module; receiving type information sent by the optical module, the type information is used to indicate the type of an abnormal device, the abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device
  • the device is in an abnormal working state; if the working mode of the optical module does not match the type of the abnormal device, an adjustment command is sent to the optical module.
  • the adjustment command is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
  • the optical line terminal body can send an adjustment instruction to the optical module according to the type information and the working mode of the optical module, so that the optical module adjusts the working module to the type of the abnormal device according to the adjustment instruction.
  • Match the working mode and receive the signal of the abnormal device in the working mode that matches the type of the abnormal device, so as to determine the address of the abnormal device based on the signal.
  • the method also includes: controlling at least one user-side device to stop communicating with the optical module. module communication.
  • controlling at least one user-side device to stop communicating with the optical module includes: sending a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
  • controlling at least one user-side device to stop communicating with the optical module includes: stopping authorization to at least one user-side device.
  • this application provides an optical module.
  • the optical module is deployed in the optical line terminal, and the optical module performs optical communication with at least one user-side device.
  • the optical module includes: a determining module, used to determine that there is an abnormal device in at least one user-side device, and the abnormal device is in an abnormal working state; an obtaining module, used to obtain the type of the abnormal device; and an adjusting module, used to determine the working mode of the optical module does not match the type of the abnormal device, adjust the working mode of the optical module to a working mode that matches the type of the abnormal device; the receiving module is used to continue to receive data from at least one user side in the working mode that matches the type of the abnormal device.
  • the signal of the device is used to determine the address of the abnormal device.
  • the optical module includes: a signal processor and an acquisition module, specifically configured to: determine the type of abnormal equipment based on the working status of the signal processor.
  • the working status is used to indicate that the signal processor is working in a normal state or an abnormal state.
  • the type of the abnormal device when the working status indicates that the signal processor is working in a normal state, the type of the abnormal device is a PON device; when the working status indicates that the signal processor is working in an abnormal state, the type of the abnormal device is other types except PON equipment.
  • devices, other types of devices include Ethernet devices.
  • the optical module also includes: a sending module, used to send type information to the optical line terminal body in the optical line terminal, and the type information is used to indicate the type of the abnormal device; an adjustment module, specifically used to: after receiving the optical line When the terminal body sends an adjustment instruction based on the type information, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
  • a sending module used to send type information to the optical line terminal body in the optical line terminal, and the type information is used to indicate the type of the abnormal device
  • an adjustment module specifically used to: after receiving the optical line
  • the terminal body sends an adjustment instruction based on the type information, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
  • the adjustment module is specifically configured to: if the working mode of the optical module does not match the type of the abnormal device, spontaneously adjust the working mode of the optical module to a working mode that matches the type of the abnormal device.
  • the type includes: PON equipment or other types of equipment except PON equipment.
  • Other types of equipment include Ethernet equipment; when the type indicates that the abnormal device is a PON device, the working mode of the optical module matches the type of the abnormal device; When the type indicates that the abnormal device is another type of device, the working mode of the optical module does not match the type of the abnormal device.
  • the optical module further includes: a sending module, configured to forward signals to the optical line terminal body in the optical line terminal.
  • the sending module is specifically used to: convert the signal into a PON working mode signal, and forward the PON working mode signal to the optical line terminal body.
  • the optical module includes: a signal processor, and two or more signal generators.
  • One of the two or more signal generators is used to generate a clock signal of the first frequency.
  • the clock signal matches the type of the abnormal device, and the adjustment module is specifically used to: provide a clock signal of the first frequency to the signal processor.
  • the determining module is specifically configured to: determine that an abnormal device exists in at least one user-side device when receiving continuous signals from the user-side device.
  • this application provides an optical line terminal body.
  • the optical line terminal body is deployed in the optical line terminal.
  • the optical line terminal body includes: an acquisition module for acquiring the working mode of the optical module; a receiving module for receiving Type information sent by the optical module.
  • the type information is used to indicate the type of the abnormal device.
  • the abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device is in an abnormal working state; the sending module is used if If the working mode of the optical module does not match the type of the abnormal device, an adjustment instruction is sent to the optical module.
  • the adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
  • the optical line terminal body further includes: a control module, configured to control at least one user-side device to stop communicating with the optical module.
  • a control module configured to control at least one user-side device to stop communicating with the optical module.
  • control module is specifically configured to: send a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
  • control module is specifically configured to: stop authorizing at least one user-side device.
  • this application provides an optical module, including a memory and a signal processor.
  • the memory stores program instructions
  • the signal processor runs the program instructions to execute the first aspect of this application and any possible implementation thereof.
  • the present application provides an optical line terminal body, including a memory and a processing component.
  • the memory stores program instructions, and the processing component runs the program instructions to execute the second aspect of the present application and any possible implementation thereof. Methods.
  • the application provides a computer-readable storage medium.
  • the computer-readable storage medium is a non-volatile computer-readable storage medium.
  • the computer-readable storage medium includes program instructions. When the program instructions are stored on a computer device, When running, the computer device is caused to execute the method provided in the first aspect, the second aspect and any possible implementation manner of this application.
  • the present application provides a computer program product containing instructions.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute the instructions provided in the first aspect, the second aspect of the present application, and any possible implementation manner thereof. Methods.
  • Figure 1 is a schematic diagram of an application scenario involved in an abnormal device detection method provided by an embodiment of the present application
  • Figure 2 is a schematic structural diagram of an optical line terminal provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of an optical module provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of another optical module provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram of another optical module provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of an optical line terminal body provided by an embodiment of the present application.
  • Figure 7 is a flow chart of a method for detecting abnormal equipment provided by an embodiment of the present application.
  • Figure 8 is a flow chart of a method for detecting abnormal equipment provided by an embodiment of the present application.
  • Figure 9 is a logical block diagram of an optical module provided by an embodiment of the present application.
  • Figure 10 is a logical block diagram of another optical module provided by an embodiment of the present application.
  • Figure 11 is a logical block diagram of an optical line terminal body provided by an embodiment of the present application.
  • Figure 12 is a logical block diagram of another optical line terminal body provided by an embodiment of the present application.
  • FIG 1 is a schematic diagram of an application scenario involved in an abnormal device detection method provided by an embodiment of the present application.
  • this application scenario includes: optical line terminal 200 and user-side equipment 300.
  • the optical line terminal 200 includes an optical line terminal body 201 and an optical module 202.
  • the optical line terminal 200 refers to a network-side device that provides an optical access network.
  • the user-side device 300 is a device used to connect to a user terminal in a passive optical network.
  • the user terminal can access the network through the user-side device 300 .
  • the user-side equipment 300 can provide various broadband services to user terminals connected thereto.
  • the user-side device 300 may be an optical network terminal.
  • the user-side device 300 may be a device such as an "optical cat".
  • the optical line terminal 200 and the user-side equipment 300 are connected through an optical distribution network.
  • the system including the optical line terminal 200, the user-side equipment 300 and the optical distribution network may be called a passive optical network.
  • one optical line terminal 200 can be connected to multiple user-side devices 300 through an optical distribution network.
  • the passive optical network is also called a point-to-multipoint passive optical network.
  • the optical line terminal 200 sends signals to the user-side equipment 300 connected to it through broadcasting. After receiving the signal, each user-side equipment 300 can select from the signal. Your own content.
  • each user-side equipment 300 communicates with the optical line in the form of burst packets within a designated time slot through time division multiplexing (TDM).
  • TDM time division multiplexing
  • the optical line terminal 200 includes at least one optical line terminal body 201 and a plurality of optical modules 202 .
  • Each optical line terminal body 201 can be connected to a plurality of optical modules 202.
  • the optical line terminal body 201 implements signal transmission and reception through the optical module 202.
  • the signals sent by the optical line terminal body 201 to other devices are transmitted to the optical module 202 in the form of electrical signals, and the optical module 202 converts the electrical signals into optical signals. signal, and then send out the light signal.
  • the signals sent by other devices (such as user-side equipment 300) to the optical line terminal body 201 are transmitted to the optical module 202 in the form of optical signals.
  • the optical module 202 converts the optical signals into electrical signals. signal, and then transmits the electrical signal to the optical line terminal body 201.
  • the optical line terminal body 201 and the optical module 202 can exist in various forms.
  • the optical module 202 can be independent of the optical line terminal body 201, and the optical module 202 can be externally connected to the optical line terminal body 201 through a PON port that exists in a physical form.
  • the optical line terminal body 201 may be a PON board
  • the PON port may be a slot on the PON board
  • the optical module 202 may be inserted into the slot.
  • the PON board may have multiple PON ports, and each optical module 202 is connected to the PON board through a PON port.
  • the optical module 202 and The whole optical line terminal body 201 with the optical module 202 connected thereto is called the optical line terminal 200, and the components (such as signal processors and optical components) used to implement the functions of the optical module 202 are located inside the optical module 202.
  • Passive optical networks can be obtained based on the hardware of point-to-point (P2P) Ethernet and other networks by replacing equipment, switching connections and adjusting the working mode of equipment.
  • P2P point-to-point
  • the user-side equipment in the original network may not be replaced with the user-side equipment working in the PON operating mode (ie, the optical network terminal).
  • the customer premise equipment (CPE) of the P2P Ethernet network was not replaced with TDM-PON customer terminal equipment in time. Since user-side devices working in different working modes send signals at different rates, and for signals at different rates, the clock signals required for the processing components in the optical line terminal body 201 to analyze signals have different frequencies.
  • the processing component cannot parse signals of two different rates at the same time.
  • the CPE is a long-term light-emitting device
  • the optical line terminal body 201 will continuously receive the CPE signal.
  • the CPE signal will interfere with the signal of the optical network terminal, and the processing components cannot simultaneously Analyze CPE signals and optical network terminal signals.
  • the services of all optical network terminals connected to the optical line terminal body 201 connected to the CPE will be affected. Therefore, it is necessary to determine the user-side equipment working in other working modes in the PON and isolate the user-side equipment offline to ensure that the services of all optical network terminals connected to the optical line terminal 200 can be carried out normally.
  • each optical network terminal complies with the PON protocol of the International Telecommunication Union Telecommunications Standards Bureau (ITU-T) system, and its rates are 1.244 gigabit per second (Gbps). )/2.488Gbps/9.953Gbps and other PON rates.
  • the frequency of the clock signal required for the operation of the processing component 2011 is 155.52 megahertz (MHz).
  • the passive optical network involved in the embodiment of the present application may be a passive optical network that complies with the PON protocol of the ITU-T system, such as GPON/XG-PON/XGS-PON.
  • abnormal equipment that is, user-side equipment in an abnormal working state.
  • the other working modes are working modes other than the PON working mode.
  • user-side equipment such as CPE working in Ethernet working mode can be called abnormal equipment.
  • optical network terminals that work in PON operating mode and malfunction will also affect PON services and can also be called abnormal devices.
  • the optical module when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, obtain the type of the abnormal device, and communicate with the abnormal device. In the type-matching working mode, continuing to receive signals from at least one user-side device can facilitate determining the address of the abnormal device based on the signal. Moreover, to perform the above operations through an optical module, you only need to operate at least one user-side device that performs optical communication with the optical module. There is no need to operate all user-side devices connected to the main body of the optical line terminal connected to the optical module, and there is no need to turn off the optical module.
  • All user-side equipment connected to the main body of the optical line terminal connected to the module avoids interrupting the services of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the number of optical line terminals connected to the optical module.
  • the business impact of the main connected optical network terminal helps to improve user experience.
  • the other user-side devices are user-side devices other than the at least one user-side device among the user-side devices connected to the optical line terminal body.
  • the optical line terminal body 201 includes: a processing component 2011.
  • the processing component 2011 is used to determine the signals that need to be sent to other devices (such as optical network terminals), analyze the received signals from other devices (such as optical network terminals), and perform processing on the optical network terminals connected to the optical line terminal 200. Control, and control the working mode of the optical module 202, etc.
  • the processing component 2011 may be a media access controller (media access controller, MAC) or general-purpose processor, such as central processing unit (CPU).
  • the optical module 202 includes: a signal processor 2021 and an optical component 2022.
  • the optical component 2022 In the transmission direction of the optical line terminal 200, that is, when the optical line terminal body 201 sends signals to other devices through the optical module 202, the optical component 2022 is used to convert the electrical signal sent by the optical line terminal body 201 into an optical signal, and The optical signal is transmitted.
  • the optical component 2022 In the receiving direction of the optical line terminal 200, that is, when other devices send signals to the optical line terminal body 201 through the optical module 202, the optical component 2022 is used to convert the optical signals received from other devices into electrical signals, and transmit them to the optical line terminal 201.
  • the line terminal body 201 transmits this electrical signal.
  • the process of signal transmission between the optical line terminal body 201 and the optical component 2022 requires the participation of the signal processor 2021 .
  • the signal processor 2021 in the transmission direction of the optical line terminal 200, the signal processor 2021 is used as a driver to drive the optical component 2022 to convert electrical signals into optical signals.
  • the signal processor 2021 In the receiving direction of the optical line terminal 200, the signal processor 2021 is used to perform clock recovery, equalization processing, decoding, judgment and other operations on the electrical signal converted by the optical component 2022, so that the optical line terminal body 201 can receive Accurate electrical signals.
  • the signal processor 2021 can work in multiple working modes. For example, the signal processor 2021 can work in the Ethernet working mode and the PON working mode respectively at different times.
  • the signal processor 2021 may be a dedicated signal processor and/or a general-purpose processor.
  • the dedicated signal processor can be a digital signal processor (DSP), etc.
  • the general-purpose processor can be a CPU, etc.
  • the optical module 202 may also include a memory such as a memory 2023, which is used to store data and program instructions required for calculation by the general-purpose processor. wait.
  • the signal processor 2021 runs program instructions to execute part or all of the functions of the optical module in the abnormal device detection method provided by the embodiment of the present application.
  • the memory 2023 may be read only memory (ROM).
  • ROM read only memory
  • the optical module 202 may also include other signal processing components 2024 , and the other signal processing components 2024 are used to cooperate with the general-purpose processor to process signals.
  • the other signal processing component 2024 may be an analog to digital converter (ADC) for converting analog signals into digital signals.
  • ADC analog to digital converter
  • the analog-to-digital converter can convert the signal output by the optical component 2022 into a digital signal, and store the digital signal in the read-only memory, and be read and processed by the general-purpose processor.
  • the optical module 202 may also include: a controller 2025 .
  • the control signal sent by the optical line terminal body 201 to the optical module 202 may first be sent to the controller 2025, and the controller 2025 controls the corresponding components in the optical module 202 according to the control signal.
  • the controller 2025 can control the working process of the signal processor 2021.
  • the controller 2025 may be a microcontroller unit (MCU).
  • the signal processor 2021 is a general-purpose processor
  • the optical module 202 may not include the controller 2025. At this time, the general processor can control the corresponding components in the optical module 202 according to the control signal.
  • the optical line terminal body 201 may also include: a crystal oscillator 2012.
  • the crystal oscillator 2012 is used to generate a basic clock signal for use by the processing component 2011.
  • the clock signal required for the operation of the signal processor 2021 can also be obtained based on the basic clock signal generated by the crystal oscillator 2012 .
  • optical module 202 may include signal generator 2026.
  • the signal generator 2026 is used to generate a clock signal required for the operation of the signal processor 2021 based on the basic clock signal generated by the crystal oscillator 2012, and provide the clock signal to the signal processor 2021.
  • the crystal oscillator 2012 and the optical module 202 can be connected through a golden finger, and the basic clock signal can be transmitted to the optical module 202 through the golden finger, and then transmitted to the signal generator 2026.
  • the signal generator 2026 may be a phase locked loop (PLL).
  • PLL phase locked loop
  • the optical module 202 may also include one or more signal generators 2026.
  • the signal generator 2026 can generate clock signals required for multiple working modes in time-sharing according to the basic clock signal, and provide the clock signal to the signal processor 2021.
  • the frequency of the clock signal required for Ethernet operating mode is 156.25MHz.
  • the frequency of the clock signal required for this PON operating mode is 155.52MHz.
  • the signal generator 2026 is used to generate a clock signal of 156.25 MHz or its multiplication frequency or frequency division frequency before time t1, and provide the clock signal to the signal processor 2021. After time t1, it is used to generate a clock signal of 155.52MHz or its multiplication frequency or division frequency, and provide the clock signal to the signal processor 2021.
  • the optical module 202 when the optical module 202 includes multiple signal generators 2026 , the multiple signal generators 2026 are respectively used to generate clock signals of multiple frequencies.
  • the clock signals of multiple frequencies are respectively connected with multiple signal generators.
  • the clock signal of each frequency is used to support the signal processor 2021 to work in the corresponding working mode.
  • the optical module 202 also includes: a signal gating component 2027.
  • the signal gating component 2027 is used to gate the clock signals generated by the plurality of signal generators 2026 and provide the gated clock signals to the signal processor 2021.
  • the selection process of the clock signal by the signal gating component 2027 can be controlled by the controller 2025.
  • the optical module 202 includes two signal generators 2026.
  • One of the two signal generators 2026 is used to generate a clock signal of 156.25 MHz or its multiple frequency or division frequency based on the basic clock signal.
  • the other of the two signal generators 2026 is used to generate a clock signal of 155.52 MHz or its multiple frequency or division frequency based on the basic clock signal.
  • the signal gating component 2027 is used to gate the clock signals generated by the two signal generators 2026, and provide a clock signal of 156.25MHz or its multiplication frequency or division frequency to the signal processor 2021 before time t1. After time t1, a clock signal of 155.52MHz or its multiple frequency or division frequency is provided to the signal processor 2021.
  • the clock signal required for the operation of the signal processor 2021 may not be obtained based on the basic clock signal generated by the crystal oscillator 2012 .
  • the optical module 202 may also include a crystal oscillator, which is used to generate a basic clock signal required for the signal processor 2021 to operate.
  • the optical module 202 may also include: a signal conversion component 2028 .
  • the signal conversion component 2028 is used to convert the signal processed by the signal processor 2021 into a PON operating mode signal, and forward the converted signal to the optical line terminal body 201.
  • the signal conversion component 2028 is used to convert the Ethernet signal processed by the signal processor 2021 into the PON working mode. signal, and forwards the PON working mode signal to the optical line terminal body 201.
  • the signal conversion component 2028 can be an asynchronous first in first out (FIFO) component.
  • the first-in-first-out component can realize conversion of the signal by performing a clock domain transition operation on the signal.
  • the optical module 202 may also include: a serializer-deserializer (SerDes) 2029.
  • the signal converted by the signal conversion component 2028 can be forwarded to the optical line terminal body 201 through the serializer-deserializer 2029.
  • the clock signal required for the operation of the serializer-deserializer 2029 can be provided by the signal generator 2026.
  • the serializer-deserializer 2029 and the optical line terminal body 201 can work in the same working mode.
  • the signal generator 2026 for generating the clock signal required for the PON working mode can provide the signal to the serializer-deserializer 2029.
  • 2029 provides the clock signal.
  • the serializer-deserializer 2029 and the optical line terminal body 201 may be connected through a golden finger.
  • signals can be transmitted between the serializer-deserializer 2029 and the optical line terminal body 201 through other methods such as the I2C bus, which is not specifically limited in the embodiment of this application.
  • the optical module 202 may not include the signal conversion component 2028. At this time, other devices in the optical module 202 may perform signal conversion operations.
  • the signal conversion operation may be performed by the signal processor 2021.
  • the signal processor 2021 is a general-purpose processor
  • the general-purpose processor may have the function of the signal conversion component 2028 .
  • the signal conversion operation can also be performed by components in the optical line terminal body 201, which is not specifically limited in the embodiment of this application.
  • the optical module 202 can convert the signal into a signal in the PON working mode, when the optical module 202 works in a mode other than the PON working mode, it can be ensured that the optical line terminal body 201 still works in the PON working mode, that is, the optical line The terminal body 201 does not need to follow the optical module 202 to adjust the working mode.
  • the optical line terminal body 201 is connected to multiple optical modules 202, and each optical module 202 performs optical communication with at least one user-side device, when there is an abnormal device in at least one user-side device connected to a certain optical module 202, If the optical line terminal body 201 does not need to follow the optical module 202 to adjust the working mode, the optical line terminal body 201 can communicate normally with the user-side equipment connected to other optical modules 202, further ensuring that the user-side equipment connected to other optical modules 202 can operate normally. Work.
  • the optical line terminal 200 may also include a passive optical network card, a gateway router, a voice gateway, an uplink card, etc., which are not specifically limited in the embodiment of this application.
  • Figure 6 is a schematic structural diagram of an optical line terminal body provided by an embodiment of the present application.
  • the optical line terminal body 201 includes a processing component 2011, a crystal oscillator 2012, a memory 2013, a communication interface 2014 and a bus 2015.
  • the optical module 202, the processing component 2011, the crystal oscillator 2012, the memory 2013, and the communication interface 2014 realize communication connections between each other through the bus 2015.
  • Processing component 2011 may include a general-purpose processor and/or a special-purpose hardware chip.
  • General-purpose processors can include: central processing unit (CPU), microprocessor or graphics processing unit (GPU).
  • the CPU is, for example, a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • a dedicated hardware chip is a high-performance processing hardware module.
  • Specialized hardware chips include at least one of a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a network processor (NP) One item.
  • the processing component 2011 may also be an integrated circuit chip with signal processing capabilities. During the implementation process, part or all of the functions of the optical line terminal body in the abnormal device detection method of this application can be completed by instructions in the form of hardware integrated logic circuits or software in the processing component 2011 .
  • the memory 2013 is used to store computer programs, which include an operating system 2013a and executable codes (ie, program instructions) 2013b.
  • the memory 2013 is, for example, a read-only memory or other type of static storage device that can store static information and instructions, or a random access memory or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable memory device.
  • the memory 2013 is used to store outbound port queues, etc.
  • the memory 2013 exists independently, for example, and is connected to the processing component 2011 through the bus 2015. Or the memory 2013 and the processing component 2011 are integrated together.
  • the memory 2013 can store executable code. When the executable code stored in the memory 2013 is executed by the processing component 2011, the processing component 2011 is used to perform the operations performed by the optical line terminal body in the abnormal device detection method provided by the embodiment of the present application.
  • the memory 2013 may also include operating systems and other software modules and data required for running processes.
  • the communication interface 2014 uses a transceiver module such as but not limited to a transceiver to realize communication between the optical line terminal body 201 and other devices or communication networks.
  • the communication interface 2014 may be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card, and other devices with network access functions.
  • the bus 2015 is any type of communication bus used to interconnect internal devices (eg, memory 2013, processing component 2011, communication interface 2014) of the optical line terminal body 201.
  • system bus For example, system bus.
  • the embodiment of the present application takes the above-mentioned devices inside the optical line terminal body 201 as an example to be interconnected through the bus 2015.
  • the above-mentioned devices inside the optical line terminal body 201 communicate with each other using other connection methods besides the bus 2015.
  • the above-mentioned devices inside the optical line terminal body 201 are interconnected through logical interfaces inside the optical line terminal body 201 .
  • optical network terminal and optical line terminal can be respectively provided on independent chips, or at least part or all of them can be provided on the same chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the needs of product design.
  • the embodiments of this application do not limit the specific implementation forms of the above devices.
  • the descriptions of the processes corresponding to each of the above drawings have different emphases. For parts that are not detailed in a certain process, you can refer to the relevant descriptions of other processes.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product that provides a program development platform includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer device, the processes or functions of the abnormal device detection method provided by the embodiments of the present application are fully or partially implemented.
  • computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.
  • computer instructions may be transmitted over a wired connection from a website, computer, server or data center. (such as coaxial cable, optical fiber, digital subscriber line or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center.
  • the computer-readable storage medium stores information that provides a program development platform Computer program instructions.
  • the implementation process of the abnormal device detection method provided by the embodiment of the present application.
  • the working mode of the optical module needs to be switched to a working mode that matches the type of the abnormal device.
  • the optical module can switch working modes spontaneously or according to instructions from the optical line terminal body.
  • the following will first describe the implementation process of the abnormal device detection method for the case where the optical module switches the working mode according to the instructions of the optical line terminal body.
  • the implementation process may include the following steps:
  • Step 701 The optical module determines that there is an abnormal device in at least one user-side device with which it conducts optical communication.
  • the abnormal device is a user-side device in an abnormal working state.
  • the optical module can determine that there is an abnormal device in at least one user-side device that performs optical communication with the optical module when the status of the received signal is different from the status of the signal under normal circumstances. For example, because the abnormal device will continue to emit light, when there is no abnormal device in the at least one user-side device, the optical module will not receive the continuous signal generated by the continuous light emission. When there is an abnormal device in the at least one user-side device, the optical module will receive continuous signals generated by continuous light emission. Therefore, when the optical module receives continuous signals from the user-side device, it can determine that there is an abnormal device in the at least one user-side device.
  • the normal situation is a situation where at least one user-side device is in a normal working state. Abnormal equipment is in abnormal working condition.
  • the optical line terminal body can also determine by itself that there is an abnormal device in the at least one user-side device.
  • the optical line terminal body may determine that there is an abnormal device in the at least one user-side device when receiving an invalid signal from the optical module.
  • the optical line terminal body can also receive signals from When the cumulative duration of the invalid signal of the optical module reaches the duration threshold, it is determined that there is an abnormal device in the at least one user-side device.
  • invalid signals can be represented by situations where the format or length of the signal does not meet the regulations, resulting in the signal being unable to be parsed.
  • Step 702 The optical module obtains the type of the abnormal device.
  • the optical module adjusts its working mode so that it can correctly receive signals sent by abnormal devices. At this time, the optical module can first obtain the type of the abnormal device, and adjust the working mode to one that matches the type of the abnormal device based on the type.
  • the optical module can determine the type of abnormal device by itself.
  • the optical module includes: a signal processor.
  • all devices in the passive optical network work in the PON working mode, that is, the signal processor also works in the PON working mode.
  • the signal processor cannot Normal operation means that the signal processor works in an abnormal state.
  • the signal processor can work normally, that is, the signal processor works in a normal state. Therefore, the optical module can determine the type of abnormal device based on the working status of the signal processor. Among them, the working state is used to indicate that the signal processor is working in a normal state or an abnormal state.
  • the type of the abnormal device is a PON device.
  • the type of the abnormal device is other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment.
  • the signal processor working in an abnormal state has one or more of the following manifestations: the signal processor cannot perform clock recovery on the received signal, the equalizer coefficient of the signal processor does not converge, and the signal judged by the signal processor is wrong. .
  • the optical module may obtain the type of the abnormal device based on information sent by other devices indicating the type of the abnormal device.
  • the optical line terminal body can determine the type of the abnormal device and send information indicating the type of the abnormal device to the optical module, so that the optical module obtains the type of the abnormal device.
  • the optical line terminal body can obtain the working status of the signal processor in the optical module, and when the working status indicates that the signal processor is working in a normal state, determine that the type of the abnormal device is a PON device. Indicates that when the signal processor is working in an abnormal state, determine the type of the abnormal device to be other types of equipment except PON equipment.
  • Step 703 The optical module sends type information to the optical line terminal body.
  • the type information is used to indicate the type of the abnormal device.
  • the optical module After determining that an abnormal device exists in at least one user-side device that is in optical communication with the optical module, the optical module can send type information to the optical line terminal body to inform the optical line terminal body of the type of the abnormal device.
  • the main body of the optical line terminal includes a processing component
  • the optical module actually sends type information to the processing component.
  • the signal interaction between the optical module and the optical line terminal body in the embodiment of the present application is the signal interaction between the optical module and the processing component.
  • signals can be transmitted between the optical module and the optical line terminal body through the I2C bus, and the optical module can send type information to the optical line terminal body through the I2C bus.
  • the optical line terminal subject can also determine the type of abnormal equipment by itself.
  • the optical module does not need to send type information to the optical line terminal body.
  • the implementation method of the optical line terminal body determining the type of the abnormal device please refer to the relevant description in step 702, which will not be described again here.
  • Step 704 If the working mode of the optical module of the main body of the optical line terminal does not match the type of the abnormal device, send an adjustment instruction to the optical module.
  • the adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device. .
  • the optical line terminal body can obtain the working mode of the optical module, and determine whether the working mode of the optical module matches the type of the abnormal device based on the type information and the working mode of the optical module.
  • determining whether the working mode of the optical module matches the type of the abnormal device includes: when the type indicates that the abnormal device is a PON device, determining that the working mode of the optical module matches the type of the abnormal device. If the type indicates that the abnormal device is another type of device, determine that the working mode of the optical module does not match the type of the abnormal device.
  • the optical line terminal body can send a message to the optical module.
  • Send an adjustment instruction so that the optical module adjusts the working mode of the optical module to a working mode that matches the type of abnormal device according to the adjustment instruction, so that the optical module can correctly receive the signal sent by the abnormal device in the adjusted working mode.
  • the working mode that matches the type of the abnormal device may be the working mode of the abnormal device, or may be other working modes that enable the optical module to correctly receive signals sent by the abnormal device.
  • the optical line terminal body can send adjustment instructions to the optical module through the I2C bus.
  • the optical line terminal body is used to send an adjustment instruction to the controller, and the controller is used to instruct components in the optical module to perform relevant operations for adjusting the working mode of the optical module according to the adjustment instruction.
  • the optical line terminal body does not need to send adjustment instructions to the optical module.
  • the optical line terminal body can send a determination instruction to the optical module to notify the optical module that its working mode matches the type of the abnormal device.
  • the optical module receives the confirmation instruction, it can be determined that there is no need to adjust the working mode.
  • the determination instruction can also be sent via the I2C bus.
  • the optical line terminal body After the optical line terminal body receives the type information sent by the optical module, the optical line terminal body can control at least one user-side device to stop communicating with the optical module, so as to achieve the purpose of controlling the at least one user-side device to stop communicating with the optical line terminal body. In this way, normal user-side equipment will stop communicating with the optical module according to the control of the optical line terminal body, while abnormal equipment will still communicate with the optical module because it is not controlled by the optical line terminal body.
  • the optical line terminal body controls at least one user-side device to stop communicating with the optical module, including: sending a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
  • the shutdown instruction is used to instruct to shut down at least one user-side device.
  • Normal user-side equipment will stop working after receiving the shutdown command, and will not send signals to the optical line terminal body. This achieves the purpose of controlling the user-side equipment to stop communicating with the optical line terminal body.
  • the optical line terminal body controls at least one user-side device to stop communicating with the optical module, including: stopping authorization to at least one user-side device.
  • the optical line terminal body does not authorize the user-side equipment, normal user-side equipment cannot send signals to the optical line terminal, thereby achieving the purpose of controlling the user-side equipment to stop communicating with the optical line terminal.
  • Step 705 When receiving the adjustment instruction sent by the optical line terminal body based on the type information, the optical module determines that the working mode of the optical module does not match the type of the abnormal device, and adjusts the working mode of the optical module to match the type of the abnormal device. Operating mode.
  • the optical module After receiving the adjustment instruction sent by the optical line terminal body, the optical module can determine that the working mode of the optical module does not match the type of the abnormal device, and adjust the working mode of the optical module to a working mode that matches the type of the abnormal device. Moreover, when the optical module includes a controller, the controller can make a decision to adjust the working mode of the optical module according to the adjustment instruction, and the controller instructs the relevant components in the optical module to perform relevant operations for adjusting the working mode of the optical module. . It should be noted that if the working mode of the optical module matches the type of the abnormal device, there is no need to perform step 705.
  • the optical module includes: a signal processor. Adjusting the working mode of the optical module mainly refers to adjusting the working mode of the signal processor.
  • the optical module further includes two or more signal generators, one of the two or more signal generators is used to generate a clock signal of the first frequency, and the clock signal of the first frequency Matches the type of unusual device.
  • adjusting the working mode of the optical module to a working mode matching the type of the abnormal device includes: providing a clock signal of the first frequency to the signal processor.
  • the optical module when the optical module also includes a signal gating component, the optical module can switch the clock signal provided to the signal processor through the signal gating component to adjust the working mode of the optical module.
  • the signal gating component can control the signal generator that generates a clock signal of 155.52MHz or its multiplication frequency or division frequency, and provides the clock signal to the signal processor so that the optical module works in the PON operating mode.
  • the signal gating component can control the signal generator that generates the clock signal of 156.25MHz or its multiplication frequency or frequency division frequency, and provides the clock signal to the signal processor, so that the optical module works in the Ethernet working mode.
  • the optical module may also include a signal generator, which can generate clock signals required for multiple working modes in a time-sharing manner based on the basic clock signal, and provide the generated clock signal to the signal processor.
  • a signal generator which can generate clock signals required for multiple working modes in a time-sharing manner based on the basic clock signal, and provide the generated clock signal to the signal processor.
  • the signal generator is used to generate a clock signal of 156.25MHz or its multiplication frequency or frequency division frequency.
  • the signal generator is used Generate a clock signal of 155.52MHz or its multiple frequency or division frequency.
  • the optical module may not include a signal gating component.
  • Step 706 The optical module continues to receive signals from at least one user-side device in an operating mode that matches the type of the abnormal device. The signal is used to determine the address of the abnormal device.
  • the optical module can continue to receive signals from the user-side equipment, so as to determine the address of the abnormal device based on the signal.
  • the optical module can continue to receive signals from the user-side device in the adjusted working mode.
  • the optical module can continue to receive signals from the user-side device in the Ethernet working mode.
  • the optical module continues to receive signals from user-side equipment in the PON working mode.
  • Step 707 The optical module forwards the signal to the optical line terminal body.
  • the optical module when the optical module receives a signal in the adjusted working mode, the optical module forwards the signal to the optical line terminal body, which may include: the optical module converts the signal into a signal in the PON working mode, and forwards the signal to the main body of the optical line terminal.
  • the main body of the optical line terminal forwards signals in the PON working mode. In this way, the main body of the optical line terminal can still work in the PON working mode, that is, the main body of the optical line terminal does not need to follow the optical module to adjust the working mode.
  • the optical line terminal body can be connected to multiple optical modules, when the optical line terminal body does not need to follow the optical module to adjust the working mode, the optical line terminal body can still communicate normally with user-side equipment connected to other optical modules, further ensuring User-side equipment connected to other optical modules can work normally.
  • the optical module When the optical module includes a signal conversion component, the signal can be converted into a PON operating mode signal through the signal conversion component, and the converted signal can be forwarded to the optical line terminal body.
  • the signal conversion component can be an asynchronous first-in-first-out component.
  • the first-in-first-out component can realize conversion of the signal by performing a clock domain transition operation on the signal.
  • the optical module can also include: serializer-deserializer.
  • the signal converted by the first-in first-out component can be forwarded to the optical line terminal body through the serializer-deserializer.
  • the signal processor is a general-purpose processor
  • the signal conversion operation may be performed by the general-purpose processor.
  • Step 708 The optical line terminal body determines the address of the abnormal device based on the signal.
  • the optical line terminal body After the optical line terminal body receives the signal forwarded by the optical module, it can analyze the signal to obtain the address of the abnormal device (such as MAC address). After obtaining the address of the abnormal device, the abnormal device can be controlled and isolated based on the address. For example, the user is notified to promptly replace or unplug the abnormal equipment, or the operation and maintenance personnel unplug the branch fiber of the abnormal equipment, etc.
  • the address of the abnormal device such as MAC address
  • the abnormal device can be controlled and isolated based on the address. For example, the user is notified to promptly replace or unplug the abnormal equipment, or the operation and maintenance personnel unplug the branch fiber of the abnormal equipment, etc.
  • the optical line terminal body may not determine the address of the abnormal device based on the signal.
  • the optical module or other device may determine the address of the abnormal device based on the signal.
  • the optical module may not forward the signal to the optical line terminal body, that is, there is no need to perform step 707.
  • the optical module can forward the signal to the other device.
  • the above method for detecting abnormal equipment is based on the situation where the optical module switches the working mode according to the instructions of the optical line terminal body.
  • the implementation process of the method is explained.
  • the following describes the implementation process of the abnormal device detection method for the case where the optical module spontaneously switches working modes.
  • the implementation process may include the following steps:
  • Step 801 The optical module determines that there is an abnormal device in at least one user-side device with which it conducts optical communication.
  • the abnormal device is a user-side device in an abnormal working state.
  • step 801 For the implementation process of step 801, please refer to the corresponding description in step 701, which will not be described again here.
  • Step 802 The optical module obtains the type of the abnormal device.
  • step 802 For the implementation process of step 802, please refer to the corresponding description in step 702, which will not be described again here.
  • the optical module determines the type of the abnormal device, it can also send type information to the optical line terminal body.
  • the optical line terminal body may also control at least one user-side device that is in optical communication with the optical module to stop communicating with the optical module.
  • the implementation method of controlling the at least one user-side device to stop communicating with the optical module may also refer to the relevant description in the aforementioned step 704.
  • Step 803 If the working mode of the optical module does not match the type of the abnormal device, the optical module spontaneously adjusts the working mode of the optical module to a working mode that matches the type of the abnormal device.
  • the optical module After determining the type of the abnormal device, the optical module can obtain the working mode of the optical module, and when the working mode of the optical module does not match the type of the abnormal device, it can spontaneously adjust the working mode of the optical module to match the type of the abnormal device. working mode.
  • the optical module includes a controller, after determining that the working mode of the optical module does not match the type of the abnormal device, the controller can instruct the components in the optical module to perform related operations of adjusting the working mode of the optical module.
  • Step 804 The optical module continues to receive signals from at least one user-side device in an operating mode that matches the type of the abnormal device. The signal is used to determine the address of the abnormal device.
  • step 804 For the implementation process of step 804, please refer to the corresponding description in step 706, which will not be described again here.
  • Step 805 The optical module forwards the signal to the optical line terminal body.
  • step 805 For the implementation process of step 805, please refer to the corresponding description in step 707, which will not be described again here.
  • Step 806 The optical line terminal body determines the address of the abnormal device based on the signal.
  • step 806 please refer to the corresponding description in step 708, which will not be described again here.
  • the optical module when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, Obtaining the type of the abnormal device and continuing to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device can facilitate determining the address of the abnormal device based on the signal.
  • All user-side equipment connected to the main body of the optical line terminal connected to the module avoids interrupting the services of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the number of optical line terminals connected to the optical module.
  • the business impact of the main connected optical network terminal helps to improve user experience.
  • an optical line terminal body is connected to 16 optical modules, and each optical module can connect 16-64 user-side devices.
  • each optical module can connect 16-64 user-side devices.
  • the abnormal device detection method provided by the embodiments of the present application, only the user-side equipment connected to one optical module will be affected, greatly reducing the number of affected user-side devices, allowing the main body of the optical line terminal to pass through other optical modules. All connected user-side devices can work normally, Effectively reduce the impact on the business of user-side equipment.
  • optical module 90 This application provides an optical module.
  • the optical module can be deployed in optical line terminals.
  • the optical module is used for optical communication with at least one user-side device.
  • the optical module 90 includes:
  • the determination module 901 is used to determine that there is an abnormal device in at least one user-side device and that the abnormal device is in an abnormal working state.
  • Obtaining module 902 is used to obtain the type of abnormal device.
  • the adjustment module 903 is used to adjust the working mode of the optical module to a working mode that matches the type of the abnormal device if the working mode of the optical module does not match the type of the abnormal device.
  • the receiving module 904 is configured to continue to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device, and the signal is used to determine the address of the abnormal device.
  • the optical module includes: a signal processor.
  • obtain module 902 which is specifically used to: determine the type of abnormal equipment based on the working status of the signal processor.
  • the working status is used to indicate whether the signal processor is working in a normal state or an abnormal state.
  • the type of the abnormal device is a PON device.
  • the type of abnormal device is other types of equipment except PON equipment, and other types of equipment include Ethernet equipment.
  • the optical module 90 also includes: a sending module 905, configured to send type information to the optical line terminal body in the optical line terminal, where the type information is used to indicate the type of the abnormal device.
  • a sending module 905 configured to send type information to the optical line terminal body in the optical line terminal, where the type information is used to indicate the type of the abnormal device.
  • the adjustment module 903 is specifically used to: when receiving the adjustment instruction sent by the optical line terminal body based on the type information, determine that the working mode of the optical module does not match the type of the abnormal device, and adjust the working mode of the optical module to match the type of the abnormal device.
  • the type matches the working mode.
  • the adjustment module 903 is specifically configured to: if the working mode of the optical module does not match the type of the abnormal device, spontaneously adjust the working mode of the optical module to a working mode that matches the type of the abnormal device.
  • the working mode of the optical module is consistent with the type of the abnormal device. Matching. When the type indicates that the abnormal device is another type of device, the working mode of the optical module does not match the type of the abnormal device.
  • the sending module 905 is used to forward the signal to the optical line terminal body in the optical line terminal.
  • the sending module 905 is specifically configured to: convert the signal into a PON working mode signal, and forward the PON working mode signal to the optical line terminal body.
  • the optical module includes: a signal processor, and two or more signal generators.
  • One of the two or more signal generators is used to generate a clock signal of the first frequency.
  • the adjustment module 903 is specifically configured to: provide a clock signal of the first frequency to the signal processor.
  • the determination module 901 is specifically configured to determine that an abnormal device exists in at least one user-side device when receiving continuous signals from the user-side device.
  • the determining module can determine that there is an abnormal device in the at least one user-side device, and the obtaining module obtains Depending on the type of the abnormal device, the receiving module continues to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device, which can facilitate determining the address of the abnormal device based on the signal. And, perform the above operations through the optical module, It is only necessary to operate at least one user-side device that is in optical communication with the optical module. There is no need to operate all the user-side devices connected to the main body of the optical line terminal connected to the optical module.
  • All user-side equipment avoids interrupting the business of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the business interruption of the optical network terminal connected to the main body of the optical line terminal connected to the optical module. Impact, helping to improve user experience.
  • optical line terminal body 110 This application provides an optical line terminal body.
  • the optical line terminal body may be deployed in the optical line terminal.
  • the optical line terminal body 110 includes:
  • the acquisition module 1101 is used to acquire the working mode of the optical module.
  • the receiving module 1102 is configured to receive type information sent by the optical module.
  • the type information is used to indicate the type of the abnormal device.
  • the abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device is in an abnormal working state. .
  • the sending module 1103 is used to send an adjustment instruction to the optical module if the working mode of the optical module does not match the type of the abnormal device.
  • the adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
  • the optical line terminal body 110 also includes: a control module 1104, used to control at least one user-side device to stop communicating with the optical module.
  • control module 1104 is specifically configured to: send a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
  • control module 1104 is specifically configured to: stop authorizing at least one user-side device.
  • the sending module can send an adjustment instruction to the optical module according to the type information and the working mode of the optical module, so that the optical module adjusts the working module to be consistent with the adjustment instruction.
  • the abnormal device type matches the working mode, and receives the signal of the abnormal device in the working mode matching the abnormal device type, so as to determine the address of the abnormal device based on the signal.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium is a non-volatile computer-readable storage medium.
  • the computer-readable storage medium includes program instructions. When the program instructions are run on a computer device At this time, the computer device is caused to execute the abnormal device detection method provided by the embodiment of the present application.
  • An embodiment of the present application also provides a computer program product containing instructions.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute the abnormal device detection method provided by the embodiment of the present application.
  • the terms “first”, “second” and “third” are only used for description purposes and cannot be understood as indicating or implying relative importance.
  • the term “at least one” refers to one or more, and the term “plurality” refers to two or more, unless expressly limited otherwise.
  • the information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • signals involved in this application All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The present application provides an abnormal equipment detection method, an optical module and an optical line terminal body, and relates to the technical field of passive optical networks. The method is applied to any optical module in an optical line terminal, the optical module is in optical communication with at least one user equipment, and the method comprises: determining that abnormal equipment exists in the at least one user equipment, and the abnormal equipment is in an abnormal working state; obtaining the type of the abnormal equipment; if a working mode of the optical module is not matched with the type of the abnormal equipment, adjusting the working mode of the optical module to a working mode matching the type of the abnormal equipment; and in the working mode matching the type of the abnormal equipment, continuing to receive a signal from the at least one user equipment, the signal being used for determining an address of the abnormal equipment. According to the present application, the service of interrupting user equipment other than the at least one user equipment connected to the optical module is avoided, and the normal work of the other user equipment is ensured.

Description

异常设备的检测方法、光模块、光线路终端主体Abnormal equipment detection methods, optical modules, optical line terminal bodies
本申请要求于2022年5月9日提交中国国家知识产权局、申请号为202210501407.7、申请名称为“异常设备的检测方法、光模块、光线路终端主体”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requests the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on May 9, 2022, with the application number 202210501407.7 and the application name "Abnormal Equipment Detection Method, Optical Module, Optical Line Terminal Main Body", all of which The contents are incorporated into this application by reference.
技术领域Technical field
本申请涉及无源光网络技术领域,特别涉及一种异常设备的检测方法、光模块、光线路终端主体。The present application relates to the field of passive optical network technology, and in particular to a method for detecting abnormal equipment, an optical module, and an optical line terminal body.
背景技术Background technique
无源光网络(passive optical network,PON)包括光线路终端(optical line termination,OLT)、光配线网(optical distribution network,ODN)以及多个光网络终端(optical network termination,ONT)。OLT包括PON单板和光模块。并且,OLT可以包括多个PON单板。每个PON单板均通过多个光模块与用户侧设备进行光通信,且每个光模块可以与至少一个用户侧设备进行光通信。Passive optical network (PON) includes optical line termination (OLT), optical distribution network (ODN) and multiple optical network termination (ONT). OLT includes PON boards and optical modules. Furthermore, the OLT may include multiple PON boards. Each PON board carries out optical communication with user-side equipment through multiple optical modules, and each optical module can carry out optical communication with at least one user-side equipment.
目前,当与OLT某个PON单板进行通信的至少一个用户侧设备中存在处于异常工作状态的异常设备时,例如,当存在工作在以太模式下的用户终端设备(customer premise equipment,CPE),OLT上该PON单板会指示与其连接的所有用户侧设备关闭。并且,在指示关闭用户侧设备后,PON单板可以根据用户侧设备与PON单板的信息交互,确定异常设备的地址,以便于根据该地址对异常设备进行维护。Currently, when there is an abnormal device in an abnormal working state in at least one user-side device communicating with a certain PON board of the OLT, for example, when there is a customer premise equipment (CPE) working in Ethernet mode, The PON board on the OLT will instruct all user-side equipment connected to it to shut down. Moreover, after being instructed to shut down the user-side device, the PON board can determine the address of the abnormal device based on the information interaction between the user-side device and the PON board, so as to facilitate maintenance of the abnormal device based on the address.
但是,这样会导致与该PON单板进行光通信的所有用户侧设备都无法正常工作。However, this will cause all user-side equipment that optically communicates with the PON board to fail to work properly.
发明内容Contents of the invention
本申请提供了一种异常设备的检测方法、光模块、光线路终端主体。本申请避免了中断除该光模块连接的至少一个用户侧设备外的其他用户侧设备的业务,保证了该其他用户侧设备均能够正常工作。本申请提供的技术方案如下:This application provides a method for detecting abnormal equipment, an optical module, and an optical line terminal body. This application avoids interrupting the services of other user-side devices except at least one user-side device connected to the optical module, and ensures that the other user-side devices can work normally. The technical solutions provided by this application are as follows:
第一方面,本申请提供了一种异常设备的检测方法。该方法应用于光线路终端中的任一光模块,该光模块与至少一个用户侧设备进行光通信。该方法包括:确定至少一个用户侧设备中存在异常设备,异常设备处于异常工作状态;获得异常设备的类型;若光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式;在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,信号用于确定异常设备的地址。In the first aspect, this application provides a method for detecting abnormal equipment. The method is applied to any optical module in the optical line terminal, and the optical module performs optical communication with at least one user-side device. The method includes: determining that there is an abnormal device in at least one user-side device and that the abnormal device is in an abnormal working state; obtaining the type of the abnormal device; if the working mode of the optical module does not match the type of the abnormal device, adjusting the working mode of the optical module to The working mode matches the type of the abnormal device; in the working mode matching the type of the abnormal device, continue to receive a signal from at least one user-side device, and the signal is used to determine the address of the abnormal device.
在本申请提供的异常设备的检测方法中,在光模块与至少一个用户侧设备进行光通信的情况下,光模块能够确定该至少一个用户侧设备中存在异常设备,获得异常设备的类型,并在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,能够便于根据该信号确定异常设备的地址。并且,通过光模块执行以上操作,只需要对与该光模块进行光通信的至少一个用户侧设备进行操作,无需对光模块连接的光线路终端主体连接的所有用户侧设备进行操作,无需关闭光模块连接的光线路终端主体连接的所有用户侧设备,避 免了中断其他用户侧设备的业务,保证了该其他用户侧设备均能够正常工作,有效地减小了对该光模块连接的光线路终端主体连接的光网络终端的业务的影响,有助于提高用户体验。In the abnormal device detection method provided by this application, when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, obtain the type of the abnormal device, and In the working mode that matches the type of the abnormal device, continuing to receive signals from at least one user-side device can facilitate determining the address of the abnormal device based on the signal. Moreover, to perform the above operations through an optical module, you only need to operate at least one user-side device that performs optical communication with the optical module. There is no need to operate all user-side devices connected to the main body of the optical line terminal connected to the optical module, and there is no need to turn off the optical module. All user-side equipment connected to the main body of the optical line terminal connected to the module should be avoided. It avoids interrupting the business of other user-side equipment, ensuring that the other user-side equipment can work normally, effectively reducing the impact on the business of the optical network terminal connected to the main body of the optical line terminal connected to the optical module, and conducive to Improve user experience.
在一种可实现方式中,光模块包括:信号处理器。则获得异常设备的类型,包括:基于信号处理器的工作状态,确定异常设备的类型,工作状态用于指示信号处理器工作在正常状态或异常状态。例如,当工作状态指示信号处理器工作在正常状态时,异常设备的类型为PON设备;当工作状态指示信号处理器工作在异常状态时,异常设备的类型为除PON设备外的其他类型的设备,其他类型的设备包括以太设备。In an implementation manner, the optical module includes: a signal processor. Then, the type of the abnormal device is obtained, including: determining the type of the abnormal device based on the working status of the signal processor. The working status is used to indicate whether the signal processor is working in a normal state or an abnormal state. For example, when the working status indicates that the signal processor is working in a normal state, the type of abnormal device is PON equipment; when the working status indicates that the signal processor is working in an abnormal state, the type of abnormal device is other types of equipment except PON equipment. , other types of devices include Ethernet devices.
其中,信号处理器工作在异常状态具有以下一种或多种表现:信号处理器无法对接收的信号进行时钟恢复、信号处理器的均衡器系数不收敛、经过信号处理器判决的信号是错误的。Among them, the signal processor working in an abnormal state has one or more of the following manifestations: the signal processor cannot perform clock recovery on the received signal, the equalizer coefficient of the signal processor does not converge, and the signal judged by the signal processor is wrong. .
光模块在确定与光模块进行光通信的至少一个用户侧设备中存在异常设备后,可以向光线路终端主体发送类型信息,以告知光线路终端主体异常设备的类型,使得光线路终端主体根据该类型信息确定光模块的工作模式与异常设备的类型是否匹配。After determining that an abnormal device exists in at least one user-side device that is in optical communication with the optical module, the optical module can send type information to the optical line terminal body to inform the optical line terminal body of the type of the abnormal device, so that the optical line terminal body can act according to the The type information determines whether the working mode of the optical module matches the type of the abnormal device.
光线路终端主体接收光模块发送的类型信息后,可以获取光模块的工作模式,并根据类型信息和光模块的工作模式,确定光模块的工作模式与异常设备的类型是否匹配。在一种可实现方式中,异常设备的类型包括:PON设备或除PON设备外的其他类型的设备,其他类型的设备包括以太设备。此时,确定光模块的工作模式与异常设备的类型是否匹配的实现方式包括:当类型指示异常设备为PON设备时,确定光模块的工作模式与异常设备的类型匹配,当类型指示异常设备为其他类型的设备时,确定光模块的工作模式与异常设备的类型不匹配。After receiving the type information sent by the optical module, the optical line terminal body can obtain the working mode of the optical module, and determine whether the working mode of the optical module matches the type of the abnormal device based on the type information and the working mode of the optical module. In an implementation manner, the types of abnormal devices include: PON devices or other types of devices except PON devices, and other types of devices include Ethernet devices. At this time, the implementation method of determining whether the working mode of the optical module matches the type of the abnormal device includes: when the type indicates that the abnormal device is a PON device, determining whether the working mode of the optical module matches the type of the abnormal device, and when the type indicates that the abnormal device is When using other types of equipment, it is determined that the working mode of the optical module does not match the type of abnormal equipment.
光线路终端主体在确定光模块的工作模式与异常设备的类型不匹配后,可以向光模块发送调整指令,使得光模块根据该调整指令将光模块的工作模式调整为与异常设备的类型匹配的工作模式,以便于光模块能够在调整后的工作模式正确接收异常设备发送的信号。其中,与异常设备的类型匹配的工作模式可以为异常设备的工作模式,或者,可以为其他能够使光模块正确接收到异常设备发送的信号的其他工作模式。After determining that the working mode of the optical module does not match the type of the abnormal device, the optical line terminal body can send an adjustment instruction to the optical module, so that the optical module adjusts the working mode of the optical module to match the type of the abnormal device according to the adjustment instruction. Working mode so that the optical module can correctly receive signals sent by abnormal devices in the adjusted working mode. The working mode that matches the type of the abnormal device may be the working mode of the abnormal device, or may be other working modes that enable the optical module to correctly receive signals sent by the abnormal device.
此时,若光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式,包括:在接收到光线路终端主体基于类型信息发送的调整指令时,确定光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式。At this time, if the working mode of the optical module does not match the type of the abnormal device, adjust the working mode of the optical module to a working mode that matches the type of the abnormal device, including: adjusting based on the type information sent by the optical line terminal body after receiving When issuing an instruction, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
在另一种可实现方式中,若光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式,包括:若光模块的工作模式与异常设备的类型不匹配,自发地将光模块的工作模式调整为与异常设备的类型匹配的工作模式。In another possible implementation, if the working mode of the optical module does not match the type of the abnormal device, the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device, including: if the working mode of the optical module matches the type of the abnormal device, If the type of the abnormal device does not match, the operating mode of the optical module is automatically adjusted to the working mode that matches the type of the abnormal device.
可选地,在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号之后,该方法还包括:向光线路终端中的光线路终端主体转发信号,以便于光线路终端主体根据该信号确定异常设备的地址。Optionally, after continuing to receive signals from at least one user-side device in an operating mode matching the type of the abnormal device, the method further includes: forwarding the signal to the optical line terminal body in the optical line terminal, so that the optical line The terminal subject determines the address of the abnormal device based on this signal.
在一种可实现方式中,当光模块在调整后的工作模式下接收的信号时,光模块向光线路终端主体转发信号,可以包括:光模块将信号转换为PON工作模式的信号,并向光线路终端主体转发PON工作模式的信号。In an implementable manner, when the optical module receives a signal in the adjusted working mode, the optical module forwards the signal to the optical line terminal body, which may include: the optical module converts the signal into a signal in the PON working mode, and forwards the signal to the main body of the optical line terminal. The main body of the optical line terminal forwards signals in the PON working mode.
这样一来,光线路终端主体仍可以工作在PON工作模式,即光线路终端主体无需跟随光模块调整工作模式。并且,由于光线路终端主体可以与多个光模块连接,当光线路终端主体不需要跟随光模块调整工作模式时,光线路终端主体仍能够与其他光模块连接的用户侧设备正常通信,进一步保证了其他光模块连接的用户侧设备能够正常工作。In this way, the main body of the optical line terminal can still work in the PON working mode, that is, the main body of the optical line terminal does not need to follow the optical module to adjust the working mode. Moreover, since the optical line terminal body can be connected to multiple optical modules, when the optical line terminal body does not need to follow the optical module to adjust the working mode, the optical line terminal body can still communicate normally with user-side equipment connected to other optical modules, further ensuring User-side equipment connected to other optical modules can work normally.
在一种可实现方式中,若光模块包括:信号处理器,以及,两个或两个以上信号生成器, 且两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,第一频率的时钟信号与异常设备的类型匹配,则将光模块的工作模式调整为与异常设备的类型匹配的工作模式,包括:向信号处理器提供第一频率的时钟信号。In an implementation manner, if the optical module includes: a signal processor, and two or more signal generators, And one of the two or more signal generators is used to generate a clock signal of the first frequency. If the clock signal of the first frequency matches the type of the abnormal device, then the working mode of the optical module is adjusted to match the type of the abnormal device. The matching working mode includes: providing a first frequency clock signal to the signal processor.
可选地,光模块可以在接收的信号的状态与正常情况下信号的状态不同时,确定与光模块进行光通信的至少一个用户侧设备中存在异常设备。例如,由于异常设备会持续发光,则当该至少一个用户侧设备中不存在异常设备时,光模块不会接收到因持续发光产生的连续信号,当该至少一个用户侧设备中存在异常设备时,光模块会接收到因持续发光产生的连续信号。因此,确定至少一个用户侧设备中存在异常设备,包括:在接收到来自用户侧设备的连续信号时,确定至少一个用户侧设备中存在异常设备。Optionally, the optical module may determine that there is an abnormal device in at least one user-side device that performs optical communication with the optical module when the status of the received signal is different from the status of the signal under normal circumstances. For example, because the abnormal device will continue to emit light, when there is no abnormal device in the at least one user-side device, the optical module will not receive the continuous signal generated by the continuous light emission. When there is an abnormal device in the at least one user-side device, , the optical module will receive continuous signals generated by continuous light emission. Therefore, determining that an abnormal device exists in at least one user-side device includes: determining that an abnormal device exists in at least one user-side device when receiving a continuous signal from the user-side device.
第二方面,本申请提供了一种异常设备的检测方法。该方法应用于光线路终端中的任一光线路终端主体。该方法包括:获取光模块的工作模式;接收光模块发送的类型信息,类型信息用于指示异常设备的类型,异常设备为与光模块进行光通信的至少一个用户侧设备中的一个,且异常设备处于异常工作状态;若光模块的工作模式与异常设备的类型不匹配,向光模块发送调整指令,调整指令用于指示将光模块的工作模式调整为与异常设备的类型匹配的工作模式。In the second aspect, this application provides a method for detecting abnormal equipment. This method is applied to any optical line terminal body in the optical line terminal. The method includes: obtaining the working mode of the optical module; receiving type information sent by the optical module, the type information is used to indicate the type of an abnormal device, the abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device The device is in an abnormal working state; if the working mode of the optical module does not match the type of the abnormal device, an adjustment command is sent to the optical module. The adjustment command is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
在本申请提供的异常设备的检测方法中,光线路终端主体可以根据类型信息和光模块的工作模式,向光模块发送调整指令,使得光模块根据该调整指令将工作模块调整为与异常设备的类型匹配的工作模式,并在与异常设备的类型匹配的工作模式下接收异常设备的信号,以便于根据该信号确定异常设备的地址。In the abnormal device detection method provided by this application, the optical line terminal body can send an adjustment instruction to the optical module according to the type information and the working mode of the optical module, so that the optical module adjusts the working module to the type of the abnormal device according to the adjustment instruction. Match the working mode, and receive the signal of the abnormal device in the working mode that matches the type of the abnormal device, so as to determine the address of the abnormal device based on the signal.
由于异常设备发送的信号与正常工作的用户侧设备发送的信号会互相干扰,因此,光线路终端主体在接收光模块发送的类型信息之后,该方法还包括:控制至少一个用户侧设备停止与光模块通信。Since signals sent by abnormal devices and signals sent by normally working user-side devices interfere with each other, after the optical line terminal body receives the type information sent by the optical module, the method also includes: controlling at least one user-side device to stop communicating with the optical module. module communication.
在一种实现方式中,控制至少一个用户侧设备停止与光模块通信,包括:向至少一个用户侧设备发送关闭指令,关闭指令用于指示关闭至少一个用户侧设备。In one implementation, controlling at least one user-side device to stop communicating with the optical module includes: sending a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
在另一种实现方式中,控制至少一个用户侧设备停止与光模块通信,包括:停止向至少一个用户侧设备授权。In another implementation, controlling at least one user-side device to stop communicating with the optical module includes: stopping authorization to at least one user-side device.
第三方面,本申请提供了一种光模块。该光模块部署在光线路终端中,该光模块与至少一个用户侧设备进行光通信。该光模块包括:确定模块,用于确定至少一个用户侧设备中存在异常设备,异常设备处于异常工作状态;获得模块,用于获得异常设备的类型;调整模块,用于若光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式;接收模块,用于在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,信号用于确定异常设备的地址。In a third aspect, this application provides an optical module. The optical module is deployed in the optical line terminal, and the optical module performs optical communication with at least one user-side device. The optical module includes: a determining module, used to determine that there is an abnormal device in at least one user-side device, and the abnormal device is in an abnormal working state; an obtaining module, used to obtain the type of the abnormal device; and an adjusting module, used to determine the working mode of the optical module does not match the type of the abnormal device, adjust the working mode of the optical module to a working mode that matches the type of the abnormal device; the receiving module is used to continue to receive data from at least one user side in the working mode that matches the type of the abnormal device. The signal of the device is used to determine the address of the abnormal device.
可选地,光模块包括:信号处理器,获得模块,具体用于:基于信号处理器的工作状态,确定异常设备的类型,工作状态用于指示信号处理器工作在正常状态或异常状态。Optionally, the optical module includes: a signal processor and an acquisition module, specifically configured to: determine the type of abnormal equipment based on the working status of the signal processor. The working status is used to indicate that the signal processor is working in a normal state or an abnormal state.
可选地,当工作状态指示信号处理器工作在正常状态时,异常设备的类型为PON设备;当工作状态指示信号处理器工作在异常状态时,异常设备的类型为除PON设备外的其他类型的设备,其他类型的设备包括以太设备。Optionally, when the working status indicates that the signal processor is working in a normal state, the type of the abnormal device is a PON device; when the working status indicates that the signal processor is working in an abnormal state, the type of the abnormal device is other types except PON equipment. devices, other types of devices include Ethernet devices.
可选地,光模块还包括:发送模块,用于向光线路终端中的光线路终端主体发送类型信息,类型信息用于指示异常设备的类型;调整模块,具体用于:在接收到光线路终端主体基于类型信息发送的调整指令时,确定光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式。 Optionally, the optical module also includes: a sending module, used to send type information to the optical line terminal body in the optical line terminal, and the type information is used to indicate the type of the abnormal device; an adjustment module, specifically used to: after receiving the optical line When the terminal body sends an adjustment instruction based on the type information, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
可选地,调整模块,具体用于:若光模块的工作模式与异常设备的类型不匹配,自发地将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Optionally, the adjustment module is specifically configured to: if the working mode of the optical module does not match the type of the abnormal device, spontaneously adjust the working mode of the optical module to a working mode that matches the type of the abnormal device.
可选地,类型包括:PON设备或除PON设备外的其他类型的设备,其他类型的设备包括以太设备;当类型指示异常设备为PON设备时,光模块的工作模式与异常设备的类型匹配;当类型指示异常设备为其他类型的设备时,光模块的工作模式与异常设备的类型不匹配。Optionally, the type includes: PON equipment or other types of equipment except PON equipment. Other types of equipment include Ethernet equipment; when the type indicates that the abnormal device is a PON device, the working mode of the optical module matches the type of the abnormal device; When the type indicates that the abnormal device is another type of device, the working mode of the optical module does not match the type of the abnormal device.
可选地,光模块还包括:发送模块,用于向光线路终端中的光线路终端主体转发信号。Optionally, the optical module further includes: a sending module, configured to forward signals to the optical line terminal body in the optical line terminal.
可选地,发送模块,具体用于:将信号转换为PON工作模式的信号,向光线路终端主体转发PON工作模式的信号。Optionally, the sending module is specifically used to: convert the signal into a PON working mode signal, and forward the PON working mode signal to the optical line terminal body.
可选地,光模块包括:信号处理器,以及,两个或两个以上信号生成器,两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,第一频率的时钟信号与异常设备的类型匹配,调整模块,具体用于:向信号处理器提供第一频率的时钟信号。Optionally, the optical module includes: a signal processor, and two or more signal generators. One of the two or more signal generators is used to generate a clock signal of the first frequency. The clock signal matches the type of the abnormal device, and the adjustment module is specifically used to: provide a clock signal of the first frequency to the signal processor.
可选地,确定模块,具体用于:在接收到来自用户侧设备的连续信号时,确定至少一个用户侧设备中存在异常设备。Optionally, the determining module is specifically configured to: determine that an abnormal device exists in at least one user-side device when receiving continuous signals from the user-side device.
第四方面,本申请提供了一种光线路终端主体,光线路终端主体部署在光线路终端中,光线路终端主体包括:获取模块,用于获取光模块的工作模式;接收模块,用于接收光模块发送的类型信息,类型信息用于指示异常设备的类型,异常设备为与光模块进行光通信的至少一个用户侧设备中的一个,且异常设备处于异常工作状态;发送模块,用于若光模块的工作模式与异常设备的类型不匹配,向光模块发送调整指令,调整指令用于指示将光模块的工作模式调整为与异常设备的类型匹配的工作模式。In the fourth aspect, this application provides an optical line terminal body. The optical line terminal body is deployed in the optical line terminal. The optical line terminal body includes: an acquisition module for acquiring the working mode of the optical module; a receiving module for receiving Type information sent by the optical module. The type information is used to indicate the type of the abnormal device. The abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device is in an abnormal working state; the sending module is used if If the working mode of the optical module does not match the type of the abnormal device, an adjustment instruction is sent to the optical module. The adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
可选地,光线路终端主体还包括:控制模块,用于控制至少一个用户侧设备停止与光模块通信。Optionally, the optical line terminal body further includes: a control module, configured to control at least one user-side device to stop communicating with the optical module.
可选地,控制模块,具体用于:向至少一个用户侧设备发送关闭指令,关闭指令用于指示关闭至少一个用户侧设备。Optionally, the control module is specifically configured to: send a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
可选地,控制模块,具体用于:停止向至少一个用户侧设备授权。Optionally, the control module is specifically configured to: stop authorizing at least one user-side device.
第五方面,本申请提供了一种光模块,包括存储器和信号处理器,存储器存储有程序指令,信号处理器运行程序指令以执行本申请第一方面以及其任一种可能的实现方式中提供的方法。In a fifth aspect, this application provides an optical module, including a memory and a signal processor. The memory stores program instructions, and the signal processor runs the program instructions to execute the first aspect of this application and any possible implementation thereof. Methods.
第六方面,本申请提供了一种光线路终端主体,包括存储器和处理组件,存储器存储有程序指令,处理组件运行程序指令以执行本申请第二方面以及其任一种可能的实现方式中提供的方法。In a sixth aspect, the present application provides an optical line terminal body, including a memory and a processing component. The memory stores program instructions, and the processing component runs the program instructions to execute the second aspect of the present application and any possible implementation thereof. Methods.
第七方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质为非易失性计算机可读存储介质,该计算机可读存储介质包括程序指令,当程序指令在计算机设备上运行时,使得计算机设备执行本申请第一方面、第二方面以及其任一种可能的实现方式中提供的方法。In a seventh aspect, the application provides a computer-readable storage medium. The computer-readable storage medium is a non-volatile computer-readable storage medium. The computer-readable storage medium includes program instructions. When the program instructions are stored on a computer device, When running, the computer device is caused to execute the method provided in the first aspect, the second aspect and any possible implementation manner of this application.
第八方面,本申请提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请第一方面、第二方面以及其任一种可能的实现方式中提供的方法。In the eighth aspect, the present application provides a computer program product containing instructions. When the computer program product is run on a computer, it causes the computer to execute the instructions provided in the first aspect, the second aspect of the present application, and any possible implementation manner thereof. Methods.
附图说明Description of the drawings
图1是本申请实施例提供的一种异常设备的检测方法涉及的应用场景的示意图;Figure 1 is a schematic diagram of an application scenario involved in an abnormal device detection method provided by an embodiment of the present application;
图2是本申请实施例提供的一种光线路终端的结构示意图; Figure 2 is a schematic structural diagram of an optical line terminal provided by an embodiment of the present application;
图3是本申请实施例提供的一种光模块的结构示意图;Figure 3 is a schematic structural diagram of an optical module provided by an embodiment of the present application;
图4是本申请实施例提供的另一种光模块的结构示意图;Figure 4 is a schematic structural diagram of another optical module provided by an embodiment of the present application;
图5是本申请实施例提供的又一种光模块的结构示意图;Figure 5 is a schematic structural diagram of another optical module provided by an embodiment of the present application;
图6是本申请实施例提供的一种光线路终端主体的结构示意图;Figure 6 is a schematic structural diagram of an optical line terminal body provided by an embodiment of the present application;
图7是本申请实施例提供的一种异常设备的检测方法的流程图;Figure 7 is a flow chart of a method for detecting abnormal equipment provided by an embodiment of the present application;
图8是本申请实施例提供的一种异常设备的检测方法的流程图;Figure 8 is a flow chart of a method for detecting abnormal equipment provided by an embodiment of the present application;
图9是本申请实施例提供的一种光模块的逻辑框图;Figure 9 is a logical block diagram of an optical module provided by an embodiment of the present application;
图10是本申请实施例提供的另一种光模块的逻辑框图;Figure 10 is a logical block diagram of another optical module provided by an embodiment of the present application;
图11是本申请实施例提供的一种光线路终端主体的逻辑框图;Figure 11 is a logical block diagram of an optical line terminal body provided by an embodiment of the present application;
图12是本申请实施例提供的另一种光线路终端主体的逻辑框图。Figure 12 is a logical block diagram of another optical line terminal body provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1是本申请实施例提供的一种异常设备的检测方法涉及的应用场景的示意图。如图1所示,该应用场景包括:光线路终端200和用户侧设备300。光线路终端200包括光线路终端主体201和光模块202。其中,光线路终端200是指提供光接入网的网络侧设备。用户侧设备300是无源光网络中用于与用户终端连接的设备,用户终端可以通过该用户侧设备300接入网络。用户侧设备300通过与光线路终端200配合,能够向与其连接的用户终端提供各种宽带服务。在一种实现方式中,用户侧设备300可以为光网络终端。例如,用户侧设备300可以为“光猫”等设备。Figure 1 is a schematic diagram of an application scenario involved in an abnormal device detection method provided by an embodiment of the present application. As shown in Figure 1, this application scenario includes: optical line terminal 200 and user-side equipment 300. The optical line terminal 200 includes an optical line terminal body 201 and an optical module 202. Among them, the optical line terminal 200 refers to a network-side device that provides an optical access network. The user-side device 300 is a device used to connect to a user terminal in a passive optical network. The user terminal can access the network through the user-side device 300 . By cooperating with the optical line terminal 200, the user-side equipment 300 can provide various broadband services to user terminals connected thereto. In one implementation, the user-side device 300 may be an optical network terminal. For example, the user-side device 300 may be a device such as an "optical cat".
光线路终端200和用户侧设备300之间通过光配线网连接。包括光线路终端200、用户侧设备300和光配线网的系统可称为无源光网络。并且,一个光线路终端200可以通过光配线网连接多个用户侧设备300。此时,无源光网络又称为点到多点的无源光网络。在光线路终端200向用户侧设备300发送信号的下行方向,光线路终端200通过广播向与其连接的用户侧设备300发送信号,每个用户侧设备300收到信号后,可以从信号中选出属于自己的内容。在用户侧设备300向光线路终端200发送信号的上行方向,各个用户侧设备300通过时分复用(time division multiplexing,TDM)的方式,在指定的时隙内以突发包的形式与光线路终端200通信,从而避免各个用户侧设备300之间的碰撞。The optical line terminal 200 and the user-side equipment 300 are connected through an optical distribution network. The system including the optical line terminal 200, the user-side equipment 300 and the optical distribution network may be called a passive optical network. Furthermore, one optical line terminal 200 can be connected to multiple user-side devices 300 through an optical distribution network. At this time, the passive optical network is also called a point-to-multipoint passive optical network. In the downstream direction in which the optical line terminal 200 sends signals to the user-side equipment 300, the optical line terminal 200 sends signals to the user-side equipment 300 connected to it through broadcasting. After receiving the signal, each user-side equipment 300 can select from the signal. Your own content. In the upstream direction in which the user-side equipment 300 sends signals to the optical line terminal 200, each user-side equipment 300 communicates with the optical line in the form of burst packets within a designated time slot through time division multiplexing (TDM). The terminals 200 communicate, thereby avoiding collisions between various user-side devices 300.
如图1所示,光线路终端200包括至少一个光线路终端主体201和多个光模块202。每个光线路终端主体201可以与多个光模块202连接。光线路终端主体201通过光模块202实现信号的发送和接收。在光线路终端主体201发送信号的过程中,光线路终端主体201向其他设备(如用户侧设备300)发送的信号以电信号的形式传输至光模块202,光模块202将电信号转换为光信号,再将光信号发出。在光线路终端主体201接收信号的过程中,其他设备(如用户侧设备300)向光线路终端主体201发送的信号以光信号的形式传输至光模块202,光模块202将光信号转换为电信号,再向光线路终端主体201传输电信号。As shown in FIG. 1 , the optical line terminal 200 includes at least one optical line terminal body 201 and a plurality of optical modules 202 . Each optical line terminal body 201 can be connected to a plurality of optical modules 202. The optical line terminal body 201 implements signal transmission and reception through the optical module 202. In the process of the optical line terminal body 201 sending signals, the signals sent by the optical line terminal body 201 to other devices (such as the user-side device 300) are transmitted to the optical module 202 in the form of electrical signals, and the optical module 202 converts the electrical signals into optical signals. signal, and then send out the light signal. In the process of the optical line terminal body 201 receiving signals, the signals sent by other devices (such as user-side equipment 300) to the optical line terminal body 201 are transmitted to the optical module 202 in the form of optical signals. The optical module 202 converts the optical signals into electrical signals. signal, and then transmits the electrical signal to the optical line terminal body 201.
在本申请实施例中,光线路终端主体201和光模块202可以有多种存在形态。在一种实现方式中,光模块202可以与光线路终端主体201互相独立,且光模块202可以通过以物理形态存在的PON端口外接在光线路终端主体201上。例如,光线路终端主体201可以为PON单板,PON端口为PON单板上的插槽,光模块202可以插在该插槽中。并且,PON单板可以具有多个PON端口,每个光模块202通过一个PON端口与PON单板连接。此时,光模块202与 外接有光模块202的光线路终端主体201组成的整体称为光线路终端200,且用于实现光模块202功能的组件(如信号处理器和光组件等)位于光模块202内部。In the embodiment of the present application, the optical line terminal body 201 and the optical module 202 can exist in various forms. In one implementation, the optical module 202 can be independent of the optical line terminal body 201, and the optical module 202 can be externally connected to the optical line terminal body 201 through a PON port that exists in a physical form. For example, the optical line terminal body 201 may be a PON board, the PON port may be a slot on the PON board, and the optical module 202 may be inserted into the slot. Moreover, the PON board may have multiple PON ports, and each optical module 202 is connected to the PON board through a PON port. At this time, the optical module 202 and The whole optical line terminal body 201 with the optical module 202 connected thereto is called the optical line terminal 200, and the components (such as signal processors and optical components) used to implement the functions of the optical module 202 are located inside the optical module 202.
无源光网络可以在点到点(point to point,P2P)以太网络等网络的硬件基础上,通过更换设备、切换连接和调整设备的工作模式等方式得到。但这样会存在一种情况,即在切换过程中,原有网络中的用户侧设备可能没有被更换为工作在PON工作模式的用户侧设备(即光网络终端)。例如,P2P以太网络的用户终端设备(customer premise equipment,CPE)没有及时被更换为TDM-PON的用户终端设备。由于工作在不同工作模式的用户侧设备发送信号的速率不同,并且,对于不同速率的信号,光线路终端主体201中用于解析信号的处理组件工作所需的时钟信号的频率不同,因此当PON中连接有光网络终端和工作在其他工作模式的用户侧设备时,该处理组件无法同时解析两种不同速率的信号。例如,当PON中连接有CPE时,由于CPE是长发光器件,光线路终端主体201会不间断地接收到CPE的信号,CPE的信号会对光网络终端的信号产生干扰,处理组件就无法同时解析CPE的信号和光网络终端的信号。这样一来,会导致该CPE连接的光线路终端主体201连接的所有的光网络终端的业务均受到影响。因此,需要确定PON中工作在其他工作模式的用户侧设备,并将该用户侧设备隔离下线,以保证光线路终端200连接的所有光网络终端的业务能够正常进行。Passive optical networks can be obtained based on the hardware of point-to-point (P2P) Ethernet and other networks by replacing equipment, switching connections and adjusting the working mode of equipment. However, there will be a situation, that is, during the handover process, the user-side equipment in the original network may not be replaced with the user-side equipment working in the PON operating mode (ie, the optical network terminal). For example, the customer premise equipment (CPE) of the P2P Ethernet network was not replaced with TDM-PON customer terminal equipment in time. Since user-side devices working in different working modes send signals at different rates, and for signals at different rates, the clock signals required for the processing components in the optical line terminal body 201 to analyze signals have different frequencies. Therefore, when the PON When an optical network terminal is connected to a user-side device working in other working modes, the processing component cannot parse signals of two different rates at the same time. For example, when a CPE is connected to the PON, since the CPE is a long-term light-emitting device, the optical line terminal body 201 will continuously receive the CPE signal. The CPE signal will interfere with the signal of the optical network terminal, and the processing components cannot simultaneously Analyze CPE signals and optical network terminal signals. As a result, the services of all optical network terminals connected to the optical line terminal body 201 connected to the CPE will be affected. Therefore, it is necessary to determine the user-side equipment working in other working modes in the PON and isolate the user-side equipment offline to ensure that the services of all optical network terminals connected to the optical line terminal 200 can be carried out normally.
这种影响在目前广泛部署的千兆能力无源光网络(gigabit-capable-passive optical network,GPON)、10G对称模式的GPON(XG-PON)和10G非对称模式的GPON(XGS-PON)等PON中表现尤其明显。在GPON/XG-PON/XGS-PON中,各光网络终端遵从的是国际电信联盟电信标准分局(ITU-T)体系的PON协议,其速率分别是1.244吉比特每秒(gigabit per second,Gbps)/2.488Gbps/9.953Gbps等PON速率。处理组件2011工作所需的时钟信号的频率为155.52兆赫兹(mega hertz,MHz)。而在P2P以太网络中,工作在以太工作模式的用户侧设备遵从的是802.3体系以太协议,其速率是1.25Gbps/10.3125Gbps等以太速率。处理组件工作所需的时钟信号的频率为156.25MHz。因此,本申请实施例涉及的无源光网络可以为GPON/XG-PON/XGS-PON等遵从ITU-T体系的PON协议的无源光网络。This impact is on the currently widely deployed gigabit-capable-passive optical network (GPON), 10G symmetric mode GPON (XG-PON) and 10G asymmetric mode GPON (XGS-PON), etc. The performance is especially obvious in PON. In GPON/XG-PON/XGS-PON, each optical network terminal complies with the PON protocol of the International Telecommunication Union Telecommunications Standards Bureau (ITU-T) system, and its rates are 1.244 gigabit per second (Gbps). )/2.488Gbps/9.953Gbps and other PON rates. The frequency of the clock signal required for the operation of the processing component 2011 is 155.52 megahertz (MHz). In P2P Ethernet networks, user-side devices working in Ethernet working mode comply with the 802.3 system Ethernet protocol, and its rates are Ethernet rates such as 1.25Gbps/10.3125Gbps. The frequency of the clock signal required for the operation of the processing component is 156.25MHz. Therefore, the passive optical network involved in the embodiment of the present application may be a passive optical network that complies with the PON protocol of the ITU-T system, such as GPON/XG-PON/XGS-PON.
其中,由于工作在其他工作模式的用户侧设备会影响PON的业务,将其称为异常设备,即处于异常工作状态的用户侧设备。该其他工作模式为除PON工作模式外的工作模式。例如,在PON中,工作在以太工作模式的CPE等用户侧设备可称为异常设备。除此之外,工作在PON工作模式且出现故障的光网络终端也会影响PON的业务,也可将其称为异常设备。Among them, since user-side equipment working in other working modes will affect PON services, it is called abnormal equipment, that is, user-side equipment in an abnormal working state. The other working modes are working modes other than the PON working mode. For example, in PON, user-side equipment such as CPE working in Ethernet working mode can be called abnormal equipment. In addition, optical network terminals that work in PON operating mode and malfunction will also affect PON services and can also be called abnormal devices.
在本申请实施例中,在光模块与至少一个用户侧设备进行光通信的情况下,光模块能够确定该至少一个用户侧设备中存在异常设备,获得异常设备的类型,并在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,能够便于根据该信号确定异常设备的地址。并且,通过光模块执行以上操作,只需要对与该光模块进行光通信的至少一个用户侧设备进行操作,无需对光模块连接的光线路终端主体连接的所有用户侧设备进行操作,无需关闭光模块连接的光线路终端主体连接的所有用户侧设备,避免了中断其他用户侧设备的业务,保证了该其他用户侧设备均能够正常工作,有效地减小了对该光模块连接的光线路终端主体连接的光网络终端的业务的影响,有助于提高用户体验。其中,其他用户侧设备为光线路终端主体连接的用户侧设备中除该至少一个用户侧设备外的用户侧设备。In the embodiment of the present application, when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, obtain the type of the abnormal device, and communicate with the abnormal device. In the type-matching working mode, continuing to receive signals from at least one user-side device can facilitate determining the address of the abnormal device based on the signal. Moreover, to perform the above operations through an optical module, you only need to operate at least one user-side device that performs optical communication with the optical module. There is no need to operate all user-side devices connected to the main body of the optical line terminal connected to the optical module, and there is no need to turn off the optical module. All user-side equipment connected to the main body of the optical line terminal connected to the module avoids interrupting the services of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the number of optical line terminals connected to the optical module. The business impact of the main connected optical network terminal helps to improve user experience. The other user-side devices are user-side devices other than the at least one user-side device among the user-side devices connected to the optical line terminal body.
在一种实现方式中,如图2所示,光线路终端主体201包括:处理组件2011。处理组件2011用于决策需要向其他设备(如光网络终端)发送的信号,对接收到的来自其他设备(如光网络终端)的信号进行解析,对与光线路终端200连接的光网络终端进行控制,以及,控制光模块202的工作模式等。在一种可实现方式中,处理组件2011可以为媒体接入控制器 (media access controller,MAC)或通用处理器,如中央处理器(central processing unit,CPU)。In one implementation, as shown in Figure 2, the optical line terminal body 201 includes: a processing component 2011. The processing component 2011 is used to determine the signals that need to be sent to other devices (such as optical network terminals), analyze the received signals from other devices (such as optical network terminals), and perform processing on the optical network terminals connected to the optical line terminal 200. Control, and control the working mode of the optical module 202, etc. In an implementable manner, the processing component 2011 may be a media access controller (media access controller, MAC) or general-purpose processor, such as central processing unit (CPU).
如图3和图4所示,光模块202包括:信号处理器2021和光组件2022。在光线路终端200的发送方向上,即当光线路终端主体201通过光模块202向其他设备发送信号时,光组件2022用于将光线路终端主体201发出的电信号转换为光信号,并将该光信号传输出去。在光线路终端200的接收方向上,即当其他设备通过光模块202向光线路终端主体201发送信号时,光组件2022用于将从其他设备接收到的光信号转换为电信号,并向光线路终端主体201发送该电信号。As shown in Figures 3 and 4, the optical module 202 includes: a signal processor 2021 and an optical component 2022. In the transmission direction of the optical line terminal 200, that is, when the optical line terminal body 201 sends signals to other devices through the optical module 202, the optical component 2022 is used to convert the electrical signal sent by the optical line terminal body 201 into an optical signal, and The optical signal is transmitted. In the receiving direction of the optical line terminal 200, that is, when other devices send signals to the optical line terminal body 201 through the optical module 202, the optical component 2022 is used to convert the optical signals received from other devices into electrical signals, and transmit them to the optical line terminal 201. The line terminal body 201 transmits this electrical signal.
光线路终端主体201与光组件2022之间传输信号的过程需要信号处理器2021的参与。在一种实现方式中,在光线路终端200的发送方向上,信号处理器2021用作驱动器,用于驱动光组件2022将电信号转换为光信号。在光线路终端200的接收方向上,该信号处理器2021用于对光组件2022转换得到的电信号进行时钟恢复、均衡处理、译码、判决等操作,以便于光线路终端主体201能够接收到准确的电信号。并且,信号处理器2021可以工作在多种工作模式。例如,信号处理器2021可以在不同时间分别工作在以太工作模式和PON工作模式。The process of signal transmission between the optical line terminal body 201 and the optical component 2022 requires the participation of the signal processor 2021 . In one implementation, in the transmission direction of the optical line terminal 200, the signal processor 2021 is used as a driver to drive the optical component 2022 to convert electrical signals into optical signals. In the receiving direction of the optical line terminal 200, the signal processor 2021 is used to perform clock recovery, equalization processing, decoding, judgment and other operations on the electrical signal converted by the optical component 2022, so that the optical line terminal body 201 can receive Accurate electrical signals. Moreover, the signal processor 2021 can work in multiple working modes. For example, the signal processor 2021 can work in the Ethernet working mode and the PON working mode respectively at different times.
可选地,该信号处理器2021可以为专用的信号处理器和/或通用处理器。专用的信号处理器可以为数字信号处理器(digital signal processor,DSP)等,通用处理器可以为CPU等。需要说明的是,如图4所示,当信号处理器2021为通用处理器时,该光模块202还可以包括内存2023等存储器,其用于存储通用处理器进行计算所需的数据和程序指令等。信号处理器2021运行程序指令以执行本申请实施例提供的异常设备的检测方法中光模块的部分或全部功能。可选地,该内存2023可以为只读存储器(read only memory,ROM)。并且,如图4所示,当信号处理器2021为通用处理器时,该光模块202还可以包括其他信号处理组件2024,该其他信号处理组件2024用于协同通用处理器对信号进行处理。例如,该其他信号处理组件2024可以为模数转换器(analog to digital converter,ADC),用于将模拟信号转换为数字信号。此时,模数转换器可以将光组件2022输出的信号转换为数字信号,并将该数字信号存入只读存储器中,并由通用处理器进行读取和处理。Optionally, the signal processor 2021 may be a dedicated signal processor and/or a general-purpose processor. The dedicated signal processor can be a digital signal processor (DSP), etc., and the general-purpose processor can be a CPU, etc. It should be noted that, as shown in Figure 4, when the signal processor 2021 is a general-purpose processor, the optical module 202 may also include a memory such as a memory 2023, which is used to store data and program instructions required for calculation by the general-purpose processor. wait. The signal processor 2021 runs program instructions to execute part or all of the functions of the optical module in the abnormal device detection method provided by the embodiment of the present application. Optionally, the memory 2023 may be read only memory (ROM). Moreover, as shown in FIG. 4 , when the signal processor 2021 is a general-purpose processor, the optical module 202 may also include other signal processing components 2024 , and the other signal processing components 2024 are used to cooperate with the general-purpose processor to process signals. For example, the other signal processing component 2024 may be an analog to digital converter (ADC) for converting analog signals into digital signals. At this time, the analog-to-digital converter can convert the signal output by the optical component 2022 into a digital signal, and store the digital signal in the read-only memory, and be read and processed by the general-purpose processor.
在一种实现方式中,如图3所示,光模块202还可以包括:控制器2025。光线路终端主体201向光模块202发送的控制信号可以先发送至控制器2025,并由控制器2025根据控制信号对光模块202中的对应组件进行控制。例如,控制器2025可以对信号处理器2021的工作过程进行控制。可选地,该控制器2025可以为微控制单元(microcontroller unit,MCU)。可选地,当信号处理器2021为通用处理器时,光模块202可以不包括控制器2025。此时,通用处理器可以根据控制信号对光模块202中的对应组件进行控制。In one implementation, as shown in FIG. 3 , the optical module 202 may also include: a controller 2025 . The control signal sent by the optical line terminal body 201 to the optical module 202 may first be sent to the controller 2025, and the controller 2025 controls the corresponding components in the optical module 202 according to the control signal. For example, the controller 2025 can control the working process of the signal processor 2021. Optionally, the controller 2025 may be a microcontroller unit (MCU). Optionally, when the signal processor 2021 is a general-purpose processor, the optical module 202 may not include the controller 2025. At this time, the general processor can control the corresponding components in the optical module 202 according to the control signal.
可选地,如图2所示,光线路终端主体201还可以包括:晶振2012。该晶振2012用于产生基础时钟信号,以供处理组件2011使用。并且,信号处理器2021工作所需的时钟信号也可以基于晶振2012生成的基础时钟信号得到。Optionally, as shown in Figure 2, the optical line terminal body 201 may also include: a crystal oscillator 2012. The crystal oscillator 2012 is used to generate a basic clock signal for use by the processing component 2011. Moreover, the clock signal required for the operation of the signal processor 2021 can also be obtained based on the basic clock signal generated by the crystal oscillator 2012 .
在一种实现方式中,如图3和图4所示,光模块202可以包括信号生成器2026。该信号生成器2026用于基于晶振2012生成的基础时钟信号,生成信号处理器2021工作所需的时钟信号,并向信号处理器2021提供该时钟信号。可选地,晶振2012与光模块202之间可以通过金手指连接,基础时钟信号可以通过该金手指传输至光模块202,进而传输至信号生成器2026。在一种可实现方式中,信号生成器2026可以为锁相环(phase locked loop,PLL)。并且,当信号处理器2021能够工作在多种工作模式时,该光模块202还可以包括一个或多个信号生成器2026。 In one implementation, as shown in Figures 3 and 4, optical module 202 may include signal generator 2026. The signal generator 2026 is used to generate a clock signal required for the operation of the signal processor 2021 based on the basic clock signal generated by the crystal oscillator 2012, and provide the clock signal to the signal processor 2021. Optionally, the crystal oscillator 2012 and the optical module 202 can be connected through a golden finger, and the basic clock signal can be transmitted to the optical module 202 through the golden finger, and then transmitted to the signal generator 2026. In one implementation, the signal generator 2026 may be a phase locked loop (PLL). Moreover, when the signal processor 2021 can work in multiple operating modes, the optical module 202 may also include one or more signal generators 2026.
当光模块202包括一个信号生成器2026时,该信号生成器2026能够根据基础时钟信号,分时生成多种工作模式所需的时钟信号,并向信号处理器2021提供该时钟信号。例如,假设信号处理器2021在t1时刻前工作在以太工作模式,在t1时刻后工作在PON工作模式。以太工作模式所需的时钟信号的频率为156.25MHz。该PON工作模式所需的时钟信号的频率为155.52MHz。则信号生成器2026在t1时刻前用于生成156.25MHz或其倍频频率或分频频率的时钟信号,并向信号处理器2021提供该时钟信号。在t1时刻后用于生成155.52MHz或其倍频频率或分频频率的时钟信号,并向信号处理器2021提供该时钟信号。When the optical module 202 includes a signal generator 2026, the signal generator 2026 can generate clock signals required for multiple working modes in time-sharing according to the basic clock signal, and provide the clock signal to the signal processor 2021. For example, assume that the signal processor 2021 works in the Ethernet working mode before time t1 and works in the PON working mode after time t1. The frequency of the clock signal required for Ethernet operating mode is 156.25MHz. The frequency of the clock signal required for this PON operating mode is 155.52MHz. Then the signal generator 2026 is used to generate a clock signal of 156.25 MHz or its multiplication frequency or frequency division frequency before time t1, and provide the clock signal to the signal processor 2021. After time t1, it is used to generate a clock signal of 155.52MHz or its multiplication frequency or division frequency, and provide the clock signal to the signal processor 2021.
如图3和图4所示,当光模块202包括多个信号生成器2026时,该多个信号生成器2026分别用于生成多种频率的时钟信号,该多种频率的时钟信号分别与多种工作模式对应,每种频率的时钟信号用于支持信号处理器2021工作在对应的工作模式。此时,如图3和图4所示,光模块202还包括:信号选通组件2027。该信号选通组件2027用于对多个信号生成器2026生成的时钟信号进行选通,并向信号处理器2021提供经过选通的时钟信号。并且,信号选通组件2027对时钟信号的选通过程可以通过控制器2025进行控制。As shown in FIGS. 3 and 4 , when the optical module 202 includes multiple signal generators 2026 , the multiple signal generators 2026 are respectively used to generate clock signals of multiple frequencies. The clock signals of multiple frequencies are respectively connected with multiple signal generators. Corresponding to each working mode, the clock signal of each frequency is used to support the signal processor 2021 to work in the corresponding working mode. At this time, as shown in Figures 3 and 4, the optical module 202 also includes: a signal gating component 2027. The signal gating component 2027 is used to gate the clock signals generated by the plurality of signal generators 2026 and provide the gated clock signals to the signal processor 2021. Moreover, the selection process of the clock signal by the signal gating component 2027 can be controlled by the controller 2025.
例如,假设信号处理器2021在t1时刻前工作在以太工作模式,在t1时刻后工作在PON工作模式。以太工作模式所需的时钟信号的频率为156.25MHz。该PON工作模式所需的时钟信号的频率为155.52MHz。如图4所示,光模块202包括两个信号生成器2026。该两个信号生成器2026中的一个用于基于基础时钟信号,生成156.25MHz或其倍频频率或分频频率的时钟信号。该两个信号生成器2026中的另一个用于基于基础时钟信号,生成155.52MHz或其倍频频率或分频频率的时钟信号。信号选通组件2027用于对两个信号生成器2026生成的时钟信号进行选通,并在t1时刻前,向信号处理器2021提供156.25MHz或其倍频频率或分频频率的时钟信号,在t1时刻后,向信号处理器2021提供155.52MHz或其倍频频率或分频频率的时钟信号。For example, assume that the signal processor 2021 works in the Ethernet working mode before time t1 and works in the PON working mode after time t1. The frequency of the clock signal required for Ethernet operating mode is 156.25MHz. The frequency of the clock signal required for this PON operating mode is 155.52MHz. As shown in Figure 4, the optical module 202 includes two signal generators 2026. One of the two signal generators 2026 is used to generate a clock signal of 156.25 MHz or its multiple frequency or division frequency based on the basic clock signal. The other of the two signal generators 2026 is used to generate a clock signal of 155.52 MHz or its multiple frequency or division frequency based on the basic clock signal. The signal gating component 2027 is used to gate the clock signals generated by the two signal generators 2026, and provide a clock signal of 156.25MHz or its multiplication frequency or division frequency to the signal processor 2021 before time t1. After time t1, a clock signal of 155.52MHz or its multiple frequency or division frequency is provided to the signal processor 2021.
需要说明的是,信号处理器2021工作所需的时钟信号也可以不基于晶振2012生成的基础时钟信号得到。例如,光模块202也可以包括晶振,该晶振用于产生信号处理器2021工作所需的基础时钟信号。It should be noted that the clock signal required for the operation of the signal processor 2021 may not be obtained based on the basic clock signal generated by the crystal oscillator 2012 . For example, the optical module 202 may also include a crystal oscillator, which is used to generate a basic clock signal required for the signal processor 2021 to operate.
可选地,如图5所示,光模块202还可以包括:信号转换组件2028。该信号转换组件2028用于将经过信号处理器2021处理的信号转换为PON工作模式的信号,并向光线路终端主体201转发转换后的信号。例如,当光线路终端主体201工作在PON工作模式,信号处理器2021工作在以太工作模式时,该信号转换组件2028用于将经过信号处理器2021处理后的以太信号,转换为PON工作模式的信号,并向光线路终端主体201转发PON工作模式的信号。在一种可实现方式中,该信号转换组件2028可以为异步先入先出(first in first out,FIFO)组件。该先入先出组件可以通过对信号执行时钟域的过渡操作,实现对信号的转换。Optionally, as shown in FIG. 5 , the optical module 202 may also include: a signal conversion component 2028 . The signal conversion component 2028 is used to convert the signal processed by the signal processor 2021 into a PON operating mode signal, and forward the converted signal to the optical line terminal body 201. For example, when the optical line terminal body 201 works in the PON working mode and the signal processor 2021 works in the Ethernet working mode, the signal conversion component 2028 is used to convert the Ethernet signal processed by the signal processor 2021 into the PON working mode. signal, and forwards the PON working mode signal to the optical line terminal body 201. In an implementation manner, the signal conversion component 2028 can be an asynchronous first in first out (FIFO) component. The first-in-first-out component can realize conversion of the signal by performing a clock domain transition operation on the signal.
此时,如图5所示,光模块202还可以包括:串行器-解串器(serializer-deserializer,SerDes)2029。经过信号转换组件2028转换后的信号可以通过串行器-解串器2029向光线路终端主体201转发。该串行器-解串器2029工作所需的时钟信号可以由信号生成器2026提供。并且,由于该串行器-解串器2029输入的信号为经过转换后的信号,因此串行器-解串器2029和光线路终端主体201可以工作在相同的工作模式。例如,串行器-解串器2029和光线路终端主体201均工作在PON工作模式,则可以由用于生成PON工作模式所需的时钟信号的信号生成器2026,向串行器-解串器2029提供时钟信号。可选地,串行器-解串器2029和光线路终端主体201之间可以通过金手指连接。或者,串行器-解串器2029与光线路终端主体201之间可以通过I2C总线等其他方式传输信号,本申请实施例对其不做具体限定。 At this time, as shown in Figure 5, the optical module 202 may also include: a serializer-deserializer (SerDes) 2029. The signal converted by the signal conversion component 2028 can be forwarded to the optical line terminal body 201 through the serializer-deserializer 2029. The clock signal required for the operation of the serializer-deserializer 2029 can be provided by the signal generator 2026. Moreover, since the signal input by the serializer-deserializer 2029 is a converted signal, the serializer-deserializer 2029 and the optical line terminal body 201 can work in the same working mode. For example, if the serializer-deserializer 2029 and the optical line terminal body 201 both work in the PON working mode, the signal generator 2026 for generating the clock signal required for the PON working mode can provide the signal to the serializer-deserializer 2029. 2029 provides the clock signal. Optionally, the serializer-deserializer 2029 and the optical line terminal body 201 may be connected through a golden finger. Alternatively, signals can be transmitted between the serializer-deserializer 2029 and the optical line terminal body 201 through other methods such as the I2C bus, which is not specifically limited in the embodiment of this application.
需要说明的是,光模块202也可以不包括信号转换组件2028。此时可以由光模块202中的其他器件执行信号转换的操作。在一种实现方式中,可以由信号处理器2021执行该信号转换的操作。例如,当信号处理器2021为通用处理器时,通用处理器可以具有信号转换组件2028的功能。或者,该信号转换的操作也可以由光线路终端主体201中的组件执行,本申请实施例对其不做具体限定。It should be noted that the optical module 202 may not include the signal conversion component 2028. At this time, other devices in the optical module 202 may perform signal conversion operations. In one implementation, the signal conversion operation may be performed by the signal processor 2021. For example, when the signal processor 2021 is a general-purpose processor, the general-purpose processor may have the function of the signal conversion component 2028 . Alternatively, the signal conversion operation can also be performed by components in the optical line terminal body 201, which is not specifically limited in the embodiment of this application.
当光模块202能够将信号转换为PON工作模式的信号时,在光模块202工作在PON工作模式外的其他模式的情况下,能够保证光线路终端主体201仍工作在PON工作模式,即光线路终端主体201无需跟随光模块202调整工作模式。并且,由于光线路终端主体201与多个光模块202连接,每个光模块202与至少一个用户侧设备进行光通信,当某个光模块202连接的至少一个用户侧设备中存在异常设备时,若光线路终端主体201不需要跟随该光模块202调整工作模式,光线路终端主体201能够与其他光模块202连接的用户侧设备正常通信,进一步保证了其他光模块202连接的用户侧设备能够正常工作。When the optical module 202 can convert the signal into a signal in the PON working mode, when the optical module 202 works in a mode other than the PON working mode, it can be ensured that the optical line terminal body 201 still works in the PON working mode, that is, the optical line The terminal body 201 does not need to follow the optical module 202 to adjust the working mode. Moreover, since the optical line terminal body 201 is connected to multiple optical modules 202, and each optical module 202 performs optical communication with at least one user-side device, when there is an abnormal device in at least one user-side device connected to a certain optical module 202, If the optical line terminal body 201 does not need to follow the optical module 202 to adjust the working mode, the optical line terminal body 201 can communicate normally with the user-side equipment connected to other optical modules 202, further ensuring that the user-side equipment connected to other optical modules 202 can operate normally. Work.
可选地,光线路终端200还可以包括无源光网卡、网关路由器和语音网关和上行链路卡等,本申请实施例对其不做具体限定。Optionally, the optical line terminal 200 may also include a passive optical network card, a gateway router, a voice gateway, an uplink card, etc., which are not specifically limited in the embodiment of this application.
图6是本申请实施例提供的一种光线路终端主体的结构示意图。如图6所示,该光线路终端主体201包括处理组件2011、晶振2012、存储器2013、通信接口2014和总线2015。其中,光模块202、处理组件2011、晶振2012、存储器2013、通信接口2014通过总线2015实现彼此之间的通信连接。Figure 6 is a schematic structural diagram of an optical line terminal body provided by an embodiment of the present application. As shown in Figure 6, the optical line terminal body 201 includes a processing component 2011, a crystal oscillator 2012, a memory 2013, a communication interface 2014 and a bus 2015. Among them, the optical module 202, the processing component 2011, the crystal oscillator 2012, the memory 2013, and the communication interface 2014 realize communication connections between each other through the bus 2015.
处理组件2011可以包括通用处理器和/或专用硬件芯片。通用处理器可以包括:中央处理器(central processing unit,CPU)、微处理器或图形处理器(graphics processing unit,GPU)。CPU例如是一个单核处理器(single-CPU),又如是一个多核处理器(multi-CPU)。专用硬件芯片是一个高性能处理的硬件模块。专用硬件芯片包括数字信号处理器、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程逻辑门阵列(field-programmable gate array,FPGA)或者网络处理器(network processer,NP)中的至少一项。处理组件2011还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的异常设备的检测方法中光线路终端主体的部分或全部功能,可以通过处理组件2011中的硬件的集成逻辑电路或者软件形式的指令完成。Processing component 2011 may include a general-purpose processor and/or a special-purpose hardware chip. General-purpose processors can include: central processing unit (CPU), microprocessor or graphics processing unit (GPU). The CPU is, for example, a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A dedicated hardware chip is a high-performance processing hardware module. Specialized hardware chips include at least one of a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a network processor (NP) One item. The processing component 2011 may also be an integrated circuit chip with signal processing capabilities. During the implementation process, part or all of the functions of the optical line terminal body in the abnormal device detection method of this application can be completed by instructions in the form of hardware integrated logic circuits or software in the processing component 2011 .
存储器2013用于存储计算机程序,计算机程序包括操作系统2013a和可执行代码(即程序指令)2013b。存储器2013例如是只读存储器或可存储静态信息和指令的其它类型的静态存储设备,又如是随机存取存储器或者可存储信息和指令的其它类型的动态存储设备,又如是电可擦可编程只读存储器、只读光盘或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者是能够用于携带或存储具有指令或数据结构形式的期望的可执行代码并能够由计算机存取的任何其它介质,但不限于此。例如存储器2013用于存放出端口队列等。存储器2013例如是独立存在,并通过总线2015与处理组件2011相连接。或者存储器2013和处理组件2011集成在一起。存储器2013可以存储可执行代码,当存储器2013中存储的可执行代码被处理组件2011执行时,处理组件2011用于执行本申请实施例提供的异常设备的检测方法中光线路终端主体执行的操作。存储器2013中还可以包括操作系统等其他运行进程所需的软件模块和数据等。The memory 2013 is used to store computer programs, which include an operating system 2013a and executable codes (ie, program instructions) 2013b. The memory 2013 is, for example, a read-only memory or other type of static storage device that can store static information and instructions, or a random access memory or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable memory device. Read memory, read-only disc or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store Without limitation, any other medium that represents the desired executable code in the form of instructions or data structures and can be accessed by a computer. For example, the memory 2013 is used to store outbound port queues, etc. The memory 2013 exists independently, for example, and is connected to the processing component 2011 through the bus 2015. Or the memory 2013 and the processing component 2011 are integrated together. The memory 2013 can store executable code. When the executable code stored in the memory 2013 is executed by the processing component 2011, the processing component 2011 is used to perform the operations performed by the optical line terminal body in the abnormal device detection method provided by the embodiment of the present application. The memory 2013 may also include operating systems and other software modules and data required for running processes.
通信接口2014使用例如但不限于收发器一类的收发模块,来实现光线路终端主体201与其他设备或通信网络之间的通信。例如,通信接口2014可以是以下器件的任一种或任一种组合:网络接口(如以太网接口)、无线网卡等具有网络接入功能的器件。 The communication interface 2014 uses a transceiver module such as but not limited to a transceiver to realize communication between the optical line terminal body 201 and other devices or communication networks. For example, the communication interface 2014 may be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card, and other devices with network access functions.
总线2015是任何类型的,用于实现光线路终端主体201的内部器件(例如,存储器2013、处理组件2011、通信接口2014)互连的通信总线。例如系统总线。本申请实施例以光线路终端主体201内部的上述器件通过总线2015互连为例说明,可选地,光线路终端主体201内部的上述器件采用除了总线2015之外的其他连接方式彼此通信连接,例如光线路终端主体201内部的上述器件通过光线路终端主体201内部的逻辑接口互连。The bus 2015 is any type of communication bus used to interconnect internal devices (eg, memory 2013, processing component 2011, communication interface 2014) of the optical line terminal body 201. For example, system bus. The embodiment of the present application takes the above-mentioned devices inside the optical line terminal body 201 as an example to be interconnected through the bus 2015. Optionally, the above-mentioned devices inside the optical line terminal body 201 communicate with each other using other connection methods besides the bus 2015. For example, the above-mentioned devices inside the optical line terminal body 201 are interconnected through logical interfaces inside the optical line terminal body 201 .
需要说明的是,上述光网络终端和光线路终端中的多个器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的需要。本申请实施例对上述器件的具体实现形式不做限定。且上述各个附图对应的流程的描述各有侧重,某个流程中没有详述的部分,可以参见其他流程的相关描述。It should be noted that the multiple devices in the above-mentioned optical network terminal and optical line terminal can be respectively provided on independent chips, or at least part or all of them can be provided on the same chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the needs of product design. The embodiments of this application do not limit the specific implementation forms of the above devices. The descriptions of the processes corresponding to each of the above drawings have different emphases. For parts that are not detailed in a certain process, you can refer to the relevant descriptions of other processes.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。提供程序开发平台的计算机程序产品包括一个或多个计算机指令,在计算机设备上加载和执行这些计算机程序指令时,全部或部分地实现本申请实施例提供的异常设备的检测方法的流程或功能。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product that provides a program development platform includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer device, the processes or functions of the abnormal device detection method provided by the embodiments of the present application are fully or partially implemented.
并且,计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质存储有提供程序开发平台的计算机程序指令。Furthermore, computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted over a wired connection from a website, computer, server or data center. (such as coaxial cable, optical fiber, digital subscriber line or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center. The computer-readable storage medium stores information that provides a program development platform Computer program instructions.
应当理解的是,以上内容是对本申请实施例提供的异常设备的检测方法的应用场景的示例性说明,并不构成对于异常设备的检测方法的应用场景的限定,本领域普通技术人员可知,随着业务需求的改变,其应用场景可以根据应用需求进行调整,本申请实施例对其不做一一列举。It should be understood that the above content is an exemplary description of the application scenarios of the abnormal device detection method provided by the embodiment of the present application, and does not constitute a limitation on the application scenarios of the abnormal device detection method. Those of ordinary skill in the art will know that, As business requirements change, its application scenarios can be adjusted according to application requirements, and the embodiments of this application do not list them one by one.
下面对本申请实施例提供的异常设备的检测方法的实现过程进行说明。在该方法中,光模块在其工作模式与异常设备的类型不匹配时,需要将光模块的工作模式切换为与异常设备的类型匹配的工作模式。并且,光模块可以自发地切换工作模式,也可以根据光线路终端主体的指示切换工作模式。下面先针对光模块根据光线路终端主体的指示切换工作模式的情况,对异常设备的检测方法的实现过程进行说明。如图7所示,该实现过程可以包括以下步骤:The following describes the implementation process of the abnormal device detection method provided by the embodiment of the present application. In this method, when the working mode of the optical module does not match the type of the abnormal device, the working mode of the optical module needs to be switched to a working mode that matches the type of the abnormal device. Moreover, the optical module can switch working modes spontaneously or according to instructions from the optical line terminal body. The following will first describe the implementation process of the abnormal device detection method for the case where the optical module switches the working mode according to the instructions of the optical line terminal body. As shown in Figure 7, the implementation process may include the following steps:
步骤701、光模块确定与其进行光通信的至少一个用户侧设备中存在异常设备,异常设备为处于异常工作状态的用户侧设备。Step 701: The optical module determines that there is an abnormal device in at least one user-side device with which it conducts optical communication. The abnormal device is a user-side device in an abnormal working state.
光模块可以在接收的信号的状态与正常情况下信号的状态不同时,确定与光模块进行光通信的至少一个用户侧设备中存在异常设备。例如,由于异常设备会持续发光,则当该至少一个用户侧设备中不存在异常设备时,光模块不会接收到因持续发光产生的连续信号,当该至少一个用户侧设备中存在异常设备时,光模块会接收到因持续发光产生的连续信号。因此,光模块在接收到来自用户侧设备的连续信号时,可以确定该至少一个用户侧设备中存在异常设备。其中,正常情况为该至少一个用户侧设备均处于正常工作状态的情况。异常设备为处于异常工作状态。The optical module can determine that there is an abnormal device in at least one user-side device that performs optical communication with the optical module when the status of the received signal is different from the status of the signal under normal circumstances. For example, because the abnormal device will continue to emit light, when there is no abnormal device in the at least one user-side device, the optical module will not receive the continuous signal generated by the continuous light emission. When there is an abnormal device in the at least one user-side device, , the optical module will receive continuous signals generated by continuous light emission. Therefore, when the optical module receives continuous signals from the user-side device, it can determine that there is an abnormal device in the at least one user-side device. The normal situation is a situation where at least one user-side device is in a normal working state. Abnormal equipment is in abnormal working condition.
需要说明的是,光线路终端主体也可以自己确定该至少一个用户侧设备中存在异常设备。在一种可实现方式中,光线路终端主体可以在接收到来自光模块的无效信号时,确定该至少一个用户侧设备中存在异常设备。并且,为避免误判,光线路终端主体还可以在接收到来自 光模块的无效信号的累积时长达到时长阈值时,确定该至少一个用户侧设备中存在异常设备。其中,无效信号可以表现为信号的格式或长度等不符合规定等导致信号无法被解析的情况。It should be noted that the optical line terminal body can also determine by itself that there is an abnormal device in the at least one user-side device. In an implementable manner, the optical line terminal body may determine that there is an abnormal device in the at least one user-side device when receiving an invalid signal from the optical module. Moreover, in order to avoid misjudgment, the optical line terminal body can also receive signals from When the cumulative duration of the invalid signal of the optical module reaches the duration threshold, it is determined that there is an abnormal device in the at least one user-side device. Among them, invalid signals can be represented by situations where the format or length of the signal does not meet the regulations, resulting in the signal being unable to be parsed.
步骤702、光模块获得异常设备的类型。Step 702: The optical module obtains the type of the abnormal device.
光模块调整工作模式是为了能够正确接收异常设备发送的信号。此时,光模块可以先获取异常设备的类型,并根据该类型将工作模式调整为与异常设备的类型匹配的工作模式。The optical module adjusts its working mode so that it can correctly receive signals sent by abnormal devices. At this time, the optical module can first obtain the type of the abnormal device, and adjust the working mode to one that matches the type of the abnormal device based on the type.
可选地,光模块可以自己确定异常设备的类型。在一种可实现方式中,光模块包括:信号处理器。在正常情况下,无源光网络中所有设备均工作在PON工作模式,即信号处理器也工作在PON工作模式,当异常设备工作在除PON工作模式以外的工作模式时,该信号处理器无法正常工作,即信号处理器工作在异常状态。当异常设备工作在PON工作模式时,该信号处理器能够正常工作,即信号处理器工作在正常状态。因此,光模块可以基于信号处理器的工作状态,确定异常设备的类型。其中,工作状态用于指示信号处理器工作在正常状态或异常状态。例如,当工作状态指示信号处理器工作在正常状态时,异常设备的类型为PON设备。当工作状态指示信号处理器工作在异常状态时,异常设备的类型为除PON设备外的其他类型的设备,该其他类型的设备包括以太设备。其中,信号处理器工作在异常状态具有以下一种或多种表现:信号处理器无法对接收的信号进行时钟恢复、信号处理器的均衡器系数不收敛、经过信号处理器判决的信号是错误的。Optionally, the optical module can determine the type of abnormal device by itself. In an implementation manner, the optical module includes: a signal processor. Under normal circumstances, all devices in the passive optical network work in the PON working mode, that is, the signal processor also works in the PON working mode. When the abnormal device works in a working mode other than the PON working mode, the signal processor cannot Normal operation means that the signal processor works in an abnormal state. When the abnormal device works in the PON working mode, the signal processor can work normally, that is, the signal processor works in a normal state. Therefore, the optical module can determine the type of abnormal device based on the working status of the signal processor. Among them, the working state is used to indicate that the signal processor is working in a normal state or an abnormal state. For example, when the working status indicates that the signal processor is working in a normal state, the type of the abnormal device is a PON device. When the working status indicates that the signal processor is working in an abnormal state, the type of the abnormal device is other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment. Among them, the signal processor working in an abnormal state has one or more of the following manifestations: the signal processor cannot perform clock recovery on the received signal, the equalizer coefficient of the signal processor does not converge, and the signal judged by the signal processor is wrong. .
或者,光模块可以根据其他设备发送的用于指示异常设备的类型的信息,以获得异常设备的类型。例如,光线路终端主体可以确定异常设备的类型,并向光模块发送用于指示异常设备的类型的信息,使得光模块获得异常设备的类型。在一种可实现方式中,光线路终端主体可以获取光模块中信号处理器的工作状态,并在工作状态指示信号处理器工作在正常状态时,确定异常设备的类型为PON设备,在工作状态指示信号处理器工作在异常状态时,确定异常设备的类型为除PON设备外的其他类型的设备。Alternatively, the optical module may obtain the type of the abnormal device based on information sent by other devices indicating the type of the abnormal device. For example, the optical line terminal body can determine the type of the abnormal device and send information indicating the type of the abnormal device to the optical module, so that the optical module obtains the type of the abnormal device. In an implementable manner, the optical line terminal body can obtain the working status of the signal processor in the optical module, and when the working status indicates that the signal processor is working in a normal state, determine that the type of the abnormal device is a PON device. Indicates that when the signal processor is working in an abnormal state, determine the type of the abnormal device to be other types of equipment except PON equipment.
步骤703、光模块向光线路终端主体发送类型信息,类型信息用于指示异常设备的类型。Step 703: The optical module sends type information to the optical line terminal body. The type information is used to indicate the type of the abnormal device.
光模块在确定与光模块进行光通信的至少一个用户侧设备中存在异常设备后,可以向光线路终端主体发送类型信息,以告知光线路终端主体异常设备的类型。当光线路终端主体包括处理组件时,光模块实际是向处理组件发送类型信息。类似地,本申请实施例中光模块与光线路终端主体之间的信号交互均是光模块与处理组件之间的信号交互。在一种实现方式中,光模块与光线路终端主体之间可以通过I2C总线传输信号,则光模块可以通过I2C总线向光线路终端主体发送类型信息。After determining that an abnormal device exists in at least one user-side device that is in optical communication with the optical module, the optical module can send type information to the optical line terminal body to inform the optical line terminal body of the type of the abnormal device. When the main body of the optical line terminal includes a processing component, the optical module actually sends type information to the processing component. Similarly, the signal interaction between the optical module and the optical line terminal body in the embodiment of the present application is the signal interaction between the optical module and the processing component. In one implementation, signals can be transmitted between the optical module and the optical line terminal body through the I2C bus, and the optical module can send type information to the optical line terminal body through the I2C bus.
需要说明的是,光线路终端主体也可以自己确定异常设备的类型。此时,光模块就无需向光线路终端主体发送类型信息。光线路终端主体确定异常设备的类型的实现方式请相应参考步骤702中的相关描述,此处不再赘述。It should be noted that the optical line terminal subject can also determine the type of abnormal equipment by itself. At this time, the optical module does not need to send type information to the optical line terminal body. For the implementation method of the optical line terminal body determining the type of the abnormal device, please refer to the relevant description in step 702, which will not be described again here.
步骤704、若光线路终端主体光模块的工作模式与异常设备的类型不匹配,向光模块发送调整指令,调整指令用于指示将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Step 704: If the working mode of the optical module of the main body of the optical line terminal does not match the type of the abnormal device, send an adjustment instruction to the optical module. The adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device. .
光线路终端主体接收光模块发送的类型信息后,可以获取光模块的工作模式,并根据类型信息和光模块的工作模式,确定光模块的工作模式与异常设备的类型是否匹配。在一种可实现方式中,确定光模块的工作模式与异常设备的类型是否匹配的实现方式包括:当类型指示异常设备为PON设备时,确定光模块的工作模式与异常设备的类型匹配,当类型指示异常设备为其他类型的设备时,确定光模块的工作模式与异常设备的类型不匹配。After receiving the type information sent by the optical module, the optical line terminal body can obtain the working mode of the optical module, and determine whether the working mode of the optical module matches the type of the abnormal device based on the type information and the working mode of the optical module. In an implementable manner, determining whether the working mode of the optical module matches the type of the abnormal device includes: when the type indicates that the abnormal device is a PON device, determining that the working mode of the optical module matches the type of the abnormal device. If the type indicates that the abnormal device is another type of device, determine that the working mode of the optical module does not match the type of the abnormal device.
光线路终端主体在确定光模块的工作模式与异常设备的类型不匹配后,可以向光模块发 送调整指令,使得光模块根据该调整指令将光模块的工作模式调整为与异常设备的类型匹配的工作模式,以便于光模块能够在调整后的工作模式正确接收异常设备发送的信号。其中,与异常设备的类型匹配的工作模式可以为异常设备的工作模式,或者,可以为其他能够使光模块正确接收到异常设备发送的信号的其他工作模式。例如,当异常设备工作在以太工作模式时,与异常设备的类型匹配的工作模式可以为以太工作模式。可选地,光线路终端主体可以通过I2C总线向光模块发送调整指令。并且,当光模块包括控制器时,光线路终端主体用于向控制器发送调整指令,控制器用于根据调整指令指示光模块中的组件执行调整光模块的工作模式的相关操作。After determining that the working mode of the optical module does not match the type of abnormal device, the optical line terminal body can send a message to the optical module. Send an adjustment instruction so that the optical module adjusts the working mode of the optical module to a working mode that matches the type of abnormal device according to the adjustment instruction, so that the optical module can correctly receive the signal sent by the abnormal device in the adjusted working mode. The working mode that matches the type of the abnormal device may be the working mode of the abnormal device, or may be other working modes that enable the optical module to correctly receive signals sent by the abnormal device. For example, when the abnormal device works in the Ethernet working mode, the working mode matching the type of the abnormal device may be the Ethernet working mode. Optionally, the optical line terminal body can send adjustment instructions to the optical module through the I2C bus. Furthermore, when the optical module includes a controller, the optical line terminal body is used to send an adjustment instruction to the controller, and the controller is used to instruct components in the optical module to perform relevant operations for adjusting the working mode of the optical module according to the adjustment instruction.
若光模块的工作模式与异常设备的类型匹配,则无需调整光模块的工作模式,此时光线路终端主体可以不向光模块发送调整指令。相应的,当光模块在指定时长内未接收到光线路终端主体发送的调整指令时,可以确定无需调整工作模式。或者,当光模块的工作模式与异常设备的类型匹配时,光线路终端主体可以向光模块发送确定指令,以通知光模块其工作模式与异常设备的类型匹配。相应的,当光模块收到确定指令时,可以确定无需调整工作模式。可选地,确定指令也可以通过I2C总线发送。If the working mode of the optical module matches the type of the abnormal device, there is no need to adjust the working mode of the optical module. At this time, the optical line terminal body does not need to send adjustment instructions to the optical module. Correspondingly, when the optical module does not receive an adjustment instruction sent by the optical line terminal body within a specified period of time, it can be determined that there is no need to adjust the working mode. Alternatively, when the working mode of the optical module matches the type of the abnormal device, the optical line terminal body can send a determination instruction to the optical module to notify the optical module that its working mode matches the type of the abnormal device. Correspondingly, when the optical module receives the confirmation instruction, it can be determined that there is no need to adjust the working mode. Optionally, the determination instruction can also be sent via the I2C bus.
需要说明的是,由于异常设备发送的信号与正常工作的用户侧设备发送的信号会互相干扰,因此在需要获取异常设备发送的信号时,需要控制正常工作的用户侧设备停止与光线路终端主体通信。在光线路终端主体接收光模块发送的类型信息之后,光线路终端主体可以控制至少一个用户侧设备停止与光模块通信,以达到控制该至少一个用户侧设备停止与光线路终端主体通信的目的。这样一来,正常的用户侧设备会根据光线路终端主体的控制停止与光模块通信,而异常设备由于不受光线路终端主体的控制,仍会与光模块通信。It should be noted that since the signals sent by the abnormal equipment and the signals sent by the normally working user-side equipment will interfere with each other, when it is necessary to obtain the signals sent by the abnormal equipment, it is necessary to control the normal working user-side equipment to stop and the main body of the optical line terminal. communication. After the optical line terminal body receives the type information sent by the optical module, the optical line terminal body can control at least one user-side device to stop communicating with the optical module, so as to achieve the purpose of controlling the at least one user-side device to stop communicating with the optical line terminal body. In this way, normal user-side equipment will stop communicating with the optical module according to the control of the optical line terminal body, while abnormal equipment will still communicate with the optical module because it is not controlled by the optical line terminal body.
可选地,光线路终端主体控制至少一个用户侧设备停止与光模块通信,包括:向至少一个用户侧设备发送关闭指令,关闭指令用于指示关闭至少一个用户侧设备。正常的用户侧设备接收到关闭指令后就会停止工作,就不会向光线路终端主体发送信号,就实现了控制用户侧设备停止与光线路终端主体通信的目的。Optionally, the optical line terminal body controls at least one user-side device to stop communicating with the optical module, including: sending a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device. Normal user-side equipment will stop working after receiving the shutdown command, and will not send signals to the optical line terminal body. This achieves the purpose of controlling the user-side equipment to stop communicating with the optical line terminal body.
或者,光线路终端主体控制至少一个用户侧设备停止与光模块通信,包括:停止向至少一个用户侧设备授权。光线路终端主体不向用户侧设备授权时,正常的用户侧设备就无法向光线路终端发送信号,就实现了控制用户侧设备停止与光线路终端通信的目的。Alternatively, the optical line terminal body controls at least one user-side device to stop communicating with the optical module, including: stopping authorization to at least one user-side device. When the optical line terminal body does not authorize the user-side equipment, normal user-side equipment cannot send signals to the optical line terminal, thereby achieving the purpose of controlling the user-side equipment to stop communicating with the optical line terminal.
步骤705、光模块在接收到光线路终端主体基于类型信息发送的调整指令时,确定光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Step 705: When receiving the adjustment instruction sent by the optical line terminal body based on the type information, the optical module determines that the working mode of the optical module does not match the type of the abnormal device, and adjusts the working mode of the optical module to match the type of the abnormal device. Operating mode.
光模块接收到光线路终端主体发送的调整指令后,可以确定光模块的工作模式与异常设备的类型不匹配,并将光模块的工作模式调整为与异常设备的类型匹配的工作模式。并且,当光模块包括控制器时,可以由控制器根据调整指令做出调整光模块的工作模式的决策,并由控制器指示该光模块中的相关组件执行调整光模块的工作模式的相关操作。需要说明的是,若光模块的工作模式与异常设备的类型匹配,则无需执行该步骤705。After receiving the adjustment instruction sent by the optical line terminal body, the optical module can determine that the working mode of the optical module does not match the type of the abnormal device, and adjust the working mode of the optical module to a working mode that matches the type of the abnormal device. Moreover, when the optical module includes a controller, the controller can make a decision to adjust the working mode of the optical module according to the adjustment instruction, and the controller instructs the relevant components in the optical module to perform relevant operations for adjusting the working mode of the optical module. . It should be noted that if the working mode of the optical module matches the type of the abnormal device, there is no need to perform step 705.
可选地,光模块包括:信号处理器,调整光模块的工作模式主要指调整信号处理器的工作模式。在一种可实现方式中,光模块还包括两个或两个以上信号生成器,两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,第一频率的时钟信号与异常设备的类型匹配。此时,将光模块的工作模式调整为与异常设备的类型匹配的工作模式,包括:向信号处理器提供第一频率的时钟信号。可选地,光模块还包括信号选通组件时,光模块可以通过信号选通组件切换向信号处理器提供的时钟信号,实现对光模块的工作模式的调整。例如, 信号选通组件可以控制生成155.52MHz或其倍频频率或分频频率的时钟信号的信号生成器,向信号处理器提供时钟信号,使得光模块工作在PON工作模式。且信号选通组件可以控制生成156.25MHz或其倍频频率或分频频率的时钟信号的信号生成器,向信号处理器提供时钟信号,使得光模块工作在以太工作模式。Optionally, the optical module includes: a signal processor. Adjusting the working mode of the optical module mainly refers to adjusting the working mode of the signal processor. In an implementation manner, the optical module further includes two or more signal generators, one of the two or more signal generators is used to generate a clock signal of the first frequency, and the clock signal of the first frequency Matches the type of unusual device. At this time, adjusting the working mode of the optical module to a working mode matching the type of the abnormal device includes: providing a clock signal of the first frequency to the signal processor. Optionally, when the optical module also includes a signal gating component, the optical module can switch the clock signal provided to the signal processor through the signal gating component to adjust the working mode of the optical module. For example, The signal gating component can control the signal generator that generates a clock signal of 155.52MHz or its multiplication frequency or division frequency, and provides the clock signal to the signal processor so that the optical module works in the PON operating mode. And the signal gating component can control the signal generator that generates the clock signal of 156.25MHz or its multiplication frequency or frequency division frequency, and provides the clock signal to the signal processor, so that the optical module works in the Ethernet working mode.
需要说明的是,光模块也可以包括一个信号生成器,该信号生成器能够根据基础时钟信号,分时生成多种工作模式所需的时钟信号,并向信号处理器提供生成的时钟信号。例如,当在光模块需要工作在以太工作模式时,信号生成器用于生成156.25MHz或其倍频频率或分频频率的时钟信号,当在光模块需要工作在PON工作模式时,信号生成器用于生成155.52MHz或其倍频频率或分频频率的时钟信号。并且,此时光模块可以不包括信号选通组件。It should be noted that the optical module may also include a signal generator, which can generate clock signals required for multiple working modes in a time-sharing manner based on the basic clock signal, and provide the generated clock signal to the signal processor. For example, when the optical module needs to work in the Ethernet working mode, the signal generator is used to generate a clock signal of 156.25MHz or its multiplication frequency or frequency division frequency. When the optical module needs to work in the PON working mode, the signal generator is used Generate a clock signal of 155.52MHz or its multiple frequency or division frequency. Moreover, at this time, the optical module may not include a signal gating component.
步骤706、光模块在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,信号用于确定异常设备的地址。Step 706: The optical module continues to receive signals from at least one user-side device in an operating mode that matches the type of the abnormal device. The signal is used to determine the address of the abnormal device.
正常的用户侧设备停止与光线路终端通信后,光模块可以继续接收来自用户侧设备的信号,以便于根据该信号确定异常设备的地址。当光模块的工作模式调整为除PON工作模式外的工作模式时,光模块可以在调整后的工作模式下,继续接收来自用户侧设备的信号。例如,当异常设备工作在以太工作模式时,光模块可以在以太工作模式下,继续接收来自用户侧设备的信号。当光模块的工作模式未经过调整,则光模块在PON工作模式下,继续接收来自用户侧设备的信号。After the normal user-side equipment stops communicating with the optical line terminal, the optical module can continue to receive signals from the user-side equipment, so as to determine the address of the abnormal device based on the signal. When the working mode of the optical module is adjusted to a working mode other than the PON working mode, the optical module can continue to receive signals from the user-side device in the adjusted working mode. For example, when the abnormal device works in the Ethernet working mode, the optical module can continue to receive signals from the user-side device in the Ethernet working mode. When the working mode of the optical module has not been adjusted, the optical module continues to receive signals from user-side equipment in the PON working mode.
步骤707、光模块向光线路终端主体转发信号。Step 707: The optical module forwards the signal to the optical line terminal body.
在一种可实现方式中,当光模块在调整后的工作模式下接收的信号时,光模块向光线路终端主体转发信号,可以包括:光模块将信号转换为PON工作模式的信号,并向光线路终端主体转发PON工作模式的信号。这样一来,光线路终端主体仍可以工作在PON工作模式,即光线路终端主体无需跟随光模块调整工作模式。并且,由于光线路终端主体可以与多个光模块连接,当光线路终端主体不需要跟随光模块调整工作模式时,光线路终端主体仍能够与其他光模块连接的用户侧设备正常通信,进一步保证了其他光模块连接的用户侧设备能够正常工作。In an implementable manner, when the optical module receives a signal in the adjusted working mode, the optical module forwards the signal to the optical line terminal body, which may include: the optical module converts the signal into a signal in the PON working mode, and forwards the signal to the main body of the optical line terminal. The main body of the optical line terminal forwards signals in the PON working mode. In this way, the main body of the optical line terminal can still work in the PON working mode, that is, the main body of the optical line terminal does not need to follow the optical module to adjust the working mode. Moreover, since the optical line terminal body can be connected to multiple optical modules, when the optical line terminal body does not need to follow the optical module to adjust the working mode, the optical line terminal body can still communicate normally with user-side equipment connected to other optical modules, further ensuring User-side equipment connected to other optical modules can work normally.
当光模块包括信号转换组件时,可以通过信号转换组件将信号转换为PON工作模式的信号,并向光线路终端主体转发转换后的信号。例如,该信号转换组件可以为异步先入先出组件。该先入先出组件可以通过对信号执行时钟域的过渡操作,实现对信号的转换。此时,光模块还可以包括:串行器-解串器。经过先入先出组件转换后的信号可以通过串行器-解串器向光线路终端主体转发。或者,当信号处理器为通用处理器时,可以由通用处理器执行信号转换的操作。When the optical module includes a signal conversion component, the signal can be converted into a PON operating mode signal through the signal conversion component, and the converted signal can be forwarded to the optical line terminal body. For example, the signal conversion component can be an asynchronous first-in-first-out component. The first-in-first-out component can realize conversion of the signal by performing a clock domain transition operation on the signal. At this time, the optical module can also include: serializer-deserializer. The signal converted by the first-in first-out component can be forwarded to the optical line terminal body through the serializer-deserializer. Alternatively, when the signal processor is a general-purpose processor, the signal conversion operation may be performed by the general-purpose processor.
步骤708、光线路终端主体基于信号确定异常设备的地址。Step 708: The optical line terminal body determines the address of the abnormal device based on the signal.
光线路终端主体接收到光模块转发的信号后,可以对信号进行解析,以得到异常设备的地址(如MAC地址)。在获得异常设备的地址后,就可以根据该地址对异常设备进行管控隔离。例如,通知用户及时更换或拔掉异常设备,或由运维人员拔掉异常设备的分支光纤等。After the optical line terminal body receives the signal forwarded by the optical module, it can analyze the signal to obtain the address of the abnormal device (such as MAC address). After obtaining the address of the abnormal device, the abnormal device can be controlled and isolated based on the address. For example, the user is notified to promptly replace or unplug the abnormal equipment, or the operation and maintenance personnel unplug the branch fiber of the abnormal equipment, etc.
需要说明的是,也可以不由光线路终端主体基于信号确定异常设备的地址,例如,可以由光模块或其他设备基于信号确定异常设备的地址。并且,当由光模块基于信号确定异常设备的地址时,光模块可以不向光线路终端主体转发该信号,即无需执行步骤707。当由其他设备基于信号确定异常设备的地址时,光模块可以向该其他设备转发该信号。It should be noted that the optical line terminal body may not determine the address of the abnormal device based on the signal. For example, the optical module or other device may determine the address of the abnormal device based on the signal. Moreover, when the optical module determines the address of the abnormal device based on the signal, the optical module may not forward the signal to the optical line terminal body, that is, there is no need to perform step 707. When the address of the abnormal device is determined by other devices based on the signal, the optical module can forward the signal to the other device.
上面针对光模块根据光线路终端主体的指示切换工作模式的情况,对异常设备的检测方 法的实现过程进行了说明。下面针对光模块自发地切换工作模式的情况,对异常设备的检测方法的实现过程进行说明。如图8所示,该实现过程可以包括以下步骤:The above method for detecting abnormal equipment is based on the situation where the optical module switches the working mode according to the instructions of the optical line terminal body. The implementation process of the method is explained. The following describes the implementation process of the abnormal device detection method for the case where the optical module spontaneously switches working modes. As shown in Figure 8, the implementation process may include the following steps:
步骤801、光模块确定与其进行光通信的至少一个用户侧设备中存在异常设备,异常设备为处于异常工作状态的用户侧设备。Step 801: The optical module determines that there is an abnormal device in at least one user-side device with which it conducts optical communication. The abnormal device is a user-side device in an abnormal working state.
该步骤801的实现过程,请相应参考步骤701中的相应描述,此处不再赘述。For the implementation process of step 801, please refer to the corresponding description in step 701, which will not be described again here.
步骤802、光模块获得异常设备的类型。Step 802: The optical module obtains the type of the abnormal device.
该步骤802的实现过程,请相应参考步骤702中的相应描述,此处不再赘述。For the implementation process of step 802, please refer to the corresponding description in step 702, which will not be described again here.
需要说明的是,光模块确定异常设备的类型之后,也可以向光线路终端主体发送类型信息。光线路终端主体在接收类型信息之后,也可以控制与该光模块进行光通信的至少一个用户侧设备停止与该光模块通信。并且,控制该至少一个用户侧设备停止与光模块通信的实现方式也可以参考前述步骤704中的相关描述。It should be noted that after the optical module determines the type of the abnormal device, it can also send type information to the optical line terminal body. After receiving the type information, the optical line terminal body may also control at least one user-side device that is in optical communication with the optical module to stop communicating with the optical module. Moreover, the implementation method of controlling the at least one user-side device to stop communicating with the optical module may also refer to the relevant description in the aforementioned step 704.
步骤803、若光模块的工作模式与异常设备的类型不匹配,光模块自发地将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Step 803: If the working mode of the optical module does not match the type of the abnormal device, the optical module spontaneously adjusts the working mode of the optical module to a working mode that matches the type of the abnormal device.
光模块在确定异常设备的类型后,可以获取光模块的工作模式,并在光模块的工作模式与异常设备的类型不匹配时,自发地将光模块的工作模式调整为与异常设备的类型匹配的工作模式。并且,当光模块包括控制器时,控制器在确定光模块的工作模式与异常设备的类型不匹配后,可以指示光模块中的组件执行调整光模块的工作模式的相关操作。其中,光模块确定光模块的工作模式与异常设备的类型是否匹配的实现方式,以及,调整光模块的工作模式的实现方式,请相应参考前述步骤705中的相关描述,此处不再赘述。并且,若光模块的工作模式与异常设备的类型匹配,则无需执行该步骤803。After determining the type of the abnormal device, the optical module can obtain the working mode of the optical module, and when the working mode of the optical module does not match the type of the abnormal device, it can spontaneously adjust the working mode of the optical module to match the type of the abnormal device. working mode. Moreover, when the optical module includes a controller, after determining that the working mode of the optical module does not match the type of the abnormal device, the controller can instruct the components in the optical module to perform related operations of adjusting the working mode of the optical module. Among them, for the implementation method of the optical module determining whether the working mode of the optical module matches the type of the abnormal device, and the implementation method of adjusting the working mode of the optical module, please refer to the relevant description in the aforementioned step 705 accordingly, and will not be described again here. Moreover, if the working mode of the optical module matches the type of the abnormal device, there is no need to perform step 803.
步骤804、光模块在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,信号用于确定异常设备的地址。Step 804: The optical module continues to receive signals from at least one user-side device in an operating mode that matches the type of the abnormal device. The signal is used to determine the address of the abnormal device.
该步骤804的实现过程,请相应参考步骤706中的相应描述,此处不再赘述。For the implementation process of step 804, please refer to the corresponding description in step 706, which will not be described again here.
步骤805、光模块向光线路终端主体转发信号。Step 805: The optical module forwards the signal to the optical line terminal body.
该步骤805的实现过程,请相应参考步骤707中的相应描述,此处不再赘述。For the implementation process of step 805, please refer to the corresponding description in step 707, which will not be described again here.
步骤806、光线路终端主体基于信号确定异常设备的地址。Step 806: The optical line terminal body determines the address of the abnormal device based on the signal.
该步骤806的实现过程,请相应参考步骤708中的相应描述,此处不再赘述。For the implementation process of step 806, please refer to the corresponding description in step 708, which will not be described again here.
综上所述,在本申请实施例提供的异常设备的检测方法中,在光模块与至少一个用户侧设备进行光通信的情况下,光模块能够确定该至少一个用户侧设备中存在异常设备,获得异常设备的类型,并在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,能够便于根据该信号确定异常设备的地址。并且,通过光模块执行以上操作,只需要对与该光模块进行光通信的至少一个用户侧设备进行操作,无需对光模块连接的光线路终端主体连接的所有用户侧设备进行操作,无需关闭光模块连接的光线路终端主体连接的所有用户侧设备,避免了中断其他用户侧设备的业务,保证了该其他用户侧设备均能够正常工作,有效地减小了对该光模块连接的光线路终端主体连接的光网络终端的业务的影响,有助于提高用户体验。To sum up, in the abnormal device detection method provided by the embodiment of the present application, when the optical module performs optical communication with at least one user-side device, the optical module can determine that there is an abnormal device in the at least one user-side device, Obtaining the type of the abnormal device and continuing to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device can facilitate determining the address of the abnormal device based on the signal. Moreover, to perform the above operations through an optical module, you only need to operate at least one user-side device that performs optical communication with the optical module. There is no need to operate all user-side devices connected to the main body of the optical line terminal connected to the optical module, and there is no need to turn off the optical module. All user-side equipment connected to the main body of the optical line terminal connected to the module avoids interrupting the services of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the number of optical line terminals connected to the optical module. The business impact of the main connected optical network terminal helps to improve user experience.
例如,一个光线路终端主体与16个光模块连接,每个光模块可连接16-64个用户侧设备。为了检测出现异常的用户侧设备,若关闭该光线路终端主体通过所有光模块连接的所有用户侧设备,将会影响上百甚至上千个用户侧设备的业务。而通过采用本申请实施例提供的异常设备的检测方法,仅会影响一个光模块连接的用户侧设备,大幅度地减少了被影响的用户侧设备的数量,使得光线路终端主体通过其他光模块连接的所有用户侧设备军能够正常工作, 有效地减小了对用户侧设备的业务的影响。For example, an optical line terminal body is connected to 16 optical modules, and each optical module can connect 16-64 user-side devices. In order to detect abnormal user-side equipment, if all user-side equipment connected to the optical line terminal body through all optical modules is shut down, the services of hundreds or even thousands of user-side equipment will be affected. By adopting the abnormal device detection method provided by the embodiments of the present application, only the user-side equipment connected to one optical module will be affected, greatly reducing the number of affected user-side devices, allowing the main body of the optical line terminal to pass through other optical modules. All connected user-side devices can work normally, Effectively reduce the impact on the business of user-side equipment.
需要说明的是,本申请实施例提供的异常设备的检测方法的步骤先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。It should be noted that the sequence of the steps of the method for detecting abnormal equipment provided by the embodiments of the present application can be adjusted appropriately, and the steps can also be increased or decreased accordingly according to the situation. Any person familiar with the technical field can easily think of changing methods within the technical scope disclosed in this application, which should be covered by the protection scope of this application, and therefore will not be described again.
本申请提供了一种光模块。该光模块可以部署在光线路终端中。该光模块用于与至少一个用户侧设备进行光通信。如图9所示,该光模块90包括:This application provides an optical module. The optical module can be deployed in optical line terminals. The optical module is used for optical communication with at least one user-side device. As shown in Figure 9, the optical module 90 includes:
确定模块901,用于确定至少一个用户侧设备中存在异常设备,异常设备处于异常工作状态。The determination module 901 is used to determine that there is an abnormal device in at least one user-side device and that the abnormal device is in an abnormal working state.
获得模块902,用于获得异常设备的类型。Obtaining module 902 is used to obtain the type of abnormal device.
调整模块903,用于若光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式。The adjustment module 903 is used to adjust the working mode of the optical module to a working mode that matches the type of the abnormal device if the working mode of the optical module does not match the type of the abnormal device.
接收模块904,用于在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,信号用于确定异常设备的地址。The receiving module 904 is configured to continue to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device, and the signal is used to determine the address of the abnormal device.
可选地,光模块包括:信号处理器。则获得模块902,具体用于:基于信号处理器的工作状态,确定异常设备的类型,工作状态用于指示信号处理器工作在正常状态或异常状态。Optionally, the optical module includes: a signal processor. Then obtain module 902, which is specifically used to: determine the type of abnormal equipment based on the working status of the signal processor. The working status is used to indicate whether the signal processor is working in a normal state or an abnormal state.
可选地,当工作状态指示信号处理器工作在正常状态时,异常设备的类型为PON设备。当工作状态指示信号处理器工作在异常状态时,异常设备的类型为除PON设备外的其他类型的设备,其他类型的设备包括以太设备。Optionally, when the working status indicates that the signal processor is working in a normal status, the type of the abnormal device is a PON device. When the working status indicates that the signal processor is working in an abnormal state, the type of abnormal device is other types of equipment except PON equipment, and other types of equipment include Ethernet equipment.
可选地,如图10所示,光模块90还包括:发送模块905,用于向光线路终端中的光线路终端主体发送类型信息,类型信息用于指示异常设备的类型。Optionally, as shown in Figure 10, the optical module 90 also includes: a sending module 905, configured to send type information to the optical line terminal body in the optical line terminal, where the type information is used to indicate the type of the abnormal device.
则调整模块903,具体用于:在接收到光线路终端主体基于类型信息发送的调整指令时,确定光模块的工作模式与异常设备的类型不匹配,将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Then the adjustment module 903 is specifically used to: when receiving the adjustment instruction sent by the optical line terminal body based on the type information, determine that the working mode of the optical module does not match the type of the abnormal device, and adjust the working mode of the optical module to match the type of the abnormal device. The type matches the working mode.
可选地,调整模块903,具体用于:若光模块的工作模式与异常设备的类型不匹配,自发地将光模块的工作模式调整为与异常设备的类型匹配的工作模式。Optionally, the adjustment module 903 is specifically configured to: if the working mode of the optical module does not match the type of the abnormal device, spontaneously adjust the working mode of the optical module to a working mode that matches the type of the abnormal device.
可选地,当类型包括:PON设备或除PON设备外的其他类型的设备,其他类型的设备包括以太设备时,当类型指示异常设备为PON设备时,光模块的工作模式与异常设备的类型匹配,当类型指示异常设备为其他类型的设备时,光模块的工作模式与异常设备的类型不匹配。Optionally, when the type includes: PON equipment or other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment, and when the type indicates that the abnormal device is PON equipment, the working mode of the optical module is consistent with the type of the abnormal device. Matching. When the type indicates that the abnormal device is another type of device, the working mode of the optical module does not match the type of the abnormal device.
可选地,发送模块905,用于向光线路终端中的光线路终端主体转发信号。Optionally, the sending module 905 is used to forward the signal to the optical line terminal body in the optical line terminal.
可选地,发送模块905,具体用于:将信号转换为PON工作模式的信号,向光线路终端主体转发PON工作模式的信号。Optionally, the sending module 905 is specifically configured to: convert the signal into a PON working mode signal, and forward the PON working mode signal to the optical line terminal body.
可选地,光模块包括:信号处理器,以及,两个或两个以上信号生成器,两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,第一频率的时钟信号与异常设备的类型匹配时,调整模块903,具体用于:向信号处理器提供第一频率的时钟信号。Optionally, the optical module includes: a signal processor, and two or more signal generators. One of the two or more signal generators is used to generate a clock signal of the first frequency. When the clock signal matches the type of the abnormal device, the adjustment module 903 is specifically configured to: provide a clock signal of the first frequency to the signal processor.
可选地,确定模块901,具体用于:在接收到来自用户侧设备的连续信号时,确定至少一个用户侧设备中存在异常设备。Optionally, the determination module 901 is specifically configured to determine that an abnormal device exists in at least one user-side device when receiving continuous signals from the user-side device.
综上所述,在本申请实施例提供的光模块中,在光模块与至少一个用户侧设备进行光通信的情况下,确定模块能够确定该至少一个用户侧设备中存在异常设备,获得模块获得异常设备的类型,接收模块在与异常设备的类型匹配的工作模式下,继续接收来自至少一个用户侧设备的信号,能够便于根据该信号确定异常设备的地址。并且,通过光模块执行以上操作, 只需要对与该光模块进行光通信的至少一个用户侧设备进行操作,无需对光模块连接的光线路终端主体连接的所有用户侧设备进行操作,无需关闭光模块连接的光线路终端主体连接的所有用户侧设备,避免了中断其他用户侧设备的业务,保证了该其他用户侧设备均能够正常工作,有效地减小了对该光模块连接的光线路终端主体连接的光网络终端的业务的影响,有助于提高用户体验。To sum up, in the optical module provided by the embodiment of the present application, when the optical module performs optical communication with at least one user-side device, the determining module can determine that there is an abnormal device in the at least one user-side device, and the obtaining module obtains Depending on the type of the abnormal device, the receiving module continues to receive signals from at least one user-side device in a working mode that matches the type of the abnormal device, which can facilitate determining the address of the abnormal device based on the signal. And, perform the above operations through the optical module, It is only necessary to operate at least one user-side device that is in optical communication with the optical module. There is no need to operate all the user-side devices connected to the main body of the optical line terminal connected to the optical module. There is no need to close the main body of the optical line terminal connected to the optical module. All user-side equipment avoids interrupting the business of other user-side equipment, ensuring that other user-side equipment can work normally, effectively reducing the business interruption of the optical network terminal connected to the main body of the optical line terminal connected to the optical module. Impact, helping to improve user experience.
本申请提供了一种光线路终端主体。光线路终端主体可以部署在光线路终端中。如图11所示,光线路终端主体110包括:This application provides an optical line terminal body. The optical line terminal body may be deployed in the optical line terminal. As shown in Figure 11, the optical line terminal body 110 includes:
获取模块1101,用于获取光模块的工作模式。The acquisition module 1101 is used to acquire the working mode of the optical module.
接收模块1102,用于接收光模块发送的类型信息,类型信息用于指示异常设备的类型,异常设备为与光模块进行光通信的至少一个用户侧设备中的一个,且异常设备处于异常工作状态。The receiving module 1102 is configured to receive type information sent by the optical module. The type information is used to indicate the type of the abnormal device. The abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device is in an abnormal working state. .
发送模块1103,用于若光模块的工作模式与异常设备的类型不匹配,向光模块发送调整指令,调整指令用于指示将光模块的工作模式调整为与异常设备的类型匹配的工作模式。The sending module 1103 is used to send an adjustment instruction to the optical module if the working mode of the optical module does not match the type of the abnormal device. The adjustment instruction is used to instruct the working mode of the optical module to be adjusted to a working mode that matches the type of the abnormal device.
可选地,如图12所示,光线路终端主体110还包括:控制模块1104,用于控制至少一个用户侧设备停止与光模块通信。Optionally, as shown in Figure 12, the optical line terminal body 110 also includes: a control module 1104, used to control at least one user-side device to stop communicating with the optical module.
可选地,控制模块1104,具体用于:向至少一个用户侧设备发送关闭指令,关闭指令用于指示关闭至少一个用户侧设备。Optionally, the control module 1104 is specifically configured to: send a shutdown instruction to at least one user-side device, where the shutdown instruction is used to instruct to shut down at least one user-side device.
可选地,控制模块1104,具体用于:停止向至少一个用户侧设备授权。Optionally, the control module 1104 is specifically configured to: stop authorizing at least one user-side device.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和模块的具体工作过程,可以参考前述方法实施例中的对应内容,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can be referred to the corresponding content in the foregoing method embodiments, and will not be described again here.
综上所述,在本申请实施例提供的光线路终端主体中,发送模块可以根据类型信息和光模块的工作模式,向光模块发送调整指令,使得光模块根据该调整指令将工作模块调整为与异常设备的类型匹配的工作模式,并在与异常设备的类型匹配的工作模式下接收异常设备的信号,以便于根据该信号确定异常设备的地址。To sum up, in the optical line terminal body provided by the embodiment of the present application, the sending module can send an adjustment instruction to the optical module according to the type information and the working mode of the optical module, so that the optical module adjusts the working module to be consistent with the adjustment instruction. The abnormal device type matches the working mode, and receives the signal of the abnormal device in the working mode matching the abnormal device type, so as to determine the address of the abnormal device based on the signal.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质为非易失性计算机可读存储介质,该计算机可读存储介质包括程序指令,当程序指令在计算机设备上运行时,使得计算机设备执行如本申请实施例提供的异常设备的检测方法。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium is a non-volatile computer-readable storage medium. The computer-readable storage medium includes program instructions. When the program instructions are run on a computer device At this time, the computer device is caused to execute the abnormal device detection method provided by the embodiment of the present application.
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请实施例提供的异常设备的检测方法。An embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computer, it causes the computer to execute the abnormal device detection method provided by the embodiment of the present application.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage media mentioned can be read-only memory, magnetic disks or optical disks, etc.
在本申请实施例中,术语“第一”、“第二”和“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”是指一个或多个,术语“多个”指两个或两个以上,除非另有明确的限定。In the embodiments of the present application, the terms "first", "second" and "third" are only used for description purposes and cannot be understood as indicating or implying relative importance. The term "at least one" refers to one or more, and the term "plurality" refers to two or more, unless expressly limited otherwise.
本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外, 本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this application is just an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, alone There are three situations B. in addition, The character "/" in this article generally indicates that the related objects are an "or" relationship.
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application, All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concepts and principles of the present application shall be included in the protection of the present application. within the range.

Claims (32)

  1. 一种异常设备的检测方法,其特征在于,所述方法应用于光线路终端中的任一光模块,所述光模块与至少一个用户侧设备进行光通信,所述方法包括:A method for detecting abnormal equipment, characterized in that the method is applied to any optical module in an optical line terminal, and the optical module performs optical communication with at least one user-side device, and the method includes:
    确定所述至少一个用户侧设备中存在异常设备,所述异常设备处于异常工作状态;Determine that there is an abnormal device in the at least one user-side device, and the abnormal device is in an abnormal working state;
    获得所述异常设备的类型;Obtain the type of the abnormal device;
    若所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式;If the working mode of the optical module does not match the type of the abnormal device, adjust the working mode of the optical module to a working mode that matches the type of the abnormal device;
    在与所述异常设备的类型匹配的工作模式下,继续接收来自所述至少一个用户侧设备的信号,所述信号用于确定所述异常设备的地址。In an operating mode matching the type of the abnormal device, continue to receive a signal from the at least one user-side device, where the signal is used to determine the address of the abnormal device.
  2. 根据权利要求1所述的方法,其特征在于,所述光模块包括:信号处理器,所述获得所述异常设备的类型,包括:The method according to claim 1, wherein the optical module includes: a signal processor, and obtaining the type of the abnormal device includes:
    基于所述信号处理器的工作状态,确定所述异常设备的类型,所述工作状态用于指示所述信号处理器工作在正常状态或异常状态。Based on the working status of the signal processor, the type of the abnormal device is determined, and the working status is used to indicate that the signal processor is working in a normal state or an abnormal state.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that:
    当所述工作状态指示所述信号处理器工作在正常状态时,所述异常设备的类型为PON设备;When the working state indicates that the signal processor is working in a normal state, the type of the abnormal device is a PON device;
    当所述工作状态指示所述信号处理器工作在异常状态时,所述异常设备的类型为除PON设备外的其他类型的设备,所述其他类型的设备包括以太设备。When the working state indicates that the signal processor is working in an abnormal state, the type of the abnormal device is other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment.
  4. 根据权利要求2或3所述的方法,其特征在于,在所述确定所述异常设备的类型之后,所述方法还包括:The method according to claim 2 or 3, characterized in that, after determining the type of the abnormal device, the method further includes:
    向所述光线路终端中的光线路终端主体发送类型信息,所述类型信息用于指示所述异常设备的类型;Send type information to the optical line terminal body in the optical line terminal, where the type information is used to indicate the type of the abnormal device;
    所述若所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式,包括:If the working mode of the optical module does not match the type of the abnormal device, adjusting the working mode of the optical module to a working mode that matches the type of the abnormal device includes:
    在接收到所述光线路终端主体基于所述类型信息发送的调整指令时,确定所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。When receiving the adjustment instruction sent by the optical line terminal body based on the type information, it is determined that the working mode of the optical module does not match the type of the abnormal device, and the working mode of the optical module is adjusted to match the type of the abnormal device. The type of abnormal device described above matches the working mode.
  5. 根据权利要求1至3任一所述的方法,其特征在于,所述若所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式,包括:The method according to any one of claims 1 to 3, characterized in that if the working mode of the optical module does not match the type of the abnormal device, the working mode of the optical module is adjusted to match the type of the abnormal device. The type of abnormal device matches the working mode, including:
    若所述光模块的工作模式与所述异常设备的类型不匹配,自发地将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。If the working mode of the optical module does not match the type of the abnormal device, the working mode of the optical module is automatically adjusted to the working mode that matches the type of the abnormal device.
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述类型包括:PON设备或除PON设备外的其他类型的设备,所述其他类型的设备包括以太设备;The method according to any one of claims 1 to 5, characterized in that the type includes: PON equipment or other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment;
    当所述类型指示所述异常设备为PON设备时,所述光模块的工作模式与所述异常设备的类型匹配;When the type indicates that the abnormal device is a PON device, the working mode of the optical module matches the type of the abnormal device;
    当所述类型指示所述异常设备为所述其他类型的设备时,所述光模块的工作模式与所述异常设备的类型不匹配。 When the type indicates that the abnormal device is the other type of device, the working mode of the optical module does not match the type of the abnormal device.
  7. 根据权利要求1至6任一所述的方法,其特征在于,在与所述异常设备的类型匹配的工作模式下,继续接收来自所述至少一个用户侧设备的信号之后,所述方法还包括:The method according to any one of claims 1 to 6, characterized in that, after continuing to receive signals from the at least one user-side device in an operating mode matching the type of the abnormal device, the method further includes :
    向所述光线路终端中的光线路终端主体转发所述信号。The signal is forwarded to an optical line terminal body in the optical line terminal.
  8. 根据权利要求7所述的方法,其特征在于,所述向所述光线路终端中的光线路终端主体转发所述信号,包括:The method according to claim 7, characterized in that forwarding the signal to the optical line terminal body in the optical line terminal includes:
    将所述信号转换为PON工作模式的信号,向所述光线路终端主体转发所述PON工作模式的信号。The signal is converted into a PON operating mode signal, and the PON operating mode signal is forwarded to the optical line terminal body.
  9. 根据权利要求1至8任一所述的方法,其特征在于,所述光模块包括:信号处理器,以及,两个或两个以上信号生成器,所述两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,所述第一频率的时钟信号与所述异常设备的类型匹配,所述将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式,包括:The method according to any one of claims 1 to 8, characterized in that the optical module includes: a signal processor, and two or more signal generators, the two or more signal generators One of them is used to generate a clock signal of a first frequency, the clock signal of the first frequency matches the type of the abnormal device, and the working mode of the optical module is adjusted to match the type of the abnormal device. working modes, including:
    向所述信号处理器提供所述第一频率的时钟信号。A clock signal of the first frequency is provided to the signal processor.
  10. 根据权利要求1至9任一所述的方法,其特征在于,所述确定所述至少一个用户侧设备中存在异常设备,包括:The method according to any one of claims 1 to 9, characterized in that determining that an abnormal device exists in the at least one user-side device includes:
    在接收到来自所述用户侧设备的连续信号时,确定所述至少一个用户侧设备中存在异常设备。When receiving continuous signals from the user-side device, it is determined that an abnormal device exists in the at least one user-side device.
  11. 一种异常设备的检测方法,其特征在于,所述方法应用于光线路终端中的任一光线路终端主体,所述方法包括:A method for detecting abnormal equipment, characterized in that the method is applied to any optical line terminal body in the optical line terminal, and the method includes:
    获取所述光模块的工作模式;Obtain the working mode of the optical module;
    接收所述光模块发送的类型信息,所述类型信息用于指示异常设备的类型,所述异常设备为与所述光模块进行光通信的至少一个用户侧设备中的一个,且所述异常设备处于异常工作状态;Receive type information sent by the optical module, the type information is used to indicate the type of an abnormal device, the abnormal device is one of at least one user-side device that performs optical communication with the optical module, and the abnormal device In abnormal working condition;
    若所述光模块的工作模式与所述异常设备的类型不匹配,向所述光模块发送调整指令,所述调整指令用于指示将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。If the working mode of the optical module does not match the type of the abnormal device, send an adjustment instruction to the optical module. The adjustment instruction is used to instruct the working mode of the optical module to be adjusted to that of the abnormal device. Type matching working mode.
  12. 根据权利要求11所述的方法,其特征在于,在所述接收所述光模块发送的类型信息之后,所述方法还包括:The method according to claim 11, characterized in that, after receiving the type information sent by the optical module, the method further includes:
    控制所述至少一个用户侧设备停止与所述光模块通信。Control the at least one user-side device to stop communicating with the optical module.
  13. 根据权利要求12所述的方法,其特征在于,所述控制所述至少一个用户侧设备停止与所述光模块通信,包括:The method according to claim 12, wherein the controlling the at least one user-side device to stop communicating with the optical module includes:
    向所述至少一个用户侧设备发送关闭指令,所述关闭指令用于指示关闭所述至少一个用户侧设备。A shutdown instruction is sent to the at least one user-side device, where the shutdown instruction is used to instruct to shut down the at least one user-side device.
  14. 根据权利要求12所述的方法,其特征在于,所述控制所述至少一个用户侧设备停止与所述光模块通信,包括:The method according to claim 12, wherein the controlling the at least one user-side device to stop communicating with the optical module includes:
    停止向所述至少一个用户侧设备授权。Stop authorizing the at least one user-side device.
  15. 一种光模块,其特征在于,所述光模块部署在光线路终端中,所述光模块与至少一个用户侧设备进行光通信,所述光模块包括:An optical module, characterized in that the optical module is deployed in an optical line terminal, and the optical module performs optical communication with at least one user-side device, and the optical module includes:
    确定模块,用于确定所述至少一个用户侧设备中存在异常设备,所述异常设备处于异常工作状态;Determining module, used to determine that there is an abnormal device in the at least one user-side device, and the abnormal device is in an abnormal working state;
    获得模块,用于获得所述异常设备的类型; Obtaining module, used to obtain the type of the abnormal device;
    调整模块,用于若所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式;An adjustment module, configured to adjust the working mode of the optical module to a working mode that matches the type of the abnormal device if the working mode of the optical module does not match the type of the abnormal device;
    接收模块,用于在与所述异常设备的类型匹配的工作模式下,继续接收来自所述至少一个用户侧设备的信号,所述信号用于确定所述异常设备的地址。A receiving module, configured to continue to receive signals from the at least one user-side device in a working mode that matches the type of the abnormal device, where the signal is used to determine the address of the abnormal device.
  16. 根据权利要求15所述的光模块,其特征在于,所述光模块包括:信号处理器,所述获得模块,具体用于:基于所述信号处理器的工作状态,确定所述异常设备的类型,所述工作状态用于指示所述信号处理器工作在正常状态或异常状态。The optical module according to claim 15, characterized in that the optical module includes: a signal processor, and the obtaining module is specifically configured to: determine the type of the abnormal device based on the working status of the signal processor. , the working state is used to indicate that the signal processor is working in a normal state or an abnormal state.
  17. 根据权利要求16所述的光模块,其特征在于,The optical module according to claim 16, characterized in that:
    当所述工作状态指示所述信号处理器工作在正常状态时,所述异常设备的类型为PON设备;When the working state indicates that the signal processor is working in a normal state, the type of the abnormal device is a PON device;
    当所述工作状态指示所述信号处理器工作在异常状态时,所述异常设备的类型为除PON设备外的其他类型的设备,所述其他类型的设备包括以太设备。When the working state indicates that the signal processor is working in an abnormal state, the type of the abnormal device is other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment.
  18. 根据权利要求16或17所述的光模块,其特征在于,所述光模块还包括:The optical module according to claim 16 or 17, characterized in that the optical module further includes:
    发送模块,用于向所述光线路终端中的光线路终端主体发送类型信息,所述类型信息用于指示所述异常设备的类型;A sending module, configured to send type information to the optical line terminal body in the optical line terminal, where the type information is used to indicate the type of the abnormal device;
    所述调整模块,具体用于:在接收到所述光线路终端主体基于所述类型信息发送的调整指令时,确定所述光模块的工作模式与所述异常设备的类型不匹配,将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。The adjustment module is specifically configured to: when receiving an adjustment instruction sent by the optical line terminal body based on the type information, determine that the working mode of the optical module does not match the type of the abnormal device, and adjust the The working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
  19. 根据权利要求15至17任一所述的光模块,其特征在于,所述调整模块,具体用于:若所述光模块的工作模式与所述异常设备的类型不匹配,自发地将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。The optical module according to any one of claims 15 to 17, characterized in that the adjustment module is specifically configured to: if the working mode of the optical module does not match the type of the abnormal device, spontaneously adjust the The working mode of the optical module is adjusted to a working mode that matches the type of the abnormal device.
  20. 根据权利要求15至19任一所述的光模块,其特征在于,所述类型包括:PON设备或除PON设备外的其他类型的设备,所述其他类型的设备包括以太设备;The optical module according to any one of claims 15 to 19, characterized in that the type includes: PON equipment or other types of equipment except PON equipment, and the other types of equipment include Ethernet equipment;
    当所述类型指示所述异常设备为PON设备时,所述光模块的工作模式与所述异常设备的类型匹配;When the type indicates that the abnormal device is a PON device, the working mode of the optical module matches the type of the abnormal device;
    当所述类型指示所述异常设备为所述其他类型的设备时,所述光模块的工作模式与所述异常设备的类型不匹配。When the type indicates that the abnormal device is the other type of device, the working mode of the optical module does not match the type of the abnormal device.
  21. 根据权利要求15至20任一所述的光模块,其特征在于,所述光模块还包括:The optical module according to any one of claims 15 to 20, characterized in that the optical module further includes:
    发送模块,用于向所述光线路终端中的光线路终端主体转发所述信号。A sending module, configured to forward the signal to the optical line terminal body in the optical line terminal.
  22. 根据权利要求21所述的光模块,其特征在于,所述发送模块,具体用于:将所述信号转换为PON工作模式的信号,向所述光线路终端主体转发所述PON工作模式的信号。The optical module according to claim 21, characterized in that the sending module is specifically used to: convert the signal into a PON working mode signal, and forward the PON working mode signal to the optical line terminal body. .
  23. 根据权利要求15至22任一所述的光模块,其特征在于,所述光模块包括:信号处理器,以及,两个或两个以上信号生成器,所述两个或两个以上信号生成器中的一个用于生成第一频率的时钟信号,所述第一频率的时钟信号与所述异常设备的类型匹配,所述调整模块,具体用于:向所述信号处理器提供所述第一频率的时钟信号。The optical module according to any one of claims 15 to 22, characterized in that the optical module includes: a signal processor, and two or more signal generators, the two or more signal generators One of the processors is used to generate a clock signal of a first frequency, and the clock signal of the first frequency matches the type of the abnormal device. The adjustment module is specifically used to: provide the first frequency to the signal processor. A frequency clock signal.
  24. 根据权利要求15至23任一所述的光模块,其特征在于,所述确定模块,具体用于:在接收到来自所述用户侧设备的连续信号时,确定所述至少一个用户侧设备中存在异常设备。The optical module according to any one of claims 15 to 23, characterized in that the determination module is specifically configured to: when receiving a continuous signal from the user-side device, determine that the at least one user-side device There is an abnormal device.
  25. 一种光线路终端主体,其特征在于,所述光线路终端主体部署在光线路终端中,所述光线路终端主体包括:An optical line terminal body, characterized in that the optical line terminal body is deployed in the optical line terminal, and the optical line terminal body includes:
    获取模块,用于获取所述光模块的工作模式; An acquisition module, used to acquire the working mode of the optical module;
    接收模块,用于接收所述光模块发送的类型信息,所述类型信息用于指示异常设备的类型,所述异常设备为与所述光模块进行光通信的至少一个用户侧设备中的一个,且所述异常设备处于异常工作状态;A receiving module, configured to receive type information sent by the optical module, where the type information is used to indicate the type of an abnormal device, where the abnormal device is one of at least one user-side device that performs optical communication with the optical module, And the abnormal equipment is in abnormal working condition;
    发送模块,用于若所述光模块的工作模式与所述异常设备的类型不匹配,向所述光模块发送调整指令,所述调整指令用于指示将所述光模块的工作模式调整为与所述异常设备的类型匹配的工作模式。A sending module, configured to send an adjustment instruction to the optical module if the working mode of the optical module does not match the type of the abnormal device, and the adjustment instruction is used to instruct the working mode of the optical module to be adjusted to match the type of the abnormal device. The type of abnormal device matches the working mode.
  26. 根据权利要求25所述的光线路终端主体,其特征在于,所述光线路终端主体还包括:The optical line terminal body according to claim 25, characterized in that the optical line terminal body further includes:
    控制模块,用于控制所述至少一个用户侧设备停止与所述光模块通信。A control module configured to control the at least one user-side device to stop communicating with the optical module.
  27. 根据权利要求26所述的光线路终端主体,其特征在于,所述控制模块,具体用于:向所述至少一个用户侧设备发送关闭指令,所述关闭指令用于指示关闭所述至少一个用户侧设备。The optical line terminal body according to claim 26, characterized in that the control module is specifically configured to: send a shutdown instruction to the at least one user-side device, and the shutdown instruction is used to instruct the shutdown of the at least one user. side equipment.
  28. 根据权利要求26所述的光线路终端主体,其特征在于,所述控制模块,具体用于:停止向所述至少一个用户侧设备授权。The optical line terminal body according to claim 26, wherein the control module is specifically configured to stop authorizing the at least one user-side device.
  29. 一种光模块,其特征在于,包括存储器和信号处理器,所述存储器存储有程序指令,所述信号处理器运行所述程序指令以执行权利要求1至10任一所述的方法。An optical module is characterized in that it includes a memory and a signal processor, the memory stores program instructions, and the signal processor runs the program instructions to execute the method described in any one of claims 1 to 10.
  30. 一种光线路终端主体,其特征在于,包括存储器和处理组件,所述存储器存储有程序指令,所述处理组件运行所述程序指令以执行权利要求11至14任一所述的方法。An optical line terminal body is characterized in that it includes a memory and a processing component, the memory stores program instructions, and the processing component runs the program instructions to execute the method described in any one of claims 11 to 14.
  31. 一种计算机可读存储介质,其特征在于,包括程序指令,当所述程序指令在计算机设备上运行时,使得所述计算机设备执行如权利要求1至14任一所述的方法。A computer-readable storage medium, characterized in that it includes program instructions, which when the program instructions are run on a computer device, cause the computer device to execute the method according to any one of claims 1 to 14.
  32. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至14任一所述的方法。 A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute the method according to any one of claims 1 to 14.
PCT/CN2023/087173 2022-05-09 2023-04-08 Abnormal equipment detection method, optical module and optical line terminal body WO2023216784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210501407.7 2022-05-09
CN202210501407.7A CN117082382A (en) 2022-05-09 2022-05-09 Abnormal equipment detection method, optical module and optical line terminal main body

Publications (1)

Publication Number Publication Date
WO2023216784A1 true WO2023216784A1 (en) 2023-11-16

Family

ID=88712145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087173 WO2023216784A1 (en) 2022-05-09 2023-04-08 Abnormal equipment detection method, optical module and optical line terminal body

Country Status (2)

Country Link
CN (1) CN117082382A (en)
WO (1) WO2023216784A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028451A (en) * 2006-07-18 2008-02-07 Nec Access Technica Ltd Optical subscriber communication system, abnormal light emission preventing method for optical subscriber device in optical subscriber communication system, and program thereof
CN102149025A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Interface matching method, device and system for PON (passive optical network)
CN104540046A (en) * 2015-01-07 2015-04-22 上海市共进通信技术有限公司 Method for achieving intelligent ONU double-light source adaptation based on optical network unit
CN113382324A (en) * 2021-08-12 2021-09-10 武汉西迪特通信技术有限公司 Method capable of switching GPON and EPON modes and dual-mode OLT head-end equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028451A (en) * 2006-07-18 2008-02-07 Nec Access Technica Ltd Optical subscriber communication system, abnormal light emission preventing method for optical subscriber device in optical subscriber communication system, and program thereof
CN102149025A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Interface matching method, device and system for PON (passive optical network)
CN104540046A (en) * 2015-01-07 2015-04-22 上海市共进通信技术有限公司 Method for achieving intelligent ONU double-light source adaptation based on optical network unit
CN113382324A (en) * 2021-08-12 2021-09-10 武汉西迪特通信技术有限公司 Method capable of switching GPON and EPON modes and dual-mode OLT head-end equipment

Also Published As

Publication number Publication date
CN117082382A (en) 2023-11-17

Similar Documents

Publication Publication Date Title
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
US7957650B2 (en) Pluggable optical network unit capable of status indication
CN112887851B (en) Household all-optical network system and implementation method thereof
US20080166119A1 (en) Optical network unit for error detection and recovery of optic module and control method thereof
EP3886339B1 (en) Optical communication apparatus, optical line terminal, and optical communication processing method
US9413466B2 (en) Distributed pon transceiver architecture
JP2015519791A (en) Optical line terminator and method for realizing the same
CN105743566A (en) Double PON ONU optical link protection switching device and protection method
US20100014566A1 (en) Method and apparatus for a 10gbase-t small form factor pluggable (sfp+) module
US9007228B2 (en) Transmission system using dying gasp
JP2009111507A (en) Subscriber premises-side optical line terminating apparatus and optical transmission system
US20200343975A1 (en) Communications Network and Related Device
JP5067610B2 (en) Station side terminal equipment in PON system
EP4216567A1 (en) Networking method and apparatus for passive optical network
CN113242480B (en) Photoelectric multiplexing device and method
JP2009171441A (en) Registration method for house-side device, ason system, and station-side device
WO2023216784A1 (en) Abnormal equipment detection method, optical module and optical line terminal body
US8472485B2 (en) Methods and apparatuses to support multiple fiber networking platforms
US20100211831A1 (en) Fault notification method and communication apparatus
JP2012156954A (en) Station side device, home side device, and communication system
JP5071693B2 (en) Communication apparatus, communication system, and communication speed switching method
US10291325B2 (en) Optical network unit, PON system, and method of controlling optical network unit
US9148224B2 (en) Ethernet passive optical network over coaxial (EPoC) system rate mechanism
WO2023201912A1 (en) Device registration method and apparatus
WO2023098659A1 (en) Communication method, device and system

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: 23802560

Country of ref document: EP

Kind code of ref document: A1