Optical network communication method and optical network communication device

By adjusting the logical distance between devices in the optical network, reducing windowing time and jitter latency, the jitter problem during device registration in the optical network is solved, improving communication performance and user experience.

CN122269175APending Publication Date: 2026-06-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-12-19
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In optical networks, when adding new optical network units or optical relay equipment, the long windowing time caused by existing technologies results in significant uplink service jitter latency, affecting user experience.

Method used

By determining the pre-allocated latency, the logical distance between network devices is adjusted to be less than the network's farthest distance minus the network's nearest distance, thereby reducing window opening time and reducing uplink latency and jitter.

Benefits of technology

This effectively reduced the window opening time, lowered the jitter latency of uplink services, and improved communication performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122269175A_ABST
    Figure CN122269175A_ABST
Patent Text Reader

Abstract

The application provides an optical network communication method and an optical network communication device. In the technical scheme provided by the application, the distance equivalent to the defined pre-allocation delay is less than the distance difference between the nearest ONT and the farthest ONT under the OLT, that is, the logical distance of the optical equipment in the network is adjusted to be less than the distance difference between the nearest ONT and the farthest ONT under the OLT, the window opening time is reduced, the service transmission jitter can be reduced, and finally the user service experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical communication, and more particularly to optical network communication methods and devices. Background Technology

[0002] In optical networks, when a new optical network unit (ONU) or optical electrical optical (OEO) is added, the optical line terminal (OLT) will perform a windowing process to avoid information conflicts between devices. The windowing duration is determined based on the actual distance between devices in the network; that is, the windowing duration is the equivalent duration of the farthest distance in the network minus the equivalent duration of the shortest distance.

[0003] Currently, when ONUs and OEOs register using the above method, there is a technical issue where the network windowing time is long, resulting in significant uplink service jitter and latency, which in turn affects the user experience. Summary of the Invention

[0004] This application provides an optical network communication method and an optical network communication device, which can reduce window opening time, reduce uplink service jitter latency, and improve user experience.

[0005] In the first aspect, an optical network communication method is provided. This method can be executed by an OLT, or by a module applied to the OLT (such as a processor, chip, or chip system), or by a logical node, logical module, or software that can implement all or part of the OLT functions.

[0006] The method includes: determining a pre-allocated delay, wherein the pre-allocated delay is a delay equivalent to a first distance, the first distance being less than a second distance obtained by subtracting the network's nearest distance from the network's farthest distance, the network's farthest distance being the distance between the farthest optical network device connected to the OLT and the OLT, and the network's nearest distance being the distance between the nearest optical network device connected to the OLT and the OLT, wherein the optical network device includes an optical network termination (ONT) or an ONU; and sending first information, wherein the first information indicates the pre-allocated delay.

[0007] In this method, the pre-allocated delay is less than the delay equivalent to the second distance obtained by subtracting the nearest distance from the farthest distance in the network. By determining the pre-allocated delay, the logical distance between devices in the network is adjusted to be less than the difference between the farthest distance and the nearest distance in the network. This ensures that the windowing time is less than the equivalent time of the difference between the farthest distance and the nearest distance in the network. When devices register and go online in the optical network, the windowing time can be reduced, and the latency and jitter of uplink services can be reduced, thereby improving communication performance and user experience.

[0008] In one possible design, the first distance is equal to the second distance minus the third distance, where the third distance is the largest single-level distance among multiple single-level distances. Each single-level distance corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the farthest distance under the corresponding optical device minus the nearest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is OEO or OLT.

[0009] In this possible design, aligning the distances between all ONUs and OEOs under the OLT to the equivalent range of [the network's furthest distance - the largest single-level distance, the network's furthest distance] can reduce window opening time, thereby reducing latency and jitter of uplink services in the optical network.

[0010] In one possible design, the method further includes: sending a second message indicating the window opening duration, the window opening duration being equal to the time delay equivalent to a third distance.

[0011] Based on this possible design, the window opening time of devices already registered under the OLT can be reduced, the service jitter latency of these devices can be reduced, and the service experience of these devices can be improved.

[0012] Secondly, an optical network communication method is provided, which can be executed by OEO, or by a module applied to OEO (such as a processor, chip, or chip system), or by a logical node, logical module, or software capable of implementing all or part of the OEO functions.

[0013] The method includes: receiving a first pre-allocated delay; obtaining a first equalized delay obtained from ranging; and transmitting a second pre-allocated delay, wherein the second pre-allocated delay is equal to the delay obtained by adding the first pre-allocated delay to the first equalized delay and then subtracting the first equivalent delay, the first equivalent delay being the delay equivalent to the first single-level distance, the first single-level distance being the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO, the farthest distance under the first OEO being the distance between the farthest optical device directly connected to the first OEO and the first OEO, the nearest distance under the first OEO being the distance between the nearest optical device directly connected to the first OEO and the first OEO, the type of the farthest optical device being an OEO or an optical network device, the type of the nearest optical device being an OEO or an optical network device, and the optical network device including an ONT or an ONU.

[0014] In one possible design, the transmission of the second pre-allocated delay includes: transmitting the second pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance; wherein the third distance is the largest single-level distance among multiple single-level distances, the multiple single-level distances correspond one-to-one with multiple optical devices in the optical network, each single-level distance among the multiple single-level distances is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device, the farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device, the nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device, and the type of optical device is OEO or OLT.

[0015] In one possible design, the method further includes: if the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance, then sending a preset pre-allocated delay.

[0016] Based on this possible design, if the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance, OEO does not need to calculate the second pre-allocated delay. This helps to avoid OEO calculating this parameter when the second pre-allocated delay is not needed, thereby helping to avoid resource waste.

[0017] In one possible design, the pre-allocated latency is preset to 0.

[0018] Based on this possible design, the preset value of the pre-allocated delay can be determined.

[0019] Thirdly, an optical network communication device is provided for implementing the various methods described in the first aspect. This optical network communication device includes modules, units, or means corresponding to the implementation methods. These modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described.

