WO2024045813A1 - Procédé de transmission de données, dispositif associé et système - Google Patents

Procédé de transmission de données, dispositif associé et système Download PDF

Info

Publication number
WO2024045813A1
WO2024045813A1 PCT/CN2023/102519 CN2023102519W WO2024045813A1 WO 2024045813 A1 WO2024045813 A1 WO 2024045813A1 CN 2023102519 W CN2023102519 W CN 2023102519W WO 2024045813 A1 WO2024045813 A1 WO 2024045813A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication node
data stream
service
interworking
data flow
Prior art date
Application number
PCT/CN2023/102519
Other languages
English (en)
Chinese (zh)
Inventor
曾小飞
刘思迪
林斌超
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024045813A1 publication Critical patent/WO2024045813A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • This application relates to the field of optical fiber communications, and in particular, to a data transmission method, related equipment and systems.
  • Figure 1 is an example diagram of the first structure of a ring network provided by existing solutions.
  • the ring network includes a first central office (central office, CO) device 101 and a second CO device 102.
  • N communication nodes are connected in sequence between the first CO device 101 and the second CO device 102, where N is any positive integer greater than 1.
  • communication node 1, communication node 2, communication node N-1 and communication node N are connected in sequence between the first CO device 101 and the second CO device 102.
  • the N communication nodes included in the ring network all sending uplink services to the first CO device 101 as an example, the N communication nodes use time division multiple access (TDMA) to send uplink services to the first CO device 101 .
  • TDMA time division multiple access
  • the interworking services that the communication node N needs to send to the communication node N-1 need to be forwarded through the first CO device 101.
  • communication node N generates an uplink service data flow carrying interworking services, and the uplink service data flow is sent to the first CO device 101 via communication point N-1, communication node 2, and communication node 1 in sequence.
  • the first CO device 101 parses the interworking service from the uplink service data flow, and the first CO device 101 generates a downlink service data flow carrying the identity of the communication node N-1, and the downlink service data flow carries the interworking service.
  • Communication node 1 and communication node 2 forward the downlink service data flow to communication node N-1 in sequence.
  • the communication node N-1 parses the downlink service data flow and obtains the interworking service.
  • Embodiments of the present application provide a data transmission method, related equipment and systems, which are used between two communication nodes to realize the transmission of interoperable services without the need for forwarding by central office equipment.
  • the first aspect of the embodiment of the present application provides a data transmission method.
  • the first communication node obtains a first service data stream, and the first service data stream is used for the transmission of services between the central office equipment and the second communication node;
  • the first communication node obtains a first interoperability data stream.
  • the first interoperability data stream is used for the transmission of interoperability services between the first communication node and the third communication node.
  • the first service data stream and the first interoperability data stream are The data flow is two different data flows.
  • the first communication node and the second communication node are the same communication node, and the first service data stream is used for the transmission of services between the first communication node and the central office equipment, or, the The first communication node and the second communication node are different communication nodes, and the first service data flow is used for the transmission of services between the second communication node and the central office equipment.
  • interworking services can be transmitted between the first communication node and the third communication node based on the first interworking data flow. Moreover, the transmission process of the interworking service between the first communication node and the third communication node does not need to be forwarded by the central office equipment, which reduces the delay in transmitting the interworking service between the first communication node and the third communication node.
  • the first service data flow and the first interworking data flow are two data flows transmitted in the same direction, and the first communication node obtains the first interworking After the data flow, the method further includes: the first communication node merging the first service data flow and the first interworking data flow into a first transmission data flow; the first communication node sending the first A transport data stream.
  • the transmission of the first interworking data flow and the first service data flow uses one wavelength of the first communication node. , improving the transmission efficiency.
  • the first interoperable data flow can also realize the transmission of interoperable services between two communication nodes without the need for forwarding by central office equipment, reducing the cost of any two The delay of interactive services between communication nodes.
  • the first communication node obtains a first interoperable data stream including: the first communication node obtains a second interoperable data stream, and the second interoperable data stream is continuous
  • the data flow, the second interworking data flow includes interworking services and/or filling information; the first communication node obtains the first interworking data flow according to the second interworking data flow.
  • the third communication node is a downstream communication node of the first communication node, and the interworking service includes the information sent by the first communication node to the third communication node.
  • the first interworking service of the node, the first communication node obtaining the first interworking data flow according to the second interworking data flow includes: the first communication node carries the third interworking data flow on the second interworking data flow.
  • the first communication node can send the first interworking service to the downstream communication node through the first interworking data flow, and the process of the first communication node sending the first interworking service to the downstream communication node does not need to be forwarded by the central office device.
  • the transmission delay of the first interworking service is reduced.
  • the first communication node carries the first interworking service on the second interworking data flow
  • obtaining the first interworking data flow includes: A communication node carries the first interworking service on the first interworking time slot of the second interworking data stream according to the interworking time slot scheduling message, and obtains the first interworking data stream.
  • the interworking time slot scheduling message is used to indicate the first interworking time slot.
  • each communication node sends interworking services according to the allocated interworking time slots, avoiding the possibility of conflicts in the interworking time slots occupied by interworking services from different communication nodes, and improving interworking services. successful transmission.
  • the first communication node carries the first interworking service on the second interworking data flow
  • obtaining the first interworking data flow includes: A communication node replaces part of the filling information included in the second interworking data flow with the first interworking service to obtain the first interworking data flow.
  • the first communication node does not need to send the first interworking service according to the time slot indicated by the interworking time slot scheduling message, but replaces part of the filling information included in the second interworking data stream with the first interworking service. , obtaining the first interoperable data stream, improving the efficiency of the first interoperable service transmission, and reducing the waste of interoperable data stream bandwidth.
  • the third communication node is an upstream communication node of the first communication node
  • the interworking service includes the third communication node sending a message to the first communication node.
  • the second interworking service of the node, the first communication node obtaining the first interworking data flow according to the second interworking data flow includes: the first communication node obtaining the second interworking time from the second interworking data flow. Extract the second interworking service on the slot; if the first communication node determines that the second interworking service is only the interworking service processed by the first communication node, then the filling information is carried on the second interworking time slot. , obtain the first interworking data stream.
  • the first communication node can directly extract the second interworking service from the second interworking data flow, ensuring The third communication node sends the success of the second interworking service to the first communication node.
  • the third communication node is an upstream communication node of the first communication node
  • the interworking service includes the third communication node sending a message to the first communication node.
  • the third interworking service of the node, the first communication node obtaining the first interworking data flow according to the second interworking data flow includes: the first communication node extracting the third interworking data flow from the second interworking data flow.
  • Three interworking services if the first communication node determines that the third interworking service needs to be sent to a downstream communication node, the first communication node carries the third interworking service on the second interworking data stream, and obtains The first interworking data flow.
  • the first communication node can directly extract the third interworking service from the second interworking data stream. After determining the third interworking service, When the third interworking service needs to be sent to a downstream communication node, the first communication node carries the third interworking service on the second interworking data stream and obtains the first interworking data stream to ensure that the downstream communication node Can successfully receive the third interworking service.
  • the first communication node merging the first service data flow and the first interworking data flow into a first transmission data flow includes: the first communication The node multiplexes the first service data stream and the first interworking data stream to obtain the first transmission data stream.
  • the first service data flow and the first interworking data flow can be transmitted through one wavelength of the first communication node,
  • the efficiency of transmitting the first service data stream and the first interworking data stream is improved, and the utilization rate of the wavelength resource of the first communication node is improved.
  • the rate of the first transmission data flow is equal to the sum of the first service data flow rate and the first interworking data flow rate.
  • the rate of the first transmission data flow is equal to the sum of the rate of the first service data flow and the rate of the first interworking data flow, it is effectively guaranteed that the first transmission data flow and the first interworking data Timely transmission of streams.
  • the first communication node multiplexes the first service data stream and the first interworking data stream, and obtaining the first transmission data stream includes: The first communication node multiplexes the first service data stream and the first interworking data stream into the first transmission data stream through bit interleaving, wherein the first transmission data stream includes at least one bit Groups, each of the bit groups includes at least part of the bits in the first service data stream and at least part of the bits in the first interworking data stream.
  • Adopting this implementation method can improve the success rate of multiplexing the first service data stream and the first interworking data stream into the first transmission data stream.
  • the first communication node merging the first service data flow and the first interworking data flow into a first transmission data flow includes: the first communication The node re-modulates the first interoperability data stream on the first service data stream through modulation to obtain the first transmission data stream.
  • the first service data flow and the first interworking data flow can be transmitted through one wavelength of the first communication node, which improves the efficiency of transmitting the first service data flow and the first interworking data flow.
  • the efficiency improves the utilization rate of wavelength resources of the first communication node.
  • the method before the first communication node obtains the first interworking data stream, the method further includes: the first communication node generates the second interworking data stream, so The second interworking data flow is a continuous data flow, and the second interworking data flow includes interworking services and/or filling information.
  • the first service data flow includes downlink services sent by the central office device to the first communication node, and the first communication node obtains the first service data
  • the flow includes: the first communication node obtains the second service data flow; the first communication node obtains the downlink service carried by the second service data flow; the first communication node copies the second service data flow to obtain the first service data flow.
  • the first communication node when the first communication node receives the second service data stream, it first copies the second service data stream to obtain the first service data stream, because the first communication node does not need to execute the acquisition from the second service data stream.
  • the related operations of the downlink service effectively reduce the delay of the first communication node sending the first service data stream.
  • the first communication node obtaining the second service data flow includes:
  • the first communication node receives a second transmission data stream, the second transmission data stream has merged the second service data stream and the second interworking data stream, and the second interworking data stream is used to obtain the first interworking Data flow: the first communication node obtains the second service data flow and the second interworking data flow according to the second transmission data flow.
  • the merged second service data flow and the second interworking data flow can be transmitted through one wavelength of the first communication node, which improves the efficiency of transmitting the second service data flow and the second interworking data flow. , improving the utilization rate of wavelength resources of the first communication node.
  • the first service data flow includes uplink services sent by the first communication node to the central office device, and the first communication node obtains the first service data flow including : The first communication node obtains the third service data flow; the first communication node carries the uplink service on the first service time slot of the third service data flow, and obtains the first service data flow.
  • the combined first service data stream and the first interworking data stream can be transmitted through one wavelength of the first communication node, which improves the transmission efficiency and improves the utilization of the wavelength resources of the first communication node.
  • the first communication node obtaining the third service data flow includes:
  • the first communication node receives a second transmission data stream, the second transmission data stream has merged the third service data stream and the second interworking data stream, and the second interworking data stream is used to obtain the first interworking Data flow: the first communication node obtains the third service data flow and the second interworking data flow according to the second transmission data flow.
  • the merged third service data flow and the second interworking data flow can be transmitted through one wavelength of the first communication node, which improves the efficiency of transmitting the third service data flow and the second interworking data flow. , improving the utilization rate of wavelength resources of the first communication node.
  • the first service data flow includes a first sub-service and a second sub-service
  • the third One sub-service is the downlink service sent by the first central office equipment to the first communication node
  • the second sub-service is the uplink service sent by the first communication node to the second central office equipment
  • the first communication The node obtaining the first service data flow includes: the first communication node obtains the fourth service data flow; the first communication node obtains the first sub-service carried by the fourth service data flow; the first The communication node copies the fourth service data stream to obtain the first sub-service data stream; the first communication node obtains the fifth service data stream; the first communication node obtains the second service data stream of the fifth service data stream.
  • the second sub-service is carried on the time slot to obtain a second sub-service data stream; the first communication node merges the first sub-service data stream and the second sub-service data stream into the first service data flow.
  • the combined first sub-service data flow, the second sub-service data flow and the first interworking data flow can be transmitted through one wavelength of the first communication node, which improves the utilization of the wavelength resources of the first communication node. .
  • the method is applied to an optical communication system, and the optical communication system includes the central office device and a plurality of communication nodes connected to the central office device in sequence;
  • the first communication node and the third communication node are two different communication nodes among the plurality of communication nodes; wherein the first communication node and the second communication node are among the plurality of communication nodes. the same communication node, or the first communication node and the second communication node are two different communication nodes among the plurality of communication nodes.
  • the method is applied to an optical communication system.
  • the optical communication system further includes the first central office device and the second central office device.
  • the optical communication system also includes a plurality of communication nodes connected in sequence between the first central office equipment and the second central office equipment; the first communication node and the third communication node are among the plurality of communication nodes. Two different communication nodes;
  • the first communication node and the second communication node are the same communication node among the plurality of communication nodes, or the first communication node and the second communication node are the plurality of communication nodes. Two different communication nodes in the node.
  • the second aspect of the embodiment of the present application provides a data transmission method.
  • the method includes: a central office device generates a service data flow, and the service data flow is used for the transmission of services between the central office device and a communication node;
  • the central office equipment generates an interoperable data stream, the interoperable data stream is used for the transmission of interoperable services between one communication node and another communication node, and the service data stream and the interoperable data stream are two different data streams;
  • the central office equipment combines the service data flow and the interworking data flow into a transmission data flow; the central office equipment sends the transmission data flow.
  • the central office device merging the service data flow and the interworking data flow into a transmission data flow includes: the central office device multiplexes the service data flow and the interworking data stream to obtain the transmission data stream.
  • the central office device merging the service data flow and the interworking data flow into a transmission data flow includes: the central office device passing the interworking data flow through The top-modulation method is re-modulated on the service data stream to obtain the second transmission data stream.
  • the third aspect of the embodiment of the present application provides a data transmission method.
  • the method is applied to a first communication node.
  • the first communication node includes at least one receiving port RX and at least one transmitting port TX.
  • the method includes: The first communication node receives the first ad hoc network data stream from the second communication node through a first RX, the first RX is one of the at least one RX, and the first RX and the second Communication nodes are connected; the first communication node sends a second ad hoc network data stream to the second communication node through a first TX, the first TX is one of the at least one TX, and the first TX is connected to the second communication node, the first ad hoc network data stream and the second ad hoc network data stream are used for the transmission of ad hoc network services, and the ad hoc network services are for the first communication node and the second communication node.
  • an ad hoc network can be created between multiple communication nodes, which effectively reduces the delay in transmitting ad hoc network services and ensures that each communication node in the ad hoc network obtains ad hoc network services in a timely manner.
  • the first ad hoc network data stream and the second ad hoc network data stream are continuous data streams respectively, and the first ad hoc network data stream includes The ad hoc network service and/or filling information, the second ad hoc network data stream includes the ad hoc network service and/or filling information.
  • the ad hoc network service includes the first ad hoc network service sent by the first communication node to the second communication node, and the first communication node passes Before the first TX sends the second ad hoc network data stream to the second communication node, The method further includes: the first communication node carrying the first ad hoc network service on the second ad hoc network data stream.
  • Adopting this implementation method can ensure that the first communication node successfully sends the first ad hoc network service to the second communication node, and the process of sending the first ad hoc network service does not require forwarding by the central office equipment, reducing the cost of the first ad hoc network service. network service transmission delay.
  • the first communication node carrying the first ad hoc network service on the second ad hoc network data stream includes: the first communication node carries the first ad hoc network service according to the self-organizing network data stream.
  • a networking time slot scheduling message is used to carry the first ad hoc network service on the first ad hoc network time slot of the second ad hoc network data stream, and the ad hoc network time slot scheduling message is used to indicate the The first ad hoc network time slot.
  • each communication node can send ad hoc network services according to the assigned ad hoc network time slot, so as to avoid the ad hoc network time occupied by ad hoc network services from different communication nodes.
  • the possibility of conflict in slots improves the successful transmission of ad hoc network services.
  • the first communication node carrying the first ad hoc network service on the second ad hoc network data stream includes: the first communication node transmits the first ad hoc network service to the second ad hoc network data stream. Part of the filling information included in the second ad hoc network data stream is replaced with the first ad hoc network service.
  • the communication node does not need to send the first ad hoc network service according to the ad hoc network time slot indicated by the ad hoc network time slot scheduling message, but replaces part of the filling information included in the second ad hoc network data stream.
  • the efficiency of transmission of the first ad hoc network service is improved and the waste of the second ad hoc network data stream bandwidth is reduced.
  • the ad hoc network service includes the second ad hoc network service sent by the second communication node to the first communication node, and the first communication node passes After the first RX receives the first ad hoc network data stream from the second communication node, the method further includes: the first communication node obtains the first ad hoc network data stream from the second ad hoc network time slot of the first ad hoc network data stream. Extract the second ad hoc network service.
  • Adopting this implementation method can ensure that the second communication node successfully sends the second ad hoc network service to the first communication node, and the process of sending the second ad hoc network service does not require forwarding by the central office equipment, reducing the cost of the second ad hoc network service. network service transmission delay.
  • the at least one RX further includes a second RX
  • the at least one TX further includes a second TX
  • the second RX and the second TX are in conjunction with a third Communication nodes are connected, and after the first communication node receives the first ad hoc network data stream from the second communication node through the first RX, the method further includes: the first communication node responds to the first ad hoc network data flow according to the first communication node.
  • the data flow obtains a third ad hoc network data stream; the first communication node sends the third ad hoc network data stream to the third communication node through the second TX; the first communication node sends the third ad hoc network data stream through the first Before TX sends the second ad hoc network data stream to the second communication node, the method further includes: the first communication node receives the fourth ad hoc network data stream from the third communication node through the second RX.
  • the first communication node obtains the second ad hoc network data stream according to the fourth ad hoc network data stream, and the third ad hoc network data stream and the fourth ad hoc network data stream are used to , transmission of ad hoc network services between the first communication node and the third communication node.
  • an ad hoc network including at least a first communication node, a second communication node, and a third communication node can be created, ensuring that any two of the first communication node, the second communication node, and the third communication node communicate. Successful transmission of interworking services between nodes.
  • the first communication node has and only the first RX is used to communicate with the central office equipment; the second communication node is connected to the central office equipment and all Between the first communication nodes, before the first communication node receives the first ad hoc network data stream from the second communication node through the first RX, the method further includes: the first communication node detects that the A fault event occurs between the first RX and the central office equipment; the first communication node sends a first detection data stream to the second communication node through the first TX; the first communication node passes through the The first RX receives a second probing data stream from the second communication node, and the first probing data stream and the second probing data stream are used to create a connection between the first communication node and the second communication node. Transmission of ad hoc network services.
  • the first communication node has and only the first RX is used to communicate with the central office equipment, if a fault event occurs between the first RX and the central office equipment, based on The first probing data stream and the second probing data stream create an ad hoc network including a first communication node and a second communication node.
  • the uplink and downlink service transmission cannot be successfully performed between the first communication node and the central office equipment, by creating an ad hoc network including the first communication node and the second communication node, the first communication node and the second communication node are realized. Transmission of ad hoc network services between two communication nodes.
  • the first RX is connected to a first central office device, and the second communication node is connected between the first central office device and the first communication node.
  • the second RX is connected to the second central office equipment, the third communication node is connected between the second central office equipment and the first communication node, and the first communication node passes through the first RX receive from second
  • the method further includes: the first communication node detects a fault event between the first RX and the first central office device; the first communication The node detects a fault event between the second RX and the second central office equipment; the first communication node sends a first detection data stream to the second communication node through the first TX; the The first communication node receives a second probing data stream from the second communication node through the first RX.
  • the first probing data stream and the second probing data stream are used to create the first communication node and the second probing data stream.
  • the first communication node when the first communication node cannot successfully transmit uplink and downlink services with the first central office equipment, and the first communication node cannot successfully transmit uplink and downlink services with the second central office equipment, it is possible to successfully create a network including The self-organizing network of the first communication node, the second communication node and the third communication node ensures the successful transmission of interworking services between any two communication nodes among the first communication node, the second communication node and the third communication node.
  • the first communication node further includes a switch array, the switch array is connected to the first RX and the first TX, and the switching array is also connected to the interworking
  • the processing module is connected, and before the first communication node receives the first ad hoc network data stream from the second communication node through the first RX, the method further includes: the switch array switches the first RX to be connected to the first communication node.
  • the interworking processing module is connected to a receiving port and is used to receive the first ad hoc network data stream; the switch array switches the first TX to be connected to the interworking processing module and is used to send the third Two sending ports for the ad hoc network data flow.
  • the interoperability processing module is used to realize the transmission of the ad hoc network service according to the first ad hoc network data flow and the second ad hoc network data flow.
  • the ad hoc network data flow is
  • the service is the service between the first communication node and the second communication node.
  • the fourth aspect of the embodiment of the present application provides a communication node.
  • the communication node includes a transceiver and a service processor.
  • the transceiver is connected to the service processor; the service processor is used to obtain the first service data flow.
  • the first service data flow is used for the transmission of services between the central office equipment and the second communication node; the service processor is also used to obtain the first interworking data flow, and the first interworking data flow is used for the transceiver
  • the first service data flow and the first interworking data flow are two different data flows.
  • the fifth aspect of the embodiment of the present application provides a central office device.
  • the central office device includes a transceiver and a service processor.
  • the transceiver is connected to the service processor; the service processor is used to generate a service data stream.
  • the service data flow is used for the transmission of services between the central office equipment and the communication node;
  • the service processor is also used to generate interworking data flow, the interworking data flow is used between one communication node and another communication node Transmission of interoperable services, the first service data flow and the first interoperable data flow are two data streams transmitted in the same direction;
  • the service processor is also used to combine the service data flow and the interoperable data
  • the streams are combined into transport data streams; the transceiver is used to send the transport data streams.
  • the sixth aspect of the embodiment of the present application provides a communication node.
  • the communication node includes at least one receiving port RX and at least one sending port TX: the first RX is used to receive the first ad hoc network data stream from another communication node. , the first RX is one of the at least one RX, and the first RX is connected to the other communication node; the first TX is used to send the second ad hoc network data to the other communication node stream, the first TX is one of the at least one TX, and the first TX is connected to the other communication node, the first ad hoc network data stream and the second ad hoc network data
  • the flow is used for the transmission of ad hoc network services, and the ad hoc network services are services between the communication node and the other communication node.
  • the seventh aspect of the embodiment of the present application provides an optical communication system.
  • the optical communication system includes a central office device and a plurality of communication nodes connected to the central office device in sequence; the first communication node is used to obtain first service data. flow, the first service data flow is used for the transmission of services between the central office equipment and the second communication node; the first communication node is used to obtain the first interworking data flow, and the first interworking data flow is used for the Transmission of interworking services between the first communication node and the third communication node, the first service data flow and the first interworking data flow are two different data flows; the first communication node and the third communication node The three communication nodes are two different communication nodes among the plurality of communication nodes.
  • the eighth aspect of the embodiment of the present application provides an optical communication system.
  • the optical communication system includes a first central office device and a second central office device.
  • the optical communication system further includes a device connected to the first central office device in turn. and a plurality of communication nodes between the first central office device and the second central office device; the first communication node is used to obtain a first service data flow, and the first service data flow is used between the first central office device and the second communication node.
  • the first service data stream is also used for the transmission of services between the second central office equipment and the second communication node; the first communication node is used to obtain the first interworking data stream, The first interoperable data stream is used for the transmission of interoperable services between the first communication node and the third communication node, and the first service data stream and the first interoperable data stream are two different data streams; The first communication node and the third communication node are two different communication nodes among the plurality of communication nodes.
  • a ninth aspect of the embodiment of the present application provides an optical communication system.
  • the optical communication system includes a first communication node and a second communication node.
  • the first communication node includes at least one receiving port RX and at least one transmitting port TX;
  • the first communication node is configured to receive a first ad hoc network data stream from the second communication node through a first RX, where the first RX is one of the at least one RX, and the first RX Connected to the second communication node;
  • the first communication node is configured to send a second ad hoc network data stream to the second communication node through a first TX, where the first TX is one of the at least one TX One, and the first TX is connected to the second communication node, the first ad hoc network data stream and the second ad hoc network data stream are used for the transmission of ad hoc network services, and the ad hoc network services It is the service between the first communication node and the second communication node.
  • a tenth aspect of the embodiments of the present application provides a readable storage medium. Execution instructions are stored in the readable storage medium. When at least one processor executes the execution instructions, any one of the first to third aspects is executed. Methods.
  • Figure 1 is an example diagram of the first structure of a ring network provided by existing solutions
  • Figure 2 is a diagram of a first structural example of a ring network provided by an embodiment of the present application
  • Figure 3 is a first step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 4a is a first structural example diagram of OLT1 provided by the embodiment of the present application.
  • Figure 4b is an example diagram of the second structure of OLT1 provided by the embodiment of the present application.
  • Figure 5 is a structural example diagram of the downlink service data flow provided by the embodiment of the present application.
  • Figure 6a is an example diagram of the first relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application;
  • Figure 6b is an example diagram of the second relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application;
  • Figure 6c is a third example diagram of the relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application;
  • Figure 6d is an example diagram of the fourth relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application;
  • Figure 7 is a first structural example diagram of ONU1 provided by the embodiment of the present application.
  • Figure 8a is a first example diagram of ONU1 obtaining the first interoperable data stream provided by the embodiment of the present application;
  • Figure 8b is a second example diagram of ONU1 obtaining the first interoperable data stream provided by the embodiment of the present application.
  • Figure 8c is an example diagram of the frame format of the first interworking data frame provided by the embodiment of the present application.
  • Figure 9a is a third example diagram of ONU1 obtaining the first interoperable data stream provided by the embodiment of the present application.
  • Figure 9b is a fourth example diagram of ONU1 obtaining the first interoperable data stream provided by the embodiment of the present application.
  • Figure 10a is a first structural example diagram of OLT2 provided by the embodiment of the present application.
  • Figure 10b is a second step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 10c is a first structural example diagram of ONU2 provided by the embodiment of the present application.
  • Figure 11a is a third step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 11b is an example structural diagram of an ONU provided by the embodiment of the present application.
  • Figure 12 is a fourth step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 13 is a third structural example diagram of OLT1 provided by the embodiment of the present application.
  • Figure 14 is a fifth step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 15 is an example diagram of the second structure of ring networking provided by the embodiment of the present application.
  • Figure 16 is an example diagram of the second structure of ring networking provided by existing solutions.
  • Figure 17 is a diagram of a first structural example of networking provided by an embodiment of the present application.
  • Figure 18 is a second structural example diagram of ONU2 provided by the embodiment of the present application.
  • Figure 19 is a sixth step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 20 is a third structural example diagram of ONU2 provided by the embodiment of this application.
  • Figure 21 is an example diagram of the third structure of ring networking provided by existing solutions.
  • Figure 22 is a fourth structural example diagram of ONU2 provided by the embodiment of the present application.
  • Figure 23 is a seventh step flow chart of the data transmission method provided by the embodiment of the present application.
  • Figure 24 is a fifth structural example diagram of ONU2 provided by the embodiment of the present application.
  • Figure 25 is a structural example diagram of a communication device provided by an embodiment of the present application.
  • Figure 26 is an example diagram of a dual-ring network structure provided by an embodiment of the present application.
  • the ring network includes a first CO device 101, a second CO device 102, and N connected between the first CO device 101 and the second CO device 102 in sequence. communication nodes.
  • the first CO device 101 is also connected to the second CO device 102 .
  • N shown in this example is any positive integer greater than 1.
  • the first CO device 101 and the second CO device 102 are control centers and signal aggregation processing nodes, such as issuing commands to control various communication nodes. Each communication node needs to feed back information to the first CO device 101 or the second CO device 102.
  • the first CO device 101 is used to implement data transmission between each communication node and the upper layer network.
  • the first CO device 101 can act as an intermediary between each communication node and the upper layer network.
  • the first CO device 101 can forward downlink traffic received from the upper layer network to the corresponding communication node and forward uplink traffic received from each communication node to the upper layer network.
  • the upper layer network can be the Internet, public switched telephone network (PSTN), interactive Internet television (IPTV), voice over Internet protocol (VoIP) and other networks.
  • PSTN public switched telephone network
  • IPTV interactive Internet television
  • VoIP voice over Internet protocol
  • the following describes the workflow of ring networking: taking the service sent by the first CO1 device 101 to the communication node as a downlink service as an example, if the first CO device 101 sends downlink service to the communication node 2, such as sending a control command, etc.
  • the first CO device 101 sends downlink traffic to the communication node 1 to the communication node 2 .
  • the communication node 1 receives the downlink service from the first CO device 101, the communication node 1 analyzes the downlink service and determines that the downlink service is sent to the communication node 2, then the communication node 1 continues to send the downlink service to the node 2. .
  • the communication node N sends the uplink service to the first CO device 101
  • the communication node N is connected between the communication node N and the first CO device 101 via The communication nodes send the uplink services in sequence.
  • the communication node N sends the uplink service to the communication node N-1, and by analogy, the communication node 1 sends the uplink service to the first CO device 101.
  • the advantage of using a ring network is that once a failure occurs between two communication nodes, it will not affect the normal communication of the ring network. For example, if a fault occurs between communication node 2 and communication node N-1, communication node 2 does not need to communicate through the link between communication node 2 and communication node N-1.
  • the communication node 2 communicates with the communication node 1 normally, and the communication node 1 communicates with the first CO device 101 to ensure normal communication between the communication node 2 and the first CO device 101.
  • the communication node N-1 communicates with the communication node N, and the communication node N communicates with the second CO device 102 to ensure normal communication between the communication node N-1 and the second CO device 102.
  • the traffic that the communication node 2 needs to send to the second CO device 102 can be forwarded by the first CO device 101.
  • the communication node N-1 needs to send The traffic to the first CO device 101 can be forwarded by the second CO device 102 .
  • This application provides a data transmission method applied to a ring network.
  • the method shown in this embodiment can realize communication between any two communication nodes included in the ring network, and between any two communication nodes
  • the exchanged interworking services do not need to be forwarded through central office equipment.
  • This embodiment does not limit the application scenarios of ring networking.
  • ring networking is used in optical transport network (OTN), industrial control, data backhaul, data center, monitoring center, etc. There are no specific limitations. .
  • OTN optical transport network
  • FIG. 1 For the description of the ring networking structure, please refer to the description in Figure 1, and the details will not be repeated.
  • This embodiment does not limit the device types of each device included in the ring network.
  • the CO device can be a base station controller (BSC), and the communication node can be a base transciver station (BTS). ).
  • BSC base station controller
  • BTS base transciver station
  • the CO device can be a server, etc.
  • the communication node can be a switch.
  • the CO device can be a baseband processing unit (building baseband unit, BBU), and the communication node can be a radio remote unit. RRU), as another example, the CO device can be a switch, and the communication node can be a terminal device such as a surveillance camera.
  • the CO equipment included in the ring network can be an optical line terminal (OLT), and the communication node can be an optical network unit (ONU).
  • OLT optical line terminal
  • ONU optical network unit
  • the ring networking applied in this application can be seen in Figure 2, where Figure 2 is a first structural example diagram of the ring networking provided by the embodiment of this application.
  • the ring network includes OLT1, OLT2 and N ONUs connected between OLT1 and OLT2 in sequence.
  • OLT1 and OLT2 may be two communication boards included in the same OLT.
  • OLT1 and OLT2 may be two independent OLTs that have a connection relationship.
  • any two adjacent ONUs do not need to be connected through an optical splitter, and there is no need to connect the OLT1 to the adjacent ONU (that is, ONU1 shown in Figure 2) through an optical splitter.
  • OLT2 there is no need to connect OLT2 to the adjacent ONU (i.e. ONU2) through an optical splitter.
  • ONU1 has two communication ports. One communication port of ONU1 is directly connected to OLT1 through an optical fiber, and the other communication port of ONU1 is directly connected to ONU2 through an optical fiber.
  • the communication delay is effectively reduced, and since the ring network does not require the layout of optical splitters, the deployment difficulty of the ring network is reduced, the deployment efficiency is improved, and the insertion time of the ring network is reduced. damage.
  • the value of N is 2 as an example, and the specific value of N is not limited.
  • OLT1, N ONUs and OLT2 to form a ring network there is no limitation. For example, OLT1, N ONUs and OLT2 can also form a chain network or a tree network, etc.
  • Step 301 OLT1 generates a second downlink service data flow.
  • the second downlink service data flow shown in this embodiment is the downlink service data flow sent by OLT1 to each ONU in the ring network.
  • OLT1 includes a service processing module 402.
  • the service processing module 402 obtains downlink services to be sent to each ONU in the ring network.
  • the downlink services may be from the Internet, public switched telephone network (PSTN), interactive network television (IPTV), IP-based voice transmission (voice over internet protocol, VoIP) and other network services.
  • PSTN public switched telephone network
  • IPTV interactive network television
  • VoIP IP-based voice transmission
  • the service processing module 402 sends the downlink service to the service processing module 403.
  • the service processing module 403 encapsulates the downlink services sent to each ONU into the second downlink service data flow.
  • the second downlink service data flow includes multiple downlink data frames.
  • FIG. 5 is an example structural diagram of a downlink data frame provided by an embodiment of the present application.
  • the downlink data frame 500 includes a physical synchronization block (PSBd) 501 and a physical layer frame payload (physical layer frame payload) 502.
  • the payload502 is used to carry downlink services.
  • PSBd501 includes fields physical synchronization (PSync) field 511, superframe counter (superframe counter, SFC) field 512, operation control (operation control, OC) field 513 and upstream bandwidth map (upstream bandwidth map, US BWmap) field 514 .
  • PSync physical synchronization
  • superframe counter superframe counter
  • operation control operation control
  • upstream bandwidth map upstream bandwidth map, US BWmap
  • the Psync field 511 is a physical layer synchronization field, which can be used to carry downlink frame synchronization indicator symbols.
  • the SFC field 512 is used to carry the superframe number.
  • the superframe number carried by the SFC field 512 is essentially a frame cycle counter with a width of 30 bits. When the superframe number is 0, it indicates the start of a superframe.
  • the US BWmap field 514 is the time slot scheduling message shown in this embodiment. Specifically, the US BWmap field 514 is used to carry the user's bandwidth map (BWMAP) information.
  • US BWmap field 514 includes N allocation structures (Allocation Structure).
  • Each Allocation Structure includes a bandwidth allocation identifier (allocation identifier, Alloc-ID) field 521, a slot start time (start time) field 522, and a grant size (Grant size) field 523.
  • Allocation ID1 field is used to carry the identifier (Identity, ID) of ONU1 authorized to send.
  • the start time field is used to indicate the starting time of the time slot allocated by OLT1 to ONU1.
  • the Grant size field 523 is used to Indicates the length of the time slot granted to ONU1.
  • the Allocation ID2 field is the field allocated by OLT1 to ONU2, and so on.
  • the Allocation IDN field is the field allocated by OLT1 to ONUN.
  • each Allocation ID field please refer to the description of the Allocation ID1 field. The details will not be repeated.
  • the description of the downlink service data flow in this embodiment is optional and not limited, as long as each ONU included in the ring network can obtain the corresponding time slot according to the downlink service data flow.
  • each Allocation Structure1 field may include an end time, which is used to indicate the end time of the time slot.
  • the second downlink service data flow shown in this embodiment is a continuous data flow.
  • the two downlink data frames may be continuous, or the two downlink data frames may carry filling information.
  • the continuity of the second downlink service data flow is ensured, in which the filling information can be a regular or random byte string.
  • Step 302 OLT1 generates a second interworking data stream.
  • the second interworking data flow generated by OLT1 shown in this embodiment is a data flow used to carry interworking services interacted by two different ONUs.
  • the interworking service may be control signaling that ONU1 needs to send to ONU2.
  • the interworking service may be the service data that ONU1 needs to send to ONU2.
  • the service data please refer to the description of the above downlink service.
  • the interworking service may be ONU2's monitoring data for ONU1.
  • ONU2 monitors the wavelength or optical signal noise ratio (OSNR) of the communication between ONU1 and ONU2, etc.
  • OSNR optical signal noise ratio
  • the second interworking data stream generated by OLT1 is a continuous data stream that carries filling information. It can be understood that the second interoperable data flow shown in this embodiment is a continuous data flow, and all of the second interoperable data flow may be filler information. The second interoperable data flow may also be interoperable services. The second interworking data flow may also consist of interworking services and filling information.
  • the interoperability processing module 404 of OLT1 can generate a second interoperability data stream that carries filler information.
  • Figure 4b is a second structural example diagram of OLT1 provided by the embodiment of the present application.
  • the interoperability processing module 404 of OLT1 is connected to the service processing module 402.
  • the interoperability processing module 404 can obtain the interoperability service to be sent to any ONU from the service processing module 402.
  • the interoperability service sent by OLT1 to any ONU can be It is the control signaling, monitoring data or specific services sent by the OLT1 to the ONU, etc., which are not limited in this embodiment.
  • the interworking processing module 404 When the interworking processing module 404 obtains the interworking service that OLT1 needs to send to the ONU, the interworking processing module 404 carries the interworking service in the second interworking data flow. It can be understood that the second interworking data flow carries interworking services and filling information that OLT1 needs to send.
  • Step 303 OLT1 merges the second downlink service data flow and the second interworking data flow to obtain a second transmission data flow.
  • the second transmission data stream shown in this embodiment only occupies one wavelength of OLT1.
  • OLT1 simultaneously transmits the second transmission data stream through wavelength ⁇ 1.
  • the second downlink service data flow and the second interworking data flow There is no need for the second interworking data stream used to implement communication between two ONUs to occupy an independent wavelength, which effectively saves the number of wavelengths used by OLT1 to send the second downlink service data stream and the second interworking data stream to ONU1.
  • the OLT1 shown in this method multiplexes the second downlink service data stream and the second interworking data stream to obtain a second transmission data stream. Specifically, OLT1 multiplexes the second downlink service data stream and the second interworking data stream through time division to obtain a second transmission data stream.
  • the rate of the multiplexed second transmission data flow is greater than the rate of the second downlink service data flow
  • the rate of the second transmission data flow is greater than the rate of the second interworking data flow.
  • the second transmission data flow is K times the second downlink service data flow
  • the second transmission data flow is J times the second interworking data flow. K and J are both any natural numbers greater than 1.
  • Figure 6a is a diagram illustrating the first relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application.
  • the rate of the second transmission data flow is equal to the sum of the second downlink service data flow rate and the second interworking data flow rate.
  • the second downlink service data flow includes a plurality of second downlink data frames
  • the second interworking data flow includes a plurality of second interworking data frames, where each second interworking data frame carries padding information.
  • the frame length of each second downlink data frame and each second interworking data frame is 125 microseconds (microsecond, us).
  • the second transport data stream includes a plurality of second transport data frames.
  • OLT1 multiplexes the second downlink data frame 601 and the second interworking data frame 602 to obtain the second transmission data frame 603.
  • the frame length of the second transmission data frame 603 is also 125us.
  • OLT1 compresses each second downlink data frame 601 with a frame length of 125us into a frame length of 62.5us
  • OLT1 also compresses each second interworking data frame 602 with a frame length of 125us into a frame length of 62.5us.
  • the frame length of the second transmission data frame obtained by OLT1, which includes a second downlink data frame and a second interworking data frame is 125 us. It can be understood that the rate of the second transmission data frame 603 is twice the rate of the second downlink data frame 601 , and the rate of the second transmission data frame 603 is twice the rate of the second interworking data frame 602 .
  • OLT1 may multiplex the second downlink data frame 601 and the second interworking data frame 602 into the second transmission data frame 603 based on a bit interleaving method.
  • Bit interleaving refers to using time division multiplexing to separate the symbols of the second downlink service data stream in time, and the time in between can be filled by the symbols of the second interworking data frame 602.
  • the second transmission data frame 603 may include a bit group that includes all the bits of the second downlink service data flow frame with a length of 125 us, and the bit group also includes all the bits of the second interworking data frame 602 with a frame length of 125 us. Therefore, the rate of the second transmission data frame 603 shown in FIG. 6a is twice the rate of the second interworking data frame 602, and the rate of the second transmission data frame 603 is twice the rate of the second downlink service data flow.
  • the second transmission data frame includes a bit group as an example, without limitation, and as shown in Figure 6b, Figure 6b is the second downlink service data provided by the embodiment of the present application.
  • the frame length of the second downlink data frame, the second interworking data frame and the second transmission data frame are all 125 us as an example.
  • OLT1 divides the second downlink data frame 611 with a frame length of 125 us into two downlink subframes, namely the first downlink subframe 612 and the second downlink subframe 613.
  • the first downlink subframe 612 includes the first 62.5 us bits of the second downlink data frame 611.
  • the second downlink subframe 613 includes the last 62.5 us bits of the second downlink data frame 611 .
  • OLT1 divides the second interworking data frame 614 with a frame length of 125 us into two downlink interworking subframes, namely the first downlink interworking subframe 615 and the second downlink interworking subframe 616.
  • the first downlink interworking subframe 615 includes the first 62.5 us bits of the second interworking data frame 614.
  • the second downlink interworking subframe 616 includes the last 62.5 us bits of the second interworking data frame 614 .
  • OLT1 multiplexes the first downlink subframe 612 and the first downlink interworking subframe 615 to obtain a first bit group.
  • the frame length of the first bit group is 62.5 us.
  • OLT1 multiplexes the second downlink subframe 613 and the second downlink interworking subframe 616 to obtain the second bit group.
  • the frame length of the second bit group is 62.5us.
  • the second transmission data frame includes two bit groups as an example.
  • the details are not limited.
  • the second transmission data frame may include three bit groups, or four bit groups, or any number of bit groups.
  • J and K can be any natural number greater than or equal to 1.
  • the rate of the second downlink data frame and the rate of the second interworking data frame may also be unequal, as long as the second downlink data frame is equal to the rate of the second interworking data frame.
  • the rate of the service data flow is less than or equal to the rate of the second transmission data flow, and the rate of the second interworking data flow is less than or equal to the rate of the second transmission data flow.
  • Figure 6c is a third example of the relationship between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application. picture.
  • the rate of the multiplexed second transmission data stream is greater than the rate of the second downlink service data stream.
  • the second transmission data flow is K times the second downlink service data flow, and K is equal to 1.25.
  • the second downlink service data flow includes a plurality of second downlink data frames
  • the second interworking data flow includes a plurality of second interworking data frames.
  • Each second interworking data frame carries padding information.
  • the frame length of each second downlink data frame is 125us, and the frame length of each second interworking data frame is 25us.
  • the second transport data stream includes a plurality of second transport data frames. OLT1 multiplexes the second downlink data frame 621 and the second interworking data frame 622 to obtain the second transmission data frame 623.
  • the frame length of the second transmission data frame 623 is 125us.
  • OLT1 compresses the second downlink data frame with a frame length of 125us into 100us to multiplex it into the second transmission data frame.
  • the second transmission data The remaining 25us of the frame is used to carry the second interworking data frame.
  • the second downlink service data stream and the second interoperability data stream shown in this embodiment can be encoded based on non-return to zero (NRZ) code, and the second transmission data stream after multiplexing by OLT1 can be maintained NRZ encoding.
  • NRZ non-return to zero
  • the second downlink service data flow and the second interworking data flow are based on the NRZ encoding of the symmetric passive optical network (10-gigabit-capable symmetric passive optical network10G, XGS-PON), and the second transmission data flow after the rate is increased is also NRZ encoding based on XGS-PON.
  • the encoding methods of the second downlink service data stream before the rate increase, the second interworking data stream, and the second transmission data stream after the rate increase are the same. In other examples, they may also be different, for example, the second downlink The service data stream and the second interworking data stream are both based on NRZ encoding, and the encoding method of the second transmission data stream can be fourth-generation pulse amplitude modulation (PAM4).
  • PAM4 fourth-generation pulse amplitude modulation
  • OLT1 re-modulates the second interoperability data stream on the second downlink service data stream through top-level adjustment to obtain a second transmission data stream.
  • Figure 6d is a fourth method between the rate of the second downlink service data flow, the rate of the second interworking data flow and the rate of the second transmission data flow provided by the embodiment of the present application. Relationship example diagram.
  • OLT1 re-modulates the second interworking data stream 632 as the toll signal on the second downlink service data stream 631 to obtain the second transmission data stream 633.
  • the topping signal can also be called pilot tone, low-frequency perturbation signal, over-modulation signal, etc.
  • OLT1 generates a low-speed optical associated signal (i.e., the second interworking data flow 632) by adjusting the top, and loads the second interworking data flow 632 on the second downlink service data flow 631 that carries the service. .
  • the rate of the second interworking data flow 632 used as the top-up adjustment signal is smaller than the rate of the second downlink service data flow 631 used to carry downlink services.
  • the rate of the second downlink service data stream 631 before remodulation shown in this method is equal to the rate of the second transmission data frame 633 after remodulation. That is, using the re-modulation method shown in this method to re-modulate the second interworking data stream 632 on the second downlink service data stream 631 will not change the rate of the second downlink service data stream 631.
  • the merging module 405 of OLT1 is used to merge the second downlink service data flow and the second interworking data flow into a second transmission data flow through the above-mentioned merging method 1 or the above-mentioned merging method 2.
  • the OLT1 shown in this embodiment combines the second downlink service data flow and the second interworking data flow transmitted in the same direction. Transmission in the same direction means that the second downlink service data flow and the second interworking data flow are both emitted from OLT1 and transmitted through ONU1 and ONU2 in sequence.
  • Step 304 OLT1 sends the second transmission data stream to ONU1.
  • the second interworking data stream to be sent by OLT1 to ONU1 is a continuous data stream
  • the first service data stream is also a continuous data stream
  • the second transmission data stream after OLT1 merges is also a continuous data stream.
  • Continuous data flow The merging module 405 of OLT1 sends the obtained second transmission data stream to the optical module 401.
  • the optical module 401 is used for electro-optical conversion of the second transmission data stream to output the second transmission data stream in the form of an optical signal. Since the OLT 1 shown in this embodiment has multiplexed the second downlink service data stream and the second interworking data stream into a second transmission data stream, the second transmission data stream in the form of an optical signal output by the optical module 401 can only be Have a wavelength.
  • the wavelength of the second transport data stream is ⁇ 1.
  • the optical module 401 only sends an optical signal of one wavelength to ONU1 through the optical fiber connected between the optical module 401 and ONU1, so as to carry the second downlink service data flow and the second interworking data flow. Because OLT1 does not need to send the second downlink service data stream and the second interworking data stream to ONU1 through two different wavelengths, the number of wavelengths sent by OLT1 to ONU1 is reduced, and the number of wavelengths that the optical modules of OLT1 and ONU1 need to be supported is reduced. This further reduces the complexity of optical signal processing by the optical module.
  • OLT1 when OLT1 in this embodiment obtains the second transmission data stream, OLT1 can perform forward error correction (FEC) encoding on the second transmission data stream to send it to ONU1
  • FEC forward error correction
  • FEC encoding encodes the second transmission data stream so that the receiving end (ONU1) can directly detect data transmission errors from the FEC-encoded second transmission data stream and correct transmission errors to a certain extent.
  • ONU1 the receiving end
  • Each module included in the OLT1 shown in this embodiment may be one or more chips, or one or more integrated circuits.
  • each module included in OLT1 can be one or more field-programmable gate arrays (FPGA), application specific integrated circuit (ASIC), system on chip (SoC) , central processor (central processor unit, CPU), network processor (network processor, NP), digital signal processing circuit (digital signal processor, DSP), microcontroller (micro controller unit, MCU), programmable controller ( programmable logic device (PLD) or other integrated chips, or any combination of the above chips or processors, etc.
  • FPGA field-programmable gate arrays
  • ASIC application specific integrated circuit
  • SoC system on chip
  • central processor central processor unit, CPU
  • network processor network processor
  • NP digital signal processing circuit
  • DSP digital signal processor
  • microcontroller microcontroller
  • micro controller micro controller unit, MCU
  • PLD programmable logic device
  • each module included in OLT1 can also be partially or fully implemented through software.
  • the service processor included in the OLT1 reads and executes the computer program stored in the memory included in the OLT1 to implement the functions corresponding to the merging module 405 .
  • Step 305 ONU1 obtains the second downlink service data flow and the second interworking data flow according to the second transmission data flow.
  • ONU1 registers with OLT1 as an example. Then ONU1 needs to transmit uplink and downlink services with OLT1. If OLT1 adopts the merging method 1 shown in step 303 to obtain the second transmission data stream, ONU1 demultiplexes the second transmission data stream to obtain the second downlink service data stream and the second interworking data stream.
  • OLT1 adopts the merging method 1 shown in step 303 to obtain the second transmission data stream
  • ONU1 demultiplexes the second transmission data stream to obtain the second downlink service data stream and the second interworking data stream.
  • the second downlink service data flow and the second interworking data flow please refer to step 301 and step 302, and details will not be described again.
  • FIG. 7 is a first structural example diagram of ONU1 provided by the embodiment of the present application.
  • the optical module 701 of ONU1 is connected to the optical module 401 of OLT1 through optical fibers.
  • the optical module 701 receives the second transmission data stream with the wavelength ⁇ 1.
  • the optical module 701 performs photoelectric conversion on the second transmission data stream to output the second transmission data stream in the form of an electrical signal.
  • the optical module 701 sends the second transmission data stream to the parsing module 702.
  • the parsing module 702 demultiplexes the second transmission data stream to output a second downlink service data stream and a second interworking data stream.
  • ONU1 demodulates the second transmission data stream to obtain the second downlink service data stream and the second interworking data stream.
  • the parsing module 702 receives the second transmission data stream with the wavelength ⁇ 1 from the optical module 701 .
  • the parsing module 702 demodulates the second transmission data stream to output a second downlink service data stream and a second interworking data stream.
  • ONU1 performs FEC decoding on the second transmission data stream, and then performs the parsing process of the parsing module 702.
  • the ONU1 decodes the FEC of the second transport data stream to detect errors occurring in the transmission of the second transport data stream, and can correct transmission errors to a certain extent.
  • Step 306 ONU1 obtains the first downlink service carried by the second downlink service data flow.
  • the service processing module 703 receives the second downlink service data flow from the parsing module 702 .
  • the service processing module 703 processes the second downlink service data flow and obtains the first downlink service carried by the second downlink service data flow and sent to ONU1.
  • the service processing module 703 obtains the downlink data frame carrying the ONU1 identification from the second downlink service data stream based on the ONU1 identification, and ONU1 obtains the first data frame sent to ONU1 from the payload of the downlink data frame carrying the ONU1 identification.
  • Step 307 ONU1 copies the second downlink service data flow to obtain the first downlink service data flow.
  • ONU1 copies the second downlink service data flow to obtain the first downlink service data flow. It can be understood that the contents carried by the first downlink service data flow and the second downlink service data flow are exactly the same.
  • the service processing module 703 copies the second downlink service data flow to obtain the first downlink service data flow.
  • the service processing module 703 also sends the first downlink service data flow to the merging module 705.
  • Step 308 ONU1 obtains the first interworking data stream according to the second interworking data stream.
  • the downstream ONU is any ONU connected between ONU1 and OLT2.
  • the downstream ONU shown in this embodiment can also be registered to OLT1, so that uplink and downlink services can be transmitted between the downstream ONU and OLT1.
  • the downstream ONU can also be registered to OLT2, so that uplink and downlink services can be transmitted between the downstream ONU and OLT2.
  • the downstream ONU may be ONU2.
  • both ONU1 and ONU2 can be registered to OLT1.
  • ONU1 can be registered to OLT1
  • ONU2 can be registered to OLT2.
  • the method shown in this embodiment takes as an example that both ONU1 and ONU2 are registered to OLT1.
  • the ring network includes OLT2 as an example.
  • the network may not include OLT2, and ONU1 is connected between OLT1 and the downstream ONU. If the second interworking data flow already carries the second sub-interworking service that the upstream ONU or OLT1 needs to send to ONU1, ONU1 can extract the second sub-interworking service from the second interworking data flow.
  • ONU1 and OLT1 is directly connected as an example.
  • one or more upstream ONUs can be connected between ONU1 and OLT1. The following describes several optional methods for ONU1 to obtain the first interoperable data stream in combination with specific optional methods:
  • ONU1 can carry the first interworking service that ONU1 wants to send to the downstream ONU on the second interworking data stream to obtain the first interworking data stream. For example, ONU1 sends the first interworking service to ONU2.
  • the parsing module 702 sends the second interworking data stream to the interworking processing module 704 , and the interworking processing module 704 carries the first interworking service in the second interworking data stream to output the first interworking data stream.
  • ONU1 obtains the interworking time slot scheduling message.
  • the interworking time slot scheduling message shown in this embodiment can be carried in the second downlink service data flow, and ONU1 obtains the interworking time slot scheduling message through the second downlink service data flow.
  • the service processing module 703 shown in Figure 7 obtains the interworking time slot scheduling message from the second downlink service data flow, and the service processing module 703 sends the interworking time slot scheduling message to the interworking processing module 704.
  • the interworking time slot scheduling message can be pre-configured in each ONU of the ring network.
  • the first interworking data stream sent by the OLT1 to the ONU1 already carries the interworking time slot scheduling message.
  • the interworking time slot scheduling message includes the identification of ONU1 and the interworking time slot corresponding to ONU1.
  • the interworking time slot corresponding to ONU1 is used to indicate the time when ONU1 transmits the start byte of the interworking service in the second interworking data stream, and is used to indicate the time when the end byte of the interworking service is transmitted.
  • Figure 8a is a first example diagram of ONU1 obtaining the first interworking data stream provided by the embodiment of the present application.
  • the second interworking data stream 801 obtained by ONU1 from OLT1 is a data stream that completely carries filling information.
  • ONU1 determines according to the interworking time slot scheduling message that the starting time of the interworking time slot 802 allocated to ONU1 is time t1 and the end time is time t2. Then ONU1 will use the filling information carried by the interworking time slot 802 of the second interworking data flow 801. Replace it with the interworking service to be sent by ONU1, and obtain the first interworking data stream 803.
  • each ONU can send interworking services according to the allocated interworking time slots in the interworking data flow, avoiding the possibility of conflicts in the interworking time slots occupied by interworking services from different ONUs, and improving the efficiency of interworking services. Transmitted successfully.
  • the ONUs included in the ring network may not necessarily have interworking services that need to be sent to downstream ONUs.
  • the interworking time slot scheduling message has been ONU1 has allocated interworking time slots, so when other ONUs need to send interworking services, they cannot occupy the interworking time slots allocated to ONU1 in the interworking time slot scheduling message, resulting in a waste of interworking data stream bandwidth.
  • the downstream ONU is any ONU connected between ONU1 and OLT2.
  • ONU1 does not need to send interworking services according to the interworking time slot scheduling message.
  • Figure 8b is a second example diagram of ONU1 obtaining the first interworking data stream provided by the embodiment of the present application.
  • the second interworking data stream 811 obtained by ONU1 from OLT1 is a data stream that completely carries filling information.
  • ONU1 can replace the filling information with the interworking service of ONU1 in any time slot of the second interworking data stream 811 to obtain the first interworking data stream 813.
  • ONU1 detects that the interworking time slot 812 has carried filling information.
  • the starting time of the interworking time slot 812 is time t3 and the end time is t4.
  • ONU1 replaces the filling information carried by the interworking time slot 812 with ONU1's
  • the interoperable service obtains the first interoperable data flow 813.
  • the ONU1 shown in this embodiment can carry one or more first interworking data frames on the second interworking data stream through the above-mentioned optional method 1 or optional method 2.
  • the first interworking data frame has received the first interworking service.
  • This embodiment does not limit the specific frame structure of the first interworking data frame, as long as the first interworking data frame can carry the first interworking service that ONU1 needs to send to the downstream ONU, and the receiving side ONU (for example, ONU2) can parse the first interworking data frame.
  • An interworking data frame is obtained, and the first interworking service carried by the first interworking data frame is obtained.
  • the first interworking data frame 820 shown in this example can reuse the Ethernet frame format.
  • the first interworking data frame 820 includes an interframe gap (IFG) 821, a preamble (preamble) 822 field, a start of frame delimiter (SFD) 823, and a destination address (DA). ) field 824, source address (source address, SA) field 825, type (type) field 826, payload (payload) 827 field, and frame check sequence (Frame Check Sequence, FCS) field 828.
  • IFG interframe gap
  • preamble preamble
  • SFD start of frame delimiter
  • DA destination address
  • FCS frame check sequence
  • IFG821 represents the time period between two adjacent first interoperable data frames, that is, the frame spacing between two adjacent first interoperable data frames.
  • preamble822 is used for frame synchronization.
  • SFD823 is used as the frame start identifier of the first interworking data frame.
  • the type field 826 is used to indicate the frame type of the first interworking data frame.
  • the FCS field 828 is used to check whether there are any errors during the transmission of the first interworking data frame. If ONU1 needs to send interworking services to ONU2, the payload827 field is used to carry the interworking services sent by ONU1 to ONU2.
  • the SA825 field is used to carry the address of ONU1.
  • the address of ONU1 can be the media access control address (MAC) of ONU1.
  • the DA field 824 is used to carry the address of ONU2 that needs to receive interworking services.
  • MAC media access control address
  • the DA field 824 is used to carry the address of ONU2 that needs to receive
  • the SA field 825 carries the address of ONU1
  • the DA field 824 carries the address of ONU2.
  • the first interworking data frame may carry the source identifier. field, the source identification field is used to carry the identification of ONU1.
  • the identification of ONU1 can be the ID of ONU1 or the serial number (SN) of ONU1.
  • the first interworking data frame may also carry a destination identification field, which is used to carry the ID of ONU2 or the SN of ONU2.
  • optional method 1 and optional method 2 the process of how ONU1 carries the first interworking service that ONU1 needs to send to the downstream ONU on the second interworking data stream and obtains the first interworking data stream is explained.
  • ONU1 obtains the second interworking service that has been carried by the second interworking data stream and is sent to ONU1. That is, in this example, the second interworking service is only the interworking service that ONU1 needs to process. The second interworking service does not require the interworking service processed by any downstream ONU.
  • Figure 9a is a third example diagram of ONU1 obtaining the first interworking data stream provided by the embodiment of the present application.
  • the first interworking data stream received by ONU1 shown in this example already carries the second interworking service sent to ONU1.
  • the second interworking service may come from OLT1 or from any ONU connected between OLT1 and ONU1, which is not limited in this embodiment.
  • ONU1 obtains the second interworking service sent to ONU1 from the second interworking time slot 911 of the first interworking data stream 910. Specifically, ONU1 obtains the first interworking data frame used to carry the second interworking service sent to ONU1 from the plurality of interworking data frames included in the first interworking data stream 910 .
  • the destination address of the first interworking data frame is the address of ONU1. Please refer to Figure 8c for the description of the first interworking data frame, which will not be described in detail. ONU1 obtains the second interworking service from the first interworking data frame.
  • ONU1 from the second mutual After extracting the second interworking service sent to ONU1 from the communication time slot 911, in order to ensure the continuous transmission of the second interworking data stream, ONU1 carries the filling information in the second interworking time slot 911 to obtain the second interworking data stream 901.
  • ONU1 extracts the second interworking service sent to ONU1 from the first interworking data stream based on the identity of ONU1.
  • This optional method is shown in Figure 9b, where Figure 9b is a fourth example diagram of ONU1 obtaining the first interworking data stream provided by the embodiment of the present application.
  • the third interworking service 921 has been carried in the second interworking data stream 920 received by ONU1.
  • ONU1 extracts the third interworking service 921 from the second interworking data flow 920. That is, in this optional method, when ONU1 detects the third interworking service 921 carried in the second interworking data flow 920, ONU1 directly extracts the third interworking service 921 from the second interworking data flow 920.
  • ONU1 determines whether the third interworking service 921 needs to be sent to the downstream ONU, for example, if ONU1 determines that the third interworking service 921 is an interworking service broadcast and sent by OLT1.
  • the identifier included in the third interworking service 921 is the identifier of the downstream ONU.
  • ONU1 re-carries the third interworking service 921 on the second interworking data stream to obtain the first interworking data stream 923.
  • ONU1 shown in this example needs to carry the first interworking service sent to the downstream ONU in the first interworking data flow, and needs to extract the second interworking service from the first interworking data flow, where ONU1 needs to carry the first interworking service in the first interworking data flow.
  • For the process of carrying the first interworking service sent to the downstream ONU please refer to optional method 1 or 2.
  • ONU1 shown in this example needs to carry the first interworking service sent to the downstream ONU in the first interworking data flow, and needs to extract the third interworking service from the first interworking data flow, where ONU1 needs to carry the first interworking service in the first interworking data flow.
  • For the process of carrying the first interworking service sent to the downstream ONU please refer to optional method 1 or 2.
  • ONU1 does not need to send the first interworking service to the downstream ONU, and the second interworking data flow does not carry the identifier of ONU1 (indicating that the second interworking data flow does not carry the interworking service sent to ONU1), then ONU1 will Interoperable data flows are forwarded directly to ONU2.
  • Step 309 ONU1 merges the first downlink service data flow and the first interworking data flow to obtain a first transmission data flow.
  • the service processing module 703 sends the first downlink service data flow to the merging module 702
  • the interworking processing module 704 sends the first interworking data flow to the merging module 705
  • the merging module 705 is configured to merge the first downlink service data flow and the first interworking data flow to obtain a first transmission data flow.
  • ONU1 merges the first downlink service data flow and the first interworking data flow to obtain the first transmission data flow.
  • OLT1 merging the second downlink service data flow and the second interworking data flow shown in step 303. , the description of the process of obtaining a second transmission data stream will not be described in detail.
  • ONU1 can send the interworking service to ONU2 by merging the first interworking data flow with the first downlink service data flow.
  • the first downstream service data flow in this example has carried the downstream services sent by OLT1 to ONU1 and ONU2. If ONU1 registers with OLT1 and ONU2 registers with OLT2, ONU1 also sends the interworking service to ONU2 by merging the first interworking data flow with the first downlink service data flow.
  • the first downlink service data stream sent by ONU1 to ONU2 does not carry the downlink service sent by OLT1 to ONU2.
  • ONU1 when ONU1 in this embodiment obtains the first transmission data stream, ONU1 can perform FEC encoding on the first transmission data stream to send the FEC-encoded first transmission data stream to ONU2.
  • ONU1 performing FEC encoding on the first transmission data stream please refer to the description of OLT1 performing FEC encoding on the second transmission data stream shown above, which will not be described in detail.
  • Step 310 ONU1 sends the first transmission data stream to ONU2.
  • the merging module 705 of ONU1 sends the first transmission data stream to the optical module 706 .
  • the optical module 706 is used for electro-optical conversion of the first transmission data stream to output the first transmission data stream in the form of an optical signal. Since the ONU1 shown in this embodiment has merged the first downlink service data flow and the first interoperability data flow into a first transmission data flow, the wavelength of the first transmission data flow in the form of an optical signal output by the optical module 706 is is ⁇ 1.
  • the optical module 706 only sends an optical signal of one wavelength to the ONU2 through the optical fiber connected between the optical module 706 and the ONU2, thereby carrying the first downlink service data flow and the first interworking data flow.
  • Step 311 ONU2 obtains the second downlink service carried by the first downlink service data stream.
  • Step 312 ONU2 copies the first downlink service data flow and obtains the third downlink service data flow.
  • Step 313 ONU2 obtains the third interworking data stream according to the first interworking data stream.
  • Step 314 ONU2 merges the third downlink service data flow and the third interworking data flow to obtain a third transmission data flow.
  • Step 315 ONU2 sends the third transmission data stream.
  • steps 311 to 315 For description of the execution process of steps 311 to 315 shown in this embodiment, please refer to steps 306 to 310, and the specific execution process will not be described again.
  • ONU2 can terminate the transmission of the first interworking data stream and directly send the third downstream service data stream to OLT2.
  • ONU3 is also connected between ONU2 and OLT2, ONU2 sends the third transmission data stream to ONU3.
  • process of ONU3 processing the third transmission data stream please refer to the description of the process of ONU1 processing the second transmission data stream shown in step 306 to step 310 shown in this embodiment, and details will not be described again.
  • a ring network includes two ONUs as an example.
  • the ring network may include more than two ONUs. Then any two ONUs included in the ring network can communicate with each other through data flows. Interoperable services can be exchanged, and interoperable services can be exchanged between any two ONUs without forwarding through OLT1.
  • OLT2 can also send downlink services to ONUs included in the ring network. ONUs adjacent to OLT2 can also directly send interworking services to ONUs far away from OLT2.
  • For a description of the specific execution process please refer to the execution process of the method shown in this embodiment. No details will be given.
  • the ring networking shown in this embodiment can be applied to gigabit-capable passive optical networks (GPON), 10G-bit passive optical networks (10-gigabit-capable passive optical networks, XG-PON), 10G symmetric passive optical network (10-gigabit-capable symmetric passive optical network, XGS-PON), time and wavelength division multiplexed passive optical network (time and wavelength division multiplexed PON, TWDM-PON), Ethernet passive optical network (ethernet passive optical networks, EPON), 10Gbit/s ethernet passive optical network (10G-EPON) and other time-division multiplexing (TDM) passive optical networks (passive optical network (PON).
  • GPON gigabit-capable passive optical networks
  • 10G-bit passive optical networks 10-gigabit-capable passive optical networks, XG-PON
  • 10G symmetric passive optical network (10-gigabit-capable symmetric passive optical network, XGS-PON)
  • time and wavelength division multiplexed passive optical network time and wavelength division
  • ONU1 when ONU1 receives the second downlink service data flow, it first copies the second downlink service data flow to obtain the first downlink service data flow, because ONU1 does not need to execute
  • the related operations of obtaining the first downlink service from the first downlink service data flow effectively reduce the delay in sending the first downlink service data flow from ONU1 to ONU2 and ensure that each ONU included in the ring network obtains the downlink service. timeliness.
  • the data stream transmitted is a merged data stream.
  • what is transmitted between ONU1 and ONU2 is a first transmission data stream, and the third transmission data stream is transmitted between them.
  • the transmission data stream has merged the first downlink service data stream and the first interworking data stream
  • the combined first downlink service data stream and the first interworking data stream can be transmitted between ONU1 and ONU2 only through an optical signal of one wavelength.
  • An interoperable data stream does not need to be transmitted through two different wavelengths respectively to transmit the first downlink service data stream and the first interoperable data stream.
  • ONU1 can directly send the first interworking data stream to ONU2
  • ONU1 can directly send the interworking service to ONU2 through the first interworking data stream, so that the interworking service sent by ONU1 to ONU2 does not need to be forwarded through OLT1 or OLT2, realizing Any two ONUs included in the ring network can directly interact with each other without forwarding through the OLT, which reduces the delay in the interaction of any two ONUs.
  • FIG 3 illustrates how the interworking services are transmitted between two ONUs when OLT1 sends downlink services to each ONU.
  • This embodiment illustrates how two ONUs transmit uplink services to OLT1 when each ONU sends uplink services to OLT1. How to transmit interworking services between them.
  • the structure of the OLT2 that executes this embodiment can also be seen in Figure 10a, where Figure 10a is a first structural example diagram of the OLT2 provided by the embodiment of this application.
  • OLT2 shown in this embodiment includes a sending unit 1000 and a receiving unit 1010.
  • the sending unit 1000 specifically includes a first service processing module 1001, a first interoperability processing module 1002, and a merging module 1003.
  • the receiving unit 1010 is configured to receive the third transmission data stream from the ONU2.
  • the receiving unit 1010 includes a parsing module 1012, a second service processing module 1013, and a second interoperability processing module 1014.
  • the sending unit 1000 and the receiving unit 1010 are both connected to the optical module 1005. It should be noted that the description of the structures of the sending unit 1000 and the receiving unit 1010 in this embodiment is an optional example and is not limiting.
  • the first business processing module 1001 and the second business processing module 1013 may be implemented by the same business processing module.
  • the first interoperability processing module 1002 and the second interoperability processing module 1014 may be implemented by the same interoperability processing module.
  • the execution process after OLT2 receives the third transmission data stream will be described below with reference to FIG. 10b , where FIG. 10b is a second step flow chart of the data transmission method provided by the embodiment of the present application.
  • Step 1021 OLT2 receives the third transmission data stream.
  • OLT2 shown in this embodiment receives the third transmission data stream from ONU2.
  • Step 1022 OLT2 obtains the third downlink service data flow and the third interworking data flow.
  • OLT2 demultiplexes the third transmission data stream to obtain the third downlink service data stream and the third interworking data stream.
  • the third downlink service data flow and the third interworking data flow please refer to step 311 and step 313, and details will not be described again.
  • the process of OLT2 processing the third transmission data stream will be specifically described with reference to FIG. 10a.
  • the receiving unit 1010 of OLT2 is responsible for processing the third transmission data stream.
  • the optical module 1005 of the receiving unit 1010 is connected to the ONU2 through optical fibers.
  • the optical module 1005 receives the third transmission data stream.
  • the optical module 1005 performs photoelectric conversion on the third transmission data stream to output the third transmission data stream in the form of an electrical signal.
  • the optical module 1005 sends the third transmission data stream to the analysis module 1012.
  • the parsing module 1012 demultiplexes the third transmission data stream to output a third downlink service data stream and a third interworking data stream.
  • OLT2 demodulates the third transmission data stream to obtain the third downlink service data stream and the third interworking data stream.
  • the parsing module 1012 receives the third transmission data stream from the optical module 1005.
  • the parsing module 1012 demodulates the third transmission data stream to output a third downlink service data stream and a third interworking data stream.
  • the second service processing module 1013 of the receiving unit 1010 receives the third downlink service data flow from the parsing module 1012. If the third downlink service data flow has carried the third downlink service sent by OLT1 to OLT2, the second service processing module 1013 processes the third downlink service data flow and obtains the third downlink service data flow carried by the third downlink service data flow. business.
  • the second service processing module 1013 sends the third downlink service to the service processing module 1004 to process the third service.
  • the third downlink service data flow does not carry the third downlink service sent by OLT1 to OLT2 or the second service processing module 1013 has obtained the third downlink service, then the third downlink service data flow can terminate the transmission of the third downlink service data flow. .
  • Step 1023 OLT2 generates a second uplink service data flow.
  • the second uplink service data flow shown in this embodiment is used to carry the uplink services to be sent to OLT1 by each ONU in the ring network.
  • OLT2 may generate a second uplink service data flow used to carry uplink services to be sent by each ONU to OLT1.
  • the first service processing module 1001 is used to generate a second uplink service data flow. If OLT2 does not need to send uplink services to OLT1, the second uplink service data flow is a continuous data flow carrying filling information.
  • the second service processing module 1013 obtains the time slot scheduling message from the received third downlink service data flow.
  • the time slot scheduling message is also used to indicate the service time slot allocated to OLT2.
  • the second service processing module 1013 sends the time slot scheduling message to the first service processing module 1001.
  • the second service processing module 1001 carries the services that OLT2 needs to send to OLT1 in the second uplink data stream in the service time slot allocated by OLT1 according to the time slot scheduling message.
  • the first service processing module 1001 sends the second uplink data stream to the merging module 1003.
  • Step 1024 OLT2 generates a fourth interworking data stream.
  • the fourth interworking data flow generated by OLT2 is used to carry interworking services interacted by two different ONUs.
  • the fourth interworking data flow please refer to the description of the first interworking data flow shown in step 301 corresponding to Figure 3.
  • the transmission directions of the first interworking data flow and the fourth interworking data flow shown in this embodiment are opposite. That is, the first interoperable data stream is emitted from OLT1 and transmitted to OLT2 via ONU1 and ONU2 in sequence.
  • the fourth interoperable data flow is emitted from OLT2 and transmitted to OLT1 via ONU2 and ONU1 in sequence.
  • the fourth interworking data stream can be used to carry interworking services sent by ONU2 to ONU1. That is, when ONU2 receives the fourth interworking data stream from OLT2, the interworking service sent by ONU2 to ONU1 is carried on the fourth interworking data stream.
  • the first interworking processing module 1002 shown in this embodiment can also be connected with the service processing module 1004 to carry the interworking service from the service processing module 1004 (the interworking service that OLT2 needs to send to the ONU) on the fourth interworking
  • the service processing module 1004 the interworking service that OLT2 needs to send to the ONU
  • the fourth interworking please refer to Figure 4b for specific instructions, and the details will not be repeated.
  • Step 1025 OLT2 merges the second uplink service data flow and the fourth interworking data flow to obtain a fourth transmission data flow.
  • the first service processing module 1001 sends the second uplink service data flow to the merging module 1003.
  • the first interoperability processing module 1002 sends the fourth interoperability data stream to the merging module 1003.
  • the merging module 1003 is configured to merge the second uplink service data flow and the fourth interworking data flow to obtain a fourth transmission data flow.
  • step 303 corresponding to Figure 3 where OLT1 merges the second downlink service data stream and the second interoperability data.
  • step 303 corresponding to Figure 3 where OLT1 merges the second downlink service data stream and the second interoperability data.
  • the fourth transmission data stream emitted by the optical module 1005 of OLT2 can be transmitted through wavelength ⁇ 2, and the third transmission data stream received by the optical module 1005 of OLT2 can be transmitted through wavelength ⁇ 1.
  • the transmission of downlink services and interworking services from OLT1 to OLT2 is realized through wavelength ⁇ 1.
  • the transmission of downlink services and interworking services from OLT2 to OLT1 is realized through wavelength ⁇ 2.
  • Step 1026 OLT2 sends the fourth transmission data stream to ONU2.
  • the merging module 1003 of OLT2 sends the fourth transmission data stream to the optical module 1005.
  • the optical module 1005 is used for electro-optical conversion of the fourth transmission data stream to output a fourth transmission data stream in the form of an optical signal.
  • Step 1027 ONU2 obtains the second uplink service data flow and the fourth interworking data flow according to the fourth transmission data flow.
  • OLT2 adopts the merging method 1 shown in step 303 to obtain the fourth transmission data stream
  • ONU2 demultiplexes the fourth transmission data stream to obtain the second uplink service data stream and the fourth interworking data stream.
  • FIG. 10c is a first structural example diagram of ONU2 provided by the embodiment of the present application.
  • the optical module 1041 of ONU2 is connected to the optical module of OLT2 through optical fiber.
  • the optical module 1042 of ONU2 is connected to the optical module of ONU1 through optical fibers.
  • the optical module 1041 receives the fourth transmission data stream with wavelength ⁇ 2.
  • the optical module 1041 performs photoelectric conversion on the fourth transmission data stream to output a fourth transmission data stream in the form of an electrical signal.
  • the optical module 1041 sends the fourth transmission data stream to the parsing module 1043.
  • the parsing module 1043 demultiplexes the fourth transmission data stream to output the second uplink service data stream and the fourth interworking data stream.
  • OLT2 adopts the merging method 2 shown in step 303 to obtain the fourth transmission data stream
  • ONU2 demodulates the fourth transmission data stream to obtain the second uplink service data stream and the fourth interworking data stream.
  • the parsing module 1043 receives the fourth transmission data stream with the wavelength ⁇ 2 from the optical module 1041 .
  • the parsing module 1043 demodulates the fourth transmission data stream to output the second uplink service data stream and the fourth interworking data stream.
  • Step 1028 ONU2 obtains the first uplink service data stream according to the second uplink service data stream.
  • ONU2 shown in this embodiment carries the uplink service of ONU2 on the first service time slot of the second uplink service data stream according to the time slot scheduling message, and obtains the first uplink service data stream.
  • the uplink service of ONU2 is to be sent to OLT1 Upward business.
  • ONU2 carries the uplink service to be sent to OLT1 by ONU2 on the first service time slot of the second uplink service data stream according to the instructions of the time slot scheduling message, and obtains the first uplink service data stream.
  • the time slot scheduling message is used to indicate the start time and end time of the first service time slot.
  • the time slot scheduling message shown in this embodiment is the time slot allocated by OLT1 to each ONU through the downlink data frame.
  • the optical module 1042 of the optical module 1042 of ONU2 receives the first transmission data stream with the wavelength ⁇ 1.
  • the parsing module 1043 parses the first downlink service data flow and the first interworking data flow from the first transmission data flow.
  • the processing module 1044 parses the time slot scheduling message from the first downlink service data stream.
  • the processing module 1044 receives the second uplink service data flow from OLT2, the processing module 1044 carries the ONU2 to be sent on the first service time slot of the second uplink service data flow according to the time slot scheduling message.
  • the first uplink service data stream is obtained.
  • the processing module 1044 sends the generated first uplink service data flow to the merging module 1046.
  • Step 1029 ONU2 obtains the fifth interworking data stream according to the fourth interworking data stream.
  • the interoperability processing module 1045 shown in this embodiment receives the fourth interoperability data stream from the parsing module 1043, and the interoperability processing module 1045 obtains the fifth interoperability data stream according to the fourth interoperability data stream.
  • the interoperability processing module 1045 obtains the fifth interoperability data stream according to the fourth interoperability data stream.
  • Step 1030 ONU2 merges the first uplink service data stream and the fifth interworking data stream to obtain a fifth transmission data stream.
  • the processing module 1044 sends the first uplink service data flow to the merging module 1046
  • the interworking processing module 1045 sends the fifth interworking data flow to the merging module 1046.
  • the merging module 1046 is used to merge the first uplink service data stream and the fifth interworking data stream to obtain a fifth transmission data stream.
  • ONU2 merges the first uplink service data flow and the fifth interworking data flow to obtain the fifth transmission data flow.
  • OLT1 merging the second downlink service data flow and the second interworking data flow shown in step 303. The description of the process of obtaining a second transmission data stream will not be described in detail.
  • Step 1031 ONU2 sends the fifth transmission data stream to ONU1.
  • the merging module 1046 of ONU2 sends the fifth transmission data stream to the optical module 1042.
  • the optical module 1042 is used for electro-optical conversion of the fifth transmission data stream to output a fifth transmission data stream in the form of an optical signal. Since the ONU 2 shown in this embodiment has merged the first uplink service data stream and the fifth interworking data stream into a fifth transmission data stream, the wavelength of the fifth transmission data stream in the form of an optical signal output by the optical module 1042 is ⁇ 2.
  • the optical module 1042 only sends an optical signal of one wavelength to ONU1 through the optical fiber connected between the optical module 1042 and ONU1, and can carry the first uplink service data flow and the fifth interworking data flow.
  • ONU2 as shown in Figure 10c can process the transmission data stream with wavelength ⁇ 2 from OLT2 (please refer to steps 1027 to 1031 for the processing process), and can also process the transmission data stream with wavelength ⁇ 1 from ONU1.
  • the data flow is processed (see Figure 7 for the processing process).
  • Step 1032 ONU1 obtains the first uplink service data stream and the fifth interworking data stream according to the fifth transmission data stream.
  • Step 1033 ONU1 obtains the third uplink service data stream according to the first uplink service data stream.
  • Step 1034 ONU1 obtains the sixth interworking data stream according to the fifth interworking data stream.
  • Step 1035 ONU1 merges the third uplink service data flow and the sixth interworking data flow to obtain the sixth transmission data flow.
  • Step 1036 ONU1 sends the sixth transmission data stream to OLT1.
  • FIG. 11a is a third step flow chart of the data transmission method provided by the embodiment of the present application.
  • OLT1 does not need to send out a second interoperable data stream, and the data transmission between the two ONUs is achieved while reducing the degree of modification to OLT1.
  • the specific execution process is as follows:
  • Step 1101 OLT1 generates a second downlink service data flow.
  • step 1101 For an explanation of the execution process of step 1101 shown in this embodiment, please refer to the corresponding step 301 shown in Figure 3, and the specific execution process will not be described again.
  • Step 1102 OLT1 sends the second downlink service data flow to ONU1.
  • OLT1 When OLT1 obtains the second downlink service data flow that has carried the downlink service, OLT1 directly sends the second downlink service data flow to ONU1.
  • Step 1103 ONU1 generates a second interworking data stream.
  • FIG. 11b is an example structural diagram of an ONU provided by an embodiment of the present application.
  • the ONU shown in Figure 11b is ONU1 as an example.
  • the optical module 1132 of ONU1 is connected to OLT1 through optical fiber.
  • the optical module 1132 receives the second downlink service data flow with the wavelength ⁇ 1 from the OLT1.
  • a routing module 1133 is connected to the optical module 1132 .
  • the routing module 1133 determines according to the second downlink service data flow that the second downlink service data flow has not been merged (for example, it has not passed the merging method of accelerated multiplexing, or has not passed the top-level adjustment method), then the routing module 1133 Send the second downlink service data flow to the processing module 1137.
  • the routing module 1133 also sends a generation instruction to the interoperability processing module 1136.
  • the generation instruction is used to instruct the interoperability processing module 1136 to generate a second interoperability data stream.
  • Step 1104 ONU1 obtains the first interworking data stream according to the second interworking data stream.
  • Step 1105 ONU1 obtains the first downlink service carried by the second downlink service data stream.
  • the processing module 1136 of ONU1 obtains the first downlink service carried by the second downlink service data flow.
  • Step 1106 ONU1 copies the second downlink service data flow to obtain the first downlink service data flow.
  • the processing module 1136 of ONU1 obtains the first downlink service data flow.
  • Step 1107 ONU1 merges the first downlink service data flow and the first interworking data flow to obtain a first transmission data flow.
  • step 308 The process of ONU1 obtaining the first transmission data stream is shown in step 308 corresponding to Figure 3, and details will not be described again.
  • the merging module 1138 receives the first downlink service data flow from the processing module 1137 and the first interworking data flow from the interworking processing module 1136, and obtains the first transmission data flow.
  • step 309 For the specific process of obtaining the first transmission data stream, please refer to step 309 corresponding to Figure 3, which will not be described again.
  • Step 1108 ONU1 sends the first transmission data stream to ONU2.
  • the merging module 1138 is connected to the optical module 1131, and the optical module 1131 is connected to the ONU2 through optical fibers.
  • the merging module 1138 sends the first transmission data stream to the optical module 1131.
  • the optical module 1131 performs electro-optical conversion on the first transmission data stream to send the first transmission data stream with the wavelength ⁇ 1 to ONU2.
  • Step 1109 ONU2 obtains the second downlink service carried by the first downlink service data stream.
  • the ONU shown in Figure 11b is ONU2 as an example.
  • the optical module 1132 is connected to ONU1 through an optical fiber and receives the first transmission data stream with a wavelength of ⁇ 1.
  • the routing module 1133 detects that the first transmission data stream is a combined data stream, the routing module 1133 sends the first transmission data stream to the parsing module 1135 .
  • the parsing module 1135 of ONU2 parses the first transmission data stream and obtains the first downlink service data stream and the first interworking data stream.
  • the parsing module 1135 sends the first downlink service data flow to the processing module 1137.
  • the parsing module 1135 sends the first interoperability data stream to the interoperability processing module 1136.
  • the processing module 1137 can obtain the second downlink service carried by the first downlink service data flow.
  • Step 1110 ONU2 sends the third downlink service data stream to OLT2.
  • ONU2 when ONU2 is an ONU directly connected to OLT2, ONU2 sends the third downlink service data stream to OLT2 without merging.
  • the third downlink service data flow shown in this embodiment may be a continuous data flow carrying filling information.
  • the third downlink service data flow may also carry services sent to OLT2.
  • the ONU2 may also terminate the transmission of the third downlink service data stream.
  • the processing module 1137 shown in Figure 11b sends the third downlink service data flow to the optical module 1131.
  • the optical module 1131 performs electro-optical conversion on the third downlink service data flow to send the third downlink service data flow with the wavelength ⁇ 1 to OLT2. .
  • Step 1111 ONU2 terminates the transmission of the first interworking data stream.
  • OLT2 does not need to generate and process the interoperable data stream, so ONU2 directly connected to OLT2 can directly terminate the transmission of the first interoperable data stream. Specifically, the interoperability processing module 1136 terminates the transmission of the first interoperability data stream.
  • OLT1 After OLT1 generates the second downlink service data flow, it can directly send the second downlink service data flow to ONU1. There is no need for OLT1 to send interworking data flows to ONU1, which reduces the degree of modification to OLT1. In this case, the data transmission method shown in this embodiment can be implemented.
  • the interactive transmission data flow between the two nodes included in the ring network is combined with the downlink service and interworking service from OLT1.
  • the interactive transmission data flow between the two nodes combines the uplink services and interworking services sent by the ONU to OLT1.
  • the interactive transmission data flow between the two nodes included in the ring network combines the downlink services from OLT1, the uplink services that need to be sent to OLT2, and the interworking services.
  • FIG. 12 is a fourth step flow chart of the data transmission method provided by the embodiment of the present application.
  • OLT1 needs to transmit uplink and downlink services with ONU1
  • ONU2 needs to transmit uplink and downlink services with OLT2.
  • Step 1201 OLT1 generates a fourth service data flow.
  • the fourth service data stream shown in this embodiment is used to carry the first sub-service, which is the downlink service that OLT1 needs to send to each ONU.
  • the process of OLT1 generating the fourth service data flow shown in this embodiment please refer to the process of OLT1 generating the second downlink service data flow shown in step 301 corresponding to Figure 3. The specific execution process will not be described again.
  • FIG. 13 is a third structural example diagram of OLT1 provided by the embodiment of the present application.
  • OLT1 shown in this embodiment includes a sending unit 1300 and a receiving unit 1310.
  • the sending unit 1300 specifically includes a first service processing module 1301, a first interoperability processing module 1302, and a merging module 1303.
  • the receiving unit 1310 includes a parsing module 1312, a second service processing module 1313, and a second interworking processing module 1314.
  • the sending unit 1300 and the receiving unit 1310 are both connected to the optical module 1305 and the service processing module 1304.
  • the first service processing module 1301 is used to generate a fourth service data flow.
  • Step 1202 OLT1 generates a second interworking data stream.
  • step 1202 For an explanation of the execution process of step 1202 shown in this embodiment, please refer to step 302 corresponding to Figure 3, and the specific execution process will not be described again.
  • the first interoperability processing module 1302 of OLT1 is used to generate the second interoperability data flow.
  • OLT1 is responsible for controlling the second interworking data flow. For example, OLT1 allocates interworking time slots to each ONU included in the ring network, so that each ONU carries interworking services on the second interworking data stream according to the allocated interworking time slot.
  • Step 1203 OLT1 generates a fifth service data flow.
  • the fifth service data flow shown in this embodiment is used to carry the second sub-service, and the second sub-service is the uplink service that each ONU needs to send to OLT2.
  • OLT1 may generate a fifth service data stream used to carry the uplink services to be sent by each ONU to OLT2.
  • the process of OLT1 generating the fifth service data stream is shown in step 1023 corresponding to Figure 10b, and details will not be described again.
  • Step 1204 OLT1 merges the fourth service data stream, the fifth service data stream and the second interworking data stream to obtain a second transmission data stream.
  • the second transmission data flow shown in this embodiment only occupies one wavelength of OLT1.
  • OLT1 simultaneously sends the fourth service data flow, the fifth service data flow and the second interworking data flow through the wavelength of ⁇ 1, without using
  • the second interoperability data flow used to realize communication between two ONUs occupies an independent wavelength, and the fourth service data flow and the fifth service data flow do not need to occupy two independent wavelengths of OLT1 respectively.
  • the first service processing module 1301 sends the fourth service data stream and the fifth service data stream to the merging module 1303 .
  • the first interworking processing module 1302 sends the second interworking data stream to the merging module 1303.
  • the merging module 1303 is used to merge the fourth service data stream, the fifth service data stream and the second interworking data stream to obtain a second transmission data stream.
  • OLT1 describes several optional ways for OLT1 to merge the fourth service data flow, the fifth service data flow and the second interworking data flow:
  • OLT1 multiplexes the fourth service data stream, the fifth service data stream and the second interworking data stream to obtain a second transmission data stream. Among them, OLT1 multiplexes the fourth service data stream, the fifth service data stream and the second interworking data stream to obtain a second transmission data stream. Please refer to the merging method 1 shown in step 303 corresponding to Figure 3. No details will be given.
  • OLT1 multiplexes the fourth service data stream and the fifth service data stream to obtain the multiplexed data stream.
  • OLT1 multiplexes the fourth service data stream and the fifth service data stream, and obtains the description of the multiplexed data stream.
  • OLT1 re-modulates the second interoperable data stream on the multiplexed data stream through top-modulation to obtain a second transmission data stream.
  • the merging method 2 shown in step 303 corresponding to Figure 3, which will not be described in detail.
  • Step 1205 OLT1 sends the second transmission data stream to ONU1.
  • step 1205 shown in this embodiment please refer to the corresponding step 304 shown in Figure 3, and details will not be described again.
  • the merging module 1303 sends the second transmission data stream to the optical module 1305.
  • the optical module 1305 performs electro-optical conversion on the second transmission data stream to send the second transmission data stream with the wavelength ⁇ 1 to ONU1.
  • Step 1206 ONU1 obtains the fourth service data stream, the fifth service data stream and the second interworking data stream according to the second transmission data stream.
  • Step 1207 ONU1 obtains the first sub-service carried by the fourth service data stream.
  • Step 1208 ONU1 copies the fourth service data stream and obtains the first sub-service data stream.
  • Step 1209 ONU1 obtains the first interworking data stream according to the second interworking data stream.
  • step 1207 and step 1209 For description of the execution process of step 1207 and step 1209 shown in this embodiment, please refer to steps 306 to 308, and details will not be described again.
  • Step 1210 ONU1 obtains the second sub-service data stream according to the fifth service data stream.
  • ONU1 if ONU1 needs to send the second sub-service to OLT2, ONU1 carries the second sub-service on the second service time slot of the fifth service data stream to obtain the second sub-service data stream.
  • ONU1 obtaining the second sub-service data stream according to the fifth service data stream shown in this embodiment please refer to the process of ONU2 obtaining the first uplink service data stream according to the second uplink service data stream shown in step 1028 corresponding to Figure 10b. The specific execution process will not be described in detail.
  • Step 1211 ONU1 merges the first sub-service data flow, the second sub-service data flow and the first interworking data flow to obtain a first transmission data flow.
  • the ONU1 shown in this embodiment merges the first sub-service data flow, the second sub-service data flow and the first interworking data flow to obtain a first transmission data flow. Please refer to the process of OLT1 merging the fourth service shown in step 1204. The data flow, the fifth service data flow and the second interworking data flow are explained in the process of obtaining a second transmission data flow, which will not be described in details.
  • Step 1212 ONU1 sends the first transmission data stream to ONU2.
  • Step 1213 ONU2 obtains the first sub-service data flow, the second sub-service data flow and the first interworking data flow according to the first transmission data flow.
  • Step 1214 ONU2 obtains the first sub-service carried by the first sub-service data flow.
  • Step 1215 ONU2 copies the first sub-service data flow and obtains the third sub-service data flow.
  • Step 1216 ONU2 obtains the third interworking data stream according to the first interworking data stream.
  • Step 1217 ONU2 obtains the fourth sub-service data stream according to the second sub-service data stream.
  • Step 1218 ONU2 merges the third sub-service data flow, the fourth sub-service data flow and the third interworking data flow to obtain a third transmission data flow.
  • Step 1219 ONU2 sends the third transmission data stream to OLT2.
  • each ONU in the ring network carries the uplink services that it needs to send to OLT2 on the allocated time slot.
  • the uplink services sent by each ONU included in the ring network are based on time division multiple access (time division multiple access).
  • Division multiple access (TDMA) transmission avoids conflicts in the time slots allocated by different ONUs and ensures that the delay of the uplink services sent by each ONU will not deteriorate.
  • TDMA division multiple access
  • it can also transmit downlink services from OLT1 and interworking services between any two ONUs.
  • the transmission efficiency of the ring network for transmitting downlink services from OLT1, uplink services to be sent to OLT2, and interworking services is improved.
  • OLT1 can also receive the third transmission data stream from OLT2.
  • the third transmission data stream has been merged from the sixth service data stream, the seventh service data stream and the third interworking data stream from OLT2.
  • the sixth service data stream is used to carry the third sub-service
  • the third sub-service is the downlink service that OLT2 needs to send to each ONU.
  • the seventh service data stream is used to carry the fourth sub-service.
  • the fourth sub-service is the uplink service that each ONU needs to send to OLT1.
  • the parsing module 1312 of OLT1 parses the third transmission data stream to obtain the sixth service data stream, the seventh service data stream and the third interworking data stream.
  • the parsing module 1312 sends the sixth service data flow and the seventh service data flow to the second service processing module 1313.
  • the parsing module 1312 also sends the third interworking data stream to the second interworking processing module 1314.
  • the second service processing module 1313 processes the sixth service data flow, please refer to the process of the second service processing module 1013 processing the third downlink service data flow shown in 10a, and details will not be described again. Since the third sub-service carried by the sixth service data flow shown in this embodiment is the downlink service that OLT2 needs to send to each ONU, the second service processing module 1313 terminates the transmission of the sixth service data flow. If the sixth service data flow has carried the downlink service sent by OLT2 to OLT1, then the second service processing module 1313 extracts the downlink service from the sixth service data flow and terminates the transmission of the sixth service data flow. The second business processing module 1313 will come from The downlink services of OLT2 are sent to the service processing module 1304.
  • the second service processing module 1313 extracts the uplink service sent by each ONU to OLT1 from the seventh service data flow, and sends the uplink service to the service processing module 1304.
  • the second interoperability processing module 1314 processes the third interoperability data stream
  • OLT1 needs to generate a second interworking data flow to ensure that the ONUs included in the ring network directly carry interworking services on the interworking data flow, so as to realize direct transmission of interworking services between two ONUs.
  • OLT1 also needs to generate a fifth service data stream to ensure that each ONU included in the ring network directly carries the uplink services that need to be sent to OLT2 on the fifth service data stream.
  • Figure 14 is a fifth step flow chart of the data transmission method provided by the embodiment of the present application. In the embodiment shown in Figure 14, OLT1 does not need to generate the second interworking data flow and the fifth service data flow.
  • the data transmission method shown in this embodiment can be implemented by reducing the degree of modification to OLT1.
  • the specific execution process is as follows:
  • Step 1401 OLT1 generates a fourth service data flow.
  • step 1401 For the execution process of step 1401 shown in this embodiment, please refer to the corresponding step 1201 in Figure 12, and details will not be described again.
  • Step 1402 OLT1 sends the fourth service data stream to ONU1.
  • Step 1403 ONU1 generates a second interworking data stream.
  • Step 1404 ONU1 generates a fifth service data stream.
  • Step 1405 ONU1 obtains the first sub-service carried by the fourth service data stream.
  • Step 1406 ONU1 copies the fourth service data stream and obtains the first sub-service data stream.
  • Step 1407 ONU1 obtains the first interworking data stream according to the second interworking data stream.
  • Step 1408 ONU1 obtains the second sub-service data stream according to the fifth service data stream.
  • Step 1409 ONU1 merges the first sub-service data flow, the second sub-service data flow and the first interworking data flow to obtain a first transmission data flow.
  • Step 1410 ONU1 sends the first transmission data stream to ONU2.
  • Step 1411 ONU2 obtains the first sub-service data flow, the second sub-service data flow and the first interworking data flow according to the first transmission data flow.
  • Step 1412 ONU2 obtains the first sub-service carried by the first sub-service data flow.
  • Step 1413 ONU2 terminates the transmission of the first interworking data stream.
  • step 1413 For an explanation of the execution process of step 1413 shown in this embodiment, please refer to the corresponding step 1111 shown in Figure 11, and details will not be described again.
  • Step 1414 ONU2 sends the fourth sub-service data stream to OLT2.
  • the fourth sub-service data flow shown in this embodiment has carried the uplink services that each ONU needs to send to OLT2.
  • the fourth sub-service data flow please refer to the description of the corresponding embodiment in Figure 12, and the details will not be repeated.
  • OLT1 After OLT1 generates the fourth service data flow, it can directly send the fourth service data flow to ONU1.
  • the data transmission method shown in this embodiment can be realized by reducing the degree of modification to OLT1. .
  • ONU1 generates the fifth service data flow and the second interworking data flow as an example.
  • OLT1 can generate the fourth service data flow and the fifth service data. stream, ONU1 generates the second interworking data stream.
  • OLT1 may generate the fourth service data flow and the second interworking data flow, and ONU1 may generate the fifth service data flow, which is not limited in this embodiment.
  • FIG. 15 is a diagram showing a second structural example of a ring network provided by an embodiment of the present application.
  • ONU1 and ONU2 are connected in sequence between the left OLT and the right OLT.
  • the left OLT shown in Figure 15 is the OLT1 shown above, and the right OLT is the OLT2 shown in the above embodiment. It should be clear that this
  • the specific name of the OLT shown in the embodiment is not limited, as long as the two OLTs included in the ring network can be distinguished.
  • the optical module 1501 of the left OLT is connected to the optical module 1521 of the ONU1 through optical fibers.
  • the optical module 1522 of ONU1 and the optical module 1531 of ONU2 are connected through optical fibers.
  • the optical module 1532 of ONU2 is connected to the optical module 1541 of the right OLT through optical fibers.
  • the optical module 1501 of the left OLT1 sends a second transmission data stream to the optical module 1521 of the ONU1.
  • the second transmission data stream carries the left downlink service data flow, the right uplink service data flow and the interworking data flow. Description of the left downlink service data flow , please refer to the description of the fourth service data flow shown in step 1201 corresponding to Figure 12.
  • the optical module 1522 of ONU1 sends the first transmission data stream to the optical module 1531 of ONU2.
  • the first transmission data stream carries the left downlink service data flow, the right uplink service data flow and the interworking data flow.
  • the optical module 1532 of ONU2 sends the third transmission data stream to the optical module 1541 of the right OLT.
  • the third transmission data stream please refer to the description of step 1218 corresponding to Figure 12, and the details will not be described again.
  • the left downlink service transmitted between the optical module 1501 of the left OLT, the optical module 1521 of ONU1, the optical module 1522 of ONU1, the optical module 1531 of ONU2, the optical module 1532 of ONU2, and the optical module 1541 of the right OLT The wavelength of data flow, right uplink service data flow and interworking data flow is ⁇ 1.
  • the right OLT will also send the left uplink service data flow, the right downlink service data flow and the interworking data flow to the left OLT.
  • the left uplink service data flow is used to carry the uplink services that each ONU needs to send to OLT1.
  • the description of the business data flow will not be repeated in detail.
  • the right downstream service data stream is used to carry the downstream services that OLT2 needs to send to each ONU.
  • For the specific description of the right downlink service data flow please refer to the description of the left downlink service data flow. The details will not be repeated.
  • the interworking data flow emitted from the right OLT carries the interworking service that ONU2 needs to send to ONU1.
  • the left uplink service transmitted between the optical module 1541 of the right OLT, the optical module 1532 of ONU2, the optical module 1531 of ONU2, the optical module 1522 of ONU1, the optical module 1521 of ONU1, and the optical module 1501 of the left OLT The wavelength of data flow, right downlink service data flow and interworking data flow is ⁇ 2.
  • data communication is carried out between the left OLT and the right OLT shown in Figure 15 through two data channels.
  • the wavelength of one data channel is ⁇ 1 and the wavelength of the other data channel is ⁇ 2. If the data channel with wavelength ⁇ 1 cannot successfully transmit data, the left OLT and right OLT communicate through the data channel with wavelength ⁇ 2. Among them, if the data channel with wavelength ⁇ 1 cannot successfully transmit data, at least one of the following faults may occur:
  • the optical module located in the data channel of wavelength ⁇ 1 fails (such as the optical module 1521 of ONU1 fails), or the optical fiber located in the data channel of wavelength ⁇ 1 fails (such as the optical module 1522 connected to ONU1 and the optical module of ONU2 The fiber between 1531 and 1531 fails) etc.
  • Figure 16 is an example diagram of the second structure of a ring network provided by an existing solution.
  • Figure 16 shows a ring network including ONU1, ONU2, ONU3 to ONUN.
  • ONU1 is connected to the first port of optical splitter 1601
  • the second port of optical splitter 1601 is connected to optical splitter 1602
  • the third port of optical splitter 1601 is connected to OLT1.
  • the connection of the optical splitter 1602, the optical splitter 1603 and the optical splitter 1604 please refer to the description of the optical splitter 1601, and the details will not be repeated.
  • OLT1 If OLT1 is required to send downlink services to each ONU, OLT1 sends the first downlink service data stream to the optical splitter 1601, and the optical splitter 1601 splits the first downlink service data stream to obtain the first optical split data stream and the second split optical data stream. Data streams, the first split data stream and the second split data stream carry the same services, and the optical power of the first split data stream is smaller than the optical power of the second split data stream.
  • the optical splitter 1601 sends the first split data stream to ONU1.
  • Optical splitter 1601 sends a second optical split data stream to optical splitter 1602.
  • the optical splitter 1602 also splits the second optical data stream again.
  • OLT1 is When an ONU (for example, ONU1) sends downlink services, it needs to be split by an optical splitter, resulting in a loss of optical power. For example, part of the optical power of the downlink service data stream received by ONU2 has been split to ONU1. The loss makes it difficult and accurate for each ONU to obtain downstream services.
  • each optical splitter shown in Figure 16 is an unequal ratio optical splitter. If a larger number of optical splitters are connected to a ring network, the insertion loss of the ring network will be increased.
  • any two adjacent nodes included in the ring network of the above method embodiments are directly connected through optical fibers.
  • OLT1 and ONU1 are directly connected through optical fibers
  • ONU1 and ONU2 are directly connected through optical fibers.
  • the optical splitters are connected without waiting, which reduces the insertion loss of the ring network.
  • each ONU converts the downlink service data stream sent by OLT1 into photoelectric conversion, and processes the downlink service data stream in the form of electrical signals (as shown in the above copy), which reduces the error rate received by each ONU. Loss of optical power in downlink service data streams.
  • FIG 17 is a diagram of a first structural example of networking provided by an embodiment of the present application.
  • the network shown in this embodiment includes OLT1 and multiple ONUs connected to OLT1 in sequence.
  • OLT1, ONU1 and ONU2 are connected in sequence.
  • two ONUs are connected to OLT1 in sequence.
  • This embodiment does not limit the number of ONUs connected to OLT1. As long as the number of ONUs connected to OLT1 is The quantity is two or more.
  • ONU1 and ONU2 shown in this embodiment can create an ad hoc network 1700.
  • Ad hoc network services can be transmitted between ONU1 and ONU2 in the ad hoc network 1700.
  • FIG. 18 is a second structural example diagram of the ONU2 provided by the embodiment of the present application.
  • the structure of the communication node shown in Figure 18 is ONU2 as an example.
  • the structure of the communication node shown in Figure 18 can also be any communication node included in the ring network.
  • ONU2 shown in this embodiment includes an optical module 1801 connected to ONU1.
  • the optical module 1801 includes a first transmit port (transport, TX) and a first receive port (receive, RX).
  • TX transport
  • RX receive port
  • This embodiment does not limit the number of RXs and TXs included in ONU2.
  • ONU2 has and only the first RX and the first TX for communication with the OLT.
  • the first RX included in ONU2 is the only receiving port that can communicate with OLT1
  • the first TX included in ONU2 is the only receiving port that can communicate with OLT1.
  • the OLT connected to ONU2 is and is only OLT1.
  • ONU2 is the last ONU connected to the OLT as an example, that is, there is no downstream ONU for ONU2.
  • the ONU2 shown in this embodiment also includes a switching device.
  • the switching device includes a detector 1810 and a switch array 1830 connected to the detector 1810.
  • Switch array 1830 includes input ports and output ports.
  • the switch array 1830 shown in this embodiment specifically includes a first input port 1811, a fourth input port 1824, a first output port 1821 and a fourth output port 1814.
  • the detector 1810 shown in this embodiment enables the first input port 1811 of the switch array 1830 to be connected to the first output port 1821, and the first output port 1821 is connected to the first processing port 1841 of the service processor 1840.
  • the detector 1810 also connects the fourth output port 1814 of the switch array to the fourth input port 1824 , and the fourth input port 1824 is connected to the second processing port 1842 of the service processor 1840 .
  • the first input port 1811 and the fourth output port 1814 are both connected to the optical module 1801.
  • the detector 1810 shown in this embodiment may be one or more chips, or one or more integrated circuits.
  • the detector 1810 may be one or more field-programmable gate arrays (FPGA), application specific integrated circuit (ASIC), system on chip (SoC), central processing unit Central processor unit (CPU), network processor (NP), digital signal processing circuit (digital signal processor, DSP), microcontroller unit (MCU), programmable logic device , PLD) or other integrated chips, or any combination of the above chips or processors, etc.
  • FPGA field-programmable gate arrays
  • ASIC application specific integrated circuit
  • SoC system on chip
  • CPU Central processor unit
  • NP network processor
  • DSP digital signal processing circuit
  • MCU microcontroller unit
  • PLD programmable logic device
  • FIG. 19 is a sixth step flow chart of the data transmission method provided by the embodiment of the present application.
  • Step 1901 ONU2 detects a fault event on the first optical path.
  • ONU1 is connected between ONU2 and OLT1, and the first optical path is the optical path between the first RX of ONU2 and OLT1.
  • the fault event of the first optical path may occur between OLT1 and ONU1, or between ONU1 and ONU2. If OLT1 fails, at least one of the optical fiber connected between OLT1 and ONU1 fails, or ONU1 fails, it can cause a failure event in the first optical path.
  • the detector 1810 of ONU2 can be connected to the optical module 1801.
  • the detector 1810 detects whether the first RX of the optical module 1801 can receive the optical signal normally. If the detector 1810 exceeds the preset During the time period, if the event that the first RX successfully receives the optical signal is continuously unable to be detected or the optical power of the continuously detected optical signal is less than the preset threshold, it is determined that the first optical path between the first RX of ONU2 and OLT1 is faulty. event.
  • the detector 1810 is connected to the line between the optical module 1801 and the first input port 1811. The detector 1810 obtains the electrical signal output by the optical module 1801 based on the line.
  • the detector 1810 detects whether the electrical signal includes consecutive valid frames. If not, it is determined that a fault event occurs in the first optical path. For another example, the detector 1810 detects that the bit error rate of the electrical signal exceeds a preset threshold. This embodiment does not limit how the detector 1810 determines the failure event of the first optical path, as long as the uplink and downlink services cannot be successfully transmitted between OLT1 and ONU2 when a failure event occurs on the first optical path.
  • Step 1902 The detector of ONU2 switches the switch array from the first conduction mode to the second conduction mode.
  • ONU2 when ONU2 detects a fault event in the first optical path, the detector of ONU2 switches the switch array from the first conduction mode to the second conduction mode, so that the switch array of ONU2 is in the second conduction mode. In this mode, ONU2 can form an ad hoc network with ONU1, so that the two ONUs that have successfully formed an ad hoc network can transmit interoperable services.
  • the switch array 1830 when the switch array 1830 is in the first conduction mode, the first input port 1811 and the first output port 1821 of the switch array 1830 are conductive, and the fourth output port 1814 and the fourth input port are connected. 1824 is turned on. The first input port 1811 and the fourth output port 1814 are both connected to the optical module 1801.
  • FIG. 20 is a third structural example diagram of ONU2 provided by the embodiment of the present application.
  • the first interconnection port 1851 of the switch array 1830 is connected to the interconnection processing module 1850 and the first input port 1811 respectively.
  • the second interoperability port 1852 of the switch array 1830 is connected to the interoperability processing module 1850 and the fourth output port 1814 respectively.
  • the interoperability processing module 1850 please refer to the description of the implementation of the service processor 1840, and details will not be described again. It can be understood that the interoperability processing module 1850 and the service processor 1840 shown in this embodiment can be implemented in separate structures or in the same structure, which are not specifically limited in this embodiment.
  • the detector 1810 of ONU2 When the detector 1810 of ONU2 detects a fault event in the first optical path, the detector switches the switch array 1830 from the first conduction mode to the second conduction mode. As another example, the detector 1810 can also switch the switch array 1830 from the first conduction mode to the second conduction mode when receiving a switching command. This example does not limit the source of the switching command.
  • the switching command Instructions can come from network management equipment or operator input.
  • Step 1903 ONU2 sends the first detection data stream through the first TX.
  • the interworking processing module 1850 In order to determine whether ONU2 can create an ad hoc network 1700 with ONU1, the interworking processing module 1850 generates a first detection data stream for creating an ad hoc network 1700. The interworking processing module 1850 sends the first detection data stream to ONU1 via the second interworking port 1852, the fourth output port 1814, and the first TX of the optical module 1801 in sequence.
  • Step 1904 ONU2 receives the second detection data stream through the first RX.
  • ONU1 sends the second detection data stream to ONU2.
  • the first RX of ONU2 receives the second detection data stream from ONU1.
  • This embodiment does not limit the contents of the first detection data stream and the second detection data stream.
  • the first detection data stream and the second detection data stream may carry negotiation messages for creating an ad hoc network, etc.
  • Step 1905 ONU2 receives the first ad hoc network data stream through the first RX.
  • ONU2 determines that the ad hoc network 1700 including ONU1 and ONU2 is successfully created. Between ONU2 and ONU1, there is no need to transmit ad hoc network services under the scheduling of OLT1. For example, if ONU1 If there is a second ad hoc network service that needs to be sent to ONU2, ONU1 carries the second ad hoc network service in the first ad hoc network data flow.
  • the second ad hoc network service please refer to the description of the interworking service corresponding to Figure 3, and the details will not be repeated.
  • the first ad hoc network data flow shown in this embodiment is a continuous data flow.
  • the first ad hoc network data stream includes the second ad hoc network service and filling information.
  • Step 1906 ONU2 extracts the second ad hoc network service from the first ad hoc network data stream.
  • the first ad hoc network data stream received by ONU2 has carried the second ad hoc network service sent to ONU2.
  • ONU2 obtains the second ad hoc network service sent to ONU2 from the second ad hoc network time slot of the first ad hoc network data stream.
  • ONU2 carries the second ad hoc network service through multiple ad hoc network data frames included in the first ad hoc network data stream.
  • the ad hoc network data frame please refer to the interworking data frame shown in Figure 8c. Explanation without going into details.
  • an ad hoc network data frame used to carry the second ad hoc network service is obtained.
  • the ad hoc network data frame carries the address of ONU2 or carries the identity of ONU2.
  • ONU2 obtains the second ad hoc network service from the ad hoc network data frame.
  • the first RX of ONU2 transmits it to the interworking processing module 1850 via the optical module 1801, the first input port 1811 and the first interworking port 1851.
  • the interworking processing module 1850 is used to extract the second ad hoc network service from the first ad hoc network data stream.
  • Step 1907 ONU2 sends the second ad hoc network data stream to ONU1 through the first TX.
  • the second ad hoc network data flow shown in this embodiment is used to carry the first ad hoc network service sent by ONU2 to ONU1.
  • the second ad hoc network data stream includes the first ad hoc network service and filling information.
  • ONU2 can carry the first ad hoc network service on the second ad hoc network data stream. Specifically, ONU2 obtains the ad hoc network time slot scheduling message.
  • the ad hoc network time slot scheduling message shown in this embodiment can be carried in the first ad hoc network data stream, and ONU2 obtains the ad hoc network time slot scheduling message through the first ad hoc network data stream.
  • ONU2 and ONU1 negotiate the ad hoc network time slot scheduling message based on the first detection data stream and the second detection data stream.
  • the ad hoc network time slot scheduling message can be agreed in advance between ONU1 and ONU2.
  • the ad hoc network time slot scheduling message includes the identification of ONU2 and the first ad hoc network time slot corresponding to ONU2.
  • the ad hoc network time slot scheduling message corresponding to ONU2 is used to indicate the time when ONU2 transmits the start byte of the first ad hoc network service in the second ad hoc network data stream, and is used to indicate the end of transmitting the first ad hoc network service. Bytes moment.
  • ONU2 does not need to send the first ad hoc network service according to the ad hoc network time slot scheduling message.
  • ONU2 can replace the filling information with the first ad hoc network service in any time slot that already carries the filling information in the second ad hoc network data stream. It can be understood that in this implementation, ONU2 does not need to strictly follow the instructions of the MANET time slot scheduling message to carry the first MANET service in the second MANET data stream.
  • ONU2 can carry the first MANET service at any time in the second MANET data stream. gap, replaced by the first ad hoc network service.
  • the second ad hoc network service flow generated by the service processor 1840 is sequentially transmitted to the optical module 1801 via the second interworking port 1852 and the fourth output port 1814.
  • the first TX of the optical module 1801 sends the second ad hoc network data stream to ONU1.
  • an ad hoc network can be created between ONU1 and ONU2. Even if uplink and downlink service transmission cannot be performed between ONU1 and OLT1, the transmission of ad hoc network services between ONU1 and ONU2 can be guaranteed. . It effectively reduces the delay in transmitting ad hoc network services between ONU1 and ONU2, and ensures the timeliness of each ONU in the ad hoc network obtaining ad hoc network services.
  • the network only includes OLT1, and ONU2 is the last ONU connected to OLT1.
  • the ring network includes OLT1 and OLT2, and ONU1 is connected between ONU2 and OLT1, and ONU3 is connected between ONU2 and OLT2.
  • Figure 21 is an example diagram of the third structure of a ring network provided by existing solutions. At least one ONU can be connected between ONU1 and OLT1 shown in this embodiment. At least one ONU can be connected between ONU3 and OLT2. This embodiment does not limit the specific number of ONUs included in the ring network.
  • the created ad hoc network 2100 includes ONU1, ONU2, and ONU3 as an example.
  • the ad hoc network 2100 shown in this embodiment includes at least three ONUs connected in sequence. The specific details of the ONUs included in the ad hoc network 2100 are Quantity is not limited.
  • the structure of the ONU2 shown in this embodiment can be seen in Figure 22, where Figure 22 is a fourth structural example diagram of the ONU2 provided by the embodiment of the present application.
  • the ONU2 shown in this embodiment includes an optical module 2201 and an optical module 2202, where the optical module 2201 includes a first TX and a first RX.
  • the optical module 2202 includes a second TX and a second RX.
  • This embodiment does not limit the number of optical modules included in ONU2.
  • the first TX, the first RX, the second TX and the second RX are all different ports of the same optical module.
  • ONU2 may include any number of more than two optical modules.
  • the first RX and the first TX are the transceiver ports of one optical module included in the ONU2, and the second RX and the second TX are the transceiver ports of another optical module included in the ONU2.
  • a light mode The block’s transceiver port.
  • the ONU2 shown in this embodiment also includes a switching device.
  • the switching device includes a detector 2210 and a switch array 2230 connected to the detector 2210.
  • Switch array 2230 includes a plurality of input ports and a plurality of output ports.
  • ONU2 includes two optical modules as an example.
  • the switch array 2230 shown in this embodiment includes four input ports, namely a first input port 2211, a second input port 2222, a third input port 2213 and a fourth input port. Enter port 2224.
  • the switch array 2230 includes four output ports, namely a first output port 2221, a second output port 2212, a third output port 1923 and a fourth output port 2214.
  • the detector 2210 shown in this embodiment enables the first input port 2211 of the switch array 2230 to be connected to the first output port 2221, and the first output port 2221 is connected to the first processing port 2241 of the service processor 2240.
  • the detector 2210 also connects the fourth output port 2214 of the switch array to the fourth input port 2224, and the fourth input port 2224 is connected to the second processing port 2242 of the service processor 2240.
  • the first input port 2211 and the fourth output port 2214 are both connected to the optical module 2201.
  • the detector 2210 causes the second output port 2212 of the switch array 2230 to be connected to the second input port 2222, and the second input port 2222 is connected to the third processing port 2243 of the service processor 2240.
  • the detector 2210 conducts the third input port 2213 of the switch array 2230 and the third output port 2223, and the third output port 2223 is connected to the fourth processing port 2244 of the service processor 2240.
  • the detector 2210 and the service processor 2240 shown in this embodiment please refer to Figure 18 and will not be described in detail.
  • FIG. 23 is a seventh step flow chart of the data transmission method provided by the embodiment of the present application.
  • Step 2301 ONU2 detects a fault event on the first optical path.
  • step 2301 For an explanation of the execution process of step 2301 shown in this embodiment, please refer to the corresponding step 1901 shown in Figure 19, and details will not be described again.
  • Step 2302 ONU2 detects a fault event on the second optical path.
  • ONU3 is connected between ONU2 and OLT2, and the second optical path is the optical path between the second RX of ONU2 and OLT2.
  • the fault event of the second optical path may occur between OLT2 and ONU3 or between ONU3 and OLT2. If OLT2 fails, at least one of the optical fiber connected between OLT2 and ONU3 fails, or ONU3 fails, it can cause a failure event in the second optical path.
  • the detector 2210 of ONU2 can be connected to the optical module 2202.
  • the detector 2210 detects whether the second RX of the optical module 2202 can receive the optical signal normally. If the detector 2210 exceeds the preset During the time period, if the event that the second RX successfully receives the optical signal is continuously unable to be detected or the optical power of the continuously detected optical signal is less than the preset threshold, it is determined that the second optical path between the second RX of ONU2 and OLT2 is faulty. event.
  • the detector 2210 is connected to the line between the optical module 2202 and the third input port 2213.
  • the detector 2210 obtains the electrical signal output by the optical module 2202 based on the line.
  • the detector 2210 detects whether the electrical signal includes consecutive valid frames. If not, it is determined that a fault event occurs in the second optical path. For another example, the detector 2210 detects that the bit error rate of the electrical signal exceeds a preset threshold. This embodiment does not limit how the detector 2210 determines a fault event on the second optical path, as long as a fault event occurs on the second optical path, the uplink and downlink services cannot be successfully transmitted between OLT2 and ONU2.
  • Step 2303 The detector of ONU2 switches the switch array from the third conduction mode to the fourth conduction mode.
  • ONU2 when ONU2 detects a fault event in both the first optical path and the second optical path, the detector of ONU2 switches the switch array from the third conduction mode to the fourth conduction mode, so that the switch array of ONU2 When in the fourth conduction mode, ONU2 can form an ad hoc network with ONU1 and ONU2, so that ad hoc network services can be transmitted between multiple ONUs that have succeeded in the ad hoc network.
  • the switch array 2230 when the switch array 2230 is in the third conduction mode, the first input port 2211 and the first output port 2221 of the switch array 2230 are connected, and the first output port 2221 is connected to the service processor 2240
  • the first processing port is 2241 connect.
  • the fourth output port 2214 and the fourth input port 2224 of the switch array are connected, and the fourth input port 2224 is connected to the second processing port 2242 of the service processor 2240.
  • the first input port 2211 and the fourth output port 2214 are both connected to the optical module 2201.
  • the second output port 2212 of the switch array 2230 is connected to the second input port 2222, and the second input port 2222 is connected to the third processing port 2243 of the service processor 2240.
  • the third input port 2213 of the switch array 2230 is connected to the third output port 2223, and the third output port 2223 is connected to the fourth processing port 2244 of the service processor 2240.
  • FIG. 24 is an example diagram of the fifth structure of ONU2 provided by the embodiment of the present application.
  • the first interoperability port 2251 of the switch array 2230 is conductive to the interoperability processing module 2250 and the first input port 2211 respectively.
  • the second interoperability port 2252 of the switch array 2230 is connected to the interoperability processing module 2250 and the fourth output port 2214 respectively.
  • the third interoperability port 2253 of the switch array 2230 is connected to the interoperability processing module 2250 and the second output port 2212 respectively.
  • the fourth interoperability port 2254 of the switch array 2230 is connected to the third input port 2213 and the interoperability processing module 2250 respectively.
  • the detector 2210 of the ONU2 When the detector 2210 of the ONU2 detects the first optical path and the second optical path and a fault event occurs respectively, the detector switches the switch array 2230 from the third conduction mode to the fourth conduction mode.
  • Step 2304 ONU2 sends the first detection data stream through the first TX.
  • Step 2305 ONU2 receives the second detection data stream through the first RX.
  • Step 2306 ONU2 receives the first ad hoc network data stream through the first RX.
  • Step 2307 ONU2 sends the third detection data stream through the second TX.
  • Step 2308 ONU2 receives the fourth detection data stream through the second RX.
  • ONU2 determines that the third detection data stream has been sent and the fourth detection data stream has been received. ONU2 determines that the ad hoc network including ONU2 and ONU3 has been successfully created. Because ONU2 has successfully created an ad hoc network including ONU2 and ONU1, ONU1, ONU2, and ONU3, which can transmit ad hoc network services, can successfully create an ad hoc network. This embodiment does not limit the number of ONUs included in the ad hoc network.
  • Step 2309 ONU2 obtains the third ad hoc network data stream according to the first ad hoc network data stream.
  • interworking processing module of ONU2 to obtain the third ad hoc network data stream based on the first ad hoc network data stream are: See Figure 24, after the first RX of ONU2 receives the first ad hoc network data stream , is transmitted to the interoperability processing module 2250 via the optical module 2201, the first input port 2211 and the first interoperability port 2251 in sequence.
  • the interworking processing module 2250 is used to obtain a third ad hoc network data stream according to the first ad hoc network data stream.
  • ONU2 has an ad hoc network service that needs to be sent to ONU3. Then ONU2 carries the ad hoc network service to be sent by ONU2 on the ad hoc network time slot of the first ad hoc network data flow according to the instructions of the ad hoc network time slot scheduling message. To the ad hoc network service of ONU3, the third ad hoc network data stream is obtained. The description of the ad hoc network time slot scheduling message is shown in Figure 19, and the details will not be repeated.
  • ONU2 may not necessarily have ad hoc network services that need to be sent to ONU3. For example, if ONU2 has no ad hoc network services that need to be sent to ONU3, but the ad hoc network time slot scheduling message has allocated an ad hoc network time slot to ONU2, other ONUs (such as ONU1) need to send ad hoc network services to ONU3.
  • ONU2 does not need to send the ad hoc network service to ONU3 according to the ad hoc network time slot scheduling message.
  • ONU2 replaces the filling information included in the first ad hoc network data stream with the ad hoc network service that ONU2 needs to send to ONU3, and obtains the third ad hoc network data stream.
  • the first ad hoc network data stream received by ONU2 has carried the second ad hoc network service sent to ONU2.
  • ONU2 extracts the second ad hoc network service sent to ONU2 from the second ad hoc network time slot of the first ad hoc network data stream, and carries the filling information on the second ad hoc network time slot to obtain the third ad hoc network service.
  • network data flow Specifically, ONU1 carries the second ad hoc network service through multiple ad hoc network data frames included in the first ad hoc network data stream.
  • the ad hoc network data frame please refer to the interworking data frame shown in Figure 8c. Explanation without going into details.
  • an ad hoc network data frame used to carry the second ad hoc network service is obtained.
  • the ad hoc network data frame carries the address of ONU2 or carries the identity of ONU2.
  • ONU2 obtains the second ad hoc network service from the ad hoc network data frame.
  • ONU2 extracts the second ad hoc network service sent to ONU2 from the first ad hoc network data stream based on the address or identification of ONU2.
  • ONU1 can also send ad hoc network services to ONU3 through the first ad hoc network data flow.
  • the second ad hoc network service has been carried in the first ad hoc network data stream received by ONU2.
  • ONU2 extracts the second ad hoc network service from the first ad hoc network data stream.
  • ONU2 when ONU2 detects the second MANET service carried in the first MANET data stream, ONU2 directly extracts the second MANET service from the first MANET data stream. come out.
  • ONU2 determines whether the second ad hoc network service needs to be sent to the downstream ONU3. For example, if ONU2 determines that the second ad hoc network service has carried the address or identification of ONU3.
  • the second ad hoc network service is sent by ONU1 to each ONU in the ad hoc network.
  • ONU1 re-carries the second ad hoc network service in the first ad hoc network data flow to obtain the third ad hoc network data flow.
  • ONU1 shown in this example needs to carry the ad hoc network service sent to ONU3 in the first ad hoc network data stream, and needs to extract the ad hoc network service from the first ad hoc network data stream to obtain the third ad hoc network service.
  • network data flow the process of ONU2 carrying the ad hoc network service sent to ONU3 in the first ad hoc network data stream is shown in optional method 1 or 2.
  • the process of ONU2 extracting the ad hoc network service from the first ad hoc network data stream to obtain the third ad hoc network data stream is shown in optional mode 3 or mode 4, and the details will not be described again.
  • the service processor 2240 of ONU2 directly transmits the first ad hoc network data flow to the optical module 2202 through the third interworking port 2253 and the second output port 2212.
  • the optical module 2202 performs electro-optical conversion on the first ad hoc network data stream to obtain a third ad hoc network data stream, and sends the third ad hoc network data stream to ONU3 through the second TX.
  • Step 2310 ONU2 sends the third ad hoc network data stream through the second TX.
  • the second TX of ONU2 shown in this embodiment sends the third ad hoc network data stream to ONU3.
  • Step 2311 ONU2 receives the fourth ad hoc network data stream through the second RX.
  • the second RX of ONU2 shown in this embodiment receives the fourth ad hoc network data flow from ONU3.
  • the fourth ad hoc network data flow please refer to the description of the first ad hoc network data flow shown in step 2308. , no details will be given.
  • Step 2312 ONU2 obtains the second ad hoc network data stream according to the fourth ad hoc network data stream.
  • step 2311 For the execution process of step 2311 shown in this embodiment, please refer to the process of ONU2 obtaining the third ad hoc network data stream according to the first ad hoc network data stream shown in step 2309, which will not be described in detail.
  • Step 2313 ONU2 sends the second ad hoc network data stream through the first TX.
  • step 2312 For the execution process of step 2312 shown in this embodiment, please refer to the corresponding step 1907 in Figure 19, and details will not be described again.
  • an ad hoc network can be created between multiple ONUs (such as ONU1, ONU2 and ONU3 shown in this embodiment), even if uplink and downlink service transmission cannot be performed between ONU1 and OLT1, and ONU3 and ONU3 Even when the uplink and downlink services cannot be transmitted between OLT2, it can also ensure the transmission of ad hoc network services between any two ONUs in the ad hoc network. It effectively reduces the delay in transmitting ad hoc network services and ensures that each ONU in the ad hoc network can obtain ad hoc network services in a timely manner.
  • FIG. 25 is an example structural diagram of the communication device provided by an embodiment of the present application.
  • the communication device 2500 shown in this embodiment includes a transceiver 2501 and a processor 2502, where the transceiver 2501 The transmitter 2501 and the processor 2502 are connected.
  • the communication device shown in this embodiment may be an OLT.
  • the transceiver 2501 included in the OLT is used to perform the tasks performed by the OLT in the embodiments shown in Figures 3, 10b, 11a, 14, 19 and 23. Processes related to sending and receiving.
  • the processor 2302 included in the OLT is configured to execute processes related to processing performed by the OLT in the embodiments shown in FIG. 3, FIG. 10b, FIG. 11a, FIG. 14, FIG. 19, and FIG. 23.
  • the communication device shown in this embodiment can be any ONU included in the ring network.
  • the transceiver 2501 included in the ONU is used to execute the processes related to transceiver executed by the ONU in the embodiments shown in FIG. 3, FIG. 10b, FIG. 11a, FIG. 14, FIG. 19, and FIG. 23.
  • the processor 2502 included in the ONU is configured to execute processes related to processing performed by the ONU in the embodiments shown in FIG. 3, FIG. 10b, FIG. 11a, FIG. 14, FIG. 19, and FIG. 23.
  • the ONU shown in this embodiment can be seen in Figure 18, Figure 20, Figure 22 or Figure 24.
  • the transceiver 2501 of the communication device 2500 may include an optical module as shown in FIG. 18 and FIG. 20 .
  • the transceiver 2501 of the communication device 2500 may include two optical modules as shown in FIG. 22 and FIG. 24 .
  • This embodiment does not limit the number of optical modules included in the communication device 2500 .
  • the communication device 2500 includes two or more optical modules, a complex structure of networking can be implemented.
  • This embodiment does not limit the specific networking type.
  • communication equipment including three optical modules can form a dual-ring network.
  • Figure 26 is an example diagram of a dual-ring network structure provided by an embodiment of the present application.
  • the dual-ring network 2600 includes OLT1 and ONU1 connected to OLT1.
  • the service processor 2602 of ONU1 is connected to the optical module 2601, the optical module 2603 and the optical module 2604 respectively.
  • Optical module 2601 is connected to OLT1
  • optical module 2603 is connected to ONU2
  • optical module 2601 is connected to ONU3.
  • the dual ring network 2600 also includes an ONU4 connected to the OLT2.
  • the ONU4 includes a service processor 2614.
  • the service processor 2614 is connected to the optical module 2611, the optical module 2612 and the optical module 2613 respectively.
  • the optical module 2611 is connected to ONU2.
  • the optical module 2612 is connected to ONU3.
  • the optical module 2613 is connected to the OLT2.
  • each optical module and service processor included in the ONU4 please refer to the description of the corresponding optical module in Figure 18, Figure 20, Figure 22 or Figure 24, and the details will not be repeated.
  • this embodiment takes the communication device including three optical modules to form a dual-ring network as an example. This embodiment does not limit the specific type of network. It can be understood that this embodiment can realize flexible networking of any shape, reduces the difficulty of adding subsequent communication nodes to the network, and improves the subsequent scalability of the network.
  • the communication device shown in this embodiment may also include a detector and a switch array as shown in Figure 18, Figure 20, Figure 22 or Figure 24.
  • a detector and a switch array as shown in Figure 18, Figure 20, Figure 22 or Figure 24.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente demande divulgue un procédé de transmission de données, un dispositif associé et un système utilisés pour réaliser la transmission d'un service entre deux nœuds de communication lorsqu'aucun dispositif de bureau central n'est requis pour un transfert entre les deux nœuds de communication. Le procédé comprend les étapes au cours desquelles : un premier nœud de communication obtient un premier flux de données de service, le premier flux de données de service étant utilisé pour la transmission d'un service entre un dispositif de bureau central et un deuxième nœud de communication ; et le premier nœud de communication obtient un premier flux de données d'intercommunication. Le premier flux de données d'intercommunication est utilisé pour la transmission d'un service d'intercommunication entre le premier nœud de communication et un troisième nœud de communication. Le premier flux de données de service et le premier flux de données d'intercommunication sont deux chemins de différents flux de données.
