Data transmission method, optical network, related device, and storage medium
By occupying the main downlink time slot and backup downlink time slot in a Gibit passive optical network time-sharing, the problem of data conflict in low-reliability optical terminals under Type C protection mode is solved, and the successful backup of data and network complexity are achieved. The reduction.
Patent Information
- Application Number
- PCT/CN2024/091171
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-19
- Filing Date
- 2024-05-06
- Publication Date
- 2024-11-28
AI Technical Summary
Low-reliability optical terminals in Gibit passive optical networks cannot successfully backup the master data under Type C protection mode, resulting in conflicts between the master data and the backup data and cannot be handled normally.
By occupying the main downlink time slot and backup downlink time slot on the time axis and ensuring that there is no intersection between the two, the optical head end sends the main downlink data stream and backup downlink data to the optical terminal through the main link and the backup link respectively. Streaming, ensuring that the optical terminal only receives a single data stream.
It effectively avoids conflicts between optical terminal receiving the main downlink data stream and backup downlink data stream, ensures successful backup of the backup data stream, and reduces the complexity and cost of the optical network.
Smart Images

Figure CN2024091171_28112024_PF_FP_ABST
Abstract
Description
Data transmission method, optical network, related equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 19, 2023, with application number CN202310572195.6 and invention name “A data transmission method, optical network, related equipment and storage medium”, 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 a data transmission method, an optical network, related equipment, and a storage medium. Background Art
[0003] The gigabit passive optical network (GPON) standard defines Type C protection. Type C protection ensures the successful transmission of data between an optical headend and an optical terminal. For an explanation of Type C protection, see Figure 1. Figure 1 shows an example structure of existing Type C protection. The optical network includes an optical headend 100, a first optical splitter 110, a second optical splitter 111, and an optical terminal 120. The optical headend 100 has two optical ports (i.e., optical port 101 and optical port 102). The optical terminal 120 has two optical ports (i.e., optical port 121 and optical port 122). Optical port 101 is connected to optical port 121 via the first optical splitter 110, and optical port 102 is connected to optical port 122 via the optical splitter 111. To ensure successful data transmission between the optical head end 100 and the optical terminal 120, in Type C protection, the optical path between the optical port 102, the second optical splitter 111 and the optical port 122 is used to back up the optical path between the optical port 101, the first optical splitter 110 and the optical port 121.
[0004] Optical terminal 120 is a highly reliable optical terminal. To reduce the complexity and cost of optical network connections, the optical network also includes a less reliable optical terminal 130. Optical terminal 130 includes only one optical port 131. If low-reliability optical terminal 130 uses Type C protection, optical port 131 is connected to optical splitter 110 and optical splitter 111, respectively.
[0005] However, optical port 131 will simultaneously receive primary data from optical splitter 110 and backup data from optical splitter 111. This will create a conflict between the primary and backup data received by port 131, preventing it from successfully processing either data. Therefore, for low-reliability optical terminals, Type C protection cannot be used to back up primary data with backup data.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a data transmission method, an optical network, related equipment and a storage medium, which can effectively avoid conflicts between the main downstream data stream and the backup downstream data stream received by the optical terminal, and effectively ensure that the backup downstream data stream successfully backs up the main downstream data stream.
[0008] The first aspect of the embodiment of the present application provides a data transmission method, the method comprising: an optical head end occupies a main downlink time slot and sends a main downlink data stream to an optical terminal via a main link, the main link being used to connect the optical terminal and the optical head end; the optical head end occupies a backup downlink time slot and sends a backup downlink data stream to the optical terminal via a backup link, the backup link being used to connect the optical terminal and the optical head end, the main link being different from the backup link, and the intersection between the main downlink time slot and the backup downlink time slot on the time axis being an empty set. In order to effectively ensure that the intersection between the main downlink time slot and the backup downlink time slot on the time axis is an empty set, then, on the time axis, there is a time interval between any adjacent main downlink time slots and backup downlink time slots.
[0009] As shown in this aspect, since the intersection between the main downstream time slot and the backup downstream time slot on the time axis is an empty set, the same optical terminal will receive the main downstream data stream and the backup downstream data stream in time-sharing, avoiding conflicts between the main downstream data stream and the backup downstream data stream received by the optical terminal, and effectively ensuring that the backup downstream data stream successfully backs up the main downstream data stream.
[0010] Based on the first aspect, in an optional implementation method, the optical terminal includes a first optical terminal, and the optical head end occupies the main downstream time slot and sends the main downstream data flow to the optical terminal through the main link, including: the optical head end occupies the main downstream time slot, and sends the main downstream data flow to the first terminal side splitter through the main link, and the first terminal side splitter is used to connect the main link and the first optical terminal; the optical head end occupies the backup downstream time slot, and sends the backup downstream data flow to the optical terminal through the backup link, including: the optical head end occupies the backup downstream time slot, and sends the backup downstream data flow to the first terminal side splitter through the backup link, and the first terminal side splitter is used to connect the backup link and the first optical terminal.
[0011] By adopting this implementation method, in order to reduce the complexity of the optical network and the weight of the optical fiber, the optical network layout has a first optical terminal with low reliability. The same optical port of the first optical terminal is connected to a first terminal side optical splitter, and the first terminal side optical splitter is connected to the main link and the backup link respectively. Since the intersection between the main downstream time slot and the backup downstream time slot is an empty set, the first terminal side optical splitter can receive the main downstream data flow and the backup downstream data flow in time-sharing, and the first terminal side optical splitter then sends the main downstream data flow and the backup downstream data flow to the same optical port of the first optical terminal in time-sharing. It can be seen that even if the first optical terminal with low reliability is connected to the main link and the backup link through only one optical port, it can ensure that the first optical terminal can only receive one of the main downstream data flow and the backup downstream data flow at the same time. Avoid conflicts between the main downstream data flow and the backup downstream data flow received by the optical terminal with low reliability.
[0012] Based on the first aspect, in an optional implementation, the optical terminal includes a second optical terminal, and the optical head end occupies the main downstream time slot and sends the main downstream data stream to the optical terminal through the main link, including: the optical head end occupies the main downstream time slot, and sends the main downstream data stream to the second terminal side splitter through the main link, and the second terminal side splitter is used to connect the main link and the second optical terminal; the optical head end occupies the backup downstream time slot, and sends the backup downstream data stream to the optical terminal through the backup link, including: the optical head end occupies the backup downstream time slot, and sends the backup downstream data stream to the third terminal side splitter through the backup link, the third terminal side splitter is used to connect the backup link and the second optical terminal, and the second terminal side splitter is different from the third terminal side splitter.
[0013] With this implementation, a highly reliable second optical terminal is connected to the primary link via a primary optical port and to the backup link via a backup optical port. Therefore, even if the primary port fails to successfully receive the primary downstream data stream from the primary link, the separation of the primary and backup optical ports allows the backup optical port to successfully receive the backup downstream data stream, ensuring that the backup downstream data stream successfully backs up the primary downstream data stream.
[0014] Based on the first aspect, in an optional implementation, the main downstream data stream is used to carry a main port identifier, and the backup downstream data stream is used to carry a backup port identifier. The main port identifier is used to identify the main port of the optical head end, and the main port is used to send the main downstream data stream to the main link. The backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downstream data stream to the backup link; the main port identifier and the backup port identifier are used to indicate that the optical terminal extracts downstream services from the main downstream data stream or the backup downstream data stream.
[0015] With this implementation, because the primary downstream data stream carries a primary port identifier and the backup downstream data stream carries a backup port identifier, the optical terminal can distinguish between the primary downstream data stream and the backup downstream data stream based on the primary port identifier and the backup port identifier. Based on the primary port identifier and the backup port identifier, the optical terminal can select one primary downstream data stream from the primary and backup downstream data streams to extract downstream services.
[0016] Based on the first aspect, in an optional implementation, before the optical head end occupies the main downlink time slot and sends the main downlink data stream to the optical terminal through the main link, the method also includes: the optical head end occupies the main ranging time slot and sends the main ranging message to the optical terminal through the main link, and the main ranging message is used to measure the main round-trip communication delay RTT between the optical head end and the optical terminal; before the optical head end occupies the backup downlink time slot and sends the backup downlink data stream to the optical terminal through the backup link, the method also includes: the optical head end occupies the backup ranging time slot and sends the backup ranging message to the optical terminal through the backup link, and the backup ranging message is used to measure the backup RTT between the optical head end and the optical terminal, and on the time axis, the intersection between the main ranging time slot and the backup ranging time slot is an empty set.
[0017] Using this implementation, the optical headend sends primary and backup ranging messages to the optical terminal in a time-sharing manner, using primary and backup ranging slots whose intersection on the time axis is an empty set. The optical headend measures the primary and backup RTTs of each optical headend. The optical headend can obtain the primary downlink slot based on the primary RTT and the backup downlink slot based on the backup RTT, effectively ensuring that the focal length between the primary and backup downlink slots on the time axis is an empty set, effectively avoiding conflicts between the primary and backup downlink data streams received by the optical terminal.
[0018] Based on the first aspect, in an optional implementation method, the main downlink time slot includes a first main downlink time slot and a second main downlink time slot, the backup downlink time slot includes a first backup downlink time slot and a second backup downlink time slot, the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the optical terminal through the main link, including: the optical head end occupies the first main downlink time slot and the second main downlink time slot respectively, and sends the first main downlink data stream and the second main downlink data stream to the optical terminal; the optical head end occupies the backup downlink time slot, and sends the backup downlink data stream to the optical terminal through the backup link, including: the optical head end occupies the first backup downlink time slot and the second backup downlink time slot respectively, and sends the first backup downlink data stream and the second backup downlink data stream to the optical terminal; wherein, on the time axis, the first main downlink time slot, the first backup downlink time slot, the second main downlink time slot and the second backup downlink time slot are arranged in sequence, and there is a time interval between any two adjacent downlink time slots in the first main downlink time slot, the first backup downlink time slot, the second main downlink time slot and the second backup downlink time slot.
[0019] As shown in this aspect, since the intersection between any adjacent main downstream time slots and backup downstream time slots on the time axis is an empty set and has a certain time interval, the same optical terminal will receive the main downstream data stream and the backup downstream data stream in time-sharing, avoiding conflicts between the main downstream data stream and the backup downstream data stream received by the optical terminal.
[0020] The second aspect of an embodiment of the present application provides a data transmission method, which includes: the optical terminal occupies a main time period and receives a main downstream data stream from the optical head end through a main link, and the main link is used to connect the optical terminal and the optical head end; and / or the optical terminal occupies a backup time period and receives a backup downstream data stream from the optical head end through a backup link, and the backup link is used to connect the optical terminal and the optical head end, and the optical terminal is respectively connected to the main link and the backup link through the same terminal-side splitter, and on the time axis, the intersection between the main time period and the backup time period is an empty set.
[0021] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0022] Based on the second aspect, in an optional implementation, after the optical terminal occupies the main time period and receives the main downstream data flow from the optical head end through the main link, the method also includes: the optical terminal obtains the main port identifier carried by the main downstream data flow, the main port identifier is used to identify the main port of the optical head end, and the main port is used to send the main downstream data flow to the main link; after the optical terminal occupies the backup time period and receives the backup downstream data flow from the optical head end through the backup link, the method also includes: the optical terminal obtains the backup port identifier carried by the backup downstream data flow, the backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downstream data flow to the backup link; the optical terminal extracts the downlink service from the main downstream data flow that carries the main port identifier.
[0023] Based on the second aspect, in an optional implementation, after the optical terminal occupies the main time period and receives the main downstream data flow from the optical head end through the main link, the method also includes: if the optical terminal only obtains the main port identifier, the optical terminal extracts the downstream service from the main downstream data flow, wherein the main port identifier is used to identify the main port of the optical head end, and the main port is used to send the main downstream data flow to the main link.
[0024] Based on the second aspect, in an optional implementation method, after the optical terminal occupies the backup time period and receives the backup downstream data flow from the optical head end through the backup link, the method also includes: if the optical terminal only obtains the backup port identifier, the optical terminal extracts the downstream service from the backup downstream data flow, the backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downstream data flow to the backup link.
[0025] Based on the second aspect, in an optional implementation, before the optical terminal occupies the main time period and receives the main downlink data flow from the optical head end through the main link, the method also includes: the optical terminal occupies the main ranging time period and receives the main ranging message from the optical head end through the main link, and the main ranging message is used to measure the main round-trip communication delay RTT between the optical head end and the optical terminal; before the optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link, the method also includes: the optical terminal occupies the backup ranging time period and receives the backup ranging message from the optical head end through the backup link, and the backup ranging message is used to measure the backup RTT between the optical head end and the optical terminal, and on the time axis, the intersection between the main ranging time period and the backup ranging time period is an empty set.
[0026] Based on the second aspect, in an optional implementation, the main time period includes a first main time period and a second main time period, the backup time period includes a first backup time period and a second backup time period, the optical terminal occupies the main time period and receives the main downstream data flow from the optical head end through the main link, including: the optical terminal occupies the first main time period and the second main time period respectively, and receives the first main downstream data flow and the second main downstream data flow from the optical head end through the main link; the optical terminal occupies the backup time period and receives the backup downstream data flow from the optical head end through the backup link, including: the optical terminal occupies the first backup time period and the second backup time period respectively, and receives the first backup downstream data flow and the second backup downstream data flow from the optical head end through the backup link;
[0027] Among them, on the time axis, the first main time period, the first backup time period, the second main time period and the second backup time period are arranged in sequence, and there is a time interval between any two adjacent time periods among the first main time period, the first backup time period, the second main time period and the second backup time period.
[0028] A third aspect of an embodiment of the present application provides a data transmission method, which is applied to an optical network, wherein the optical network includes an optical head end, a main link, a backup link, a terminal-side optical splitter, and an optical terminal. The method includes: the optical head end occupies a main downstream time slot, and sends a main downstream data stream to the terminal-side optical splitter through the main link, and the main link is used to connect the terminal-side optical splitter and the optical head end; the terminal-side optical splitter sends the main downstream data stream to the optical terminal; the optical head end occupies a backup downstream time slot, and sends a backup downstream data stream to the terminal-side optical splitter through the backup link, and the backup link is used to connect the terminal-side optical splitter and the optical head end, the main link is different from the backup link, and on the time axis, the intersection between the main downstream time slot and the backup downstream time slot is an empty set; the terminal-side optical splitter sends the backup downstream data stream to the optical terminal.
[0029] For the description of the beneficial effects of this application, please refer to the first aspect and the details will not be repeated here.
[0030] Based on the third aspect, in an optional implementation, the optical terminal includes a first optical terminal, the terminal-side optical splitter includes a first terminal-side optical splitter, the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the terminal-side optical splitter through the main link, including: the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the first terminal-side optical splitter through the main link, the first terminal-side optical splitter is used to connect the main link and the first optical terminal; the terminal-side optical splitter sends the main downlink data stream to the optical terminal, including: the first terminal side The optical splitter sends the main downstream data flow to the first optical terminal; the optical head end occupies the backup downstream time slot and sends the backup downstream data flow to the terminal side optical splitter through the backup link, including: the optical head end occupies the backup downstream time slot, and sends the backup downstream data flow to the first terminal side optical splitter through the backup link, and the first terminal side optical splitter is used to connect the backup link and the first optical terminal; the terminal side optical splitter sends the backup downstream data flow to the optical terminal, including: the first terminal side optical splitter sends the backup downstream data flow to the first optical terminal.
[0031] Based on the third aspect, in an optional implementation, the optical terminal includes a second optical terminal, the terminal-side optical splitter includes a second terminal-side optical splitter and a third terminal-side optical splitter, the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the terminal-side optical splitter through the main link, including: the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the second terminal-side optical splitter through the main link, the second terminal-side optical splitter is used to connect the main link and the second optical terminal; the terminal-side optical splitter sends the main downlink data stream to the optical terminal, including: The second terminal side optical splitter sends the main downstream data flow to the second optical terminal; the optical head end occupies the backup downstream time slot and sends the backup downstream data flow to the terminal side optical splitter through the backup link, including: the optical head end occupies the backup downstream time slot and sends the backup downstream data flow to the third terminal side optical splitter through the backup link, and the third terminal side optical splitter is used to connect the backup link and the second optical terminal; the terminal side optical splitter sends the backup downstream data flow to the optical terminal, including: the third terminal side optical splitter sends the backup downstream data flow to the second optical terminal.
[0032] The fourth aspect of the present application provides an optical network, which includes an optical head end, a main link, a backup link, a terminal-side splitter and an optical terminal, wherein the optical head end is connected to the main link and the backup link respectively, and the terminal-side splitter is connected to the main link, the backup link and the optical terminal respectively; the optical head end is used to occupy the main downlink time slot and send the main downlink data stream to the terminal-side splitter through the main link; the terminal-side splitter is used to send the main downlink data stream to the optical terminal; the optical head end is used to occupy the backup downlink time slot and send the backup downlink data stream to the terminal-side splitter through the backup link. On the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set; the terminal-side splitter is used to send the backup downlink data stream to the optical terminal.
[0033] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0034] Based on the fourth aspect, in an optional implementation, the optical terminal includes a first optical terminal, the terminal-side optical splitter includes a first terminal-side optical splitter, and the first optical terminal is connected to the main link and the backup link respectively through the first terminal-side optical splitter.
[0035] Based on the fourth aspect, in an optional implementation, the optical terminal includes a second optical terminal, the terminal-side splitter includes a second terminal-side splitter and a third terminal-side splitter, the second optical terminal is connected to the main link through the second terminal-side splitter, and the second optical terminal is connected to the backup link through the third terminal-side splitter.
[0036] Based on the fourth aspect, in an optional implementation, the main link includes at least one main splitter, the backup link includes at least one backup splitter, the terminal side splitter is connected to one main splitter of the at least one main splitter, and the terminal side splitter is connected to one backup splitter of the at least one backup splitter.
[0037] Based on the fourth aspect, in an optional implementation, the optical network includes N optical terminals arranged in sequence, where N is an arbitrary integer not less than 2; the moments when the N optical terminals receive the main downstream data stream increase in sequence, and the moments when the N optical terminals receive the backup downstream data stream decrease in sequence.
[0038] In a fifth aspect, the present application provides an optical network, comprising an optical headend, a primary link, a backup link, a terminal-side optical splitter, a first optical terminal, and a portion of a second optical terminal. For a description of the structure and beneficial effects of this aspect, please refer to the fourth aspect, and the details are omitted here.
[0039] In a sixth aspect, the present application provides an optical head end, comprising a transmitter and a processor, wherein the transmitter is connected to the processor; the processor is used to send a main downstream data stream to the transmitter and to indicate a main downstream time slot; the transmitter is used to occupy the main downstream time slot and send the main downstream data stream to the optical terminal via a main link, wherein the main link is used to connect the optical terminal and the optical head end; the processor is used to send a backup downstream data stream to the transmitter and to indicate a backup downstream time slot; the transmitter is used to occupy the backup downstream time slot and send the backup downstream data stream to the optical terminal via a backup link, wherein the backup link is used to connect the optical terminal and the optical head end, the main link is different from the backup link, and on the time axis, the intersection between the main downstream time slot and the backup downstream time slot is an empty set.
[0040] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0041] In the seventh aspect of the present application, there is provided an optical head end, comprising a sending module and a processing module, wherein the processing module is used to send a main downstream data stream to the sending module and to indicate a main downstream time slot; the sending module is used to occupy the main downstream time slot and send the main downstream data stream to the optical terminal through a main link, and the main link is used to connect the optical terminal and the optical head end; the processing module is used to send a backup downstream data stream to the sending module and to indicate a backup downstream time slot; the sending module is used to occupy the backup downstream time slot and send the backup downstream data stream to the optical terminal through a backup link, and the backup link is used to connect the optical terminal and the optical head end, the main link is different from the backup link, and on the time axis, the intersection between the main downstream time slot and the backup downstream time slot is an empty set.
[0042] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0043] In an eighth aspect of the present application, there is provided an optical terminal, comprising a receiver and a processor, wherein the receiver is connected to the processor; the receiver is used to occupy a main time period and receive a main downstream data stream from an optical head end through a main link, wherein the main link is used to connect the optical terminal and the optical head end; the processor is used to process the main downstream data stream from the receiver; and / or, the receiver is used to occupy a backup time period and receive a backup downstream data stream from the optical head end through a backup link, wherein the backup link is used to connect the optical terminal and the optical head end, and the optical terminal is connected to the main link and the backup link respectively through the same terminal-side optical splitter, and on the time axis, the intersection between the main time period and the backup time period is an empty set; the processor is used to process the backup downstream data stream from the receiver.
[0044] For the description of the beneficial effects of this aspect, please refer to the second aspect and the details will not be repeated here.
[0045] The ninth aspect of the present application provides an optical terminal, comprising a receiving module and a processing module, wherein the receiving module is used to occupy a main time period and receive a main downstream data flow from an optical head end through a main link, and the main link is used to connect the optical terminal and the optical head end; the processing module is used to process the main downstream data flow from the receiving module; and / or, the receiving module is used to occupy a backup time period and receive a backup downstream data flow from the optical head end through a backup link, and the backup link is used to connect the optical terminal and the optical head end, and the optical terminal is connected to the main link and the backup link respectively through the same terminal-side optical splitting module, and on the time axis, the intersection between the main time period and the backup time period is an empty set; the processing module is used to process the backup downstream data flow from the receiving module.
[0046] For the description of the beneficial effects of this aspect, please refer to the second aspect and the details will not be repeated here.
[0047] The tenth aspect of the present application provides a computer-readable storage medium, which stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes as described in any one of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] FIG1 is a diagram showing an example structure of existing Type C protection;
[0049] FIG2 is an example diagram of an in-vehicle network;
[0050] FIG3 is a diagram illustrating a first embodiment of an optical network structure provided by the present application;
[0051] FIG4 is an example diagram of time slots for transmitting downlink data streams by an optical head end provided in this application;
[0052] FIG5 is a diagram illustrating a time slot example of a downlink data stream sent by an optical head end and received by an optical terminal provided by the present application;
[0053] FIG6 is a time slot example diagram of an embodiment of ranging between an optical head end and each optical terminal in an optical network provided by the present application;
[0054] FIG7 is a diagram illustrating an example frame structure of an embodiment of a primary downlink data stream provided by the present application;
[0055] FIG8 is a diagram illustrating an example frame structure of an embodiment of a backup downlink data flow provided by the present application;
[0056] FIG9 is a diagram illustrating a fault example of the first embodiment of the optical network provided by the present application;
[0057] FIG10 is a diagram illustrating a second embodiment of the optical network structure provided by the present application;
[0058] FIG11 is a diagram illustrating a fault example of the second embodiment of the optical network provided by the present application;
[0059] FIG12 is a diagram illustrating a fault example of the third embodiment of the optical network provided by the present application;
[0060] FIG13 is an example diagram of allocation of uplink time slots provided by the present application;
[0061] FIG14 is a flowchart of the steps of a first embodiment of a data transmission method provided by the present application;
[0062] FIG15 is a flowchart of a second embodiment of the data transmission method provided by the present application;
[0063] FIG16 is a flowchart of a third embodiment of the data transmission method provided by the present application;
[0064] FIG17 is a structural diagram of a first embodiment of an optical communication device provided by the present application;
[0065] FIG18 is a diagram illustrating the structure of a second embodiment of the optical communication device provided in this application. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0067] The present application provides an optical network that can be applied to an in-vehicle network. Figure 2 is an example diagram of an in-vehicle network. The in-vehicle network includes an optical headend 201 having a primary port 202 and a backup port 203. The primary port 202 is connected to a primary link 204, and the backup port 203 is connected to a backup link 205. The in-vehicle network also includes multiple functional domains, such as a body domain 211, a power domain 212, an infotainment domain 213, and an assisted driving domain 214. Each functional domain includes one or more optical terminals (OTs), and each functional domain also includes one or more communication devices connected to each OT. For example, the body domain 211 includes an OT 221 and a body-power domain communication device that communicates with the OT 221 within the functional domain. The body domain 211 is used to control various control components of the vehicle system. The body-power domain communication device may include brake lights, position lights, door locks, and windows. The power domain 212 includes an OT 222 and a power domain communication device that communicates with the OT 222 within the functional domain. The power domain 212 is related to vehicle operation. Power domain communication equipment can be used to operate the transmission system, driving system, steering system, and braking system. The infotainment domain 213 includes the OT 223 and the infotainment domain communication equipment that communicates with the OT 223 within its functional domain. The infotainment domain communication equipment is used to implement vehicle intelligent driving, in-vehicle connectivity, and infotainment functions. The infotainment domain communication equipment can include the vehicle's instrument cluster, streaming media rearview mirror, communication equipment for the central control system, communication equipment for the in-vehicle entertainment system, and communication equipment for the head-up display system. The assisted driving domain 214 includes the OT 224 and the assisted driving domain communication equipment that communicates with the OT 224 within its functional domain. The assisted driving domain communication equipment is used to enable the vehicle to have multi-sensor fusion, positioning, path planning, and decision-making control capabilities. The assisted driving domain communication equipment can include cameras, millimeter-wave radars, and lidars. This example does not limit the functional domains into which the in-vehicle network is divided, nor the specific communication equipment included in each functional domain.
[0068] The communication equipment in each functional domain is connected to the OT through a bus, which can be a controller area network bus (CAN), a local interconnect network (LIN) bus, an Ethernet (ETH) bus or a FLEXRAY bus, where FLEXRAY is a registered trademark of DaimlerChrysler. The OT of each functional domain is connected to the main link 204. Then, the optical head end 201 can communicate with the OT of each functional domain through the main link 204. The communication equipment in each functional domain is a device that performs corresponding functions in each functional domain in the vehicle. Taking the body domain 211 as an example, the OT can be a separate device connected to the body domain communication device. For example, the OT can be integrated into the body domain communication device. Then, the OT type in this example can be a network card, a single board, a communication interface or a communication device (such as an optical module), etc., and there is no specific limitation.
[0069] In an in-vehicle network, functional domains with important functions have high reliability, while functional domains with less important functions have low reliability. For example, the body domain 211 and the power domain 212 have high reliability, while the infotainment domain 213 and the assisted driving domain 214 have low reliability. Specifically, the OTs in the high-reliability functional domains are connected to the primary link 204 and the backup link 205 via optical fibers. For example, OT 221 in the body domain 211 is connected to the primary link 204 and the backup link 205 via optical fibers. OT 222 in the power domain 212 is connected to the primary link 204 and the backup link 205 via optical fibers. It can be understood that if at least one of the following fails: the primary port 202 of the optical head end 201, the primary port of OT 221, the optical fiber connecting the primary port of OT 221 and the primary link, or the primary link 204 between OT 221 and the optical head end 201, the optical head end 201 communicates with OT 221 via the backup link 205, thus achieving high reliability for the body domain 211. Similarly, if at least one of the following fails: the primary port 202 of the optical headend 201, the primary port of the OT 222, the optical fiber connecting the primary port of the OT 222 and the primary link 204, or the primary link 204 between the OT 222 and the optical headend 201, the optical headend 201 communicates with the OT 222 via the backup link 205, thereby achieving high reliability for the power domain 212. However, since the infotainment domain 213 and the assisted driving domain 214 have lower reliability, the OT 223 of the infotainment domain 213 and the OT 224 of the assisted driving domain 214 are connected only to the primary link 204. This eliminates the need to connect low-reliability functional domains to the backup link 205, reducing the cost of connecting low-reliability functional domains in the vehicle network.
[0070] Each functional domain in the vehicle network shown in this example uses different connection methods with optical headend 201 based on different requirements for high or low reliability. Because high-reliability functional domains are connected to optical headend 201 via primary link 204 and backup link 205, the communication success rate of high-reliability functional domains is effectively improved. Because low-reliability functional domains are connected only to primary link 204, the complexity of connecting these low-reliability functional domains is reduced, thereby reducing connection costs and optical fiber weight.
[0071] The optical network provided in the embodiment of the present application is applied to the vehicle network as an example, without limitation. For example, the optical network provided in the embodiment of the present application can also be applied to passive optical network (PON), optical transport network (OTN), industrial control, data backhaul, data center and monitoring center, etc. This example also does not limit the device type of each device included in the optical network. For example, the optical head end can be an optical line terminal (OLT), and the communication device integrated with OT can be an optical network unit (ONU). For another example, the optical head end can be a base station controller (BSC), and the communication device integrated with OT can be a base transciver station (BTS). For another example, the optical head end can be a switch, and the communication device integrated with OT can be a server, etc.
[0072] The optical network provided by the present application can successfully protect both optical terminals with high reliability and optical terminals with low reliability. The structure of the optical network shown in this embodiment can be seen in Figure 3, where Figure 3 is an example diagram of the structure of the first embodiment of the optical network provided by the present application.
[0073] The optical network shown in this embodiment includes an optical headend 301, a main link 340, a backup link 350, a terminal-side optical splitter, at least one first optical terminal, and at least one second optical terminal. The first optical terminal is a highly reliable optical terminal, and the second optical terminal is a less reliable optical terminal. For a description of the highly reliable and less reliable optical terminals, please refer to FIG2 , and detailed descriptions are omitted. It is understood that the highly reliable first optical terminal is connected to the main link 340 and the backup link 350, respectively, while the less reliable second optical terminal is connected only to the main link 340. This embodiment takes as an example an optical network comprising two first optical terminals, namely, a first optical terminal 310 and a first optical terminal 330, and one second optical terminal 360. This embodiment does not limit the number of first and second optical terminals included in the optical network. This embodiment also takes as an example the sequential arrangement of the optical headend 301, the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330. This embodiment does not limit the arrangement of the first and second optical terminals included in the optical network.
[0074] Specifically, the optical head end 301 includes a main port 302 and a backup port 303. The optical head end 301 may be an optical device or a cluster of multiple optical devices, which is not specifically limited. The optical head end 301 includes a main optical module and a backup optical module. The main optical module has a main port 302 for transmitting the main downstream data flow to each optical terminal in the optical network. The main port 302 is the transmission channel of the optical signal of the main optical module. The backup optical module has a backup port 303 for transmitting the backup downstream data flow to each optical terminal in the optical network. The backup port 303 is the transmission channel of the optical signal of the backup optical module. For example, the optical head end 301 shown in this embodiment may be a cluster consisting of one OLT or multiple OLTs. If the optical head end 301 includes one OLT, the OLT has two optical modules, one main optical module has the main port 302, and the other backup optical module has a backup port 303. If optical headend 301 includes multiple OLTs, the primary optical module of one OLT has primary port 302, and the backup optical module of another OLT has backup port 303, which is not limited in this embodiment. The transmission of the backup downstream data stream emitted by the backup port is used to backup the transmission of the primary downstream data stream emitted by the primary port.
[0075] Taking the first optical terminal 310 as an example, the first optical terminal 310, which has low reliability, includes an optical module having an optical port 311. The optical network also includes a first terminal-side optical splitter 312 connected to the optical port 311 of the first optical terminal 310. The first terminal-side optical splitter 312 is an N*M optical splitter. N refers to the number of input ports included in the first terminal-side optical splitter 312 for receiving downstream data streams from the optical headend 301. M refers to the number of output ports included in the first terminal-side optical splitter 312 for transmitting downstream data streams to the first optical terminal 310. M is an arbitrary integer not less than 2, and N is an arbitrary integer not less than 1. Specifically, one input port of the first terminal-side optical splitter 312 is connected to the main link 340 and receives the main downstream data stream from the optical headend 301 via the main link 340. Another input port of the first terminal-side optical splitter 312 is connected to the backup link 350 and receives the backup downstream data stream from the optical headend 301. In the case where the first terminal side optical splitter 312 receives the main downstream data stream, the first terminal side optical splitter 312 transmits the main downstream data stream to the first optical terminal 310 via the output port. Similarly, another input port of the first terminal side optical splitter 312 is connected to the backup link 350 and receives the backup downstream data stream from the optical head end 301. Another input port of the first terminal side optical splitter 312 is connected to the backup link 350 and receives the backup downstream data stream from the optical head end 301 via the backup link 350. In the case where the first terminal side optical splitter 312 receives the backup downstream data stream, the first terminal side optical splitter 312 transmits the backup downstream data stream to the first optical terminal 310 via the output port. This embodiment takes the example of the output port of the first terminal side optical splitter 312 being connected to one first optical terminal 310. In other examples, the first terminal side optical splitter 312 may include two or more output ports, each of which is connected to one first optical terminal. For the description of how the first optical terminal 330 is connected to the main link 340 and the backup link 350 , please refer to the description of how the first optical terminal 310 is connected to the main link 340 and the backup link 350 , and details are not repeated here.
[0076] Taking the second optical terminal 360 as an example, the second optical terminal 360 with high reliability includes two optical modules, namely a main optical module and a backup optical module. Among them, the main optical module has a main optical port, and the backup optical module has a backup optical port. The main optical port of the second optical terminal 360 is connected to the main link 340, and the backup optical port of the second optical terminal 360 is connected to the backup link 350. The optical network shown in this embodiment also includes a second terminal-side optical splitter 361 for connecting the second optical terminal 360 to the main link 340. The optical network also includes a third terminal-side optical splitter 362 for connecting the second optical terminal 360 to the backup link 350. For the description of the structures of the second terminal-side optical splitter 361 and the third terminal-side optical splitter 362, please refer to the description of the first terminal-side optical splitter 312, and the details are not repeated here. The input port of the second terminal-side optical splitter 361 is connected to the main link 340, and the output port of the second terminal-side optical splitter 361 is connected to the main optical port of the second optical terminal 360. The input port of the third terminal-side optical splitter 362 is connected to the backup link 350 , and the output port of the third terminal-side optical splitter 362 is connected to the backup optical port of the second optical terminal 360 .
[0077] Each optical terminal included in the optical network is connected to the main link 340, and the optical head end 301 sends the main downstream data stream to each optical terminal through the main link 340. Specifically, the main link 340 includes a plurality of main optical splitters connected in sequence. This embodiment does not limit the specific number of main optical splitters included in the main link 340. Each main optical splitter includes an input port for receiving the main downstream data stream and an output port for sending the main downstream data stream to the optical terminal. Continuing to refer to Figure 3, the main link 340 includes a main optical splitter 341, a main optical splitter 342 and a main optical splitter 343 connected in sequence. Among them, the input port of the main optical splitter 341 is connected to the main port 302 of the optical head end 301. One output port of the main optical splitter 341 is connected to the first terminal side optical splitter 312, and the other output port of the main optical splitter 341 is connected to the input port of the main optical splitter 342. The input port of the main optical splitter 342 is connected to the main optical splitter 341, one output port of the main optical splitter 342 is connected to the main optical splitter 343, and the other output port of the main optical splitter 342 is connected to the input port of the second terminal-side optical splitter 361. The output port of the second terminal-side optical splitter 361 is connected to the main optical port of the second optical terminal 360. The input port of the main optical splitter 343 is connected to the main optical splitter 342, and the output port of the main optical splitter 343 is connected to the first terminal-side optical splitter 331. The output port of the first terminal-side optical splitter 331 is connected to the optical port of the first optical terminal 330. It can be understood that the first optical terminal 310 is connected to the optical headend 301 in sequence through the first terminal-side optical splitter 312 and the main optical splitter 341. The second optical terminal 360 is connected to the optical headend 301 in sequence through the second terminal-side optical splitter 361, the main optical splitter 342, and the main optical splitter 341, and so on. This embodiment uses the example of a primary optical port of a second optical terminal 360 being connected to a primary optical splitter 342 on a main link via a second terminal-side optical splitter 361. In other examples, the primary optical port of the second optical terminal 360 may also be directly connected to the primary optical splitter 342, without specific limitation. This embodiment uses the example of a primary optical splitter 340 including the same number as the number of optical terminals included in the optical network. For example, if the optical network includes three optical terminals, then the primary link 340 includes three primary optical splitters. It should be noted that this embodiment does not limit the number of primary optical splitters included in the primary link 340, as long as each optical terminal can be connected to an output port of a primary optical splitter included in the primary link 340.
[0078] Each optical terminal included in the optical network is connected to the backup link 350, and the optical head end 301 sends a backup downstream data stream to each optical terminal through the backup link 350. Specifically, the backup link 350 includes a plurality of backup optical splitters connected in sequence. This embodiment does not limit the specific number of backup optical splitters included in the backup link 350. Each backup optical splitter includes an input port for receiving a backup downstream data stream and an output port for sending a backup downstream data stream to each optical terminal. For example, as shown in Figure 3, the backup link 350 includes a backup optical splitter 351, a backup optical splitter 352 and a backup optical splitter 353 connected in sequence. Among them, the input port of the backup optical splitter 351 is connected to the backup port 303 of the optical head end 301, one output port of the backup optical splitter 351 is connected to the first terminal side optical splitter 312, and the other output port of the backup optical splitter 351 is connected to the input port of the backup optical splitter 352. The input port of backup optical splitter 352 is connected to backup optical splitter 351, one output port of backup optical splitter 352 is connected to backup optical splitter 353, and the other output port of backup optical splitter 352 is connected to the input port of third terminal-side optical splitter 362. The input port of backup optical splitter 353 is connected to backup optical splitter 352, and the output port of backup optical splitter 353 is connected to third terminal-side optical splitter 362. The other output port of backup optical splitter 353 is connected to first terminal-side optical splitter 331. It is understood that first optical terminal 310 is connected to backup port 303 sequentially through first terminal-side optical splitter 312 and backup optical splitter 351. Second optical terminal 360 is connected to backup port 303 sequentially through third terminal-side optical splitter 362, backup optical splitter 352, and backup optical splitter 351, and so on. This embodiment uses the example of a backup optical port of a second optical terminal 360 being connected to a backup optical splitter 352 on a backup link via a third terminal-side optical splitter 362. In other examples, the backup optical port of a second optical terminal 360 may also be directly connected to a backup optical splitter 352, without limitation. This embodiment uses the example of a backup link 350 having the same number of backup optical splitters as the number of optical terminals included in the optical network. It should be noted that this embodiment does not impose a limit on the number of backup optical splitters included in the backup link 350, as long as each optical terminal can connect to the output port of a backup optical splitter included in the backup link 350.
[0079] The first optical terminal 310, which has low reliability, is connected to both the main link 340 and the backup link 350 through the same optical port 311. The second optical terminal 360, which has high reliability, is connected to both the main link 340 and the backup link 350 through different optical ports. The optical network shown in this embodiment ensures that the first optical terminal, which includes only one optical port, can only receive one of the main downstream data stream and the backup downstream data stream from the optical head end 301 at the same time. The first optical terminal 310 will not receive both the main downstream data stream and the backup downstream data stream at the same time, thereby ensuring that the main downstream data stream and the backup downstream data stream received by the first optical terminal 310 from the optical head end 301 do not conflict, thereby ensuring that the first optical terminal 310 can successfully process the downstream data stream from the optical head end 301. Specifically, the optical head end 301 occupies the main downstream time slot and sends the main downstream data stream through the main link 340. The optical head end 301 occupies the backup downstream time slot and sends the backup downstream data stream through the backup link 350. To enable transmission of the backup downlink data stream, which can back up the transmission of the primary downlink data stream, the downlink services carried by the backup downlink data stream are identical to those carried by the primary downlink data stream. To prevent the same optical terminal from receiving both the primary and backup downlink data streams at the same time, the primary downlink timeslot is different from the backup downlink timeslot.
[0080] Figure 4 is an example diagram of the time slots for sending downstream data streams at the optical head end provided in this application. The main port 302 of the optical head end 301 occupies multiple main downstream time slots to send the main downstream data stream. The backup port 303 of the optical head end 301 occupies multiple backup downstream time slots to send the backup downstream data stream. This embodiment does not limit the number of main downstream time slots occupied by the main port 302 and the number of backup downstream time slots occupied by the backup port 303. For example, as shown in Figure 4, the main port 302 occupies the first main downstream time slot and the second main downstream time slot, and the backup port 303 occupies the first backup downstream time slot and the second backup downstream time slot. On the time axis, the starting time of the first main downstream time slot is ta1, and the ending time is ta2, and the moment ta2 is greater than the moment ta1. The starting time of the first backup downstream time slot is ta3, and the ending time is ta4, and the moment ta4 is greater than the moment ta3. Moreover, on the time axis, the starting time of the second main downstream time slot is ta5, and the ending time is ta6, and the moment ta6 is greater than the moment ta5. The second backup downlink timeslot starts at time ta7 and ends at time ta8, with time ta8 being greater than time ta7. Here, time ta1, time ta2, time ta3, time ta4, time ta5, time ta6, time ta7, and time ta8 are arranged in ascending order. Thus, the first primary downlink timeslot, the first backup downlink timeslot, the second primary downlink timeslot, and the second backup downlink timeslot are arranged in order on the time axis. It can be understood that on the time axis, the intersection between any two downlink timeslots in the first primary downlink timeslot, the second primary downlink timeslot, the first backup downlink timeslot, and the second backup downlink timeslot is an empty set. To prevent the same optical terminal from receiving both the primary downlink data stream and the backup downlink data stream at the same time, a time interval exists between adjacent primary downlink timeslots and backup downlink timeslots on the time axis. For example, there is a time interval between the first primary downlink timeslot and the first backup downlink timeslot, and this time interval starts at time ta2 and ends at time ta3. By analogy, there is a time interval between the second primary downlink time slot and the second backup downlink time slot, and the time interval starts at time ta6 and ends at time ta7. It should be noted that this embodiment does not limit the duration of each primary downlink time slot, each backup downlink time slot, and each time interval.
[0081] The primary port 302 occupies the first primary downstream timeslot and transmits a first primary downstream data stream 410. The backup port 303 occupies the first backup downstream timeslot and transmits a first backup downstream data stream 420. The first primary downstream data stream 410 and the first backup downstream data stream 420 carry the same downstream traffic, enabling transmission of the first backup downstream data stream 420 and backing up the transmission of the first primary downstream data stream 410. The primary port 302 occupies the second primary downstream timeslot and transmits a second primary downstream data stream 430. The backup port 303 occupies the second backup downstream timeslot and transmits a second backup downstream data stream 430. The second primary downstream data stream 430 and the second backup downstream data stream 440 carry the same downstream traffic, enabling transmission of the second backup downstream data stream 440 and backing up the transmission of the second primary downstream data stream 430. It will be understood that the primary port and the backup port of the optical head end 301 shown in this embodiment transmit light in a burst mode. That is, the primary port of the optical head end transmits light to transmit the primary downstream data stream only during the duration of the primary downstream timeslot. The backup port on the optical headend only emits light during the backup downlink timeslot to send the backup downlink data stream. Because the primary and backup ports on the optical headend emit light in burst mode, this effectively ensures that the same optical terminal can only receive one downlink data stream at a time, and will not receive both the primary and backup downlink data streams simultaneously, effectively avoiding conflicts between the primary and backup downlink data streams received by the same optical terminal.
[0082] With reference to Figures 3 to 5, the transmission process of the main downstream data flow and the backup downstream data flow in the optical network is explained. Among them, Figure 5 is an example diagram of a time slot for the optical head end to send the downstream data flow and the optical terminal to receive the downstream data flow provided by this application. The main port 302 of the optical head end 301 occupies the first main downstream time slot to send the first main downstream data flow 410. The first main downstream data flow 410 is transmitted to the first terminal side optical splitter 312 via the main link main splitter 341. The first terminal side optical splitter 312 transmits the first main downstream data flow 410 to the first optical terminal 310. This example takes the case where the first optical terminal 310 is closest to the main port 302 among the multiple optical terminals included in the optical network as an example. Then, in the optical network, the first optical terminal 310 receives the first main downstream data flow 410 from the main port 302 the earliest. In this example, the first optical terminal 310 occupies the first main time period to receive the first main downstream data flow 410. On the time axis, the starting time of the first main time period is tb1, and the ending time is tb2. Time tb2 is greater than time tb1, and time tb1 is greater than time ta1. The backup port 303 of the optical head end 301 occupies the first backup downstream time slot to send the first backup downstream data stream 420. The first backup downstream data stream 420 is transmitted to the first terminal-side optical splitter 312 via the backup optical splitter 351 of the backup link. The first terminal-side optical splitter 312 transmits the first backup downstream data stream 420 to the first optical terminal 310. In this example, the first optical terminal 310 occupies the first backup time period to receive the first backup downstream data stream 420. On the time axis, the starting time of the first backup time period is tb3, and the ending time is tb4. Time tb4 is greater than time tb3, and time tb3 is greater than time ta3. In this embodiment, to ensure that the first optical terminal 310 receives the first primary downstream data stream 410 and the first backup downstream data stream 420 in a time-sharing manner, the intersection of the first primary time period and the first backup time period on the time axis is an empty set. If there is a time interval between the first primary downstream time slot for transmitting the first primary downstream data stream 410 and the first backup downstream time slot for transmitting the first backup downstream data stream 420, there is also a time interval between the first primary time period and the first backup time period (i.e., the time interval between time tb2 and time tb3). To ensure that the first optical terminal 310 can only receive one downstream data stream at a time, the start time of the first backup time period (i.e., time tb3) on the time axis is greater than the end time of the first primary time period (i.e., time tb2). It is understood that after the first optical terminal 310 completes receiving the first primary downstream data stream 410, it begins receiving the first backup downstream data stream 420 after the time interval between time tb2 and time tb3 has passed.In this embodiment, the first optical terminal 310 occupies the second main time period to receive the second main downstream data stream, and the first optical terminal 310 occupies the second backup time period to receive the second backup downstream data stream. For the receiving process, please refer to the process of the first optical terminal 310 receiving the first main downstream data stream 410 and the first backup downstream data stream 420, and the details are not repeated here. To ensure that the first optical terminal 310 receives only one downstream data stream at a time, and to prevent the main downstream data stream and the backup downstream data stream from being transmitted to the first terminal-side optical splitter 312 at the same time, on the time axis, the start time of the first backup time period (i.e., time tb3) is greater than the end time of the first main time period (i.e., time tb2), the end time of the first backup time period (i.e., time tb4) is less than the start time of the second main time period (i.e., time tb5), and the start time of the second backup time period (i.e., time tb7) is greater than the end time of the second main time period (i.e., time tb6).
[0083] The following describes the process by which the second optical terminal 360 receives the primary downstream data stream and the backup downstream data stream. The primary optical splitter 341 splits the first primary downstream data stream from the main port 302 to obtain one first primary downstream data stream and another first primary downstream data stream. The primary optical splitter 341 sends the first primary downstream data stream obtained by the splitting to the first terminal-side optical splitter 312 for transmission to the first optical terminal. The primary optical splitter 341 sends the other first primary downstream data stream obtained by the splitting to the primary optical splitter 342. The primary optical splitter 342 splits the first primary downstream data stream from the main optical splitter 341 to obtain one first primary downstream data stream and another first primary downstream data stream. The primary optical splitter 342 sends the first primary downstream data stream obtained by the splitting to the second terminal-side optical splitter 361 for transmission to the primary optical port of the second optical terminal 360. The primary optical splitter 342 sends the other first primary downstream data stream obtained by the splitting to the primary optical splitter 343. For the process of second optical terminal 360 receiving the second primary downstream data stream, refer to the process of second optical terminal 360 receiving the first primary downstream data stream, and the details are not repeated here. For the process of low-reliability optical terminals receiving downstream data streams in the optical network, refer to the description of first optical terminal 310 receiving downstream data streams, and the details are not repeated here.
[0084] Backup optical splitter 351 splits the first backup downstream data stream from backup port 302 to obtain one first backup downstream data stream and another first backup downstream data stream. Backup optical splitter 351 sends the first backup downstream data stream obtained by splitting to first terminal-side optical splitter 312 for transmission to first optical terminal 310. Backup optical splitter 351 sends the other first backup downstream data stream obtained by splitting to backup optical splitter 352. Backup optical splitter 352 splits the first backup downstream data stream from backup optical splitter 351 to obtain one first backup downstream data stream and another first backup downstream data stream. Backup optical splitter 352 sends the first backup downstream data stream obtained by splitting to third terminal-side optical splitter 362 for transmission to the backup optical port of second optical terminal 360. Backup optical splitter 352 sends the other first backup downstream data stream obtained by splitting to backup optical splitter 353. The process of second optical terminal 360 receiving the second backup downstream data stream can be found in the process of second optical terminal 360 receiving the first backup downstream data stream, and details are not repeated here. The time at which second optical terminal 360 receives the primary and backup downstream data streams can be found in Figure 5 , and details are not repeated here. It is understood that the primary and backup optical ports of second optical terminal 360 only receive one downstream data stream at a time. For the process of receiving downstream data streams by a highly reliable optical terminal in an optical network, please refer to the description of receiving downstream data streams by second optical terminal 360 , and details are not repeated here.
[0085] In this embodiment, one downlink data stream (such as the main downlink data stream or the backup downlink data stream) carries the downlink service sent to each optical terminal. To this end, the optical head end performs distance measurement on each optical terminal in the optical network, and obtains the duration of the main downlink time slot and the duration of the backup downlink time slot based on the result of the distance measurement, so as to ensure that the main downlink data stream sent by occupying the main downlink time slot can carry the downlink service sent to each optical terminal, and similarly, ensure that the backup downlink data stream sent by occupying the backup downlink time slot can carry the downlink service sent to each optical terminal. Referring to Figures 3 and 6, the process of the optical head end performing distance measurement for each optical terminal in the optical network is explained, wherein Figure 6 is an example diagram of time slots of an embodiment of distance measurement for each optical terminal in the optical network provided by the optical head end provided in this application.
[0086] To achieve ranging on the main link, the main port 302 of the optical head end 301 occupies the first main ranging time slot and sends a first main ranging message 610 to each optical terminal in the optical network through the main link 340. For the description of each optical terminal in the optical network receiving the first main ranging message 610 via the main link 340, please refer to the description of each optical terminal receiving the main downlink data stream via the main link 340 shown above, and the details are not repeated here. In the optical network, the first optical terminal 310 is closest to the optical head end 301 via the main link. The first optical terminal 310 receives the first main ranging message 610 based on the first main delay (Wmin). Among them, Wmin is the difference between the time when the first optical terminal 310 receives the first main ranging message 610 and the time when the optical head end sends the first main ranging message 610. In the optical network, the first optical terminal 330 is the farthest from the optical head end 301 via the main link. The first optical terminal 330 receives the first main ranging message 610 based on the second main delay (Wmax). Among them, Wmax is the difference between the time when the first optical terminal 330 receives the first main ranging message 610 and the time when the optical head end sends the first main ranging message 610. In order to realize the ranging of the backup link, the backup port 303 of the optical head end 301 occupies the first backup ranging time slot and sends the first backup ranging message 620 to each optical terminal in the optical network through the backup link 350. It should be understood that this embodiment takes the first main ranging time slot as an example of being earlier than the first backup ranging time slot. In other examples, the first backup ranging time slot may also be earlier than the first main ranging time slot, which is not limited in this embodiment. In order to avoid conflicts when the same optical terminal receives the first main ranging message 610 and the first backup ranging message 620, then, on the time axis, the intersection between the first main ranging time slot and the backup ranging time slot is an empty set. For the description of each optical terminal in the optical network receiving the first backup ranging message 620 via the backup link 350, please refer to the description of each optical terminal receiving the backup downlink data flow via the backup link 350 shown above, and the details are not repeated here. In the optical network, the first optical terminal 310 is closest to the backup port of the optical head end 301 via the backup link. The first optical terminal 310 receives the first backup ranging message 620 based on the first backup delay (Pmin). Pmin is the difference between the moment when the first optical terminal 310 receives the first backup ranging message 620 and the moment when the optical head end sends the first backup ranging message 620. In the optical network, the first optical terminal 330 is farthest from the optical head end 301 via the backup link. The first optical terminal 330 receives the first backup ranging message 620 based on the second backup delay (Pmax). Pmax is the difference between the moment when the first optical terminal 330 receives the first backup ranging message 620 and the moment when the optical head end sends the first backup ranging message 620. The primary port 302 of the optical head end 301 occupies the second primary ranging timeslot and sends a second primary ranging message 630 to each optical terminal in the optical network through the primary link 340 .The first backup ranging time slot is earlier than the second primary ranging time slot, and so on. It can be understood that the optical head end shown in this embodiment sends a primary ranging message and a backup ranging message in a manner adjacent to each other on the time axis.
[0087] Taking the first optical terminal 310 as an example, when the first optical terminal 310 receives the first primary ranging message via the main link 340, the first optical terminal 310 sends a first primary ranging response message to the optical head end 301 through the main link 340 according to the first primary ranging message. The first primary ranging message carries the frame number of the first primary ranging message. The first primary ranging response message carries the frame number of the first primary ranging message, the identifier of the first optical terminal 310, and the starting time when the first optical terminal 310 receives the first primary ranging message. When the optical head end 301 receives the first primary ranging response message, the main round-trip time (RTT) between the optical head end 301 and the first optical terminal 310 is measured based on the first primary ranging message and the first primary ranging response message. Specifically, the optical head end determines the starting time when the optical head end sends the first primary ranging message based on the frame number of the first primary ranging message. The optical head end 301 receives the starting time of the first ranging response message from the first optical terminal 310 to calculate the main RTT between the optical head end 301 and the first optical terminal 310. The main RTT between the optical head end 301 and the first optical terminal 310 is equal to the difference between the starting time when the optical head end 301 receives the ranging response message and the starting time when the optical head end 301 sends the first main ranging message. For the description of how the optical head end 301 measures the main RTT between the optical head end 301 and any optical terminal included in the optical network, please refer to the description of how the optical head end 301 measures the main RTT between the optical head end 301 and the first optical terminal 310, and details are not repeated here. For the process of measuring the backup RTT between the optical head end and each optical terminal through the backup ranging message and the backup ranging response message, please refer to the above-mentioned process of measuring the main RTT, and details are not repeated here.
[0088] In the optical network, the optical terminal that receives the first main ranging message 610 the latest is the first optical terminal 330 that is farthest from the main port of the optical head end 301, that is, the main RTT between the first optical terminal 330 and the optical head end 301 is the largest. The end time when the first optical terminal 330 receives the first main ranging message 610 is T1. In the optical network, the optical terminal that receives the first backup ranging message 620 the earliest is the first optical terminal 310 that is closest to the backup port of the optical head end 301, that is, the backup RTT between the first optical terminal 310 and the optical head end 301 is the smallest. The starting time when the first optical terminal 310 receives the first backup ranging message 620 is T2. In order to prevent any optical terminal in the optical network from receiving the main downstream data stream and the backup data stream at the same time, then, time T2> time T1. In the optical network, the optical terminal that receives the first backup ranging message 620 the latest is the first optical terminal 330 that is farthest from the backup port of the optical head end 301, that is, the backup RTT between the first optical terminal 330 and the optical head end 301 is the largest. The end time when the first optical terminal 330 receives the first backup ranging message 620 is T3. In the optical network, the optical terminal that receives the second main ranging message 630 the earliest is the first optical terminal 310 that is closest to the main port of the optical head end 301, that is, the main RTT between the first optical terminal 310 and the optical head end 301 is the largest. The starting time when the first optical terminal 310 receives the second main ranging message 630 is T4. In order to avoid any optical terminal in the optical network receiving the main downlink data stream and the backup data stream at the same time, then, time T4> time T3. The optical head end can determine the duration of the time interval based on the above-mentioned ranging situation. For example, the optical head end sets the maximum time slot occupied by each downlink frame (i.e., each main ranging message and backup ranging message) to Lf, that is, the maximum frame length of the first main ranging message 610 is Lf. Time T1 = Wmax + Lf, time T2 = Lf + Gap + Pmin + Wmax. Among them, Gap is the time interval. Time T3 = Lf + Gap + Pmax + Lf + Wmax, time T4 = Gap + Lf + Pmax + Gap + Lf + Wmax. This embodiment does not limit the duration of the time interval, as long as the intersection between any main downlink time slot and the first backup downlink time slot on the time axis is an empty set, and there is a certain time interval between adjacent main downlink time slots and backup downlink time slots.
[0089] Figure 7 is an example diagram of the frame structure of an embodiment of the main downstream data stream provided by the present application. Taking the first main downstream data stream 410 sent by the optical head end as an example, the first main downstream data stream 410 includes a physical synchronization block (PSBd) 701 and a physical layer frame payload (physical layer frame payload) 702. The physical layer frame payload is referred to as payload below. PSBd701 includes physical synchronization (PSync) 711, a main port identification (main port identification) 712 and an upstream bandwidth map (USBWmap) field 713. Among them, payload702 is used to carry the downstream service sent by the optical head end to each optical terminal. When the optical terminal obtains a downstream data stream carrying the main port identification 712, the optical terminal determines that the downstream data stream is the main downstream data stream from the main port of the optical head end. The USBWmap field 713 is a time slot scheduling message, which is used to indicate the main upstream time slot occupied by each optical terminal. For example, when the optical network includes three optical terminals, US BWmap713 includes three allocation structures (Allocation Structure). Each Allocation Structure includes a bandwidth allocation identifier (Alloc-ID) 721, a time slot start time (start time) 722, and a grant size (Grant size) field 723. If allocation structure 1 is used to indicate the main uplink time slot to the first optical terminal 310, then the Allocation ID 721 of allocation structure 1 is used to carry the identifier (Identity, ID) of the first optical terminal 310 that is authorized to send, the start time field is used to indicate the start time of the main uplink time slot allocated to the first optical terminal 310, and the Grant size 723 is used to indicate the length of the main uplink time slot authorized to the first optical terminal 310. The first optical terminal occupies the main uplink time slot indicated by allocation structure 1 and sends uplink services to the optical head end. For an explanation of the frame structure of each main downlink data stream sent by the optical head end, please refer to the explanation of the first main downlink data stream shown in Figure 7, and the details will not be repeated.
[0090] Figure 8 is an example diagram of the frame structure of an embodiment of the backup downstream data stream provided by the present application. Taking the first backup downstream data stream 420 sent by the optical head end as an example, the first backup downstream data stream 420 includes PSBd801 and physical layer frame payload802. PSBd801 includes PSync811, backup port identification (backup port identification) 812 and USBWmap813. Among them, payload802 is used to carry the downstream business sent by the optical head end to each optical terminal. For the description of PSync811 and USB BWmap813 included in the first backup downstream data stream 420, please refer to the description of the first main downstream data stream 410 shown in Figure 8, and the details are not repeated here. When the optical terminal obtains a downstream data stream that carries the backup port identification 812, the optical terminal determines that the downstream data stream is a backup downstream data stream from the backup port of the optical head end. For the description of the frame structure of each backup downstream data stream sent by the optical head end, please refer to the description of the first backup downstream data stream shown in Figure 7, and the details are not repeated here. In order to achieve the transmission of the first backup downlink data stream 420 and to back up the transmission of the first main downlink data stream 410, as shown in Figures 7 and 8, the downlink service carried by payload702 of the first main downlink data stream 410 shown in Figure 7 is the same as the downlink service carried by payload802 of the first backup downlink data stream 420.
[0091] The following describes a specific scenario in which the optical network shown in this embodiment implements data transmission:
[0092] Scenario 1, as shown in FIG3 to FIG5 , the primary link and the backup link of the optical network shown in this scenario are both in normal working state.
[0093] Taking the first optical terminal 310 with low reliability as an example, first, when the primary link is in normal operation, the first primary downstream data stream 410, transmitted by the primary port 302 of the optical head-end 301 in the first primary downstream timeslot, is transmitted sequentially via the primary optical splitter 341 and the first terminal-side optical splitter 312 to the optical port 311 of the first optical terminal 310. The first optical terminal 310, based on the primary port identifier carried in the first primary downstream data stream 410 (see FIG. 7 for details), determines that the first primary downstream data stream 410 is the downstream data stream originating from the primary port 302 of the optical head-end 301. Therefore, the first optical terminal 310 obtains the downstream service addressed to it from the first primary downstream data stream 410.
[0094] Secondly, when the backup link is in normal operation, the backup port 303 of the optical headend 301 occupies the first backup downstream timeslot and transmits the first backup downstream data stream 420 to the optical port 311 of the first optical terminal 310 via the backup optical splitter 351 and the first terminal-side optical splitter 312. The first optical terminal 310 determines that the first backup downstream data stream 420 is the downstream data stream from the backup port 303 of the optical headend 301 based on the backup port identifier carried by the first backup downstream data stream 420 (see Figure 8 for details). Because the first optical terminal 310 has successfully received the first main downstream data stream 410, the first optical terminal 310 does not need to process the first backup downstream data stream 420 and discards it.
[0095] It is understood that when both the primary link and the backup link of the optical network are in normal operation, the first optical terminal with low reliability can successfully receive the primary downstream data stream and the backup downstream data stream in a time-sharing manner. The first optical terminal only processes the primary downstream data stream from the primary link and discards the backup downstream data stream from the backup link. For the process of receiving the primary downstream data stream and the backup downstream data stream by the second optical terminal 360 with high reliability when both the primary link and the backup link are in normal operation, please refer to the process of receiving the primary downstream data stream and the backup downstream data stream by the first optical terminal 310 with low reliability, and the details are not repeated here.
[0096] Scenario 2: The main link of the optical network shown in this scenario is in a fault state, while the backup link is in a normal working state. Figure 9 is an example diagram of a fault in the first embodiment of the optical network provided by this application.
[0097] Example 1: The main link of the optical network has only one fault point 901. The fault point 901 can be at least one of the following:
[0098] A fault may occur in the main port 302 of the optical head end 301, in the optical fiber between the main optical splitter 341 connected to the main port 302, in the main optical splitter 341, in the optical fiber between the main optical splitter 341 and the first terminal-side optical splitter 312, in the optical fiber between the first terminal-side optical splitter 312 and the optical port of the first optical terminal 310, or in the optical port of the first optical terminal 310. This example uses the optical fiber connected between the main port 302 and the main optical splitter 341 as an example. It is understood that if a fault point 901 exists in the main link of the optical network, the main downstream data stream sent from the main port 302 cannot be successfully transmitted to any optical terminal in the optical network.
[0099] Taking the first optical terminal 310 with low reliability as an example, due to the existence of the fault point 901, the first optical terminal 310 cannot receive the main downstream data flow. Since the backup link shown in this example is in a normal working state, the first optical terminal 310 receives the first backup downstream data flow via the backup link. For an explanation of the process of the first optical terminal 310 receiving the first backup downstream data flow, please refer to Example 1, and the details will not be repeated. The first optical terminal 310 shown in this example cannot receive the main downstream data flow that carries the main port identifier (see Figure 7 for specific instructions), and can only receive the backup downstream data flow that carries the backup port identifier (see Figure 8 for specific instructions). Then, the first optical terminal 310 only processes the backup downstream data flow to obtain the downlink service sent to the first optical terminal 310 from the backup downstream data flow. Taking the second optical terminal 360 with high reliability as an example, due to the existence of the fault point 901, the second optical terminal 360 cannot receive the main downstream data stream carrying the main port identifier, and can only receive the backup downstream data stream carrying the backup port identifier. Then, the second optical terminal 360 only processes the backup downstream data stream to obtain the downlink service sent to the second optical terminal 360 from the backup downstream data stream.
[0100] Example 2: The main link of the optical network has only one fault point 902. The fault point 902 can be at least one of the following:
[0101] The main optical splitter 341 fails, the main optical splitter 342 fails, the optical fiber connected between the main optical splitter 341 and the main optical splitter 342 fails, the optical fiber connected between the main optical splitter 342 and the second terminal-side optical splitter 361 fails, the second terminal-side optical splitter 361 fails, the optical fiber connected between the second terminal-side optical splitter 361 and the main optical port of the second optical terminal 360 fails, or the main optical port of the second optical terminal 360 fails. This example uses the failure of the optical fiber connected between the main optical splitter 341 and the main optical splitter 342 as an example. It can be understood that if there is a failure point 902 in the main link of the optical network, the main downstream data stream emitted by the main port 302 can only be successfully sent to some optical terminals. As shown in the example of Figure 9, if there is a failure point 902 in the optical network, then the main downstream data stream emitted by the main port 302 can be successfully sent to the first optical terminal 310, but cannot be successfully sent to the second optical terminal 360 and the first optical terminal 330. If only fault point 902 exists on the primary link of the optical network, the first optical terminal 310 will not be affected from successfully receiving the primary downstream data stream and the backup downstream data stream. For the specific process, refer to Scenario 1 and will not be described in detail here. However, the second optical terminal 360 and the first optical terminal 330 can only successfully receive the backup downstream data stream. For the specific process, refer to the process of each optical terminal receiving the backup downstream data stream as shown in Example 1 and will not be described in detail here.
[0102] Example 3: The main link of the optical network has only one fault point 903. The fault point 903 can be at least one of the following:
[0103] A failure occurs in the main optical splitter 343, a failure occurs in the optical fiber connected between the main optical splitter 342 and the main optical splitter 343, a failure occurs in the optical fiber connected between the main optical splitter 343 and the first terminal-side optical splitter 331, a failure occurs in the first terminal-side optical splitter 331, a failure occurs in the optical fiber connected between the first terminal-side optical splitter 331 and the optical port of the first optical terminal 330, or a failure occurs in the optical port of the first optical terminal 330. This example uses the failure of the optical fiber connected between the main optical splitter 342 and the main optical splitter 343 as an example. It can be understood that if a failure point 903 exists in the main link of the optical network, the main downstream data stream emitted by the main port 302 can be successfully sent to some optical terminals. As shown in the example of Figure 9, if a failure point 903 exists in the optical network, the main downstream data stream emitted by the main port 302 can be successfully sent to the first optical terminal 310 and the second optical terminal 360, but cannot be successfully sent to the first optical terminal 330. If only fault point 903 exists on the primary link of the optical network, the successful reception of the primary and backup downstream data streams by the first optical terminal 310 and the second optical terminal 360 is not affected. For the specific process, refer to Scenario 1 and are not described in detail here. However, the first optical terminal 330 can only successfully receive the backup downstream data stream. For the specific process, refer to the process of each optical terminal receiving the backup downstream data stream as shown in Example 1 and are not described in detail here.
[0104] It can be understood that in this fault scenario, if an optical terminal receives both the primary downstream data flow carrying the primary port identifier and the backup downstream data flow carrying the backup port identifier in a time-sharing manner, the optical terminal only obtains downstream services from the primary downstream data flow carrying the primary port identifier. If an optical terminal can only receive the backup downstream data flow carrying the backup port identifier, the optical terminal only obtains downstream services from the backup downstream data flow carrying the backup port identifier.
[0105] Scenario 3: In this scenario, the backup link of the optical network is in a faulty state, while the main link is in a normal working state.
[0106] Example 1: The backup link of the optical network has only a fault point 911. The fault point 911 can be at least one of the following:
[0107] The backup port 303 of the optical head end 301 fails, the optical fiber connected between the backup port 303 and the backup optical splitter 351 fails, the backup optical splitter 351 fails, the optical fiber connected between the backup optical splitter 351 and the first terminal side optical splitter 312 fails, the optical fiber connected between the first terminal side optical splitter 312 and the optical port of the first optical terminal 310 fails, or the optical port of the first optical terminal 310 fails. This example uses the failure point 911 as an example of the failure of the optical fiber connected between the backup port 303 and the backup optical splitter 351. It can be understood that if the backup link of the optical network has the failure point 911, the backup downstream data stream sent by the backup port 303 cannot be successfully transmitted to any optical terminal of the optical network.
[0108] Taking the first optical terminal 310 with low reliability as an example, due to the existence of the fault point 911, the first optical terminal 310 cannot receive the backup downstream data flow. Since the main link shown in this example is in a normal working state, the first optical terminal 310 receives the first main downstream data flow via the main link. For an explanation of the process of the first optical terminal 310 receiving the first main downstream data flow, please refer to Example 1, and the details will not be repeated. The first optical terminal 310 shown in this example cannot receive the backup downstream data flow that carries the backup port identifier (see Figure 8 for specific instructions), and can only receive the main downstream data flow that carries the main port identifier (see Figure 7 for specific instructions). Then, the first optical terminal 310 only processes the main downstream data flow to obtain the downlink service sent to the first optical terminal 310 from the main downstream data flow. Taking the second optical terminal 360 with high reliability as an example, due to the existence of the fault point 911, the second optical terminal 360 cannot receive the backup downstream data flow carrying the backup port identifier, and can only receive the main downstream data flow carrying the main port identifier. Then, the second optical terminal 360 only processes the main downstream data flow to obtain the downlink service sent to the second optical terminal 360 from the main downstream data flow.
[0109] Example 2: The backup link of the optical network has only a fault point 912. The fault point 912 can be at least one of the following:
[0110] Backup optical splitter 351 fails, backup optical splitter 352 fails, the optical fiber connected between backup optical splitter 351 and backup optical splitter 352 fails, the optical fiber connected between backup optical splitter 352 and third terminal-side optical splitter 362 fails, the third terminal-side optical splitter 362 fails, the optical fiber connected between third terminal-side optical splitter 362 and the backup optical port of second optical terminal 360 fails, or the backup optical port of second optical terminal 360 fails. This example uses the failure of the optical fiber connected between backup optical splitter 351 and backup optical splitter 352 as an example. It is understood that if a fault point 912 exists in the backup link of the optical network, the backup downstream data stream sent by backup port 303 can only be successfully sent to some optical terminals. If a fault point 912 exists in the optical network, the backup downstream data stream sent by backup port 303 can be successfully sent to the first optical terminal 310, but cannot be successfully sent to the second optical terminal 360 or the first optical terminal 330. If only fault point 912 exists on the backup link of the optical network, the first optical terminal 310 will not be affected from successfully receiving the primary downstream data stream and the backup downstream data stream. For the specific process, refer to Scenario 1 and will not be described in detail here. However, the second optical terminal 360 and the first optical terminal 330 can only successfully receive the primary downstream data stream. For the specific process, refer to the process of each optical terminal receiving the primary downstream data stream as shown in Example 1 and will not be described in detail here.
[0111] Example 3: The backup link of the optical network has only a fault point 913. The fault point 913 can be at least one of the following:
[0112] Backup optical splitter 353 fails, the optical fiber connected between backup optical splitter 352 and backup optical splitter 353 fails, the optical fiber connected between backup optical splitter 353 and first terminal-side optical splitter 331 fails, first terminal-side optical splitter 331 fails, the optical fiber connected between first terminal-side optical splitter 331 and the optical port of first optical terminal 330 fails, or the optical port of first optical terminal 330 fails. This example uses the failure of the optical fiber connected between backup optical splitter 352 and backup optical splitter 353 as an example. It can be understood that if a fault point 913 exists in the backup link of the optical network, the backup downstream data stream emitted by backup port 303 can be successfully sent to some optical terminals. As shown in the example of Figure 9, if a fault point 913 exists in the optical network, the backup downstream data stream emitted by backup port 303 can be successfully sent to first optical terminal 310 and second optical terminal 360, but cannot be successfully sent to first optical terminal 330. If only fault point 913 exists on the backup link of the optical network, the first optical terminal 310 and the second optical terminal 360 will not be affected from successfully receiving the primary downstream data stream and the backup downstream data stream. The specific process is shown in Scenario 1 and will not be described in detail here. However, the first optical terminal 330 can only successfully receive the primary downstream data stream. The specific process is shown in Example 1, where each optical terminal receives the backup downstream data stream. The specific process is not described here.
[0113] It can be understood that in this fault scenario, if an optical terminal receives both the primary downstream data flow carrying the primary port identifier and the backup downstream data flow carrying the backup port identifier in a time-sharing manner, the optical terminal only obtains downstream services from the primary downstream data flow carrying the primary port identifier. If an optical terminal can only receive the backup downstream data flow carrying the backup port identifier, the optical terminal only obtains downstream services from the backup downstream data flow carrying the backup port identifier.
[0114] In the above embodiment, an optical network includes N optical terminals arranged in sequence, where N is any positive integer greater than or equal to 2. Each of the N optical terminals is connected to a primary optical splitter included in the main link, and the time when the N optical terminals receive the main downstream data stream increases in sequence. Moreover, each of the N optical terminals included in the optical network is connected to a backup optical splitter included in the backup link, and the time when the N optical terminals receive the backup downstream data stream decreases in sequence. It can be understood that the lengths of the optical fibers respectively connected between the N optical terminals and the optical head end increase in sequence. The lengths of the optical fibers respectively connected between the N optical terminals and the optical head end increase in sequence. Specifically, the optical network includes three optical terminals arranged in sequence, namely, the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330. Among them, the time when the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330 receive the main downstream data stream increases in sequence. It can be understood that, among the three optical terminals, the first optical terminal 310 receives the primary downstream data stream from the optical headend the earliest, and the first optical terminal 330 receives the primary downstream data stream from the optical headend the latest. That is, the lengths of the optical fibers connected to the first optical terminal 310, the second optical terminal 360, and between the first optical terminal 330 and the optical headend, respectively, increase in sequence. The time at which the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330 receive the backup downstream data stream decreases in sequence. It can be understood that, among the three optical terminals, the first optical terminal 310 receives the backup downstream data stream from the optical headend the earliest, and the first optical terminal 330 receives the primary downstream data stream from the optical headend the latest. That is, the lengths of the optical fibers connected to the first optical terminal 310, the second optical terminal 360, and between the first optical terminal 330 and the optical headend, respectively, decrease in sequence.
[0115] The connection of the optical network shown in this embodiment can be seen in FIG10 , where FIG10 is a structural example diagram of the second embodiment of the optical network provided in this application.
[0116] In this embodiment, the optical network includes N optical terminals arranged in sequence, where N is any positive integer greater than or equal to 2. Each of the N optical terminals is connected to a primary optical splitter included in the primary link, and the times at which the N optical terminals receive the primary downstream data stream increase in sequence. For details, please refer to the above embodiment and will not be repeated here. This embodiment differs from the above embodiment in that each of the N optical terminals is connected to a backup optical splitter included in the backup link, and the times at which the N optical terminals receive the backup downstream data stream decrease in sequence. It is understood that the lengths of the optical fibers connected between the N optical terminals and the optical headend increase in sequence. The lengths of the optical fibers connected between the N optical terminals and the optical headend decrease in sequence. Specifically, the optical network includes three optical terminals arranged in sequence, namely, a first optical terminal 1010, a second optical terminal 1060, and a first optical terminal 1030. The times at which the first optical terminal 1010, the second optical terminal 1060, and the first optical terminal 1030 receive the primary downstream data stream increase in sequence. For details, please refer to the above embodiment and will not be repeated here. The backup link shown in Figure 10 includes three backup optical splitters: backup optical splitter 1003, backup optical splitter 1002, and backup optical splitter 1001. First optical terminal 1030 is connected to backup optical splitter 1001 for connection to the backup link, second optical terminal 1060 is connected to backup optical splitter 1002 for connection to the backup link, and first optical terminal 1010 is connected to backup optical splitter 1003 for connection to the backup link. The lengths of the optical fibers connecting backup optical splitter 1001, backup optical splitter 1002, and backup optical splitter 1003 to the optical headend increase in length. Therefore, the times at which first optical terminal 1010, second optical terminal 1060, and first optical terminal 1030 receive the backup downstream data stream increase in length. It can be understood that, among the three optical terminals, first optical terminal 1010 receives the backup downstream data stream from the optical headend the latest, while first optical terminal 1030 receives the primary downstream data stream from the optical headend the earliest. That is, the lengths of the optical fibers respectively connected between the first optical terminal 1010 , the second optical terminal 1060 , and the first optical terminal 1030 and the optical head end increase in sequence.
[0117] If the optical network shown in this embodiment adopts the structure shown in Figure 10, it can increase the number of protected optical terminals when there is a fault point in the optical network. Specifically, Figure 11 and Figure 12 are shown, wherein Figure 11 is a fault example diagram of the second embodiment of the optical network provided by this application. Figure 12 is a fault example diagram of the third embodiment of the optical network provided by this application. Specifically, for the structure of the optical network shown in Figure 11, please refer to the description corresponding to Figure 3, and for the structure of the optical network shown in Figure 12, please refer to the description of Figure 10, and the details will not be repeated. In Figure 11, if there is a fault point 1101 in the main link of the optical network, the main downstream data stream sent by the optical head end can only be successfully sent to the first optical terminal 310, but cannot be successfully sent to the second optical terminal 360 and the first optical terminal 330. For specific instructions, please refer to the corresponding description of Figure 9, and no further details will be given. The backup link of the optical network shown in Figure 11 has a fault point 1102, resulting in the backup downlink data stream sent by the optical head end being successfully sent only to the first optical terminal 310, but unable to be successfully sent to the second optical terminal 360 and the first optical terminal 330. For details, please refer to the corresponding description of Figure 9 and will not be repeated here. The main link of the optical network shown in this embodiment includes three main optical splitters arranged in sequence (i.e., main optical splitter 1111, main optical splitter 1112, and main optical splitter 1113). The fault point 1101 is an example of a failure of the optical fiber connected between the second main optical splitter (i.e., main optical splitter 1112) and the third main optical splitter (i.e., main optical splitter 1113) of the three main optical splitters. The backup link shown in this embodiment also includes three backup optical splitters arranged in sequence (i.e., backup optical splitter 1121, backup optical splitter 1122, and backup optical splitter 1123). For example, consider a failure at point 1102, which is a fault in the optical fiber between the second backup optical splitter (i.e., backup optical splitter 1122) and the third backup optical splitter (i.e., backup optical splitter 1123) of the three backup optical splitters. Due to the presence of points 1101 and 1102 in the optical network, the second optical terminal 360 and the first optical terminal 330 are unable to receive the primary downstream data stream and the backup downstream data stream, preventing them from communicating properly with the optical headend.
[0118] In Figure 12, if there is a fault point 1201 in the main link of the optical network, the main downstream data flow sent by the optical head end can only be successfully sent to the first optical terminal 1010, but cannot be successfully sent to the second optical terminal 1060 and the first optical terminal 1030. For details, please refer to the corresponding description of Figure 9, which will not be repeated here. There is a fault point 1202 in the backup link of the optical network shown in Figure 11, which causes the backup downstream data flow sent by the optical head end to be successfully sent to the first optical terminal 1030 and the second optical terminal 1060, but cannot be successfully sent to the first optical terminal 1010. For details, please refer to the corresponding description of Figure 10, which will not be repeated here. Among them, the position of the fault point shown in Figure 12 is the same as the position of the fault point shown in Figure 11, that is, the fault point shown in Figure 12 exists between the second main splitter and the third main splitter included in the main link, and exists between the second backup splitter and the third backup splitter included in the backup link. Specifically, the main link of the optical network shown in this embodiment includes three main optical splitters arranged in sequence (i.e., main optical splitter 1211, main optical splitter 1212, and main optical splitter 1213). For example, fault point 1201 is a fault in the optical fiber connected between the second main optical splitter (i.e., main optical splitter 1212) and the third main optical splitter (i.e., main optical splitter 1213) of the three main optical splitters. The backup link shown in this embodiment also includes three backup optical splitters arranged in sequence (i.e., backup optical splitter 1003, backup optical splitter 1001, and backup optical splitter 1001). For example, fault point 1202 is a fault in the optical fiber connected between the second backup optical splitter (i.e., backup optical splitter 1002) and the third backup optical splitter (i.e., backup optical splitter 1003) of the three backup optical splitters. When a fault point 1202 exists in the optical network, the backup downlink data stream sent by the optical head end can be successfully sent to the second optical terminal 1030 and the second optical terminal 1060 , but cannot be successfully sent to the first optical terminal 1010 .
[0119] For a better understanding of the descriptions shown in Figures 11 and 12, please refer to Table 1:
[0120] Table 1
[0121] The failure points shown in Figures 11 and 12 both exist in the optical fiber connected between the second main optical splitter and the third main optical splitter, and in the optical fiber connected between the second backup optical splitter and the third backup optical splitter. It will be understood that the failure points of the primary link and the backup link shown in Table 1 are the same in Figures 11 and 12. The forward connection shown in Table 1 refers to the connection structure of the optical network shown in Figure 11. For a detailed description, please refer to Figure 11 and will not be repeated here. The failed optical terminal shown in Table 1 refers to the inability to receive at least one of the primary downstream data stream and the backup downstream data stream. As shown in Figure 11, in the presence of failure points 1101 and 1102, the second optical terminal 360 and the third optical terminal 330 are both failed optical terminals. The opposite connection shown in Table 1 refers to the connection structure of the optical network shown in Figure 12. For a detailed description, please refer to Figure 12 and will not be repeated here. As shown in Figure 12, in the presence of failure points 1201 and 1202, there are zero failed optical terminals. It can be understood that based on the connection structure of the optical network shown in FIG12 , when there are fault points in the optical network, the number of faulty optical terminals can be effectively reduced.
[0122] As can be seen from the above embodiment, the optical head end can obtain the main RTT of each optical terminal in the main link and the backup RTT of each optical terminal in the backup link. Then, the optical head end can allocate the main uplink time slot according to the main RTT of each optical terminal in the main link. Each optical terminal occupies the main uplink time slot allocated by the optical head end and sends the main uplink data stream to the optical head end. The main uplink data stream is used to carry the main uplink service. Similarly, the optical head end can allocate the backup uplink time slot according to the backup RTT of each optical terminal in the backup link. Each optical terminal occupies the backup uplink time slot allocated by the optical head end and sends the backup uplink data stream to the optical head end. The backup uplink data stream is used to carry the backup uplink service. Among them, the main uplink service is the same as the backup uplink service, and the transmission of the backup uplink service is used to back up the transmission of the main uplink service. Taking the example shown in Figure 10, the optical head end allocates the first main uplink time slot according to the main RTT of the first optical terminal 1010. The optical head end allocates the second main uplink time slot according to the main RTT of the second optical terminal 1060. The optical head end allocates the third main uplink time slot according to the main RTT of the third optical terminal 1030. Among them, the first main uplink time slot, the second main uplink time slot and the third main uplink time slot are separated from each other on the time axis. It can be understood that there is no overlapping time period on the time axis for the first main uplink time slot, the second main uplink time slot and the third main uplink time slot. Taking the first optical terminal 1010 as an example, the first optical terminal occupies the first main uplink time slot and sends the first uplink data stream to the optical head end through the main link. The first uplink data stream carries the identification of the first optical terminal. For the description of the first optical terminal 1010, the second optical terminal 1060 and the third optical terminal 1030 occupying the backup uplink time slot and sending the backup uplink data stream to the optical head end, please refer to the description of each optical head end occupying the main uplink time slot and sending the main uplink data stream to the optical head end, and the details will not be repeated. It can be understood that the first optical terminal 1010 can occupy the first backup uplink time slot and send the first backup uplink data stream to the optical head end. The first optical terminal 1010 occupies the first main uplink time slot, and the first main uplink data stream sent to the optical head end carries the identification of the first optical terminal 1010. Similarly, the first optical terminal 1010 occupies the first backup main uplink time slot, and the first backup uplink data stream sent to the optical head end carries the identification of the first optical terminal 1010.
[0123] If there is no fault point in the optical network, then the main port of the optical head end occupies the first uplink time slot to receive the identifier of the first optical terminal 1010, and occupies the first backup uplink time slot to receive the identifier of the first optical terminal 1010. The optical head end processes the first main uplink data stream that carries the identifier of the first optical terminal 1010 to obtain the uplink service from the first optical terminal 1010, and discards the first backup uplink data stream that carries the identifier of the first optical terminal 1010. If there is a fault point in the optical network, resulting in the optical head end being able to only occupy the first uplink time slot to receive the first uplink data stream, but unable to receive the first backup uplink data stream, then the optical head end processes the first uplink data stream to obtain the uplink service from the first optical terminal 1010. For an explanation of the optical network fault point, please refer to the corresponding explanation in Figure 9, and the details will not be repeated here. Similarly, if there is a fault point in the optical network, resulting in the optical head end being able to occupy only the first backup uplink time slot to receive the first backup uplink data stream, but unable to receive the first main uplink data stream, the optical head end only processes the first backup uplink data stream to obtain the uplink service from the first optical terminal 1010. If there is a fault point in the optical network, resulting in the optical head end being able to occupy only the first main uplink time slot to receive the first main uplink data stream, but unable to receive the first backup uplink data stream, the optical head end only processes the first main uplink data stream to obtain the uplink service from the first optical terminal 1010. For instructions on the optical head end receiving uplink services from any optical terminal in the optical network, please refer to the instructions on the optical head end receiving uplink services from the first optical terminal 1010, and the details are not repeated here.
[0124] The example of the optical head end allocating an uplink time slot to each optical terminal shown in this embodiment can be combined with Figures 10 and 13, wherein Figure 13 is an example diagram of the allocation of uplink time slots provided in this application. The optical head end allocates a first main uplink time slot to the first optical terminal 1010 based on the main RTT of the first optical terminal 1010, and the starting time of the first main uplink time slot is time t1, and the ending time is time t2. The optical head end allocates a second main uplink time slot to the second optical terminal 1060 based on the main RTT of the second optical terminal 1060, and the starting time of the second main uplink time slot is time t3, and the ending time is time t4. Among them, the time period between time t2 and time t3 is the time interval between the first main uplink time slot and the second main uplink time slot. Similarly, the optical head end allocates a first backup uplink time slot to the first optical terminal 1010 based on the backup RTT of the first optical terminal 1010, and the starting time of the first backup uplink time slot is time t1, and the ending time is time t2. It can be understood that this embodiment shows an example in which the start and end times of the first main uplink time slot and the first backup time slot are the same. This embodiment takes the example in which the duration of the first main uplink time slot and the duration of the first backup uplink time slot overlap with each other. In other examples, the duration of the first main uplink time slot and the duration of the first backup uplink time slot may partially overlap, which is not specifically limited in this embodiment. For the description of the main uplink time slot and the backup uplink time slot allocated to any optical terminal by the optical head end, please refer to the description of the first main uplink time slot and the first backup uplink time slot, and the details will not be repeated.
[0125] Figure 14 is a flowchart of the steps of the first embodiment of the data transmission method provided by this application. The method shown in this embodiment can achieve the purpose of the optical head end sending downlink services to the first optical terminal with low reliability.
[0126] Step 1401: The optical head end occupies the primary downlink time slot and sends the primary downlink data stream to the first optical terminal through the primary link.
[0127] Specifically, the optical head end occupies the main downlink time slot and sends the main downlink data flow to the first terminal side optical splitter through the main link, and the first terminal side optical splitter is used to connect the main link and the first optical terminal. The first terminal side optical splitter sends the main downlink data flow to the first optical terminal.
[0128] Step 1402: The first optical terminal occupies the main time period and receives the main downlink data flow from the optical head end through the main link.
[0129] Step 1403: The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the first optical terminal through the backup link.
[0130] Specifically, the optical headend occupies the backup downlink timeslot and sends the backup downlink data stream to the first terminal-side optical splitter via the backup link. The first terminal-side optical splitter is used to connect the backup link and the first optical terminal. The first terminal-side optical splitter sends the backup downlink data stream to the first optical terminal. On the time axis, the intersection of the primary downlink timeslot and the backup downlink timeslot is an empty set.
[0131] Step 1404: The first optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link.
[0132] To ensure that the first optical terminal receives the main downstream data flow and the backup downstream data flow in time division, on the time axis, the intersection between the main time period and the backup time period is an empty set.
[0133] Step 1405: The first optical terminal obtains the primary port identifier carried by the primary downstream data flow.
[0134] The primary port identifier is used to identify the primary port of the optical head end, and the primary port is used to send the primary downlink data flow to the primary link.
[0135] Step 1406: The first optical terminal obtains the backup port identifier carried by the backup downstream data flow.
[0136] The backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downlink data flow to the backup link.
[0137] Step 1407: The first optical terminal selects one channel from the main downstream data flow and the backup downstream data flow to extract the downstream service.
[0138] For example, if the first optical terminal obtains only the primary port identifier, the first optical terminal extracts the downstream service from the primary downstream data flow. For another example, if the first optical terminal obtains only the backup port identifier, the first optical terminal extracts the downstream service from the backup downstream data flow. For another example, if the first optical terminal obtains both the primary port identifier and the backup port identifier, the first optical terminal extracts the downstream service from the primary downstream data flow.
[0139] For the description of the optical network structure used by the method shown in this embodiment, as well as the specific process of executing the data transmission method, please refer to the description of the above embodiment, and the details will not be repeated here.
[0140] Figure 15 is a flowchart of the steps of the second embodiment of the data transmission method provided by this application. The method shown in this embodiment can achieve the purpose of the optical head end sending downlink services to the second optical terminal with high reliability.
[0141] Step 1501: The optical head end occupies the primary downlink time slot and sends the primary downlink data stream to the second optical terminal through the primary link.
[0142] Specifically, the optical head end occupies the main downlink time slot and sends the main downlink data stream to the second terminal side optical splitter through the main link, and the second terminal side optical splitter is used to connect the main link and the second optical terminal. The second terminal side optical splitter sends the main downlink data stream to the second optical terminal.
[0143] Step 1502: The second optical terminal occupies the main time period and receives the main downlink data flow from the optical head end through the main link.
[0144] Step 1503: The optical head end occupies the backup downlink time slot and sends the backup downlink data stream to the second optical terminal through the backup link.
[0145] Specifically, the optical headend occupies the backup downlink timeslot and transmits the backup downlink data stream to a third terminal-side optical splitter via the backup link. The third terminal-side optical splitter is configured to connect the backup link to the second optical terminal. The third terminal-side optical splitter transmits the backup downlink data stream to the second optical terminal. On the time axis, the intersection of the primary downlink timeslot and the backup downlink timeslot is an empty set.
[0146] Step 1504: The second optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link.
[0147] Step 1505: The second optical terminal obtains the primary port identifier carried by the primary downstream data flow.
[0148] Step 1506: The second optical terminal obtains the backup port identifier carried by the backup downstream data flow.
[0149] Step 1507: The second optical terminal selects one path from the main downstream data flow and the backup downstream data flow to extract the downstream service.
[0150] For the description of the execution process of steps 1504 to 1507 shown in this embodiment, please refer to the description of steps 1401 to 1407 corresponding to Figure 14, and the details are not repeated here.
[0151] For the description of the optical network structure used by the method shown in this embodiment, as well as the specific process of executing the data transmission method, please refer to the description of the above embodiment, and the details will not be repeated here.
[0152] Figure 16 is a flowchart of the third embodiment of the data transmission method provided by this application. The method shown in this embodiment enables the optical head end to measure the RTT of each optical terminal to obtain the primary downlink time slot and the backup downlink time slot.
[0153] Step 1601: The optical head end occupies the primary ranging time slot and sends a primary ranging message to the optical terminal through the primary link.
[0154] The optical terminal shown in this embodiment may be a first optical terminal with low reliability, or a second optical terminal with high reliability.
[0155] Step 1602: The optical head end occupies the backup ranging time slot and sends a backup ranging message to the optical terminal through the backup link.
[0156] Wherein, on the time axis, the intersection between the primary ranging time slot and the backup ranging time slot is an empty set.
[0157] Step 1603: The optical terminal sends a main ranging response message to the optical head end through the main link according to the main ranging message.
[0158] Step 1604: The optical terminal sends a backup ranging response message to the optical head end through the backup link according to the backup ranging message.
[0159] Step 1605: The optical head end measures the primary RTT between the optical head end and the optical terminal according to the primary ranging message and the primary ranging response message.
[0160] Step 1606: The optical head end measures the backup RTT between the optical head end and the optical terminal according to the backup ranging message and the backup ranging response message.
[0161] For a detailed description of the ranging process shown in this embodiment, please refer to the corresponding description of FIG8 , and detailed description is omitted here.
[0162] The embodiment of the present application provides an optical communication device. The structure of the optical communication device can be seen in FIG17 , which is a diagram illustrating the structure of the first embodiment of the optical communication device provided by the present application.
[0163] The optical communication device 1700 shown in this embodiment includes a processor 1701, a memory 1702 and a transceiver 1703. The processor 1701 is connected to the memory 1702 and the transceiver 1703 respectively. The memory 1702 shown in this embodiment is an optional structure, that is, the optical communication device 1700 may not include the memory 1702. The optical communication device 1700 is externally connected to the memory 1702. The transceiver 1703 can simultaneously implement the functions of data reception and transmission, or only implement the data transmission function, or only implement the data reception function. The processor 1701 may include at least one of an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor or a neural-network processing unit (NPU). The transceiver 1703 receives electromagnetic waves, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1701. The transceiver 1703 can also receive a signal to be transmitted from the processor 1701, frequency modulate the signal, amplify the signal, and convert the signal into an electromagnetic wave for radiation. The memory 1702 stores program instructions.
[0164] The optical communication device 1700 shown in this embodiment is an optical headend. In the embodiments shown in Figures 14 and 15 , the processor 1701 accesses the computer-readable storage medium in the memory 1702 to obtain the primary downlink data stream and the start and end times of the primary downlink timeslot. The processor 1701 sends the primary downlink data stream and the start and end times of the primary downlink timeslot to the transceiver 1703. The transceiver 1703 is configured to execute steps 1401 and 1501. The processor 1701 obtains the backup downlink data stream and the start and end times of the backup downlink timeslot. The processor 1701 sends the backup downlink data stream and the start and end times of the backup downlink timeslot to the transceiver 1703. The transceiver 1703 is configured to execute steps 1403 and 1503. In the embodiment shown in Figure 16 , the processor 1701 accesses the computer-readable storage medium in the memory 1702 to obtain the primary ranging message and the start and end times of the primary ranging timeslot. Processor 1701 sends a primary ranging message and indicates the start and end times of the primary ranging timeslot to transceiver 1703. Transceiver 1703 is configured to execute step 1601. Processor 1701 obtains a backup ranging message and also obtains the start and end times of the backup ranging timeslot. Processor 1701 sends a backup ranging message and indicates the start and end times of the backup ranging timeslot to transceiver 1703. Transceiver 1703 is configured to execute step 1602. Processor 1701 is further configured to execute steps 1605 and 1606.
[0165] The optical communication device 1700 shown in this embodiment is a first optical terminal. In the embodiment shown in FIG14 , the transceiver 1703 is configured to execute steps 1402 and 1404. The processor 1701 is configured to execute steps 1405 to 1407. In the embodiment shown in FIG16 , the transceiver 1703 is configured to execute steps 1603 to 1604. The optical communication device 1700 shown in this embodiment is a second optical terminal. In the embodiment shown in FIG15 , the transceiver 1703 is configured to execute steps 1502 and 1504. The processor 1701 is configured to execute steps 1505 to 1507. In the embodiment shown in FIG16 , the transceiver 1703 is configured to execute steps 1603 to 1604.
[0166] This embodiment also provides an optical communication device as shown in Figure 18, which illustrates the structure of the optical communication device from the perspective of functional modules. Figure 18 is a structural example diagram of the second embodiment of the optical communication device provided by this application. The optical communication device 1800 shown in this embodiment includes a transceiver module 1801 and a processing module 1802 connected to the transceiver module 1801. The optical communication device 1800 shown in this embodiment is an optical head end, and the transceiver module 1801 is used to execute the steps related to transceiver in any embodiment of Figures 14, 15 and 16. The processing module 1802 is used to execute the steps related to processing in any embodiment of Figures 14, 15 and 16. The optical communication device 1800 shown in this embodiment is a first optical terminal with low reliability, and the transceiver module 1801 is used to execute the steps related to transceiver in any embodiment of Figures 14 and 16. The processing module 1802 is used to execute the steps related to processing in any embodiment of Figures 14 and 16. The optical communication device 1800 shown in this embodiment is a second optical terminal with high reliability, and the transceiver module 1801 is used to perform the steps related to transceiver in any of the embodiments shown in Figures 15 and 16. The processing module 1802 is used to perform the steps related to processing in any of the embodiments shown in Figures 15 and 16.
[0167] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method shown in any one of the method embodiments in Figures 14, 15 and 16.
[0168] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method, It is characterized in that The method comprises: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the optical terminal through the main link, and the main link is used to connect the optical terminal and the optical head end; The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the optical terminal through a backup link. The backup link is used to connect the optical terminal and the optical head end. The main link is different from the backup link. On the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set.
2. The method according to claim 1, It is characterized in that The optical terminal includes a first optical terminal, the optical head end occupies a main downlink time slot, and sends a main downlink data stream to the optical terminal through a main link, including: The optical headend occupies the main downlink time slot and sends the main downlink data stream to the first terminal side optical splitter through the main link, and the first terminal side optical splitter is used to connect the main link and the first optical terminal; The optical head end occupies the backup downlink time slot and sends the backup downlink data flow to the optical terminal through the backup link, comprising: The optical head end occupies the backup downlink time slot and sends the backup downlink data stream to the first terminal side optical splitter through the backup link. The first terminal side optical splitter is used to connect the backup link and the first optical terminal.
3. The method according to claim 1 or 2, It is characterized in that The optical terminal includes a second optical terminal, the optical head end occupies the main downlink time slot, and sends the main downlink data flow to the optical terminal through the main link, including: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the second terminal side optical splitter through the main link, and the second terminal side optical splitter is used to connect the main link and the second optical terminal; The optical head end occupies the backup downlink time slot and sends the backup downlink data flow to the optical terminal through the backup link, comprising: The optical head end occupies the backup downlink time slot and sends the backup downlink data stream to the third terminal side splitter through the backup link. The third terminal side splitter is used to connect the backup link and the second optical terminal. The second terminal side splitter is different from the third terminal side splitter.
4. The method according to any one of claims 1 to 3, It is characterized in that The main downstream data flow is used to carry the main port identifier, and the backup downstream data flow is used to carry the backup port identifier. The main port identifier is used to identify the main port of the optical head end, and the main port is used to send the main downstream data flow to the main link. The backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downstream data flow to the backup link; The primary port identifier and the backup port identifier are used to indicate that the optical terminal extracts a downlink service from the primary downlink data flow or the backup downlink data flow.
5. The method according to any one of claims 1 to 4, It is characterized in that Before the optical head end occupies the main downlink time slot and sends the main downlink data stream to the optical terminal through the main link, the method also includes: The optical headend occupies the main ranging time slot and sends a main ranging message to the optical terminal through the main link, wherein the main ranging message is used to measure the main round-trip communication delay RTT between the optical headend and the optical terminal; Before the optical head end occupies the backup downlink time slot and sends the backup downlink data flow to the optical terminal through the backup link, the method further includes: The optical head end occupies the backup ranging time slot and sends a backup ranging message to the optical terminal through the backup link. The backup ranging message is used to measure the backup RTT between the optical head end and the optical terminal. On the time axis, the intersection between the main ranging time slot and the backup ranging time slot is an empty set.
6. The method according to any one of claims 1 to 5, It is characterized in that The main downlink time slot includes a first main downlink time slot and a second main downlink time slot, the backup downlink time slot includes a first backup downlink time slot and a second backup downlink time slot, the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the optical terminal through the main link, including: The optical head end occupies the first main downlink time slot and the second main downlink time slot respectively, and sends the first main downlink time slot to the optical terminal. data stream and a second main downlink data stream; The optical head end occupies the backup downlink time slot and sends the backup downlink data flow to the optical terminal through the backup link, comprising: The optical head end occupies the first backup downlink time slot and the second backup downlink time slot respectively, and sends the first backup downlink data flow and the second backup downlink data flow to the optical terminal; Among them, on the time axis, the first main downlink time slot, the first backup downlink time slot, the second main downlink time slot and the second backup downlink time slot are arranged in sequence, and there is a time interval between any two adjacent downlink time slots among the first main downlink time slot, the first backup downlink time slot, the second main downlink time slot and the second backup downlink time slot.
7. A method for transmitting data, It is characterized in that The method comprises: The optical terminal occupies the main time period and receives the main downlink data stream from the optical head end through the main link, and the main link is used to connect the optical terminal and the optical head end; And / or, the optical terminal occupies a backup time period and receives a backup downlink data stream from the optical head end through a backup link. The backup link is used to connect the optical terminal and the optical head end, and the optical terminal is respectively connected to the main link and the backup link through the same terminal-side splitter. On the time axis, the intersection between the main time period and the backup time period is an empty set.
8. The method according to claim 7, It is characterized in that After the optical terminal occupies the main time period and receives the main downlink data stream from the optical head end through the main link, the method further includes: The optical terminal obtains a primary port identifier carried by the primary downlink data flow, where the primary port identifier is used to identify a primary port of the optical head end, and the primary port is used to send the primary downlink data flow to the primary link; After the optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link, the method further includes: The optical terminal obtains the backup port identifier carried by the backup downstream data flow, where the backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downstream data flow to the backup link; The optical terminal extracts the downlink service from the main downlink data flow that carries the main port identifier.
9. The method according to claim 7, It is characterized in that After the optical terminal occupies the main time period and receives the main downlink data stream from the optical head end through the main link, the method further includes: If the optical terminal only obtains the primary port identifier, the optical terminal extracts the downlink service from the main downlink data flow, wherein the primary port identifier is used to identify the primary port of the optical head end, and the primary port is used to send the main downlink data flow to the main link.
10. The method according to claim 7, It is characterized in that After the optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link, the method further includes: If the optical terminal only obtains the backup port identifier, the optical terminal extracts the downlink service from the backup downlink data flow, the backup port identifier is used to identify the backup port of the optical head end, and the backup port is used to send the backup downlink data flow to the backup link.
11. The method according to any one of claims 7 to 10, It is characterized in that Before the optical terminal occupies the main time period and receives the main downlink data stream from the optical head end through the main link, the method further includes: The optical terminal occupies the main ranging time period and receives a main ranging message from the optical head end through the main link, wherein the main ranging message is used to measure the main round-trip communication delay RTT between the optical head end and the optical terminal; Before the optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link, the method further includes: The optical terminal occupies a backup ranging time period and receives a backup ranging message from the optical head end through the backup link, wherein the backup ranging message is used to measure a backup RTT between the optical head end and the optical terminal. On the time axis, the intersection between the main ranging time period and the backup ranging time period is an empty set.
12. The method according to any one of claims 7 to 11, It is characterized in that The main time period includes a first main time period and a second main time period, the backup time period includes a first backup time period and a second backup time period, the optical terminal occupies the main time period, and receives the main downlink data flow from the optical head end through the main link, including: The optical terminal occupies the first main time period and the second main time period respectively, and receives the first main downlink data flow and the second main downlink data flow from the optical head end through the main link; The optical terminal occupies the backup time period and receives the backup downlink data flow from the optical head end through the backup link, including: The optical terminal occupies the first backup time period and the second backup time period respectively, and receives the first backup downstream data flow and the second backup downstream data flow from the optical head end through the backup link; Among them, on the time axis, the first main time period, the first backup time period, the second main time period and the second backup time period are arranged in sequence, and there is a time interval between any two adjacent time periods among the first main time period, the first backup time period, the second main time period and the second backup time period.
13. A method for transmitting data, It is characterized in that The method is applied to an optical network, the optical network comprising an optical head end, a main link, a backup link, a terminal side optical splitter and an optical terminal, and the method comprises: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the terminal side optical splitter through the main link, and the main link is used to connect the terminal side optical splitter and the optical head end; The terminal-side optical splitter sends the main downlink data stream to the optical terminal; The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the terminal side optical splitter through the backup link, the backup link is used to connect the terminal side optical splitter and the optical head end, the main link is different from the backup link, and on the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set; The terminal-side optical splitter sends the backup downlink data stream to the optical terminal.
14. The method according to claim 13, It is characterized in that The optical terminal includes a first optical terminal, the terminal side optical splitter includes a first terminal side optical splitter, the optical head end occupies a main downlink time slot, and sends a main downlink data stream to the terminal side optical splitter through the main link, including: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the first terminal side optical splitter through the main link, and the first terminal side optical splitter is used to connect the main link and the first optical terminal; The terminal-side optical splitter sending the main downlink data stream to the optical terminal includes: The first terminal-side optical splitter sends the main downlink data stream to the first optical terminal; The optical head end occupies the backup downlink time slot, and sends the backup downlink data flow to the terminal side optical splitter through the backup link, including: The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the first terminal side optical splitter through the backup link, and the first terminal side optical splitter is used to connect the backup link and the first optical terminal; The terminal-side optical splitter sending the backup downlink data flow to the optical terminal includes: The first terminal-side optical splitter sends the backup downlink data stream to the first optical terminal.
15. The method according to claim 13 or 14, It is characterized in that The optical terminal includes a second optical terminal, the terminal side optical splitter includes a second terminal side optical splitter and a third terminal side optical splitter, the optical head end occupies the main downlink time slot, and sends the main downlink data stream to the terminal side optical splitter through the main link, including: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the second terminal side optical splitter through the main link, and the second terminal side optical splitter is used to connect the main link and the second optical terminal; The terminal-side optical splitter sending the main downlink data stream to the optical terminal includes: The second terminal side optical splitter sends the main downlink data stream to the second optical terminal; The optical head end occupies the backup downlink time slot, and sends the backup downlink data flow to the terminal side optical splitter through the backup link, including: The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the third terminal side optical splitter through the backup link, and the third terminal side optical splitter is used to connect the backup link and the second optical terminal; The terminal-side optical splitter sending the backup downlink data flow to the optical terminal includes: The third terminal-side optical splitter sends the backup downlink data flow to the second optical terminal.
16. An optical network, It is characterized in that The optical network includes an optical head end, a main link, a backup link, a terminal side optical splitter and an optical terminal, wherein the optical head end is connected to the main link and the backup link respectively, and the terminal side optical splitter is connected to the main link, the backup link and the optical terminal respectively; The optical head end is used to occupy the main downlink time slot and send the main downlink data flow to the terminal side optical splitter through the main link; The terminal-side optical splitter is used to send the main downlink data stream to the optical terminal; The optical head end is used to occupy the backup downlink time slot and send the backup downlink data flow to the terminal side optical splitter through the backup link. On the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set; The terminal-side optical splitter is used to send the backup downlink data flow to the optical terminal.
17. The optical network according to claim 16, It is characterized in that The optical terminal includes a first optical terminal, the terminal-side optical splitter includes a first terminal-side optical splitter, and the first optical terminal is connected to the main link and the backup link respectively through the first terminal-side optical splitter.
18. An optical network according to claim 16 or 17, It is characterized in that The optical terminal includes a second optical terminal, the terminal side splitter includes a second terminal side splitter and a third terminal side splitter, the second optical terminal is connected to the main link through the second terminal side splitter, and the second optical terminal is connected to the backup link through the third terminal side splitter.
19. An optical network according to any one of claims 16 to 18, It is characterized in that The main link includes at least one main optical splitter, the backup link includes at least one backup optical splitter, the terminal side optical splitter is connected to one main optical splitter of the at least one main optical splitter, and the terminal side optical splitter is connected to one backup optical splitter of the at least one backup optical splitter.
20. An optical network according to any one of claims 16 to 18, It is characterized in that The optical network comprises N optical terminals arranged in sequence, where N is any integer not less than 2; The times when the N optical terminals receive the main downstream data stream increase in sequence, and the times when the N optical terminals receive the backup downstream data stream decrease in sequence.
21. A bald end, It is characterized in that It comprises a transmitter and a processor, wherein the transmitter is connected to the processor; The processor is used to send a primary downlink data stream to the transmitter and to indicate a primary downlink time slot; The transmitter is used to occupy the main downlink time slot and send the main downlink data stream to the optical terminal through a main link, and the main link is used to connect the optical terminal and the optical head end; The processor is used to send a backup downlink data stream to the transmitter and to indicate a backup downlink time slot; The transmitter is used to occupy the backup downlink time slot and send the backup downlink data stream to the optical terminal through the backup link. The backup link is used to connect the optical terminal and the optical head end. The main link is different from the backup link. On the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set.
22. An optical terminal, It is characterized in that It includes a receiver and a processor, wherein the receiver is connected to the processor; The receiver is used to occupy the main time period and receive the main downlink data stream from the optical head end through the main link, and the main link is used to connect the optical terminal and the optical head end; The processor is used to process the main downlink data stream from the receiver; And / or, the receiver is used to occupy a backup time period and receive a backup downlink data stream from the optical head end through a backup link, the backup link is used to connect the optical terminal and the optical head end, and the optical terminal is connected to the main link and the backup link respectively through the same terminal-side optical splitter, and on the time axis, the intersection between the main time period and the backup time period is an empty set; The processor is configured to process the backup downlink data flow from the receiver.
23. A computer-readable storage medium, It is characterized in that The computer storage medium stores a computer program, which includes program instructions, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Data transmission method, optical network, related equipment and storage medium
CN119011061A
Passive optical network protection switching method, device and system
CN106301536A
Method and system for implementing TYPE C optical link protection system in passive optical network
CN106921430A
Clock synchronization method, optical head end and optical terminal
CN115225187A
Equipment control system, method and device based on optical communication
CN115225987A
Cited By
Data transmission method, cluster system, and electronic device
WO2026200845A1