[0020] In some possible designs, the optical network communication device may include a processing module and a communication module; the processing module is used to determine a pre-allocated delay, which is a delay equivalent to a first distance, the first distance being less than a second distance obtained by subtracting the network's nearest distance from the network's farthest distance, the network's farthest distance being the distance between the farthest optical network device connected to the OLT and the OLT, and the network's nearest distance being the distance between the nearest optical network device connected to the OLT and the OLT, the optical network device including an optical network terminal (ONT) or an optical network unit (ONU); the communication module is used to send first information, the first information indicating the pre-allocated delay.

[0021] In one possible design, the first distance is equal to the second distance minus the third distance, where the third distance is the largest single-level distance among multiple single-level distances. Each single-level distance corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the farthest distance under the corresponding optical device minus the nearest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is OEO or OLT.

[0022] In one possible design, the communication module is also used to: send a second message indicating the windowing duration, the windowing duration being equal to the time delay equivalent to the third distance.

[0023] In one design, the device can be an OLT, or a device, module, or chip configured in the OLT, or a device that can be used in conjunction with the OLT.

[0024] Fourthly, an optical network communication device is provided for implementing the various methods described in the second aspect. This optical network communication device includes modules, units, or means corresponding to the implementation methods. These modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described.

[0025] In some possible designs, the optical network communication device may include a communication module and a processing module; the communication module is used to receive a first pre-allocated delay; the processing module is used to obtain a first equalized delay obtained from ranging; the communication module is used to transmit a second pre-allocated delay, the second pre-allocated delay being equal to the first pre-allocated delay plus the first equalized delay minus the first equivalent delay, the first equivalent delay being the delay equivalent to a first single-level distance, the first single-level distance being the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO, the farthest distance under the first OEO being the distance between the farthest optical device directly connected to the first OEO and the first OEO, the nearest distance under the first OEO being the distance between the nearest optical device directly connected to the first OEO and the first OEO, the type of the farthest optical device being an OEO or an optical network device, the type of the nearest optical device being an OEO or an optical network device, and the optical network device including an ONT or an ONU.

[0026] In one possible design, the communication module is specifically used to: send a second pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance; wherein, the third distance is the largest single-level distance among multiple single-level distances, the multiple single-level distances correspond one-to-one with multiple optical devices in the optical network, each single-level distance among the multiple single-level distances is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device, the farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device, the nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device, and the type of optical device is OEO or OLT.

[0027] In one possible design, the communication module is further configured to: send a preset pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance.

[0028] In one possible design, the pre-allocated latency is preset to 0.

[0029] In one design, the device can be an OEO, or a device, module, or chip configured in the OEO, or a device that can be used in conjunction with the OEO.

[0030] Fifthly, an apparatus is provided, including a processor, wherein instructions, when executed by the processor, cause a method as described in the first aspect or any possible implementation thereof to be implemented.

[0031] Optionally, the device may further include a storage medium that stores the instructions executed by the processor.

[0032] A sixth aspect provides an apparatus including a processor, wherein instructions, when executed by the processor, cause the method as described in the second aspect or any possible implementation thereof to be implemented.

[0033] Optionally, the device may further include a storage medium that stores the instructions executed by the processor.

[0034] In a seventh aspect, a chip is provided, including a processor for running a program or instructions to cause the methods of the first aspect or any possible implementation thereof to be implemented.

[0035] Optionally, the chip may further include a memory for storing programs or instructions.

[0036] Optionally, the chip may also include a transceiver, or an input / output interface. The transceiver may be a transceiver circuit, or may include an optical receiver and / or an optical transmitter.

[0037] Eighthly, a chip is provided, including a processor for running programs or instructions to cause the methods of the second aspect or any possible implementation thereof to be implemented.

[0038] Optionally, the chip may further include a memory for storing programs or instructions.

[0039] Optionally, the chip may also include a transceiver, or an input / output interface. The transceiver may be a transceiver circuit, or may include an optical receiver and / or an optical transmitter.

[0040] A ninth aspect provides a computer-readable storage medium comprising instructions that, when executed by a processor, cause the method as described in the first aspect or any possible implementation thereof to be implemented.

[0041] In a tenth aspect, a computer-readable storage medium is provided, the computer-readable storage medium including instructions that, when executed by a processor, cause the method as described in the second aspect or any possible implementation thereof to be implemented.

[0042] Eleventhly, a computer program product is provided, the computer program product including computer program code or instructions, which, when the computer program code or instructions are run, cause the method as described in the first aspect or any possible implementation thereof to be implemented.

[0043] In a twelfth aspect, a computer program product is provided, the computer program product comprising computer program code or instructions that, when the computer program code or instructions are executed, cause the method as described in the second aspect or any possible implementation thereof to be implemented.

[0044] In a thirteenth aspect, a communication system is provided, comprising: means for performing the first aspect or any possible implementation thereof, and means for performing the second aspect or any possible implementation thereof.

[0045] It is understood that the technical effects of any of the second to thirteenth aspects of this application can be referred to the relevant content in the first aspect, and will not be repeated here. Attached Figure Description

[0046] Figures 1-2 This is a schematic diagram of the structure of an optical network system according to several embodiments of this application;

[0047] Figure 3 This is a flowchart of an optical network communication method according to an embodiment of this application;

[0048] Figure 4 This is a schematic diagram of the structure of an optical network system including a two-level OEO according to an embodiment of this application;

[0049] Figure 5 This is a schematic diagram of the structure of an optical network communication device according to an embodiment of this application;

[0050] Figure 6 This is a schematic diagram of the composition of an optical network communication device according to an embodiment of this application. Detailed Implementation

[0051] In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between the related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.

[0052] In the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0053] Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0054] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.

[0055] It is understood that the term "embodiment" used throughout the specification means that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, various embodiments throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It is understood that in the various embodiments of this application, the sequence number of each process does not imply 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 this application.

[0056] It is understood that in this application, "...when" and "if" both refer to the corresponding processing that will be carried out under certain objective circumstances, and are not limited to a specific time, nor do they require a judgment action to be performed during implementation, nor do they imply any other limitations.

[0057] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the apparatus given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.

[0058] Furthermore, in this application, "sending information" can be understood as one device sending information to another device, or it can also be understood as one logic module within a device sending information to another logic module. Similarly, "receiving information" in this application can be understood as one device receiving information from another device, or it can also be understood as one logic module within a device receiving information from another logic module.