PCT/CN2023/102519 2022-08-31 2023-06-26 Procédé de transmission de données, dispositif associé et système WO2024045813A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211056284.7A CN117676391A (zh) 2022-08-31 2022-08-31 一种数据传输方法,相关设备以及系统
CN202211056284.7 2022-08-31

Publications (1)

Publication Number Publication Date
WO2024045813A1 true WO2024045813A1 (fr) 2024-03-07

Family

ID=90072039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102519 WO2024045813A1 (fr) 2022-08-31 2023-06-26 Procédé de transmission de données, dispositif associé et système

Country Status (2)

Country Link
CN (1) CN117676391A (fr)
WO (1) WO2024045813A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729942A (zh) * 2009-11-26 2010-06-09 上海大学 波分复用无源光网络实现环形局域网系统和方法
CN105307057A (zh) * 2014-06-06 2016-02-03 上海贝尔股份有限公司 一种pon系统中支持onu站间通信的装置
JP2017076945A (ja) * 2015-10-16 2017-04-20 日本電信電話株式会社 光伝送装置、光集線ネットワークシステム、運用制御方法およびプログラム
CN114374898A (zh) * 2021-12-27 2022-04-19 暨南大学 无源光网络架构和基于该构架的onu间通信方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729942A (zh) * 2009-11-26 2010-06-09 上海大学 波分复用无源光网络实现环形局域网系统和方法
CN105307057A (zh) * 2014-06-06 2016-02-03 上海贝尔股份有限公司 一种pon系统中支持onu站间通信的装置
JP2017076945A (ja) * 2015-10-16 2017-04-20 日本電信電話株式会社 光伝送装置、光集線ネットワークシステム、運用制御方法およびプログラム
CN114374898A (zh) * 2021-12-27 2022-04-19 暨南大学 无源光网络架构和基于该构架的onu间通信方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DENGFENG YANG, GAN CHAOQIN, ZHU LONG: "Study on reflective optical network units in passive optical networks", STUDY ON OPTICAL COMMUNICATIONS, vol. 1, no. 157, 10 February 2010 (2010-02-10), pages 15 - 18, XP093145033 *

