WO2019109252A1 - Method for transmitting and receiving data in pon system, network device, and system - Google Patents

Method for transmitting and receiving data in pon system, network device, and system Download PDF

Info

Publication number
WO2019109252A1
WO2019109252A1 PCT/CN2017/114634 CN2017114634W WO2019109252A1 WO 2019109252 A1 WO2019109252 A1 WO 2019109252A1 CN 2017114634 W CN2017114634 W CN 2017114634W WO 2019109252 A1 WO2019109252 A1 WO 2019109252A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network device
frame
indication information
data frame
Prior art date
Application number
PCT/CN2017/114634
Other languages
French (fr)
Chinese (zh)
Inventor
郑刚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/114634 priority Critical patent/WO2019109252A1/en
Priority to CN201780096419.3A priority patent/CN111316575B/en
Publication of WO2019109252A1 publication Critical patent/WO2019109252A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission

Definitions

  • the present invention relates to the field of optical communication technologies, and in particular, to a data transmission and reception method, a network device, and a system in a PON system.
  • Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology.
  • the PON system may include an optical line terminal (OLT), an optical distribution network (ODN), and at least one optical network unit (ONU).
  • OLT is connected to the ODN, and the ODN is connected to multiple ONUs. .
  • the protection mechanism used in order to enable reliable communication between the OLT and the ONU, generally includes a Type B protection mechanism and a Type C protection mechanism.
  • the Type B protection mechanism sets the primary and backup optical fibers between the OLT and the ODN.
  • the two PON ports in the OLT support the protection switching between the boards or the boards, or between the two PON ports of different OLTs. Protection switching, the conditions for triggering protection switching are generally faults in the main fiber or PON board failure.
  • the Type C protection mechanism sets the trunk fiber and the branch fiber between the OLT and each ONU. When the trunk fiber fails or the branch fiber fails or the PON board fails, the protection switchover is performed.
  • the prior art generally performs switching when the fiber is faulty or the PON board is faulty.
  • the trunk fiber or the PON board does not fail, but the data transmitted by the channel where the backbone fiber is located has a small amount of error packets, the protection switching is not performed, so the transmitted data is less accurate, for example, may cause The screen of the broadcast video service even caused a black screen.
  • Embodiments of the present invention provide a data transmission and reception method, a network device, and a PON system in a PON system, which are intended to improve the reliability of data transmission in a PON system.
  • the first aspect provides a data sending method in a PON system, where the OLT can send data to the ONU, or the ONU can send data to the OLT, and the data sender in the OLT and the ONU is called a source network device, and the data is received.
  • the method is called a target network device, and the method includes: the source network device generates N data frames carrying the same data in the PON framing layer, N is greater than or equal to 2, and then sends the generated N to the same target network device through N channels. Data frames, one for each channel. Therefore, for the same data, it will be transmitted through N channels, which effectively improves the reliability of data transmission.
  • the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
  • a PON framing layer is an RS layer
  • a data frame is an Ethernet frame
  • the first indication information may be included in the data frame. If the data carried by the data frame is the same, the first indication information included is the same. If the data carried by the data is different, the first indication information included is different.
  • Target network The network device can quickly identify N data frames carrying the same data according to the first indication information.
  • the first indication information can be located in the frame header of the data frame and can be identified more quickly.
  • a reserved field is included, and the reserved field may include the foregoing first indication information.
  • a length/type indication field and a service information field may be added, the length/type indication field is used to indicate the type and/or length of the service information field, and the service information field includes the foregoing first indication information.
  • the data frame may further include second indication information, and the second indication information indicates an N value.
  • the target network device can determine the number of data frames carrying the same data according to the value of N. After monitoring the data frames carrying the same data, the data frame carrying the data can be stopped, and the operation efficiency is improved, and the operation is not wasted. Resources.
  • the above reserved field may include the foregoing second indication information.
  • the foregoing service information field may further include the foregoing second indication information.
  • the third indication information may also be included in the data frame.
  • the OLT generally sends a continuous broadcast data stream to the ONU, and the ONU needs to divide the broadcast data stream, and each divided data generates corresponding data frames, and each data frame carries the data frame. Data.
  • the order of each data frame sent by the source network device in the same channel is the same as the data carried by each data frame in the data stream. However, due to the link problem or the loss of part of the data frame, the order of each data frame to reach the target network device may change, so it is necessary to indicate the location of each data frame.
  • the third indication information is used to indicate the location of each data frame, so that after receiving the data frame, the ONU can restore the data stream according to the third indication information.
  • the value of the third indication information may be sequentially incremented or decremented in the order of the data stream.
  • the above reserved field may include the foregoing third indication information.
  • the foregoing service information field may further include the foregoing third indication information.
  • the first indication information and the third indication information may be combined into one field.
  • the first indication information may be multiplexed into the third indication information.
  • the reserved field may be 18 bytes.
  • the first 8 bytes may be used as the second indication information
  • the last 10 bytes may be used as the first indication information.
  • the last 10 bytes can also be multiplexed into the third indication information at the same time.
  • Wavelengths can be used to distinguish different channels. Different channels have different wavelengths, which can save fiber links and effectively utilize spectrum resources.
  • the second aspect provides a data receiving method in a PON system, where the OLT receives the data sent by the ONU, and the ONU receives the data sent by the OLT, and the data sender in the OLT and the ONU is called the source network device.
  • the data receiver is called a target network device, and the method includes: the target network device monitors a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or equal to 2, and the target network device selects N channels. A data frame transmitted by one of the channels and forwards the selected data frame. Therefore, for the same data, the source network device sends through N channels. If some of the channels fail to transmit or the transmission error occurs, the target network device can still select the data frame in the successfully transmitted or correct channel, which effectively improves the data transmission. reliability.
  • the target network device may select the data frame according to the reception order and the frame signal quality of each data frame carrying the same data transmitted on the N channels.
  • the data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
  • each of the target network devices receives the same data transmitted on the N channels. Timing begins when the first of the data frames is in the data frame. When the timing duration reaches the preset duration, the data frame with the highest frame signal quality is selected in the received first data frame and the data frame carrying the same data as the first data frame. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels; if the received frame signal of the first data frame If the quality is greater than or equal to the preset value, the first data frame received is selected; if the received frame data quality of the first data frame is less than the preset value, the data carried by the first data frame is continuously received.
  • the data frame is selected or the time duration reaches a preset duration; wherein, if the time duration reaches the preset duration, the received time If the frame signal quality of each data frame that carries the same data is less than a preset value, the data frame with the highest frame signal quality in each received data frame is selected or requested to be retransmitted by the source network device. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • the target network device determines the location of each selected data frame in the data stream according to the third indication information, and forwards each data frame in order according to the position of each data frame in the data stream.
  • a network device in a third aspect, is provided, and the network device may be an OLT or an ONU.
  • the network device is a device that is a sender when the OLT and the ONU transmit data.
  • the network device includes a processor and a transceiver, and the processor is configured to generate, in the PON framing layer, N data frames carrying the same data, where N is greater than or equal to 2, and the transceiver is configured to send the generated data to the same target network device through the N channels.
  • N data frames one for each channel. Therefore, for the same data, it will be transmitted through N channels, which effectively improves the reliability of data transmission.
  • the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
  • a PON framing layer is an RS layer
  • a data frame is an Ethernet frame
  • the transceiver is further configured to receive the data stream;
  • the processor is further configured to sequentially divide the data stream into a plurality of pieces of data in order;
  • the processor is specifically configured to generate, according to each of the divided data, N data frames, where each of the N data frames corresponding to each data carries the corresponding data frame. data.
  • a network device may be an OLT or an ONU.
  • the network device is a device that is a receiver when the OLT and the ONU transmit data.
  • the network device includes a processor and a transceiver, and the processor is configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or equal to 2, and the processor further selects among the N channels.
  • the data frame transmitted by one channel, and the transceiver forwards the selected data frame. Therefore, for the same data, the source network device sends through N channels. If some of the channels fail to transmit or transmit errors, the network device as the receiver can still select the data frame in the channel that is successfully transmitted or correctly, which effectively improves. The reliability of data transmission.
  • the processor is specifically configured to select a data frame according to a receiving sequence and a frame signal quality of each data frame carrying the same data transmitted on the N channels.
  • the data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and the higher frame signal quality is selected, thereby ensuring that the network device can always select the higher quality data frame. At the same time, it takes into account the timeliness and does not cause too much delay.
  • the processor starts timing when the transceiver receives the first one of the data frames carrying the same data transmitted on the N channels.
  • the processor selects the data frame with the highest frame signal quality in the first data frame received by the transceiver and the data frame carrying the same data as the first data frame. Therefore, the network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • the processor starts timing when the transceiver receives the first data frame of each data frame that carries the same data and is transmitted on the N channels; if the first data frame received by the transceiver If the frame signal quality is greater than or equal to the preset value, the processor selects the first data frame received by the transceiver; if the frame signal quality of the first data frame received by the transceiver is less than a preset value, the transceiver continues Receiving other data frames that are the same as the data carried by the first data frame until the frame signal quality of the data frame received by the transceiver is greater than or equal to a preset value, the processor selects the data frame or the processor timing reaches the preset If the duration of the timing reaches the preset duration, the frame signal quality of each data frame that the transceiver receives the same data is less than the preset value, and the processor selects each of the received data frames.
  • the processor determines, according to the third indication information, the location of the selected respective data frames in the data stream, and the transceiver forwards each data frame in order according to the position of each data frame in the data stream.
  • a fifth aspect provides a data transmitting apparatus in a PON system, where the apparatus includes: a generating module, configured to generate, in a PON framing layer, N data frames carrying the same data, where N is an integer greater than or equal to 2; a module, configured to send each of the data frames to the same target network device by using N channels, where each of the channels respectively sends a data frame; wherein the data sending device can be applied to an optical line terminal or an optical network.
  • the target network device is an optical network unit; or, when the data transmitting device is applied to the optical network unit, the target network device is an optical line terminal.
  • the transceiver module is further configured to receive a data stream; the data sending device further includes a segmentation module, configured to sequentially divide the data stream into a plurality of pieces of data in sequence; and the generating module is specifically configured to separately generate each of the divided data N data frames, wherein each of the N data frames corresponding to each piece of data carries its corresponding data.
  • the sixth aspect provides a data receiving apparatus in a PON system, where the apparatus includes: a monitoring module, configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or An integer equal to 2; a selection module, configured to select the data frame transmitted by one of the N channels; a transceiver module configured to forward the selected data frame; the data receiving device may be applied to light In the line terminal or the optical network unit, when the data receiving device is applied to the optical line terminal, the target network device is an optical network unit; or, when the data receiving device is applied to the optical network unit, the target network device is an optical line terminal .
  • the selection module can according to the receiving order and frame letter of each data frame carrying the same data transmitted on the N channels. Number quality selection data frame.
  • the data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
  • the apparatus may further include a timing module configured to start timing when receiving the first one of the data frames of the same data transmitted on the N channels.
  • the timing duration reaches the preset duration
  • the selection module selects the data frame with the highest frame signal quality in the received first data frame and the data frame carrying the same data as the first data frame. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • the apparatus may further include a timing module, configured to start timing when receiving the first data frame of each data frame carrying the same data transmitted on the N channels; if the received If the frame signal quality of a data frame is greater than or equal to a preset value, the selection module selects the first data frame received; if the frame signal quality of the received first data frame is less than a preset value, the transceiver module continues Receiving another data frame that is the same as the data carried by the first data frame until the frame signal quality of the received data frame is greater than or equal to a preset value, and the selecting module selects the data frame or the time duration reaches a preset duration; If the frame signal quality of each data frame carrying the same data received by the transceiver module is less than a preset value when the timing duration reaches the preset duration, the selection module selects the highest quality of the frame signal in each received data frame.
  • the apparatus further includes a determining module configured to determine, according to the third indication information, a location of the selected respective data frames in the data stream, and the transceiver module forwards the respective data frames in order according to the locations of the respective data frames in the data stream.
  • an optical line terminal comprising the apparatus of the fifth or sixth aspect, or the optical line terminal is the network device of the third or fourth aspect.
  • an optical network unit comprising the device according to the fifth or sixth aspect, or the optical network unit being the network device according to the third or fourth aspect.
  • a PON system comprising: the optical line terminal according to the seventh aspect, and the optical network unit according to the eighth aspect.
  • a still further aspect of the present application provides a computer readable storage medium having stored therein computer software instructions for use with the network device of the above third aspect, when it is run on a computer, The computer is caused to perform the method described in the first aspect above.
  • a computer readable storage medium storing computer software instructions for use in the network device of the above fourth aspect, when it is run on a computer, The computer is caused to perform the method described in the second aspect above.
  • FIG. 1 is a schematic structural diagram of a PON system according to an embodiment of the invention.
  • FIG. 2 is an exemplary flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an XGEM frame according to an embodiment of the invention.
  • FIG. 4 is a schematic structural diagram of an Ethernet frame according to an embodiment of the invention.
  • FIG. 5 is a schematic diagram of data transmission according to an embodiment of the invention.
  • FIG. 6 is a schematic diagram of data transmission according to another embodiment of the present invention.
  • FIG. 7 is an exemplary flowchart of a data transmission method according to another embodiment of the present invention.
  • FIG. 8 is a schematic diagram of data frame selection according to an embodiment of the invention.
  • FIG. 9 is a schematic diagram of an exemplary hardware structure of a network device according to an embodiment of the invention.
  • PONs passive optical networks
  • GPON Gigabit Passive Optical Network
  • Ethernet passive optical network Ethernet passive optical network
  • Passive Optical Network EPON
  • 10G EPON 10G EPON
  • 10-Gigabit-capable Passive Optical Network XG-PON
  • 10-Gigabit-capable symmetric passive optical network XGS-PON
  • Next Generation Passive Optical Network NGPON
  • the PON system 100 includes at least one OLT 110, at least one ODN 120, and a plurality of ONUs 130.
  • the OLT 110 provides a network side interface for the PON system 100
  • the ONU 130 provides a user side interface for the PON system 100 to be connected to the ODN 120.
  • the ONU 130 directly provides the user port function, it is called an Optical Network Terminal (ONT).
  • ONT Optical Network Terminal
  • the ONU 130 mentioned below generally refers to an ONT that can directly provide a user port function and an ONU that provides a user side interface.
  • the ODN 120 is a network of optical fibers and passive optical splitting devices for connecting OLT 110 devices and ONUs 130 devices for distributing or multiplexing data signals between the OLT 110 and the ONUs 130.
  • the direction from the OLT 110 to the ONU 130 is defined as the downstream direction, and the direction from the ONU 130 to the OLT 110 is defined as the upstream direction.
  • the OLT 110 broadcasts the downlink data to the multiple ONUs 130 managed by the OLT 110 by using a Time Division Multiplexing (TDM) method.
  • TDM Time Division Multiplexing
  • Each ONU 130 only receives data carrying its own identity;
  • the ONUs 130 communicate with the OLT 110 in a Time Division Multiple Access (TDMA) manner, and each ONU 130 transmits uplink data according to the time domain resources allocated by the OLT 110.
  • TDMA Time Division Multiple Access
  • the downlink optical signal sent by the OLT 110 is a continuous optical signal
  • the upstream optical signal sent by the ONU 130 is a burst optical signal.
  • the PON system 100 may not require active devices to implement data distribution between the OLT 110 and the ONU 130.
  • the communication network system for example, in a particular embodiment, data distribution between the OLT 110 and the ONU 130 can be implemented by passive optical devices (such as optical splitters) in the ODN 120.
  • the PON system 100 can be a GPON system defined by the ITU-T G.984 standard, an Ethernet Passive Optical Network (EPON) defined by the IEEE 802.3ah standard, or a next-generation passive optical network (NGPON). ), such as XGPON or 10G EPON.
  • GPON GPON system defined by the ITU-T G.984 standard
  • EPON Ethernet Passive Optical Network
  • NGPON next-generation passive optical network
  • Various passive optical network systems defined by the above standards fall within the scope of the present invention.
  • the OLT 110 is typically located at a Central Office (CO), and can centrally manage at least one ONU 130 and transfer data between the ONU 130 and an upper layer network.
  • the OLT 110 can serve as an medium between the ONU 130 and the upper layer network (such as the Internet, a Public Switched Telephone Network (PSTN), and forward data received from the upper layer network to the ONU 130, And forwarding data received from the ONU 130 to the upper layer network.
  • the specific configuration of the OLT 110 may vary depending on the particular type of the PON system 100, for example, in one embodiment, the OLT 110 may include a transmission.
  • a receiver for transmitting a downlink continuous optical signal to the ONU 130 the receiver for receiving an uplink burst optical signal from the ONU 130, wherein the downlink optical signal and the uplink optical signal can be performed by the ODN 120 Transmission, but the embodiment of the invention is not limited thereto.
  • the ONU 130 can be distributed in a user-side location (such as a customer premises).
  • the ONU 130 can be a network device for communicating with the OLT 110 and the user, in particular, the ONU 130 can act as a medium between the OLT 110 and the user, for example, the ONU 130 can receive data from the OLT 110. Forwarded to the user and forwarded data received from the user to the OLT 110.
  • the ODN 120 can be a data distribution network that can include fiber optics, optocouplers, beamsplitters, or other devices.
  • the fiber, optocoupler, splitter, or other device may be a passive optical device, in particular, the fiber, optocoupler, optical splitter, or other device may be at OLT 110 and ONU 130 Devices that do not require power supply when distributing data signals.
  • the optical splitter can be connected to the OLT 110 through a trunk optical fiber and connected to the plurality of ONUs 130 through a plurality of branch optical fibers, thereby implementing the OLT 110 and the ONU 130. A point-to-multipoint connection between them.
  • the ODN 120 may also include one or more processing devices, such as optical amplifiers or relay devices.
  • the ODN 120 may specifically extend from the OLT 110 to the plurality of ONUs 130, but may be configured as any other point-to-multipoint structure, and the embodiment of the present invention is not limited thereto.
  • a reliable communication between the OLT 110 and the ONU 130 is generally performed by a protection mechanism such as Type B and Type C.
  • Various embodiments of the present invention provide a new protection mechanism to enable reliable communication between the OLT 110 and the ONU 130.
  • the protection mechanism in the present invention can be applied to the OLT 110 to send data to the ONU 130, and can also be applied to the ONU 130 to send data to the OLT 110.
  • the device as the sender in the OLT 110 and the ONU 130 is hereinafter referred to as a source network device, and the device as a receiver is referred to as a target network device.
  • the method includes steps S200 to S240. Step details:
  • the source network device generates, in a PON framing layer (also called a framing sub-layer), N data frames carrying the same data, where N is an integer greater than or equal to 2;
  • the value of N may be a preset value, for example, a value that may be pre-configured by the user into the source network device and the target network device, or a value pre-configured by the source network device and the target network device (eg, when shipped from the factory) Configured of).
  • the value of N may also be adaptively determined by the source network device.
  • the source network device is adaptively determined according to the link state with the target network device, and may be set if the link quality is poor. A larger value of N, if the link status is better, a smaller value of N can be set.
  • the value of N may have a corresponding relationship with the target network device.
  • the target network device is the ONU 130
  • different ONUs 130 can set a corresponding N value according to their requirements for signal quality. If the ONU 130 has a higher signal quality requirement, a larger N value can be set correspondingly, if the ONU 130 pairs the signal. If the quality requirement is low, a smaller N value can be set accordingly.
  • the ONU 130 can directly report the required N value to the OLT 110, and the OLT 110 stores the correspondence between the ONU 130 and its corresponding N value.
  • the ONU 130 can also report the signal quality requirement to the OLT 110, and the OLT 110 determines the N according to the signal quality requirement reported by the ONU 130. Value, and store the correspondence between the ONU 130 and its corresponding N value.
  • the value of N may also be determined by the source network device based on the link state with the target network device and the signal quality requirements of the target network device.
  • the data carried by each data frame is the same between the N data frames generated by the source network device.
  • the data source carried by the data frame may be data received from other network devices or generated by the source network device.
  • the source network device may copy the received data by N-1 copies, and then generate the data frame separately from the received data and the copied N-1 data, that is, a total of Generate N data frames.
  • the source network device can form a piece of data, and then copy the N-1 data, and then separately generate the data frame; or the source network device can directly generate N data that carries the same data. frame.
  • the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
  • a PON framing layer is an RS layer
  • a data frame is an Ethernet frame
  • each data frame may include first indication information.
  • the first indication information included in the N data frames carrying the same data are the same. That is, if any of the two data frames is the same, the first indication information included is the same; if the data carried by the data is different, the first indication information included is different. Therefore, the target network device can quickly identify the N data frames carrying the same data according to the first indication information.
  • the source network device currently has two data to be sent, the first data corresponding to generating two data frames, and the second data corresponding to generating three data frames, and the first data corresponding to the two data frames, each Each of the data frames includes the first indication information, and the two first indication information are the same, for example, the two first indication information are 300.
  • Each of the three data frames corresponding to the second data includes first indication information, and the three first indication information are the same, and the first indication information and the first indication of the two data frames.
  • the information is different, such as the three first indications are 301.
  • the target network device may quickly filter out the data frames with the same first indication information according to the first indication information. For example, the two data frames whose first indication information is set to 300 can be quickly filtered out, or the three data frames whose first indication information is set to 301 can be quickly filtered out.
  • FIG. 3 is a schematic structural diagram of an XGEM frame according to an embodiment of the present invention.
  • the XGEM frame includes a frame header and a payload, and the frame header includes a Payload Length Indicator (PLI) field and a Port-ID field. , Reserves field, frame header error check (Head Error) Check, HEC) fields, etc.
  • the reserved field may include the foregoing first indication information.
  • the reserved field may all be used as the first indication information or partially as the first indication information.
  • the reserved field may be 18 bits, and all 18 bits may be used as the first indication information, or only 10 of the bits may be selected as the first indication information.
  • FIG. 4 is a schematic structural diagram of an Ethernet frame according to an embodiment of the present invention, and may add a Length/Type indication field and a Service Information (FSN) field, and a length/type indication.
  • the field is used to indicate the type and/or length of the service information field, and the service information field includes the first indication information described above.
  • This Ethernet frame is very compatible with existing Ethernet frames.
  • the service information field may all be used as the first indication information or partially as the first indication information.
  • the service information field is 16 bits, and 15 of them can be used as the first indication information.
  • the first indication information included in the N data frames carrying the same data may also be related.
  • the first indication information included in the data frame carrying different data is irrelevant. That is, if any of the two data frames is the same, the first indication information included is related; if the data carried by the data is different, the included first indication information is irrelevant.
  • the source network device and the target network device may preset the correlation of the first indication information. For example, the correspondence between the groups of first indication information may be preset, and each group correspondence includes at least two first indication information, belonging to the same group. The first indication information is considered relevant, and the first indication information belonging to different groups is considered irrelevant.
  • the first group correspondence includes three first indication information, which are 300, 301, and 302, respectively; and the second group correspondence includes two first indication information, which are respectively 303 and 304.
  • the source network device and the target network device can be considered to be related between 300, 301 and 302, and 303 and 304 are related, and the remaining combinations are irrelevant, for example, 300 and 303 are not related.
  • the target network device may quickly filter out the data frames related to the first indication information according to the first indication information of each data frame. For example, the first data indicating that the first indication information is 300, 301, and 302 can be quickly filtered out, and the two data frames whose first indication information is respectively 303 and 304 can be quickly filtered out.
  • the first indication information may be set before the frame header of each data frame, so that the target network device can identify the first indication information more quickly, thereby more quickly identifying each data frame carrying the same data.
  • the data frame may also include second indication information, the second indication information indicating the N value.
  • the above reserved fields may all be used as the second indication information, or may be partially used as the second indication information.
  • the reserved field may be 18 bits, and all 18 bits may be used as the second indication information, or only 8 of them may be selected as the second indication information, and the other 10 bits are used as the first indication information.
  • the first 8 bits of the reserved field are used as the second indication information, and the last 10 bits are used as the first indication information. It can be understood that the number of bits of the first indication information and the second indication information is not limited to the above, and may be other bit numbers.
  • 4 may be 16 bits, and one of the bits may be used as the second indication information, indicating whether it is a single source or a multiple source. For example, when it is “0”, it represents a single source, and when it is “1”, it represents Multi-source (that is, the number of transmitted data frames is greater than or equal to 2), at which point no specific N value is indicated, and another 15 bits are used for the first indication information. It is also possible to use 3 bits or 2 bits or other number of bits for the second indication information, and the remaining bits are used as the first indication information.
  • the data frame carrying the data is three, at least one of the three data frames includes the second indication information, and each of the three data frames includes the second indication information.
  • the second indication information indicates a value of 3. In one example, the second indication information is equal to 3; in another example, the second indication information indirectly indicates 3.
  • the source network device sends the three data frames, after the target network device receives the first data frame, according to the second indication information of the first received data frame, the data frame carrying the data may be determined. The number is 3, so continue to receive, After receiving the data frames carrying the data, the target network device does not need to continue to monitor the data frames carrying the data, thereby reducing the waste of resources of the target network device, thereby improving the operational efficiency of the target network device without wasting the target.
  • the operating resources of the network device is 3.
  • the source network device sends each of the data frames to the target network device by using the N channels, and each of the channels respectively sends one of the data frames.
  • different channels can be distinguished by wavelengths, and wavelengths of different channels are different, which can save fiber links and effectively utilize spectrum resources.
  • FIG. 5 shows three ONUs 130, which are referred to as a first ONU 130, a second ONU 130, and a third ONU 130 from top to bottom.
  • the OLT 110 transmits data to the ONU 130 as an example, and the OLT 110 passes through two channels.
  • the OLT 110 sends data frames to the second ONU 130 through three channels, the wavelengths of the three channels are ⁇ 1, ⁇ 2, and ⁇ 4, respectively;
  • OLT110 Data frames are transmitted to the third ONU 130 through four channels, the wavelengths of which are ⁇ 1, ⁇ 2, ⁇ 3, and ⁇ 4, respectively.
  • different channels may be distinguished by a fiber link, and the fiber links of different channels are different, that is, the source network devices corresponding to different channels have different transmission ports, and can utilize the existing Type C mechanism.
  • Fiber links save spectrum resources. As shown in FIG. 6, each ONU 130 and the OLT 110 have two fiber links, and each fiber link is one channel.
  • the wavelengths of the N channels are different from each other. That is, the N channels are all distinguished by wavelength.
  • the fiber links of the N channels are different from each other, that is, the N channels are all distinguished by the fiber link, or the N channels are all distinguished by the sending port of the source network device.
  • the N channels are simultaneously distinguishable by wavelength and fiber link. That is, of the N channels, the wavelengths or fiber links of any two channels are different. For example, there are four channels, two fiber links are provided between the OLT 110 and one ONU 130. Two wavelength-differentiated channels can be set on the first fiber link, and the second fiber link can also be set. 2 channels distinguished by wavelength. For example, the first fiber link can transmit data frames through wavelengths ⁇ 1 and ⁇ 2, respectively, and the second fiber link can transmit data frames through wavelengths ⁇ 3 and ⁇ 4, respectively.
  • Step S220 The target network device monitors a data frame that the source network device sends on the preset N channels and carries the same data.
  • the N channels may be preset between the OLT 110 and the ONU 130, or pre-configured for the OLT 110 and notified to the ONU 130 in advance, thereby
  • the OLT 110 can send a data frame carrying the same data to the ONU 130 by configuring the N channels of the ONU 130.
  • the ONU 130 can monitor the data frames carrying the same data on the preset N channels.
  • the N channels may be preset between the OLT 110 and the ONU 130, or pre-configured for the OLT 110 and notified to the ONU 130 in advance. Therefore, the ONU 130 can send data frames carrying the same data to the OLT 110 through the preset N channels, and the OLT 110 can also monitor the data frames carrying the same data on the N channels allocated to the ONU 130.
  • Step S230 the target network device selects the data frame transmitted by one of the N channels.
  • the target network device can select a channel with a high signal transmission quality to receive a data frame according to the signal transmission quality of each channel, thereby ensuring that the target network device can always receive a higher quality data frame.
  • Reliability of data transmitted in high PON systems For example, if there are three channels pre-configured, if the signal transmission quality of the first channel is high during the period from T1 to T2, the data of the first channel is continuously received during the period from T1 to T2; during the period from T2 to T3 If the signal transmission quality of the third channel is high, the data of the third channel is continuously received during the period from T2 to T3.
  • the target network device selects the data frame according to a receiving order and a frame signal quality of respective data frames carrying the same data transmitted on the N channels.
  • the data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
  • the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels; for example, the source network device is at 3 Three data frames carrying the same data are transmitted on the channel, and the data frame on the second channel first arrives at the target network device, and the target network device starts timing when receiving the data frame on the second channel. It can be understood that the target network device can identify the receiving order of the data frame according to the first indication information in the data frame. If no other data frame carrying the first indication information is received before receiving the data frame, the data frame is considered to be the first arriving data frame.
  • the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • the frame signal quality can be measured, for example, by the bit error rate, and the lower the bit error rate, the higher the frame signal quality.
  • the preset duration can be set according to actual needs, and is not limited here. If the data frame on the second channel and the third channel is received within the preset time period, the first channel fails to successfully transmit the data frame to the target network device due to a line failure or a large line delay, or The data frame is transmitted to the target network device within a preset duration. Then, the target network device may first buffer the data frames received through the second channel and the third channel, and separately calculate the frame signal quality of the two data frames. Then, when the timing duration reaches the preset duration, the data frame with the highest frame signal quality among the two data frames is selected.
  • the frame signal quality can be measured, for example, by the bit error rate, and the lower the bit error rate, the higher the frame signal quality.
  • the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels;
  • the received bit error rate of the first data frame is less than or equal to a preset value, the received first data frame is selected.
  • the size of the preset value can be set according to actual needs, and is not limited herein.
  • the received bit error rate of the first data frame is greater than the preset value, continuing to receive other data frames that are the same as the data carried by the first data frame until receiving If the error rate of the data frame is less than or equal to the preset value, the data frame is selected or the time duration reaches a preset duration;
  • the error rate of each of the received data frames carrying the same data is greater than the preset value when the time duration reaches a preset duration, the error rate in each received data frame is selected.
  • the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
  • Step S240 the target network device forwards the selected data frame.
  • the OLT 100 forwards the data frame to other devices upstream.
  • the target network device is the OLT 110
  • the OLT 100 forwards the data frame to other devices upstream.
  • the network side device may be, for example, a broadband network gateway (BNG) device.
  • BNG broadband network gateway
  • the ONU 130 forwards the data frame to other network devices in the downstream.
  • the data frame can be forwarded to the user terminal, the switch, the router, etc., and the user terminal can be, for example, a computer or a television.
  • N channels when N channels are set between the source network device and the target network device, when the source network device sends data to the target network device, N data frames carrying the same data are generated, and each channel is correspondingly transmitted.
  • the target network device can monitor the data frames transmitted on the N channels, and select the data frames on one of the channels for forwarding, thereby effectively improving the reliability of the transmitted data in the PON system.
  • the method further includes:
  • Step S250 the source network device receives the data stream; when the source network device is the OLT 110, the OLT 110 may receive the data stream.
  • the data stream can be a broadcast data stream.
  • Step S260 the source network device sequentially divides the data stream into several pieces of data in order
  • the step S200 specifically includes: the source network device respectively corresponding to each of the divided data to generate N pieces of the data frames, wherein each of the N pieces of the data frames corresponding to each piece of data is Data frames each carry their corresponding data.
  • step S201 the order of each data frame sent by the source network device in the same channel is the same as the data carried by each data frame in the data stream. Therefore, the order in which the source network device sends data is unchanged, and the target network device can be assisted to receive the data frame in the correct order.
  • the data frame further includes third indication information, the third indication information indicating that the data carried by the data frame is in the data stream. s position. Determining, by the target network device, a location of each selected data frame in the data stream according to the third indication information, and forwarding each of the data frames in order according to a position of each of the data frames in the data stream .
  • the above reserved fields may all be used as the third indication information, or may be partially used as the third indication information.
  • the third indication information corresponding to each piece of data divided by the same data stream may be in an increasing order or a decreasing order.
  • one data stream is divided into 7 pieces of data
  • the third indication information of the first data may be 301
  • the third indication information of the second data may be 302, and so on.
  • the third indication information of the 7 pieces of data may be 307. It is assumed that the data stream is transmitted through two channels (illustrated as channel 1 and channel 2), and the target network device first receives the data stream through channel 1, so the target network device preferentially selects the data frame received by channel 1.
  • the target network device can identify the data frame received by channel 1 according to the third indication information, and determine that the third data frame is lost.
  • the target network device can also identify the third data frame in the channel 2 according to the third indication information, and therefore, the third data frame in the channel 2 will be selected.
  • the target network device can directly determine the location of the data frame in the data stream according to the third indication information.
  • the above reserved field may include the foregoing third indication information.
  • the foregoing service information field may further include the foregoing third indication information.
  • the first indication information and the third indication information may be combined into one field.
  • the first indication information may be multiplexed into the third indication information.
  • Each of the data frames generated according to the first data includes a field 301, which may be used as the first indication information or the third indication information to identify the location of the data frame.
  • the present invention also provides a network device, which may be an OLT 110 or an ONU 130.
  • the network device includes a processor 410, a memory 420, a transceiver 430, and a wavelength division multiplexer 440.
  • the processor 410 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit ASIC, or at least one integrated circuit for executing related programs to implement the technology provided by the embodiments of the present invention. Program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the memory 420 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 420 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is saved in the memory 420 and executed by the processor 410.
  • the processor 410 may internally include a memory 420.
  • processor 410 and memory 420 are two separate structures.
  • Transceiver 430 can include a light emitter and/or a light receiver.
  • the light emitter can be used to transmit an optical signal and the optical receiver can be used to receive an optical signal.
  • the light emitter can be realized by a light emitting device such as a gas laser, a solid laser, a liquid laser, a semiconductor laser, a direct modulation laser, or the like.
  • the light receiver can be implemented by a photodetector such as a photodetector or a photodiode such as an avalanche diode.
  • the transceiver 430 can also include a digital to analog converter and an analog to digital converter.
  • the network device may also include a medium access control (MAC) for performing functions such as parsing data.
  • MAC may be present independently of processor 410 or may be part of processor 410.
  • the wavelength division multiplexer 440 is coupled to the transceiver 430, which acts as a multiplexer when the network device transmits an optical signal.
  • the wavelength division multiplexer acts as a demultiplexer.
  • a wavelength division multiplexer can also be referred to as an optical coupler.
  • the processor 410 is configured to generate the data frame, divide the data stream into a plurality of data, and the like, and the transceiver 430 is configured to receive the data stream, send the data frame, and the like to the target network device.
  • the processor 410 shown in FIG. 9 can perform steps S200 and S260 in FIGS. 2 and 7, and the transceiver 430 can perform steps S210 and S250 in FIGS. 2 and 7.
  • the processor 410 is configured to monitor the data frame, select a data frame, etc., and the transceiver 430 is configured to forward a data frame or the like.
  • the processor 410 shown in FIG. 9 can perform steps S220 and S230 in FIGS. 2 and 7, and the transceiver 430 can perform step S240 in FIGS. 2 and 7.
  • N channels when N channels are set between the source network device and the target network device, when the source network device sends data to the target network device, N data frames carrying the same data are generated, and each channel is correspondingly transmitted.
  • the target network device can monitor the data frames transmitted on the N channels, and select the data frames on one of the channels for forwarding, thereby effectively improving the accuracy of the data transmitted in the PON system.
  • the present invention also provides a passive optical network system including the source network described in the foregoing embodiments.
  • Device and target network device are not described herein again.
  • the embodiment of the present invention further provides a data frame, and the specific description of the data frame may refer to the foregoing embodiment, and details are not described herein again.
  • the embodiment of the present invention further provides a communication device, which may be the above network device, or may be a certain module, component, circuit or device in the network device.
  • the communication device When the communication device is used in a source network device, the communication device includes:
  • a generating module configured to generate N data frames carrying the same data, where N is an integer greater than or equal to 2;
  • the transceiver module is configured to send each of the data frames to the target network device through the N channels, and each of the channels respectively sends a data frame.
  • the transceiver module is further configured to receive a data stream
  • the communication device further includes a segmentation module for sequentially dividing the data stream into a plurality of pieces of data in order;
  • the generating module is specifically configured to generate N pieces of the data frames corresponding to each of the divided data, wherein each of the N data frames corresponding to each piece of data is generated. Both carry their corresponding data.
  • the communication device When the communication device is used for a target network device, the communication device includes:
  • a monitoring module configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is an integer greater than or equal to 2;
  • a selection module configured to select the data frame transmitted by one of the N channels
  • transceiver module configured to forward the selected data frame.
  • the selecting module is specifically configured to select the data frame according to a receiving sequence and a frame signal quality of each data frame carrying the same data transmitted on the N channels.
  • the communication device further includes a timing module, configured to start timing when the transceiver module receives the first one of the data frames of the data frames carrying the same data transmitted on the N channels;
  • the selecting module is specifically configured to: when the first time period of the received data frame and the first data frame carrying the same data, select the data frame with the highest frame signal quality when the time duration reaches a preset time length. .
  • the communication device further includes a determining module, configured to determine, according to the third indication information, a location of each selected data frame in the data stream, where the transceiver module is further configured to: according to each of the data frames The locations in the data stream forward each of the data frames in order.
  • the communication device also has the beneficial effects described in the foregoing various embodiments, and details are not described herein again.
  • the disclosed device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the above units is only a logical function division.
  • multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described above as separate components may or may not be physically separated.
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention.
  • the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like. The medium of the code.