[0059] In this application, phrases such as "sending information to... (e.g., OEO)" or related illustrations in the accompanying drawings can be understood as indicating that the destination of the information is the OEO. This can include sending information directly or indirectly to the OEO. Similarly, phrases such as "receiving information from... (e.g., OLT)," "receiving information from... (e.g., OLT)," or "receiving information sent by (e.g., OLT)," or related illustrations in the accompanying drawings, can be understood as indicating that the source of the information is the OLT. This can include receiving information directly or indirectly from the OLT. Information may undergo necessary processing between the source and destination, such as format changes, but the destination can understand the valid information from the source. Similar expressions in this application can be interpreted similarly and will not be elaborated further here.

[0060] In this application, unless otherwise specified, the same or similar parts between the various embodiments can be referred to each other. In the various embodiments of this application, unless otherwise specified or there is a logical conflict, the terminology and / or descriptions between different embodiments are consistent and can be mutually referenced. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships. The following descriptions of the embodiments of this application do not constitute a limitation on the scope of protection of this application.

[0061] To facilitate understanding of the technical solutions of the embodiments of this application, a brief introduction to the relevant technologies of this application is given below.

[0062] (1) ONT, commonly known as optical modem, refers to a network device that transmits optical signals through optical fiber media and modulates and demodulates optical signals into other protocol signals.

[0063] (2)OLT refers to terminal equipment used to connect fiber optic trunk lines.

[0064] (3) ONU refers to a network device that converts optical signals into other signals through fiber optic access.

[0065] (4) OEO can convert optical signals into electrical signals and then back into optical signals, thereby enhancing the optical signal. In a passive optical network (PON), by adding an active OEO device, the optical power in the optical network can be enhanced.

[0066] The technical solution of this application is applicable to optical network systems, such as gigabit passive optical network (GPON), NGPON, 50G PON, future optical network systems, or integrated systems of multiple optical network systems.

[0067] Figure 1 This is a schematic diagram of the structure of an optical network system according to an embodiment of this application. Figure 1As shown, the optical network system includes an OLT 101, an optical network device 102, an OEO 103, and a splitter 104, wherein the devices in the optical network system are connected by optical fibers.

[0068] One end of the OLT 101 connects to an upper-layer network to access uplink signals. This upper-layer network can be an Internet Protocol (IP) backbone or a Public Switched Telephone Network (PSTN). The other end of the OLT 101 connects to optical network equipment 102 or OEO 103 via an optical distribution network (ODN) to transmit downlink signals. The OLT 101 can control, manage, and measure distances from the optical network equipment 102. All devices deployed in the ODN are passive devices. For example, the ODN may include a splitter 104 to split a single optical signal into multiple optical signals, allowing a single optical signal to be transmitted simultaneously to multiple devices.

[0069] The OLT 101 can be deployed in locations such as laboratories, residential communities, streets, and central control stations. One OLT 101 can connect to multiple optical network devices 102. Figure 1 Only one OLT 101 connected to one optical network device 102 is shown in the illustration. It should be understood that the optical network system may also include a greater number of optical network devices 102, and this application does not limit this.

[0070] In some embodiments, the OLT 101 may provide communication functionality to enable communication with optical network devices.

[0071] Optical network device 102 can be an ONU or an ONT. One end of optical network device 102 connects upwards to OLT 101 or OEO103, and the other end connects downwards to terminal devices, such as computers, landline telephones, etc. Optical network device 102 works in conjunction with OLT 101 to implement Ethernet Layer 2 and Layer 3 functions, providing users with voice, data, and multimedia services.

[0072] In some embodiments, the optical network device 102 can receive data sent by the OLT 101 and respond to commands issued by the OLT 101 to make corresponding adjustments.

[0073] It should be noted that an ONT can be part of an ONU. The difference between an ONT and an ONU is that an ONT can be located directly at the user end, while an ONU is an optical network unit that may have other networks, such as Ethernet, between it and the user. An ONU can connect to gateway devices for various types of digital subscriber lines (DSL) or Ethernet access points, and the gateway devices are then connected to network terminals.

[0074] As optical networks continue to expand into remote areas, problems arise such as a shortage of backbone fiber resources or insufficient optical power to meet service requirements due to long distances and difficulties in adding optical paths. Deploying OEO 103s within the optical network extends its transmission distance. OEO 103s can compensate for optical signal loss, eliminate signal distortion, and mitigate the impact of noise on optical signals in long-distance fiber optic communication systems. Specifically, OEO devices convert optical signals into electrical signals and then back into optical signals, thereby regenerating, amplifying, and shaping the optical signal, thus extending the fiber optic transmission distance. In other words, the OLT 101 can achieve communication transmission with multiple optical network devices 102 through multiple optical splitters 104 and multiple OEO 103s.

[0075] Figure 1 In the system shown, optical network devices 102 and OEO 103, which are directly connected to the same optical splitter 104, are referred to as devices of the same level. It can be understood that... Figure 1 In this example, each level of equipment contains only one optical network device 102 and one OEO 103. This is just an example; the same level of equipment may contain more or fewer devices.

[0076] It should be understood that this application does not limit the number of devices included in an optical network system, and the optical network system may include more than [number of devices]. Figure 1 More or fewer devices.

[0077] It should be noted that the optical network system described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0078] Figure 2 This is a schematic diagram of the structure of an optical network system according to an embodiment of this application. Figure 2 As shown, an optical network system includes two levels of optical relay equipment, OEO 1 and OEO 2, as an example. ONU 1X and ONU 2X represent devices already online, while ONU 1 and ONU 2 represent devices awaiting online integration.

[0079] PON is a point-to-multipoint passive optical network. To separate the uplink and downlink signals of multiple users on the same optical fiber, the uplink signal uses time-division multiplexing. For ONU 1, its registration and online process is roughly divided into three stages: parameter acquisition stage (O1-O3), serial number acquisition stage (O3-O4), and ranging stage (O4-O5).

[0080] O1: Initial state. The ONU has just been powered on and is still in LOS / LOF mode. Once a downlink signal is received, LOS and LOF are cleared, and the ONU transitions to standby state (O2).

[0081] O2: Standby state. The ONU has received the downlink signal and is ready to receive network parameter messages sent by the OLT. After the ONU receives the Upstream_Overhead message, it performs relevant configurations based on the network parameters (such as delimiters, power modes, and pre-allocated delays) and transitions to the sequence number state (O3).

[0082] Table 1 shows the Upstream_Overhead message format.

[0083] Table 1

[0084]

[0085]

[0086] O3: Serial number state. The OLT sends a Serial_Number Request message to all ONUs in this state to discover new ONUs and their serial numbers. After receiving the Serial_Number Request, the ONU waits for a SN_Response Time period before sending a Serial_Number Response message to the OLT. Upon receiving the Serial_Number Response message, the OLT assigns an ONU_ID to the ONU via a downlink Assign_ONU_ID message. After obtaining the ONU_ID, the ONU transitions to the ranging state (O4).

[0087] O4: Ranging state. When uplink signals from different ONUs arrive at the OLT, they should remain synchronized. For this purpose, each ONU needs an equalization delay (EqD). The OLT performs ranging, calculates EqD, and sends EqD to the ONU via the Ranging_Time message. After receiving the Ranging_Time message, the ONU transitions to the running state (O5).

[0088] O5: Operation state. The ONU records the EqD and calculates the uplink signal transmission window based on the notified EqD and BWMAP. Upon successful ranging, all ONUs transmit uplink signals according to their respective EqDs to maintain uplink frame synchronization. The uplink signals transmitted by different ONUs will arrive at the OLT separately, but each signal will appear precisely in its correct position within the uplink frame.

[0089] It should be noted that, due to the uncertain registration and access time of ONUs, the OLT uses periodic intervals to send messages to discover new ONUs. For ONUs that have already successfully registered and are operating normally, during the registration and access process of new ONUs, the OLT may cause online ONUs to suspend sending uplink signals to obtain the sequence numbers of other ONUs or to perform ranging on other ONUs. The OLT suspends the authorization of all uplink bandwidth for a period of time, i.e., it opens a window. Online ONUs operate normally, but since they do not receive authorization, they will not send uplink signals, thus creating a quiet period. In this way, the OLT causes all online ONUs to suspend sending signals.

[0090] For OEO 1, the registration and online process is the same as described above, and will not be repeated here. After OEO 1 is registered and online, the OLT will issue a special Alloc-ID to OEO 1 through the Optical Network Unit Management and Control Interface (OMCI) protocol to identify the communication between OEO 1 and the OLT, so as to distinguish different service flows.

[0091] For optical network devices and optical repeater devices connected to OEO 1, such as ONU 2, ONU 2X, and OEO2, they can only proceed with the registration and online process after obtaining a special Alloc-ID from OEO 1. Taking the registration and online process of ONU 2 as an example, the OLT sends a special Alloc-ID to OEO 1. OEO 1 accepts the special Alloc-ID, modifies it to the parameters in the standard registration and online process, and sends these parameters to ONU 2. Similarly, after ONU 2 receives these parameters, its registration and online process is similar to that of ONU 1. The difference is that OEO 1 needs to receive the uplink signal sent by ONU 2 and forward it to the OLT via the OMCI protocol, physical layer operations administration and maintenance (PLOAM) messages, or user data. Similarly, the registration and launch process for ONU 2 also applies to the registration and launch process for OEO 2, and will not be repeated here.

[0092] Understandably, optical devices directly connected to OEO need to obtain a special Alloc-ID after going online with OEO before they can register and go online.

[0093] It should be noted that in a PON network with multiple OEO devices, the window size of the optical network is determined by the distance difference between the optical network device closest to the OLT and the optical network device farthest from the OLT.

[0094] In practical use, optical networks sometimes experience poor communication performance, impacting user experience. Analysis reveals that this issue typically arises because during the registration and deployment of new ONUs or OEOs, the OLT determines the windowing duration based on the difference between the farthest and nearest network distances. A large windowing duration leads to significant latency jitter. Furthermore, the OEO itself experiences latency and jitter between receiving and transmitting optical signals. After passing through multiple OEO stages between the OLT and ONU, this latency and jitter accumulate, resulting in substantial latency and jitter in services, ultimately leading to poor communication performance and a negative user experience.

[0095] To address the aforementioned issues, this application proposes an optical network communication method that can reduce windowing time, decrease service latency and jitter, thereby improving communication performance and user experience.

[0096] The following is combined Figure 1The optical network system shown herein, taking the interaction between the OLT, OEO, and optical network devices as an example, describes the optical network communication method provided in the embodiments of this application. It should be noted that in the following embodiments of this application, the message names, parameter names, or information names between the OLT, OEO, and optical network devices are merely examples; other names may exist in other embodiments, and the method provided in this application is not specifically limited in this regard.

[0097] It is understood that in the embodiments of this application, the OLT, OEO, and optical network devices may perform some or all of the steps in the embodiments of this application. These steps or operations are merely examples, and the embodiments of this application may also perform other operations or variations thereof. Furthermore, the various steps may be performed in different orders as presented in the embodiments of this application, and it is not necessary to perform all the operations in the embodiments of this application.

[0098] It is understood that this application uses OLT and OEO as examples of the execution entities in the interaction illustration, but this application does not limit the execution entities in the interaction illustration. For example, the method executed by OLT in this application can also be executed by a module applied to OLT (e.g., a chip, chip system, or processor), or by a logic node, logic module, or software that can implement all or part of the OLT functions; similarly, the method executed by OEO in this application can also be executed by a module applied to OEO (e.g., a chip, chip system, or processor), or by a logic node, logic module, or software that can implement all or part of the OEO functions.

[0099] See Figure 3 Here is a flowchart of an optical network communication method according to an embodiment of this application. The method may include the following steps:

[0100] S310 and OLT determine the pre-allocated delay, which is the delay equivalent to the first distance. The first distance is less than the second distance obtained by subtracting the network's nearest distance from the network's farthest distance.

[0101] The longest distance in the network is the distance between the farthest optical network device connected to the OLT and the OLT, and the shortest distance in the network is the distance between the shortest optical network device connected to the OLT and the OLT. The optical network device includes ONT or ONU.

[0102] For example, the pre-assigned delay is the pre-assigned delay value in the PLOAM message contained in Upstream_Overhead.

[0103] S320 and OLT send a first message indicating a pre-allocated delay. Correspondingly, the first OEO and the first optical network device directly connected to the OLT receive this first message.

[0104] S330, the first OEO obtains the equalized time delay obtained from the ranging.

[0105] For example, equalization delay (EqD) can be used.

[0106] S340. The first OEO sends a first pre-allocated delay. The first pre-allocated delay is equal to the pre-allocated delay plus the equalization delay minus the equivalent delay. The equivalent delay is the delay equivalent to the single-level distance directly connected to the first OEO. The single-level distance directly connected to the first OEO is the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO.

[0107] Among them, the farthest distance under the first OEO is the distance between the farthest optical device directly connected to the first OEO and the first OEO, and the shortest distance under the first OEO is the distance between the shortest optical device directly connected to the first OEO and the first OEO. The type of the farthest optical device is OEO or optical network device, and the type of the shortest optical device is OEO or optical network device. Optical network devices include ONT or ONU.

[0108] Correspondingly, the second optical network device and the second OEO directly connected to the first OEO receive the first pre-allocated delay.

[0109] S350, the second OEO obtains the first equalization delay obtained from the ranging.

[0110] S360. The second OEO sends a second pre-allocated delay. The second pre-allocated delay is equal to the first pre-allocated delay plus the first equalization delay minus the first equivalent delay. The first equivalent delay is the delay equivalent to the first single-level distance, that is, the delay equivalent to the single-level distance directly connected to the second OEO. The first single-level distance is the distance obtained by subtracting the nearest distance under the second OEO from the farthest distance under the second OEO.

[0111] Among them, the farthest distance under the second OEO is the distance between the farthest optical device directly connected to the second OEO and the second OEO, and the shortest distance under the second OEO is the distance between the shortest optical device directly connected to the second OEO and the second OEO. The type of the farthest optical device is OEO or optical network device, and the type of the shortest optical device is OEO or optical network device. Optical network devices include ONT or ONU.

[0112] Correspondingly, the third optical network device directly connected to the second OEO receives the second pre-allocated delay.

[0113] As one possible implementation, the transmission of the second pre-allocated delay includes transmitting the second pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance; wherein, the third distance is the largest single-level distance among a plurality of single-level distances, the plurality of single-level distances correspond one-to-one with a plurality of optical devices in the optical network, each single-level distance among the plurality of single-level distances is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device, the farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device, the nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device, and the type of optical device is OEO or OLT.

[0114] As one possible implementation, the first distance is equal to the distance obtained by subtracting the third distance from the second distance. The third distance is the largest single-level distance among multiple single-level distances. Each single-level distance corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is OEO or OLT.

[0115] As one possible implementation, if the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance, the OEO transmits the preset pre-allocated delay. Correspondingly, the OEO or optical network device directly connected to the OEO receives the preset pre-allocated delay.

[0116] As one possible implementation, the pre-allocated latency is preset to 0.

[0117] In addition, after step S320, the above-mentioned optical network communication method can also send a second message indicating the windowing duration, which is equal to the time delay equivalent to the third distance.

[0118] It should be noted that the above method can also be applied to other applications. Figure 3 In networks containing more levels of OEO, it can also be applied to more than the above. Figure 3 This application does not limit the scope of networks containing fewer OEOs.

[0119] Based on the above scheme, when a new device registers and goes online in an optical network, the logical distance between the OEO and the optical network device can be equivalently reduced to the range of [the network's furthest distance - the largest single-level distance, and the network's furthest distance]. This places the OEO and the optical network device within a unified, relatively small logical distance range. Essentially, the windowing time of the optical network depends on the largest single-level distance among multiple single-level distances, i.e., the third distance. This reduces the windowing time during the new device registration and going online process, reducing service latency and jitter, and consequently, reducing the overall service recovery time of the optical network, thereby improving communication performance and user experience. Furthermore, it eliminates the need for the OEO to obtain a special Alloc-ID before directly connected optical devices can register and go online. Moreover, OEOs or optical network devices directly connected to the OEO do not need to use a special Alloc-ID during the registration and going online process and can communicate based on standard protocols, reducing the complexity of the communication process.

[0120] It should be noted that when the above method is applied to GPON, its OLT and ONU are registered and online based on the standard protocol; when the above method is applied to NGPON and 50GPON, its OLT and ONU need to be registered and online based on PLOAM messages during the registration and online process.

[0121] For example, Figure 4 This is a schematic diagram of a two-level OEO optical network system according to an embodiment of this application. With the OLT location as the origin, the nearest network distance is 0km, and the farthest network distance is 60km. The first OEO is located at 20km, and the second OEO is located at 40km. The location of the nearest optical device directly connected to the OLT is 0km, and the location of the farthest optical device directly connected to the OLT is 20km. In other words, the nearest distance to the OLT within this level is 0km, and the farthest distance is 20km. This means the single-level distance directly connected to the OLT is 20km.

[0122] The location of the nearest optical device directly connected to the first OEO is 20km, and the location of the farthest optical device directly connected to the first OEO is 40km. That is, relative to the location of the first OEO, the nearest distance under the first OEO is 0km, and the farthest distance under the first OEO is 20km. In other words, the single-level distance directly connected to the first OEO is 20km, and the equivalent latency is the latency equivalent to the single-level distance directly connected to the first OEO, that is, the equivalent latency is the latency equivalent to 20km.

[0123] The location of the nearest optical device directly connected to the second OEO is 40km, and the location of the farthest optical device directly connected to the second OEO is 60km. That is, relative to the location of the second OEO, the nearest distance under the second OEO is 0km, and the farthest distance under the second OEO is 20km. In other words, the single-level distance directly connected to the second OEO is 20km. The first equivalent delay is the delay equivalent to the single-level distance directly connected to the second OEO, that is, the first equivalent delay is the delay equivalent to 20km.

[0124] The second distance is equal to the network's furthest distance minus the network's shortest distance, which is 60km. The third distance is the largest single-level distance among multiple single-level distances, which is 20km. The first distance is equal to the second distance minus the third distance, which is 40km.