Also Published As

Publication number Publication date
CN117676391A (zh) 2024-03-08

Similar Documents

Publication Publication Date Title
US7949255B2 (en) System, device and method for transporting signals through passive optical network
US8126335B2 (en) Methods and apparatus for next generation access passive optical networks
US8897651B2 (en) Passive optical network data over cable service interface specification upstream proxy architecture over the next generation hybrid fiber-coaxial networks
EP2164221B1 (fr) Procédé, système et dispositif pour une transmission de données de réseau optique passif
US8059962B2 (en) Interleaving for 10G GPON
CN112672236B (zh) 业务信号处理方法及设备
WO2010000200A1 (fr) Nœud, système de traitement de données et procédé de traitement de données
US8885652B2 (en) Hybrid orthogonal frequency division multiplexing time domain multiplexing passive optical network
US20090252492A1 (en) Optical communication system , and optical communication method and communication unit therefor
WO2020074007A1 (fr) Procédé et appareil d'établissement de liaison et support de stockage lisible par ordinateur
CN101188502A (zh) 具有电信e1接口的以太无源光网络传输单元
CN109286864B (zh) 一种基于注册的信息处理方法、装置及存储介质
WO2021169419A1 (fr) Terminal de ligne optique, unité de réseau optique et système de communication optique
JP2007074256A (ja) 複数llid処理装置
CN112671462B (zh) 一种业务数据的传输方法、相关设备以及数字处理芯片
KR101348121B1 (ko) 음성, 데이터 및 비디오 서비스용 통합형 수동광네트워크 맥 정합장치 및 그를 이용한 통합형 수동광네트워크 종단장치
US9148222B2 (en) AFDX network with a passive optical network
WO2024045813A1 (fr) Procédé de transmission de données, dispositif associé et système
WO2024045812A1 (fr) Procédé de transmission de données, équipement associé et système de communication optique
US20130089338A1 (en) Communication network
US20100124420A1 (en) Communication device and communication method
JP2007281979A (ja) Ponシステム
WO2024045814A1 (fr) Procédé de transmission de données, dispositif associé et système de communication optique
CN113824660B (zh) 一种码流的透传方法和路由器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23858851

Country of ref document: EP

Kind code of ref document: A1