Data transmission method, optical network, related equipment and storage medium
By allocating different and non-intersection time slots on the time axis in the optical network, the conflict problem of low-reliability optical terminals when receiving master data and backing up data under Type C protection mode is solved, and the successful backup of data is achieved.
Patent Information
- Application Number
- CN202310572195.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2024-11-22
AI Technical Summary
Low-reliability optical terminals have conflicts when receiving master data and backup data under Type C protection mode, and cannot successfully process master data and backup data.
By occupying different and non-intersection time slots on the time axis, the optical head end sends the main downlink data stream and the backup downlink data stream respectively to ensure that the intersection between the main downlink time slot and the backup downlink time slot is an empty set, thereby avoiding conflicts.
It effectively avoids conflicts between the optical terminal receiving the main downlink data stream and the backup downlink data stream, ensuring successful backup of the backup data stream.
Smart Images

Figure CN119011061A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] The gigabit passive optical network (GPON) standard defines Type C protection. Type C protection can ensure the successful transmission of data between the optical head end and the optical terminal. For a description of Type C protection, see Figure 1 As shown. Among them, Figure 1 The structure example diagram of the existing Type C protection. The optical network includes an optical head end 100, a first optical splitter 110, a second optical splitter 111 and an optical terminal 120. The optical head end 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). The optical port 101 is connected to the optical port 121 through the first optical splitter 110, and the optical port 102 is connected to the optical port 122 through the optical splitter 111. In order to ensure the successful transmission of data between the optical head end 100 and the optical terminal 120, in the 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.
[0003] The optical terminal 120 is an optical terminal with high reliability. To reduce the complexity and cost of the optical network connection, the optical network also includes an optical terminal 130 with low reliability. The optical terminal 130 includes only one optical port 131. If the optical terminal 130 with low reliability adopts Type C protection, the optical port 131 is connected to the optical splitter 110 and the optical splitter 111 respectively.
[0004] However, the optical port 131 will simultaneously receive the primary data from the optical splitter 110 and the backup data from the optical splitter 111. Then, the primary data and the backup data received by the port 131 will conflict, resulting in the optical port 131 being unable to successfully process the primary data and the backup data. It can be seen that for low-reliability optical terminals, it is impossible to implement backup data to primary data based on Type C protection. Summary of the invention
[0005] 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 flow and the backup downstream data flow received by the optical terminal, and effectively ensure that the backup downstream data flow successfully backs up the main downstream data flow.
[0006] The first aspect of the embodiment of the present application provides a data transmission method, the method comprising: 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 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 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, and on the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set. In order to effectively ensure that on the time axis, the intersection between the main downlink time slot and the backup downlink time slot 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.
[0007] As shown in the present invention, 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.
[0008] 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 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 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 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 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.
[0009] 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. Because 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.
[0010] 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.
[0011] By adopting this implementation, the second optical terminal with high reliability is connected to the main link through the main optical port and to the backup link through the backup optical port. Then, even if the main port cannot successfully receive the main downstream data flow from the main link, the backup optical port can successfully receive the backup downstream data flow due to the separation of the main optical port and the backup optical port, ensuring that the backup downstream data flow successfully backs up the main downstream data flow.
[0012] 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, and 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.
[0013] With this implementation, since the main downstream data flow carries the main port identifier and the backup downstream data flow carries the backup port identifier, the optical terminal can distinguish the main downstream data flow from the backup downstream data flow based on the main port identifier and the backup port identifier. Based on the main port identifier and the backup port identifier, the optical terminal can select one main downstream data flow from the main downstream data flow and the backup downstream data flow to extract the downlink service.
[0014] 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.
[0015] With this implementation, the optical head end sends the main ranging message and the backup ranging message to the optical terminal in time-sharing through the main ranging time slot and the backup ranging time slot whose intersection is an empty set on the time axis. The optical head end measures the main RTT and the backup RTT of each optical head end. The optical head end can obtain the main downlink time slot based on the main RTT, and obtain the backup downlink time slot based on the backup RTT, which effectively ensures that the focal length between the main downlink time slot and the backup downlink time slot is an empty set on the time axis, effectively avoiding conflicts between the main downlink data stream and the backup downlink data stream received by the optical terminal.
[0016] Based on the first aspect, in an optional implementation, 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.
[0017] As shown in the present invention, 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.
[0018] A second aspect of an embodiment of the present application provides a data transmission method, the method comprising: an optical terminal occupies a main time period, and receives a main downstream data stream from an optical head end through a main link, the main link being 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, the backup link being 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.
[0019] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0020] 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, and 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, and 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 downstream service from the main downstream data flow that carries the main port identifier.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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;
[0025] 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.
[0026] 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, and 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.
[0027] For the description of the beneficial effects of this application, please refer to the first aspect and the details will not be repeated here.
[0028] 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 downstream time slot, and sends the main downstream data stream to the terminal-side optical splitter through the main link, including: the optical head end occupies the main downstream time slot, and sends the main downstream 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 downstream 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.
[0029] Based on the third 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 optical head end occupies the main downstream time slot, and sends the main downstream data stream to the terminal-side splitter 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, the second terminal-side splitter is used to connect the main link and the second optical terminal; the terminal-side splitter sends the main downstream 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.
[0030] 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 a main downstream time slot, and send a main downstream data stream to the terminal-side splitter through the main link; the terminal-side splitter is used to send the main downstream data stream to the optical terminal; the optical head end is used to occupy a backup downstream time slot, and send a backup downstream data stream to the terminal-side splitter through 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 splitter is used to send the backup downstream data stream to the optical terminal.
[0031] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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 time when the N optical terminals receive the main downstream data stream increases successively, and the time when the N optical terminals receive the backup downstream data stream decreases successively.
[0036] The fifth aspect of the present application provides an optical network, the optical network comprising an optical head end, a main link, a backup link, a terminal side optical splitter, a first optical terminal and a part of a second optical terminal. For the description of the structure and beneficial effects of this aspect, please refer to the fourth aspect, and the specific details will not be repeated.
[0037] In a sixth aspect of the present application, there is provided 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.
[0038] For the description of the beneficial effects of this aspect, please refer to the first aspect and the details will not be repeated here.
[0039] 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 via 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 via 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.
[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 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 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; the processor is used to process the backup downstream data stream from the receiver.
[0042] For the description of the beneficial effects of this aspect, please refer to the second aspect and the details will not be repeated here.
[0043] In the ninth aspect of the present application, there is provided 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 respectively connected to the main link and the backup link through the same terminal-side optical splitter 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.
[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 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
[0046] Figure 1 This is an example diagram of the existing Type C protection structure;
[0047] Figure 2 This is an example diagram of an in-vehicle network;
[0048] Figure 3 This is a diagram showing an example structure of the first embodiment of the optical network provided in this application;
[0049] Figure 4 An example diagram of the time slot for sending a downlink data stream by the optical head end provided in this application;
[0050] Figure 5 An example diagram of a time slot for an optical head-end to send a downstream data stream and an optical terminal to receive a downstream data stream provided by the present application;
[0051] Figure 6 An example time slot diagram of an embodiment of ranging of each optical terminal in an optical network by an optical head end provided in the present application;
[0052] Figure 7 An example diagram of a frame structure of an embodiment of a main downlink data stream provided by the present application;
[0053] Figure 8 An example diagram of a frame structure of an embodiment of a backup downlink data flow provided by the present application;
[0054] Fig. 9 This is a diagram showing a fault example of the first embodiment of the optical network provided in this application;
[0055] Fig.10 A diagram showing a second example structure of an optical network provided in this application;
[0056] Fig.11 This is a fault example diagram of the second embodiment of the optical network provided by the present application;
[0057] Fig.12 This is a fault example diagram of the third embodiment of the optical network provided by the present application;
[0058] Fig.13 An example diagram of the allocation of uplink time slots provided for this application;
[0059] Fig.14 A flowchart of the first embodiment of the data transmission method provided by the present application;
[0060] Fig.15 A flow chart of the steps of a second embodiment of the data transmission method provided by the present application;
[0061] Fig.16 A flowchart of the third embodiment of the data transmission method provided by the present application;
[0062] Fig.17 This is a diagram showing an example structure of a first embodiment of an optical communication device provided in the present application;
[0063] Fig.18 This is a diagram showing an example structure of a second embodiment of the optical communication device provided in this application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0065] The present application provides an optical network, which can be applied to an in-vehicle network. Figure 2 This is an example diagram of an in-vehicle network. The in-vehicle network includes an optical head end 201, which has a main port 202 and a backup port 203. The main port 202 is connected to the main link 204, and the backup port 203 is connected to the 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 (OT), and the functional domain also includes one or more communication devices connected to each OT. For example, the body domain 211 includes OT221 and a body power domain communication device that communicates with OT221 within the functional domain. The body domain 211 is used to control various control devices of the vehicle system, and the body power domain communication device can be brake lights, position lights, door locks, windows, etc. The power domain 212 includes OT222 and a power domain communication device that communicates with OT222 within the functional domain. The power domain 212 is related to vehicle driving, and the power domain communication equipment can be used to operate the transmission system, driving system, steering system and braking system, etc. The infotainment domain 213 includes OT223 and the infotainment domain communication equipment that communicates with the OT223 in the functional domain. The infotainment domain communication equipment is used to realize the functions of vehicle intelligent driving, vehicle-mounted interconnection and infotainment. The infotainment domain communication equipment can be the vehicle's instrument, streaming media rearview mirror, communication equipment for running the central control system, communication equipment for running the vehicle-mounted entertainment system, and communication equipment for running the head-up display system. The auxiliary driving domain 214 includes OT224 and the auxiliary driving domain communication equipment that communicates with the OT224 in the functional domain. The auxiliary driving domain communication equipment is used to enable the vehicle to have the capabilities of multi-sensor fusion, positioning, path planning and decision-making control. The auxiliary driving domain communication equipment can be equipment such as cameras, millimeter wave radars and lidars. This example does not limit the functional domains divided by the vehicle network and the specific communication equipment included in each functional domain.
[0066] The communication equipment in each functional domain is connected to the OT through a bus, which may be a controller area network (CAN), a local interconnect network (LIN) bus, an Ethernet (ETH) bus or a FLEXRAY bus, wherein FLEXRAY is a registered trademark of DaimlerChrysler Corporation. 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 may be a separate device connected to the body domain communication device. For example, the OT may be integrated into the body domain communication device. Then, the OT type in this example may be a network card, a single board, a communication interface or a communication device (such as an optical module), etc., without specific limitation.
[0067] In the vehicle network, the functional domains that realize important functions have high reliability, while the functional domains that realize relatively 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 auxiliary driving domain 214 have low reliability. Specifically, the OT in the functional domain with high reliability is connected to the main link 204 and the backup link 205 respectively through optical fibers. For example, the OT221 of the body domain 211 is connected to the main link 204 and the backup link 205 respectively through optical fibers. The OT222 of the power domain 212 is connected to the main link 204 and the backup link 205 respectively through optical fibers. It can be understood that if at least one of the main port 202 of the optical head end 201, the main port of OT221, the optical fiber connected between the main port of OT221 and the main link, and the main link 204 between OT221 and the optical head end 201 fails, then the optical head end 201 communicates with OT221 through the backup link 205 to achieve high reliability of the body domain 211. Similarly, if at least one of the main port 202 of the optical head end 201, the main port of OT222, the optical fiber connected between the main port of OT222 and the main link 204, and the main link 204 between OT222 and the optical head end 201 fails, then the optical head end 201 communicates with OT222 through the backup link 205 to achieve high reliability of the power domain 212. The infotainment domain 213 and the auxiliary driving domain 214 have low reliability, so OT223 of the infotainment domain 213 and OT224 of the auxiliary driving domain 214 are only connected to the main link 204. Since there is no need to connect the functional domain with low reliability to the backup link 205, the cost of connecting the functional domain with low reliability in the vehicle network is reduced.
[0068] Each functional domain in the vehicle network shown in this example will adopt different ways of connecting to the optical head end 201 based on different requirements for high reliability or low reliability. Since the functional domain with high reliability is connected to the optical head end 201 through the main link 204 and the backup link 205, the success rate of communication of the functional domain with high reliability is effectively improved. Since the functional domain with low reliability is only connected to the main link 204, the complexity of the connection of the functional domain with low reliability is reduced, thereby reducing the connection cost and the weight of the optical fiber.
[0069] 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 transceiver 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.
[0070] The optical network provided by the present application can simultaneously realize the successful protection of optical terminals with high reliability and optical terminals with low reliability. Figure 3 As shown, Figure 3 This is a diagram showing an example structure of the first embodiment of the optical network provided in this application.
[0071] The optical network shown in this embodiment includes an optical head end 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 an optical terminal with high reliability, and the second optical terminal is an optical terminal with low reliability. For descriptions of optical terminals with high reliability and optical terminals with low reliability, see Figure 2As shown, the details are not repeated here. It can be understood that the first optical terminal with high reliability is connected to the main link 340 and the backup link 350 respectively, while the second optical terminal with low reliability is only connected to the main link 340. This embodiment takes the example that the optical network includes two first optical terminals, namely the first optical terminal 310 and the first optical terminal 330, and includes a second optical terminal 360. This embodiment does not limit the number of first optical terminals and second optical terminals included in the optical network. This embodiment also takes the example that the optical head end 301, the first optical terminal 310, the second optical terminal 360 and the first optical terminal 330 are arranged in sequence. This embodiment does not limit the arrangement of the first optical terminal and the second optical terminal included in the optical network.
[0072] 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 a main downstream data stream to each optical terminal in the optical network. The main port 302 is a transmission channel for optical signals of the main optical module. The backup optical module has a backup port 303 for transmitting a backup downstream data stream to each optical terminal in the optical network. The backup port 303 is a transmission channel for optical signals 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 an 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 the optical head end 301 includes multiple OLTs, the main optical module of one OLT has the main port 302, and the backup optical module of another OLT has the backup port 303, which is not specifically limited in this embodiment. The transmission of the backup downstream data flow emitted by the backup port is used to backup the transmission of the main downstream data flow emitted by the main port.
[0073] Taking the first optical terminal 310 as an example, the first optical terminal 310 with low reliability includes an optical module, which has 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. Among them, N refers to the number of input ports included in the first terminal side optical splitter 312 for receiving the downstream data flow from the optical head end 301. M refers to the number of output ports included in the first terminal side optical splitter 312 for transmitting the downstream data flow 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 flow from the optical head end 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 flow from the optical head end 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 output port of the first terminal side optical splitter 312 connected to a first optical terminal 310 as an example. In other examples, the first terminal side optical splitter 312 may include two or more output ports, each of which is connected to a first optical terminal. For the description of connecting the first optical terminal 330 to the main link 340 and the backup link 350, please refer to the description of connecting the first optical terminal 310 to the main link 340 and the backup link 350, and the details are not repeated here.
[0074] 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 structure 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. 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 .
[0075] 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, and 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. Figure 3As shown, 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, 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 main optical splitter 343 is connected to the main optical splitter 342, the output port of the main optical splitter 343 is connected to the first terminal side optical splitter 331, and 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 head end 301 through the first terminal side optical splitter 312 and the main optical splitter 341 in sequence. The second optical terminal 360 is connected to the optical head end 301 through the second terminal side optical splitter 361, the main optical splitter 342 and the main optical splitter 341 in sequence, and so on. In this embodiment, the main optical port of the second optical terminal 360 is connected to the main optical splitter 342 on the main link through the second terminal side optical splitter 361 as an example. In other examples, the main optical port of the second optical terminal 360 can also be directly connected to the main optical splitter 342, which is not specifically limited. In this embodiment, the number of main splitters included in the main link 340 is the same as the number of optical terminals included in the optical network. For example, if the optical network includes three optical terminals, the main link 340 includes three main splitters. It should be clear that this embodiment does not limit the number of main splitters included in the main link 340, as long as each optical terminal can be connected to an output port of a main splitter included in the main link 340.
[0076] 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, and 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 Figure 3As shown, 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 the backup optical splitter 352 is connected to the backup optical splitter 351, one output port of the backup optical splitter 352 is connected to the backup optical splitter 353, and the other output port of the backup optical splitter 352 is connected to the input port of the third terminal side optical splitter 362. The input port of the backup optical splitter 353 is connected to the backup optical splitter 352, and the output port of the backup optical splitter 353 is connected to the third terminal side optical splitter 362. The other output port of the backup optical splitter 353 is connected to the first terminal side optical splitter 331. It can be understood that the first optical terminal 310 is connected to the backup port 303 through the first terminal side optical splitter 312 and the backup optical splitter 351 in sequence. The second optical terminal 360 is connected to the backup port 303 through the third terminal side optical splitter 362, the backup optical splitter 352 and the backup optical splitter 351 in sequence, and so on. In this embodiment, the backup optical port of the second optical terminal 360 is connected to the backup optical splitter 352 on the backup link through the third terminal side optical splitter 362 as an example. In other examples, the backup optical port of the second optical terminal 360 can also be directly connected to the backup optical splitter 352, and there is no specific limitation. In this embodiment, the number of backup optical splitters included in the backup link 350 is the same as the number of optical terminals included in the optical network. It should be clear that this embodiment does not limit the number of backup optical splitters included in the backup link 350, as long as each optical terminal can be connected to the output port of a backup optical splitter included in the backup link 350.
[0077] The first optical terminal 310 with low reliability is connected to the main link 340 and the backup link 350 through the same optical port 311. The second optical terminal 360 with high reliability is connected to the main link 340 and the backup link 350 through different optical ports. The optical network shown in this embodiment can ensure that the first optical terminal including only one optical port can only receive one of the main downstream data flow and the backup downstream data flow from the optical head end 301 at the same time. The first optical terminal 310 will not receive the main downstream data flow and the backup downstream data flow at the same time, so as to ensure that the main downstream data flow and the backup downstream data flow received by the first optical terminal 310 from the optical head end 301 will not conflict, thereby ensuring that the first optical terminal 310 can successfully process the downstream data flow from the optical head end 301. Specifically, the optical head end 301 occupies the main downstream time slot and sends the main downstream data flow through the main link 340. The optical head end 301 occupies the backup downstream time slot and sends the backup downstream data flow through the backup link 350. To realize the transmission of the backup downstream data flow, the transmission of the main downstream data flow can be backed up, so the downlink service carried by the backup downstream data flow is the same as the downlink service carried by the main downstream data flow. To prevent the same optical terminal from receiving the main downstream data flow and the backup downstream data flow at the same time, the main downstream time slot is different from the backup downstream time slot.
[0078] Figure 4 This is an example diagram of the time slots for sending downstream data streams by 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 backup downstream data streams. 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 Figure 4As shown, 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 starting time of the second backup downstream time slot is ta7, and the ending time is ta8, and the moment ta8 is greater than the moment ta7. Among them, the moment ta1, the moment ta2, the moment ta3, the moment ta4, the moment ta5, the moment ta6, the moment ta7 and the moment ta8 increase in sequence, then the first main downstream time slot, the first backup downstream time slot, the second main downstream time slot and the second backup downstream time slot are arranged in sequence on the time axis. It can be understood that on the time axis, the intersection between any two downlink time slots in the first main downlink time slot, the second main downlink time slot, the first backup downlink time slot and the second backup downlink time slot are all empty sets. In order to prevent the same optical terminal from receiving the main downlink data stream and the backup downlink data stream at the same time, there is a time interval between adjacent main downlink time slots and backup downlink time slots on the time axis. For example, there is a time interval between the first main downlink time slot and the first backup downlink time slot, and the starting time of the time interval is time ta2, and the ending time is time ta3. By analogy, there is a time interval between the second main downlink time slot and the second backup downlink time slot, and the starting time of the time interval is time ta6, and the ending time is ta7. It should be clarified that this embodiment does not limit the duration of each main downlink time slot, each backup downlink time slot and each time interval.
[0079] The main port 302 occupies the first main downstream time slot and sends out the first main downstream data stream 410, and the backup port 303 occupies the first backup downstream time slot and sends out the first backup downstream data stream 420. The first main downstream data stream 410 and the first backup downstream data stream 420 carry the same downstream service to achieve the transmission of the first backup downstream data stream 420, and can back up the transmission of the first main downstream data stream 410. The main port 302 occupies the second main downstream time slot and sends out the second main downstream data stream 430, and the backup port 303 occupies the second backup downstream time slot and sends out the second backup downstream data stream 430. The second main downstream data stream 430 and the second backup downstream data stream 440 carry the same downstream service to achieve the transmission of the second backup downstream data stream 440, and can back up the transmission of the second main downstream data stream 430. It can be understood that the main port and the backup port of the optical head end 301 shown in this embodiment are illuminated in a burst mode, that is, the main port of the optical head end only emits light during the duration of the main downstream time slot to send the main downstream data stream. The backup port at the optical head end only emits light during the duration of the backup downstream time slot to send the backup downstream data stream. Because the main port and the backup port at the optical head end emit light based on the burst mode, it effectively ensures that the same optical terminal can only receive one downstream data stream at the same time, and will not receive the main downstream data stream and the backup downstream data stream at the same time, effectively avoiding the conflict of the same optical terminal receiving the main downstream data stream and the backup downstream data stream.
[0080] Combination Figures 3 to 5 As shown, the transmission process of the main downstream data flow and the backup downstream data flow in the optical network is described. Figure 5A time slot example diagram for the optical head end to send a downstream data stream and the optical terminal to receive a downstream data stream provided by the present 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 stream 410. The first main downstream data stream 410 is transmitted to the first terminal side optical splitter 312 via the main link main optical splitter 341. The first terminal side optical splitter 312 transmits the first main downstream data stream 410 to the first optical terminal 310. This example takes the first optical terminal 310 as the closest distance 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 stream 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 stream 410. On the time axis, the start time of the first main time period is tb1, and the end time is tb2, the time tb2 is greater than the time tb1, and the time tb1 is greater than the 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 start time of the first backup time period is tb3, and the end time is tb4. Time tb4 is greater than time tb3, and time tb3 is greater than time ta3. In this embodiment, in order to ensure that the first optical terminal 310 receives the first main downstream data stream 410 and the first backup downstream data stream 420 in time division, the intersection of the first main time period and the first backup time period on the time axis is an empty set. In the case where there is a time interval between the first main downlink time slot for sending the first main downlink data stream 410 and the first backup downlink time slot for sending the first backup downlink data stream 420, there is also the time interval between the first main time period and the first backup time period (i.e., the time interval between time tb2 and time tb3). In order to ensure that the first optical terminal 310 can only receive one downlink data stream at the same time, then, 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). It can be understood that after the first optical terminal 310 receives the first main downlink data stream 410, it starts to receive the first backup downlink data stream 420 after the time interval between time tb2 and time tb3. The first optical terminal 310 shown in this embodiment occupies the second main time period to receive the second main downlink data stream, and the first optical terminal 310 occupies the second backup time period to receive the second backup downlink data stream. For the receiving process, please refer to the process of the first optical terminal 310 receiving the first main downlink data stream 410 and the first backup downlink data stream 420, which will not be described in detail.To ensure that the first optical terminal 310 receives only one downstream data stream at the same time, and to avoid the main downstream data stream and the backup downstream data stream being transmitted to the first terminal side optical splitter 312 at the same time, then, 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).
[0081] The following describes the process of the second optical terminal 360 receiving the main downstream data stream and the backup downstream data stream. The main optical splitter 341 splits the first main downstream data stream from the main port 302 to obtain a first main downstream data stream and another first main downstream data stream. The main optical splitter 341 sends the first main downstream data stream obtained by splitting to the first terminal side optical splitter 312 for transmission to the first optical terminal. The main optical splitter 341 sends another first main downstream data stream obtained by splitting to the main optical splitter 342. The main optical splitter 342 splits the first main downstream data stream from the main optical splitter 341 to obtain a first main downstream data stream and another first main downstream data stream. The main optical splitter 342 sends the first main downstream data stream obtained by splitting to the second terminal side optical splitter 361 for transmission to the main optical port of the second optical terminal 360. The main optical splitter 342 sends another first main downstream data stream obtained by splitting to the main optical splitter 343. For the process of the second optical terminal 360 receiving the second main downstream data stream, please refer to the process of the second optical terminal 360 receiving the first main downstream data stream, which will not be described in detail. For the process of the optical terminal with low reliability in the optical network receiving the downstream data stream, please refer to the description of the first optical terminal 310 receiving the downstream data stream, which will not be described in detail.
[0082] The backup optical splitter 351 splits the first backup downstream data flow from the backup port 302 to obtain one first backup downstream data flow and another first backup downstream data flow. The backup optical splitter 351 sends one first backup downstream data flow obtained by splitting to the first terminal side optical splitter 312 for transmission to the first optical terminal 310. The backup optical splitter 351 sends another first backup downstream data flow obtained by splitting to the backup optical splitter 352. The backup optical splitter 352 splits the first backup downstream data flow from the backup optical splitter 351 to obtain one first backup downstream data flow and another first backup downstream data flow. The backup optical splitter 352 sends one first backup downstream data flow obtained by splitting to the third terminal side optical splitter 362 for transmission to the backup optical port of the second optical terminal 360. The backup optical splitter 352 sends another first backup downstream data flow obtained by splitting to the backup optical splitter 353. For the process of the second optical terminal 360 receiving the second backup downstream data flow, please refer to the process of the second optical terminal 360 receiving the first backup downstream data flow, and the details are not repeated here. For the description of the time when the second optical terminal 360 receives the main downstream data flow and the backup downstream data flow, please refer to Figure 5 As shown, no further details are given. It can be understood that the main optical port and the backup optical port of the second optical terminal 360 only receive one downlink data stream at the same time. For the process of receiving the downlink data stream by the optical terminal with high reliability in the optical network, please refer to the description of the second optical terminal 360 receiving the downlink data stream, and no further details are given.
[0083] 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 ranging 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 according to the ranging result, 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. Figure 3 and Figure 6 The figure shows the process of measuring the distance of each optical terminal in the optical network by the optical head end, wherein: Figure 6 An example time slot diagram of an embodiment of ranging of each optical terminal in an optical network by an optical head end provided in the present application.
[0084] To achieve the ranging of the main link, the main port 302 of the optical head end 301 occupies the first main ranging time slot and sends the 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. In the optical network, the first optical terminal 310 is closest to the optical head end 301 via the main link, and 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 moment when the first optical terminal 310 receives the first main ranging message 610 and the moment 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 moment when the first optical terminal 330 receives the first main ranging message 610 and the moment 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 clear that this embodiment takes the first main ranging time slot earlier than the first backup ranging time slot as an example. 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 between the first main ranging message 610 and the first backup ranging message 620 received by the same optical terminal, 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, and the first optical terminal 310 receives the first backup ranging message 620 based on the first backup delay (Pmin). Among them, 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). Among them, 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 main port 302 of the optical head end 301 occupies the second main ranging time slot and sends a second main ranging message 630 to each optical terminal in the optical network through the main link 340 .The first backup ranging time slot is earlier than the second main ranging time slot, and so on. It can be understood that the optical head end shown in this embodiment sends a main ranging message and a backup ranging message in an adjacent manner on the time axis.
[0085] Taking the first optical terminal 310 as an example, when the first optical terminal 310 receives the first main ranging message via the main link 340, the first optical terminal 310 sends the first main ranging response message to the optical head end 301 through the main link 340 according to the first main ranging message. The first main ranging message carries the frame number of the first main ranging message. The first main ranging response message carries the frame number of the first main ranging message, the identifier of the first optical terminal 310, and the starting time when the first optical terminal 310 receives the first main ranging message. When the optical head end 301 receives the first main ranging response message, the main round-trip time (RTT) between the optical head end 301 and the first optical terminal 310 is measured according to the first main ranging message and the first main ranging response message. Specifically, the optical head end determines the starting time when the optical head end sends the first main ranging message according to the frame number of the first main ranging message. The optical head end 301 receives the start 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 start time when the optical head end 301 receives the ranging response message and the start time when the optical head end 301 sends the first main ranging message. For the description of the optical head end 301 measuring the main RTT between the optical head end 301 and any optical terminal included in the optical network, please refer to the description of the optical head end 301 measuring the main RTT between the optical head end 301 and the first optical terminal 310, and the 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 the details are not repeated here.
[0086] 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 start time when the first optical terminal 310 receives the first backup ranging message 620 is T2. In order to avoid any optical terminal in the optical network 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 start 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 downstream 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 on the time axis, the intersection between any main downlink time slot and the first backup downlink time slot is an empty set, and there is a certain time interval between adjacent main downlink time slots and backup downlink time slots.
[0087] Figure 7An example diagram of the frame structure of an embodiment of the main downstream data stream provided in 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 (physical synchronization block, PSBd) 701 and a physical layer frame payload (physical layerframe payload) 702. The physical layer frame payload is referred to as payload below. PSBd701 includes physical synchronization (physical synchronization, PSync) 711, a main port identification (main port identification) 712 and an upstream bandwidth map (upstream bandwidth map, US BWmap) 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 US BWmap 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 (AllocationStructure). Each Allocation Structure includes a bandwidth allocation identifier (allocation identifier, Alloc-ID) 721, a time slot start time (start time) 722, and a grant size (Grant size) field 723. If the allocation structure 1 is used to indicate the main uplink time slot to the first optical terminal 310, the Allocation ID 721 of the allocation structure 1 is used to carry the identifier (Identity, ID) of the first optical terminal 310 to send the authorization, 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 the allocation structure 1 and sends an uplink service to the optical head end. For a description of the frame structure of each main downlink data stream sent by the optical head end, please refer to Figure 7 The description of the first main downlink data flow shown is not repeated in detail.
[0088] Figure 8An example diagram of the frame structure of an embodiment of the backup downstream data flow provided in the present application. Taking the first backup downstream data flow 420 sent by the optical head end as an example, the first backup downstream data flow 420 includes PSBd801 and physicallayer frame payload802. PSBd801 includes PSync811, backup port identification 812 and US BWmap813. Among them, payload802 is used to carry the downstream service sent by the optical head end to each optical terminal. For an explanation of PSync811 and US BWmap813 included in the first backup downstream data flow 420, please refer to Figure 8 The first main downstream data stream 410 shown in FIG. 1 is not described in detail. When the optical terminal obtains the downstream data stream carrying the backup port identifier 812, the optical terminal determines that the downstream data stream is the backup downstream data stream from the backup port of the optical head end. For a description of the frame structure of each backup downstream data stream sent by the optical head end, see Figure 7 In order to realize the transmission of the first backup downlink data stream 420 and to backup the transmission of the first main downlink data stream 410, the first backup downlink data stream 420 is combined with the first main downlink data stream 410. Figure 7 and Figure 8 As shown, Figure 7 The downlink service carried by the payload 702 of the first main downlink data flow 410 is the same as the downlink service carried by the payload 802 of the first backup downlink data flow 420 .
[0089] The following describes a specific scenario in which the optical network shown in this embodiment implements data transmission:
[0090] Scenario 1, combined Figures 3 to 5 As shown, the main link and the backup link of the optical network shown in this scenario are in normal working state.
[0091] Taking the first optical terminal 310 with low reliability as an example, first, when the main link is in normal working state, the main port 302 of the optical head end 301 occupies the first main downstream time slot to send the first main downstream data stream 410, which is transmitted to the optical port 311 of the first optical terminal 310 via the main optical splitter 341 and the first terminal side optical splitter 312 in sequence. The first optical terminal 310 uses the main port identifier carried by the first main downstream data stream 410 (for details, see Figure 7 As shown), the first main downstream data flow 410 is determined to be a downstream data flow from the main port 302 of the optical head end 301. Therefore, the first optical terminal 310 obtains the downstream service sent to the first optical terminal 310 from the first main downstream data flow 410.
[0092] Secondly, when the backup link is in normal working state, the backup port 303 of the optical head end 301 occupies the first backup downstream time slot to send the first backup downstream data flow 420, which is transmitted 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 in sequence. The first optical terminal 310 uses the backup port identifier carried by the first backup downstream data flow 420 (for details, see Figure 8 As shown in FIG. 3 , the first backup downstream data flow 420 is determined to be the downstream data flow from the backup port 303 of the optical head end 301. Since the first optical terminal 310 has successfully received the first main downstream data flow 410, the first optical terminal 310 does not need to process the first backup downstream data flow 420 and discards the first backup downstream data flow 420.
[0093] It can be understood that when the main link and the backup link included in the optical network are in normal working state, the first optical terminal with low reliability can successfully receive the main downstream data flow and the backup downstream data flow in time division. The first optical terminal only processes the main downstream data flow from the main link and discards the backup downstream data flow from the backup link. When the main link and the backup link are both in normal working state, the process of the second optical terminal 360 with high reliability receiving the main downstream data flow and the backup downstream data flow, please refer to the process of the first optical terminal 310 with low reliability receiving the main downstream data flow and the backup downstream data flow, and the details will not be repeated.
[0094] Scenario 2: In this scenario, the main link of the optical network is in a faulty state, while the backup link is in a normal working state. Fig. 9 This is an example diagram of a fault in the first embodiment of the optical network provided in this application.
[0095] Example 1: The main link of the optical network has only a fault point 901. The fault point 901 may be at least one of the following:
[0096] The main port 302 of the optical head end 301 fails, the optical fiber between the main optical splitter 341 connected to the main port 302 fails, the main optical splitter 341 fails, the optical fiber connected between the main optical splitter 341 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 takes the failure of the optical fiber connected between the main port 302 and the main optical splitter 341 as an example. It can be understood that when there is a fault point 901 in the main link of the optical network, the main downstream data stream sent by the main port 302 cannot be successfully transmitted to any optical terminal of the optical network.
[0097] Taking the first optical terminal 310 with low reliability as an example, due to the existence of 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 the description of the process of the first optical terminal 310 receiving the first backup downstream data flow, please refer to Example 1, and the details are not repeated here. The first optical terminal 310 shown in this example cannot receive the data that carries the primary port identifier (for details, please refer to Figure 7 The main downstream data flow (shown in Figure 1) can only receive the backup port identifier (see Figure 8 ), then the first optical terminal 310 only processes the backup downstream data flow to obtain the downstream 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 flow that carries the main port identifier, and can only receive the backup downstream data flow that carries the backup port identifier. Then, the second optical terminal 360 only processes the backup downstream data flow to obtain the downstream service sent to the second optical terminal 360 from the backup downstream data flow.
[0098] Example 2: The main link of the optical network has only a fault point 902. The fault point 902 may be at least one of the following:
[0099] 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 takes 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 when there is a fault point 902 in the main link of the optical network, the main downstream data stream sent by the main port 302 can only be successfully sent to some optical terminals. Fig. 9In the example shown, if there is a fault point 902 in the optical network, the main downstream data stream sent 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. In the case where only the fault point 902 exists in the main link of the optical network, it does not affect the first optical terminal 310 to successfully receive the main downstream data stream and the backup downstream data stream. For the specific process, please refer to Scenario 1, which will not be described in detail. The second optical terminal 360 and the first optical terminal 330 can only successfully receive the backup downstream data stream. For the specific process, please refer to the process of each optical terminal receiving the backup downstream data stream shown in Example 1, which will not be described in detail.
[0100] Example 3: The main link of the optical network has only a fault point 903. The fault point 903 may be at least one of the following:
[0101] The main optical splitter 343 fails, the optical fiber connected between the main optical splitter 342 and the main optical splitter 343 fails, the optical fiber connected between the main optical splitter 343 and the first terminal side optical splitter 331 fails, the first terminal side optical splitter 331 fails, the optical fiber connected between the first terminal side optical splitter 331 and the optical port of the first optical terminal 330 fails, or the optical port of the first optical terminal 330 fails. This example takes 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 when there is a fault point 903 in the main link of the optical network, it will cause the main downstream data stream sent from the main port 302 to be successfully sent to some optical terminals. Fig. 9 In the example shown, if there is a fault point 903 in the optical network, the main downstream data stream sent 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. In the case where only the fault point 903 exists in the main link of the optical network, it does not affect the first optical terminal 310 and the second optical terminal 360 to successfully receive the main downstream data stream and the backup downstream data stream. For the specific process, please refer to Scenario 1, which will not be described in detail. The first optical terminal 330 can only successfully receive the backup downstream data stream. For the specific process, please refer to the process of each optical terminal receiving the backup downstream data stream shown in Example 1, which will not be described in detail.
[0102] It can be understood that in this fault scenario, if an optical terminal receives the main downstream data flow carrying the main port identifier and the backup downstream data flow carrying the backup port identifier in a time-sharing manner, the optical terminal only obtains the downstream service from the main downstream data flow carrying the main port identifier. If an optical terminal can only receive the backup downstream data flow carrying the backup port identifier, the optical terminal only obtains the downstream service from the backup downstream data flow carrying the backup port identifier.
[0103] 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.
[0104] Example 1: The backup link of the optical network has only a fault point 911. The fault point 911 may be at least one of the following:
[0105] 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 takes 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 when 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.
[0106] 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 the description of the process of the first optical terminal 310 receiving the first main downstream data flow, please refer to Example 1, and the details are not repeated here. The first optical terminal 310 shown in this example cannot receive the backup port identifier (see Figure 8 The backup downstream data flow can only receive the data with the primary port identifier (see Figure 7 ), then the first optical terminal 310 only processes the main downstream data flow to obtain the downstream 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 downstream service sent to the second optical terminal 360 from the main downstream data flow.
[0107] Example 2: The backup link of the optical network has only a fault point 912. The fault point 912 may be at least one of the following:
[0108] The backup optical splitter 351 fails, the backup optical splitter 352 fails, the optical fiber connected between the backup optical splitter 351 and the backup optical splitter 352 fails, the optical fiber connected between the backup optical splitter 352 and the third terminal side optical splitter 362 fails, the third terminal side optical splitter 362 fails, the optical fiber connected between the third terminal side optical splitter 362 and the backup optical port of the second optical terminal 360 fails, or the backup optical port of the second optical terminal 360 fails. This example takes the failure of the optical fiber connected between the backup optical splitter 351 and the backup optical splitter 352 as an example. It can be understood that in the case where there is a fault point 912 in the backup link of the optical network, the backup downstream data flow sent by the backup port 303 can only be successfully sent to some optical terminals. If there is a fault point 912 in the optical network, then the backup downstream data flow sent by the backup port 303 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. In the case where only the fault point 912 exists in the backup link of the optical network, it does not affect the first optical terminal 310 to successfully receive the main downstream data stream and the backup downstream data stream. For the specific process, please refer to Scenario 1, which will not be described in detail. However, the second optical terminal 360 and the first optical terminal 330 can only successfully receive the main downstream data stream. For the specific process, please refer to the process of each optical terminal receiving the main downstream data stream shown in Example 1, which will not be described in detail.
[0109] Example 3: The backup link of the optical network has only a fault point 913. The fault point 913 may be at least one of the following:
[0110] The backup splitter 353 fails, the optical fiber connected between the backup splitter 352 and the backup splitter 353 fails, the optical fiber connected between the backup splitter 353 and the first terminal side splitter 331 fails, the first terminal side splitter 331 fails, the optical fiber connected between the first terminal side splitter 331 and the optical port of the first optical terminal 330 fails, or the optical port of the first optical terminal 330 fails. This example takes the failure of the optical fiber connected between the backup splitter 352 and the backup splitter 353 as an example. It can be understood that when there is a fault point 913 in the backup link of the optical network, the backup downstream data stream sent by the backup port 303 can be successfully sent to some optical terminals. Fig. 9In the example shown, if there is a fault point 913 in the optical network, the backup downstream data stream sent by the backup port 303 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. In the case where only the fault point 913 exists in the backup link of the optical network, it does not affect the first optical terminal 310 and the second optical terminal 360 to successfully receive the main downstream data stream and the backup downstream data stream. For the specific process, please refer to Scenario 1, which will not be described in detail. The first optical terminal 330 can only successfully receive the main downstream data stream. For the specific process, please refer to the process of each optical terminal receiving the backup downstream data stream shown in Example 1, which will not be described in detail.
[0111] It can be understood that in this fault scenario, if an optical terminal receives the main downstream data flow carrying the main port identifier and the backup downstream data flow carrying the backup port identifier in a time-sharing manner, the optical terminal only obtains the downstream service from the main downstream data flow carrying the main port identifier. If an optical terminal can only receive the backup downstream data flow carrying the backup port identifier, the optical terminal only obtains the downstream service from the backup downstream data flow carrying the backup port identifier.
[0112] 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 main optical splitter included in the main link, and the moment 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 moment 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 moment 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 main downstream data flow from the optical head end the earliest, and the first optical terminal 330 receives the main downstream data flow from the optical head end the latest. That is, the lengths of the optical fibers respectively connected to the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330 and the optical head end increase in sequence. The time when the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330 receive the backup downstream data flow decreases in sequence. It can be understood that, among the three optical terminals, the first optical terminal 310 receives the backup downstream data flow from the optical head end the earliest, and the first optical terminal 330 receives the main downstream data flow from the optical head end the latest. That is, the lengths of the optical fibers respectively connected to the first optical terminal 310, the second optical terminal 360, and the first optical terminal 330 and the optical head end decrease in sequence.
[0113] The connection of the optical network shown in this embodiment can be seen in Fig.10 As shown, Fig.10 This is a diagram showing an example structure of the second embodiment of the optical network provided in this application.
[0114] 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 main optical splitter included in the main link, and the moment when the N optical terminals receive the main downstream data stream increases in sequence. For specific instructions, please refer to the above embodiment, and no further details are given. The difference between this embodiment and the above embodiment is that each of the N optical terminals is connected to a backup optical splitter included in the backup link, and the moment 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 decrease in sequence. Specifically, the optical network includes three optical terminals arranged in sequence, namely the first optical terminal 1010, the second optical terminal 1060, and the first optical terminal 1030. Among them, the moment when the first optical terminal 1010, the second optical terminal 1060, and the first optical terminal 1030 receive the main downstream data stream increases in sequence. For specific instructions, please refer to the above embodiment, and no further details are given. Fig.10 The backup link shown includes three backup optical splitters, namely, backup optical splitter 1003, backup optical splitter 1002 and backup optical splitter 1001. The first optical terminal 1030 is connected to the backup optical splitter 1001 to connect to the backup link, the second optical terminal 1060 is connected to the backup optical splitter 1002 to connect to the backup link, and the first optical terminal 1010 is connected to the backup optical splitter 1003 to connect to the backup link. The lengths of the optical fibers respectively connected between the backup optical splitter 1001, the backup optical splitter 1002 and the backup optical splitter 1003 and the optical head end increase in sequence. Then, the time when the first optical terminal 1010, the second optical terminal 1060 and the first optical terminal 1030 receive the backup downstream data flow increases in sequence. It can be understood that among the three optical terminals, the first optical terminal 1010 receives the backup downstream data flow from the optical head end the latest, and the first optical terminal 1030 receives the main downstream data flow from the optical head end 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.
[0115] If the optical network shown in this embodiment adopts Fig.10 The structure shown can increase the number of optical terminals protected when there are fault points in the optical network. Fig.11 as well as Fig.12 As shown, Fig.11 This is an example diagram of a fault in the second embodiment of the optical network provided in this application. Fig.12 This is a fault example diagram of the third embodiment of the optical network provided by this application. Specifically, Fig.11 The structure of the optical network shown is shown in Figure 3 The corresponding description, Fig.12 The structure of the optical network shown in Fig.10 The specific description is omitted here. Fig.11 In the example, if the main link of the optical network has a fault point 1101, 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 details, see Fig. 9 The corresponding instructions are not repeated here. Fig.11 The backup link of the optical network shown in the figure has a fault point 1102, which causes the backup downlink data flow sent by the optical head end to be successfully sent only to the first optical terminal 310, but not to the second optical terminal 360 and the first optical terminal 330. For details, see Fig. 9 The corresponding description is not repeated here. The main link of the optical network shown in this embodiment includes three main splitters (i.e., main splitter 1111, main splitter 1112, and main splitter 1113) arranged in sequence. The fault point 1101 is taken as an example of a fault in the optical fiber between the second main splitter (i.e., main splitter 1112) and the third main splitter (i.e., main splitter 1113) connected to the three main splitters. The backup link shown in this embodiment also includes three backup splitters (i.e., backup splitter 1121, backup splitter 1122, and backup splitter 1123) arranged in sequence. The fault point 1102 is taken as an example of a fault in the optical fiber between the second backup splitter (i.e., backup splitter 1122) and the third backup splitter (i.e., backup splitter 1123) connected to the three backup splitters. Due to the existence of fault points 1101 and 1102 in the optical network, the second optical terminal 360 and the first optical terminal 330 cannot receive the main downstream data flow and the backup downstream data flow, making the second optical terminal 360 and the first optical terminal 330 unable to communicate normally with the optical head end.
[0116] exist Fig.12 In the example, if there is a fault point 1201 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 1010, but cannot be successfully sent to the second optical terminal 1060 and the first optical terminal 1030. For details, please refer to Fig. 9 The corresponding instructions are not repeated here. Fig.11 The backup link of the optical network shown has a fault point 1202, which causes the backup downlink 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, see Fig.10 The corresponding description is omitted here. Fig.12 The location of the fault point is shown in Fig.11 The location of the fault point is the same as shown, that is, Fig.12 The fault point shown exists between the second main optical splitter and the third main optical splitter included in the main link, and exists between the second backup optical splitter and the third backup optical 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). The fault point 1201 is taken as an example of a fault in the optical fiber between the second main optical splitter (i.e., main optical splitter 1212) and the third main optical splitter (i.e., main optical splitter 1213) connected to 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). The fault point 1202 is taken as an example of a fault in the optical fiber between the second backup optical splitter (i.e., backup optical splitter 1002) and the third backup optical splitter (i.e., backup optical splitter 1003) connected to the three backup optical splitters. When a fault point 1202 exists in the optical network, the backup downstream data flow 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 .
[0117] For better understanding, Fig.11 as well as Fig.12 For the instructions shown, see Table 1:
[0118] Table 1
[0119]
[0120] Fig.11 as well as Fig.12 The fault points shown are all located 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 can be understood that the fault points of the main link and the backup link shown in Table 1 are Fig.11 as well as Fig.12 The forward connection shown in Table 1 refers to Fig.11 For details on the optical network connection structure shown in Fig.11 The faulty optical terminal shown in Table 1 means that it cannot receive at least one of the main downstream data stream and the backup downstream data stream. Fig.11 As shown in the description, when there are fault points 1101 and 1102, the second optical terminal 360 and the third optical terminal 330 are both faulty optical terminals. Fig.12 For details on the optical network connection structure shown in Fig.12As shown, no further details are given. Fig.12 As shown in the description, when there are fault points 1201 and 1202, the number of faulty optical terminals is 0. Fig.12 The connection structure of the optical network shown can effectively reduce the number of faulty optical terminals when there are fault points in the optical network.
[0121] It can be seen from the above embodiments that 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, and 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, and 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. Fig.10 In the example shown, 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 a first uplink data stream to the optical head end through the main link. The first uplink data stream carries the identifier 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 are not repeated here. 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.
[0122] 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 occupy only 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 a description of the fault point in the optical network, see Fig. 9 The corresponding instructions are not repeated in detail. 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 the uplink service of any optical terminal in the optical network, please refer to the instructions on the optical head end receiving the uplink service from the first optical terminal 1010, and the details are not repeated here.
[0123] The example of the optical head end allocating uplink time slots to each optical terminal shown in this embodiment can be combined with Fig.10 as well as Fig.13 As shown, Fig.13An example diagram of the allocation of uplink time slots provided for the present application. The optical head end allocates a first main uplink time slot to the first optical terminal 1010 according to the main RTT of the first optical terminal 1010, and the start time of the first main uplink time slot is time t1, and the end time is time t2. The optical head end allocates a second main uplink time slot to the second optical terminal 1060 according to the main RTT of the second optical terminal 1060, and the start time of the second main uplink time slot is time t3, and the end 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 according to the backup RTT of the first optical terminal 1010, and the start time of the first backup uplink time slot is time t1, and the end time is time t2. It can be understood that this embodiment shows the example that the start time and end time of the first main uplink time slot and the first backup time slot are the same. This embodiment takes the example that the duration of the first main uplink time slot and the duration of the first backup uplink time slot overlap 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, which will not be described in detail.
[0124] Fig.14 This is a flowchart of the steps of the first embodiment of the data transmission method provided in the present application. The method shown in this embodiment can achieve the purpose of the optical head end sending a downlink service to the first optical terminal with low reliability.
[0125] Step 1401: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the first optical terminal through the main link.
[0126] 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.
[0127] 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.
[0128] 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.
[0129] Specifically, 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, and 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. Among them, on the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set.
[0130] 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.
[0131] 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.
[0132] Step 1405: The first optical terminal obtains the primary port identifier carried by the primary downstream data flow.
[0133] 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 downlink data flow to the main link.
[0134] Step 1406: The first optical terminal obtains the backup port identifier carried by the backup downstream data flow.
[0135] 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 stream to the backup link.
[0136] Step 1407: The first optical terminal selects one path from the main downstream data flow and the backup downstream data flow to extract the downstream service.
[0137] 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.
[0138] 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.
[0139] Fig.15 This is a flow chart of the steps of the second embodiment of the data transmission method provided in the present 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.
[0140] Step 1501: The optical head end occupies the main downlink time slot and sends the main downlink data stream to the second optical terminal through the main link.
[0141] Specifically, the optical head end occupies the main downlink time slot and sends the main downlink data flow 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 flow to the second optical terminal.
[0142] 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.
[0143] Step 1503: The optical head end occupies the backup downlink time slot and sends a backup downlink data stream to the second optical terminal through the backup link.
[0144] Specifically, the optical head end occupies the backup downlink time slot, and sends the 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 third terminal side optical splitter sends the backup downlink data stream to the second optical terminal. Among them, on the time axis, the intersection between the main downlink time slot and the backup downlink time slot is an empty set.
[0145] 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.
[0146] Step 1505: The second optical terminal obtains the primary port identifier carried by the primary downstream data flow.
[0147] Step 1506: The second optical terminal obtains the backup port identifier carried by the backup downstream data flow.
[0148] Step 1507: Select one path from the main downstream data flow and the backup downstream data flow of the second optical terminal to extract the downstream service.
[0149] For a description of the execution process of steps 1504 to 1507 shown in this embodiment, please refer to Fig.14 The corresponding descriptions of step 1401 to step 1407 are not repeated in detail.
[0150] 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.
[0151] Fig.16 This is a flowchart of the steps of the third embodiment of the data transmission method provided by the present application. The method shown in this embodiment can enable the optical head end to measure the RTT of each optical terminal to obtain the main downlink time slot and the backup downlink time slot.
[0152] Step 1601: The optical head end occupies the main ranging time slot and sends a main ranging message to the optical terminal through the main link.
[0153] The optical terminal shown in this embodiment may be a first optical terminal with low reliability, or may be a second optical terminal with high reliability.
[0154] 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.
[0155] Wherein, on the time axis, the intersection between the primary ranging time slot and the backup ranging time slot is an empty set.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] 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.
[0160] For a detailed description of the distance measurement process shown in this embodiment, see Figure 8 The corresponding instructions are not elaborated in detail.
[0161] The present application embodiment provides an optical communication device. The structure of the optical communication device can be seen in Fig.17 As shown, Fig.17 This is a diagram showing an example structure of the first embodiment of the optical communication device provided in this application.
[0162] 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 realize the functions of data reception and transmission, or only realize the data transmission function, or only realize the data reception function. The processor 1701 may include at least one of an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor or a neural network processor (neural-network processing unit, NPU). The transceiver 1703 receives electromagnetic waves, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 1701. The transceiver 1703 can also receive the signal to be sent from the processor 1701, modulate the frequency of the signal, amplify the signal, and convert the signal into electromagnetic waves for radiation. The memory 1702 stores program instructions.
[0163] The optical communication device 1700 shown in this embodiment is an optical head end. Fig.14 as well as Fig.15 In the illustrated embodiment, the processor 1701 calls the computer-readable storage medium in the memory 1702 to obtain the main downlink data stream and the start time and end time of the main downlink time slot. The processor 1701 sends the main downlink data stream to the transceiver 1703 and indicates the start time and end time of the main downlink time slot. The transceiver 1703 is used to execute steps 1401 and 1501. The processor 1701 obtains the backup downlink data stream and the start time and end time of the backup downlink time slot. The processor 1701 sends the backup downlink data stream to the transceiver 1703 and indicates the start time and end time of the backup downlink time slot. The transceiver 1703 is used to execute steps 1403 and 1503. Fig.16In the illustrated embodiment, the processor 1701 calls the computer-readable storage medium in the memory 1702 to obtain the primary ranging message and the start time and the end time of the primary ranging time slot. The processor 1701 sends the primary ranging message to the transceiver 1703 and indicates the start time and the end time of the primary ranging time slot. The transceiver 1703 is used to perform step 1601. The processor 1701 obtains the backup ranging message and also obtains the start time and the end time of the backup ranging time slot. The processor 1701 sends the backup ranging message to the transceiver 1703 and indicates the start time and the end time of the backup ranging time slot. The transceiver 1703 is used to perform step 1602. The processor 1701 is also used to perform steps 1605 to 1606.
[0164] The optical communication device 1700 shown in this embodiment is a first optical terminal. Fig.14 In the illustrated embodiment, the transceiver 1703 is used to execute step 1402 and step 1404. The processor 1701 is used to execute step 1405 to step 1407. Fig.16 In the embodiment shown, the transceiver 1703 is used to execute steps 1603 to 1604. The optical communication device 1700 shown in this embodiment is a second optical terminal. Fig.15 In the illustrated embodiment, the transceiver 1703 is used to execute step 1502 and step 1504. The processor 1701 is used to execute step 1505 to step 1507. Fig.16 In the illustrated embodiment, the transceiver 1703 is configured to execute steps 1603 to 1604 .
[0165] This embodiment also provides a Fig.18 The optical communication device shown, Fig.18 The structure of the optical communication device is described from the perspective of functional modules. Fig.18 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 perform Fig.14 , Fig.15 as well as Fig.16 The processing module 1802 is used to execute Fig.14 , Fig.15 as well as Fig.16 In any embodiment, the steps related to processing. 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 perform Fig.14 as well as Fig.16The processing module 1802 is used to execute Fig.14 as well as Fig.16 In any embodiment, the steps related to processing. 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 Fig.15 as well as Fig.16 The processing module 1802 is used to execute Fig.15 as well as Fig.16 In any one of the embodiments, the steps related to processing.
[0166] The embodiment of the present application also provides a computer-readable storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes Fig.14 , Fig.15 and Fig.16 The method shown in any one of the method embodiments.
[0167] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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, 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, 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, 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, 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, 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 further 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, 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 data flow and the second main downlink data flow to the 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 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 data transmission method, 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, 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, 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, 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, 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, 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 data transmission method, 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, 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, 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, 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, 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. The optical network according to claim 16 or 17, 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. The optical network according to any one of claims 16 to 18, 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. The optical network according to any one of claims 16 to 18, 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. An optical head end, 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, 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, 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
Cited By
Data transmission method, optical network, related device, and storage medium
EP4668622A1
Data transmission method, optical network, related device, and storage medium
WO2024239952A1