[0125] The OLT determines a pre-allocated delay, which is the delay equivalent to the first distance, i.e., the delay equivalent to 40km. For optical devices directly connected to the OLT, their actual physical distance is within the range of [0km, 20km]. When the pre-allocated delay determined by the OLT, i.e., the delay equivalent to 40km, is applied to the optical devices directly connected to the OLT, it is equivalent to equating the logical distance of the optical devices directly connected to the OLT to the range of [40km, 60km].

[0126] Once the optical device directly connected to the OLT registers and goes online, meaning the first OEO has received the pre-allocated delay (equivalent to 40km) sent by the OLT and completed ranging to obtain the balanced delay (equivalent to 0km), the optical device directly connected to the first OEO begins registration and goes online. If the sum of the pre-allocated delay and the balanced delay is greater than or equal to the third distance equivalent delay (i.e., the sum of the 40km equivalent delay and the 0km equivalent delay is greater than the 20km equivalent delay), then the first pre-allocated delay sent by the first OEO to the optical device directly connected to the first OEO is equal to the pre-allocated delay plus the balanced delay minus the equivalent delay (i.e., the sum of the 40km equivalent delay and the 0km equivalent delay minus the 20km equivalent delay), which is the 20km equivalent delay.

[0127] It should be noted that the equalization delay is the equivalent delay of the network's farthest distance minus the equivalent delay of the distance difference between the first OEO and the OLT, and then minus the pre-allocated delay received by the first OEO. That is, 60km equivalent delay minus 20km equivalent delay minus 40km equivalent delay, which equals 0km equivalent delay.

[0128] For optical devices directly connected to the first OEO, the actual physical distance is within the range of [20km, 40km]. When the pre-allocated delay determined by the first OEO, i.e. the 20km equivalent delay, is applied to the optical devices directly connected to the first OEO, it is equivalent to making the logical distance of the optical devices directly connected to the first OEO equivalent to the range of [40km, 60km].

[0129] Once the optical device directly connected to the first OEO registers and goes online, meaning the second OEO has received the first pre-allocated delay (equivalent to 20km) sent by the first OEO and has completed ranging to obtain the first balanced delay (equivalent to 0km), the optical device directly connected to the second OEO begins registration and goes online. If the sum of the first pre-allocated delay and the first balanced delay is greater than or equal to the third distance-equivalent delay (equivalent to 20km plus 0km equals 20km), then the second pre-allocated delay sent by the second OEO to the optical device directly connected to the second OEO is equal to the first pre-allocated delay plus the first balanced delay minus the first equivalent delay (equivalent to 20km plus 0km equals 20km equals 0km equals 0km equals 0km equals 0km equals 0km equals 0km equals 0km.

[0130] For optical devices directly connected to the second OEO, the actual physical distance is within the range of [40km, 60km]. When the pre-allocated delay determined by the second OEO, i.e. the 0km equivalent delay, is applied to the optical devices directly connected to the second OEO, it is equivalent to making the logical distance of the optical devices directly connected to the second OEO equivalent to the range of [40km, 60km].

[0131] It should be noted that the first equalization delay is the equivalent delay of the network's farthest distance minus the equivalent delay of the distance difference between the second OEO and the OLT, and then minus the first pre-allocated delay received by the second OEO. That is, the equivalent delay of 60km minus the equivalent delay of 40km minus the equivalent delay of 20km, which is the equivalent delay of 0km.

[0132] Based on the above method, the logical distance between OEO and optical network devices in the optical network can be equivalent to the same distance range, so that OEO and optical network devices in the optical network are in a unified and smaller logical distance range. Since the windowing time of the optical network depends on the largest single-level distance among multiple single-level distances, i.e. the third distance, the windowing time in the process of registering and going online of new devices is reduced.

[0133] The method provided in this application has been described above. In addition, this application also provides an optical network communication device for implementing the functions described in the above method embodiments.

[0134] It is understood that, in order to achieve the above-mentioned functions, the optical network communication device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art 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.

[0135] This application embodiment can divide the optical network communication device into functional modules according to the above method embodiment. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0136] Figure 5 This is a schematic diagram of the structure of an optical network communication device 50 according to an embodiment of this application. The optical network communication device 50 includes a processing module 501 and a communication module 502. The optical network communication device 50 can be used to implement the functions of the OLT or OEO described above.

