Optical line terminal device, optical network terminal device, and detection method
By identifying rogue optical network terminal devices by carrying characteristic signals in optical signals, the problem of rogue behavior interfering with optical communication systems is solved, rapid detection and emergency processing are achieved, and the communication quality and stability of the system are improved.
Patent Information
- Application Number
- PCT/CN2025/081585
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-22
- Filing Date
- 2025-03-10
- Publication Date
- 2025-09-25
AI Technical Summary
In optical communication systems, the abnormal lighting behavior of rogue optical network terminal devices can affect the services of other devices, causing disconnection or inability to go online, seriously affecting communication quality and stability.
The characteristic signal is carried in the optical signal, and rogue optical network terminal devices are identified through the spectral characteristics of the characteristic signal. The optical line terminal device receives the optical signal outside the target time slot for detection and demarcation, avoiding the need to open a separate rogue detection window, and realizing rapid identification and emergency response of rogue devices.
It improves the communication quality and stability of the optical communication system, reduces the interference of rogue devices on other devices, and improves detection efficiency and accuracy.
Smart Images

Figure CN2025081585_25092025_PF_FP_ABST
Abstract
Description
Optical line terminal equipment, optical network terminal equipment and detection method
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 22, 2024, with application number 202410342995.3 and application name “An optical line terminal device, optical network terminal device and detection method”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of optical communication technology, and in particular to an optical line terminal device, an optical network terminal device, and a detection method. Background Art
[0003] Optical communication systems include optical line terminals (OLTs), optical fiber links, and optical network terminals (ONTs). Information exchange between OLTs and ONTs occurs via optical fiber links. During information transmission between OLTs and ONTs, if one ONT is affected by an emergency and exhibits rogue (abnormal light emission) behavior, it can impact the services of other ONTs, causing them to repeatedly disconnect or become unable to come online. This can render services largely unavailable, severely impacting the communication quality and stability of the optical communication system. Summary of the Invention
[0004] The embodiments of the present application provide an optical line terminal device, an optical network terminal device, and a detection method to detect and demarcate optical network terminal devices that exhibit rogue behavior, thereby improving the communication quality and stability of the optical communication system.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an optical line terminal device is provided. The optical line terminal device is configured to receive optical signals transmitted by different optical network terminal devices in different time slots. The optical signals carry characteristic signals of the corresponding optical network terminal devices, and different optical network terminal devices correspond to different characteristic signals. Each optical network terminal device has a preset time slot. When a target optical signal is received in a time slot outside a target time slot, the target optical network terminal device is determined based on the characteristic signal carried by the target optical signal. The target time slot is the preset time slot corresponding to the target optical signal.
[0007] In an embodiment of the present application, a characteristic signal is carried in an optical signal. When a rogue behavior occurs in a certain optical network terminal device, that is, when the optical line terminal device detects that a target optical signal is received in a time slot outside the target time slot, the optical line terminal device can determine the optical network terminal device that has committed rogue behavior at any time through the characteristic signal without the need to open a rogue detection window separately, so as to achieve the detection and delimitation of the rogue optical network terminal device, so as to perform emergency processing on the rogue optical network terminal device and improve the communication quality and stability of the optical communication system.
[0008] In one possible implementation, the optical line terminal device is further configured to: in response to a certain optical network terminal device accessing communications, send corresponding configuration information to the certain optical network terminal device, where the configuration information is used to generate a characteristic signal for the certain optical network terminal device. In this implementation of the present application, when a certain optical network terminal device accesses communications, the optical line terminal device sends corresponding configuration information to the certain optical network terminal device, where the certain optical network terminal device generates a characteristic signal, thereby enabling the optical line terminal device to detect and demarcate rogue optical network terminal devices using the characteristic signal.
[0009] In one possible embodiment, after sending corresponding configuration information to a certain optical network terminal device, the optical line terminal device is further configured to: send a ranging request message to the certain optical network terminal device, the ranging request message including a preset response time slot for the certain optical network terminal device; and receive a ranging response message corresponding to the ranging request message from the certain optical network terminal device, the ranging response message including a response processing time of the certain optical network terminal device to the ranging request message, and a characteristic signal corresponding to the certain optical network terminal device. In this embodiment of the present application, since during the ranging phase, the optical line terminal device also allocates different preset response time slots to different optical network terminal devices via the ranging request message, which may also introduce time slot conflicts and cause rogue behavior, a characteristic signal is inserted into the ranging response message of the optical network terminal device to enable the optical line terminal device to detect and demarcate rogue optical network terminal devices via the characteristic signal.
[0010] In one possible implementation, the characteristic signal is carried within the optical signal's preamble. In this embodiment, since the characteristic signal is a signal with specially defined frequency variation characteristics, its insertion into various standard protocols will not affect the normal operation of those protocols. Therefore, this embodiment supports detection and delimitation of optical network terminal equipment (ONTs) that utilize any standard protocol, expanding its scope of application. Furthermore, carrying the characteristic signal within the optical signal's preamble prevents conflicts between the characteristic signal and the service signal within the optical signal.
[0011] In one possible implementation, the spectral characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device. In this embodiment of the present application, a corresponding coding relationship is established between the spectral characteristics of the characteristic signal and the device serial numbers or device identifications of different optical network terminal devices. Characteristic signals with different spectral characteristics are set based on the device serial numbers or device identifications of the optical network terminal devices. By detecting the received characteristic signal, the optical line terminal device can determine the device serial number or device identification of the corresponding optical network terminal device, thereby identifying the optical network terminal device that is engaging in rogue behavior.
[0012] In one possible embodiment, an optical line terminal device includes a media access control circuit and an optical module, the media access control circuit and the optical module being coupled. The optical module is configured to receive optical signals transmitted by different optical network terminal devices in different time slots, the optical signals carrying characteristic signals of the corresponding optical network terminal devices. Different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot. The media access control circuit is configured to, when receiving a target optical signal in a time slot outside a target time slot, determine a target optical network terminal device based on the characteristic signal carried by the target optical signal. The target time slot is the preset time slot corresponding to the target optical signal. In this embodiment of the present application, the characteristic signal is carried in the optical signal. When a rogue optical network terminal device exhibits rogue behavior, that is, when the optical line terminal device detects receipt of the target optical signal in a time slot outside the target time slot, the media access control circuit can readily identify the rogue optical network terminal device based on the characteristic signal without requiring a separate rogue detection window. This allows for detection and demarcation of rogue optical network terminal devices, enabling emergency response to rogue optical network terminal devices and improving the communication quality and stability of the optical communication system.
[0013] In one possible embodiment, the optical line terminal device further includes an encoding circuit coupled to the media access control circuit. The media access control circuit is further configured to obtain identification information of a particular optical network terminal device in response to a particular optical network terminal device accessing communications. The encoding circuit is configured to obtain configuration information corresponding to the particular optical network terminal device based on the identification information. The configuration information is used by the particular optical network terminal device to generate a characteristic signal. The optical module is further configured to transmit the corresponding configuration information to the particular optical network terminal device. In this embodiment of the present application, a corresponding encoding relationship is established between the characteristic signal and the identification information of different optical network terminal devices, and different characteristic signals are encoded depending on the identification information of the optical network terminal device. This allows the optical line terminal device to determine the identification information of the corresponding optical network terminal device by detecting the received characteristic signal, thereby identifying an optical network terminal device that is engaging in rogue behavior.
[0014] In one possible embodiment, the optical line terminal device further includes a decoding circuit, and the media access control circuit is coupled to the optical module via the decoding circuit. The decoding circuit is configured to parse the characteristic signal to obtain the spectral characteristics of the characteristic signal, where the spectral characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device. In this embodiment of the present application, a corresponding coding relationship is established between the spectral characteristics of the characteristic signal and the device serial numbers or device identifications of different optical network terminal devices. Characteristic signals with different spectral characteristics are set based on the different device serial numbers or device identifications of the optical network terminal devices. By detecting the received characteristic signal, the decoding circuit can determine the device serial number or device identification of the corresponding optical network terminal device, thereby identifying optical network terminal devices that are engaging in rogue behavior.
[0015] In a second aspect, an optical network terminal device is provided, which is used to: send an optical signal to an optical line terminal device, the optical signal carrying a characteristic signal of the corresponding optical network terminal device, different optical network terminal devices corresponding to different characteristic signals, and each optical network terminal device has a preset time slot.
[0016] In a possible implementation, the optical network terminal device is further configured to: access the optical line terminal device for communication, and receive configuration information sent by the optical line terminal device, where the configuration information is used by the optical network terminal device to generate a characteristic signal.
[0017] In one possible implementation, after receiving the configuration information sent by the optical line terminal device, the optical network terminal device is further configured to: receive ranging request information sent by the optical line terminal device, the ranging request information including a response time slot preset for the optical network terminal; and send ranging response information corresponding to the ranging request information to the optical line terminal device, the ranging response information including a response processing time of the optical network terminal device to the ranging request information and a characteristic signal corresponding to the optical network terminal device.
[0018] In a possible implementation, in the optical signal, the characteristic signal is carried in the preamble of the optical signal.
[0019] In a possible implementation, the spectrum characteristics of the characteristic signal are used to indicate a device serial number or device identification of a corresponding optical network terminal device.
[0020] In a third aspect, a detection method is provided, performed by an optical line terminal device. The method comprises: receiving optical signals transmitted by different optical network terminal devices in different time slots, the optical signals carrying characteristic signals of the corresponding optical network terminal devices, different optical network terminal devices corresponding to different characteristic signals, and each optical network terminal device having a preset time slot. When a target optical signal is received in a time slot outside a target time slot, the target optical network terminal device is determined based on the characteristic signal carried by the target optical signal, where the target time slot is the preset time slot corresponding to the target optical signal.
[0021] In a possible implementation, the method further includes: in response to a certain optical network terminal device accessing communication, sending corresponding configuration information to the certain optical network terminal device, where the configuration information is used for the certain optical network terminal device to generate a characteristic signal.
[0022] In one possible implementation, after sending corresponding configuration information to a certain optical network terminal device, the method further includes: sending ranging request information to the certain optical network terminal device, the ranging request information including a response time slot preset for the certain optical network terminal device; and receiving ranging response information corresponding to the ranging request information from the certain optical network terminal device, the ranging response information including a response processing time of the certain optical network terminal device to the ranging request information and a characteristic signal corresponding to the certain optical network terminal device.
[0023] In one possible embodiment, in response to a certain optical network terminal device accessing communications, sending corresponding configuration information to the certain optical network terminal device includes: obtaining identification information of the certain optical network terminal device in response to the certain optical network terminal device accessing communications; obtaining configuration information corresponding to the certain optical network terminal device based on the identification information; using the configuration information to generate a characteristic signal for the certain optical network terminal device; and sending the corresponding configuration information to the certain optical network terminal device.
[0024] In a possible implementation, the method further includes: parsing the characteristic signal to obtain a spectrum characteristic of the characteristic signal, where the spectrum characteristic of the characteristic signal is used to indicate a device serial number or device identification of a corresponding optical network terminal device.
[0025] In a possible implementation, in the optical signal, the characteristic signal is carried in the preamble of the optical signal.
[0026] In a fourth aspect, a detection method is provided, performed by an optical network terminal device. The method includes: transmitting an optical signal to an optical line terminal device, the optical signal carrying a characteristic signal of the corresponding optical network terminal device, wherein different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot.
[0027] In a possible implementation, the method further includes: accessing an optical line terminal device for communication, and receiving configuration information sent by the optical line terminal device, where the configuration information is used by the optical network terminal device to generate a characteristic signal.
[0028] In one possible implementation, after receiving the configuration information sent by the optical line terminal device, the method further includes: receiving ranging request information sent by the optical line terminal device, the ranging request information including a response time slot preset for the optical network terminal; and sending ranging response information corresponding to the ranging request information to the optical line terminal device, the ranging response information including a response processing time of the optical network terminal device to the ranging request information and a characteristic signal corresponding to the optical network terminal device.
[0029] In a possible implementation, in the optical signal, the characteristic signal is carried in the preamble of the optical signal.
[0030] In a possible implementation, the spectrum characteristics of the characteristic signal are used to indicate a device serial number or device identification of a corresponding optical network terminal device.
[0031] In a fifth aspect, a communication system is provided, comprising any optical line terminal device in the first aspect and any optical network terminal device in the second aspect, wherein the optical line terminal device is coupled to the optical network terminal device.
[0032] In a sixth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising instructions. When the instructions are executed on a processor, the processor is caused to execute any detection method in the third aspect and / or execute any detection method in the fourth aspect.
[0033] Regarding the technical principles and beneficial effects of the second, third, fourth, fifth and sixth aspects mentioned above, please refer to the relevant description of the first aspect mentioned above, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] FIG1 is a diagram of information interaction between an OLT and an ONU provided in an embodiment of the present application;
[0035] FIG2 is a schematic diagram of information transmission between an OLT and an ONU provided in an embodiment of the present application;
[0036] FIG3 is a structural diagram of a communication system provided in an embodiment of the present application;
[0037] FIG4 is a rogue ONU detection time slot diagram provided by an embodiment of the present application;
[0038] FIG5 is a structural diagram of an optical network terminal device provided in an embodiment of the present application;
[0039] FIG6 is a structural diagram of an optical line terminal device provided in an embodiment of the present application;
[0040] FIG7 is a flow chart of a detection method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] It should be noted that the terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.
[0042] The terms "exemplary" or "for example" in the embodiments of this application are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0043] The terms "coupling" and "connection" involved in the embodiments of this application should be understood in a broad sense. For example, they may refer to a physical direct connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.
[0044] First, some basic concepts involved in the embodiments of this application are explained:
[0045] Received signal strength indicator (RSSI): This refers to the strength of a wireless signal and is commonly used to assess the signal quality of wireless communication links. A higher RSSI value indicates a higher received signal strength, and vice versa. In optical communication networks, RSSI can be used to measure the quality of optical signals and determine whether optical communication is stable.
[0046] A passive optical network (PON) is a single-fiber, bidirectional optical access network that uses a point-to-multipoint structure. Its typical topology is a tree-type. The PON network consists of an optical line terminal (OLT) on the central office side, an optical network unit (ONU) on the user side, and an optical distribution network (ODN). It is a single-fiber, bidirectional system. In the downstream direction (OLT to ONU), the signal broadcast by the OLT reaches each ONU through the ODN. In the upstream direction (ONU to OLT), the signal sent by the ONU reaches the OLT but not other ONUs. In order to avoid data conflicts and improve network utilization, the upstream direction adopts a time division multiple access (TDMA) access method. In some scenarios, the user side can also be an optical network terminal (ONT). In this embodiment, the user side is an ONU as an example. PON typically uses a point-to-multipoint topology. In this structure, multiple ONUs share an upstream channel and the OLT through TDMA. This allows a single PON port on the OLT to connect to multiple ONUs while ensuring normal data communication. However, not every ONU can connect to the OLT's PON port for service transmission. An ONU must go through an ONU activation process before it can provide service transmission services to users.
[0047] The activation process refers to the series of distributed steps required for an activated ONU to join a PON network or resume operation. Two types of ONUs require activation: those previously disconnected from the OLT and those newly joining the PON network. The OLT controls the ONU through actions such as ranging authorization and the exchange of uplink and downlink physical layer operations, administration, and maintenance (PLOAM) information to complete the activation process. As shown in Figure 1, the ONU activation process involves multiple state transitions and information exchanges between the OLT and the ONU. These steps include: Step 1: Upon powering on, the ONU enters the initial state (O1). The OLT sends clock synchronization information to the ONU, which then enters the standby state (O2), completing frame synchronization. In the standby state, the ONU waits to receive broadcast profile PLOAM information. Step 2: The OLT sends a broadcast profile PLOAM. The ONU configures itself based on this broadcast configuration information (such as delimiters, power mode, and preset equalization delay (EqD)), ensuring that all online ONUs receive the same configuration information. This configuration information may include ONU activation parameters, Quality of Service (QoS) parameters, encryption parameters, and more. By broadcasting this configuration information, the OLT ensures that all ONUs operate according to the same standards and configurations, thereby ensuring the normal operation of the entire PON network. The ONU updates its own parameters based on the configuration information and transitions to the serial number state (serial-number-state, O3). Step 3: The OLT sends a serial number request message (serial-number request) to all ONUs in the serial number state to discover new ONUs and their serial numbers. Step 4: The ONU reports its serial number (SN) to the OLT. Step 5: The OLT assigns an ONU an identity (ONU-ID) based on the ONU's SN. After obtaining the ONU-ID, the ONU transitions to the ranging state (O4). Step 6: The OLT sends unicast profile PLOAM to the ONU. This is used by the OLT to send unicast profile information to a specific ONU. This profile is customized for that specific ONU, such as specific QoS settings, bandwidth (uplink timeslot) allocation, encryption keys, and more. This profile is optimized based on the ONU's needs and network conditions to ensure performance and quality of service.Unicast profile PLOAM messages allow the OLT to perform more refined and specific configuration and control of individual ONUs. Step 7: The OLT sends a ranging request to the ONU. Step 8: The ONU reports registration PLOAM information, known as a ranging response, to the OLT. The ranging response includes the ONU's SN and response processing time. Step 9: After the OLT completes the round-trip EqD measurement, it calculates the unidirectional EqD and transmits it to the ONU, completing the ranging between the OLT and the ONU. Finally, the ONU adjusts the start time of the upstream physical frame clock, completing the activation process and entering the operational state (O5). Step 10: In the operational state, the ONU begins normal service transmission. During data transmission, data is broadcast downstream from the OLT to multiple ONUs. According to the standard protocol, the header of each data frame contains the specific ONU-ID assigned during registration. This ONU-ID indicates that the data frame is destined for a unique ONU (ONU1, ONU2, ONU3, ..., ONUn). When the service signal reaches the ONU, the ONU makes a judgment at the physical layer based on the ONU-ID, receives the data frames addressed to itself, and discards those addressed to other ONUs.
[0048] Because the PON network utilizes a point-to-multipoint topology, multiple ONUs share an upstream channel and the OLT using TDMA. To ensure data transmission between ONUs does not conflict, the OLT strictly controls whether and when ONUs transmit data. Based on each ONU's reported bandwidth requirements, the OLT accurately calculates the start time and length of their transmission timeslot (or window) and communicates this information to the corresponding ONU. This mechanism is known as the authorization mechanism in PON. Each ONU must strictly follow the OLT's instructions, turning on its optical module at the start of its assigned transmission window and shutting it down immediately at the end of its window. However, if an unexpected event, such as an ONU ID being occupied, timeslot drift, smearing, or secondary reflections, causes an ONU to transmit upstream data in a prolonged or random manner, rather than in the timeslot assigned by the OLT, this can lead to "rogue behavior" or a "rogue fault," as shown in Figure 2. A rogue ONU can occupy other ONUs' communication timeslots for either a short or long period. If a rogue ONU is constantly on, other ONUs connected to the same PON port will be unable to go online. If a rogue ONU is erratically transmitting, other ONUs will repeatedly come online and go offline, rendering services largely unavailable. This impact extends beyond the problematic ONU. If multiple users (e.g., 32 or 64) are connected to the same PON port, the impact can extend to multiple users, amplifying the impact several times. These issues severely disrupt the normal operation of the optical communication system and degrade the performance of the entire network. Therefore, the presence of rogue ONUs severely impacts the communication quality and stability of the PON network.
[0049] In order to detect possible rogue ONUs in an optical communication system, an embodiment of the present application provides a communication system, as shown in FIG3 , wherein the communication system 1000 includes an optical line terminal device 100 and an optical network terminal device 200 , and the optical line terminal device 100 is coupled to the optical network terminal device 200 .
[0050] In some possible implementations, the optical line terminal device 100 may be an OLT, and the optical network terminal device 200 may be an ONU. As shown in Figure 4, the OLT is connected to ONU1, ONU2, ONU3, and ONU4. ONU3 randomly emits abnormal light, exhibits rogue behavior, and cyclically transmits a rogue stream containing ONU3's ONU-ID. In Figure 4, the idle stream indicates that no service signals are transmitted. However, when rogue behavior occurs, the idle stream will carry the rogue ONU's ONU-ID. Therefore, the OLT detects the ONU's identity by receiving the idle stream. Based on the ONU's ONU-ID, the OLT determines that the ONU corresponding to the ONU's ONU-ID has exhibited rogue behavior. The idle stream is selected as the time to detect rogue ONUs because if the ONU's ONU-ID is received within the authorized time of an ONU, normal data will be superimposed on the data containing the ONU-ID, and the OLT may not be able to recognize the ONU-ID. During the idle stream, normally operating ONUs will not send data; only rogue ONUs are likely to send data. Therefore, the OLT receives a complete, identifiable stream containing the rogue ONU's ONU-ID in the idle stream, allowing it to easily parse the ONU corresponding to that ONU-ID. However, this embodiment relies on signal detection (SD) and RSSI, such as the RSSI acquisition timing. Due to technical limitations, if the upstream light is too short or the optical signal is too weak, it cannot be detected, resulting in bit errors. Furthermore, for hardware-induced random light rogues, if the random light is never captured during the idle period, it will always conflict with and overlap with service signals. For example, in Figure 4, ONU2 overlaps with the idle stream. Based on the overlapping idle stream, the OLT cannot receive a complete, identifiable stream, making it impossible to effectively detect the rogue ONU unless a separate rogue detection window is opened. Furthermore, this embodiment does not employ standard protocols, making it difficult to be compatible with OLTs and ONUs that employ standard protocols.
[0051] In some possible implementations, as shown in FIG5 , an optical network terminal device 200 includes a first media access control (MAC) circuit 210, a first optical module 220, and a complex programmable logic device (CPLD) 230. The first MAC circuit 210 and the first optical module 220 are coupled, and the CPLD 230 is disposed on a communication link between the first MAC circuit 210 and the first optical module 220. The first MAC circuit 210 outputs a MAC_en signal to the CPLD 230. MAC_en is an enable signal for the first MAC circuit 210. It indicates whether the first MAC circuit 210 is active. When the MAC_en signal is valid, the first MAC circuit 210 processes received and transmitted data packets normally. When the signal is invalid, the first MAC circuit 210 may stop processing data packets, enter a low-power mode, or perform other specific operations. Based on MAC_en, the CPLD 230 outputs a TX_disable signal to the first optical module 220. TX_disable is a control signal used to control the transmission state of the first optical module 220. When the TX_disable signal is activated (typically at a logic high or logic low level), the first optical module 220 should stop transmitting optical signals. In the optical network terminal device 200, the CPLD 230 detects TX_disable and MAC_en. If TX_disable and MAC_en do not match, the optical network terminal device 200 is considered to be abnormally illuminated and the power supply to the optical network terminal device 200 is automatically shut down to prevent rogue behavior.
[0052] In some embodiments, the optical network terminal device 200 shown in FIG5 further includes a switch device 240 and a central processing unit (CPU) 250. The CPU 250 is coupled to the first media access control circuit 210, the complex programmable logic device 230, and the switch device 240, respectively. The switch device 240 is coupled to the first optical module 220. The various circuits, modules, and devices in FIG5 interact via signals such as TX_Power, TX_SD, RX_SD, SCL, SDA, and TX_fault. TX_Power represents a transmit power signal, TX_SD represents transmit signal detect, RX_SD represents receive signal detect, SCL represents a serial clock, SDA represents serial data, and TX_fault represents a transmit fault indication.
[0053] However, in the embodiment shown in FIG5 , if the optical network terminal device 200 actively regulates itself, that is, actively shuts down its own light emission, it is difficult for the optical line terminal device 100 to determine whether the disconnection of the optical network terminal device 200 is due to its own rogue behavior or manual power-off or power-down for energy saving.
[0054] In order to accurately detect and delimit the optical network terminal device 200 that has a random rogue fault in the communication system 1000 without opening a separate rogue detection window, in some possible implementations, an embodiment of the present application provides an optical line terminal device. As shown in FIG6 , the optical line terminal device 100 includes a second media access control circuit 110 and a second optical module 120, and also includes an encoding circuit B and a decoding circuit J. The second media access control circuit 110 and the second optical module 120 are coupled. In some scenarios, at least one of the encoding circuit B and the decoding circuit J can be set within the second media access control circuit 110, or in some scenarios, both the encoding circuit B and the decoding circuit J can be set outside the second media access control circuit 110. This is not limited here. In this embodiment, the encoding circuit B and the decoding circuit J are both set within the second media access control circuit 110, and the second media access control circuit 110 also includes a controller K, and the controller K is coupled to the encoding circuit B and the decoding circuit J respectively. After the optical network terminal device 200 enters the ranging state (O4) and any subsequent state, the optical line terminal device 100 obtains the SN of the optical network terminal device 200 through the second optical module 120 and completes the ONU-ID allocation. The encoding circuit B can encode the optical network terminal device 200 using a preset encoding format according to the SN or ONU-ID of the optical network terminal device 200 to obtain a characteristic signal. The preset encoding format can be any encoding format and is not limited here. The second media access control circuit 110 controls the second optical module 120 to issue a unicast profile PLOAM. The unicast profile PLOAM includes a burst template configuration table (burst_profile message) and encodes the characteristic signal into the burst_profile message. The optical network terminal device 200 receives the unicast profile PLOAM and stores the new configuration information. To avoid conflicts between the characteristic signal and other signals in the optical signal (such as the service signal), the optical network terminal device 200 inserts the allocated characteristic signal into the preamble of the uplink optical signal. Different optical network terminal devices 200 correspond to different characteristic signals.At the same time, to avoid signal time slot conflicts, the optical line terminal device 100 allocates a preset time slot to each optical network terminal device 200. The optical line terminal device 100 receives optical signals sent by different optical network terminal devices 200 in different time slots. When a target optical signal is received in a time slot outside the target time slot (the target time slot is the preset time slot corresponding to the target optical signal), the decoding circuit J determines the target optical network terminal device 200 based on the characteristic signal carried by the target optical signal. This allows accurate demarcation of the optical network terminal device 200 that has experienced random rogue faults in the communication system 1000 without separately opening a rogue detection window. This also achieves low latency and improves the efficiency of rogue fault detection and demarcation, allowing for emergency response to rogue optical network terminal devices, thereby improving the communication quality and stability of the optical communication system.
[0055] In some embodiments, the power spectral density (PSD) of the characteristic signal exhibits specific spectral characteristics, which can be any of the following: a single frequency peak or valley, multiple frequency peaks or valleys, ripple, low-frequency cutoff variation, etc. In this embodiment, because the characteristic signal is a signal with specially defined frequency variation characteristics, inserting the characteristic signal into different standard protocols will not affect the normal operation of these standard protocols. Therefore, this embodiment supports the detection and delimitation of any optical network terminal device that adopts a standard protocol, expanding the scope of application of this embodiment.
[0056] Exemplarily, the spectral characteristics of the characteristic signal are used to indicate the SN or ONU-ID of the corresponding optical network terminal device 200. By establishing a corresponding coding relationship between the spectral characteristics of the characteristic signal and the device serial numbers or device identifiers of different optical network terminal devices, characteristic signals with different spectral characteristics are set according to the different device serial numbers or device identifiers of the optical network terminal devices. The decoding circuit J can perform a fast Fourier transform (FFT) on the characteristic signal carried by the target optical signal, convert it into a PSD, and decode the specific frequency characteristics to determine the device serial number or device identifier of the corresponding optical network terminal device, thereby identifying the optical network terminal device that is engaging in rogue behavior. Therefore, when a rogue fault occurs in a certain optical network terminal device 200, the frequency characteristics can be used to locate the optical network terminal device 200 that has the rogue fault. Specifically, the decoding circuit J can be implemented using an optical physical layer (OPHY) or an optical digital signal processor (ODSP).
[0057] In some embodiments, when an optical network terminal device 200 accesses an optical line terminal device 100, the optical line terminal device 100 sends corresponding configuration information to the optical network terminal device 200 in response to the optical network terminal device 200 accessing the communication. The configuration information is used by the optical network terminal device to generate a characteristic signal. This enables the optical line terminal device 100 to detect and demarcate rogue optical network terminal devices 200 using the characteristic signal.
[0058] In some embodiments, during the ranging phase, the optical line terminal device 100 sends a ranging request message to the optical network terminal device 200, and the ranging request message includes a response time slot preset for the optical network terminal device 200. The optical line terminal device 100 allocates different preset response time slots to different optical network terminal devices 200 through the ranging request message, which may also introduce time slot conflicts and may cause rogue behavior. Therefore, in addition to the response processing time, a characteristic signal is also inserted into the ranging response message of the optical network terminal device 200 to enable the optical line terminal device to detect and delimit rogue optical network terminal devices through the characteristic signal. This avoids the need to separately allocate a detection window for detecting rogue optical network terminal devices 200 during the ranging phase, thereby achieving low latency and improving detection efficiency.
[0059] In some embodiments, the interaction process between the optical line terminal device 100 and the optical network terminal device 200 supports a standard protocol.
[0060] In some embodiments, the burst_profile message includes an identity identification (content ONU-ID) field, a preamble format description (content preamble descriptor) field, a total encoding length (content preamble word count) field, and an encoding content (content preamble pattern) field. Specifically, the content ONU-ID is the assigned ONU-ID, ensuring that the characteristic signal can be accurately transmitted to the target optical network terminal device 200. The content preamble descriptor is TRLLLLLL, where T is configured to 0, indicating that a custom preamble is set, and LLLLLL is the length of one encoding cycle, indicating the length of one cycle of the encoded characteristic signal. This length is generally used to determine the length of a single pattern or cycle in the preamble. The content preamble word count refers to the total length of the preamble, measured in bytes. For example, it can be one byte, two bytes, or another length. This field is used to define the length of the entire preamble sequence. The content preamble pattern indicates the specific encoding content or pattern of the preamble. Since T is configured to 0, that is, a custom preamble is used, the content preamble pattern field will contain the custom encoding sequence or pattern. This encoded content is used to construct the preamble sent by the optical network terminal device 200, allowing the optical line terminal device 100 to identify and parse it. The burst_profile message provides detailed configuration guidance for the unicast profile PLOAM burst_profile message by defining fields such as content ONU-ID, content preamble descriptor, content preamble word count, and content preamble pattern. This enables the optical network terminal device 200 to send burst data according to the specified format and parameters, and the optical line terminal device 100 to accurately receive and parse this data based on these configurations. This configuration helps improve the efficiency and reliability of network communications, particularly in scenarios that require processing large amounts of burst data.
[0061] For example, the specific configuration of the burst_profile message is shown in Table 1:
[0062] Table 1
[0063] Based on the devices shown in FIG. 3 and FIG. 6 , a detection method including the following steps S100 to S300 as shown in FIG. 7 can be implemented. Specifically, the steps include:
[0064] S100: The optical line terminal device sends configuration information to the optical network terminal device.
[0065] In some examples, when an optical network terminal device is connected to an optical line terminal device, in order to ensure that all optical network terminal devices connected to the optical line terminal device can operate normally and orderly, the optical line terminal device will configure the optical network terminal device. During the configuration process, the optical line terminal device allocates an ONU-ID based on the SN of the optical network terminal device, allocates bandwidth (uplink time slot) based on the ONU-ID, etc., so that each optical network terminal device has a preset time slot. In this embodiment, in order to accurately define the optical network terminal device that has a random rogue fault, the configuration information also includes a characteristic signal. The characteristic signal is obtained by the optical line terminal device based on the SN or ONU-ID of the optical network terminal device. Therefore, the spectrum characteristics of the characteristic signal can be used to indicate the SN or ONU-ID of the corresponding optical network terminal device. The optical network terminal device sends an optical signal to the optical line terminal device based on the configuration information.
[0066] S200: The optical line terminal device receives an optical signal sent by the optical network terminal device.
[0067] In some examples, the optical signal transmitted by the optical network terminal device is transmitted in response to a ranging request message transmitted by the optical network terminal device. The ranging request message transmitted by the optical network terminal device includes a preset response time slot allocated by the optical network terminal device to the optical network terminal device. The optical network terminal device transmits ranging response message to the optical line terminal device in the preset response time slot. The ranging response message includes a processing time for the optical network terminal device to respond to the ranging request message, as well as a characteristic signal corresponding to the optical network terminal device.
[0068] In some examples, the optical signal carries the service signal and characteristic signal of the corresponding optical network terminal device. Different optical network terminal devices correspond to different characteristic signals. When the optical network terminal device sends an optical signal to the optical line terminal device, it inserts the characteristic signal into the preamble of the optical signal.
[0069] S300: The optical line terminal device determines a target optical network terminal device according to the optical signal.
[0070] In some examples, when a target optical signal is received in a time slot outside a target time slot (the target time slot is a preset time slot corresponding to the target optical signal), the characteristic signal carried on the target optical signal is parsed to obtain the spectrum characteristics of the characteristic signal. Because the spectrum characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device, they can be used to determine the target optical network terminal device.
[0071] The embodiments of the present application provide an optical line terminal device, an optical network terminal device, and a detection method. These methods carry characteristic signals within optical signals. When a rogue optical network terminal device exhibits rogue behavior, i.e., when the optical line terminal device detects receipt of a target optical signal in a time slot outside the target time slot, the optical line terminal device can readily identify the rogue optical network terminal device using the characteristic signals, without the need to open a separate rogue detection window. This allows for the detection and demarcation of rogue optical network terminal devices, enabling emergency response to rogue optical network terminal devices and improving the communication quality and stability of the optical communication system. Even in random rogue scenarios such as when the optical network terminal device's ID is occupied, time slot drift, tailing, or secondary reflections occur, the accuracy of this embodiment's detection of rogue optical network terminal devices based on the characteristic signals carried within the optical signal remains unaffected.
[0072] An embodiment of the present application also provides a computer-readable storage medium, which includes instructions; when the instructions are executed on the optical line terminal device and / or the optical network terminal device described in the above embodiments, the optical line terminal device and / or the optical network terminal device executes the detection method described in the above embodiments (for example, the control method related to the embodiments shown in Figures 3, 6 and 7).
[0073] The processor involved in the embodiments of the present application may be a chip. For example, it may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0074] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus ram (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0075] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0076] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0077] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0078] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0079] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located on a single device or distributed across multiple devices. Some or all of the modules may be selected to achieve the purpose of this embodiment based on actual needs.
[0080] In addition, the functional modules in the various embodiments of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.
[0081] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0082] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An optical line terminal device, characterized in that: The optical line terminal equipment is used for: receiving optical signals sent by different optical network terminal devices in different time slots, wherein the optical signals carry characteristic signals of the corresponding optical network terminal devices, different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot; When a target optical signal is received in a time slot outside a target time slot, a target optical network terminal device is determined according to the characteristic signal carried by the target optical signal, where the target time slot is a preset time slot corresponding to the target optical signal.
2. The optical line terminal device according to claim 1, wherein: The optical line terminal equipment is further used for: In response to a certain optical network terminal device accessing communication, corresponding configuration information is sent to the certain optical network terminal device, and the configuration information is used by the certain optical network terminal device to generate the characteristic signal.
3. The optical line terminal device according to claim 2, characterized in that: After sending the corresponding configuration information to the certain optical network terminal device, the optical line terminal device is further used to: Sending ranging request information to the certain optical network terminal device, wherein the ranging request information includes a response time slot preset for the certain optical network terminal device; Receive ranging response information corresponding to the ranging request information from the certain optical network terminal device, the ranging response information including the response processing time of the certain optical network terminal device to the ranging request information, and the characteristic signal corresponding to the certain optical network terminal device.
4. The optical line terminal device according to any one of claims 1 to 3, characterized in that: In the optical signal, the characteristic signal is carried in a preamble of the optical signal.
5. The optical line terminal device according to any one of claims 1 to 4, characterized in that: The frequency spectrum characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device.
6. The optical line terminal device according to any one of claims 1 to 5, characterized in that: The optical line terminal device includes a media access control circuit and an optical module, and the media access control circuit and the optical module are coupled; The optical module is used to receive optical signals sent by different optical network terminal devices in different time slots, wherein the optical signals carry characteristic signals of the corresponding optical network terminal devices, different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot; The media access control circuit is configured to determine a target optical network terminal device according to the characteristic signal carried by the target optical signal when receiving a target optical signal in a time slot outside a target time slot, where the target time slot is a preset time slot corresponding to the target optical signal.
7. The optical line terminal device according to claim 6, characterized in that: The optical line terminal device further includes an encoding circuit, wherein the encoding circuit is coupled to the media access control circuit; The media access control circuit is further configured to: in response to a certain optical network terminal device accessing communication, obtain identification information of the certain optical network terminal device; The encoding circuit is used to: obtain configuration information corresponding to the certain optical network terminal device according to the identification information; the configuration information is used by the certain optical network terminal device to generate the characteristic signal; The optical module is further used to send corresponding configuration information to the certain optical network terminal device.
8. The optical line terminal device according to claim 6 or 7, characterized in that: The optical line terminal device further includes a decoding circuit, and the media access control circuit is coupled to the optical module via the decoding circuit; The decoding circuit is used to analyze the characteristic signal to obtain the spectrum characteristics of the characteristic signal, and the spectrum characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device.
9. An optical network terminal device, characterized in that: The optical network terminal equipment is used for: An optical signal is sent to an optical line terminal device, wherein the optical signal carries a characteristic signal of the corresponding optical network terminal device, different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot.
10. The optical network terminal device according to claim 9, characterized in that: The optical network terminal equipment is also used for: Access the optical line terminal device for communication, and receive configuration information sent by the optical line terminal device, where the configuration information is used by the optical network terminal device to generate the characteristic signal.
11. The optical network terminal device according to claim 10, characterized in that: After receiving the configuration information sent by the optical line terminal device, the optical network terminal device is further used to: Receiving ranging request information sent by the optical line terminal equipment, wherein the ranging request information includes a response time slot preset for the optical network terminal; Sending ranging response information corresponding to the ranging request information to the optical line terminal device, the ranging response information including the response processing time of the optical network terminal device to the ranging request information and the characteristic signal corresponding to the optical network terminal device.
12. The optical network terminal device according to any one of claims 10-11, characterized in that: In the optical signal, the characteristic signal is carried in a preamble of the optical signal.
13. The optical network terminal device according to any one of claims 10 to 12, characterized in that: The frequency spectrum characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device.
14. A detection method, characterized in that: The method is performed by an optical line terminal device; the method comprises: receiving optical signals sent by different optical network terminal devices in different time slots, wherein the optical signals carry characteristic signals of the corresponding optical network terminal devices, different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot; When a target optical signal is received in a time slot outside a target time slot, a target optical network terminal device is determined according to the characteristic signal carried by the target optical signal, where the target time slot is a preset time slot corresponding to the target optical signal.
15. The detection method according to claim 14, characterized in that: Also includes: In response to a certain optical network terminal device accessing communication, corresponding configuration information is sent to the certain optical network terminal device, and the configuration information is used by the certain optical network terminal device to generate the characteristic signal.
16. The detection method according to claim 15, characterized in that: After the corresponding configuration information is sent to the optical network terminal device, the method further includes: Sending ranging request information to the certain optical network terminal device, wherein the ranging request information includes a response time slot preset for the certain optical network terminal device; Receive ranging response information corresponding to the ranging request information from the certain optical network terminal device, the ranging response information including the response processing time of the certain optical network terminal device to the ranging request information, and the characteristic signal corresponding to the certain optical network terminal device.
17. The detection method according to any one of claims 15-16, characterized in that The step of sending corresponding configuration information to a certain optical network terminal device in response to the certain optical network terminal device accessing communication comprises: In response to a certain optical network terminal device accessing communication, obtaining identification information of the certain optical network terminal device; According to the identification information, configuration information corresponding to the certain optical network terminal device is obtained; the configuration information is used for the certain optical network terminal device to generate the characteristic signal; Sending corresponding configuration information to the certain optical network terminal device.
18. The detection method according to any one of claims 14 to 17, characterized in that: Also includes: The characteristic signal is parsed to obtain a spectrum characteristic of the characteristic signal, and the spectrum characteristic of the characteristic signal is used to indicate a device serial number or device identification of the corresponding optical network terminal device.
19. The detection method according to any one of claims 14 to 18, characterized in that: In the optical signal, the characteristic signal is carried in a preamble of the optical signal.
20. A detection method, characterized in that: The method is performed by an optical network terminal device; the method comprises: An optical signal is sent to an optical line terminal device, wherein the optical signal carries a characteristic signal of the corresponding optical network terminal device, different optical network terminal devices correspond to different characteristic signals, and each optical network terminal device has a preset time slot.
21. The detection method according to claim 20, characterized in that Also includes: Access the optical line terminal device for communication, and receive configuration information sent by the optical line terminal device, where the configuration information is used by the optical network terminal device to generate the characteristic signal.
22. The detection method according to claim 21, characterized in that After receiving the configuration information sent by the optical line terminal device, the method further includes: Receiving ranging request information sent by the optical line terminal equipment, wherein the ranging request information includes a response time slot preset for the optical network terminal; Sending ranging response information corresponding to the ranging request information to the optical line terminal device, the ranging response information including the response processing time of the optical network terminal device to the ranging request information and the characteristic signal corresponding to the optical network terminal device.
23. The detection method according to any one of claims 20 to 22, characterized in that: In the optical signal, the characteristic signal is carried in a preamble of the optical signal.
24. The detection method according to any one of claims 20 to 23, characterized in that The frequency spectrum characteristics of the characteristic signal are used to indicate the device serial number or device identification of the corresponding optical network terminal device.
25. A communication system, characterized in that: The communication system comprises the optical line terminal device according to any one of claims 1 to 8, and the optical network terminal device according to any one of claims 9 to 13, wherein the optical line terminal device is coupled to the optical network terminal device.
26. A computer-readable storage medium, characterized in that The computer-readable storage medium includes instructions; when the instructions are executed on a processor, the processor is caused to execute the detection method according to any one of claims 14 to 19, and / or execute the detection method according to any one of claims 20 to 24.
Citation Information
Patent Citations
Detection method and device of optical network unit and system
CN103888185A
Method and device for detecting optical network unit and passive optical network system
CN104218988A
Optical network unit detection method and apparatus, and passive optical network system
CN108370271A
Optical power measurement method, optical line terminal and optical network unit
US20120020662A1
Line administrating method, system and apparatus
WO2009094943A1