CN117676391A - Data transmission method, related equipment and system - Google Patents

Data transmission method, related equipment and system Download PDF

Info

Publication number
CN117676391A
CN117676391A CN202211056284.7A CN202211056284A CN117676391A CN 117676391 A CN117676391 A CN 117676391A CN 202211056284 A CN202211056284 A CN 202211056284A CN 117676391 A CN117676391 A CN 117676391A
Authority
CN
China
Prior art keywords
data stream
communication node
service
interworking
intercommunication
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211056284.7A
Other languages
Chinese (zh)
Inventor
曾小飞
刘思迪
林斌超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211056284.7A priority Critical patent/CN117676391A/en
Priority to PCT/CN2023/102519 priority patent/WO2024045813A1/en
Publication of CN117676391A publication Critical patent/CN117676391A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The application discloses a data transmission method, related equipment and a system, which are used between two communication nodes and realize the transmission of service between the two communication nodes without forwarding by central office equipment. The method comprises the following steps: the method comprises the steps that a first communication node obtains a first service data stream, wherein the first service data stream is used for transmitting services between central office equipment and a second communication node; the first communication node obtains a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams.

Description

Data transmission method, related equipment and system
Technical Field
The present disclosure relates to the field of optical fiber communications, and in particular, to a data transmission method, related device, and system.
Background
Fig. 1 is a diagram showing a first structural example of a ring network provided by the prior art. The ring network comprises a first Central Office (CO) device 101 and a second CO device 102. N communication nodes are sequentially connected between the first CO equipment 101 and the second CO equipment 102, wherein N is any positive integer greater than 1. For example, the communication node 1, the communication node 2, the communication node N-1, and the communication node N are sequentially connected between the first CO device 101 and the second CO device 102.
Taking the example that N communication nodes included in the ring network all transmit uplink traffic to the first CO device 101, the N communication nodes transmit the uplink traffic to the first CO device 101 in a time division multiple access (time division multiple access, TDMA) manner.
Although the communication node N-1 and the communication node N are directly connected by an optical fiber, the communication node N needs to transmit the interworking service to the communication node N-1, and needs to be forwarded via the first CO device 101. For example, the communication node N generates an uplink traffic data stream carrying the interworking service, which is transmitted to the first CO device 101 via the communication point N-1, the communication node 2, and the communication node 1 in this order. 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 identification of the communication node N-1, where the downlink service data flow carries the interworking service. Communication node 1, in turn, forwards the downstream traffic stream to communication node N-1. The communication node N-1 analyzes the downlink service data stream to obtain an intercommunication service.
Therefore, if the intercommunication service needs to be transmitted between two communication nodes included in the ring network, the transmission of the CO equipment is needed, and the communication of the intercommunication service cannot be directly carried out between the two communication nodes, so that the communication efficiency between the communication nodes is reduced.
Disclosure of Invention
The embodiment of the application provides a data transmission method, related equipment and a system, which are used between two communication nodes and can realize the transmission of intercommunication service without forwarding by central office equipment.
The first aspect of the embodiment of the present application provides a data transmission method, where a first communication node obtains a first service data stream, where the first service data stream is used for transmission of a service between a central office device and a second communication node; the first communication node obtains a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams.
The first communication node and the second communication node are the same communication node, the first service data stream is used for transmitting services between the first communication node and the central office equipment, or the first communication node and the second communication node are different communication nodes, and the first service data stream is used for transmitting services between the second communication node and the central office equipment.
By adopting the scheme, the transmission of the intercommunication service can be carried out between the first communication node and the third communication node based on the first intercommunication data stream. And the transmission process of the intercommunication service between the first communication node and the third communication node does not need to be forwarded by the central office equipment, so that the time delay of the transmission of the intercommunication service between the first communication node and the third communication node is reduced.
Based on the first aspect, in an optional implementation manner, the first service data flow and the first interworking data flow are two data flows transmitted along the same direction, and after the first communication node obtains the first interworking data flow, the method further includes: the first communication node combines the first service data stream and the first interworking data stream into a first transport data stream; the first communication node transmits the first transport data stream.
By adopting the implementation mode, the first intercommunication data stream and the first service data stream are combined into the first transmission data stream for transmission, so that one wavelength of the first communication node is used for the transmission of the first intercommunication data stream and the first service data stream, and the transmission efficiency is improved. The first intercommunication data stream can also realize the transmission of intercommunication service between two communication nodes under the condition that the transmission of the central office equipment is not needed, and the time delay of the intercommunication service between any two communication nodes is reduced.
Based on the first aspect, in an optional implementation manner, the obtaining, by the first communication node, a first interworking data flow includes: the first communication node obtains a second intercommunication data stream, wherein the second intercommunication data stream is a continuous data stream, and the second intercommunication data stream comprises intercommunication service and/or filling information; the first communication node obtains the first intercommunication data stream according to the second intercommunication data stream.
By adopting the implementation mode, the complexity of processing the intercommunication service by the first communication node is reduced under the condition that the first intercommunication data stream is a continuous data stream.
Based on the first aspect, in an optional implementation manner, the third communication node is a downstream communication node of the first communication node, the interworking service includes a first interworking service that the first communication node sends to the third communication node, and the first communication node obtains the first interworking data flow according to the second interworking data flow includes: the first communication node carries the first intercommunication service on the second intercommunication data stream to obtain the first intercommunication data stream.
By adopting the implementation mode, the first communication node can send the first intercommunication service to the downstream communication node through the first intercommunication data stream, and the first communication node sends the first intercommunication service to the downstream communication node without forwarding through the central office equipment, so that the time delay of the transmission of the first intercommunication service is reduced.
Based on the first aspect, in an optional implementation manner, the first communication node carries the first interworking service on the second interworking data flow, and obtaining the first interworking data flow includes: the first communication node carries the first intercommunication service on a first intercommunication time slot of the second intercommunication data stream according to an intercommunication time slot scheduling message to obtain the first intercommunication data stream, wherein the intercommunication time slot scheduling message is used for indicating the first intercommunication time slot.
By adopting the implementation mode, through the intercommunication time slot scheduling message, each communication node transmits the intercommunication service according to the allocated intercommunication time slot, the possibility of collision of the intercommunication time slots occupied by the intercommunication services from different communication nodes is avoided, and the successful transmission of the intercommunication service is improved.
Based on the first aspect, in an optional implementation manner, the first communication node carries the first interworking service on the second interworking data flow, and obtaining the first interworking data flow includes: and the first communication node replaces partial filling information included in the second intercommunication data stream with the first intercommunication service to obtain the first intercommunication data stream.
By adopting the implementation mode, the first communication node does not need to send the first intercommunication service according to the time slot indicated by the intercommunication time slot scheduling message, but replaces partial filling information included in the second intercommunication data stream with the first intercommunication service to obtain the first intercommunication data stream, so that the transmission efficiency of the first intercommunication service is improved, and the waste of the bandwidth of the intercommunication data stream is reduced.
Based on the first aspect, in an optional implementation manner, the third communication node is an upstream communication node of the first communication node, the interworking service includes a second interworking service that the third communication node sends to the first communication node, and the first communication node obtains the first interworking data flow according to the second interworking data flow includes: the first communication node extracts the second intercommunication service from a second intercommunication time slot of the second intercommunication data stream; and if the first communication node determines that the second intercommunication service is only the intercommunication service processed by the first communication node, loading filling information on the second intercommunication time slot to obtain the first intercommunication data stream.
By adopting the implementation mode, under the condition that the second intercommunication data stream carries the second intercommunication service which is sent to the first communication node, the first communication node can directly extract the second intercommunication service from the second intercommunication data stream, so that the success of sending the second intercommunication service to the first communication node by the third communication node is ensured.
Based on the first aspect, in an optional implementation manner, the third communication node is an upstream communication node of the first communication node, the interworking service includes a third interworking service that the third communication node sends to the first communication node, and the first communication node obtains the first interworking data flow according to the second interworking data flow includes: the first communication node extracts the third intercommunication service from the second intercommunication data stream; and if the first communication node determines that the third intercommunication service needs to be sent to a downstream communication node, the first communication node carries the third intercommunication service on the second intercommunication data stream to obtain the first intercommunication data stream.
By adopting the implementation manner, under the condition that the second intercommunication data stream carries the third intercommunication service sent to the downstream communication node, the first communication node can directly extract the third intercommunication service from the second intercommunication data stream, and under the condition that the third intercommunication service is determined to be sent to the downstream communication node, the first communication node carries the third intercommunication service on the second intercommunication data stream to obtain the first intercommunication data stream so as to ensure that the downstream communication node can successfully receive the third intercommunication service.
Based on the first aspect, in an optional implementation manner, the merging the first service data stream and the first interworking data stream into a first transmission data stream by the first communication node includes: the first communication node multiplexes the first service data stream and the first interworking data stream to obtain the first transport data stream.
By adopting the implementation mode, the first service data stream and the first intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the efficiency of transmitting the first service data stream and the first intercommunication data stream is improved, and the utilization rate of wavelength resources of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, the rate of the first transmission data stream is equal to a sum of the first traffic data stream rate and the first interworking data stream rate.
By adopting the implementation mode, the speed of the first transmission data stream is equal to the sum of the speed of the first service data stream and the speed of the first intercommunication data stream, so that timely transmission of the first transmission data stream and the first intercommunication data stream is effectively ensured.
Based on the first aspect, in an optional implementation manner, the multiplexing, by the first communication node, the first service data stream and the first interworking data stream, and obtaining the first transport 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 by means of bit interleaving, wherein the first transmission data stream includes at least one bit packet, and each bit packet includes at least a portion of bits in the first service data stream and at least a portion of bits in the first interworking data stream.
By adopting the implementation mode, the success rate of multiplexing the first service data stream and the first intercommunication data stream into the first transmission data stream can be improved.
Based on the first aspect, in an optional implementation manner, the merging the first service data stream and the first interworking data stream into a first transmission data stream by the first communication node includes: and the first communication node remodulates the first intercommunication data stream on the first service data stream in a top-adjusting mode to obtain the first transmission data stream.
By adopting the implementation mode, the first service data stream and the first intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the efficiency of transmitting the first service data stream and the first intercommunication data stream is improved, and the utilization rate of wavelength resources of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, before the first communication node obtains the first interworking data flow, the method further includes: the first communication node generates the second intercommunication data stream, wherein the second intercommunication data stream is a continuous data stream, and the second intercommunication data stream comprises intercommunication service and/or filling information.
By adopting the implementation mode, the central office equipment does not need to send the second intercommunication data stream to the first communication node, so that the change degree of the central office equipment is reduced.
Based on the first aspect, in an optional implementation manner, the first service data flow includes a downlink service sent by the central office device to the first communication node, and the first communication node obtaining the first service data flow includes: the first communication node obtains a second service data stream; the first communication node obtains the downlink service carried by the second service data flow; the first communication node replicates the second service data stream to obtain the first service data stream.
By adopting the implementation manner, under the condition that the first communication node receives the second service data stream, the second service data stream is copied to acquire the first service data stream, and the first communication node does not need to execute related operation of acquiring downlink service from the second service data stream, so that the time delay of the first communication node for transmitting the first service data stream is effectively reduced.
Based on the first aspect, in an optional implementation manner, the obtaining, by the first communication node, the second service data flow includes:
The first communication node receives a second transmission data stream, wherein the second transmission data stream is combined with the second service data stream and a second intercommunication data stream, and the second intercommunication data stream is used for obtaining the first intercommunication data stream; the first communication node obtains the second service data stream and the second intercommunication data stream according to the second transmission data stream.
By adopting the implementation mode, the combined second service data stream and the second intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the efficiency of transmitting the second service data stream and the second intercommunication data stream is improved, and the utilization rate of the wavelength resource of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, the first service data flow includes an uplink service sent by the first communication node to the central office device, and the first communication node obtaining the first service data flow includes: the first communication node obtains a third service data stream; and the first communication node carries the uplink service on a first service time slot of the third service data stream to obtain the first service data stream.
By adopting the implementation mode, the combined first service data stream and the first intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the transmission efficiency is improved, and the utilization rate of the wavelength resource of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, the obtaining, by the first communication node, a third service data flow includes:
the first communication node receives a second transmission data stream, wherein the second transmission data stream is combined with the third service data stream and a second intercommunication data stream, and the second intercommunication data stream is used for obtaining the first intercommunication data stream; the first communication node obtains the third service data stream and the second intercommunication data stream according to the second transmission data stream.
By adopting the implementation mode, the combined third service data stream and the second intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the efficiency of transmitting the third service data stream and the second intercommunication data stream is improved, and the utilization rate of the wavelength resource of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, the first service data flow includes a first sub-service and a second sub-service, where the first sub-service is a downlink service sent by a first central office device to the first communication node, and the second sub-service is an uplink service sent by the first communication node to a second central office device, and the first communication node obtaining the first service data flow includes: the first communication node obtains a fourth service data stream; the first communication node obtains the first sub-service carried by the fourth service data flow; the first communication node replicates the fourth service data stream to obtain a first sub-service data stream; the first communication node obtains a fifth service data stream; the first communication node bears the second sub-service on a second service time slot of the fifth service data stream 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 stream.
By adopting the implementation mode, the combined first sub-service data stream, the second sub-service data stream and the first intercommunication data stream can be transmitted through one wavelength of the first communication node, so that the utilization rate of the wavelength resource of the first communication node is improved.
Based on the first aspect, in an optional implementation manner, the method is applied to an optical communication system, where the optical communication system includes the central office device and a plurality of communication nodes sequentially connected to the central office device; the first communication node and the third communication node are different two communication nodes in the plurality of communication nodes; the first communication node and the second communication node are the same communication node in the plurality of communication nodes, or the first communication node and the second communication node are different two communication nodes in the plurality of communication nodes.
Based on the first aspect, in an optional implementation manner, the method is applied to an optical communication system, where the optical communication system further includes the first central office device and the second central office device, and the optical communication system further includes a plurality of communication nodes sequentially connected between the first central office device and the second central office device; the first communication node and the third communication node are different two communication nodes in the plurality of communication nodes;
The first communication node and the second communication node are the same communication node in the plurality of communication nodes, or the first communication node and the second communication node are different two communication nodes in the plurality of communication nodes.
A second aspect of an embodiment of the present application provides a data transmission method, where the method includes: the method comprises the steps that a central office device generates a service data stream, wherein the service data stream is used for transmitting services between the central office device and a communication node; the central office equipment generates an intercommunication data stream, wherein the intercommunication data stream is used for transmission of intercommunication service between one communication node and another communication node, and the service data stream and the intercommunication data stream are two paths of different data streams; the central office equipment combines the service data stream and the intercommunication data stream into a transmission data stream; the central office equipment transmits the transport data stream.
For an explanation of the beneficial effects of this aspect, please refer to the first aspect, and detailed descriptions thereof are omitted.
Based on the second aspect, in an optional implementation manner, the merging the service data stream and the interworking data stream into a transport data stream by the central office device includes: and the central office equipment multiplexes the service data stream and the intercommunication data stream to obtain the transmission data stream.
Based on the second aspect, in an optional implementation manner, the merging the service data stream and the interworking data stream into a transport data stream by the central office device includes: and the central office equipment remodulates the intercommunication data stream on the service data stream in a top-regulating mode to obtain the second transmission data stream.
A third aspect of the embodiments of the present application provides a data transmission method, which is applied to a first communication node, where the first communication node includes at least one receiving port RX and at least one transmitting port TX, and the method includes: the first communication node receives a first ad hoc network data stream from a second communication node through a first RX, the first RX being one of the at least one RX and the first RX being connected to the second communication node; the first communication node sends a second ad hoc network data stream to the second communication node through a first TX, wherein the first TX is one of the at least one TX, the first TX is connected with the second communication node, the first ad hoc network data stream and the second ad hoc network data stream are used for transmitting an ad hoc network service, and the ad hoc network service is a service between the first communication node and the second communication node.
By adopting the method, the ad hoc network can be established among a plurality of communication nodes, the time delay for transmitting the ad hoc network service is effectively reduced, and the timeliness of each communication node in the ad hoc network for acquiring the ad hoc network service is ensured.
Based on the third aspect, in an optional implementation manner, the first ad hoc network data stream and the second ad hoc network data stream are continuous data streams respectively, the first ad hoc network data stream includes the ad hoc network service and/or the filling information, and the second ad hoc network data stream includes the ad hoc network service and/or the filling information.
By adopting the implementation mode, the complexity of processing the ad hoc network service by the communication node is reduced under the condition that the first ad hoc network data stream and the second ad hoc network data stream are continuous data streams.
Based on the third aspect, in an optional implementation manner, the ad hoc network service includes a first ad hoc network service that the first communication node sends to the second communication node, and before the first communication node sends the second ad hoc network data stream to the second communication node through the first TX, the method further includes: the first communication node carries the first ad hoc network service on the second ad hoc network data stream.
By adopting the implementation mode, the first communication node can be ensured to successfully send the first ad hoc network service to the second communication node, and the process of sending the first ad hoc network service does not need the forwarding of central office equipment, so that the time delay of the transmission of the first ad hoc network service is reduced.
Based on the third aspect, in an optional implementation manner, 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 on a first ad hoc network time slot of the second ad hoc network data stream according to an ad hoc network time slot scheduling message, wherein the ad hoc network time slot scheduling message is used for indicating the first ad hoc network time slot.
By adopting the implementation mode, each communication node sends the ad hoc network service according to the allocated ad hoc network time slot through the ad hoc network time slot scheduling message, so that the possibility of collision of the ad hoc network time slots occupied by the ad hoc network service from different communication nodes is avoided, and the successful transmission of the ad hoc network service is improved.
Based on the third aspect, in an optional implementation manner, the first communication node carrying the first ad hoc network service on the second ad hoc network data stream includes: the first communication node replaces the partial filling information included in the second ad hoc network data stream with the first ad hoc network service.
By adopting the implementation manner, 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 the partial filling information included in the second ad hoc network data stream with the first ad hoc network service, so that the transmission efficiency of the first ad hoc network service is improved, and the waste of the bandwidth of the second ad hoc network data stream is reduced.
Based on the third aspect, in an optional implementation manner, the ad hoc network service includes a second ad hoc network service that the second communication node sends to the first communication node, and after the first communication node receives, through the first RX, a first ad hoc network data stream from the second communication node, the method further includes: the first communication node extracts the second ad hoc network service from a second ad hoc network time slot of the first ad hoc network data stream.
By adopting the implementation mode, the second communication node can be ensured to successfully send the second self-networking service to the first communication node, and the process of sending the second self-networking service does not need the forwarding of central office equipment, so that the time delay of the transmission of the second self-networking service is reduced.
Based on the third aspect, in an optional implementation manner, 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 connected to a third communication node, 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 obtains a third ad hoc network data stream according to the first 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; before the first communication node sends the second ad hoc network data stream to the second communication node through the first TX, the method further includes: the first communication node receives a 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 for transmitting ad hoc network service between the first communication node and the third communication node.
By adopting the implementation mode, the self-organizing network at least comprising the first communication node, the second communication node and the third communication node can be created, and successful transmission of intercommunication service between any two communication nodes among the first communication node, the second communication node and the third communication node is ensured.
Based on the third aspect, in an alternative implementation manner, the first communication node has and only the first RX is used to communicate with a central office device; the second communication node is connected between the central office device and the first communication node, 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 first communication node detects that a fault event occurs between the first RX and the central office equipment; the first communication node transmitting a first probing data stream to the second communication node via the first TX; 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 being used to create a transmission of ad hoc traffic between the first communication node and the second communication node.
In this implementation, if a fault event occurs between the first RX and the central office equipment, and if the first communication node has and only the first RX is used for communication with the central office equipment, an ad hoc network including the first communication node and the second communication node is created based on the first probe data stream and the second probe data stream. Under the condition that uplink and downlink service transmission can not be successfully carried out between the first communication node and the central office equipment, the transmission of the ad hoc network service between the first communication node and the second communication node is realized by creating the ad hoc network comprising the first communication node and the second communication node.
Based on a third aspect, in an optional implementation manner, the first RX is connected to a first central office device, the second communication node is connected between the first central office device and the first communication node, the second RX is connected to a second central office device, the third communication node is connected between the second central office device and the first communication node, and before the first communication node receives a first ad hoc data stream from the second communication node through the first RX, the method further includes: the first communication node detecting a fault event between the first RX and the first central office device; the first communication node detects that a fault event occurs between the second RX and the second central office equipment; the first communication node transmitting a first probing data stream to the second communication node via the first TX; the first communication node receives a second detection data stream from the second communication node through the first RX, wherein the first detection data stream and the second detection data stream are used for creating the transmission of the self-networking service between the first communication node and the second communication node; the first communication node sends a third probing data stream to the third communication node through a second TX; the first communication node receives a fourth probing data stream from the third communication node via the second RX, the third probing data stream and the fourth probing data stream being used to create a transmission of ad hoc traffic between the first communication node and the third communication node.
By adopting the implementation mode, under the condition that the first communication node cannot successfully transmit uplink and downlink service with the first central office equipment and the first communication node cannot successfully transmit uplink and downlink service with the second central office equipment, an ad hoc network comprising the first communication node, the second communication node and the third communication node can be successfully established, and successful transmission of intercommunication service among the first communication node, the second communication node and the third communication node is ensured.
Based on the third aspect, in an optional implementation manner, the first communication node further includes a switch array, the switch array is connected to the first RX and the first TX, the switch array is further connected to an interworking processing module, 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 with the interworking processing module and is used for receiving a receiving port of the first Ad hoc network data stream; the switch array switches the first TX to be connected with the intercommunication processing module and is used for sending a sending port of the second ad hoc network data stream, and the intercommunication processing module is used for realizing the transmission of the ad hoc network service according to the first ad hoc network data stream and the second ad hoc network data stream, wherein the ad hoc network service is the service between the first communication node and the second communication node.
A fourth aspect of the embodiments of the present application provides a communication node, where the communication node includes a transceiver and a service processor, and the transceiver is connected to the service processor; the service processor is configured to obtain a first service data flow, where the first service data flow is used for transmission of a service between the central office device and the second communication node; the service processor is further configured to obtain a first interworking data flow, where the first interworking data flow is used for transmission of an interworking service between the transceiver and the third communication node, and the first service data flow and the first interworking data flow are two different data flows.
For an explanation of the beneficial effects of this aspect, please refer to the first aspect, and detailed descriptions thereof are omitted.
A fifth aspect of the embodiments of the present application provides a central office device, where the central office device includes a transceiver and a service processor, where the transceiver is connected to the service processor; the service processor is configured to generate a service data stream, where the service data stream is used for transmission of a service between the central office device and a communication node; the service processor is further configured to generate an interworking data flow, where the interworking data flow is used for transmission of an interworking service between one communication node and another communication node, and the first service data flow and the first interworking data flow are two data flows that are transmitted along the same direction; the service processor is further configured to combine the service data stream and the interworking data stream into a transport data stream; the transceiver is configured to transmit the transport data stream.
For a description of the beneficial effects of this aspect, please refer to the second aspect, and detailed descriptions thereof are omitted.
A sixth aspect of the embodiments of the present application provides a communication node, the communication node comprising at least one receiving port RX and at least one transmitting port TX: a first RX for receiving a first ad hoc network data stream from another communication node, the first RX being one of the at least one RX and the first RX being connected to the other communication node; the first TX is configured to send a second ad hoc network data stream to the other communication node, where the first TX is one of the at least one TX, and the first TX is connected to the other communication node, and the first ad hoc network data stream and the second ad hoc network data stream are used for transmission of an ad hoc network service, and the ad hoc network service is a service between the communication node and the other communication node.
For an explanation of the beneficial effects of this aspect, please refer to the third aspect, and detailed descriptions thereof are omitted.
A seventh aspect of the embodiments of the present application provides an optical communication system, where the optical communication system includes a central office device and a plurality of communication nodes sequentially connected to the central office device; the first communication node is used for obtaining a first service data stream, and the first service data stream is used for transmitting services between the central office equipment and the second communication node; the first communication node is used for obtaining a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams; the first communication node and the third communication node are different two communication nodes of the plurality of communication nodes.
For an explanation of the beneficial effects of this aspect, please refer to the first aspect, and detailed descriptions thereof are omitted.
An eighth aspect of the present embodiment provides an optical communication system, where the optical communication system includes a first central office device and a second central office device, and further includes a plurality of communication nodes sequentially connected between the first central office device and the second central office device; the first communication node is used for obtaining a first service data stream, wherein the first service data stream is used for transmitting services between the first central office equipment and the second communication node, and the first service data stream is also used for transmitting services between the second central office equipment and the second communication node; the first communication node is used for obtaining a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams; the first communication node and the third communication node are different two communication nodes of the plurality of communication nodes. For an explanation of the beneficial effects of this aspect, please refer to the first aspect, and detailed descriptions thereof are omitted.
A ninth aspect of the embodiments of the present application provides an optical communication system, where the optical communication system includes a first communication node and a second communication node, where 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, the first RX being one of the at least one RX and the first RX being 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, and the first TX is connected to the second communication node, and the first ad hoc network data stream and the second ad hoc network data stream are used for transmission of an ad hoc network service, and the ad hoc network service is a service between the first communication node and the second communication node.
For an explanation of the beneficial effects of this aspect, please refer to the third aspect, and detailed descriptions thereof are omitted.
A tenth aspect of the embodiments of the present application provides a readable storage medium having stored therein execution instructions which, when executed by at least one processor, perform the method of any one of the first to third aspects.
Drawings
FIG. 1 is a diagram showing a first structural example of a ring network provided by the prior art;
fig. 2 is a diagram of a first structural example of a ring network according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a first step of a data transmission method according to an embodiment of the present application;
fig. 4a is a diagram illustrating a first structural example of the OLT1 according to an embodiment of the present application;
fig. 4b is a diagram illustrating a second structural example of the OLT1 according to an embodiment of the present application;
fig. 5 is a structural example diagram of a downlink service data flow provided in an embodiment of the present application;
fig. 6a is a diagram illustrating a first relationship between a rate of a second downlink traffic data stream, a rate of a second interworking data stream, and a rate of a second transport data stream according to an embodiment of the present application;
fig. 6b is a second exemplary diagram of a second relationship between a rate of a second downlink traffic data stream, a rate of a second interworking data stream, and a rate of a second transport data stream according to an embodiment of the present disclosure;
fig. 6c is a third exemplary relationship diagram between the rate of the second downlink traffic data stream, the rate of the second interworking data stream, and the rate of the second transport data stream according to the embodiments of the present application;
fig. 6d is a diagram illustrating a fourth relationship between a rate of a second downlink traffic data stream, a rate of a second interworking data stream, and a rate of a second transport data stream according to an embodiment of the present disclosure;
Fig. 7 is a diagram of a first structural example of an ONU1 according to an embodiment of the present application;
fig. 8a is a first exemplary diagram of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow;
fig. 8b is a second exemplary diagram of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow;
fig. 8c is a diagram illustrating an example frame format of a first interworking data frame according to an embodiment of the present application;
fig. 9a is a third exemplary diagram of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow;
fig. 9b is a fourth exemplary diagram of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow;
fig. 10a is a diagram illustrating a first structural example of the OLT2 according to an embodiment of the present application;
fig. 10b is a flowchart illustrating a second step of the data transmission method according to the embodiment of the present application;
fig. 10c is a first exemplary configuration diagram of an ONU2 according to an embodiment of the present application;
fig. 11a is a flowchart illustrating a third step of the data transmission method according to the embodiment of the present application;
fig. 11b is a structural example diagram of an ONU provided in an embodiment of the present application;
fig. 12 is a flowchart of a fourth step of the data transmission method according to the embodiment of the present application;
fig. 13 is a diagram showing a third structural example of the OLT1 according to the embodiment of the present application;
Fig. 14 is a flowchart of a fifth step of the data transmission method according to the embodiment of the present application;
fig. 15 is a diagram illustrating a second structural example of ring networking according to an embodiment of the present application;
FIG. 16 is a diagram showing a second exemplary configuration of the ring network provided by the prior art;
fig. 17 is a diagram illustrating a first structural example of networking provided in an embodiment of the present application;
fig. 18 is a diagram of a second structural example of an ONU2 according to an embodiment of the present application;
fig. 19 is a flowchart of a sixth step of the data transmission method according to the embodiment of the present application;
fig. 20 is a diagram of a third structural example of an ONU2 according to an embodiment of the present application;
FIG. 21 is a diagram showing a third exemplary configuration of a ring network provided by the prior art;
fig. 22 is a diagram of a fourth structural example of an ONU2 according to an embodiment of the present application;
fig. 23 is a flowchart of a seventh step of the data transmission method according to the embodiment of the present application;
fig. 24 is a diagram of a fifth structural example of an ONU2 according to an embodiment of the present application;
fig. 25 is a diagram illustrating a configuration of a communication device according to an embodiment of the present application;
fig. 26 is a diagram illustrating an exemplary dual ring networking structure according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Continuing with the description of the architecture of the existing ring network with reference to fig. 1, the ring network includes a first CO device 101, a second CO device 102, and N communication nodes connected in sequence between the first CO device 101 and the second CO device 102. The first CO device 101 is also connected to a 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 respective communication nodes. Each communication node needs to feed back information to the first CO device 101 or the second CO device 102. Taking the first CO device 101 as an example, the first CO device 101 is configured to implement data transmission between each communication node and an upper network. In particular, the first CO device 101 may act as an intermediary between each communication node and the upper network. The first CO device 101 is capable of forwarding downlink traffic received from the upper network to the corresponding communication node and forwarding uplink traffic received from each communication node to the upper network. The upper network may be the internet, a public switched telephone network (public switched telephone network, PSTN), an interactive Internet Protocol Television (IPTV), a voice over IP (voice over internet protocol, voIP), or the like. The workflow of ring networking is described below: taking the downlink service as an example, the service sent by the first CO1 device 101 to the communication node, if the first CO device 101 sends the downlink service, for example, sends a control command or the like, to the communication node 2. The first CO device 101 sends downstream traffic to the communication node 1 for the communication node 2. When the communication node 1 receives the downlink traffic from the first CO device 101, the communication node 1 analyzes the downlink traffic and determines that the downlink traffic is transmitted to the communication node 2, and the communication node 1 continues to transmit the downlink traffic to the node 2.
Taking as an example the traffic sent by the communication node to the first CO device 101 as the uplink traffic, if the communication node N sends the uplink traffic to the first CO device 101, the communication node N sequentially sends the uplink traffic via the communication node connected between the communication node N and the first CO device 101. Specifically, the communication node N sends an uplink service to the communication node N-1, and so on, and the communication node 1 sends the uplink service to the first CO device 101.
The advantage of using ring networking is that once a failure occurs between two communication nodes, the normal communication of the ring networking is not affected. For example, if a failure occurs between communication node 2 and communication node N-1, communication node 2 need not communicate via the link between communication node 2 and communication node N-1. The communication node 2 communicates normally with the communication node 1, and the communication node 1 communicates with the first CO device 101 to ensure the normal communication between the communication node 2 and the first CO device 101. And communication node N-1 communicates with communication node N, which communicates with second CO device 102 to ensure proper communication between communication node N-1 and second CO device 102. Also, due to the connection between the first CO device 101 and the second CO device 102, traffic that the communication node 2 needs to send to the second CO device 102 may be forwarded by the first CO device 101, and likewise traffic that the communication node N-1 needs to send to the first CO device 101 may be forwarded by the second CO device 102.
The method can realize communication between any two communication nodes included in the ring networking, and the interactive intercommunication service between any two communication nodes does not need to be forwarded by central office equipment. The application scenario of the ring networking is not limited in this embodiment, for example, the ring networking is used for optical transport networks (optical transport network, OTN), industrial control, data backhaul, data centers, monitoring centers, and the like, and is not particularly limited. For the description of the ring networking structure, please refer to the description of fig. 1, and detailed description is omitted. The device types of the respective devices included in the ring network are not limited in this embodiment, for example, the CO device may be a base station controller (base station controller, BSC), the communication node may be a base transceiver station (base transciver station, BTS), the CO device may be a server, etc., and the communication node may be a switch, for example, the CO device may be a baseband processing unit (building baseband unit, BBU), the communication node may be a remote radio module (radio remote unit, RRU), for example, the CO device may be a switch, and the communication node may be a terminal device such as a monitoring camera. As also shown in fig. 2, the CO equipment included in the ring network may be an optical line terminal (optical line terminal, OLT), and the communication node may be an optical network unit (optical network unit, ONU).
The ring network applied in the present application may be shown in fig. 2, where fig. 2 is a first structural example diagram of the ring network provided in the embodiment of the present application. The ring network comprises an OLT1, an OLT2 and N ONUs connected in sequence between the OLT1 and the OLT 2. The OLT1 and the OLT2 may be two communication boards included in the same OLT. As another example, OLT1 and OLT2 may be two independent OLTs that are independent and have a connection relationship. In the ring network shown in this embodiment, any two adjacent ONUs do not need to be connected through an optical splitter, and the OLT1 and the adjacent ONU (i.e., ONU1 shown in fig. 2) do not need to be connected through an optical splitter, and the OLT2 and the adjacent ONU (i.e., ONU 2) do not need to be connected through an optical splitter. For example, taking ONU1 as an example, 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. Under the condition that the ONU1 is directly connected with the first OLT201, the communication time delay is effectively reduced, and the deployment difficulty of the annular networking is reduced, the deployment efficiency is improved, and the insertion loss of the annular networking is reduced because the annular networking does not need to be provided with a beam splitter. In this embodiment, the value of N is taken as 2 as an example, and the specific value of N is not limited. Taking OLT1, N ONUs and OLT2 as an example, the ring network is not limited, and for example, OLT1, N ONUs and OLT2 may also form a chain network or a tree network.
Based on the ring networking shown in fig. 2, the execution process of the data transmission method provided in the embodiment of the present application is described below with reference to fig. 3, where fig. 3 is a flowchart of a first step of the data transmission method provided in the embodiment of the present application. By adopting the method shown in the embodiment, communication can be performed between two communication nodes included in the ring network without being forwarded by the OLT.
Step 301, the OLT1 generates a second downlink service data stream.
The second downstream service data stream shown in this embodiment is a downstream service data stream sent by the OLT1 to each ONU of the ring network. The process of generating the second downstream traffic data stream by the OLT1 will be described with specific reference to fig. 4 a. Fig. 4a is a first structural example diagram of the OLT1 according to the embodiment of the present application. The OLT1 comprises a service processing module 402, and the service processing module 402 obtains a downstream service to be sent to each ONU of the ring network, where the downstream service may be a service from the internet, a public switched telephone network (public switched telephone network, PSTN), an interactive Internet Protocol Television (IPTV), a voice over IP (voice over internet protocol, voIP), or the like.
The traffic handling module 402 sends the downlink traffic to the traffic handling module 403. The service processing module 403 encapsulates the downlink service sent to each ONU into a second downlink service data stream. Wherein the second downlink traffic data stream comprises a plurality of downlink data frames. The structure of the downlink data frame will be described with reference to fig. 5. Fig. 5 is a structural example diagram of a downlink data frame according to an embodiment of the present application. Downstream data frame 500 includes a physical synchronization block (physicalsynchronization block, PSBd) 501 and a physical layer frame payload (physical layer frame payload) 502. The payload502 is used to carry downstream traffic. The PSBd501 includes a field physical synchronization (physical synchronization, PSync) field 511, a superframe counter (superframe counter, SFC) field 512, and an operation control (operation control, OC) field 513, and an upstream bandwidth map (upstream bandwidth map, US BWmap) field 514.
The Psync field 511 is a physical layer synchronization field, and may be used to carry a downlink frame synchronization indicator. The SFC field 512 is used to carry a superframe number, and the superframe number carried by the SFC field 512 is essentially a frame cycle counter of 30 bits (bit) width, indicating the start of a superframe when the superframe number is 0. The US BWmap field 514 is a slot scheduling message shown in this embodiment. Specifically, the US BWmap field 514 is used to carry bandwidth map (BWmap) information of the user. The US BWmap field 514 includes N allocation structures (Allocation Structure). Each Allocation Structure includes a bandwidth allocation identity (allocation identifier, alloc-ID) field 521, a slot start time (start time) field 522, and an Grant size (Grant size) field 523. Taking the Allocation ID1 field as an example, the Allocation ID1 field is used to carry an identifier (Identity, ID) of the ONU1 authorized to transmit, the start time field is used to indicate the starting time of the timeslot allocated by the OLT1 for the ONU1, and the Grant size field 523 is used to indicate the timeslot length authorized to the ONU 1. The Allocation ID2 field is a field allocated to the ONU2 by the OLT1, and so on, and the Allocation IDN field is a field allocated to the ONUN by the OLT1, for the description of each Allocation ID field, please refer to the description of the Allocation ID1 field, and details are not repeated. The description of the downlink service data stream in this embodiment is optional, and is not limited, as long as each ONU included in the ring network can obtain a corresponding time slot according to the downlink service data stream. For example, each Allocation Structure1 field can include an end time for indicating the end time of a slot.
The second downlink service data stream shown in this embodiment is a continuous data stream, where in the second downlink service data stream, two downlink data frames may be continuous, or padding information may be carried between two downlink data frames, so as to ensure continuity of the second downlink service data stream, where the padding information may be a section of regular or random byte strings.
Step 302, the OLT1 generates a second interworking data stream.
The second interworking data flow generated by the OLT1 in this embodiment is a data flow for carrying interworking services interacted by two different ONUs. Taking the example that the ONU1 needs to send the interworking service to the ONU2, the interworking service may be a control signaling that the ONU1 needs to send to the ONU 2. As another example, the interworking service may be service data that needs to be sent to ONU1 and the description of the service data may be referred to the description of the downlink service. As another example, the interworking service may be monitoring data of ONU2 to ONU1, for example, ONU2 monitors a wavelength or an optical signal to noise ratio (optical signal noise ratio, OSNR) of the communication between ONU1 and ONU2, and so on. The specific data type of the interworking service is not limited in this embodiment. It should be noted that, in this embodiment, taking an example that the ONU1 needs to send the interworking service to the ONU2, in other examples, any two ONUs connected between the OLT1 and the OLT2 can implement the interworking service interaction. The second interworking data stream generated by the OLT1 is a continuous data stream that has carried padding information. It will be appreciated that the second interworking data flow shown in this embodiment is a continuous data flow, and the second interworking data flow may be all padding information. The second interworking data flow may also be an interworking service. The second interworking data flow may also consist of interworking traffic and padding information.
As shown in fig. 4a, the interworking processing module 404 of the OLT1 is capable of generating a second interworking data flow carrying padding information. Fig. 4b is another illustration, where fig. 4b is a diagram illustrating a second structural example of the OLT1 according to an embodiment of the present application. In fig. 4b, an interworking processing module 404 of the OLT1 is connected to the service processing module 402, where the interworking processing module 404 can obtain an interworking service to be sent to any ONU from the service processing module 402, and the interworking service sent by the OLT1 to any ONU may be control signaling, monitoring data, or specific service sent by the OLT1 to the ONU, which is not limited in this embodiment. The interworking processing module 404 loads the interworking service in the second interworking data stream when the interworking processing module 404 obtains the interworking service that the OLT1 needs to send to the ONU. It can be understood that in the second interworking data flow, the interworking service and the padding information that need to be sent by the OLT1 are carried.
And 303, the OLT1 combines the second downlink service data stream and the second intercommunication data stream to obtain a second transmission data stream.
The second transmission data stream in this embodiment occupies only one wavelength of the OLT1, for example, the OLT1 simultaneously transmits the second downlink traffic data stream and the second interworking data stream through the wavelength λ1. The second intercommunication data stream for realizing the communication between the two ONUs does not need to occupy independent wavelengths, so that the number of wavelengths used by the OLT1 for transmitting the second downlink service data stream and the second intercommunication data stream to the ONUs 1 is effectively saved. Several alternative ways of combining the second downstream traffic data stream and the second interworking data stream by the OLT1 are described below:
Merge mode 1
The OLT1 shown in this manner multiplexes the second downstream service data stream and the second interworking data stream to obtain a second transmission data stream. Specifically, the OLT1 multiplexes the second downlink service data stream and the second interworking data stream in a time division manner, to obtain a path of second transmission data stream. The rate of the multiplexed second transmission data stream is greater than the rate of the second downlink service data stream, and the rate of the second transmission data stream is greater than the rate of the second intercommunication data stream. For example, the second transport data stream is K times the second downstream traffic data stream, and the second transport data stream is J times the second interworking data stream, where K and J are any natural number greater than 1.
Fig. 6a is a diagram illustrating a first relationship between a rate of a second downlink traffic data stream, a rate of a second interworking data stream, and a rate of a second transport data stream according to an embodiment of the present application. The rate of the second transport data stream shown in fig. 6a is equal to the sum of the second downstream traffic data stream rate and the second interworking data stream rate. Fig. 6a shows an example of j=k=2. Specifically, the second downlink service data stream includes a plurality of second downlink data frames, and the second interworking data stream includes a plurality of second interworking data frames, where each second interworking data frame carries padding information. Each of the second downstream data frames and each of the second interworking data frames has a frame length of 125 microseconds (us). The second transmission data stream includes a plurality of second transmission data frames. The OLT1 multiplexes the second downstream data frame 601 and the second interworking data frame 602 to obtain a second transmission data frame 603. In the case of j=k=2, the frame length of the second transmission data frame 603 is also 125us. Specifically, the OLT1 compresses the second downstream data frames 601 each having a frame length of 125us to a frame length of 62.5us, and the OLT1 also compresses the second interworking data frames 602 each having a frame length of 125us to a frame length of 62.5us. The frame length of the obtained second transmission data frame including one second downlink data frame and one second intercommunication data frame is 125us. It will be appreciated that the rate of the second transmission data frame 603 is twice the rate of the second downlink data frame 601, and that the rate of the second transmission data frame 603 is twice the rate of the second interworking data frame 602.
The OLT1 may multiplex the second downstream data frame 601 and the second interworking data frame 602 into a second transmission data frame 603 based on a bit interleaving (bitinterleaving) manner. Bit interleaving means that symbols of the second downlink traffic data stream are separated in time by means of time division multiplexing, and the intervening time can be filled by symbols of the second interworking data frame 602.
The second transmission data frame 603 may include a bit packet including all bits of the second downstream traffic data stream frame length 125us, and all bits of the second interworking data frame 602 frame length 125 us. Thus, 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 traffic data stream.
Fig. 6a illustrates an example of a second relationship between the rate of the second downlink traffic data stream, the rate of the second interworking data stream, and the rate of the second transmission data stream, as shown in fig. 6b, by taking j=k=2, and taking the second transmission data frame including one bit packet as an example, without limitation. Fig. 6b also illustrates an example of a second downlink data frame, where the frame length of the second interworking data frame and the frame length of the second transmission data frame are both 125 us. The OLT1 divides the second downlink data frame 611 having a frame length of 125us into two downlink subframes, namely a first downlink subframe 612 and a second downlink subframe 613. It is understood that the first downlink subframe 612 includes the first 62.5us bits of the second downlink data frame 611. The second downstream subframe 613 includes bits of the latter 62.5us of the second downstream data frame 611. The OLT1 divides the second interworking data frame 614 having a frame length of 125us into two downlink interworking subframes, namely a first downlink interworking subframe 615 and a second downlink interworking subframe 616. It is understood that the first downlink interworking subframe 615 includes the first 62.5us bits of the second interworking data frame 614. The second downlink interworking subframe 616 includes bits of the latter 62.5us of the second interworking data frame 614.
OLT1 multiplexes first downlink subframe 612 and first downlink interworking subframe 615 to obtain a first bit packet, which has a frame length of 62.5us. Similarly, the OLT1 multiplexes the second downlink subframe 613 and the second downlink interworking subframe 616 to obtain a second bit packet, where the frame length of the second bit packet is 62.5us, and for a description of OLT1 multiplexing shown in fig. 6a, details are omitted.
The second transmission data frame is shown in fig. 6b as an example and not limited to two bit packets, for example, the second transmission data frame may include any number of bit packets such as three bit packets, or four bit packets.
In this embodiment, j=k=2 is taken as an example, and in other examples, J and K may be any natural number greater than or equal to 1. In the above examples, the rate of the second downlink data frame and the rate of the second interworking data frame are equal, and in other examples, the rate of the second downlink data frame and the rate of the second interworking data frame may be unequal, as long as the rate of the second downlink traffic data stream is less than or equal to the rate of the second transmission data stream, and the rate of the second interworking data stream is less than or equal to the rate of the second transmission data stream.
As further shown in fig. 6c, fig. 6c is an exemplary diagram of a third relationship between the rate of the second downlink traffic data stream, the rate of the second interworking data stream, and the rate of the second transport data stream according to the embodiments of the present application.
The rate of the multiplexed second transport data stream is greater than the rate of the second downlink traffic data stream. For example, the second transmission data stream is K times the second downlink traffic data stream, and K is equal to 1.25. Specifically, the second downlink traffic data stream includes a plurality of second downlink data frames, and the second interworking data stream includes a plurality of second interworking data frames. Wherein 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 intercommunication data frame is 25us. The second transmission data stream includes a plurality of second transmission data frames. The OLT1 multiplexes the second downstream data frame 621 and the second interworking data frame 622 to obtain a second transmission data frame 623. In the case of k=1.25, the frame length of the second transmission data frame 623 is 125us, the olt1 compresses the second downlink data frame with the frame length of 125us to 100us to multiplex into the second transmission data frame, and the remaining 25us of the second transmission data frame is used to carry the second interworking data frame.
The second downstream traffic data stream and the second interworking data stream shown in this embodiment may be encoded based on non-return-to-zero codes (not return to zero, NRZ), and the second transmission data stream multiplexed by the OLT1 may maintain NRZ encoding. For example, the second downstream traffic data stream and the second interworking data stream are based on NRZ encoding of a symmetric passive optical network (10-gigabit-capable symmetric passive optical network 10g, XGS-PON), and the rate-boosted second transport data stream is also based on NRZ encoding of XGS-PON. In this example, the second downlink traffic data stream before rate boosting, the second interworking data stream, and the second transmission data stream after rate boosting are the same as examples, and in other examples, the second downlink traffic data stream and the second interworking data stream may also be different, for example, the second downlink traffic data stream and the second interworking data stream are both encoded based on NRZ, and the encoding manner of the second transmission data stream may be fourth pulse amplitude modulation (4pulse amplitude modulation,PAM4).
Merge mode 2
The OLT1 remodulates the second interworking data stream on the second downlink traffic data stream by means of a modulated top, and obtains a second transport data stream. Specifically, referring to fig. 6d, fig. 6d is an exemplary diagram of a fourth relationship between the rate of the second downlink traffic data stream, the rate of the second interworking data stream, and the rate of the second transport data stream provided in the embodiment of the present application.
The OLT1 remodulates the second interworking data stream 632, which is the modulated top signal, on the second downstream traffic data stream 631 to obtain a second transmission data stream 633. The modulated top signal may also be referred to as a pilot tone (pilot), a low frequency perturbation signal, an overmodulation signal, etc. Specifically, the OLT1 generates a low-speed optical satellite signal (i.e. the second interworking data stream 632) by means of a roof-switching method, and loads the second interworking data stream 632 on the second downlink traffic data stream 631 carrying the traffic. The rate of the second interworking data stream 632, which is the topping signal, is less than the rate of the second downlink traffic data stream 631 for carrying the downlink traffic. It will be appreciated that the rate of the second downlink traffic data stream 631 before remodulation shown in this aspect is equal to the rate of the second transmission data frame 633 after remodulation. That is, in the re-modulation scheme shown in this embodiment, the second interworking data stream 632 is re-modulated on the second downlink traffic data stream 631 without changing the rate of the second downlink traffic data stream 631.
As shown in fig. 4a, the combining module 405 of the OLT1 is configured to combine the second downlink service data stream and the second interworking data stream into a second transmission data stream in the combining manner 1 or the combining manner 2.
The OLT1 shown in this embodiment merges the second downstream traffic data stream and the second interworking data stream transmitted in the same direction. The transmission in the same direction means that the second downlink service data stream and the second intercommunication data stream are both emitted from the OLT1 and sequentially transmitted in the directions of the ONU1 and the ONU 2.
Step 304, the OLT1 sends a second transmission data stream to the ONU 1.
In this embodiment, the second interworking data stream to be sent to the ONU1 by the OLT1 is a continuous data stream, and the first service data stream is also a continuous data stream, and then the second transmission data stream combined by the OLT1 is also a continuous data stream. The combining module 405 of the OLT1 sends the obtained second transport data stream to the optical module 401. The optical module 401 is configured to perform electro-optical conversion on the second transmission data stream to output the second transmission data stream as an optical signal. Since the OLT1 in this embodiment multiplexes the second downstream service data stream and the second interworking data stream into one second transmission data stream, the second transmission data stream, which is an optical signal, output by the optical module 401 may have only one wavelength. For example, the wavelength of the second transmission data stream is λ1. The optical module 401 only sends an optical signal with one wavelength to the ONU1 through an optical fiber connected between the optical module 401 and the ONU1, and can carry the second downlink service data stream and the second interworking data stream. Because the OLT1 does not need to send the second downlink service data stream and the second intercommunication data stream to the ONU1 through two paths of different wavelengths, the number of wavelengths sent to the ONU1 by the OLT1 is reduced, the number of wavelengths to be supported by the OLT1 and the optical modules of the ONU1 is reduced, and further the complexity of the optical modules for processing the optical signals is reduced.
Alternatively, in the case where the OLT1 in this embodiment obtains the second transmission data stream, the OLT1 may perform forward error correction (forward error correction, FEC) encoding on the second transmission data stream to send the FEC encoded second transmission data stream to the ONU 1. The FEC encoding is performed by encoding the second transmission data stream, so that the receiving end (ONU 1) can directly check an error occurring in data transmission from the FEC encoded second transmission data stream, and can correct the transmission error to a certain extent. The FEC coding can reduce the error rate, so that the transmission power of the OLT1 for transmitting the second transmission data stream to the ONU1 can be saved under the same receiving result.
The modules included in the OLT1 shown in this embodiment may be one or more chips, or one or more integrated circuits. For example, each module included in the OLT1 may be one or more field-programmable gate arrays (field-programmable gate array, FPGAs), application-specific integrated chips (application specific integrated circuit, ASICs), system on chips (socs), central processing units (central processor unit, CPUs), network processors (network processor, NPs), digital signal processing circuits (digital signal processor, DSPs), microcontrollers (micro controller unit, MCUs), programmable controllers (programmable logic device, PLDs) or other integrated chips, or any combination of the above chips or processors, etc. As another example, each module included in the OLT1 may be partially or completely implemented by software. For example, if the combining module 405 included in the OLT1 implements the multiplexing function 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 function corresponding to the combining module 405.
Step 305, the ONU1 obtains a second downlink service data stream and a second interworking data stream according to the second transmission data stream.
In this embodiment, taking ONU1 as an example of registration with OLT1, ONU1 needs to transmit upstream and downstream traffic with OLT 1. If the OLT1 obtains the second transmission data stream in the combining manner 1 as shown in step 303, the ONU1 demultiplexes the second transmission data stream to obtain a second downlink service data stream and a second interworking data stream. For the description of the second downlink traffic data stream and the second interworking data stream, please refer to step 301 and step 302, which are not described in detail.
A process of processing the second transmission data stream by the ONU1 is specifically described with reference to fig. 7, where fig. 7 is a diagram of a first structural example of the ONU1 provided in the embodiment of the present application. For the description of the implementation manner of each module included in the ONU1, please refer to the description of the implementation manner of each module included in the OLT1 corresponding to fig. 4a, which is not repeated in detail. The optical module 701 of ONU1 is connected to the optical module 401 of OLT1 via an optical fiber. The optical module 701 receives a second transmission data stream having a wavelength of λ1. The optical module 701 performs photoelectric conversion on the second transmission data stream to output the second transmission data stream as an electrical signal. The optical module 701 sends the second transport stream to the parsing module 702. The parsing module 702 demultiplexes the second transport data stream to output a second downlink traffic data stream and a second interworking data stream.
If the OLT1 obtains the second transmission data stream in the combining manner 2 as shown in step 303, the ONU1 demodulates the second transmission data stream to obtain a second downlink service data stream and a second interworking data stream. For the description of the second downlink traffic data stream and the second interworking data stream, please refer to step 301 and step 302, which are not described in detail. With continued reference to fig. 7, the parsing module 702 receives a second transport data stream having a wavelength λ1 from the optical module 701. The parsing module 702 demodulates the second transport data stream to output a second downlink traffic data stream and a second interworking data stream.
Optionally, if the second transmission data stream received by the ONU1 is an FEC encoded data stream, the ONU1 performs FEC decoding on the second transmission data stream, and then performs the parsing process of the parsing module 702. The FEC decoding of the second transmission data stream by the ONU1 is performed to check the error occurred in the transmission of the second transmission data stream, and the transmission error code can be corrected to a certain extent.
Step 306, ONU1 obtains the first downlink service already carried by the second downlink service data flow.
With continued reference to fig. 7, the traffic processing module 703 receives the second downlink traffic data stream from the parsing module 702. The service processing module 703 processes the second downlink service data flow, and obtains the first downlink service that is already carried by the second downlink service data flow and sent to the ONU 1. Specifically, the service processing module 703 obtains, based on the identifier of the ONU1, a downlink data frame carrying the identifier of the ONU1 from the second downlink service data stream, and the ONU1 obtains, from the payload carrying the downlink data frame carrying the identifier of the ONU1, the first downlink service sent to the ONU 1.
Step 307, ONU1 copies the second downlink service data stream, and obtains the first downlink service data stream.
The execution timing of step 306 and step 307 is not limited in this embodiment. The ONU1 replicates the second downlink service data stream to obtain a first downlink service data stream, and it can be understood that the content carried by the first downlink service data stream and the second downlink service data stream are identical. Continuing to refer to fig. 7, the service processing module 703 replicates the second downlink service data stream to obtain a first downlink service data stream. The traffic handling module 703 also sends the first downlink traffic data stream to the merging module 705.
Step 308, the ONU1 obtains a first interworking data stream according to the second interworking data stream.
In this embodiment, if the ONU1 has a first sub-interworking service that needs to be sent to a downstream ONU, the ONU1 carries the first sub-interworking service on the second interworking data stream, so as to obtain the first interworking data stream, so as to achieve the purpose of sending the first sub-interworking service to the downstream ONU. Wherein the downstream ONU is any ONU connected between ONU1 and OLT 2. The downstream ONU shown in this embodiment may also be registered on the OLT1, so that the downstream ONU performs transmission of the upstream and downstream traffic with the OLT 1. Alternatively, the downstream ONU may be registered on the OLT2, so that the downstream ONU performs transmission of the upstream and downstream traffic with the OLT 2. For example, the downstream ONU may be ONU2. In this example, both ONU1 and ONU2 may be registered with OLT1, and for example, ONU1 may be registered with OLT1 and ONU2 with OLT 2. In the method shown in this embodiment, ONU1 and ONU2 are registered in OLT 1.
It should be noted that, in this embodiment, the ring network includes the OLT2 as an example, and in other examples, the network may not include the OLT2, and then the ONU1 is connected between the OLT1 and the downstream ONU. If the second interworking data flow already carries the upstream ONU or the OLT1 needs to send the second sub-interworking service to the ONU1, the ONU1 may extract the second sub-interworking service from the second interworking data flow, where in this embodiment, the ONU1 and the OLT1 are directly connected, and in other examples, one or more upstream ONUs may be connected between the ONU1 and the OLT 1. Several alternatives for ONU1 to obtain the first interworking data stream are described below in connection with specific alternatives:
alternative 1
In this alternative, if the ONU1 has a first interworking service that needs to be sent to the downstream ONU, then the ONU1 may carry the first interworking service that the ONU1 is to send to the downstream ONU on the second interworking data stream, so as to obtain the first interworking data stream. For example, ONU1 sends a first interworking service to ONU 2. Continuing to refer to fig. 7, the parsing module 702 sends the second interworking data flow to the interworking processing module 704, and the interworking processing module 704 carries the first interworking service in the second interworking data flow to output the first interworking data flow.
Specifically, ONU1 obtains the interworking slot scheduling message. The interworking time slot scheduling message shown in this embodiment may be carried in the second downlink service data stream, and the ONU1 obtains the interworking time slot scheduling message through the second downlink service data stream. For example, the service processing module 703 shown in fig. 7 obtains an interworking time slot scheduling message from the second downlink service data stream, and the service processing module 703 sends the interworking time slot scheduling message to the interworking processing module 704. For another example, the interworking time slot scheduling message may be pre-configured in each ONU of the ring network. As another example, the OLT1 already carries the interworking slot scheduling message in the first interworking data stream sent to the ONU 1. The intercommunication time slot scheduling message comprises an identification of the ONU1 and an intercommunication time slot corresponding to the ONU 1. The interworking time slot corresponding to the ONU1 is used for indicating the time when the ONU1 transmits the start byte of the interworking service in the second interworking data stream, and for indicating the time when the end byte of the interworking service is transmitted.
Fig. 8a is a schematic diagram of a first example of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow. The second interworking data flow 801 obtained by the ONU1 from the OLT1 is a data flow that all carries the padding information. And the ONU1 determines that the starting time of the intercommunication time slot 802 allocated to the ONU1 is the time t1 and the ending time is the time t2 according to the intercommunication time slot scheduling message, and the ONU1 replaces the filling information carried by the intercommunication time slot 802 of the second intercommunication data stream 801 with the intercommunication service to be sent by the ONU1 to obtain the first intercommunication data stream 803.
Through the intercommunication time slot scheduling message, each ONU transmits the intercommunication service according to the allocated intercommunication time slot in the intercommunication data stream, so that the possibility of collision of the intercommunication time slots occupied by the intercommunication services from different ONUs is avoided, and the successful transmission of the intercommunication service is improved.
Alternative 2
In order to avoid collision between different intercommunication services, the intercommunication time slots allocated by the intercommunication time slot scheduling messages for different ONUs are not overlapped. However, an ONU (for example, ONU1 shown in this example) included in the ring network does not necessarily have an interworking service to transmit to a downstream ONU. For example, if the ONU1 does not need the interworking service sent to the downstream ONU, but the interworking time slot scheduling message has already allocated an interworking time slot for the ONU1, so that when other ONUs need to send the interworking service, the interworking time slot allocated by the interworking time slot scheduling message for the ONU1 cannot be occupied, which causes waste of interworking data stream bandwidth. The downstream ONU is any ONU connected between ONU1 and OLT 2. For this reason, in this implementation, ONU1 does not need to send the interworking service according to the interworking slot scheduling message. Fig. 8b is a second exemplary diagram of an ONU1 according to the embodiment of the present application obtaining a first interworking data flow.
The second interworking data flow 811 obtained by the ONU1 from the OLT1 is a data flow that all carries the padding information. ONU1 may replace the padding information with the interworking traffic of ONU1 at any time slot of the second interworking data stream 811, to obtain the first interworking data stream 813. For example, if ONU1 detects that the interworking slot 812 already carries padding information, where the start time of the interworking slot 812 is time t3 and the end time is time t4, ONU1 replaces the padding information carried by the interworking slot 812 with the interworking service of ONU1, and obtains the first interworking data flow 813.
The following describes a procedure in which ONU1 carries the interworking service of ONU1 on the second interworking data stream:
the ONU1 shown in this embodiment may carry one or more first interworking data frames on the second interworking data stream in the above alternative 1 or alternative 2. The first interworking data frame has been subjected to a first interworking service. The specific frame structure of the first interworking data frame is not limited in this embodiment, as long as the first interworking data frame can carry the first interworking service that the ONU1 needs to send to the downstream ONU, and the receiving side ONU (for example, ONU 2) can parse the first interworking data frame to obtain the first interworking service carried by the first interworking data frame.
For example, fig. 8c shows an exemplary frame format of a first interworking data frame according to an embodiment of the present application, where fig. 8c is a schematic diagram. Wherein the first interworking data frame 820 shown in this example may be in a re-use ethernet frame format. Specifically, the first interworking data frame 820 includes an interframe gap (IFG) 821, a preamble822 field, a start of frame delimiter (start of frame delimiter, SFD) 823, a destination address Destination Address (DA) field 824, a Source Address (SA) field 825, a type (type) field 826, a payload) 827 field, and a frame check sequence (Frame Check Sequence, FCS) field 828.
IFG821 represents a period of time between two adjacent first interworking data frames, that is, a frame spacing between two adjacent first interworking data frames. preamble822 is used for frame synchronization. SFD823 is used to identify the frame start as 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 the first interworking data frame has an error during transmission. If ONU1 needs to send the interworking service to ONU2, the payload827 field is used to carry the interworking service sent by ONU1 to ONU 2. The SA825 field is used to carry the address of ONU1, and the address of ONU1 may be the media access control address (media access control address, MAC) of ONU 1. The DA field 824 is used for carrying an address of an ONU2 that needs to receive the interworking service, and for specific description of the address of the ONU2, please refer to the description of the address of the ONU1, which is not described in detail.
In the example of the frame format of the first interworking data frame shown in fig. 8c, the address of ONU1 is carried by SA field 825, and the address of ONU2 is carried by DA field 824, for example, in other examples, the first interworking data frame may carry a source identification field, where the source identification field is used to carry the identification of ONU 1. The identity of ONU1 may be the ID of ONU1 or the Serial Number (SN) of ONU 1. The first interworking data frame may also carry a destination identification field for carrying the ID of ONU2 or the SN of ONU 2.
Alternative 3
In alternative 1 and alternative 2, a procedure of how ONU1 carries on the second interworking data stream the first interworking service that ONU1 needs to send to the downstream ONU, to obtain the first interworking data stream is described. In this implementation manner, it is described how the ONU1 obtains the second interworking service that is already carried by the second interworking data flow and is sent to the ONU1, that is, in this example, the second interworking service is only the interworking service that the ONU1 needs to process, and the second interworking service does not need any interworking service processed by a downstream ONU.
Fig. 9a is a third exemplary diagram of an ONU1 according to an embodiment of the present application obtaining a first interworking data flow. The first interworking data stream received by ONU1 shown in this example has carried the second interworking service sent to ONU 1. The second interworking service may be from the OLT1, or from any ONU connected between the OLT1 and the ONU1, and 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, from a plurality of interworking data frames included in the first interworking data stream 910, a first interworking data frame for carrying the second interworking service sent to ONU 1. The destination address of the first interworking data frame is the address of ONU1, and for the description of the first interworking data frame, please refer to fig. 8c, details are not described. ONU1 obtains the second interworking service from the first interworking data frame. After the ONU1 extracts the second interworking service sent to the ONU1 from the second interworking timeslot 911, in order to ensure continuous transmission of the second interworking data stream, the ONU1 carries the filling information on the second interworking timeslot 911 to obtain the second interworking data stream 901.
Alternative 4
In alternative 3, ONU1 extracts the second interworking service sent to ONU1 from the first interworking data stream based on the identity of ONU 1. This alternative is shown in fig. 9b, where fig. 9b is a fourth exemplary diagram of an ONU1 according to the embodiment of the present application obtaining a first interworking data flow. And the ONU1 receives the third interworking service 921 carried in the second interworking data stream 920. ONU1 extracts the third interworking service 921 from the second interworking data stream 920. That is, in this alternative, when the ONU1 detects the third interworking service 921 carried in the second interworking data stream 920, the ONU1 directly extracts the third interworking service 921 from the second interworking data stream 920. The ONU1 determines whether the third interworking service 921 needs to be sent to a downstream ONU, for example, if the ONU1 determines that the third interworking service 921 is an interworking service broadcasted by the OLT 1. As another example, the third interworking service 921 includes an identification that is an identification of the downstream ONU. As another example, the identifier included in the third interworking service 921 does not belong to the identifier of the ONU1, and the ONU1 carries the third interworking service 921 on the second interworking data stream again, so as to obtain a first interworking data stream 923. For a description of the process that the ONU1 carries the third interworking service 921 on the second interworking data flow, please refer to the description that the ONU1 shown in the above-mentioned alternative mode 1 or alternative mode 2 carries the first interworking service on the second interworking data flow, which is not described in detail.
Alternative 5
In this example, ONU1 needs to carry a first interworking service sent to a downstream ONU in a first interworking data stream, and needs to extract a second interworking service from the first interworking data stream, where ONU1 carries a process of the first interworking service sent to the downstream ONU in the first interworking data stream, please refer to optional mode 1 or 2, and please refer to optional mode 3, which is not described in detail.
Alternative 6
In this example, ONU1 needs to carry a first interworking service sent to a downstream ONU in a first interworking data stream, and needs to extract a third interworking service from the first interworking data stream, where ONU1 carries a process of the first interworking service sent to the downstream ONU in the first interworking data stream, please refer to alternative mode 1 or 2, and please refer to alternative mode 4, which is not described in detail.
Alternative 7
The ONU1 does not need to send the first interworking service to the downstream ONU, and the second interworking data stream does not carry the identifier of the ONU1 (which indicates that the second interworking data stream does not carry the interworking service sent to the ONU 1), so that the ONU1 forwards the second interworking data stream directly to the ONU 2.
Step 309, ONU1 merges the first downstream service data stream and the first interworking data stream, and obtains a first transmission data stream.
With continued reference to fig. 7, the service processing module 703 sends a first downlink service data stream to the combining module 702, and the interworking processing module 704 sends a first interworking data stream to the combining module 705. The merging module 705 is configured to merge the first downlink traffic data stream and the first interworking data stream to obtain a first transport data stream. The ONU1 merges the first downstream service data stream and the first interworking data stream to obtain a description of a process of the first transmission data stream, please refer to the OLT1 shown in step 303 for merging the second downstream service data stream and the second interworking data stream to obtain a description of a process of the second transmission data stream, which is not described in detail.
It can be appreciated that if both ONU1 and ONU2 are registered with OLT1, ONU1 may send the interworking service to ONU2 by combining the first interworking data stream with the first downstream service data stream. The first downstream traffic data stream in this example has carried downstream traffic that OLT1 sends to ONU1 and ONU 2. If ONU1 is registered with OLT1 and ONU2 is registered with OLT2, ONU1 also sends the interworking service to ONU2 by combining the first interworking data stream with the first downstream traffic data stream. In this example, the first downstream traffic data stream sent by ONU1 to ONU2 does not carry the downstream traffic sent by OLT1 to ONU 2.
Alternatively, in the case where the ONU1 shown in the present embodiment obtains the first transmission data stream, the ONU1 may perform FEC encoding on the first transmission data stream to send the FEC encoded first transmission data stream to the ONU 2. For the explanation of FEC encoding of the first transmission data stream by the ONU1, please refer to the above-mentioned explanation of FEC encoding of the second transmission data stream by the OLT1, which is not described in detail.
Step 310, ONU1 sends a first transmission data stream to ONU 2.
As shown in connection with fig. 7, the combining module 705 of ONU1 sends the first transmission data stream to the optical module 706. The optical module 706 is configured to perform electro-optical conversion on the first transmission data stream to output the first transmission data stream as an optical signal. Because ONU1 in this embodiment has combined the first downstream traffic data stream and the first interworking data stream into one first transmission data stream, the wavelength of the first transmission data stream that is an optical signal and is output by the optical module 706 is λ1. The optical module 706 only sends an optical signal with one wavelength to the ONU2 through an optical fiber connected between the optical module 706 and the ONU2, and can carry the first downlink traffic data stream and the first interworking data stream.
Step 311, ONU2 obtains the second downstream service already carried by the first downstream service data flow.
Step 312, ONU2 copies the first downstream service data stream, and obtains a third downstream service data stream.
Step 313, the ONU2 obtains a third interworking data stream according to the first interworking data stream.
Step 314, ONU2 merges the third downstream service data stream and the third interworking data stream to obtain a third transmission data stream.
Step 315, ONU2 sends the third transmission data stream.
For the description of the execution process of step 311 to step 315 in this embodiment, please refer to step 306 to step 310, and the detailed execution process will not be repeated.
Optionally, if the ONU2 is an ONU directly connected to the OLT2, that is, no other ONU is connected between the ONU2 and the OLT2, the ONU2 may terminate transmission of the first interworking data stream, and directly send the third downlink service data stream to the OLT 2. As another example, if ONU3 is further connected between ONU2 and OLT2, ONU2 sends a third transmission data stream to ONU 3. For a description of the process of ONU3 processing the third transmission data stream, please refer to the descriptions of the process of ONU1 processing the second transmission data stream shown in steps 306 to 310 in the present embodiment, which is not described in detail.
In this embodiment, the ring network includes two ONUs, and in other examples, the ring network may include more than two ONUs, so any two ONUs included in the ring network can perform interaction of the interworking service through the interworking data stream, and any two ONUs perform interaction of the interworking service without forwarding through the OLT 1. The OLT2 may also send downstream traffic to ONUs included in the ring network, and the ONUs close to the OLT2 may also directly send interworking traffic to ONUs far away from the OLT2, for details of the execution process, please refer to the execution process of the method shown in the embodiment, which is not described in detail.
The ring network shown in this embodiment can be applied to passive optical networks (passive optical network, PON) of various time-division multiplexing technologies (time-division multiplexing, TDM) such as gigabit passive optical network (gigabit-capable passive optical network, GPON), 10G-bit passive optical network (10-gigabit-capable passive optical networks, XG-PON), 10G-symmetric passive optical network (10-gigabit-capable symmetric passive optical network, XGs-PON), time-division wavelength-division hybrid multiplexing passive optical network (time and wavelength division multiplexed PON, TWDM-PON), ethernet passive optical network (ethernet passive optical networks, EPON), 10G ethernet passive optical network (10 Gbit/s ethernet passive optical network, 10G-EPON), and the like.
By adopting the method shown in this embodiment, taking ONU1 as an example, ONU1 first duplicates the second downlink service data stream to obtain the first downlink service data stream, and because ONU1 does not need to perform the related operation of obtaining the first downlink service from the first downlink service data stream, the time delay of ONU1 sending the first downlink service data stream to ONU2 is effectively reduced, and the timeliness of obtaining the downlink service by each ONU included in the ring network is ensured.
Because the data stream transmitted between the two nodes included in the ring network in this embodiment is a combined data stream, for example, a first transmission data stream is transmitted between ONU1 and ONU2, and the first transmission data stream has combined a first downstream service data stream and a first interworking data stream, so that the combined first downstream service data stream and the first interworking data stream can be transmitted between ONU1 and ONU2 only by using an optical signal with one wavelength, without respectively transmitting the first downstream service data stream and the first interworking data stream by using two different wavelengths. And because the ONU1 can directly send the first intercommunication data stream to the ONU2, the ONU1 can directly send the intercommunication service to the ONU2 through the first intercommunication data stream, so that the intercommunication service sent to the ONU2 by the ONU1 is not required to be forwarded by the OLT1 or the OLT2, the interaction of the intercommunication service between any two ONUs included in the annular networking is realized without being forwarded by the OLT, and the time delay of the interaction intercommunication service between any two ONUs is reduced.
According to the method, downlink service data flow and intercommunication data flow are not required to be transmitted between two nodes included in the ring-shaped networking in a wavelength division mode, so that the number and complexity of wavelengths of optical signals processed by optical modules of all the nodes are reduced, and further the requirements of all the nodes on the performance of the optical modules are reduced.
Fig. 3 illustrates how the two ONUs transmit the interworking service in the process of sending the downstream service to each ONU by the OLT1, and in this embodiment, how the two ONUs transmit the interworking service in the process of sending the upstream service to the OLT1 is illustrated. The OLT2 configured to perform the present embodiment may also be shown in fig. 10a, where fig. 10a is a diagram illustrating a first structural example of the OLT2 provided in the present embodiment. The OLT2 shown in the present embodiment includes a transmitting unit 1000 and a receiving unit 1010. The sending unit 1000 specifically includes a first service processing module 1001, a first interworking processing module 1002, and a merging module 1003. The receiving unit 1010 is configured to receive the third transmission data stream from the ONU2, and the detailed description of the specific process is omitted, referring to step 315 corresponding to fig. 3. The receiving unit 1010 includes a parsing module 1012, a second service processing module 1013, and a second interworking processing module 1014. For the description of the implementation manner of each module of the receiving unit 1010, please refer to the description of the implementation manner of each module of the transmitting unit 1000, and detailed description is omitted. Both the transmitting unit 1000 and the receiving unit 1010 are connected to the optical module 1005. It should be noted that the description of the structures of the transmitting unit 1000 and the receiving unit 1010 in this embodiment is an alternative example, and is not limited thereto. For example, the first service processing module 1001 and the second service processing module 1013 may be implemented by the same service processing module. As another example, the first interworking processing module 1002 and the second interworking processing module 1014 may be implemented by the same interworking processing module. The following describes the execution process after the OLT2 receives the third transmission data stream with reference to fig. 10b, where fig. 10b is a flowchart of the second step of the data transmission method provided in the embodiment of the present application.
Step 1021, OLT2 receives the third transmission data stream.
Based on the corresponding embodiment of fig. 3, the OLT2 shown in this embodiment receives a third transmission data stream from the ONU 2.
Step 1022, OLT2 obtains a third downstream service data stream and a third interworking data stream.
If the ONU2 obtains the third transmission data stream in the combining manner 1 as shown in step 303, the OLT2 demultiplexes the third transmission data stream to obtain a third downlink traffic data stream and a third interworking data stream. For the description of the third downlink traffic data stream and the third interworking data stream, please refer to step 311 and step 313, which are not described in detail.
The process of the OLT2 processing the third transmission data stream is described in particular with reference to fig. 10 a. The receiving unit 1010 of the OLT2 is responsible for processing the third transmission data stream, and for the description of the implementation manner of each module included in the OLT2, please refer to the description of the implementation manner of each module included in the OLT1 corresponding to fig. 4a, which is not repeated in detail. The optical module 1005 of the receiving unit 1010 is connected to ONU2 via an optical fiber. The optical module 1005 receives a third transmission data stream. The optical module 1005 photoelectrically converts 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 transport stream to the parsing module 1012. The parsing module 1012 demultiplexes the third transport data stream to output a third downlink traffic data stream and a third interworking data stream.
If the ONU2 obtains the third transmission data stream in the combining manner 2 as shown in step 303, the OLT2 demodulates the third transmission data stream to obtain a third downlink traffic data stream and a third interworking data stream. With continued reference to fig. 10a, the parsing module 1012 receives the third transport data stream from the optical module 1005. The parsing module 1012 demodulates the third transport data stream to output a third downlink traffic data stream and a third interworking data stream.
With continued reference to fig. 10a, the second traffic processing module 1013 of the receiving unit 1010 receives the third downlink traffic data stream from the parsing module 1012. If the third downstream service data stream already carries the third downstream service that the OLT1 sends to the OLT2, the second service processing module 1013 processes the third downstream service data stream, and obtains the third downstream service that the third downstream service data stream already carries. The second service processing module 1013 sends the third downlink service to the service processing module 1004 to perform the processing of the third service. For the description of the service processing module 1004, please refer to the description corresponding to fig. 4a, and detailed description is omitted. The third downstream traffic data stream may terminate the transmission of the third downstream traffic data stream if the third downstream traffic data stream does not carry the third downstream traffic sent by OLT1 to OLT2 or if the second traffic processing module 1013 has obtained the third downstream traffic.
Step 1023, the OLT2 generates a second uplink service data stream.
The second upstream service data flow shown in this embodiment is used to carry upstream services to be sent to the OLT1 by each ONU of the ring-shaped network. To this end, the OLT2 may generate a second upstream traffic data stream for carrying upstream traffic to be sent by each ONU to the OLT 1. Referring to fig. 10a, the first service processing module 1001 is configured to generate a second uplink service data flow. If the OLT2 does not need to send the uplink traffic to the OLT1, the second uplink traffic data stream is a continuous data stream carrying the padding information. Optionally, if OLT2 needs to send a service through the second upstream service data stream to OLT1, second service processing module 1013 obtains a time slot scheduling message from the received third downstream service data stream. The time slot scheduling message is also used for indicating the service time slot allocated to the OLT2, and for the explanation of the time slot scheduling message, please refer to fig. 5, details are not described. The second traffic processing module 1013 transmits the slot scheduling message to the first traffic processing module 1001. The second service processing module 1001 carries, in the second upstream, the service that the OLT2 needs to send to the OLT1 on the service slot allocated by the OLT1 according to the slot scheduling message. The first service processing module 1001 sends the second upstream to the combining module 1003.
Step 1024, OLT2 generates a fourth interworking data stream.
In this embodiment, the fourth interworking data flow generated by the OLT2 is used to carry interworking services interacted by two different ONUs. For a description of the fourth interworking data flow, please refer to the description of the first interworking data flow shown in step 301 corresponding to fig. 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 interworking data flow is emitted from the OLT1 and is sequentially transmitted to the OLT2 through the ONU1 and the ONU 2. The fourth intercommunication data stream is emitted from the OLT2 and is transmitted to the OLT1 sequentially through the ONU2 and the ONU 1. For example, the fourth interworking data flow may be used to carry interworking traffic that ONU2 sends to ONU 1. That is, when the ONU2 receives the fourth interworking data stream from the OLT2, the interworking service that the ONU2 transmits to the ONU1 is carried on the fourth interworking data stream.
Optionally, the first interworking processing module 1002 shown in this embodiment may also be connected to the service processing module 1004, so that an interworking service (an interworking service that the OLT2 needs to send to the ONU) from the service processing module 1004 is carried in the fourth interworking data flow, and the detailed description will refer to fig. 4b, which is not described in detail.
Step 1025, the OLT2 combines the second uplink service data stream and the fourth interworking data stream to obtain a fourth transmission data stream.
With continued reference to fig. 10a, the first traffic processing module 1001 sends a second upstream traffic data stream to the merge module 1003. The first interworking processing module 1002 sends the fourth interworking data stream to the combining module 1003. The combining module 1003 is configured to combine the second uplink traffic data stream and the fourth interworking data stream to obtain a fourth transport data stream.
The OLT2 combines the second uplink service data stream and the fourth interworking data stream to obtain a description of a process of the fourth transmission data stream, please refer to the OLT1 shown in step 303 corresponding to fig. 3 for combining the second downlink service data stream and the second interworking data stream, and the description of a process of obtaining one path of second transmission data stream is not repeated.
In this embodiment, the fourth transmission data stream emitted from the optical module 1005 of the OLT2 may be transmitted through the wavelength λ2, and the third transmission data stream received by the optical module 1005 of the OLT2 may be transmitted through the wavelength λ1. It can be understood that in the ring network, the transmission of the downstream traffic and the interworking traffic from the OLT1 to the OLT2 is realized by the wavelength λ1. The transmission of downstream traffic from OLT2 to OLT1 and interworking traffic is achieved by means of wavelength λ2.
Step 1026, OLT2 sends a fourth transmission data stream to ONU 2.
As shown in connection with fig. 10a, the combining module 1003 of the OLT2 sends a fourth transmission data stream to the optical module 1005. The optical module 1005 is configured to perform electro-optical conversion on the fourth transmission data stream to output the fourth transmission data stream as an optical signal.
Step 1027, the ONU2 obtains the second upstream service data stream and the fourth interworking data stream according to the fourth transmission data stream.
If the OLT2 obtains the fourth transmission data stream in the combining manner 1 as shown in step 303, the ONU2 demultiplexes the fourth transmission data stream to obtain a second upstream traffic data stream and a fourth interworking data stream.
A process of processing the fourth transmission data stream by the ONU2 is specifically described with reference to fig. 10c, where fig. 10c is a first structural example diagram of the ONU2 provided in the embodiment of the present application. For the description of the implementation manner of each module included in the ONU2, please refer to the description of the implementation manner of each module included in the OLT1 corresponding to fig. 4a, which is not repeated in detail. The optical module 1041 of the ONU2 is connected to the optical module of the OLT2 through an optical fiber. The optical module 1042 of ONU2 is connected to the optical module of ONU1 by an optical fiber. The optical module 1041 receives a fourth transmission data stream having a wavelength λ2. The optical module 1041 performs photoelectric conversion on the fourth transmission data stream to output the fourth transmission data stream as an electrical signal. The optical module 1041 sends the fourth transport data stream to the parsing module 1043. The parsing module 1043 demultiplexes the fourth transport data stream to output a second uplink traffic data stream and a fourth interworking data stream.
If the OLT2 obtains the fourth transmission data stream in the combining manner 2 as shown in step 303, the ONU2 demodulates the fourth transmission data stream to obtain a second uplink traffic data stream and a fourth interworking data stream. The parsing module 1043 receives a fourth transport data stream with wavelength λ2 from the optical module 1041. The parsing module 1043 demodulates the fourth transport data stream to output a second uplink traffic data stream and a fourth interworking data stream.
Step 1028, ONU2 obtains the first upstream service data stream according to the second upstream service data stream.
The ONU2 shown in this embodiment carries the upstream service of the ONU2 on the first service slot of the second upstream service data stream according to the slot scheduling message, so as to obtain the first upstream service data stream, where the upstream service of the ONU2 is the upstream service to be sent to the OLT 1. Referring to fig. 10c, the ONU2 carries the uplink service to be sent to the OLT1 on the first service slot of the second uplink service data stream according to the indication of the slot scheduling message, so as to obtain the first uplink service data stream. The time slot scheduling message is used for indicating the starting time and the ending time of the first service time slot. The time slot scheduling message shown in this embodiment is a time slot allocated by the OLT1 for each ONU through a downlink data frame, and the detailed description is shown in fig. 5, which is not repeated. In order that the respective ONUs do not collide with each other when transmitting the traffic to the OLT1, there is no overlap between the time slots allocated by the respective ONUs indicated by the time slot scheduling message. For example, among a plurality of slots indicated by the slot scheduling message, guard time (Guard time) exists between any adjacent two slots. Specifically, the ONU2 receives, via the step 311 corresponding to fig. 3, the first transmission data stream with the wavelength λ1 from the optical module 1042 of the ONU 2. The parsing module 1043 parses the first downlink traffic data stream and the first interworking data stream from the first transport data stream. The processing module 1044 parses the slot scheduling message from the first downlink traffic data stream. Then, in the case that the processing module 1044 receives the second upstream service data stream from the OLT2, the processing module 1044 carries, on a first service slot of the second upstream service data stream, upstream service to be sent by the ONU2 to the OLT1 according to the slot scheduling message, and obtains the first upstream service data stream. The processing module 1044 sends the generated first uplink traffic data stream to the combining module 1046.
Step 1029, ONU2 obtains a fifth interworking data flow according to the fourth interworking data flow.
The interworking processing module 1045 shown in this embodiment receives the fourth interworking data stream from the parsing module 1043, and the interworking processing module 1045 obtains the fifth interworking data stream according to the fourth interworking data stream, for a description of a specific process, please refer to the ONU1 shown in step 308 corresponding to fig. 3 for a description of a process of obtaining the first interworking data stream according to the second interworking data stream, which is not described in detail.
And 1030, combining the first uplink service data stream and the fifth intercommunication data stream by the ONU2 to obtain a fifth transmission data stream.
With continued reference to fig. 10c, the processing module 1044 sends a first upstream traffic data stream to the combining module 1046, and the interworking processing module 1045 sends a fifth interworking data stream to the combining module 1046. The merging module 1046 is configured to merge the first uplink traffic data stream and the fifth interworking data stream to obtain a fifth transmission data stream. The ONU2 combines the first upstream service data stream and the fifth interworking data stream to obtain a description of a process of the fifth transmission data stream, please refer to the OLT1 shown in step 303 for combining the second downstream service data stream and the second interworking data stream to obtain a description of a process of the second transmission data stream, which is not described in detail.
Step 1031, ONU2 sends a fifth transmission data stream to ONU 1.
As shown in connection with fig. 10c, the combining module 1046 of ONU2 sends a fifth transmission data stream to the optical module 1042. The optical module 1042 is used for performing electro-optical conversion on the fifth transmission data stream to output the fifth transmission data stream as an optical signal. Because ONU2 in this embodiment has merged the first upstream traffic data stream and the fifth interworking data stream into a fifth transmission data stream, the wavelength of the fifth transmission data stream, which is an optical signal, output by the optical module 1042 is λ2. The optical module 1042 only sends an optical signal with one wavelength to the ONU1 through an optical fiber connected between the optical module 1042 and the ONU1, and can carry the first upstream service data stream and the fifth interworking data stream.
It will be appreciated that, as shown in fig. 10c for ONU2, the transmission data stream having the wavelength λ2 from OLT2 can be processed (the processing procedure is shown in steps 1027 to 1031), and the transmission data stream having the wavelength λ1 from ONU1 can also be processed (the processing procedure is shown in fig. 7).
In step 1032, ONU1 obtains the first upstream service data stream and the fifth interworking data stream according to the fifth transmission data stream.
Step 1033, ONU1 obtains a third upstream service data stream according to the first upstream service data stream.
Step 1034, ONU1 obtains a sixth interworking data flow from the fifth interworking data flow.
Step 1035, ONU1 merges the third upstream service data stream and the sixth interworking data stream to obtain a sixth transmission data stream.
Step 1036, ONU1 sends a sixth transmission data stream to OLT 1.
The ONU1 shown in the present embodiment performs the processes from step 1032 to step 1036, please refer to the ONU2 shown in the above for performing the processes from step 1028 to step 1032, and the detailed implementation process will not be repeated.
By adopting the method shown in the embodiment, interaction of intercommunication service between two ONUs can be realized in the process that each ONU transmits uplink service to the OLT 1.
In the embodiment shown in fig. 3, the OLT1 needs to send out an interworking data stream to ensure that the ONUs included in the ring network directly carry the interworking service on the interworking data stream, so as to implement transmission of the interworking service between the two ONUs directly. Fig. 11a is a flowchart illustrating a third step of the data transmission method according to the embodiment of the present application. In the embodiment shown in fig. 11a, the OLT1 does not need to send out the second interworking data stream, and realizes data transmission between two ONUs under the condition that the degree of modification to the OLT1 is reduced, and specifically performs the following steps:
step 1101, OLT1 generates a second downlink service data stream.
For a description of the execution process of step 1101 shown in this embodiment, please refer to step 301 corresponding to fig. 3, and the detailed execution process will not be repeated.
Step 1102, OLT1 sends a second downlink service data stream to ONU 1.
In case the OLT1 obtains a second downstream traffic data stream that already carries downstream traffic, the OLT1 directly sends this second downstream traffic data stream to the ONU 1.
Step 1103, ONU1 generates a second interworking data stream.
For a description of the procedure of generating the second interworking data flow by the ONU1, please refer to the description of the procedure of generating the second interworking data flow by the OLT1 shown in step 302 corresponding to fig. 3, which is not described in detail.
Fig. 11b is a schematic diagram of an ONU according to an embodiment of the present application, where fig. 11b is a schematic diagram of an ONU according to an embodiment of the present application. In this step, taking ONU1 as an example shown in fig. 11b, an optical module 1132 of ONU1 is connected to OLT1 through an optical fiber. The optical module 1132 receives a second downstream traffic data stream from the OLT1 at wavelength λ1. A routing module 1133 is connected to the optical module 1132. The routing module 1133 determines that the second downlink traffic data stream is not merged (e.g., not through a merging manner of accelerating multiplexing, and not through a roof-adjusting manner) according to the second downlink traffic data stream, and the routing module 1133 sends the second downlink traffic data stream to the processing module 1137. The routing module 1133 also sends a generation instruction to the interworking processing module 1136, where the generation instruction is used to instruct the interworking processing module 1136 to generate a second interworking data flow.
Step 1104, ONU1 obtains a first interworking data stream according to the second interworking data stream.
For a description of the procedure of the ONU1 obtaining the first interworking data flow, please refer to the description of the ONU1 obtaining the first interworking data flow shown in step 308 corresponding to fig. 3, which is not described in detail.
Step 1105, ONU1 obtains the first downlink service already carried by the second downlink service data stream.
For a description of a specific process of the ONU1 obtaining the first downlink service, please refer to step 306 corresponding to fig. 3, which is not repeated. As shown in fig. 11b, the processing module 1136 of the ONU1 obtains the first downlink traffic already carried by the second downlink traffic data stream.
Step 1106, ONU1 replicates the second downstream service data stream to obtain a first downstream service data stream.
For a description of the procedure of the ONU1 obtaining the first downlink service data stream, please refer to step 307 corresponding to fig. 3, which is not described in detail. As shown in fig. 11b, the processing module 1136 of ONU1 obtains the first downstream traffic data stream.
In step 1107, ONU1 merges the first downstream service data stream and the first interworking data stream to obtain a first transmission data stream.
The process of ONU1 obtaining the first transmission data stream is shown in step 308 corresponding to fig. 3, which is not described in detail. Referring to fig. 11b, the combining module 1138 receives the first downlink traffic data stream from the processing module 1137 and receives the first interworking data stream from the interworking processing module 1136 to obtain the first transport data stream. The specific process of obtaining the first transport data stream is shown in step 309 corresponding to fig. 3, which is not described in detail.
Step 1108, ONU1 sends the first transmission data stream to ONU 2.
With continued reference to fig. 11b, the combining module 1138 is connected to the optical module 1131, and the optical module 1131 is connected to the ONU2 through an optical fiber. The merge module 1138 sends the first transport data stream to the optical module 1131. The optical module 1131 performs electro-optical conversion on the first transmission data stream to transmit the first transmission data stream with the wavelength λ1 to the ONU 2.
Step 1109, ONU2 obtains the second downstream service already carried by the first downstream service data flow.
In this step, taking ONU2 as an example shown in fig. 11b, the optical module 1132 is connected to ONU1 through an optical fiber, and receives the first transmission data stream with wavelength λ1. The routing module 1133 detects that the first transport data stream is a combined data stream, and the routing module 1133 sends the first transport data stream to the parsing module 1135. The parsing module 1135 of the ONU2 parses the first transmission data stream to obtain a first downlink traffic data stream and a first interworking data stream. The parsing module 1135 sends the first downlink traffic data stream to the processing module 1137. The parsing module 1135 sends the first interworking data stream to the interworking processing module 1136. The processing module 1137 may obtain the second downlink traffic already carried by the first downlink traffic data stream.
Step 1110, ONU2 sends a third downstream service data stream to OLT 2.
In this embodiment, when the ONU2 is an ONU directly connected to the OLT2, the ONU2 transmits the third downstream service data stream that does not need to be combined to the OLT 2. Optionally, the third downlink service data flow shown in this embodiment may be a continuous data flow carrying padding information, and optionally, the third downlink service data flow may also carry the service sent to the OLT 2. In other examples, the ONU2 may also terminate the transmission of the third downstream traffic data stream.
The processing module 1137 shown in fig. 11b sends a third downlink traffic data stream to the optical module 1131, and the optical module 1131 performs electro-optical conversion on the third downlink traffic data stream to send the third downlink traffic data stream with wavelength λ1 to the OLT 2.
Step 1111, ONU2 terminates the transmission of the first interworking data stream.
In this embodiment, the OLT2 does not need to generate and process the interworking data stream, and the ONU2 directly connected to the OLT2 can directly terminate the transmission of the first interworking data stream. Specifically, the transmission of the first interworking data stream is terminated by interworking processing module 1136.
By adopting the method shown in this embodiment, after the OLT1 generates the second downlink service data stream, the second downlink service data stream is directly sent to the ONU1, and the data transmission method shown in this embodiment can be implemented without sending the interworking data stream from the OLT1 to the ONU1, which reduces the degree of modification to the OLT 1.
In the above embodiment, the transmission data flows interacted between two nodes included in the ring network are combined into the downstream service from the OLT1 and the interworking service. Or, the transmission data flows interacted between the two nodes are combined into uplink service and intercommunication service sent by the ONU to the OLT 1. In the embodiment shown in fig. 12, the transmission data flows interacted between two nodes included in the ring network are combined into a downlink service from the OLT1, an uplink service to be sent to the OLT2, and an interworking service. Fig. 12 is a flowchart of a fourth step of the data transmission method according to the embodiment of the present application. In this embodiment, the OLT1 needs to transmit the upstream and downstream services with the ONU1, and the ONU2 needs to transmit the upstream and downstream services with the OLT 2.
Step 1201, OLT1 generates a fourth service data stream.
The fourth service data flow shown in this embodiment is used to carry the first sub-service, where the first sub-service is a downlink service that the OLT1 needs to send to each ONU. In the process of generating the fourth service data stream by the OLT1 shown in the embodiment, please refer to the process of generating the two downlink service data streams by the OLT1 shown in step 301 corresponding to fig. 3, and the detailed execution process is not described in detail.
The present embodiment describes a process of generating the fourth service data stream by the OLT1 with reference to fig. 13, where fig. 13 is a third structural example diagram of the OLT1 provided in the embodiment of the present application. The OLT1 shown in the present embodiment includes a transmitting unit 1300 and a receiving unit 1310. The sending unit 1300 specifically includes a first service processing module 1301, a first interworking 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 transmitting unit 1300 and the receiving unit 1310 are both connected to the optical module 1305 and the service processing module 1304, and the detailed description is referred to the description of the structure of the OLT2 shown in fig. 10a, which is not repeated. The first service processing module 1301 is configured to generate a fourth service data flow.
Step 1202, the OLT1 generates a second interworking data stream.
For an explanation of the execution process of step 1202 shown in the embodiment, please refer to step 302 corresponding to fig. 3, and the detailed execution process is not described again.
Referring to fig. 13, a first interworking processing module 1302 of the OLT1 is configured to generate the second interworking data stream. In this embodiment, the OLT1 is responsible for controlling the second interworking data flow. For example, the OLT1 allocates an interworking time slot to each ONU included in the ring network, so that each ONU carries an interworking service on the second interworking data stream according to the allocated interworking time slot.
Step 1203, OLT1 generates a fifth service data stream.
The fifth service data flow shown in this embodiment is used to carry a second sub-service, where the second sub-service is an uplink service that needs to be sent to the OLT2 by each ONU. For this purpose, the OLT1 may generate a fifth traffic data stream for carrying the upstream traffic of each ONU to be transmitted to the OLT 2. The process of generating the fifth service data flow by the OLT1 is shown in step 1023 corresponding to fig. 10b, which is not described in detail.
And 1204, the OLT1 combines the fourth service data stream, the fifth service data stream and the second intercommunication data stream to obtain a second transmission data stream.
The second transmission data stream in this embodiment occupies only one wavelength of the OLT1, for example, the OLT1 simultaneously transmits the fourth service data stream, the fifth service data stream, and the second interworking data stream through a wavelength of λ1, without causing the second interworking data stream for implementing communication between two ONUs to occupy independent wavelengths, and without causing the fourth service data stream and the fifth service data stream to occupy two independent wavelengths of the OLT1, respectively. The number of wavelengths used by the OLT1 to transmit the fourth traffic data stream, the fifth traffic data stream and the second interworking data stream to the ONU1 is effectively saved. Referring to fig. 13, the first service processing module 1301 transmits the fourth service data stream and the fifth service data stream to the combining module 1303. The first interworking processing module 1302 sends the second interworking data stream to the combining module 1303. The merging module 1303 is configured 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. Several alternative ways of combining the fourth traffic data stream, the fifth traffic data stream and the second interworking data stream by the OLT1 are described below:
Merge mode 1
The OLT1 multiplexes the fourth service data stream, the fifth service data stream, and the second interworking data stream, and obtains a second transmission data stream. The OLT1 multiplexes the fourth service data stream, the fifth service data stream, and the second interworking data stream to obtain a description of a path of second transmission data stream, which is shown in the merging mode 1 shown in step 303 corresponding to fig. 3, and is not described in detail.
Merge mode 2
The OLT1 multiplexes the fourth service data stream and the fifth service data stream to obtain a multiplexed data stream. The OLT1 multiplexes the fourth service data stream and the fifth service data stream to obtain a description of the multiplexed data stream, which is shown in the merging mode 1 shown in step 303 corresponding to fig. 3, and will not be described in detail. The OLT1 remodulates the second interworking data stream on the multiplexed data stream in a modulated manner, to obtain a second transport data stream. For the description of the OLT1 re-modulating the second interworking data flow, please refer to the combining manner 2 shown in step 303 corresponding to fig. 3, which is not described in detail.
Step 1205, OLT1 sends a second transmission data stream to ONU 1.
For the description of step 1205 in this embodiment, please refer to step 304 corresponding to fig. 3, which is not described in detail. Referring to fig. 13, the combining module 1303 sends a second transport data stream to the optical module 1305. The optical module 1305 performs electro-optical conversion on the second transmission data stream to transmit the second transmission data stream with the wavelength λ1 to the ONU 1.
In step 1206, ONU1 obtains a fourth traffic data stream, a fifth traffic data stream, and a second interworking data stream according to the second transport data stream.
In step 1207, ONU1 obtains the first sub-service already carried by the fourth service data flow.
Step 1208, ONU1 replicates the fourth traffic data stream to obtain the first sub-traffic data stream.
Step 1209, the ONU1 obtains a first interworking data stream according to the second interworking data stream.
For the description of the execution process of step 1207 and step 1209 in this embodiment, please refer to steps 306 to 308, which are not described in detail.
Step 1210, ONU1 obtains a second sub-service data stream according to the fifth service data stream.
In this embodiment, if there is a second sub-service that needs to be sent to the OLT2, the ONU1 carries the second sub-service on a second service slot of the fifth service data stream, and obtains the second sub-service data stream. In the process of obtaining the second sub-service data stream according to the fifth service data stream by the ONU1 shown in this embodiment, please refer to the process of obtaining the first uplink service data stream according to the second uplink service data stream by the ONU2 shown in step 1028 corresponding to fig. 10b, and the detailed execution process is not described.
In step 1211, ONU1 merges the first sub-service data stream, the second sub-service data stream and the first interworking data stream, and obtains a first transmission data stream.
In the process of combining the first sub-service data stream, the second sub-service data stream and the first interworking data stream to obtain a first transmission data stream, please refer to the OLT1 shown in step 1204 for combining the fourth service data stream, the fifth service data stream and the second interworking data stream to obtain a second transmission data stream, which is not described in detail.
Step 1212, ONU1 sends a first transmission data stream to ONU 2.
Step 1213, ONU2 obtains a first sub-service data stream, a second sub-service data stream and a first interworking data stream according to the first transmission data stream.
In step 1214, ONU2 obtains the first sub-service already carried by the first sub-service data stream.
Step 1215, ONU2 replicates the first sub-service data stream, and obtains a third sub-service data stream.
In step 1216, ONU2 obtains a third interworking data stream from the first interworking data stream.
Step 1217, ONU2 obtains a fourth sub-service data stream from the second sub-service data stream.
In step 1218, ONU2 merges the third sub-service data stream, the fourth sub-service data stream and the third interworking data stream, and obtains a third transmission data stream.
Step 1219, ONU2 sends a third transmission data stream to OLT 2.
For a description of the execution process of steps 1213 to 1219 in this embodiment, please refer to the description of the execution process of steps 1206 to 1212 performed by ONU1, which is not repeated.
By adopting the method shown in the embodiment, each ONU in the ring network bears the uplink service which needs to be sent to the OLT2 on the assigned time slot, and each ONU in the ring network sends the uplink service based on time division multiple access (time division multiple access, TDMA), so that the conflict of the time slots assigned by different ONUs is avoided, and the time delay of the uplink service sent by each ONU is ensured not to be deteriorated. And based on the same wavelength that each ONU sends the uplink service to the OLT2, the downlink service from the OLT1 and the interactive service between any two ONUs can be transmitted. The transmission efficiency of the downlink service from the OLT1, the uplink service to be sent to the OLT2 and the intercommunication service is improved by the annular networking.
With continued reference to fig. 13, the OLT1 may also receive a third transmission data stream from the OLT 2. The third transmission data stream has combined the sixth traffic data stream, the seventh traffic data stream and the third interworking data stream from the OLT 2. The sixth service data flow is used for carrying a third sub-service, where the third sub-service is a downlink service that the OLT2 needs to send to each ONU, and for a specific explanation, please refer to the explanation of the first sub-service shown in step 1201. The seventh traffic data stream is for carrying the fourth sub-traffic. The fourth sub-service is an uplink service that each ONU needs to send to the OLT 1. For the description of the third interworking data flow, please refer to the description of the third interworking data flow of step 1022 corresponding to fig. 10b, which is not repeated. For a description of the OLT1 receiving the third transmission data stream from the ONU2, please refer to a description of a process of the OLT1 sending the second transmission data stream to the OLT2 in the embodiment, which is not described in detail. The parsing module 1312 of the OLT1 parses the third transmission data stream to obtain a sixth service data stream, a seventh service data stream and a third interworking data stream. The parsing module 1312 sends the sixth traffic data stream and the seventh traffic data stream to the second traffic processing module 1313. The parsing module 1312 also sends a third interworking data stream to the second interworking processing module 1314. For a description of the second service processing module 1313 processing the sixth service data stream, please refer to the process of the second service processing module 1013 shown in fig. 10a processing the third downlink service data stream, which is not described in detail. Since the third sub-service carried by the sixth service data stream in this embodiment is the downstream service that the OLT2 needs to send to each ONU, the second service processing module 1313 terminates the sixth service data stream transmission. If the sixth service data stream already carries the downlink service sent by the OLT2 to the OLT1, the second service processing module 1313 terminates the transmission of the sixth service data stream after extracting the downlink service from the sixth service data stream. The second service processing module 1313 transmits the downlink service from the OLT2 to the service processing module 1304. The second service processing module 1313 extracts the upstream service sent by each ONU to the OLT1 from the seventh service data stream, and sends the upstream service to the service processing module 1304. For a description of the process of the second interworking processing module 1314 processing the third interworking data flow, please refer to the second interworking processing module 1014 shown in fig. 10a, which is not described in detail.
In the embodiment shown in fig. 12, the OLT1 needs to generate a second interworking data stream to ensure that the ONUs included in the ring network directly carry the interworking service on the interworking data stream, so as to implement transmission of the interworking service between the two ONUs directly. The OLT1 also needs to generate a fifth service data stream, so as to ensure that each ONU included in the ring network directly carries the upstream service that needs to be sent to the OLT2 on the fifth service data stream. Fig. 14 is a flowchart of a fifth step of the data transmission method according to the embodiment of the present application. In the embodiment shown in fig. 14, the OLT1 does not need to generate the second interworking data stream and the fifth service data stream, so that the data transmission method shown in this embodiment can be implemented with a reduced degree of modification to the OLT1, and the specific implementation process is as follows:
step 1401, OLT1 generates a fourth traffic data stream.
In the execution of step 1401 shown in this embodiment, please refer to step 1201 corresponding to fig. 12, which is not described in detail.
Step 1402, the OLT1 sends a fourth traffic data stream to the ONU 1.
Step 1403, ONU1 generates a second interworking data stream.
In step 1404, ONU1 generates a fifth traffic data stream.
For a description of the process of executing steps 1403 to 1404 in ONU1 shown in the present embodiment, please refer to steps 1202 to 1203 corresponding to fig. 12, which is not described in detail.
In step 1405, ONU1 obtains the first sub-service already carried by the fourth service data flow.
In step 1406, ONU1 replicates the fourth service data stream to obtain the first sub-service data stream.
Step 1407, the ONU1 obtains a 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.
In step 1409, ONU1 merges the first sub-service data stream, the second sub-service data stream and the first interworking data stream, and obtains a first transmission data stream.
Step 1410, ONU1 sends a first transmission data stream to ONU 2.
In step 1411, ONU2 obtains a first sub-service data stream, a second sub-service data stream and a first interworking data stream according to the first transmission data stream.
In step 1412, ONU2 obtains the first sub-service already carried by the first sub-service data stream.
For a description of the execution process of steps 1405 to 1412 in this embodiment, please refer to steps 1208 to 1214 corresponding to fig. 12, which will not be described in detail.
Step 1413, ONU2 terminates the transmission of the first interworking data stream.
For a description of the execution process of step 1413 in this embodiment, please refer to step 1111 corresponding to fig. 11, which is not described in detail.
Step 1414, ONU2 sends a fourth sub-service data stream to OLT 2.
The fourth sub-service data flow shown in this embodiment already carries the uplink service that each ONU needs to send to the OLT2, and for the description of the fourth sub-service data flow, please refer to the description of the corresponding embodiment in fig. 12, details are not repeated.
By adopting the method shown in this embodiment, after the OLT1 generates the fourth service data stream, the fourth service data stream is directly sent to the ONU1, so that the degree of modification to the OLT1 is reduced, and the data transmission method shown in this embodiment can be implemented. In this embodiment, taking ONU1 generating the fifth traffic data stream and the second interworking data stream as an example, in other examples, OLT1 may generate the fourth traffic data stream and the fifth traffic data stream, and ONU1 generates the second interworking data stream. Alternatively, the OLT1 may generate the fourth traffic data stream and the second interworking data stream, and the ONU1 generates the fifth traffic data stream, which is not limited in this embodiment.
The following describes the procedure of implementing the interworking service transmission between two ONUs while implementing Type C protection by using the ring networking shown in the embodiment with reference to fig. 15. Fig. 15 is a diagram illustrating a second structural example of ring networking according to an embodiment of the present application. As shown in fig. 15, ONU1 and ONU2 are sequentially connected between the left OLT and the right OLT, the left OLT shown in fig. 15 is OLT1 shown above, and the right OLT is OLT2 shown in the above-described embodiment, and it should be understood that the specific names of the OLTs shown in this embodiment are 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 ONU1 by an optical fiber. The optical module 1522 of ONU1 is connected to the optical module 1531 of ONU2 by an optical fiber. The optical module 1532 of ONU2 is connected to the optical module 1541 of the right OLT through an optical fiber. The optical module 1501 of the left OLT1 sends a second transmission data stream to the optical module 1521 of the ONU1, where the second transmission data stream carries a left downlink service data stream, a right uplink service data stream, and an interworking data stream, and for a description of the left downlink service data stream, please refer to a description of a fourth service data stream shown in step 1201 corresponding to fig. 12. For a description of the right uplink traffic data flow, please refer to the description of the fifth traffic data flow shown in the corresponding step 1203 in fig. 12. For the description of the interworking data flow, please refer to the description of the second interworking data flow shown in step 1202 corresponding to fig. 12, which is not repeated.
By analogy, the optical module 1522 of ONU1 sends a first transmission data stream to the optical module 1531 of ONU2, the first transmission data stream carrying a left downstream traffic data stream, a right upstream traffic data stream, and an interworking data stream. For a description of the first transmission data stream exiting from the optical module 1522 of the ONU1, please refer to step 1211 corresponding to fig. 12, which is not described in detail. The optical module 1532 of the ONU2 sends the third transmission data stream to the optical module 1541 of the right OLT, and the description of the third transmission data stream is referred to the description of step 1218 corresponding to fig. 12, which is not described in detail. The wavelengths of the left downstream traffic data stream, the right upstream traffic data stream, and the interworking data stream transmitted between the optical module 1501 of the left OLT, the optical module 1521 of the ONU1, the optical module 1522 of the ONU1, the optical module 1531 of the ONU2, the optical module 1532 of the ONU2, and the optical module 1541 of the right OLT shown in this example are λ1.
The right OLT may also send a left upstream service data stream, a right downstream service data stream, and an interworking data stream to the left OLT, where the left upstream service data stream is used to carry upstream services that each ONU needs to send to the OLT1, and details of the description refer to the description of the right upstream service data stream, which is not repeated. The right downstream traffic data stream is used to carry downstream traffic that OLT2 needs to send to each ONU. For a specific description of the right downlink service data flow, please refer to the description of the left downlink service data flow, and detailed description is omitted. In the case that the ring network includes ONU1 and ONU2, the interworking data stream exiting from the right OLT carries the interworking service that ONU2 needs to send to ONU 1. The wavelengths of the upstream left traffic data stream, downstream right traffic data stream, and interworking data stream transmitted between the optical module 1541 of the right OLT, the optical module 1532 of the ONU2, the optical module 1531 of the ONU2, the optical module 1522 of the ONU1, the optical module 1521 of the ONU1, and the optical module 1501 of the left OLT shown in this example are λ2.
It will be appreciated that the data communication between the left OLT and the right OLT shown in fig. 15 is performed through two data channels, one of which has a wavelength λ1 and the other of which has a wavelength λ2. If the data channel with the wavelength lambda 1 cannot successfully transmit data, the left OLT and the right OLT perform data communication through the data channel with the wavelength lambda 2. Wherein, failure of the data channel at wavelength λ1 to successfully transmit data may occur at least one of the following failures:
An optical module located in the data channel at wavelength λ1 fails (e.g., optical module 1521 of ONU1 fails), or an optical fiber located in the data channel at wavelength λ1 fails (e.g., an optical fiber connected between optical module 1522 of ONU1 and optical module 1531 of ONU2 fails), etc.
The beneficial effects of the ring networking provided by the present application are described in connection with the structure of the existing ring networking shown in fig. 16. Fig. 16 is a diagram showing a second structural example of the ring network provided by the prior art. The ring network shown in fig. 16 includes ONU1, ONU2, and ONU3 to ONUN. Taking the optical splitter 1601 as an example, ONU1 is connected to a first port of the optical splitter 1601, a second port of the optical splitter 1601 is connected to the optical splitter 1602, and a third port of the optical splitter 1601 is connected to OLT 1. For a description of the connection of the splitter 1602, the splitter 1603 and the splitter 1604, please refer to the description of the splitter 1601, details are not described. If the OLT1 needs to send downstream traffic to each ONU, the OLT1 sends a first downstream traffic data stream to the optical splitter 1601, and the optical splitter 1601 splits the first downstream traffic data stream to obtain a first split data stream and a second split data stream, where the traffic carried by the first split data stream is consistent with the traffic carried by the second split data stream, and the optical power of the first split data stream is smaller than the optical power of the second split data stream. The splitter 1601 sends a first split data stream to ONU 1. The splitter 1601 sends a second split data stream to a splitter 1602. The optical splitter 1602 also splits the second split data stream again, and for the description of the splitting of the optical splitter 1602, please refer to the description of the splitting of the optical splitter 1601, details are not repeated. As can be seen, in the existing ring network, the OLT1 needs to split light via the optical splitter to send downstream traffic to each ONU (for example, ONU 1), which causes loss of optical power, for example, the optical power of the downstream traffic data stream received by the ONU2 is split to give a part of light to the ONU1, and the loss of optical power causes difficulty and accuracy of each ONU to obtain downstream traffic. In addition, each of the optical splitters shown in fig. 16 is an unequal ratio optical splitter, and if a larger number of optical splitters are connected to the ring network, the insertion loss of the ring network is increased.
The two adjacent nodes included in the ring networking in the above embodiments of the method are directly connected through optical fibers, for example, OLT1 and ONU1 are directly connected through optical fibers, ONU1 and ONU2 are directly connected through optical fibers, and an unequal ratio optical splitter is not required to be used for connection, so that the insertion loss of the ring networking is reduced. And the downlink service data stream sent by the OLT1 is subjected to photoelectric conversion by each ONU, and the downlink service data stream in the form of an electrical signal is processed (as shown by the duplication), so that the loss of the optical power of the downlink service data stream received by each ONU is reduced.
Fig. 17 is a diagram illustrating a first structural example of networking according to an embodiment of the present application. The networking shown in this embodiment includes an OLT1 and a plurality of ONUs sequentially connected to the OLT 1. For example, the OLT1, the ONU1, and the ONU2 are sequentially connected, and in this embodiment, two ONUs are sequentially connected to the OLT1, and the number of ONUs sequentially connected to the OLT1 is not limited in this embodiment, so long as the number of ONUs connected to the OLT1 is two or more.
In this embodiment, if a fault occurs between the OLT1 and the ONU1, the transmission of the upstream and downstream traffic between the OLT1 and the ONU1 is disabled. ONU1 and ONU2 shown in this embodiment can create an ad hoc network 1700. The transmission of the ad hoc network service can be performed between ONU1 and ONU2 in the ad hoc network 1700.
The structure of the ONU2 shown in this embodiment is described below with reference to fig. 18, where fig. 18 is a diagram showing a second structural example of the ONU2 provided in this embodiment. It should be noted that, the configuration of the communication node shown in fig. 18 is ONU2 as an example, and the configuration of the communication node shown in fig. 18 may be any communication node included in the ring network.
ONU2 shown in the present embodiment includes an optical module 1801 connected to ONU 1. The optical module 1801 includes a first transmit port (TX) and a first receive port (RX), among others. The present embodiment does not limit the number of RX and TX included in the ONU2, but the ONU2 has and only has the first RX and the first TX for communication with the OLT. In the example shown in fig. 18, the first RX included in the ONU2 is the only receiving port capable of communicating with the OLT1, and the first TX included in the ONU2 is the only receiving port capable of communicating with the OLT1. The OLT to which the ONU2 is connected is only the OLT1. In this embodiment, ONU2 is taken as the last ONU connected to the OLT as an example, that is, ONU2 does not have a downstream ONU.
The ONU2 shown in this embodiment further comprises a switching device comprising a detector 1810 and a switching array 1830 connected to the detector 1810. Switch array 1830 includes an input port and an output port. The switch array 1830 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 of this embodiment is shown such that the first input port 1811 of the switch array 1830 is conductive to the first output port 1821, and the first output port 1821 is connected to the first processing port 1841 of the traffic processor 1840. The detector 1810 also connects the fourth output port 1814 and the fourth input port 1824 of the switch array, and the fourth input port 1824 is connected with the second processing port 1842 of the traffic processor 1840. While 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. For example, the detector 1810 may be one or more field-programmable gate arrays (FPGAs), application specific integrated chips (application specific integrated circuit, ASICs), system on chips (socs), central processing units (central processor unit, CPUs), network processors (network processor, NP), digital signal processing circuits (digital signal processor, DSPs), microcontrollers (micro controller unit, MCUs), programmable controllers (programmable logic device, PLDs) or other integrated chips, or any combination of the above chips or processors, or the like. For the description of the service processor 1840, please refer to the description of the form of the detector 1810, which is not repeated. The detector 1810 and the service processor 1840 in this embodiment may be implemented in a discrete structure or in the same structure, which is not limited in this embodiment.
The process of creating an ad hoc network between ONU1 and ONU2 in the case where the OLT1 and ONU1 cannot perform uplink and downlink traffic transmission due to a failure between the OLT1 and ONU1 will be described with reference to the embodiment shown in fig. 19 based on the configuration shown in fig. 18. Fig. 19 is a flowchart of a sixth step of the data transmission method according to the embodiment of the present application.
Step 1901, ONU2 detects that the first optical path has a fault event.
In this embodiment, the ONU1 is connected between the ONU2 and the OLT1, and the first optical path is the optical path between the first RX of the ONU2 and the OLT1.
As shown in fig. 20, if the first optical path fails, the downlink service from the OLT1 cannot be successfully transmitted to the ONU2. And the upstream traffic of ONU2 cannot be successfully transmitted to OLT1. Specifically, a fault event of the first optical path may occur between OLT1 and ONU1, or between ONU1 and ONU2. If the OLT1 fails, at least one of the optical fiber connected between the OLT1 and the ONU1 fails or the ONU1 fails, which can cause a failure event on the first optical path.
The following describes how ONU2 determines that the first optical path has failed: the detector 1810 of the ONU2 may be connected to the optical module 1801, where the detector 1810 detects whether the first RX of the optical module 1801 can normally receive the optical signal, and if the detector 1810 exceeds a preset period of time, the detector continuously fails to detect an event that the first RX successfully receives the optical signal or the optical power of the continuously detected optical signal is less than a preset threshold, it is determined that a first optical path between the first RX of the ONU2 and the OLT1 has a fault event. As another example, the detector 1810 is connected to a line between the optical module 1801 and the first input port 1811, the detector 1810 obtains an electrical signal output by the optical module 1801 based on the line, and the detector 1810 detects whether the electrical signal includes a continuous valid frame header, if not, determines that the first optical path has a fault event. As another example, detector 1810 detects that the bit error rate of the electrical signal exceeds a preset threshold. The embodiment does not limit how the detector 1810 determines that the first optical path has a fault event, as long as the OLT1 and the ONU2 cannot successfully perform successful transmission of the upstream and downstream services under the condition that the first optical path has a fault event.
Step 1902, the detector of ONU2 switches the switch array from the first conduction mode to the second conduction mode.
Specifically, when the ONU2 detects that the first optical path has a fault event, the detector of the ONU2 switches the switch array from the first conduction mode to the second conduction mode, so that the ONU2 and the ONU1 can be self-networked under the condition that the switch array of the ONU2 is in the second conduction mode, so that the transmission of the intercommunication service can be performed between two ONUs that are successfully self-networked.
As shown in fig. 18, with the switch array 1830 in the first conduction mode, the first input port 1811 of the switch array 1830 is made conductive with the first output port 1821, and the fourth output port 1814 and the fourth input port 1824 are made conductive. While the first input port 1811 and the fourth output port 1814 are both connected to the optical module 1801.
For a description of the second conduction mode, please refer to fig. 20, wherein fig. 20 is a third exemplary configuration diagram of the ONU2 according to the embodiment of the present application. With the switch array 1830 in the second conductive mode, the first interworking port 1851 of the switch array 1830 is conductive with the interworking processing module 1850 and the first input port 1811, respectively. The second interworking port 1852 of the switch array 1830 is in communication with the interworking processing module 1850 and the fourth output port 1814, respectively. For a description of the implementation manner of the interworking processing module 1850, please refer to the description of the implementation manner of the service processor 1840, which is not repeated. It is to be understood that the interworking processing module 1850 and the service processor 1840 in this embodiment may be implemented in a separate structure or in the same structure, and are not limited in this embodiment.
In case the detector 1810 of ONU2 detects a failure event of 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 may also switch the switch array 1830 from the first conduction mode to the second conduction mode if a switching instruction is received, where the source of the switching instruction is not limited in this example, and the switching instruction may be input from a network management device or an operator, for example.
Step 1903, ONU2 transmits a first probing data stream over the first TX.
ONU2 is configured to determine whether it is able to create an ad hoc network 1700 with ONU1, and then the interworking processing module 1850 generates a first probe data stream for creating the ad hoc network 1700. The interworking processing module 1850 transmits a first probing 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 probing data stream through the first RX.
If the ONU1 also needs to create the ad hoc network, the ONU1 sends a second probe data stream to the ONU 2. Specifically, the first RX of ONU2 receives the second probing data stream from ONU 1. The content of the first probe data stream and the second probe data stream is not limited in this embodiment, for example, the first probe data stream and the second probe data stream may carry negotiation messages for creating an ad hoc network, and the like.
Step 1905, ONU2 receives the first ad hoc network data stream through the first RX.
In the case where ONU2 determines that the first probe data stream has been transmitted and the second probe data stream has been received, ONU2 determines that ad hoc network 1700 including ONU1 and ONU2 has been successfully created. And the transmission of the ad hoc network service is not required to be carried out under the dispatching of the OLT1 between the ONU2 and the ONU 1. For example, if ONU1 has 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 stream. For the description of the second ad hoc network service, please refer to the description of the interworking service corresponding to fig. 3, and detailed description thereof will be omitted. ONU2 extracts the second ad hoc network traffic in case of receiving the first ad hoc network data stream from ONU 1. The first ad hoc network data stream in this embodiment is a continuous data stream. The first ad hoc network data stream includes the second ad hoc network service and padding information.
In 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 already carries the second ad hoc network traffic sent to ONU 2. And the ONU2 obtains a second ad hoc network service sent to the ONU2 from the second ad hoc network time slot of the first ad hoc network data stream. Specifically, the ONU2 carries the second ad hoc network service through a plurality of ad hoc network data frames included in the first ad hoc network data stream, and for a description of the ad hoc network data frames, please refer to a description of the interworking data frames shown in fig. 8c, which is not repeated. And obtaining an ad hoc network data frame used for bearing the second ad hoc network service from a plurality of ad hoc network data frames included in the first ad hoc network data stream. The ad hoc network data frame carries the address of the ONU2 or the identifier of the ONU 2. The ONU2 obtains the second ad hoc network service from the ad hoc network data frame.
Referring to fig. 20, after receiving the first ad hoc network data stream, the first RX of the ONU2 sequentially transmits the first ad hoc network data stream 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 configured to extract the second ad hoc network traffic from the first ad hoc network data stream.
Step 1907, ONU2 sends a second ad hoc network data stream to ONU1 through the first TX.
The second ad hoc network data stream shown in this embodiment is used to carry the first ad hoc network service sent by ONU2 to ONU 1. The second ad hoc network data stream comprises the first ad hoc network service and filling information. The following describes an alternative way for ONU2 to obtain the second ad hoc network data stream:
alternative 1
In this alternative, if the ONU2 has the first ad hoc network service that needs to be sent to the ONU1, the ONU2 may carry the first ad hoc network service on the second ad hoc network data stream. Specifically, ONU2 obtains the ad hoc network slot scheduling message. The ad hoc network time slot scheduling message shown in this embodiment may be carried in the first ad hoc network data stream, and the ONU2 obtains the ad hoc network time slot scheduling message through the first ad hoc network data stream. As another example, between ONU2 and ONU1, the ad hoc network time slot scheduling message is negotiated based on the first and second probing data streams. As another example, between ONU1 and ONU2, the ad hoc network time slot scheduling message may be pre-agreed. The ad hoc network time slot scheduling message includes an identifier of the ONU2 and a first ad hoc network time slot corresponding to the ONU 2. The ad hoc network time slot scheduling message corresponding to the ONU2 is used for indicating the time when the ONU2 transmits the first ad hoc network service start byte and the time when the ONU2 transmits the first ad hoc network service end byte in the second ad hoc network data stream.
Alternative 2
In this implementation, ONU2 does not need to send the first ad hoc service according to the ad hoc time slot scheduling message. ONU2 may replace the padding information with the first ad hoc service on any time slot in the second ad hoc data stream that has carried the padding information. It can be understood that, in this implementation ONU2 does not need to carry the first ad hoc network service in the second ad hoc network data stream strictly according to the indication of the ad hoc network time slot scheduling message, and ONU2 can replace any time slot of the second ad hoc network data stream with the first ad hoc network service.
As shown in fig. 20, the second ad hoc network traffic stream generated by the traffic processor 1840 is transmitted to the optical module 1801 sequentially 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 ONU 1.
By adopting the method shown in the embodiment, an ad hoc network can be created between the ONU1 and the ONU2, and even if uplink and downlink service transmission cannot be performed between the ONU1 and the OLT1, the transmission of the ad hoc network service between the ONU1 and the ONU2 can be ensured. The time delay of transmitting the ad hoc network service between the ONU1 and the ONU2 is effectively reduced, and the timeliness of each ONU in the ad hoc network to obtain the ad hoc network service is ensured.
In the embodiment shown in fig. 17, the networking includes only OLT1, and ONU2 is the last ONU connected to OLT 1. In the embodiment shown in fig. 21, the ring network includes OLT1 and OLT2, and ONU1 is connected between ONU2 and OLT1, and ONU3 is connected between ONU2 and OLT 2. Fig. 21 is a diagram showing a third structural example of a ring network provided by the prior art. At least one ONU may also be connected between the ONU1 and the OLT1 shown in the present embodiment. At least one ONU may be further connected between the ONU3 and the OLT2, and the specific number of ONUs included in the ring network is not limited in this embodiment. In this embodiment, taking the created ad hoc network 2100 including ONU1, ONU2, and ONU3 as an example, the ad hoc network 2100 shown in this embodiment includes at least three ONUs connected in sequence, and the specific number of ONUs included in the ad hoc network 2100 is not limited.
The structure of the ONU2 shown in this embodiment may be shown in fig. 22, where fig. 22 is a fourth structural example diagram of the ONU2 provided in the embodiment of the present application. 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. Optical module 2202 includes a second TX and a second RX. The number of optical modules included in the ONU2 is not limited in this embodiment, for example, the first TX, the first RX, the second TX, and the second RX are different ports of the same optical module. As another example, ONU2 may include any number of more than two optical modules, with the first RX and the first TX being the transmit-receive port of one optical module included in ONU2 and the second RX and the second TX being the transmit-receive port of another optical module included in ONU 2.
The ONU2 shown in this embodiment further includes a switching device including a detector 2210 and a switching array 2230 connected to the detector 2210. Switch array 2230 includes a plurality of input ports and a plurality of output ports. Taking the example that the ONU2 includes two optical modules as an example, the switch array 2230 in this embodiment includes four input ports, namely, the first input port 2211, the second input port 2222, the third input port 2213 and the fourth input port 2224. 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 in this embodiment makes the first input port 2211 of the switch array 2230 conductive 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 and the fourth input port 2224 of the switch array, and the fourth input port 2224 is connected with the second processing port 2242 of the traffic processor 2240. While the first input port 2211 and the fourth output port 2214 are both connected to the optical module 2201. Likewise, detector 2210 causes second output port 2212 of switch array 2230 to be in communication with second input port 2222, and second input port 2222 is connected to third processing port 2243 of traffic processor 2240. The detector 2210 causes the third input port 2213 of the switch array 2230 to be in communication with the third output port 2223, and the third output port 2223 is connected to the fourth processing port 2244 of the traffic processor 2240. For the description of the detector 2210 and the service processor 2240 in this embodiment, please refer to fig. 18, which is not described in detail.
The ONU2 is based on the configuration shown in fig. 22, and the description is made with reference to the embodiment shown in fig. 23, in which a fault occurs between the OLT1 and the ONU1, so that no uplink and downlink traffic transmission can be performed between the OLT1 and the ONU 1. And under the condition that the fault occurs between the OLT2 and the ONU3 and the uplink and downlink service transmission cannot be carried out between the OLT2 and the ONU3, the process of creating the ad hoc network by the ONU1, the ONU2 and the ONU3 is described. Fig. 23 is a flowchart of a seventh step of the data transmission method according to the embodiment of the present application.
Step 2301, ONU2 detects that the first optical path has a fault event.
For a description of the execution process of step 2301 shown in this embodiment, please refer to step 1901 corresponding to fig. 19, which is not described in detail.
Step 2302, ONU2 detects that the second optical path has a fault event.
In this embodiment, the ONU3 is connected between the ONU2 and the OLT2, and the second optical path is the optical path between the second RX of the ONU2 and the OLT2.
As shown in fig. 24, if the second optical path fails, the downstream service from the OLT2 cannot be successfully transmitted to the ONU2. And the upstream traffic of ONU2 cannot be successfully transmitted to OLT2. In particular, a fault event of the second optical path may occur between OLT2 and ONU3 or between ONU3 and OLT2. If the OLT2 fails, at least one of the optical fiber connected between the OLT2 and the ONU3 fails or the ONU3 fails, which can cause a failure event on the second optical path.
The following describes how ONU2 determines that the second optical path has failed: the detector 2210 of the ONU2 may be connected to the optical module 2202, where the detector 2210 detects whether the second RX of the optical module 2202 can normally receive the optical signal, and if the detector 2210 exceeds a preset period of time, the event that the second RX cannot successfully receive the optical signal is continuously detected or the optical power of the continuously detected optical signal is smaller than a preset threshold, it is determined that a fault event occurs on the second optical path between the second RX of the ONU2 and the OLT 2. As another example, the detector 2210 is connected to a line between the optical module 2202 and the third input port 2213, the detector 2210 obtains an electrical signal output by the optical module 2202 based on the line, and the detector 2210 detects whether the electrical signal includes a continuous valid frame header, and if not, determines that the second optical path has a fault event. As another example, the detector 2210 detects that the bit error rate of the electrical signal exceeds a preset threshold. The embodiment does not limit how the detector 2210 determines the fault event of the second optical path, as long as the successful transmission of the uplink and downlink traffic cannot be successfully performed between the OLT2 and the ONU2 under the condition that the fault event of the second optical path occurs.
Step 2303, the detector of ONU2 switches the switch array from the third conduction mode to the fourth conduction mode.
Specifically, when the ONU2 detects that the first optical path and the second optical path have fault events, the detector of the ONU2 switches the switch array from the third conduction mode to the fourth conduction mode, so that the ONU2 can perform ad hoc network with the ONU1 and the ONU2 when the switch array of the ONU2 is in the fourth conduction mode, so that the ad hoc network service can be transmitted between multiple ONUs that are successful in the ad hoc network.
In the case where the switch array 2230 is in the third conduction mode, the first input port 2211 of the switch array 2230 is made conductive 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 fourth output port 2214 and the fourth input port 2224 of the switch array are turned on, 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 in communication with the optical module 2201. The second output port 2212 of the switch array 2230 is in communication with the second input port 2222, and the second input port 2222 is connected to the third processing port 2243 of the traffic processor 2240. The third input port 2213 of the switch array 2230 is in communication with the third output port 2223, and the third output port 2223 is connected to the fourth processing port 2244 of the traffic processor 2240.
For a description of the fourth conduction mode, please refer to fig. 24, wherein fig. 24 is a fifth exemplary configuration diagram of the ONU2 according to the embodiment of the present application. In the case where the switch array 2230 is in the fourth conduction mode, the first interworking port 2251 of the switch array 2230 is in conduction with the interworking processing module 2250 and the first input port 2211, respectively. A second interworking port 2252 of the switch array 2230 is in communication with the interworking processing module 2250 and the fourth output port 2214, respectively. A third interworking port 2253 of the switch array 2230 is in communication with the interworking processing module 2250 and the second output port 2212, respectively. The fourth interworking port 2254 of the switch array 2230 is in communication with the third input port 2213 and the interworking processing module 2250, respectively.
In the event that the detector 2210 of ONU2 detects the first optical path and the second optical path, respectively, and a fault event occurs, the detector switches the switch array 2230 from the third conduction mode to the fourth conduction mode.
Step 2304, ONU2 transmits the first probing data stream over the first TX.
Step 2305, ONU2 receives the second probing data stream through the first RX.
Step 2306, ONU2 receives the first ad hoc network data stream through the first RX.
For the description of the execution process of the steps 2303 to 2305 shown in the embodiment, please refer to the steps 1903 to 1905 corresponding to fig. 19, and the detailed description of the execution process is omitted.
Step 2307, ONU2 transmits the third probing data stream over the second TX.
Step 2308, ONU2 receives the fourth probing data stream through the second RX.
In the case where ONU2 determines that the third probe data stream has been transmitted and the fourth probe 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, ONU2, and ONU3 capable of performing ad hoc network traffic transmission can successfully create an ad hoc network. The number of ONUs included in the ad hoc network is not limited in this embodiment.
In step 2309, the ONU2 obtains a third ad hoc network data stream according to the first ad hoc network data stream.
The interworking processing module of the ONU2 obtains a third ad hoc network data stream according to the first ad hoc network data stream in several optional ways: referring to fig. 24, after receiving the first ad hoc network data stream, the first RX of the ONU2 sequentially transmits the first ad hoc network data stream to the interworking processing module 2250 via the optical module 2201, the first input port 2211 and the first interworking port 2251. The interworking processing module 2250 is configured to obtain a third ad hoc network data stream according to the first ad hoc network data stream.
Mode 1
In this alternative manner, if the ONU2 has an ad hoc network service that needs to be sent to the ONU3, then the ONU2 carries the ad hoc network service to be sent to the ONU3 by the ONU2 on the ad hoc network time slot of the first ad hoc network data stream according to the indication of the ad hoc network time slot scheduling message, and obtains the third ad hoc network data stream. For an illustration of the ad hoc network time slot scheduling message, please refer to fig. 19, which is not described in detail.
Mode 2
In order to avoid collision between different ad hoc network services, the ad hoc network time slots allocated by the ad hoc network time slot scheduling messages for different ONUs are not overlapped. However, ONU2 does not necessarily have to transmit the ad hoc network service to ONU 3. For example, if ONU2 does not need the ad hoc network service sent to ONU3, but the ad hoc network time slot scheduling message has already been allocated for ONU2, so that when other ONUs (for example, ONU 1) need to send the ad hoc network service to ONU3, the ad hoc network time slot allocated for ONU2 by the ad hoc network time slot scheduling message cannot be occupied, which causes a waste of the ad hoc network data stream bandwidth. For this reason, in this implementation, ONU2 does not need to send the ad hoc service to ONU3 according to the ad hoc time slot scheduling message. And the ONU2 replaces the filling information included in the first Ad hoc network data stream with Ad hoc network service which the ONU2 needs to send to the ONU3, and the third Ad hoc network data stream is obtained.
Mode 3
The first ad hoc network data stream received by ONU2 already carries the second ad hoc network traffic sent to ONU 2. And the ONU2 extracts a second ad hoc network service sent to the ONU2 from a second ad hoc network time slot of the first ad hoc network data stream, and loads filling information on the second ad hoc network time slot to obtain a third ad hoc network data stream. Specifically, the ONU1 carries the second ad hoc network service through a plurality of ad hoc network data frames included in the first ad hoc network data stream, and for a description of the ad hoc network data frames, please refer to a description of the interworking data frames shown in fig. 8c, which is not repeated. And obtaining an ad hoc network data frame used for bearing the second ad hoc network service from a plurality of ad hoc network data frames included in the first ad hoc network data stream. The ad hoc network data frame carries the address of the ONU2 or the identifier of the ONU 2. The ONU2 obtains the second ad hoc network service from the ad hoc network data frame.
Mode 4
In option 3, ONU2 extracts the second ad hoc network traffic sent to ONU2 from the first ad hoc network data stream based on the address or identification of ONU 2. In this alternative, since the ad hoc network includes ONU, ONU2, and ONU3, ONU1 may also send the ad hoc service to ONU3 through the first ad hoc network data stream. Specifically, the ONU2 receives a second ad hoc network service carried in the first ad hoc network data stream. ONU2 extracts the second ad hoc network traffic from the first ad hoc network data stream. In this alternative, when the ONU2 detects the second ad hoc network service carried in the first ad hoc network data stream, the ONU2 directly extracts the second ad hoc network service from the first ad hoc network data stream. ONU2 determines whether the second ad hoc network service needs to be sent to downstream ONU3, for example, if ONU2 determines that the second ad hoc network service already carries the address or the identifier of ONU 3. For another example, the second ad hoc network service is sent to each ONU in the ad hoc network for ONU 1. The ONU1 re-carries the second ad hoc network service in the first ad hoc network data stream to obtain a third ad hoc network data stream.
Alternative 5
The ONU1 shown in this example needs to carry the ad hoc network traffic sent to the ONU3 in the first ad hoc network data stream, and needs to extract the ad hoc network traffic from the first ad hoc network data stream to obtain the third ad hoc network data stream. In this case, ONU2 carries, in the first ad hoc data stream, the process of the ad hoc service sent to ONU3, as shown in alternative mode 1 or 2. The process of the 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 alternative 3 or 4, which are not described in detail.
Alternative 6
ONU2 does not need to send the ad hoc network service to the downstream ONU, and the first ad hoc network data stream does not carry the identifier or address of ONU2 (that is, the first ad hoc network data stream does not carry the ad hoc network service sent to ONU 2), and then the service processor 2240 of ONU2 directly transmits the first ad hoc network data stream 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 the ONU3 through the second TX.
Step 2310, ONU2 sends the third ad hoc network data stream over the second TX.
The second TX of ONU2 shown in this embodiment sends the third ad hoc network data stream to ONU 3.
Step 2311, ONU2 receives the fourth ad-hoc network data stream through the second RX.
The second RX of the ONU2 shown in the embodiment receives the fourth ad hoc network data stream from the ONU3, and for the description of the fourth ad hoc network data stream, please refer to the description of the first ad hoc network data stream shown in step 2308, which is not described in detail.
Step 2312, ONU2 obtains a second ad hoc network data stream according to the fourth ad hoc network data stream.
For the execution of step 2311 in this embodiment, please refer to the process of the ONU2 in step 2309 for obtaining the third ad hoc network data stream according to the first ad hoc network data stream, which is not described in detail.
Step 2313, ONU2 sends the second ad hoc network data stream over the first TX.
In the execution of step 2312 shown in this embodiment, please refer to step 1907 corresponding to fig. 19, which is not described in detail.
By adopting the method shown in the embodiment, an ad hoc network can be created between a plurality of ONUs (for example, ONU1, ONU2 and ONU3 shown in the embodiment), and even if uplink and downlink service transmission cannot be performed between ONU1 and OLT1, and uplink and downlink service transmission cannot be performed between ONU3 and OLT2, the transmission of ad hoc network service between any two ONUs can be ensured in the ad hoc network. The time delay of transmitting the ad hoc network service is effectively reduced, and the timeliness of each ONU in the ad hoc network to acquire the ad hoc network service is ensured.
The embodiment of the application also provides a communication device, and the structure of the communication device is shown in fig. 25, where fig. 25 is a structural example diagram of the communication device provided in the embodiment of the application. The communication device 2500 shown in this embodiment includes a transceiver 2501 and a processor 2502, wherein the transceiver 2501 and the processor 2502 are connected. The communication device shown in this embodiment may be an OLT, which includes a transceiver 2501 for performing the transmission-related flow performed by the OLT in the embodiments shown in fig. 3, 10b, 11a, 14, 19, and 23. The OLT includes a processor 2302 for executing processes related to the processes performed by the OLT in the embodiments shown in fig. 3, 10b, 11a, 14, 19 and 23.
The communication device shown in this embodiment may be any ONU included in the ring network. The ONU includes a transceiver 2501 for performing a flow related to the transceiving performed by the ONU in the embodiments shown in fig. 3, 10b, 11a, 14, 19 and 23. The ONU includes a processor 2502 for executing a process-related flow executed by the ONU in the embodiments shown in fig. 3, 10b, 11a, 14, 19, and 23.
Specifically, the ONU shown in this embodiment may be specifically shown in fig. 18, fig. 20, fig. 22, or fig. 24. More specifically, the transceiver 2501 of the communication device 2500 may include an optical module as shown in fig. 18 and 20. Alternatively, the transceiver 2501 of the communication device 2500 may include two optical modules as shown in fig. 22 and 24, and the number of the optical modules included in the communication device 2500 is not limited in this embodiment. In the case where the communication device 2500 includes two or more optical modules, networking with a complex structure can be implemented, and the specific networking type is not limited in this embodiment. For example, as shown in fig. 26, a communication device including three optical modules can form a dual ring network, where fig. 26 is a structural example diagram of the dual ring network provided in the embodiment of the present application.
The dual ring network 2600 includes an OLT1 and an ONU1 connected to the OLT1, wherein a service processor 2602 of the ONU1 is connected to the optical module 2601, the optical module 2603, and the optical module 2604, respectively. The optical module 2601 is connected to the OLT1, the optical module 2603 is connected to the ONU2, and the optical module 2601 is connected to the ONU3, and for a description of each optical module and the service processor included in the ONU1, please refer to the description of the optical module corresponding to fig. 18, 20, 22 or 24, which is not described in detail. The dual ring network 2600 further comprises an ONU4 connected to the OLT2, the ONU4 comprising a service processor 2614, the service processor 2614 being connected to the optical module 2611, the optical module 2612 and the optical module 2613, respectively. The optical module 2611 is connected to ONU 2. The optical module 2612 is connected to ONU 3. The optical module 2613 is connected to the OLT2, and for the explanation of each optical module and the service processor included in the ONU4, please refer to the explanation of the optical module corresponding to fig. 18, 20, 22 or 24, which is not described in detail. It should be clear that, in this embodiment, the communication device includes three optical modules to form a dual ring network, and the specific type of the network is not limited in this embodiment. It can be understood that the flexible networking with any shape can be realized, the difficulty of adding communication nodes after networking is reduced, and the subsequent expandability of networking is improved.
The communication device in this embodiment may further include a detector and a switch array as shown in fig. 18, 20, 22 or 24, and the detailed description is omitted herein with reference to the corresponding description of fig. 18, 20, 22 or 24.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (39)