[0137] In some embodiments, the optical network communication device 50 may further include a storage module ( Figure 5 (Not shown in the image) is used to store program instructions and data.

[0138] In some embodiments, the communication module 502, also referred to as a communication unit, is used to implement sending and / or receiving functions. The communication module 502 may consist of an optical receiver and / or optical transmitter, transceiver circuitry, or a communication interface.

[0139] In some embodiments, the communication module 502 may include a receiving module and a sending module, respectively configured to perform the receiving and sending steps performed by the OLT or OEO in the above method embodiments, and / or other processes to support the technology described herein; the processing module 501 may be configured to perform the processing steps performed by the OLT or OEO in the above method embodiments, and / or other processes to support the technology described herein.

[0140] In one possible implementation of the optical network communication device 50 for realizing the function of OLT: processing module 501 is used to determine the pre-allocated delay, which is the delay equivalent to a first distance. The first distance is less than the second distance obtained by subtracting the network's nearest distance from the network's farthest distance. The network's farthest distance is the distance between the farthest optical network device connected to the OLT and the OLT, and the network's nearest distance is the distance between the nearest optical network device connected to the OLT and the OLT. The optical network device includes an optical network terminal (ONT) or an optical network unit (ONU). Communication module 502 is used to send first information, which indicates the pre-allocated delay.

[0141] In one possible implementation, the first distance is equal to the distance obtained by subtracting the third distance from the second distance. The third distance is the largest single-level distance among multiple single-level distances. The multiple single-level distances correspond one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is OEO or OLT.

[0142] In one possible implementation, the communication module 502 is further configured to: send a second message indicating a window opening duration equal to the time delay equivalent to a third distance.

[0143] In one possible implementation of the optical network communication device 50 for realizing the OEO function: the communication module 502 is used to receive the first pre-allocated delay; the processing module 501 is used to obtain the first equalized delay obtained from ranging; the communication module 502 is used to send the second pre-allocated delay, the second pre-allocated delay being equal to the delay obtained by adding the first pre-allocated delay to the first equalized delay and then subtracting the first equivalent delay, the first equivalent delay being the delay equivalent to the first single-level distance, the first single-level distance being the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO, the farthest distance under the first OEO being the distance between the farthest optical device directly connected to the first OEO and the first OEO, the nearest distance under the first OEO being the distance between the nearest optical device directly connected to the first OEO and the first OEO, the type of the farthest optical device being OEO or optical network device, the type of the nearest optical device being OEO or optical network device, and the optical network device including ONT or ONU.

[0144] In one possible design, the communication module 502 is specifically used to: send a second pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance; wherein, the third distance is the largest single-level distance among multiple single-level distances, the multiple single-level distances correspond one-to-one with multiple optical devices in the optical network, each single-level distance among the multiple single-level distances is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device, the farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device, the nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device, and the type of optical device is OEO or OLT.

[0145] In one possible design, the communication module 502 is further configured to: send a preset pre-allocated delay if the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance.

[0146] In one possible design, the pre-allocated latency is preset to 0.

[0147] In this application, the optical network communication device 50 can be presented in an integrated manner by dividing it into various functional modules. Here, "module" can refer to an optical receiver and / or optical transmitter, transceiver circuitry, a processor and memory that execute one or more software or firmware programs, and / or other devices that can provide the above functions.

[0148] In some embodiments, when Figure 5 When the optical network communication device 50 is a chip or chip system, the function / implementation process of the communication module 502 can be implemented through the input / output interface (or communication interface) of the chip or chip system, and the function / implementation process of the processing module 501 can be implemented through the processor of the chip or chip system.

[0149] Since the optical network communication device 50 provided in this embodiment can execute the above method, the technical effects it can achieve can be referred to the above method embodiment, and will not be repeated here.

[0150] As a possible product form, the OLT or OEO described in the embodiments of this application can be implemented using the following: one or more field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable devices, or any combination of devices capable of performing the various functions described throughout this application.

[0151] As another possible product form, the OLT or OEO in this application can adopt... Figure 6 The shown composition structure, or including Figure 6 The components shown. Figure 6 This is a schematic diagram of the composition of an optical network communication device 600 according to an embodiment of this application. The optical network communication device 600 can be an OLT or a chip or system-on-a-chip in the OLT; or it can be an OEO or a module, chip or system-on-a-chip in the OEO.

[0152] like Figure 6 As shown, the optical network communication device 600 includes at least one processor 601 and at least one communication interface (…). Figure 6 (This is merely an example illustration, using a communication interface 604 and a processor 601 as examples.) Optionally, the optical network communication device 600 may also include a communication bus 602 and a memory 603.

[0153] Processor 601 can be a general-purpose central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a PLD, or any combination thereof. Processor 601 can also be other devices with processing functions, such as devices or software modules, without limitation.

[0154] The communication bus 602 is used to connect different components in the optical network communication device 600, enabling communication between them. The communication bus 602 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0155] Communication interface 604 is used for communicating with other devices or communication networks. Exemplarily, communication interface 604 can be a module, a transceiver, or any device capable of communication. The transceiver can be a transceiver circuit, or include an optical receiver and / or an optical transmitter. Optionally, the communication interface 604 can also be an input / output interface located within processor 601, used to implement signal input and signal output for the processor.

[0156] The memory 603 may be a device with storage function, used to store instructions and / or data. The instructions may be computer programs.

[0157] For example, memory 603 may be read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions; it may also be random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions; it may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.

[0158] It should be noted that the memory 603 can exist independently of the processor 601, or it can be integrated with the processor 601. The memory 603 can be located inside or outside the optical network communication device 600, without limitation. The processor 601 can be used to execute the instructions stored in the memory 603 to implement the methods provided in the following embodiments of this application.

[0159] As an optional implementation, the optical network communication device 600 may also include an output device 605 and an input device 606. The output device 605 communicates with the processor 601 and can display information in various ways. For example, the output device 605 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 606 communicates with the processor 601 and can receive user input in various ways. For example, the input device 606 may be a mouse, keyboard, touchscreen device, or sensing device, etc.

[0160] In some embodiments, those skilled in the art will recognize that the above-described optical network communication device can be implemented using the following hardware methods: Figure 6 The optical network communication device 600 shown is in the form of this device.

[0161] As an example, Figure 5 The function / implementation process of the processing module 501 can be achieved through... Figure 6 The processor 601 in the optical network communication device 600 shown calls computer execution instructions stored in the memory 603 to implement the function. Figure 5 The function / implementation process of the communication module 502 can be obtained through Figure 6 This is achieved through the communication interface 604 in the optical network communication device 600 shown.

[0162] It should be noted that, Figure 6 The structures shown do not constitute a specific limitation on the OLT or OEO. For example, in other embodiments of this application, the OLT or OEO may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.

[0163] In some embodiments, this application also provides an optical network communication device, which includes a processor for implementing the methods in any of the above method embodiments.

[0164] As one possible implementation, the optical network communication device also includes a memory. This memory stores necessary computer programs and data. The computer program may include instructions, which a processor can invoke to instruct the optical network communication device to execute the methods described in any of the above-described method embodiments. Alternatively, the memory may not be present in the optical network communication device.

[0165] As another possible implementation, the optical network communication device also includes an interface circuit, which is a code / data read / write interface circuit. This interface circuit is used to receive computer execution instructions (which are stored in memory and may be read directly from memory or may be transmitted through other devices) and transmit them to the processor.

[0166] As another possible implementation, the optical network communication device also includes a communication interface for communicating with modules outside the optical network communication device.

[0167] It is understood that the optical network communication device can be a chip or a chip system. When the optical network communication device is a chip system, it can be composed of chips or may include chips and other discrete devices. This application does not specifically limit this.

[0168] This application also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a computer, implements the functions of any of the above-described method embodiments.

[0169] This application also provides a computer program product that, when executed by a computer, implements the functions of any of the above method embodiments.

[0170] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0171] It is understood that the systems, apparatuses, and methods described in this application can also be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0172] The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. The components shown as units may or may not be physical units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0173] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0174] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This 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 this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive (SSD)). In this embodiment, the computer may include the aforementioned apparatus.

[0175] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0176] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the scope of this application. Accordingly, this specification and drawings are merely illustrative descriptions of the application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from its scope. Thus, if such modifications and modifications fall within the scope of the claims and their equivalents, this application is also intended to include such modifications and modifications.