Abstract

Disclosed are a method for transmitting and receiving data in a PON system, a network device, and the system. A source network device generates N data frames carrying the same data, N being greater than or equal to 2, and transmits the data frames to a target network device by means of N channels, each channel transmitting one data frame. The target network device selects the data frame transmitted in one of the channels. One of the source network device and the target network device is an OLT, and the other is an ONU. Different channels may be distinguished by means of wavelengths or fiber links. The data frames may be configured with first indication information, the first indication information carrying the same piece of data being identical; second indication information may further be configured to indicate the value of N. Since the source network device transmits the same piece of data by means of the N channels, if some of the channels fail to transmit or transmit incorrectly, the target network device can still select the data frame in the channel that succeeds in transmitting or correctly transmits. The reliability of data transmission is effectively improved.

Description

PON系统中的数据发送和接收方法、网络设备及系统Data transmitting and receiving method, network device and system in PON system 技术领域Technical field
本发明涉及光通信技术领域,具体涉及一种PON系统中的数据发送和接收方法、网络设备以及系统。The present invention relates to the field of optical communication technologies, and in particular, to a data transmission and reception method, a network device, and a system in a PON system.
背景技术Background technique
无源光网络(Passive Optical Network,PON)技术是一种点到多点的光纤接入技术。PON系统可以包括光线路终端(Optical Line Terminal,OLT)、光分配网络(Optical Distribution Network,ODN)和至少一个光网络单元(Optical Network Unit,ONU),OLT与ODN连接,ODN与多个ONU连接。Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology. The PON system may include an optical line terminal (OLT), an optical distribution network (ODN), and at least one optical network unit (ONU). The OLT is connected to the ODN, and the ODN is connected to multiple ONUs. .
现有技术中,为了使OLT与ONU之间能够可靠的进行通信,采用的保护机制一般有Type B保护机制、Type C保护机制等。In the prior art, in order to enable reliable communication between the OLT and the ONU, the protection mechanism used generally includes a Type B protection mechanism and a Type C protection mechanism.
Type B保护机制通过在OLT与ODN之间分别设置主用光纤和备用光纤,OLT内任意两个PON口支持板内或板间的保护倒换,或者分别属于不同OLT的两个PON口之间支持保护倒换,触发保护倒换的条件一般为主干光纤故障或PON单板故障等。The Type B protection mechanism sets the primary and backup optical fibers between the OLT and the ODN. The two PON ports in the OLT support the protection switching between the boards or the boards, or between the two PON ports of different OLTs. Protection switching, the conditions for triggering protection switching are generally faults in the main fiber or PON board failure.
Type C保护机制通过在OLT和每个ONU之间设置主干光纤和分支光纤,在主干光纤故障或者分支光纤故障或者PON板故障时,则进行保护切换。The Type C protection mechanism sets the trunk fiber and the branch fiber between the OLT and each ONU. When the trunk fiber fails or the branch fiber fails or the PON board fails, the protection switchover is performed.
综上,现有技术一般都是在光纤故障或PON单板故障时,则进行切换。然而,在主干光纤或PON板并未发生故障,但是主干光纤所在的通道所传输的数据具有少量错包时,并不会进行保护切换,因此造成传输的数据较不准确,例如,可能会造成广播视频业务的花屏,甚至造成黑屏。In summary, the prior art generally performs switching when the fiber is faulty or the PON board is faulty. However, when the trunk fiber or the PON board does not fail, but the data transmitted by the channel where the backbone fiber is located has a small amount of error packets, the protection switching is not performed, so the transmitted data is less accurate, for example, may cause The screen of the broadcast video service even caused a black screen.
发明内容Summary of the invention
本发明实施例提供了一种PON系统中的数据发送和接收方法、网络设备及PON系统,旨在提高PON系统中数据传输的可靠性。Embodiments of the present invention provide a data transmission and reception method, a network device, and a PON system in a PON system, which are intended to improve the reliability of data transmission in a PON system.
第一方面,提供了一种PON系统中的数据发送方法,可以为OLT向ONU发送数据,也可以为ONU向OLT发送数据,将OLT和ONU中的数据发送方称为源网络设备,数据接收方称为目标网络设备,该方法包括:源网络设备在PON成帧层生成N个承载相同数据的数据帧,N大于或等于2,然后向同一个目标网络设备通过N个通道发送生成的N个数据帧,每一个通道对应发送一个数据帧。从而对于同一份数据,将通过N个通道进行发送,有效地提高了数据传输的可靠性。The first aspect provides a data sending method in a PON system, where the OLT can send data to the ONU, or the ONU can send data to the OLT, and the data sender in the OLT and the ONU is called a source network device, and the data is received. The method is called a target network device, and the method includes: the source network device generates N data frames carrying the same data in the PON framing layer, N is greater than or equal to 2, and then sends the generated N to the same target network device through N channels. Data frames, one for each channel. Therefore, for the same data, it will be transmitted through N channels, which effectively improves the reliability of data transmission.
例如在GPON或XGPON系统中,PON成帧层可以为GEM层或XGEM层,数据帧为GEM帧或XGEM帧;For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
例如在EPON系统中,PON成帧层为RS层,数据帧为以太帧。For example, in an EPON system, a PON framing layer is an RS layer, and a data frame is an Ethernet frame.
数据帧中可以包括第一指示信息,任意两个数据帧之间,若承载的数据相同,则包含的第一指示信息相同;若承载的数据不相同,则包含的第一指示信息不相同。从而目标网 络设备可以直接根据第一指示信息快速识别出承载相同数据的N个数据帧。该第一指示信息可以位于数据帧的帧头中,能够更加快速的识别。在GEM帧或XGEM帧中,均包括保留字段,保留字段可以包括上述第一指示信息。在以太帧中,可以添加长度/类型指示字段和业务信息字段,长度/类型指示字段用于指示业务信息字段的类型和/或长度,业务信息字段包括上述第一指示信息。The first indication information may be included in the data frame. If the data carried by the data frame is the same, the first indication information included is the same. If the data carried by the data is different, the first indication information included is different. Target network The network device can quickly identify N data frames carrying the same data according to the first indication information. The first indication information can be located in the frame header of the data frame and can be identified more quickly. In the GEM frame or the XGEM frame, a reserved field is included, and the reserved field may include the foregoing first indication information. In the Ethernet frame, a length/type indication field and a service information field may be added, the length/type indication field is used to indicate the type and/or length of the service information field, and the service information field includes the foregoing first indication information.
数据帧中还可以包括第二指示信息,第二指示信息指示N值。目标网络设备可以根据N值确定承载同一份数据的数据帧数量,当监测到N个承载同一份数据的数据帧后,就可以停止监测承载这份数据的数据帧,提高运行效率,不浪费运行资源。在GEM帧或XGEM帧中,上述保留字段可以包括上述第二指示信息。在以太帧中,上述业务信息字段还可以包括上述第二指示信息。The data frame may further include second indication information, and the second indication information indicates an N value. The target network device can determine the number of data frames carrying the same data according to the value of N. After monitoring the data frames carrying the same data, the data frame carrying the data can be stopped, and the operation efficiency is improved, and the operation is not wasted. Resources. In the GEM frame or the XGEM frame, the above reserved field may include the foregoing second indication information. In the Ethernet frame, the foregoing service information field may further include the foregoing second indication information.
数据帧中还可以包括第三指示信息。在源网络设备为OLT时,OLT一般会向ONU发送持续的广播数据流,ONU需要将广播数据流进行分割,分割的每一份数据对应生成若干数据帧,每一份数据帧均承载这一份数据。源网络设备在同一个通道中所发送的各个数据帧的顺序与各个数据帧所承载的数据在数据流中的顺序相同。但是由于链路问题,或者部分数据帧的丢失,各个数据帧到达目标网络设备的顺序可能会发生变化,因此需要指示各个数据帧的位置。该第三指示信息用来指示各个数据帧的位置,从而ONU接收到数据帧后,可以根据第三指示信息将数据流还原。第三指示信息的取值可以按照数据流的顺序依次递增或递减。在GEM帧或XGEM帧中,上述保留字段可以包括上述第三指示信息。在以太帧中,上述业务信息字段还可以包括上述第三指示信息。或者,第一指示信息和第三指示信息可以合为一个字段。例如,可以将第一指示信息复用为第三指示信息。The third indication information may also be included in the data frame. When the source network device is an OLT, the OLT generally sends a continuous broadcast data stream to the ONU, and the ONU needs to divide the broadcast data stream, and each divided data generates corresponding data frames, and each data frame carries the data frame. Data. The order of each data frame sent by the source network device in the same channel is the same as the data carried by each data frame in the data stream. However, due to the link problem or the loss of part of the data frame, the order of each data frame to reach the target network device may change, so it is necessary to indicate the location of each data frame. The third indication information is used to indicate the location of each data frame, so that after receiving the data frame, the ONU can restore the data stream according to the third indication information. The value of the third indication information may be sequentially incremented or decremented in the order of the data stream. In the GEM frame or the XGEM frame, the above reserved field may include the foregoing third indication information. In the Ethernet frame, the foregoing service information field may further include the foregoing third indication information. Alternatively, the first indication information and the third indication information may be combined into one field. For example, the first indication information may be multiplexed into the third indication information.
保留字段可以为18个字节,该保留字段中,可以将前8个字节用作第二指示信息,将后10个字节用作第一指示信息。后10个字节也可以同时复用为第三指示信息。The reserved field may be 18 bytes. In the reserved field, the first 8 bytes may be used as the second indication information, and the last 10 bytes may be used as the first indication information. The last 10 bytes can also be multiplexed into the third indication information at the same time.
可以通过波长来区分不同的通道,不同通道的波长不同,能够节约光纤链路,有效利用频谱资源。Wavelengths can be used to distinguish different channels. Different channels have different wavelengths, which can save fiber links and effectively utilize spectrum resources.
还可以通过光纤链路来区分不同的通道,不同通道的光纤链路不同,即不同通道所对应的源网络设备的发送端口不同。能够利用现有的Type C机制的光纤链路,节约频谱资源。It is also possible to distinguish different channels through fiber links, and the fiber links of different channels are different, that is, the transmission ports of the source network devices corresponding to different channels are different. It can save the spectrum resources by utilizing the existing Type C mechanism fiber link.
第二方面,提供了一种PON系统中的数据接收方法,可以为OLT接收ONU发送的数据,也可以为ONU接收OLT发送的数据,将OLT和ONU中的数据发送方称为源网络设备,数据接收方称为目标网络设备,该方法包括:目标网络设备监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N大于或等于2,目标网络设备选择N个通道中的其中一个通道所传输的数据帧,并转发选择的数据帧。从而,对于同一份数据,源网络设备通过N个通道发送,如果其中部分通道传输失败或者传输错误,目标网络设备仍然可以选择传输成功或正确的通道中的数据帧,有效的提高了数据传输的可靠性。The second aspect provides a data receiving method in a PON system, where the OLT receives the data sent by the ONU, and the ONU receives the data sent by the OLT, and the data sender in the OLT and the ONU is called the source network device. The data receiver is called a target network device, and the method includes: the target network device monitors a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or equal to 2, and the target network device selects N channels. A data frame transmitted by one of the channels and forwards the selected data frame. Therefore, for the same data, the source network device sends through N channels. If some of the channels fail to transmit or the transmission error occurs, the target network device can still select the data frame in the successfully transmitted or correct channel, which effectively improves the data transmission. reliability.
目标网络设备可以根据N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择数据帧。数据帧的接收顺序和帧信号质量综合考虑,选择接收顺序较为靠前且帧信号质量较高的数据帧,从而不仅保证了目标网络设备能够始终选择出质量较高的数据帧,还同时兼顾了时效性,不会产生太大的时延。The target network device may select the data frame according to the reception order and the frame signal quality of each data frame carrying the same data transmitted on the N channels. The data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
一种实现方式为,目标网络设备在接收到所述N个通道上所传输的承载相同数据的各 个数据帧中的第一个所述数据帧时开始计时。在计时时长达到预设时长时,在接收到的第一个数据帧和与第一个数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。An implementation manner is that each of the target network devices receives the same data transmitted on the N channels. Timing begins when the first of the data frames is in the data frame. When the timing duration reaches the preset duration, the data frame with the highest frame signal quality is selected in the received first data frame and the data frame carrying the same data as the first data frame. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
另一种实现方式为,目标网络设备在接收到N个通道上所传输的承载相同数据的各个数据帧中的第一个数据帧时开始计时;若接收到的第一个数据帧的帧信号质量大于或等于预设值,则选择接收到的第一个数据帧;若接收到的第一个数据帧的帧信号质量小于预设值,则继续接收与第一个数据帧所承载的数据相同的其他数据帧,直至接收到的数据帧的帧信号质量大于或等于预设值则选择该数据帧或者计时时长达到预设时长为止;其中,若在计时时长达到预设时长时,所接收到的承载相同数据的各个数据帧的帧信号质量均小于预设值,则选择接收到的各个数据帧中的帧信号质量最高的数据帧或者请求所述源网络设备重传。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。In another implementation manner, the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels; if the received frame signal of the first data frame If the quality is greater than or equal to the preset value, the first data frame received is selected; if the received frame data quality of the first data frame is less than the preset value, the data carried by the first data frame is continuously received. The same other data frame, until the frame signal quality of the received data frame is greater than or equal to the preset value, the data frame is selected or the time duration reaches a preset duration; wherein, if the time duration reaches the preset duration, the received time If the frame signal quality of each data frame that carries the same data is less than a preset value, the data frame with the highest frame signal quality in each received data frame is selected or requested to be retransmitted by the source network device. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
第二方面中的数据帧和通道的具体配置方法,可以参照第一方面,在此不再赘述。For the specific configuration method of the data frame and the channel in the second aspect, reference may be made to the first aspect, and details are not described herein again.
目标网络设备根据第三指示信息确定选择的各个数据帧在数据流中的位置,并根据各个数据帧在数据流中的位置按次序转发各个数据帧。The target network device determines the location of each selected data frame in the data stream according to the third indication information, and forwards each data frame in order according to the position of each data frame in the data stream.
第三方面,提供了一种网络设备,该网络设备可以为OLT,也可以为ONU。该网络设备为OLT与ONU传输数据时作为发送方的设备。该网络设备包括处理器和收发器,处理器用于在PON成帧层生成N个承载相同数据的数据帧,N大于或等于2,收发器用于向同一个目标网络设备通过N个通道发送生成的N个数据帧,每一个通道对应发送一个数据帧。从而对于同一份数据,将通过N个通道进行发送,有效地提高了数据传输的可靠性。In a third aspect, a network device is provided, and the network device may be an OLT or an ONU. The network device is a device that is a sender when the OLT and the ONU transmit data. The network device includes a processor and a transceiver, and the processor is configured to generate, in the PON framing layer, N data frames carrying the same data, where N is greater than or equal to 2, and the transceiver is configured to send the generated data to the same target network device through the N channels. N data frames, one for each channel. Therefore, for the same data, it will be transmitted through N channels, which effectively improves the reliability of data transmission.
例如在GPON或XGPON系统中,PON成帧层可以为GEM层或XGEM层,数据帧为GEM帧或XGEM帧;For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
例如在EPON系统中,PON成帧层为RS层,数据帧为以太帧。For example, in an EPON system, a PON framing layer is an RS layer, and a data frame is an Ethernet frame.
第三方面中的数据帧和通道的具体配置方法,可以参照第一方面,在此不再赘述。For the specific configuration method of the data frame and the channel in the third aspect, reference may be made to the first aspect, and details are not described herein again.
收发器还用于接收数据流;处理器还用于将数据流按照次序依次分割成若干份数据;The transceiver is further configured to receive the data stream; the processor is further configured to sequentially divide the data stream into a plurality of pieces of data in order;
处理器具体用于将所分割的每一份数据分别对应生成N个所述数据帧,其中,每一份数据所对应生成的N个所述数据帧中,每一个数据帧均承载其对应的数据。The processor is specifically configured to generate, according to each of the divided data, N data frames, where each of the N data frames corresponding to each data carries the corresponding data frame. data.
第四方面,提供了一种网络设备,该网络设备可以为OLT,也可以为ONU。该网络设备为OLT与ONU传输数据时作为接收方的设备。该网络设备包括处理器和收发器,处理器用于监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N大于或等于2,处理器还选择N个通道中的其中一个通道所传输的数据帧,收发器转发选择的数据帧。从而,对于同一份数据,源网络设备通过N个通道发送,如果其中部分通道传输失败或者传输错误,作为接收方的网络设备仍然可以选择传输成功或正确的通道中的数据帧,有效的提高了数据传输的可靠性。In a fourth aspect, a network device is provided, and the network device may be an OLT or an ONU. The network device is a device that is a receiver when the OLT and the ONU transmit data. The network device includes a processor and a transceiver, and the processor is configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or equal to 2, and the processor further selects among the N channels. The data frame transmitted by one channel, and the transceiver forwards the selected data frame. Therefore, for the same data, the source network device sends through N channels. If some of the channels fail to transmit or transmit errors, the network device as the receiver can still select the data frame in the channel that is successfully transmitted or correctly, which effectively improves. The reliability of data transmission.
处理器具体用于根据N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择数据帧。数据帧的接收顺序和帧信号质量综合考虑,选择接收顺序较为靠前且帧信号质量较高的数据帧,从而不仅保证了网络设备能够始终选择出质量较高的数据帧, 还同时兼顾了时效性,不会产生太大的时延。The processor is specifically configured to select a data frame according to a receiving sequence and a frame signal quality of each data frame carrying the same data transmitted on the N channels. The data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and the higher frame signal quality is selected, thereby ensuring that the network device can always select the higher quality data frame. At the same time, it takes into account the timeliness and does not cause too much delay.
一种实现方式为,处理器在收发器接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个所述数据帧时开始计时。在计时时长达到预设时长时,处理器在收发器接收到的第一个数据帧和与第一个数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。从而保证了网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。In one implementation, the processor starts timing when the transceiver receives the first one of the data frames carrying the same data transmitted on the N channels. When the timing duration reaches the preset duration, the processor selects the data frame with the highest frame signal quality in the first data frame received by the transceiver and the data frame carrying the same data as the first data frame. Therefore, the network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
另一种实现方式为,处理器在收发器接收到N个通道上所传输的承载相同数据的各个数据帧中的第一个数据帧时开始计时;若收发器接收到的第一个数据帧的帧信号质量大于或等于预设值,则处理器选择收发器接收到的第一个数据帧;若收发器接收到的第一个数据帧的帧信号质量小于预设值,则收发器继续接收与第一个数据帧所承载的数据相同的其他数据帧,直至收发器接收到的数据帧的帧信号质量大于或等于预设值则处理器选择该数据帧或者处理器计时时长达到预设时长为止;其中,若在计时时长达到预设时长时,收发器所接收到的承载相同数据的各个数据帧的帧信号质量均小于预设值,则处理器选择接收到的各个数据帧中的帧信号质量最高的数据帧或者请求所述源网络设备重传。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。In another implementation manner, the processor starts timing when the transceiver receives the first data frame of each data frame that carries the same data and is transmitted on the N channels; if the first data frame received by the transceiver If the frame signal quality is greater than or equal to the preset value, the processor selects the first data frame received by the transceiver; if the frame signal quality of the first data frame received by the transceiver is less than a preset value, the transceiver continues Receiving other data frames that are the same as the data carried by the first data frame until the frame signal quality of the data frame received by the transceiver is greater than or equal to a preset value, the processor selects the data frame or the processor timing reaches the preset If the duration of the timing reaches the preset duration, the frame signal quality of each data frame that the transceiver receives the same data is less than the preset value, and the processor selects each of the received data frames. The data frame with the highest frame signal quality or requesting the source network device to retransmit. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
第四方面中的数据帧和通道的具体配置方法,可以参照第一方面,在此不再赘述。For the specific configuration method of the data frame and the channel in the fourth aspect, reference may be made to the first aspect, and details are not described herein again.
处理器根据第三指示信息确定选择的各个数据帧在数据流中的位置,收发器根据各个数据帧在数据流中的位置按次序转发各个数据帧。The processor determines, according to the third indication information, the location of the selected respective data frames in the data stream, and the transceiver forwards each data frame in order according to the position of each data frame in the data stream.
第五方面,提供了一种PON系统中的数据发送装置,该装置包括:生成模块,用于在PON成帧层生成N个承载相同数据的数据帧,N为大于或等于2的整数;收发模块,用于通过N个通道向同一个目标网络设备发送各个所述数据帧,每一所述通道分别对应发送一所述数据帧;其中,该数据发送装置可以应用于光线路终端或光网络单元中,在该数据发送装置应用于光线路终端中时,目标网络设备为光网络单元;或者,在该数据发送装置应用于光网络单元时,目标网络设备为光线路终端。A fifth aspect provides a data transmitting apparatus in a PON system, where the apparatus includes: a generating module, configured to generate, in a PON framing layer, N data frames carrying the same data, where N is an integer greater than or equal to 2; a module, configured to send each of the data frames to the same target network device by using N channels, where each of the channels respectively sends a data frame; wherein the data sending device can be applied to an optical line terminal or an optical network. In the unit, when the data transmitting device is applied to the optical line terminal, the target network device is an optical network unit; or, when the data transmitting device is applied to the optical network unit, the target network device is an optical line terminal.
第五方面中的数据帧和通道的具体配置方法,可以参照第一方面,在此不再赘述。For the specific configuration method of the data frame and the channel in the fifth aspect, reference may be made to the first aspect, and details are not described herein again.
收发模块还用于接收数据流;该数据发送装置还包括分割模块,用于将所述数据流按照次序依次分割成若干份数据;生成模块具体用于将所分割的每一份数据分别对应生成N个所述数据帧,其中,所述每一份数据所对应生成的N个所述数据帧中,每一个所述数据帧均承载其对应的数据。The transceiver module is further configured to receive a data stream; the data sending device further includes a segmentation module, configured to sequentially divide the data stream into a plurality of pieces of data in sequence; and the generating module is specifically configured to separately generate each of the divided data N data frames, wherein each of the N data frames corresponding to each piece of data carries its corresponding data.
第六方面,提供了一种PON系统中的数据接收装置,该装置包括:监测模块,用于监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N为大于或等于2的整数;选择模块,用于选择所述N个通道中的其中一个通道所传输的所述数据帧;收发模块,用于转发选择的所述数据帧;该数据接收装置可以应用于光线路终端或光网络单元中,在该数据接收装置应用于光线路终端中时,目标网络设备为光网络单元;或者,在该数据接收装置应用于光网络单元时,目标网络设备为光线路终端。The sixth aspect provides a data receiving apparatus in a PON system, where the apparatus includes: a monitoring module, configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is greater than or An integer equal to 2; a selection module, configured to select the data frame transmitted by one of the N channels; a transceiver module configured to forward the selected data frame; the data receiving device may be applied to light In the line terminal or the optical network unit, when the data receiving device is applied to the optical line terminal, the target network device is an optical network unit; or, when the data receiving device is applied to the optical network unit, the target network device is an optical line terminal .
第六方面中的数据帧和通道的具体配置方法,可以参照第一方面,在此不再赘述。For the specific configuration method of the data frame and the channel in the sixth aspect, reference may be made to the first aspect, and details are not described herein again.
选择模块可以根据N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信 号质量选择数据帧。数据帧的接收顺序和帧信号质量综合考虑,选择接收顺序较为靠前且帧信号质量较高的数据帧,从而不仅保证了目标网络设备能够始终选择出质量较高的数据帧,还同时兼顾了时效性,不会产生太大的时延。The selection module can according to the receiving order and frame letter of each data frame carrying the same data transmitted on the N channels. Number quality selection data frame. The data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
一种实现方式为,该装置还可以包括计时模块,用于在接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个所述数据帧时开始计时。在计时时长达到预设时长时,选择模块在接收到的第一个数据帧和与第一个数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。In one implementation, the apparatus may further include a timing module configured to start timing when receiving the first one of the data frames of the same data transmitted on the N channels. When the timing duration reaches the preset duration, the selection module selects the data frame with the highest frame signal quality in the received first data frame and the data frame carrying the same data as the first data frame. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
另一种实现方式为,该装置还可以包括计时模块,用于在接收到N个通道上所传输的承载相同数据的各个数据帧中的第一个数据帧时开始计时;若接收到的第一个数据帧的帧信号质量大于或等于预设值,则选择模块选择接收到的第一个数据帧;若接收到的第一个数据帧的帧信号质量小于预设值,则收发模块继续接收与第一个数据帧所承载的数据相同的其他数据帧,直至接收到的数据帧的帧信号质量大于或等于预设值则选择模块选择该数据帧或者计时时长达到预设时长为止;其中,若在计时时长达到预设时长时,收发模块所接收到的承载相同数据的各个数据帧的帧信号质量均小于预设值,则选择模块选择接收到的各个数据帧中的帧信号质量最高的数据帧或者请求所述源网络设备重传。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。In another implementation manner, the apparatus may further include a timing module, configured to start timing when receiving the first data frame of each data frame carrying the same data transmitted on the N channels; if the received If the frame signal quality of a data frame is greater than or equal to a preset value, the selection module selects the first data frame received; if the frame signal quality of the received first data frame is less than a preset value, the transceiver module continues Receiving another data frame that is the same as the data carried by the first data frame until the frame signal quality of the received data frame is greater than or equal to a preset value, and the selecting module selects the data frame or the time duration reaches a preset duration; If the frame signal quality of each data frame carrying the same data received by the transceiver module is less than a preset value when the timing duration reaches the preset duration, the selection module selects the highest quality of the frame signal in each received data frame. The data frame or request the source network device to retransmit. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
该装置还包括确定模块,用于根据第三指示信息确定选择的各个数据帧在数据流中的位置,收发模块根据各个数据帧在数据流中的位置按次序转发各个数据帧。The apparatus further includes a determining module configured to determine, according to the third indication information, a location of the selected respective data frames in the data stream, and the transceiver module forwards the respective data frames in order according to the locations of the respective data frames in the data stream.
第七方面,提供一种光线路终端,该光线路终端包括上述第五或第六方面所述的装置,或者该光线路终端为上述第三或第四方面所述的网络设备。According to a seventh aspect, there is provided an optical line terminal comprising the apparatus of the fifth or sixth aspect, or the optical line terminal is the network device of the third or fourth aspect.
第八方面,提供一种光网络单元,该光网络单元包括上述第五或第六方面所述的装置,或者该光网络单元为上述第三或第四方面所述的网络设备。In an eighth aspect, an optical network unit is provided, the optical network unit comprising the device according to the fifth or sixth aspect, or the optical network unit being the network device according to the third or fourth aspect.
第九方面,提供了一种PON系统,该PON系统包括:上述第七方面所述的光线路终端和上述第八方面所述的光网络单元。According to a ninth aspect, a PON system is provided, the PON system comprising: the optical line terminal according to the seventh aspect, and the optical network unit according to the eighth aspect.
本申请的又一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有上述第三方面所述的网络设备所用的计算机软件指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。A still further aspect of the present application provides a computer readable storage medium having stored therein computer software instructions for use with the network device of the above third aspect, when it is run on a computer, The computer is caused to perform the method described in the first aspect above.
本申请的又一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有上述第四方面所述的网络设备所用的计算机软件指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In still another aspect of the present application, a computer readable storage medium storing computer software instructions for use in the network device of the above fourth aspect, when it is run on a computer, The computer is caused to perform the method described in the second aspect above.
附图说明DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those of ordinary skill in the art based on these drawings without any inventive labor.
图1为依照本发明一实施例的PON系统的架构示意图;1 is a schematic structural diagram of a PON system according to an embodiment of the invention;
图2为依照本发明一实施例的数据传输方法的示范性流程图;2 is an exemplary flowchart of a data transmission method according to an embodiment of the present invention;
图3为依照本发明一实施例中XGEM帧的结构示意图;3 is a schematic structural diagram of an XGEM frame according to an embodiment of the invention;
图4为依照本发明一实施例中以太帧的结构示意图;4 is a schematic structural diagram of an Ethernet frame according to an embodiment of the invention;
图5为依照本发明一实施例的数据传输示意图;FIG. 5 is a schematic diagram of data transmission according to an embodiment of the invention; FIG.
图6为依照本发明另一实施例的数据传输示意图;FIG. 6 is a schematic diagram of data transmission according to another embodiment of the present invention; FIG.
图7为依照本发明另一实施例的数据传输方法的示范性流程图;FIG. 7 is an exemplary flowchart of a data transmission method according to another embodiment of the present invention; FIG.
图8为依照本发明一实施例的数据帧选择示意图;FIG. 8 is a schematic diagram of data frame selection according to an embodiment of the invention; FIG.
图9为依照本发明一实施例的网络设备的示范性硬件结构示意图。FIG. 9 is a schematic diagram of an exemplary hardware structure of a network device according to an embodiment of the invention.
具体实施方式Detailed ways
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例的技术方案,可以应用于各种无源光网络(Passive Optical Network,PON),例如:吉比特无源光网(Gigabit Passive Optical Network,GPON)、以太网无源光网络(Ethernet Passive Optical Network,EPON)、10G EPON、十吉比特无源光网络(10-Gigabit-capable Passive Optical Network,XG-PON)、10吉比特对称无源光网络(10-Gigabit-capable symmetric passive optical network,XGS-PON)、下一代无源光网络(Next Generation Passive Optical Network,NGPON)等。The technical solution of the embodiment of the present invention can be applied to various passive optical networks (PONs), such as Gigabit Passive Optical Network (GPON) and Ethernet passive optical network (Ethernet). Passive Optical Network (EPON), 10G EPON, 10-Gigabit-capable Passive Optical Network (XG-PON), 10-Gigabit-capable symmetric passive optical network , XGS-PON), Next Generation Passive Optical Network (NGPON), etc.
图1为适用本发明各个实施例的PON系统的架构示意图,如图1所示,PON系统100包括至少一个OLT110、至少一个ODN120和多个ONU130。其中,OLT110为PON系统100提供网络侧接口,ONU130为PON系统100提供用户侧接口,与ODN 120相连。如果ONU 130直接提供用户端口功能,则称为光网络终端(Optical Network Terminal,ONT)。为了便于描述,下文所提到的ONU130统指可以直接提供用户端口功能的ONT和提供用户侧接口的ONU。ODN 120是由光纤和无源分光器件组成的网络,用于连接OLT 110设备和ONU 130设备,用于分发或复用OLT 110和ONU 130之间的数据信号。1 is a schematic structural diagram of a PON system to which various embodiments of the present invention are applied. As shown in FIG. 1, the PON system 100 includes at least one OLT 110, at least one ODN 120, and a plurality of ONUs 130. The OLT 110 provides a network side interface for the PON system 100, and the ONU 130 provides a user side interface for the PON system 100 to be connected to the ODN 120. If the ONU 130 directly provides the user port function, it is called an Optical Network Terminal (ONT). For convenience of description, the ONU 130 mentioned below generally refers to an ONT that can directly provide a user port function and an ONU that provides a user side interface. The ODN 120 is a network of optical fibers and passive optical splitting devices for connecting OLT 110 devices and ONUs 130 devices for distributing or multiplexing data signals between the OLT 110 and the ONUs 130.
在该PON系统100中,从OLT 110到ONU 130的方向定义为下行方向,而从ONU 130到OLT 110的方向定义为上行方向。在下行方向,OLT 110采用时分复用(Time Division Multiplexing,TDM)方式将下行数据广播给该OLT 110管理的多个ONU 130,各个ONU 130只接收携带自身标识的数据;而在上行方向,多个ONU 130采用时分多址(Time Division Multiple Access,TDMA)的方式与OLT 110进行通信,每个ONU 130按照OLT 110为其分配的时域资源发送上行数据。采用上述机制,OLT 110发送的下行光信号为连续光信号,而ONU 130发送的上行光信号为突发光信号。In the PON system 100, the direction from the OLT 110 to the ONU 130 is defined as the downstream direction, and the direction from the ONU 130 to the OLT 110 is defined as the upstream direction. In the downlink direction, the OLT 110 broadcasts the downlink data to the multiple ONUs 130 managed by the OLT 110 by using a Time Division Multiplexing (TDM) method. Each ONU 130 only receives data carrying its own identity; The ONUs 130 communicate with the OLT 110 in a Time Division Multiple Access (TDMA) manner, and each ONU 130 transmits uplink data according to the time domain resources allocated by the OLT 110. With the above mechanism, the downlink optical signal sent by the OLT 110 is a continuous optical signal, and the upstream optical signal sent by the ONU 130 is a burst optical signal.
该PON系统100可以是不需要有源器件来实现OLT 110与ONU 130之间的数据分发 的通信网络系统,比如,在具体实施例中,OLT 110与ONU 130之间的数据分发可以通过ODN 120中的无源光器件(比如分光器)来实现。并且,该PON系统100可以为ITU-T G.984标准定义的GPON系统、IEEE 802.3ah标准定义的以太网无源光网络(Ethernet Passive Optical Network,EPON)、或者下一代无源光网络(NGPON),比如XGPON或10G EPON等。上述标准定义的各种无源光网络系统均落入本发明的保护范围内。The PON system 100 may not require active devices to implement data distribution between the OLT 110 and the ONU 130. The communication network system, for example, in a particular embodiment, data distribution between the OLT 110 and the ONU 130 can be implemented by passive optical devices (such as optical splitters) in the ODN 120. Moreover, the PON system 100 can be a GPON system defined by the ITU-T G.984 standard, an Ethernet Passive Optical Network (EPON) defined by the IEEE 802.3ah standard, or a next-generation passive optical network (NGPON). ), such as XGPON or 10G EPON. Various passive optical network systems defined by the above standards fall within the scope of the present invention.
该OLT 110通常位于中心局(Central Office,CO),可以统一管理至少一个ONU 130,并在ONU 130与上层网络之间传输数据。具体来说,该OLT 110可以充当ONU 130与所述上层网络(比如因特网、公共交换电话网络(Public Switched Telephone Network,PSTN)之间的媒介,将从上层网络接收到的数据转发到ONU 130,以及将从ONU 130接收到的数据转发到该上层网络。该OLT 110的具体结构配置可能会因该PON系统100的具体类型而异,比如,在一种实施例中,该OLT 110可以包括发射机和接收机,该发射机用于向ONU 130发送下行连续光信号,该接收机用于接收来自ONU 130的上行突发光信号,其中该下行光信号和上行光信号可以通过该ODN 120进行传输,但本发明实施例不限于此。The OLT 110 is typically located at a Central Office (CO), and can centrally manage at least one ONU 130 and transfer data between the ONU 130 and an upper layer network. Specifically, the OLT 110 can serve as an medium between the ONU 130 and the upper layer network (such as the Internet, a Public Switched Telephone Network (PSTN), and forward data received from the upper layer network to the ONU 130, And forwarding data received from the ONU 130 to the upper layer network. The specific configuration of the OLT 110 may vary depending on the particular type of the PON system 100, for example, in one embodiment, the OLT 110 may include a transmission. And a receiver for transmitting a downlink continuous optical signal to the ONU 130, the receiver for receiving an uplink burst optical signal from the ONU 130, wherein the downlink optical signal and the uplink optical signal can be performed by the ODN 120 Transmission, but the embodiment of the invention is not limited thereto.
该ONU 130可以分布式地设置在用户侧位置(比如用户驻地)。该ONU 130可以为用于与OLT 110和用户进行通信的网络设备,具体而言,该ONU 130可以充当OLT 110与用户之间的媒介,例如,ONU 130可以将从该OLT 110接收到的数据转发到用户,以及将从该用户接收到的数据转发到OLT 110。The ONU 130 can be distributed in a user-side location (such as a customer premises). The ONU 130 can be a network device for communicating with the OLT 110 and the user, in particular, the ONU 130 can act as a medium between the OLT 110 and the user, for example, the ONU 130 can receive data from the OLT 110. Forwarded to the user and forwarded data received from the user to the OLT 110.
该ODN 120可以是一个数据分发网络,可以包括光纤、光耦合器、分光器或其他设备。在一个实施例中,该光纤、光耦合器、分光器或其他设备可以是无源光器件,具体来说,该光纤、光耦合器、分光器或其他设备可以是在OLT 110和ONU 130之间分发数据信号时不需要电源支持的器件。具体地说,以光分路器(Splitter)为例,该光分路器可以通过主干光纤连接到OLT 110,并分别通过多个分支光纤连接到多个ONU 130,从而实现OLT 110和ONU 130之间的点到多点连接。另外,在其他实施例中,该ODN 120还可以包括一个或多个处理设备,例如,光放大器或者中继设备(Relay device)。另外,ODN 120具体可以从OLT 110延伸到多个ONU 130,但也可以配置成其他任何点到多点的结构,本发明实施例不限于此。The ODN 120 can be a data distribution network that can include fiber optics, optocouplers, beamsplitters, or other devices. In one embodiment, the fiber, optocoupler, splitter, or other device may be a passive optical device, in particular, the fiber, optocoupler, optical splitter, or other device may be at OLT 110 and ONU 130 Devices that do not require power supply when distributing data signals. Specifically, taking an optical splitter as an example, the optical splitter can be connected to the OLT 110 through a trunk optical fiber and connected to the plurality of ONUs 130 through a plurality of branch optical fibers, thereby implementing the OLT 110 and the ONU 130. A point-to-multipoint connection between them. Additionally, in other embodiments, the ODN 120 may also include one or more processing devices, such as optical amplifiers or relay devices. In addition, the ODN 120 may specifically extend from the OLT 110 to the plurality of ONUs 130, but may be configured as any other point-to-multipoint structure, and the embodiment of the present invention is not limited thereto.
现有技术中,一般通过Type B、Type C等保护机制来使得OLT110与ONU130之间可靠的通信。本发明各个实施例提供一种新的保护机制来使得OLT110与ONU130之间可靠的通信。本发明中的保护机制,可以适用于OLT110向ONU130发送数据,也可以适用于ONU130向OLT110发送数据。为了便于描述,以下将OLT110和ONU130中作为发送方的设备称为源网络设备,作为接收方的设备称为目标网络设备。In the prior art, a reliable communication between the OLT 110 and the ONU 130 is generally performed by a protection mechanism such as Type B and Type C. Various embodiments of the present invention provide a new protection mechanism to enable reliable communication between the OLT 110 and the ONU 130. The protection mechanism in the present invention can be applied to the OLT 110 to send data to the ONU 130, and can also be applied to the ONU 130 to send data to the OLT 110. For convenience of description, the device as the sender in the OLT 110 and the ONU 130 is hereinafter referred to as a source network device, and the device as a receiver is referred to as a target network device.
为此,以下提出一种数据传输方法,下面将结合附图,对本发明实施例所提供的数据传输方法进行详细的描述,如图2所示,该方法包括步骤S200至S240,以下具体介绍各个步骤细节:To this end, a data transmission method is provided below. The data transmission method provided by the embodiment of the present invention will be described in detail below with reference to the accompanying drawings. As shown in FIG. 2, the method includes steps S200 to S240. Step details:
S200,源网络设备在PON成帧层(也称为framing sub-layer)生成N个承载相同数据的数据帧,N为大于或等于2的整数;S200: The source network device generates, in a PON framing layer (also called a framing sub-layer), N data frames carrying the same data, where N is an integer greater than or equal to 2;
在一实施例中,N值可以为预设值,例如,可以为用户预先配置到源网络设备和目标网络设备中的数值,或者为源网络设备和目标网络设备预先配置的数值(如出厂时配置好 的)。In an embodiment, the value of N may be a preset value, for example, a value that may be pre-configured by the user into the source network device and the target network device, or a value pre-configured by the source network device and the target network device (eg, when shipped from the factory) Configured of).
在另一实施例中,N值还可以为源网络设备自适应确定的,例如,源网络设备根据与目标网络设备之间的链路状态自适应确定,若链路质量较差,则可以设置较大的N值,若链路状态较好,则可以设置较小的N值。In another embodiment, the value of N may also be adaptively determined by the source network device. For example, the source network device is adaptively determined according to the link state with the target network device, and may be set if the link quality is poor. A larger value of N, if the link status is better, a smaller value of N can be set.
在另一实施例中,N值可以与目标网络设备具有对应关系。例如,在目标网络设备为ONU130时,不同的ONU130可以根据其对信号质量的需求设置相应的N值,如果ONU130对信号质量要求较高,则可以对应设置较大的N值,如果ONU130对信号质量要求较低,则可以对应设置较小的N值。ONU130可以直接向OLT110上报其所需的N值,OLT110存储该ONU130与其对应的N值之间的对应关系;或者,ONU130也可以向OLT110上报信号质量要求,OLT110根据ONU130上报的信号质量要求确定N值,并存储该ONU130及其对应的N值之间的对应关系。In another embodiment, the value of N may have a corresponding relationship with the target network device. For example, when the target network device is the ONU 130, different ONUs 130 can set a corresponding N value according to their requirements for signal quality. If the ONU 130 has a higher signal quality requirement, a larger N value can be set correspondingly, if the ONU 130 pairs the signal. If the quality requirement is low, a smaller N value can be set accordingly. The ONU 130 can directly report the required N value to the OLT 110, and the OLT 110 stores the correspondence between the ONU 130 and its corresponding N value. Alternatively, the ONU 130 can also report the signal quality requirement to the OLT 110, and the OLT 110 determines the N according to the signal quality requirement reported by the ONU 130. Value, and store the correspondence between the ONU 130 and its corresponding N value.
或者,N值还可以为源网络设备根据与目标网络设备之间的链路状态和目标网络设备的信号质量要求确定的。Alternatively, the value of N may also be determined by the source network device based on the link state with the target network device and the signal quality requirements of the target network device.
源网络设备所生成的N个数据帧之间,各个数据帧所承载的数据均相同。数据帧所承载的数据来源可以为从其他网络设备中接收的数据,也可以为源网络设备生成的。在数据来源为从其他网络设备接收的数据时,源网络设备可以将接收到的数据复制N-1份,然后再将接收到的数据和复制的N-1份数据分别生成数据帧,即一共生成N个数据帧。在数据来源为源网络设备直接生成时,源网络设备可以先生成一份数据,然后复制N-1分数据,再分别生成数据帧;或者,源网络设备还可以直接生成承载相同数据的N个数据帧。The data carried by each data frame is the same between the N data frames generated by the source network device. The data source carried by the data frame may be data received from other network devices or generated by the source network device. When the data source is data received from other network devices, the source network device may copy the received data by N-1 copies, and then generate the data frame separately from the received data and the copied N-1 data, that is, a total of Generate N data frames. When the data source is directly generated by the source network device, the source network device can form a piece of data, and then copy the N-1 data, and then separately generate the data frame; or the source network device can directly generate N data that carries the same data. frame.
例如在GPON或XGPON系统中,PON成帧层可以为GEM层或XGEM层,数据帧为GEM帧或XGEM帧;For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame;
例如在EPON系统中,PON成帧层为RS层,数据帧为以太帧。For example, in an EPON system, a PON framing layer is an RS layer, and a data frame is an Ethernet frame.
为了使得目标网络设备可以快速识别承载相同数据的N个数据帧,每个数据帧可以包括第一指示信息。在一实施例中,承载相同数据的所述N个数据帧所包含的第一指示信息均相同。即,任意两个数据帧之间,若承载的数据相同,则所包含的第一指示信息相同;若承载的数据不同,则所包含的第一指示信息不同。从而目标网络设备可以直接根据第一指示信息快速识别出承载相同数据的N个数据帧。例如,源网络设备当前待发送的数据有两份,第一份数据对应生成2个数据帧,第二份数据对应生成3个数据帧,则第一份数据对应的2个数据帧中,每个数据帧均包括第一指示信息,且这2个第一指示信息相同,如这2个第一指示信息均为300。第二份数据对应的3个数据帧中,每个数据帧均包括第一指示信息,且这3个第一指示信息相同,且该第一指示信息与上述2个数据帧中的第一指示信息不相同,如这3个第一指示信息均为301。目标网络设备接收到各个数据帧后,可以根据第一指示信息,快速的将第一指示信息相同的各个数据帧筛选出来。如,可以快速的将第一指示信息取值为300的2个数据帧筛选出来,也可以快速的将第一指示信息取值为301的3个数据帧筛选出来。In order for the target network device to quickly identify N data frames carrying the same data, each data frame may include first indication information. In an embodiment, the first indication information included in the N data frames carrying the same data are the same. That is, if any of the two data frames is the same, the first indication information included is the same; if the data carried by the data is different, the first indication information included is different. Therefore, the target network device can quickly identify the N data frames carrying the same data according to the first indication information. For example, the source network device currently has two data to be sent, the first data corresponding to generating two data frames, and the second data corresponding to generating three data frames, and the first data corresponding to the two data frames, each Each of the data frames includes the first indication information, and the two first indication information are the same, for example, the two first indication information are 300. Each of the three data frames corresponding to the second data includes first indication information, and the three first indication information are the same, and the first indication information and the first indication of the two data frames. The information is different, such as the three first indications are 301. After receiving the data frames, the target network device may quickly filter out the data frames with the same first indication information according to the first indication information. For example, the two data frames whose first indication information is set to 300 can be quickly filtered out, or the three data frames whose first indication information is set to 301 can be quickly filtered out.
在GEM帧或XGEM帧中,可以包括保留字段。如图3所示,图3为本发明一实施例中XGEM帧的结构示意图,XGEM帧包括帧头和净荷,帧头包括净荷长度指示(Payload Length Indicator,PLI)字段、Port-ID字段、保留(Options)字段、帧头错误检验(Head Error  Check,HEC)字段等。其中,保留字段可以包括上述第一指示信息。该保留字段可以全部用作第一指示信息,也可以部分用作第一指示信息。例如,保留字段可以为18比特,可以将这18比特全部作为第一指示信息,也可以只选择其中的10比特作为第一指示信息。In a GEM frame or an XGEM frame, a reserved field may be included. As shown in FIG. 3, FIG. 3 is a schematic structural diagram of an XGEM frame according to an embodiment of the present invention. The XGEM frame includes a frame header and a payload, and the frame header includes a Payload Length Indicator (PLI) field and a Port-ID field. , Reserves field, frame header error check (Head Error) Check, HEC) fields, etc. The reserved field may include the foregoing first indication information. The reserved field may all be used as the first indication information or partially as the first indication information. For example, the reserved field may be 18 bits, and all 18 bits may be used as the first indication information, or only 10 of the bits may be selected as the first indication information.
在以太帧中,如图4所示,图4为本发明一实施例中以太帧的结构示意图,可以添加长度/类型(Length/type)指示字段和业务信息(FSN)字段,长度/类型指示字段用于指示业务信息字段的类型和/或长度,业务信息字段包括上述第一指示信息。该以太帧能够很好的与现有以太帧兼容。业务信息字段可以全部用作第一指示信息,也可以部分用作第一指示信息。例如,业务信息字段为16比特,可以将其中15比特用作第一指示信息。In an Ethernet frame, as shown in FIG. 4, FIG. 4 is a schematic structural diagram of an Ethernet frame according to an embodiment of the present invention, and may add a Length/Type indication field and a Service Information (FSN) field, and a length/type indication. The field is used to indicate the type and/or length of the service information field, and the service information field includes the first indication information described above. This Ethernet frame is very compatible with existing Ethernet frames. The service information field may all be used as the first indication information or partially as the first indication information. For example, the service information field is 16 bits, and 15 of them can be used as the first indication information.
在另一实施例中,承载相同数据的所述N个数据帧所包含的第一指示信息也可以相关。承载不同数据的数据帧所包含的第一指示信息不相关。即,任意两个数据帧之间,若承载的数据相同,则所包含的第一指示信息相关;若承载的数据不同,则所包含的第一指示信息不相关。源网络设备和目标网络设备可以预先设置第一指示信息的相关性,例如,可以预设若干组第一指示信息的对应关系,每组对应关系包括至少2个第一指示信息,属于同一组的第一指示信息则认为相关,属于不同组的第一指示信息则认为不相关。例如,第一组对应关系包括3个第一指示信息,分别为300,301和302;第二组对应关系包括2个第一指示信息,分别为303和304。源网络设备和目标网络设备可以认为300,301和302之间相关,且303和304之间相关,其余组合均不相关,例如,300与303之间不相关。目标网络设备接收到各个数据帧后,可以根据各个数据帧的第一指示信息,快速的将第一指示信息相关的各个数据帧筛选出来。如,可以快速的将第一指示信息分别取值为300,301和302的3个数据帧筛选出来,也可以快速的将第一指示信息分别取值为303和304的2个数据帧筛选出来。In another embodiment, the first indication information included in the N data frames carrying the same data may also be related. The first indication information included in the data frame carrying different data is irrelevant. That is, if any of the two data frames is the same, the first indication information included is related; if the data carried by the data is different, the included first indication information is irrelevant. The source network device and the target network device may preset the correlation of the first indication information. For example, the correspondence between the groups of first indication information may be preset, and each group correspondence includes at least two first indication information, belonging to the same group. The first indication information is considered relevant, and the first indication information belonging to different groups is considered irrelevant. For example, the first group correspondence includes three first indication information, which are 300, 301, and 302, respectively; and the second group correspondence includes two first indication information, which are respectively 303 and 304. The source network device and the target network device can be considered to be related between 300, 301 and 302, and 303 and 304 are related, and the remaining combinations are irrelevant, for example, 300 and 303 are not related. After receiving the data frames, the target network device may quickly filter out the data frames related to the first indication information according to the first indication information of each data frame. For example, the first data indicating that the first indication information is 300, 301, and 302 can be quickly filtered out, and the two data frames whose first indication information is respectively 303 and 304 can be quickly filtered out.
可以在每个数据帧的帧头前设置第一指示信息,这样目标网络设备能够更加快速的识别出第一指示信息,进而更加快速的识别出承载相同数据的各个数据帧。The first indication information may be set before the frame header of each data frame, so that the target network device can identify the first indication information more quickly, thereby more quickly identifying each data frame carrying the same data.
在一实施例中,数据帧也可以包括第二指示信息,所述第二指示信息指示所述N值。上述保留字段可以全部用作第二指示信息,也可以部分用作第二指示信息。例如,保留字段可以为18比特,可以将这18比特全部作为第二指示信息,也可以只选择其中的8比特作为第二指示信息,另外10比特用作第一指示信息。如图3所示,保留字段的前8比特用作第二指示信息,后10比特用作第一指示信息。可以理解的是,第一指示信息和第二指示信息的比特数不限于上述,也可以为其他比特数。如图4所示的业务信息字段可以为16比特,可以将其中1比特用作第二指示信息,表示单源还是多源,例如,为“0”时表示单源,为“1”时表示多源(即表示发送的数据帧数大于或等于2),此时不指示具体的N值,另外15比特用于第一指示信息。也可以将其中3比特或者2比特或者其他数量的比特用于第二指示信息,其余比特用作第一指示信息。In an embodiment, the data frame may also include second indication information, the second indication information indicating the N value. The above reserved fields may all be used as the second indication information, or may be partially used as the second indication information. For example, the reserved field may be 18 bits, and all 18 bits may be used as the second indication information, or only 8 of them may be selected as the second indication information, and the other 10 bits are used as the first indication information. As shown in FIG. 3, the first 8 bits of the reserved field are used as the second indication information, and the last 10 bits are used as the first indication information. It can be understood that the number of bits of the first indication information and the second indication information is not limited to the above, and may be other bit numbers. The service information field shown in FIG. 4 may be 16 bits, and one of the bits may be used as the second indication information, indicating whether it is a single source or a multiple source. For example, when it is “0”, it represents a single source, and when it is “1”, it represents Multi-source (that is, the number of transmitted data frames is greater than or equal to 2), at which point no specific N value is indicated, and another 15 bits are used for the first indication information. It is also possible to use 3 bits or 2 bits or other number of bits for the second indication information, and the remaining bits are used as the first indication information.
承载某一份数据的数据帧为3个,则这3个数据帧中至少1个数据帧包括第二指示信息,也可以这3个数据帧中的每一个数据帧均包括第二指示信息。该第二指示信息指示值为3。一个例子中,第二指示信息等于3;另一个例子中,第二指示信息间接指示3。若源网络设备发送了这3个数据帧,在目标网络设备接收到第一个数据帧后,根据第一个接收到的数据帧的第二指示信息就可以判断承载这份数据的数据帧的个数为3,因此继续接收, 直至接收到3个承载这份数据的数据帧后,目标网络设备就不必再继续监测承载这份数据的数据帧,减少目标网络设备的资源浪费,从而提高目标网络设备的运行效率,不浪费目标网络设备的运行资源。If the data frame carrying the data is three, at least one of the three data frames includes the second indication information, and each of the three data frames includes the second indication information. The second indication information indicates a value of 3. In one example, the second indication information is equal to 3; in another example, the second indication information indirectly indicates 3. If the source network device sends the three data frames, after the target network device receives the first data frame, according to the second indication information of the first received data frame, the data frame carrying the data may be determined. The number is 3, so continue to receive, After receiving the data frames carrying the data, the target network device does not need to continue to monitor the data frames carrying the data, thereby reducing the waste of resources of the target network device, thereby improving the operational efficiency of the target network device without wasting the target. The operating resources of the network device.
S210,源网络设备通过N个通道向目标网络设备发送各个所述数据帧,每一所述通道分别对应发送一所述数据帧。S210. The source network device sends each of the data frames to the target network device by using the N channels, and each of the channels respectively sends one of the data frames.
在一实施例中,可以通过波长来区分不同的通道,不同通道的波长不同,能够节约光纤链路,有效利用频谱资源。如图5所示,图5示出3个ONU130,由上至下分别称为第1个ONU130,第2个ONU130和第3个ONU130,以OLT110向ONU130发送数据为例,OLT110通过两个通道向第1个ONU130发送数据帧,这两个通道的波长分别为λ1和λ3;OLT110通过三个通道向第2个ONU130发送数据帧,这三个通道的波长分别为λ1、λ2和λ4;OLT110通过四个通道向第3个ONU130发送数据帧,这四个通道的波长分别为λ1、λ2、λ3和λ4。In an embodiment, different channels can be distinguished by wavelengths, and wavelengths of different channels are different, which can save fiber links and effectively utilize spectrum resources. As shown in FIG. 5, FIG. 5 shows three ONUs 130, which are referred to as a first ONU 130, a second ONU 130, and a third ONU 130 from top to bottom. The OLT 110 transmits data to the ONU 130 as an example, and the OLT 110 passes through two channels. Sending a data frame to the first ONU 130, the wavelengths of the two channels are λ1 and λ3, respectively; the OLT 110 sends data frames to the second ONU 130 through three channels, the wavelengths of the three channels are λ1, λ2, and λ4, respectively; OLT110 Data frames are transmitted to the third ONU 130 through four channels, the wavelengths of which are λ1, λ2, λ3, and λ4, respectively.
在另一实施例中,还可以通过光纤链路来区分不同的通道,不同通道的光纤链路不同,即不同通道所对应的源网络设备的发送端口不同,能够利用现有的Type C机制的光纤链路,节约频谱资源。如图6所示,每个ONU130与OLT110之间,都有两条光纤链路,每条光纤链路即为一个通道。In another embodiment, different channels may be distinguished by a fiber link, and the fiber links of different channels are different, that is, the source network devices corresponding to different channels have different transmission ports, and can utilize the existing Type C mechanism. Fiber links save spectrum resources. As shown in FIG. 6, each ONU 130 and the OLT 110 have two fiber links, and each fiber link is one channel.
在一实施例中,所述N个通道的波长互不相同。即,这N个通道全部通过波长来区分。In an embodiment, the wavelengths of the N channels are different from each other. That is, the N channels are all distinguished by wavelength.
在另一实施例中,所述N个通道的光纤链路互不相同,即,这N个通道全部通过光纤链路来区分,或者这个N个通道全部通过源网络设备的发送端口来区分。In another embodiment, the fiber links of the N channels are different from each other, that is, the N channels are all distinguished by the fiber link, or the N channels are all distinguished by the sending port of the source network device.
在另一实施例中,所述N个通道开可以同时通过波长和光纤链路来区分。即,这N个通道中,任意两个通道的波长或光纤链路不同。例如,一共有4个通道,OLT110和某一ONU130之间设有两条光纤链路,第一条光纤链路上可以设置2个以波长区分的通道,第二条光纤链路上也可以设置2个以波长区分的通道。如,第一条光纤链路上可以分别通过波长λ1和λ2发送数据帧,第二条光纤链路上可以分别通过波长λ3和λ4发送数据帧。In another embodiment, the N channels are simultaneously distinguishable by wavelength and fiber link. That is, of the N channels, the wavelengths or fiber links of any two channels are different. For example, there are four channels, two fiber links are provided between the OLT 110 and one ONU 130. Two wavelength-differentiated channels can be set on the first fiber link, and the second fiber link can also be set. 2 channels distinguished by wavelength. For example, the first fiber link can transmit data frames through wavelengths λ1 and λ2, respectively, and the second fiber link can transmit data frames through wavelengths λ3 and λ4, respectively.
步骤S220,目标网络设备监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧。Step S220: The target network device monitors a data frame that the source network device sends on the preset N channels and carries the same data.
在一实施例中,源网络设备为OLT110,目标网络设备为ONU130时,所述N个通道可以为OLT110与ONU130之间预设好的,或者为OLT110预先配置好且预先通知给ONU130的,从而OLT110可以通过配置给该ONU130的N个通道向该ONU130发送承载相同数据的数据帧,ONU130可以监测预设好的N个通道上的承载相同数据的数据帧。In an embodiment, when the source network device is the OLT 110 and the target network device is the ONU 130, the N channels may be preset between the OLT 110 and the ONU 130, or pre-configured for the OLT 110 and notified to the ONU 130 in advance, thereby The OLT 110 can send a data frame carrying the same data to the ONU 130 by configuring the N channels of the ONU 130. The ONU 130 can monitor the data frames carrying the same data on the preset N channels.
在另一实施例中,源网络设备为ONU130,目标网络设备为OLT110时,所述N个通道可以为OLT110与ONU130之间预设好的,或者为OLT110预先配置好且预先通知给ONU130的,从而ONU130可以通过预设好的N个通道向OLT110发送承载相同数据的数据帧,OLT110也可以监测配置给该ONU130的N个通道上的承载相同数据的数据帧。In another embodiment, when the source network device is the ONU 130 and the target network device is the OLT 110, the N channels may be preset between the OLT 110 and the ONU 130, or pre-configured for the OLT 110 and notified to the ONU 130 in advance. Therefore, the ONU 130 can send data frames carrying the same data to the OLT 110 through the preset N channels, and the OLT 110 can also monitor the data frames carrying the same data on the N channels allocated to the ONU 130.
步骤S230,所述目标网络设备选择所述N个通道中的其中一个通道所传输的所述数据帧。Step S230, the target network device selects the data frame transmitted by one of the N channels.
在一实施例中,目标网络设备可以根据各个通道的信号传输质量,选择信号传输质量高的通道来接收数据帧,从而保证了目标网络设备能够始终接收到较高质量的数据帧,提 高PON系统中传输数据的可靠性。例如,若预设有3个通道,在T1至T2时段内,若第1个通道的信号传输质量较高,则在T1至T2时段内持续接收第1个通道的数据;在T2至T3时段内,若第3个通道的信号传输质量较高,则在T2至T3时段内持续接收第3个通道的数据。In an embodiment, the target network device can select a channel with a high signal transmission quality to receive a data frame according to the signal transmission quality of each channel, thereby ensuring that the target network device can always receive a higher quality data frame. Reliability of data transmitted in high PON systems. For example, if there are three channels pre-configured, if the signal transmission quality of the first channel is high during the period from T1 to T2, the data of the first channel is continuously received during the period from T1 to T2; during the period from T2 to T3 If the signal transmission quality of the third channel is high, the data of the third channel is continuously received during the period from T2 to T3.
在另一实施例中,目标网络设备根据所述N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择所述数据帧。数据帧的接收顺序和帧信号质量综合考虑,选择接收顺序较为靠前且帧信号质量较高的数据帧,从而不仅保证了目标网络设备能够始终选择出质量较高的数据帧,还同时兼顾了时效性,不会产生太大的时延。In another embodiment, the target network device selects the data frame according to a receiving order and a frame signal quality of respective data frames carrying the same data transmitted on the N channels. The data frame receiving sequence and the frame signal quality are comprehensively considered, and the data frame with the higher receiving order and higher frame signal quality is selected, thereby ensuring that the target network device can always select the higher quality data frame, and at the same time Timeliness, does not cause too much delay.
具体的,在一个例子中,目标网络设备在接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个所述数据帧时开始计时;例如,源网络设备在3个通道上发送了3个承载相同数据的数据帧,第2个通道上的数据帧最先到达目标网络设备,则目标网络设备在接收到第2个通道上的数据帧时开始计时。可以理解的是,目标网络设备可以根据数据帧中的第一指示信息来识别该数据帧的接收顺序。若在接收该数据帧之前没有接收到携带该第一指示信息的其他数据帧,则认为该数据帧为第一个到达的数据帧。Specifically, in an example, the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels; for example, the source network device is at 3 Three data frames carrying the same data are transmitted on the channel, and the data frame on the second channel first arrives at the target network device, and the target network device starts timing when receiving the data frame on the second channel. It can be understood that the target network device can identify the receiving order of the data frame according to the first indication information in the data frame. If no other data frame carrying the first indication information is received before receiving the data frame, the data frame is considered to be the first arriving data frame.
在计时时长达到预设时长时,在接收到的第一个所述数据帧和与第一个所述数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。帧信号质量例如可以通过误码率来衡量,误码率越低,则帧信号质量越高。When the timing duration reaches the preset duration, the data frame with the highest frame signal quality is selected in the received first data frame and the data frame carrying the same data as the first data frame. Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness. The frame signal quality can be measured, for example, by the bit error rate, and the lower the bit error rate, the higher the frame signal quality.
预设时长可以根据实际需要进行设置,在此不再限定。若在预设时长内,只接收到第2个通道和第3个通道上的数据帧,第1个通道由于线路故障或线路延迟较大,没有成功将数据帧传输至目标网络设备,或者没有在预设时长之内将数据帧传输至目标网络设备。则目标网络设备可以先将通过第2个通道和第3个通道接收的数据帧缓存,并分别计算这两个数据帧的帧信号质量。然后在计时时长达到预设时长时,选择这两个数据帧中帧信号质量最高的数据帧。帧信号质量例如可以通过误码率来衡量,误码率越低,则帧信号质量越高。The preset duration can be set according to actual needs, and is not limited here. If the data frame on the second channel and the third channel is received within the preset time period, the first channel fails to successfully transmit the data frame to the target network device due to a line failure or a large line delay, or The data frame is transmitted to the target network device within a preset duration. Then, the target network device may first buffer the data frames received through the second channel and the third channel, and separately calculate the frame signal quality of the two data frames. Then, when the timing duration reaches the preset duration, the data frame with the highest frame signal quality among the two data frames is selected. The frame signal quality can be measured, for example, by the bit error rate, and the lower the bit error rate, the higher the frame signal quality.
具体的,在另一个例子中,目标网络设备在接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个所述数据帧时开始计时;Specifically, in another example, the target network device starts timing when receiving the first data frame in each data frame that carries the same data transmitted on the N channels;
若接收到的第一个所述数据帧的误码率小于或等于预设值,则选择接收到的第一个所述数据帧。预设值的大小可以根据实际需求进行设置,在此不做限定。If the received bit error rate of the first data frame is less than or equal to a preset value, the received first data frame is selected. The size of the preset value can be set according to actual needs, and is not limited herein.
若接收到的第一个所述数据帧的误码率大于所述预设值,则继续接收与所述第一个所述数据帧所承载的数据相同的其他所述数据帧,直至接收到的数据帧的误码率小于或等于预设值则选择该数据帧或者计时时长达到预设时长为止;And if the received bit error rate of the first data frame is greater than the preset value, continuing to receive other data frames that are the same as the data carried by the first data frame until receiving If the error rate of the data frame is less than or equal to the preset value, the data frame is selected or the time duration reaches a preset duration;
其中,若在计时时长达到预设时长时,所接收到的承载相同数据的各个所述数据帧的误码率均大于所述预设值,则选择接收到的各个数据帧中的误码率最低的数据帧或者请求所述源网络设备重传。If the error rate of each of the received data frames carrying the same data is greater than the preset value when the time duration reaches a preset duration, the error rate in each received data frame is selected. The lowest data frame or request the source network device to retransmit.
从而保证了目标网络设备可以在预设时长内快速选择出质量较高的数据帧,既满足了质量要求,又同时兼顾了时效性。Therefore, the target network device can quickly select a high-quality data frame within a preset time period, which satisfies both the quality requirement and the timeliness.
步骤S240,所述目标网络设备转发选择的所述数据帧。 Step S240, the target network device forwards the selected data frame.
在目标网络设备为OLT110时,则OLT100向上游的其他设备转发数据帧。例如,可以为网络侧设备,网络侧设备例如可以为宽带网络网关(broadband network gateway,BNG)设备。When the target network device is the OLT 110, the OLT 100 forwards the data frame to other devices upstream. For example, it may be a network side device, and the network side device may be, for example, a broadband network gateway (BNG) device.
在目标网络设备为ONU130时,则ONU130向下游的其他网络设备转发数据帧,例如,可以向用户终端、交换机、路由器等转发数据帧,用户终端例如可以为电脑、电视机等。When the target network device is the ONU 130, the ONU 130 forwards the data frame to other network devices in the downstream. For example, the data frame can be forwarded to the user terminal, the switch, the router, etc., and the user terminal can be, for example, a computer or a television.
本发明实施例中,通过在源网络设备和目标网络设备之间设置N个通道,在源网络设备向目标网络设备发送数据时,生成N个承载相同数据的数据帧,每个通道分别对应传输一个数据帧,目标网络设备可以监测N个通道上传输的数据帧,并选择其中一个通道上的数据帧进行转发,从而有效地提高PON系统中传输数据的可靠性。In the embodiment of the present invention, when N channels are set between the source network device and the target network device, when the source network device sends data to the target network device, N data frames carrying the same data are generated, and each channel is correspondingly transmitted. A data frame, the target network device can monitor the data frames transmitted on the N channels, and select the data frames on one of the channels for forwarding, thereby effectively improving the reliability of the transmitted data in the PON system.
进一步的,如图7所示,步骤S200之前还包括:Further, as shown in FIG. 7, before step S200, the method further includes:
步骤S250,所述源网络设备接收数据流;在源网络设备为OLT110时,OLT110可以接收到数据流。该数据流可以为广播数据流。Step S250, the source network device receives the data stream; when the source network device is the OLT 110, the OLT 110 may receive the data stream. The data stream can be a broadcast data stream.
步骤S260,所述源网络设备将所述数据流按照次序依次分割成若干份数据;Step S260, the source network device sequentially divides the data stream into several pieces of data in order;
步骤S200具体包括:源网络设备将所分割的每一份数据分别对应生成N个所述数据帧,其中,所述每一份数据所对应生成的N个所述数据帧中,每一个所述数据帧均承载其对应的数据。The step S200 specifically includes: the source network device respectively corresponding to each of the divided data to generate N pieces of the data frames, wherein each of the N pieces of the data frames corresponding to each piece of data is Data frames each carry their corresponding data.
在步骤S201中,源网络设备在同一个通道中所发送的各个数据帧的顺序与各个数据帧所承载的数据在数据流中的顺序相同。从而使得源网络设备发送数据的顺序不变,能够有助于目标网络设备接收到顺序正确的数据帧。In step S201, the order of each data frame sent by the source network device in the same channel is the same as the data carried by each data frame in the data stream. Therefore, the order in which the source network device sends data is unchanged, and the target network device can be assisted to receive the data frame in the correct order.
在一实施例中,为了进一步使得目标网络设备能够按照正确次序转发各个数据帧,数据帧还包括第三指示信息,所述第三指示信息指示该数据帧所承载的数据在所述数据流中的位置。目标网络设备根据所述第三指示信息确定选择的各个所述数据帧在所述数据流中的位置,并根据各个所述数据帧在所述数据流中的位置按次序转发各个所述数据帧。In an embodiment, in order to further enable the target network device to forward the respective data frames in the correct order, the data frame further includes third indication information, the third indication information indicating that the data carried by the data frame is in the data stream. s position. Determining, by the target network device, a location of each selected data frame in the data stream according to the third indication information, and forwarding each of the data frames in order according to a position of each of the data frames in the data stream .
上述保留字段可以全部用作第三指示信息,也可以部分用作第三指示信息。同一个数据流所分割的各份数据所对应的第三指示信息,可以按照递增的顺序或者递减的顺序取值。例如,如图8所示,某一个数据流共分割为7份数据,第1份数据的第三指示信息可以为301,第2份数据的第三指示信息可以为302,以此类推,第7份数据的第三指示信息可以为307。假设通过2个通道(图示为通道1和通道2)发送该数据流,目标网络设备先通过通道1接收到该数据流,因此目标网络设备优先选择通道1接收的数据帧。但是通道1中的第3份数据帧丢失,目标网络设备可以根据第三指示信息识别通道1接收到的数据帧,并确定出第3份数据帧丢失。同时,目标网络设备还可以根据第三指示信息识别出通道2中的第3份数据帧,因此,将选择通道2中的第3份数据帧。The above reserved fields may all be used as the third indication information, or may be partially used as the third indication information. The third indication information corresponding to each piece of data divided by the same data stream may be in an increasing order or a decreasing order. For example, as shown in FIG. 8, one data stream is divided into 7 pieces of data, the third indication information of the first data may be 301, the third indication information of the second data may be 302, and so on. The third indication information of the 7 pieces of data may be 307. It is assumed that the data stream is transmitted through two channels (illustrated as channel 1 and channel 2), and the target network device first receives the data stream through channel 1, so the target network device preferentially selects the data frame received by channel 1. However, the third data frame in channel 1 is lost, and the target network device can identify the data frame received by channel 1 according to the third indication information, and determine that the third data frame is lost. At the same time, the target network device can also identify the third data frame in the channel 2 according to the third indication information, and therefore, the third data frame in the channel 2 will be selected.
从而目标网络设备可以直接根据第三指示信息确定数据帧在数据流中的位置。Thereby, the target network device can directly determine the location of the data frame in the data stream according to the third indication information.
在GEM帧或XGEM帧中,上述保留字段可以包括上述第三指示信息。在以太帧中,上述业务信息字段还可以包括上述第三指示信息。或者,第一指示信息和第三指示信息可以合为一个字段。例如,可以将第一指示信息复用为第三指示信息。上述根据第1份数据所生成的各个数据帧中,均包括字段301,该字段301既可以作为第一指示信息,也可以作为第三指示信息来识别该数据帧的位置。 In the GEM frame or the XGEM frame, the above reserved field may include the foregoing third indication information. In the Ethernet frame, the foregoing service information field may further include the foregoing third indication information. Alternatively, the first indication information and the third indication information may be combined into one field. For example, the first indication information may be multiplexed into the third indication information. Each of the data frames generated according to the first data includes a field 301, which may be used as the first indication information or the third indication information to identify the location of the data frame.
本发明还提供一种网络设备,该网络设备可以为OLT110,也可以为ONU130。The present invention also provides a network device, which may be an OLT 110 or an ONU 130.
如图9所示,该网络设备包括处理器410、存储器420、收发器430和波分复用器440。As shown in FIG. 9, the network device includes a processor 410, a memory 420, a transceiver 430, and a wavelength division multiplexer 440.
处理器410可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路ASIC,或者至少一个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 410 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit ASIC, or at least one integrated circuit for executing related programs to implement the technology provided by the embodiments of the present invention. Program.
存储器420可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器420可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器420中,并由处理器410来执行。The memory 420 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 420 can store an operating system and other applications. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing the technical solution provided by the embodiment of the present invention is saved in the memory 420 and executed by the processor 410.
在一实施例中,处理器410内部可以包括存储器420。在另一实施例中,处理器410和存储器420是两个独立的结构。In an embodiment, the processor 410 may internally include a memory 420. In another embodiment, processor 410 and memory 420 are two separate structures.
收发器430可以包括光发射器和/或光接收器。光发射器可以用于发送光信号,光接收器可以用于接收光信号。光发射器可以通过发光器件,例如气体激光器、固体激光器、液体激光器、半导体激光器、直调激光器等实现。光接收器可以通过光检测器,例如光电检波器或者光电二极管(如雪崩二极管)等实现。收发器430还可以包括数模转换器和模数转换器。 Transceiver 430 can include a light emitter and/or a light receiver. The light emitter can be used to transmit an optical signal and the optical receiver can be used to receive an optical signal. The light emitter can be realized by a light emitting device such as a gas laser, a solid laser, a liquid laser, a semiconductor laser, a direct modulation laser, or the like. The light receiver can be implemented by a photodetector such as a photodetector or a photodiode such as an avalanche diode. The transceiver 430 can also include a digital to analog converter and an analog to digital converter.
该网络设备还可以包括媒体访问控制(medium access control,MAC),用于执行解析数据等功能。该MAC可以独立于处理器410存在,也可以是处理器410的一部分。The network device may also include a medium access control (MAC) for performing functions such as parsing data. The MAC may be present independently of processor 410 or may be part of processor 410.
波分复用器440与收发器430相连,当网络设备发送光信号时,波分复用器充当复用器。当网络设备接收光信号时,波分复用器充当解复用器。波分复用器也可以称为光耦合器。The wavelength division multiplexer 440 is coupled to the transceiver 430, which acts as a multiplexer when the network device transmits an optical signal. When the network device receives the optical signal, the wavelength division multiplexer acts as a demultiplexer. A wavelength division multiplexer can also be referred to as an optical coupler.
在该网络设备作为上述源网络设备时,处理器410用于生成上述数据帧,将数据流分割为若干份数据等,收发器430用于接收数据流,向目标网络设备发送数据帧等。具体的,从上述实施例可以看出,图9所示的处理器410可以执行图2和图7中的步骤S200和S260,收发器430可以执行图2和图7中的步骤S210和S250。处理器410和收发器430执行上述步骤时的更多细节可以参照上述数据传输方法各个实施例及附图的相关描述,此处不再赘述。When the network device is used as the source network device, the processor 410 is configured to generate the data frame, divide the data stream into a plurality of data, and the like, and the transceiver 430 is configured to receive the data stream, send the data frame, and the like to the target network device. Specifically, as can be seen from the above embodiment, the processor 410 shown in FIG. 9 can perform steps S200 and S260 in FIGS. 2 and 7, and the transceiver 430 can perform steps S210 and S250 in FIGS. 2 and 7. For more details of the foregoing steps of the processor 410 and the transceiver 430, reference may be made to the related descriptions of the foregoing embodiments of the data transmission method and the accompanying drawings, and details are not described herein.
在该网络设备作为上述目标网络设备时,处理器410用于监测上述数据帧,以及选择数据帧等,收发器430用于转发数据帧等。具体的,从上述实施例可以看出,图9所示的处理器410可以执行图2和图7中的步骤S220和S230,收发器430可以执行图2和图7中的步骤S240。处理器410和收发器430执行上述步骤时的更多细节可以参照上述数据传输方法各个实施例及附图的相关描述,此处不再赘述。When the network device is the target network device, the processor 410 is configured to monitor the data frame, select a data frame, etc., and the transceiver 430 is configured to forward a data frame or the like. Specifically, as can be seen from the above embodiment, the processor 410 shown in FIG. 9 can perform steps S220 and S230 in FIGS. 2 and 7, and the transceiver 430 can perform step S240 in FIGS. 2 and 7. For more details of the foregoing steps of the processor 410 and the transceiver 430, reference may be made to the related descriptions of the foregoing embodiments of the data transmission method and the accompanying drawings, and details are not described herein.
本发明实施例中,通过在源网络设备和目标网络设备之间设置N个通道,在源网络设备向目标网络设备发送数据时,生成N个承载相同数据的数据帧,每个通道分别对应传输一个数据帧,目标网络设备可以监测N个通道上传输的数据帧,并选择其中一个通道上的数据帧进行转发,从而有效地提高PON系统中传输数据的准确性。In the embodiment of the present invention, when N channels are set between the source network device and the target network device, when the source network device sends data to the target network device, N data frames carrying the same data are generated, and each channel is correspondingly transmitted. A data frame, the target network device can monitor the data frames transmitted on the N channels, and select the data frames on one of the channels for forwarding, thereby effectively improving the accuracy of the data transmitted in the PON system.
本发明还提供一种无源光网络系统,该无源光网络系统包括上述实施例描述的源网络 设备和目标网络设备。具体可以参照上述各个实施例,在此不再赘述。The present invention also provides a passive optical network system including the source network described in the foregoing embodiments. Device and target network device. For details, refer to the foregoing various embodiments, and details are not described herein again.
本发明实施例还提供一种数据帧,该数据帧的具体描述可以参照上述实施例,在此不再赘述。The embodiment of the present invention further provides a data frame, and the specific description of the data frame may refer to the foregoing embodiment, and details are not described herein again.
本发明实施例还提供一种通信装置,该通信装置可以为上述网络设备,也可以为网络设备中的某一模块、组件、电路或器件等。The embodiment of the present invention further provides a communication device, which may be the above network device, or may be a certain module, component, circuit or device in the network device.
在该通信装置用于源网络设备时,该通信装置包括:When the communication device is used in a source network device, the communication device includes:
生成模块,用于生成N个承载相同数据的数据帧,N为大于或等于2的整数;a generating module, configured to generate N data frames carrying the same data, where N is an integer greater than or equal to 2;
收发模块,用于通过N个通道向目标网络设备发送各个所述数据帧,每一所述通道分别对应发送一所述数据帧。The transceiver module is configured to send each of the data frames to the target network device through the N channels, and each of the channels respectively sends a data frame.
进一步的,该收发模块还用于接收数据流;Further, the transceiver module is further configured to receive a data stream;
该通信装置还包括分割模块,用于将所述数据流按照次序依次分割成若干份数据;The communication device further includes a segmentation module for sequentially dividing the data stream into a plurality of pieces of data in order;
该生成模块具体用于将所分割的每一份数据分别对应生成N个所述数据帧,其中,所述每一份数据所对应生成的N个所述数据帧中,每一个所述数据帧均承载其对应的数据。The generating module is specifically configured to generate N pieces of the data frames corresponding to each of the divided data, wherein each of the N data frames corresponding to each piece of data is generated. Both carry their corresponding data.
通道的设置,数据帧的设置等,可以参照上述各个实施例的描述,在此不再赘述。For the setting of the channel, the setting of the data frame, and the like, reference may be made to the description of the above embodiments, and details are not described herein again.
在该通信装置用于目标网络设备时,该通信装置包括:When the communication device is used for a target network device, the communication device includes:
监测模块,用于监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N为大于或等于2的整数;a monitoring module, configured to monitor a data frame that the source network device sends on the preset N channels and carries the same data, where N is an integer greater than or equal to 2;
选择模块,用于选择所述N个通道中的其中一个通道所传输的所述数据帧;a selection module, configured to select the data frame transmitted by one of the N channels;
收发模块,用于转发选择的所述数据帧。And a transceiver module, configured to forward the selected data frame.
进一步的,选择模块具体用于根据所述N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择所述数据帧。Further, the selecting module is specifically configured to select the data frame according to a receiving sequence and a frame signal quality of each data frame carrying the same data transmitted on the N channels.
具体的,该通信装置还包括计时模块,用于在收发模块接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个所述数据帧时开始计时;Specifically, the communication device further includes a timing module, configured to start timing when the transceiver module receives the first one of the data frames of the data frames carrying the same data transmitted on the N channels;
选择模块具体用于在计时时长达到预设时长时,在接收到的第一个所述数据帧和与第一个所述数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。The selecting module is specifically configured to: when the first time period of the received data frame and the first data frame carrying the same data, select the data frame with the highest frame signal quality when the time duration reaches a preset time length. .
进一步的,该通信装置还包括确定模块,用于根据所述第三指示信息确定选择的各个所述数据帧在所述数据流中的位置,该收发模块还用于根据各个所述数据帧在所述数据流中的位置按次序转发各个所述数据帧。Further, the communication device further includes a determining module, configured to determine, according to the third indication information, a location of each selected data frame in the data stream, where the transceiver module is further configured to: according to each of the data frames The locations in the data stream forward each of the data frames in order.
可以理解的是,该通信装置同样具有上述各个实施例所描述的有益效果,在此不再赘述。It can be understood that the communication device also has the beneficial effects described in the foregoing various embodiments, and details are not described herein again.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实 现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed device may be implemented in other manners. Now. For example, the device embodiments described above are merely illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(ROM,Read-Only Memory)或者随机存取存储器(RAM,Random Access Memory)等各种可以存储程序代码的介质。The above-described integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention. The foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like. The medium of the code.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (23)

  1. 一种PON系统中的数据发送方法,其特征在于,该方法包括:A data transmission method in a PON system, characterized in that the method comprises:
    源网络设备在PON成帧层生成N个承载相同数据的数据帧,N为大于或等于2的整数;The source network device generates N data frames carrying the same data in the PON framing layer, where N is an integer greater than or equal to 2;
    源网络设备通过N个通道向同一个目标网络设备发送各个所述数据帧,每一所述通道分别对应发送一所述数据帧;The source network device sends each of the data frames to the same target network device through N channels, and each of the channels respectively sends one of the data frames;
    其中,所述源网络设备为光线路终端,所述目标网络设备为光网络单元;The source network device is an optical line terminal, and the target network device is an optical network unit;
    或者,所述源网络设备为光网络单元,所述目标网络设备为光线路终端。Alternatively, the source network device is an optical network unit, and the target network device is an optical line terminal.
  2. 根据权利要求1所述的方法,其特征在于,所述PON成帧层为GEM层或XGEM层,所述数据帧为GEM帧或XGEM帧;或者,所述PON成帧层为RS层,所述数据帧为以太帧。The method according to claim 1, wherein the PON framing layer is a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame; or the PON framing layer is an RS layer. The data frame is an Ethernet frame.
  3. 根据权利要求2所述的方法,其特征在于,所述数据帧包括第一指示信息,任意两个所述数据帧之间,若承载的数据相同,则所包含的所述第一指示信息相同;若承载的数据不同,则所包含的所述第一指示信息不同。The method according to claim 2, wherein the data frame comprises first indication information, and if the data carried by the two of the data frames are the same, the first indication information included is the same If the data carried is different, the first indication information included is different.
  4. 根据权利要求3所述的方法,其特征在于,所述GEM帧和所述XGEM帧均包括保留字段,所述保留字段包括所述第一指示信息;所述以太帧包括长度/类型指示字段和业务信息字段,所述长度/类型指示字段用于指示所述业务信息字段的类型和/或长度,所述业务信息字段包括所述第一指示信息。The method according to claim 3, wherein the GEM frame and the XGEM frame each include a reserved field, the reserved field includes the first indication information; the Ethernet frame includes a length/type indication field and a service information field, the length/type indication field is used to indicate a type and/or a length of the service information field, and the service information field includes the first indication information.
  5. 一种PON系统中的数据接收方法,其特征在于,该方法包括:A data receiving method in a PON system, characterized in that the method comprises:
    目标网络设备监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N为大于或等于2的整数;The target network device monitors a data frame that is sent by the source network device on the preset N channels and carries the same data, where N is an integer greater than or equal to 2;
    所述目标网络设备选择所述N个通道中的其中一个通道所传输的所述数据帧;The target network device selects the data frame transmitted by one of the N channels;
    所述目标网络设备转发选择的所述数据帧;Transmitting, by the target network device, the selected data frame;
    其中,所述源网络设备为光线路终端,所述目标网络设备为光网络单元;The source network device is an optical line terminal, and the target network device is an optical network unit;
    或者,所述源网络设备为光网络单元,所述目标网络设备为光线路终端。Alternatively, the source network device is an optical network unit, and the target network device is an optical line terminal.
  6. 根据权利要求5所述的方法,其特征在于,所述目标网络设备选择所述N个通道中的其中一个通道所传输的所述数据帧包括:The method according to claim 5, wherein the selecting, by the target network device, the data frame transmitted by one of the N channels comprises:
    所述目标网络设备根据所述N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择所述数据帧。The target network device selects the data frame according to a receiving sequence and a frame signal quality of respective data frames carrying the same data transmitted on the N channels.
  7. 根据权利要求5或6所述的方法,其特征在于,所述数据帧为GEM帧或XGEM帧,或者,所述数据帧为以太帧。The method according to claim 5 or 6, wherein the data frame is a GEM frame or an XGEM frame, or the data frame is an Ethernet frame.
  8. 根据权利要求7所述的方法,其特征在于,所述数据帧包括第一指示信息,任意两个所述数据帧之间,若承载的数据相同,则所包含的所述第一指示信息相同;若承载的数据不同,则所包含的所述第一指示信息不同。The method according to claim 7, wherein the data frame comprises first indication information, and if the data carried by the two of the data frames are the same, the first indication information included is the same. If the data carried is different, the first indication information included is different.
  9. 一种网络设备,其特征在于,所述网络设备包括:A network device, where the network device includes:
    处理器,用于在PON成帧层生成N个承载相同数据的数据帧,N为大于或等于2的整数;a processor, configured to generate, in a PON framing layer, N data frames carrying the same data, where N is an integer greater than or equal to 2;
    收发器,用于通过N个通道向同一个目标网络设备发送各个所述数据帧,每一所述通道分别对应发送一所述数据帧; a transceiver, configured to send each of the data frames to the same target network device through the N channels, where each of the channels respectively sends a data frame;
    其中,所述网络设备为光线路终端,所述目标网络设备为光网络单元;The network device is an optical line terminal, and the target network device is an optical network unit;
    或者,所述网络设备为光线路终端,所述目标网络设备为光网络单元。Alternatively, the network device is an optical line terminal, and the target network device is an optical network unit.
  10. 根据权利要求9所述的网络设备,其特征在于,所述PON成帧层为GEM层或XGEM层,所述数据帧为GEM帧或XGEM帧;或者,所述PON成帧层为RS层,所述数据帧为以太帧。The network device according to claim 9, wherein the PON framing layer is a GEM layer or an XGEM layer, and the data frame is a GEM frame or an XGEM frame; or the PON framing layer is an RS layer. The data frame is an Ethernet frame.
  11. 根据权利要求9或10所述的网络设备,其特征在于,不同所述通道的波长不同,或者,不同所述通道所对应的网络设备的发送端口不同。The network device according to claim 9 or 10, wherein the wavelengths of the different channels are different, or the transmission ports of the network devices corresponding to the different channels are different.
  12. 根据权利要求10所述的网络设备,其特征在于,所述数据帧包括第一指示信息,任意两个所述数据帧之间,若承载的数据相同,则所包含的所述第一指示信息相同;若承载的数据不同,则所包含的所述第一指示信息不同。The network device according to claim 10, wherein the data frame comprises first indication information, and the first indication information included in the data frame if any of the two data frames are the same The same; if the data carried is different, the first indication information included is different.
  13. 根据权利要求12所述的网络设备,其特征在于,所述GEM帧和所述XGEM帧均包括保留字段,所述保留字段包括所述第一指示信息;所述以太帧包括长度/类型指示字段和业务信息字段,所述长度/类型指示字段用于指示所述业务信息字段的类型和/或长度,所述业务信息字段包括所述第一指示信息。The network device according to claim 12, wherein the GEM frame and the XGEM frame each include a reserved field, the reserved field includes the first indication information; and the Ethernet frame includes a length/type indication field And a service information field, the length/type indication field is used to indicate a type and/or a length of the service information field, and the service information field includes the first indication information.
  14. 根据权利要求10、12或13所述的网络设备,其特征在于,所述数据帧包括第二指示信息,所述第二指示信息指示所述N值。The network device according to claim 10, 12 or 13, wherein the data frame comprises second indication information, and the second indication information indicates the N value.
  15. 根据权利要求14所述的网络设备,其特征在于,所述GEM帧和所述XGEM帧均包括保留字段,所述保留字段包括所述第二指示信息;所述以太帧包括长度/类型指示字段和业务信息字段,所述长度/类型指示字段用于指示所述业务信息字段的类型和/或长度,所述业务信息字段包括所述第二指示信息。The network device according to claim 14, wherein the GEM frame and the XGEM frame each include a reserved field, and the reserved field includes the second indication information; the Ethernet frame includes a length/type indication field And a service information field, the length/type indication field is used to indicate a type and/or a length of the service information field, and the service information field includes the second indication information.
  16. 根据权利要求10、12至15任一项所述的网络设备,其特征在于,A network device according to any one of claims 10, 12 to 15, wherein
    所述收发器还用于接收数据流;The transceiver is further configured to receive a data stream;
    所述处理器还用于将所述数据流按照次序依次分割成若干份数据;The processor is further configured to sequentially divide the data stream into a plurality of pieces of data in order;
    所述处理器具体用于将所分割的每一份数据分别对应生成N个所述数据帧,其中,所述每一份数据所对应生成的N个所述数据帧中,每一个所述数据帧均承载其对应的数据。The processor is specifically configured to generate, according to each of the divided data, N data frames, where each of the N data frames corresponding to each piece of data is generated. Frames carry their corresponding data.
  17. 根据权利要求16所述的网络设备,其特征在于,所述数据帧还包括第三指示信息,所述第三指示信息指示该数据帧所承载的数据在所述数据流中的位置。The network device according to claim 16, wherein the data frame further comprises third indication information, the third indication information indicating a location of data carried by the data frame in the data stream.
  18. 一种网络设备,其特征在于,所述网络设备包括:A network device, where the network device includes:
    处理器,用于监测源网络设备在预设的N个通道上发送的承载相同数据的数据帧,N为大于或等于2的整数;a processor, configured to monitor a data frame that is sent by the source network device on the preset N channels and carries the same data, where N is an integer greater than or equal to 2;
    所述处理器还用于选择所述N个通道中的其中一个通道所传输的所述数据帧;The processor is further configured to select the data frame transmitted by one of the N channels;
    所述收发器用于转发选择的所述数据帧;The transceiver is configured to forward the selected data frame;
    其中,所述源网络设备为光线路终端,所述网络设备为光网络单元;The source network device is an optical line terminal, and the network device is an optical network unit;
    或者,所述源网络设备为光网络单元,所述网络设备为光线路终端。Alternatively, the source network device is an optical network unit, and the network device is an optical line terminal.
  19. 根据权利要求18所述的网络设备,其特征在于,所述处理器具体用于根据所述N个通道上所传输的承载相同数据的各个数据帧的接收顺序和帧信号质量选择所述数据帧。The network device according to claim 18, wherein the processor is specifically configured to select the data frame according to a receiving sequence and a frame signal quality of each data frame carrying the same data transmitted on the N channels. .
  20. 根据权利要求19所述的网络设备,其特征在于,A network device according to claim 19, wherein
    在所述收发器接收到所述N个通道上所传输的承载相同数据的各个数据帧中的第一个 所述数据帧时,所述处理器开始计时;Receiving, in the transceiver, the first of the respective data frames carrying the same data transmitted on the N channels The processor starts timing when the data frame is in progress;
    在所述处理器的计时时长达到预设时长时,所述处理器在所述收发器接收到的第一个所述数据帧和与第一个所述数据帧承载相同数据的数据帧中,选择帧信号质量最高的数据帧。When the timing of the processor reaches a preset duration, the processor is in the first data frame received by the transceiver and the data frame carrying the same data as the first data frame. Select the data frame with the highest frame signal quality.
  21. 根据权利要求18至20任一项所述的网络设备,其特征在于,所述数据帧为GEM帧或XGEM帧,或者,所述数据帧为以太帧。The network device according to any one of claims 18 to 20, wherein the data frame is a GEM frame or an XGEM frame, or the data frame is an Ethernet frame.
  22. 根据权利要求18至21任一项所述的网络设备,其特征在于,所述数据帧包括第三指示信息,所述第三指示信息指示该数据帧所承载的数据在数据流中的位置;The network device according to any one of claims 18 to 21, wherein the data frame includes third indication information, and the third indication information indicates a location of data carried by the data frame in a data stream;
    所述处理器还用于根据所述第三指示信息确定选择的各个所述数据帧在所述数据流中的位置,所述收发器还用于根据各个所述数据帧在所述数据流中的位置按次序转发各个所述数据帧。The processor is further configured to determine, according to the third indication information, a location of each selected data frame in the data stream, where the transceiver is further configured to be in the data stream according to each of the data frames. The location forwards each of the data frames in order.
  23. 一种无源光网络系统,其特征在于,所述无源光网络系统包括如权利要求9至17任一项所述的网络设备、以及如权利要求18至22任一项所述的网络设备。 A passive optical network system, comprising: the network device according to any one of claims 9 to 17, and the network device according to any one of claims 18 to 22. .
PCT/CN2017/114634 2017-12-05 2017-12-05 Method for transmitting and receiving data in pon system, network device, and system WO2019109252A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/114634 WO2019109252A1 (en) 2017-12-05 2017-12-05 Method for transmitting and receiving data in pon system, network device, and system
CN201780096419.3A CN111316575B (en) 2017-12-05 2017-12-05 Data sending and receiving method in PON system, network equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114634 WO2019109252A1 (en) 2017-12-05 2017-12-05 Method for transmitting and receiving data in pon system, network device, and system

Publications (1)

Publication Number Publication Date
WO2019109252A1 true WO2019109252A1 (en) 2019-06-13

Family

ID=66751273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114634 WO2019109252A1 (en) 2017-12-05 2017-12-05 Method for transmitting and receiving data in pon system, network device, and system

Country Status (2)

Country Link
CN (1) CN111316575B (en)
WO (1) WO2019109252A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584809A (en) * 2020-12-02 2022-06-03 华为技术有限公司 Data transmission method and system and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973239A (en) * 2020-07-24 2022-01-25 上海诺基亚贝尔股份有限公司 Method, apparatus, optical network unit, optical line terminal and medium for communication

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442692A (en) * 2006-09-01 2009-05-27 华为技术有限公司 Data transmission method, system and apparatus
CN101867392A (en) * 2009-04-15 2010-10-20 中兴通讯股份有限公司 Method, equipment and system for improving type B protection switching performance
CN101888268A (en) * 2009-05-14 2010-11-17 中兴通讯股份有限公司 Method and device for realizing backbone optical fiber protection in Ethernet passive optical network
CN103974152A (en) * 2014-05-29 2014-08-06 国家电网公司 Optical network distribution unit
CN106921430A (en) * 2017-02-24 2017-07-04 烽火通信科技股份有限公司 The realization method and system of TYPE C optical link protection systems in EPON
CN107302397A (en) * 2016-04-14 2017-10-27 中兴通讯股份有限公司 EPON framework and its method and optical network device for realizing data transfer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103262449B (en) * 2010-12-20 2016-08-10 瑞典爱立信有限公司 passive optical network device and method
CN105763245A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Optical transceiving module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442692A (en) * 2006-09-01 2009-05-27 华为技术有限公司 Data transmission method, system and apparatus
CN101867392A (en) * 2009-04-15 2010-10-20 中兴通讯股份有限公司 Method, equipment and system for improving type B protection switching performance
CN101888268A (en) * 2009-05-14 2010-11-17 中兴通讯股份有限公司 Method and device for realizing backbone optical fiber protection in Ethernet passive optical network
CN103974152A (en) * 2014-05-29 2014-08-06 国家电网公司 Optical network distribution unit
CN107302397A (en) * 2016-04-14 2017-10-27 中兴通讯股份有限公司 EPON framework and its method and optical network device for realizing data transfer
CN106921430A (en) * 2017-02-24 2017-07-04 烽火通信科技股份有限公司 The realization method and system of TYPE C optical link protection systems in EPON

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584809A (en) * 2020-12-02 2022-06-03 华为技术有限公司 Data transmission method and system and electronic equipment

Also Published As

Publication number Publication date
CN111316575A (en) 2020-06-19
CN111316575B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US10735836B2 (en) Passive optical network communications method, apparatus and system
JP5372960B2 (en) Protected passive optical communication system
US9391734B2 (en) Network system
US20120141139A1 (en) System and Method for Optical-Electrical-Optical Reach Extension in a Passive Optical Network
US10939190B2 (en) Passive optical network communications method, apparatus and system
US10652635B2 (en) Passive optical network communications method and apparatus, and system
JP2017516406A (en) Method, apparatus and system for wavelength switching
US20190089477A1 (en) Channel Bonding in Multiple-Wavelength Passive Optical Networks (PONs)
WO2014028611A1 (en) Inter-optical line terminal (olt) communication in multiple-olt passive optical networks (pons)
JP6367983B2 (en) Optical line unit (OLT) support for optical network unit (ONU) calibration
US20100183316A1 (en) Methods and Systems for Dynamic Equalization Delay Passive Optical Networks
JP6152225B2 (en) WDM / TDM-PON system and its transmission start time correction method
WO2019109252A1 (en) Method for transmitting and receiving data in pon system, network device, and system
JP2011217298A (en) Pon system, station-side device and terminal-side device thereof, and rtt correction method
JP2016149609A (en) Access control system, access control method, master station device, and slave station device
WO2012019458A1 (en) Ranging method and system in passive optical network
JP6262050B2 (en) Optical communication system and control method thereof
WO2013075507A1 (en) Data sending method and system
WO2012071828A1 (en) Method and system for transmitting data based on full protection mode in passive optical network
WO2019019073A1 (en) Data processing method, optical line terminal, optical network unit and system
WO2024045812A1 (en) Data transmission method, related equipment, and optical communication system
WO2019056371A1 (en) Data packet processing method, optical line terminal, optical network unit, and system

Legal Events

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

Ref document number: 17934153

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17934153

Country of ref document: EP

Kind code of ref document: A1