1. A method of data transmission, the method comprising:
the method comprises the steps that a first communication node obtains a first service data stream, wherein the first service data stream is used for transmitting services between central office equipment and a second communication node;
the first communication node obtains a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams.
2. The method of claim 1, wherein the first traffic data stream and the first interworking data stream are two data streams transmitted in the same direction, and wherein the method further comprises, after the first communication node obtains the first interworking data stream:
the first communication node combines the first service data stream and the first interworking data stream into a first transport data stream;
the first communication node transmits the first transport data stream.
3. The method according to claim 1 or 2, wherein the first communication node obtaining a first interworking data flow comprises:
the first communication node obtains a second intercommunication data stream, wherein the second intercommunication data stream is a continuous data stream, and the second intercommunication data stream comprises intercommunication service and/or filling information;
the first communication node obtains the first intercommunication data stream according to the second intercommunication data stream.
4. A method according to claim 3, wherein the third communication node is a downstream communication node of the first communication node, the interworking service comprising a first interworking service sent by the first communication node to the third communication node, the first communication node obtaining the first interworking data stream from the second interworking data stream comprising:
The first communication node carries the first intercommunication service on the second intercommunication data stream to obtain the first intercommunication data stream.
5. The method of claim 4, wherein the first communication node carries the first interworking service on the second interworking data stream, and wherein obtaining the first interworking data stream comprises:
the first communication node carries the first intercommunication service on a first intercommunication time slot of the second intercommunication data stream according to an intercommunication time slot scheduling message to obtain the first intercommunication data stream, wherein the intercommunication time slot scheduling message is used for indicating the first intercommunication time slot.
6. The method of claim 4, wherein the first communication node carries the first interworking service on the second interworking data stream, and wherein obtaining the first interworking data stream comprises:
and the first communication node replaces partial filling information included in the second intercommunication data stream with the first intercommunication service to obtain the first intercommunication data stream.
7. A method according to claim 3, wherein the third communication node is an upstream communication node of the first communication node, the interworking service comprising a second interworking service sent by the third communication node to the first communication node, the first communication node obtaining the first interworking data stream from the second interworking data stream comprising:
The first communication node extracts the second intercommunication service from a second intercommunication time slot of the second intercommunication data stream;
and if the first communication node determines that the second intercommunication service is only the intercommunication service processed by the first communication node, loading filling information on the second intercommunication time slot to obtain the first intercommunication data stream.
8. A method according to claim 3, wherein the third communication node is an upstream communication node of the first communication node, the interworking service comprising a third interworking service sent by the third communication node to the first communication node, the first communication node obtaining the first interworking data stream from the second interworking data stream comprising:
the first communication node extracts the third intercommunication service from the second intercommunication data stream;
and if the first communication node determines that the third intercommunication service needs to be sent to a downstream communication node, the first communication node carries the third intercommunication service on the second intercommunication data stream to obtain the first intercommunication data stream.
9. The method of claim 2, wherein the first communication node combining the first traffic data stream and the first interworking data stream into a first transport data stream comprises:
The first communication node multiplexes the first service data stream and the first interworking data stream to obtain the first transport data stream.
10. The method of claim 9, wherein the first transport data stream has a rate equal to a sum of the first traffic data stream rate and the first interworking data stream rate.
11. The method according to claim 9 or 10, wherein the first communication node multiplexing the first traffic data stream and the first interworking data stream, obtaining the first transport data stream comprises:
the first communication node multiplexes the first service data stream and the first interworking data stream into the first transmission data stream by means of bit interleaving, wherein the first transmission data stream includes at least one bit packet, and each bit packet includes at least a portion of bits in the first service data stream and at least a portion of bits in the first interworking data stream.
12. The method of claim 2, wherein the first communication node combining the first traffic data stream and the first interworking data stream into a first transport data stream comprises:
And the first communication node remodulates the first intercommunication data stream on the first service data stream in a top-adjusting mode to obtain the first transmission data stream.
13. The method according to any of claims 3 to 6, wherein before the first communication node obtains the first interworking data flow, the method further comprises:
the first communication node generates the second intercommunication data stream, wherein the second intercommunication data stream is a continuous data stream, and the second intercommunication data stream comprises intercommunication service and/or filling information.
14. The method according to any of claims 1 to 13, wherein the first traffic data stream comprises downlink traffic sent by the central office equipment to the first communication node, and wherein the first communication node obtaining the first traffic data stream comprises:
the first communication node obtains a second service data stream;
the first communication node obtains the downlink service carried by the second service data flow;
the first communication node replicates the second service data stream to obtain the first service data stream.
15. The method of claim 14, wherein the first communication node obtaining the second traffic data stream comprises:
The first communication node receives a second transmission data stream, wherein the second transmission data stream is combined with the second service data stream and a second intercommunication data stream, and the second intercommunication data stream is used for obtaining the first intercommunication data stream;
the first communication node obtains the second service data stream and the second intercommunication data stream according to the second transmission data stream.
16. The method according to any of claims 1 to 13, wherein the first traffic data stream comprises upstream traffic sent by the first communication node to a central office device, and wherein the first communication node obtaining the first traffic data stream comprises:
the first communication node obtains a third service data stream;
and the first communication node carries the uplink service on a first service time slot of the third service data stream to obtain the first service data stream.
17. The method of claim 16, wherein the first communication node obtaining a third traffic data stream comprises:
the first communication node receives a second transmission data stream, wherein the second transmission data stream is combined with the third service data stream and a second intercommunication data stream, and the second intercommunication data stream is used for obtaining the first intercommunication data stream;
The first communication node obtains the third service data stream and the second intercommunication data stream according to the second transmission data stream.
18. The method according to any one of claims 1 to 13, wherein the first traffic data stream comprises a first sub-traffic and a second sub-traffic, the first sub-traffic being a downstream traffic sent by a first central office device to the first communication node, the second sub-traffic being an upstream traffic sent by the first communication node to a second central office device, the first communication node obtaining the first traffic data stream comprising:
the first communication node obtains a fourth service data stream;
the first communication node obtains the first sub-service carried by the fourth service data flow;
the first communication node replicates the fourth service data stream to obtain a first sub-service data stream;
the first communication node obtains a fifth service data stream;
the first communication node bears the second sub-service on a second service time slot of the fifth service data stream 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 stream.
19. The method according to any one of claims 1 to 17, wherein the method is applied to an optical communication system comprising the central office equipment and a plurality of communication nodes connected in turn to the central office equipment; the first communication node and the third communication node are different two communication nodes in the plurality of communication nodes;
the first communication node and the second communication node are the same communication node in the plurality of communication nodes, or the first communication node and the second communication node are different two communication nodes in the plurality of communication nodes.
20. The method of claim 18, wherein the method is applied to an optical communication system further comprising the first central office equipment and the second central office equipment, the optical communication system further comprising 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 different two communication nodes in the plurality of communication nodes;
the first communication node and the second communication node are the same communication node in the plurality of communication nodes, or the first communication node and the second communication node are different two communication nodes in the plurality of communication nodes.
21. A method of data transmission, the method comprising:
the method comprises the steps that a central office device generates a service data stream, wherein the service data stream is used for transmitting services between the central office device and a communication node;
the central office equipment generates an intercommunication data stream, wherein the intercommunication data stream is used for transmitting intercommunication service between one communication node and another communication node, and the service data stream and the intercommunication data stream are two paths of data streams transmitted along the same direction;
the central office equipment combines the service data stream and the intercommunication data stream into a transmission data stream;
the central office equipment transmits the transport data stream.
22. The method of claim 21, wherein the central office apparatus combining the traffic data stream and the interworking data stream into a transport data stream comprises:
and the central office equipment multiplexes the service data stream and the intercommunication data stream to obtain the transmission data stream.
23. The method of claim 21, wherein the central office apparatus combining the traffic data stream and the interworking data stream into a transport data stream comprises:
and the central office equipment remodulates the intercommunication data stream on the service data stream in a top-regulating mode to obtain the second transmission data stream.
24. A data transmission method, characterized in that the method is applied to a first communication node comprising at least one receiving port RX and at least one transmitting port TX, the method comprising:
the first communication node receives a first ad hoc network data stream from a second communication node through a first RX, the first RX being one of the at least one RX and the first RX being connected to the second communication node;
the first communication node sends a second ad hoc network data stream to the second communication node through a first TX, wherein the first TX is one of the at least one TX, the first TX is connected with the second communication node, the first ad hoc network data stream and the second ad hoc network data stream are used for transmitting an ad hoc network service, and the ad hoc network service is a service between the first communication node and the second communication node.
25. The method of claim 24, wherein the first ad hoc network data stream and the second ad hoc network data stream are each a continuous data stream, the first ad hoc network data stream comprising the ad hoc network traffic and/or the padding information, and the second ad hoc network data stream comprising the ad hoc network traffic and/or the padding information.
26. The method according to claim 24 or 25, wherein the ad hoc network traffic comprises first ad hoc network traffic transmitted by the first communication node to the second communication node, the method further comprising, before the first communication node transmits a second ad hoc network data stream to the second communication node via a first TX:
the first communication node carries the first ad hoc network service on the second ad hoc network data stream.
27. The method of claim 26, wherein the first communication node carrying the first ad hoc traffic on the second ad hoc data stream comprises:
the first communication node carries the first ad hoc network service on a first ad hoc network time slot of the second ad hoc network data stream according to an ad hoc network time slot scheduling message, wherein the ad hoc network time slot scheduling message is used for indicating the first ad hoc network time slot.
28. The method of claim 26, wherein the first communication node carrying the first ad hoc traffic on the second ad hoc data stream comprises:
the first communication node replaces the partial filling information included in the second ad hoc network data stream with the first ad hoc network service.
29. The method according to any of claims 24 to 28, wherein the ad hoc network traffic comprises second ad hoc network traffic transmitted by the second communication node to the first communication node, and wherein 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 comprises:
the first communication node extracts the second ad hoc network service from a second ad hoc network time slot of the first ad hoc network data stream.
30. The method according to any of claims 24 to 29, wherein the at least one RX further comprises a second RX, the at least one TX further comprising a second TX, the second RX and the second TX being connected to a third communication node, the first communication node receiving a first ad hoc data stream from the second communication node via the first RX, the method further comprising:
the first communication node obtains a third ad hoc network data stream according to the first 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;
before the first communication node sends the second ad hoc network data stream to the second communication node through the first TX, the method further includes:
The first communication node receives a 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 for transmitting ad hoc network service between the first communication node and the third communication node.
31. The method according to any of claims 24 to 29, wherein said first communication node has and only said first RX is for communicating with a central office device; the second communication node is connected between the central office device and the first communication node, 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 first communication node detects that a fault event occurs between the first RX and the central office equipment;
the first communication node transmitting a first probing data stream to the second communication node via the first TX;
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 being used to create a transmission of ad hoc traffic between the first communication node and the second communication node.
32. The method of claim 30, wherein the first RX is connected to a first central office device, the second communication node is connected between the first central office device and the first communication node, the second RX is connected to a second central office device, the third communication node is connected between the second central office device and the first communication node, and the first communication node receives a first ad hoc data stream from the second communication node via the first RX, the method further comprising:
the first communication node detecting a fault event between the first RX and the first central office device;
the first communication node detects that a fault event occurs between the second RX and the second central office equipment;
the first communication node transmitting a first probing data stream to the second communication node via the first TX;
the first communication node receives a second detection data stream from the second communication node through the first RX, wherein the first detection data stream and the second detection data stream are used for creating the transmission of the self-networking service between the first communication node and the second communication node;
The first communication node sends a third probing data stream to the third communication node through a second TX;
the first communication node receives a fourth probing data stream from the third communication node via the second RX, the third probing data stream and the fourth probing data stream being used to create a transmission of ad hoc traffic between the first communication node and the third communication node.
33. The method according to any one of claims 24 to 32, wherein the first communication node further comprises a switch array, the switch array being connected to the first RX and the first TX, the switch array further being connected to an interworking processing module, the method further comprising, prior to the first communication node receiving the first ad hoc data stream from the second communication node via the first RX:
the switch array switches the first RX to be connected with the interworking processing module and is used for receiving a receiving port of the first Ad hoc network data stream;
the switch array switches the first TX to be connected with the intercommunication processing module and is used for sending a sending port of the second ad hoc network data stream, and the intercommunication processing module is used for realizing the transmission of the ad hoc network service according to the first ad hoc network data stream and the second ad hoc network data stream, wherein the ad hoc network service is the service between the first communication node and the second communication node.
34. A communication node comprising a transceiver and a service processor, the transceiver and the service processor being connected;
the service processor is configured to obtain a first service data flow, where the first service data flow is used for transmission of a service between the central office device and the second communication node;
the service processor is further configured to obtain a first interworking data flow, where the first interworking data flow is used for transmission of an interworking service between the transceiver and the third communication node, and the first service data flow and the first interworking data flow are two different data flows.
35. A central office apparatus, wherein the central office apparatus comprises a transceiver and a service processor, the transceiver and the service processor being connected;
the service processor is configured to generate a service data stream, where the service data stream is used for transmission of a service between the central office device and a communication node;
the service processor is further configured to generate an interworking data flow, where the interworking data flow is used for transmission of an interworking service between one communication node and another communication node, and the first service data flow and the first interworking data flow are two data flows that are transmitted along the same direction;
The service processor is further configured to combine the service data stream and the interworking data stream into a transport data stream;
the transceiver is configured to transmit the transport data stream.
36. A communication node, characterized in that it comprises at least one receiving port RX and at least one transmitting port TX:
a first RX for receiving a first ad hoc network data stream from another communication node, the first RX being one of the at least one RX and the first RX being connected to the other communication node;
the first TX is configured to send a second ad hoc network data stream to the other communication node, where the first TX is one of the at least one TX, and the first TX is connected to the other communication node, and the first ad hoc network data stream and the second ad hoc network data stream are used for transmission of an ad hoc network service, and the ad hoc network service is a service between the communication node and the other communication node.
37. An optical communication system, wherein the optical communication system comprises a central office device and a plurality of communication nodes connected with the central office device in sequence;
the first communication node is used for obtaining a first service data stream, and the first service data stream is used for transmitting services between the central office equipment and the second communication node;
The first communication node is used for obtaining a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams;
the first communication node and the third communication node are different two communication nodes of the plurality of communication nodes.
38. An optical communication system, wherein the optical communication system comprises a first central office device and a second central office device, and further comprises a plurality of communication nodes sequentially connected between the first central office device and the second central office device;
the first communication node is used for obtaining a first service data stream, wherein the first service data stream is used for transmitting services between the first central office equipment and the second communication node, and the first service data stream is also used for transmitting services between the second central office equipment and the second communication node;
the first communication node is used for obtaining a first intercommunication data stream, the first intercommunication data stream is used for transmission of intercommunication service between the first communication node and a third communication node, and the first service data stream and the first intercommunication data stream are two paths of different data streams;
The first communication node and the third communication node are different two communication nodes of the plurality of communication nodes.
39. An optical communication system, comprising a first communication node and a second communication node, the first communication node comprising 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, the first RX being one of the at least one RX and the first RX being 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, and the first TX is connected to the second communication node, and the first ad hoc network data stream and the second ad hoc network data stream are used for transmission of an ad hoc network service, and the ad hoc network service is a service between the first communication node and the second communication node.
CN202211056284.7A 2022-08-31 2022-08-31 Data transmission method, related equipment and system Pending CN117676391A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211056284.7A CN117676391A (en) 2022-08-31 2022-08-31 Data transmission method, related equipment and system
PCT/CN2023/102519 WO2024045813A1 (en) 2022-08-31 2023-06-26 Data transmission method, related device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211056284.7A CN117676391A (en) 2022-08-31 2022-08-31 Data transmission method, related equipment and system