Claims

1. An optical network communication method, applied to an optical line terminal (OLT), characterized in that, The method includes: A pre-allocated delay is determined, wherein the pre-allocated delay is the delay equivalent to a first distance, the first distance being less than a second distance obtained by subtracting the network's nearest distance from the network's farthest distance, the network's farthest distance being the distance between the farthest optical network device connected to the OLT and the OLT, and the network's nearest distance being the distance between the nearest optical network device connected to the OLT and the OLT, wherein the optical network device includes an optical network terminal (ONT) or an optical network unit (ONU); Send a first message, which indicates the pre-allocated delay.

2. The method according to claim 1, characterized in that, The first distance is equal to the second distance minus the third distance, where the third distance is the largest single-level distance among multiple single-level distances. Each of the multiple single-level distances corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the farthest distance under the corresponding optical device minus the nearest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is an optical repeater (OEO) or an optical line repeater (OLT).

3. The method according to claim 2, characterized in that, The method further includes: Send a second message indicating the duration of the window opening, the duration of which is equal to the time delay equivalent to the third distance.

4. An optical network communication method applied to an optical repeater (OEO) device, characterized in that, The method includes: Receive the first pre-allocated delay; Obtain the first equalization delay obtained from the ranging; A second pre-allocated delay is transmitted, which is equal to the first pre-allocated delay plus the first equalization delay minus the first equivalent delay. The first equivalent delay is the delay equivalent to the first single-level distance. The first single-level distance is the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO. The farthest distance under the first OEO is the distance between the farthest optical device directly connected to the first OEO and the first OEO. The nearest distance under the first OEO is the distance between the nearest optical device directly connected to the first OEO and the first OEO. The type of the farthest optical device is an OEO or an optical network device. The type of the nearest optical device is an OEO or an optical network device. The optical network device includes an optical network terminal (ONT) or an optical network unit (ONU).

5. The method according to claim 4, characterized in that, The transmission of the second pre-allocated delay includes: If the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance, then send the second pre-allocated delay; Wherein, the third distance is the largest single-level distance among multiple single-level distances, and each of the multiple single-level distances corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of the optical device is the OEO or the optical line terminal (OLT).

6. The method according to claim 5, characterized in that, The method further includes: If the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance, the preset pre-allocated delay is sent.

7. The method according to claim 6, characterized in that, The preset pre-allocated delay is 0.

8. An optical network communication device, applied to an optical line terminal (OLT), characterized in that, The device includes: a processing module and a communication module; The processing module is used to determine the pre-allocated delay, which is the delay equivalent to a first distance. The first distance is less than the second distance obtained by subtracting the network's nearest distance from the network's farthest distance. The network's farthest distance is the distance between the farthest optical network device connected to the OLT and the OLT. The network's nearest distance is the distance between the nearest optical network device connected to the OLT and the OLT. The optical network device includes an optical network terminal (ONT) or an optical network unit (ONU). The communication module is used to send first information, the first information indicating the pre-allocated delay.

9. The apparatus according to claim 8, characterized in that, The first distance is equal to the second distance minus the third distance, where the third distance is the largest single-level distance among multiple single-level distances. Each of the multiple single-level distances corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the farthest distance under the corresponding optical device minus the nearest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of optical device is an optical repeater (OEO) or an optical line repeater (OLT).

10. The apparatus according to claim 9, characterized in that, The communication module is also used for: Send a second message indicating the duration of the window opening, the duration of which is equal to the time delay equivalent to the third distance.

11. An optical network communication device, applied to an optical repeater (OEO) device, characterized in that, The device includes: a communication module and a processing module; The communication module is used to receive the first pre-allocated delay; The processing module is used to obtain the first equalization delay obtained from the ranging. The communication module is used to send a second pre-allocated delay, which is equal to the first pre-allocated delay plus the first equalization delay minus the first equivalent delay. The first equivalent delay is the delay equivalent to a first single-level distance. The first single-level distance is the distance obtained by subtracting the nearest distance under the first OEO from the farthest distance under the first OEO. The farthest distance under the first OEO is the distance between the farthest optical device directly connected to the first OEO and the first OEO. The nearest distance under the first OEO is the distance between the nearest optical device directly connected to the first OEO and the first OEO. The type of the farthest optical device is an OEO or an optical network device. The type of the nearest optical device is an OEO or an optical network device. The optical network device includes an optical network terminal (ONT) or an optical network unit (ONU).

12. The apparatus according to claim 11, characterized in that, The communication module is specifically used for: If the sum of the first pre-allocated delay and the first equalization delay is greater than or equal to the delay equivalent to the third distance, then send the second pre-allocated delay; Wherein, the third distance is the largest single-level distance among multiple single-level distances, and each of the multiple single-level distances corresponds one-to-one with multiple optical devices in the optical network. Each single-level distance is equal to the distance obtained by subtracting the nearest distance under the corresponding optical device from the farthest distance under the corresponding optical device. The farthest distance under the corresponding optical device is the distance between the farthest optical device directly connected to the corresponding optical device and the corresponding optical device. The nearest distance under the corresponding optical device is the distance between the nearest optical device directly connected to the corresponding optical device and the corresponding optical device. The type of the optical device is the OEO or the optical line terminal (OLT).

13. The apparatus according to claim 12, characterized in that, The communication module is also used for: If the sum of the first pre-allocated delay and the first equalization delay is less than the delay equivalent to the third distance, the preset pre-allocated delay is sent.

14. The apparatus according to claim 13, characterized in that, The preset pre-allocated delay is 0.

15. An optical network communication device, characterized in that, The optical network communication device includes a processor; the processor is configured to run a computer program or instructions to cause the optical network communication device to perform the method as described in any one of claims 1-3, or to cause the optical network communication device to perform the method as described in any one of claims 4-7.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions or programs that, when executed on a computer, cause the method described in any one of claims 1-3 to be performed, or cause the method described in any one of claims 4-7 to be performed.

17. A computer program product, characterized in that, The computer program product includes computer instructions; when some or all of the computer instructions are run on a computer, they cause the method as described in any one of claims 1-3 to be performed, or cause the method as described in any one of claims 4-7 to be performed.