Publications (1)

Publication Number Publication Date
CN117676391A true CN117676391A (en) 2024-03-08

Family

ID=90072039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211056284.7A Pending CN117676391A (en) 2022-08-31 2022-08-31 Data transmission method, related equipment and system

Country Status (2)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729942B (en) * 2009-11-26 2012-11-07 上海大学 System and method for using wavelength division multiplex passive optical network to realize ring local area network
CN105307057B (en) * 2014-06-06 2019-08-27 上海诺基亚贝尔股份有限公司 The device of ONU interior communication is supported in a kind of PON system
JP6457914B2 (en) * 2015-10-16 2019-01-23 日本電信電話株式会社 Optical transmission device, optical concentrator network system, operation control method, and program
CN114374898B (en) * 2021-12-27 2023-07-28 暨南大学 Passive optical network architecture and inter-ONU communication method based on same

Also Published As

Publication number Publication date
WO2024045813A1 (en) 2024-03-07

Similar Documents

Publication Publication Date Title
US7949255B2 (en) System, device and method for transporting signals through passive optical network
JP5097641B2 (en) Passive optical network system, optical multiple termination device, and optical network termination device
US8509617B2 (en) Node, data processing system, and data processing method
EP2141834B1 (en) Optical communication base station, optical signal converting apparatus and optical signal converting method
US8126335B2 (en) Methods and apparatus for next generation access passive optical networks
JP5490517B2 (en) Optical communication system, optical communication method, and OLT
JP2009246586A (en) Passive optical network system and its operation method
US20080298806A1 (en) Interleaving for 10G GPON
KR20170003649A (en) Wavelength switching method, device and system
US9819437B2 (en) Rogue optical network unit mitigation in passive optical networks
CN112672236A (en) Service signal processing method and device
JP2010028696A (en) Optical access system, optical switching unit, and optical line device
CN111049865A (en) Link establishment method, device and system
WO2021218181A1 (en) Onu, olt, optical communication system, and data transmission method
US20220360356A1 (en) Optical Line Terminal, Optical Network Unit, and Optical Communications System
JP2007074256A (en) Multiple llid processing device
US20230403485A1 (en) Optical communication apparatus, optical communication system and optical communication method
WO2024045813A1 (en) Data transmission method, related device, and system
WO2012071828A1 (en) Method and system for transmitting data based on full protection mode in passive optical network
WO2024045812A1 (en) Data transmission method, related equipment, and optical communication system
US20100124420A1 (en) Communication device and communication method
Gutierrez et al. Next generation optical access networks
JP6178264B2 (en) Wavelength monitoring method, wavelength monitoring system, and parent node
US20240015422A1 (en) Optical communication apparatus, optical communication system and optical communication method
CN117676394A (en) Data transmission method, related equipment and optical communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication