CN111316575B - Data sending and receiving method in PON system, network equipment and system - Google Patents

Data sending and receiving method in PON system, network equipment and system Download PDF

Info

Publication number
CN111316575B
CN111316575B CN201780096419.3A CN201780096419A CN111316575B CN 111316575 B CN111316575 B CN 111316575B CN 201780096419 A CN201780096419 A CN 201780096419A CN 111316575 B CN111316575 B CN 111316575B
Authority
CN
China
Prior art keywords
data
frame
network device
indication information
data frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780096419.3A
Other languages
Chinese (zh)
Other versions
CN111316575A (en
Inventor
郑刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN111316575A publication Critical patent/CN111316575A/en
Application granted granted Critical
Publication of CN111316575B publication Critical patent/CN111316575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a data sending and receiving method in a PON system, network equipment and a system. The source network equipment generates N data frames carrying the same data, wherein N is greater than or equal to 2, and sends each data frame to the target network equipment through N channels, and each channel sends one data frame. The target network device selects a data frame to be transmitted by one of the channels. One of the source network device and the target network device is an OLT, and the other is an ONU. The different channels may be distinguished by wavelength or fiber links. The data frame can be provided with first indication information, and the first indication information carrying the same data is the same; second indication information may also be provided to indicate the value of N. For the same data, the source network device sends the data through N channels, and if transmission of part of the channels fails or transmission is wrong, the target network device can still select the data frame in the channel which is successfully or correctly transmitted, so that the reliability of data transmission is effectively improved.

Description

Data sending and receiving method in PON system, network equipment and system
Technical Field
The present invention relates to the field of optical communication technologies, and in particular, to a method, a network device, and a system for transmitting and receiving data in a PON system.
Background
Passive Optical Network (PON) technology is a point-to-multipoint Optical 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), wherein the OLT is connected to the ODN, and the ODN is connected to a plurality of ONUs.
In the prior art, in order to enable reliable communication between the OLT and the ONU, the adopted protection mechanism generally has a Type B protection mechanism, a Type C protection mechanism, and the like.
The Type B protection mechanism sets a primary fiber and a backup fiber between the OLT and the ODN, where any two PON ports in the OLT support protection switching in or between boards, or two PON ports belonging to different OLTs respectively support protection switching, and the condition for triggering protection switching generally includes a failure of a main fiber or a failure of a PON board.
The Type C protection mechanism sets a trunk optical fiber and a branch optical fiber between the OLT and each ONU, and performs protection switching when the trunk optical fiber fails or the branch optical fiber fails or the PON board fails.
In summary, in the prior art, generally, switching is performed when an optical fiber fails or a PON single board fails. However, when the main fiber or the PON board does not fail, but data transmitted through a channel where the main fiber is located has a small number of packets with errors, protection switching is not performed, so that the transmitted data is inaccurate, for example, a screen of a broadcast video service may be lost, or even a screen may be blacked.
Disclosure of Invention
The embodiment of the invention provides a data sending and receiving method in a PON system, network equipment and the PON system, and aims to improve the reliability of data transmission in the PON system.
In a first aspect, a data sending method in a PON system is provided, where an OLT sends data to an ONU, and an ONU sends data to the OLT, where a data sender in the OLT and the ONU is referred to as a source network device, and a data receiver in the OLT is referred to as a target network device, and the method includes: the source network device generates N data frames carrying the same data on a PON framing layer, wherein N is greater than or equal to 2, and then sends the generated N data frames to the same target network device through N channels, and each channel correspondingly sends one data frame. Therefore, the same data is sent through the N channels, and the reliability of data transmission is effectively improved.
For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frames are GEM frames or XGEM frames;
for example, in an EPON system, the PON framing layer is an RS layer and the data frames are ethernet frames.
The data frames may include first indication information, and if the data carried by any two data frames is the same, the first indication information included in the data frames is the same; if the carried data is different, the contained first indication information is different. Therefore, the target network equipment can directly and quickly identify the N data frames carrying the same data according to the first indication information. The first indication information may be located in a header of the data frame, which enables faster identification. In the GEM frame or the XGEM frame, a reserved field is included, and the reserved field may include the 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 being used to indicate the type and/or length of the service information field, and the service information field including the first indication information.
The data frame may further include second indication information indicating the value of N. The target network equipment can determine the number of data frames bearing the same data according to the N value, and when the N data frames bearing the same data are monitored, the target network equipment can stop monitoring the data frames bearing the data, so that the operation efficiency is improved, and the operation resources are not wasted. In the GEM frame or the XGEM frame, the reserved field may include the second indication information. In the ethernet frame, the service information field may further include the second indication information.
The data frame may further include third indication information. When the source network device is the OLT, the OLT generally sends a continuous broadcast data stream to the ONU, and the ONU needs to segment the broadcast data stream, where each segment of data correspondingly generates a plurality of data frames, and each data frame carries the data. The sequence of each data frame sent by the source network device in the same channel is the same as the sequence of data carried by each data frame in the data stream. However, due to link problems or loss of a part of the data frames, the sequence of the data frames arriving at the target network device may change, and therefore the positions of the data frames need to be indicated. The third indication information is used to indicate the position of each data frame, so that the ONU can restore the data stream according to the third indication information after receiving the data frame. The value of the third indication information may be sequentially increased or decreased according to the order of the data stream. In the GEM frame or the XGEM frame, the reserved field may include the third indication information. In the ethernet frame, the service information field may further include the 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.
The reserved field may be 18 bytes, and 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.
Different channels can be distinguished through the wavelength, and the optical fiber link can be saved and the frequency spectrum resource can be effectively utilized due to the fact that the wavelengths of the different channels are different.
Different channels can also be distinguished through optical fiber links, and the optical fiber links of different channels are different, that is, the sending ports of the source network devices corresponding to different channels are different. The existing Type C mechanism optical fiber link can be utilized, and the frequency spectrum resources are saved.
In a second aspect, a data receiving method in a PON system is provided, where data sent by an ONU may be received by an OLT, and data sent by the OLT may also be received by the ONU, where a data sending party of the OLT and the ONU is referred to as a source network device, and a data receiving party is referred to as a target network device, the method including: the target network device monitors data frames which are sent by the source network device on preset N channels and bear the same data, wherein N is larger than or equal to 2, and the target network device selects the data frame transmitted by one channel of the N channels and forwards the selected data frame. Therefore, for the same data, the source network device sends the data through the N channels, and if transmission of part of the channels fails or transmission is wrong, the target network device can still select the data frame in the channel which is successfully or correctly transmitted, so that the reliability of data transmission is effectively improved.
The target network device may select the data frames based on the received order and frame signal quality of the individual data frames carrying the same data transmitted on the N lanes. The receiving sequence of the data frames and the quality of the frame signals are considered comprehensively, and the data frames with the receiving sequence closer to the front and the higher quality of the frame signals are selected, so that the target network equipment is ensured to select the data frames with the higher quality all the time, the timeliness is also considered, and the too large time delay cannot be generated.
One implementation manner is that the target network device starts timing when receiving the first data frame of the data frames carrying the same data transmitted on the N channels. And when the timing duration reaches a preset duration, selecting a data frame with the highest frame signal quality from the received first data frame and the data frame which bears the same data as the first data frame. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
The other implementation mode is that the target network equipment starts timing when receiving a first data frame in each data frame which carries the same data and is transmitted on the N channels; if the frame signal quality of the received first data frame is greater than or equal to a preset value, selecting the received first data frame; if the frame signal quality of the received first data frame is less than a preset value, continuing to receive other data frames which are 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 the preset value, and selecting the data frame or the timing duration to reach the preset duration; if the frame signal quality of each received data frame carrying the same data is less than a preset value when the timing duration reaches a preset duration, selecting the data frame with the highest frame signal quality in each received data frame or requesting the source network device to retransmit. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
For a specific configuration method of the data frame and the channel in the second aspect, reference may be made to the first aspect, which is not described herein again.
And the target network equipment determines the position of each selected data frame in the data stream according to the third indication information, and forwards each data frame in sequence according to the position of each data frame in the data stream.
In a third aspect, a network device is provided, where the network device may be an OLT or an ONU. The network equipment is used as the equipment of a sender when the OLT and the ONU transmit data. The network equipment comprises a processor and a transceiver, wherein the processor is used for generating N data frames carrying the same data in a PON framing layer, N is larger than or equal to 2, the transceiver is used for sending the generated N data frames to the same target network equipment through N channels, and each channel correspondingly sends one data frame. Therefore, the same data is sent through the N channels, and the reliability of data transmission is effectively improved.
For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frames are GEM frames or XGEM frames;
for example, in an EPON system, the PON framing layer is an RS layer and the data frames are ethernet frames.
The specific configuration method of the data frame and the channel in the third aspect may refer to the first aspect, and is not described herein again.
The transceiver is also used for receiving a data stream; the processor is also used for sequentially dividing the data stream into a plurality of data according to the sequence;
the processor is specifically configured to generate N data frames corresponding to each piece of divided data, where each data frame carries data corresponding to each data frame in the N data frames generated corresponding to each piece of data.
In a fourth aspect, a network device is provided, where the network device may be an OLT or an ONU. The network equipment is used as the equipment of a receiving party when the OLT and the ONU transmit data. The network equipment comprises a processor and a transceiver, wherein the processor is used for monitoring data frames which are sent by source network equipment on preset N channels and bear the same data, N is larger than or equal to 2, the processor also selects the data frames transmitted by one of the N channels, and the transceiver forwards the selected data frames. Therefore, for the same data, the source network device sends the data through N channels, and if transmission of part of the channels fails or transmission is wrong, the network device serving as the receiver can still select the data frame in the channel which is successfully or correctly transmitted, so that the reliability of data transmission is effectively improved.
The processor is specifically configured to select the data frames according to a reception order and frame signal quality of each data frame carrying the same data transmitted on the N channels. The receiving sequence of the data frames and the quality of the frame signals are considered comprehensively, and the data frames with the receiving sequence closer to the front and the higher quality of the frame signals are selected, so that the network equipment is ensured to select the data frames with the higher quality all the time, the timeliness is also considered, and the too large time delay cannot be generated.
In one implementation, the processor starts timing when the transceiver receives a first data frame of data frames carrying the same data transmitted on the N channels. And when the timing duration reaches the preset duration, the processor selects the data frame with the highest frame signal quality from the first data frame received by the transceiver and the data frame carrying the same data as the first data frame. Therefore, the network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
The other implementation mode is that the processor starts timing when the transceiver receives a first data frame in each data frame which carries the same data and is transmitted on the N channels; if the frame signal quality of the first data frame received by the transceiver is greater than or equal to a 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 smaller than a preset value, the transceiver continues to receive other data frames which 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 larger than or equal to the preset value, and the processor selects the data frame or the timing time of the processor reaches the preset time; if the frame signal quality of each data frame carrying the same data received by the transceiver is less than the preset value when the timing duration reaches the preset duration, the processor selects the data frame with the highest frame signal quality in each received data frame or requests the source network device to retransmit the data frame. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
The specific configuration method of the data frame and the channel in the fourth aspect may refer to the first aspect, and is not described herein again.
The processor determines the position of each selected data frame in the data stream according to the third indication information, and the transceiver forwards each data frame in sequence according to the position of each data frame in the data stream.
In a fifth aspect, there is provided a data transmission apparatus in a PON system, the apparatus including: a generating module, configured to generate N data frames carrying the same data at a PON framing layer, where N is an integer greater than or equal to 2; the receiving and sending module is used for sending each data frame to the same target network equipment through N channels, and each channel correspondingly sends one data frame; the data sending device can be applied to an optical line terminal or an optical network unit, and when the data sending device is applied to the optical line terminal, the target network equipment is the optical network unit; or, when the data transmission apparatus is applied to an optical network unit, the target network device is an optical line terminal.
The specific configuration method of the data frame and the channel in the fifth aspect may refer to the first aspect, and is not described herein again.
The receiving and sending module is also used for receiving data stream; the data sending device also comprises a partitioning module used for sequentially partitioning the data stream into a plurality of data according to the sequence; the generating module is specifically configured to correspondingly generate N data frames for each piece of divided data, where each data frame carries data corresponding to each data frame in the N data frames generated for each piece of data.
In a sixth aspect, there is provided a data receiving apparatus in a PON system, the apparatus comprising: the monitoring module is used for monitoring data frames which are sent by source network equipment on preset N channels and bear the same data, wherein 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; a transceiver module, configured to forward the selected data frame; the data receiving device can be applied to an optical line terminal or an optical network unit, and when the data receiving device is applied to the optical line terminal, the target network equipment is the optical network unit; or, when the data receiving apparatus is applied to an optical network unit, the target network device is an optical line terminal.
The specific configuration method of the data frame and the channel in the sixth aspect may refer to the first aspect, and is not described herein again.
The selection module may select the data frames according to a reception order and frame signal quality of each data frame carrying the same data transmitted on the N lanes. The receiving sequence of the data frames and the quality of the frame signals are considered comprehensively, and the data frames with the receiving sequence closer to the front and the higher quality of the frame signals are selected, so that the target network equipment is ensured to select the data frames with the higher quality all the time, the timeliness is also considered, and the too large time delay cannot be generated.
In one implementation, the apparatus may further include a timing module, configured to start timing when a first data frame of data frames carrying the same data transmitted on the N channels is received. When the timing duration reaches the preset duration, the selection module selects the data frame with the highest frame signal quality from the received first data frame and the data frame which bears the same data as the first data frame. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
In another implementation manner, the apparatus may further include a timing module, configured to start timing when receiving a first data frame of data frames carrying the same data and transmitted on the N channels; if the frame signal quality of the received first data frame is greater than or equal to a preset value, the selection module selects the received first data frame; if the frame signal quality of the received first data frame is less than a preset value, the transceiver module continues to receive other data frames which are 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 the preset value, and the selection module selects the data frame or the timing duration reaches a preset duration; if the timing duration reaches the preset duration, and the frame signal quality of each data frame carrying the same data received by the transceiver module is smaller than the preset value, the selection module selects the data frame with the highest frame signal quality in each received data frame or requests the source network device to retransmit the data frame. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
The device also comprises a determining module used for determining the position of each selected data frame in the data stream according to the third indication information, and the transceiver module forwards each data frame in sequence according to the position of each data frame in the data stream.
A seventh aspect provides an optical line terminal, where the optical line terminal includes the apparatus in the fifth or sixth aspect, or is the network device in the third or fourth aspect.
In an eighth aspect, an optical network unit is provided, where the optical network unit includes the apparatus in the fifth or sixth aspect, or the optical network unit is the network device in the third or fourth aspect.
In a ninth aspect, there is provided a PON system comprising: the optical line terminal according to the seventh aspect and the optical network unit according to the eighth aspect.
In a further aspect of the present application, a computer-readable storage medium is provided, in which computer software instructions for the network device according to the third aspect are stored, and when the computer software instructions are executed on a computer, the computer is caused to perform the method according to the first aspect.
In a further aspect of the present application, a computer-readable storage medium is provided, in which computer software instructions for a network device according to the fourth aspect are stored, which, when run on a computer, cause the computer to perform the method according to the second aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to these drawings without inventive labor.
Fig. 1 is a schematic diagram of a PON system according to an embodiment of the present invention;
FIG. 2 is an exemplary flow chart of a data transmission method according to an embodiment of the invention;
FIG. 3 is a diagram illustrating the structure of an XGEM frame in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating an Ethernet frame structure according to an embodiment of the invention;
FIG. 5 is a diagram illustrating data transmission according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating data transmission according to another embodiment of the present invention;
FIG. 7 is an exemplary flow chart of a data transmission method according to another embodiment of the present invention;
FIG. 8 is a diagram illustrating data frame selection according to an embodiment of the invention;
fig. 9 is a diagram illustrating an exemplary hardware configuration of a network device according to an embodiment of the invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the embodiment of the invention can be applied to various Passive Optical Networks (PON), such as: gigabit Passive Optical Network (GPON), Ethernet Passive Optical Network (EPON), 10G EPON, ten Gigabit Passive Optical Network (10-Gigabit-capable Passive Optical Network, XG-PON), 10 Gigabit-capable symmetric Passive Optical Network (10-Gigabit-capable Passive Optical Network, XGs-PON), Next Generation Passive Optical Network (NGPON), and the like.
Fig. 1 is a schematic diagram of an architecture of a PON system to which various embodiments of the present invention are applied, and as shown in fig. 1, the PON system 100 includes at least one OLT110, at least one ODN120, and a plurality of ONUs 130. The OLT110 provides a network side interface for the PON system 100, and the ONU130 provides a user side interface for the PON system 100, and is connected to the ODN 120. If ONU130 directly provides the user port function, it is called Optical Network Terminal (ONT). For convenience of description, the ONU130 mentioned below refers to an ONT that can directly provide a user port function and an ONU that provides a user side interface. The ODN120 is a network composed of optical fibers and passive optical splitting devices, and is used for connecting the OLT110 device and the ONU130 device, and for distributing or multiplexing data signals between the OLT110 and the ONU 130.
In the PON system 100, a direction from the OLT110 to the ONUs 130 is defined as a downstream direction, and a direction from the ONUs 130 to the OLT110 is defined as an upstream direction. In the downlink direction, the OLT110 broadcasts downlink data to a plurality of ONUs 130 managed by the OLT110 in a Time Division Multiplexing (TDM) manner, and each ONU130 only receives data carrying its own identifier; in the uplink direction, the ONUs 130 communicate with the OLT110 in a Time Division Multiple Access (TDMA) manner, and each ONU130 transmits uplink data according to the Time domain resource allocated to it by the OLT 110. With the above mechanism, the downstream optical signal transmitted by the OLT110 is a continuous optical signal, and the upstream optical signal transmitted by the ONU130 is a burst optical signal.
The PON system 100 may be a communication network system that does not require active devices to implement data distribution between the OLT110 and the ONUs 130, for example, in a specific embodiment, data distribution between the OLT110 and the ONUs 130 may be implemented by passive optical devices (such as optical splitters) in the ODN 120. Also, the PON system 100 may be a GPON system defined by ITU-T g.984 standard, an Ethernet Passive Optical Network (EPON) defined by IEEE 802.3ah standard, or a Next Generation Passive Optical Network (NGPON), such as an XGPON or a 10G EPON. Various passive optical network systems defined by the above standards fall within the scope of the present invention.
The OLT110 is typically located in a Central Office (CO), and may collectively manage at least one ONU130 and transmit data between the ONU130 and an upper network. In particular, the OLT110 may act as an intermediary between the ONUs 130 and the upper Network (e.g., the Internet, a Public Switched Telephone Network (PSTN)), forwarding data received from the upper Network to the ONUs 130, and forwarding data received from the ONUs 130 to the upper Network, the particular configuration of the OLT110 may vary depending on the particular type of PON system 100. for example, in one embodiment, the OLT110 may include a transmitter configured to transmit downstream continuous optical signals to the ONUs 130 and a receiver configured to receive upstream optical burst signals from the ONUs 130, wherein the downstream optical signals and the upstream optical signals may be transmitted through the ODN120, although embodiments of the invention are not limited in this respect.
The ONUs 130 may be distributively located at customer-side locations (e.g., customer premises). The ONU130 may be a network device for communicating with the OLT110 and a user, in particular, the ONU130 may act as an intermediary between the OLT110 and the user, e.g. the ONU130 may forward data received from the OLT110 to the user and forward data received from the user to the OLT 110.
The ODN120 may be a data distribution network and may include optical fibers, optical couplers, optical splitters, or other devices. In one embodiment, the optical fiber, optical coupler, optical splitter, or other device may be a passive optical component, and in particular, the optical fiber, optical coupler, optical splitter, or other device may be a component that does not require power support when distributing data signals between the OLT110 and the ONUs 130. Specifically, taking an optical Splitter (Splitter) as an example, the optical Splitter may be connected to the OLT110 through a trunk optical fiber and connected to the ONUs 130 through a plurality of branch optical fibers, respectively, so as to implement a point-to-multipoint connection between the OLT110 and the ONUs 130. Additionally, in other embodiments, the ODN120 may also include one or more processing devices, such as optical amplifiers or Relay devices (Relay devices). In addition, the ODN120 may specifically extend from the OLT110 to multiple ONUs 130, but may also be configured in any other point-to-multipoint structure, and the embodiment of the present invention is not limited thereto.
In the prior art, the OLT110 and the ONUs 130 generally use a protection mechanism such as Type B or Type C to enable reliable communication. Various embodiments of the present invention provide a new protection mechanism to enable reliable communication between the OLT110 and the ONUs 130. The protection mechanism in the present invention may be applied to the OLT110 sending data to the ONU130, or may be applied to the ONU130 sending data to the OLT 110. For convenience of description, a device of the OLT110 and the ONU130 that is a sender is hereinafter referred to as a source network device, and a device of the receiver is hereinafter referred to as a target network device.
To this end, a data transmission method is proposed in the following, and 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, and details of each step are specifically described below:
s200, the source network equipment generates N data frames carrying the same data in a PON framing layer (also called a framing sub-layer), wherein N is an integer greater than or equal to 2;
in an embodiment, the value N may be a preset value, for example, a value pre-configured in the source network device and the target network device for a user, or a value pre-configured (e.g., configured at factory) for the source network device and the target network device.
In another embodiment, the value N may also be adaptively determined for the source network device, for example, the source network device adaptively determines according to a link status with the target network device, and if the link quality is poor, a larger value N may be set, and if the link status is good, a smaller value N may be set.
In another embodiment, the value of N may have a correspondence with the target network device. For example, when the target network device is the ONU130, different ONUs 130 may set corresponding N values according to their requirements for signal quality, if the ONU130 has a higher requirement for signal quality, a larger N value may be set correspondingly, and if the ONU130 has a lower requirement for signal quality, a smaller N value may be set correspondingly. The ONU130 may directly report the N value required by the ONU to the OLT110, and the OLT110 stores the correspondence between the ONU130 and the corresponding N value; or, the ONU130 may also report a signal quality requirement to the OLT110, and the OLT110 determines an N value according to the signal quality requirement reported by the ONU130, and stores a correspondence between the ONU130 and its corresponding N value.
Alternatively, the value of N may also be determined by the source network device based on the link status with the target network device and the signal quality requirements of the target network device.
Among the N data frames generated by the source network device, the data carried by each data frame is the same. The data source carried by the data frame may be data received from other network devices, or may be generated by the source network device. When the data source is data received from other network devices, the source network device may copy N-1 parts of the received data, and then generate data frames from the received data and the copied N-1 parts of the data, respectively, that is, generate N data frames in total. When the data source is directly generated by the source network equipment, the source network equipment can firstly generate a part of data, then copy the N-1 parts of data and respectively generate data frames; alternatively, the source network device may also directly generate N data frames carrying the same data.
For example, in a GPON or XGPON system, the PON framing layer may be a GEM layer or an XGEM layer, and the data frames are GEM frames or XGEM frames;
for example, in an EPON system, the PON framing layer is an RS layer and the data frames are ethernet frames.
In order to enable 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 is the same. That is, if the data carried between any two data frames is the same, the first indication information contained in the data frames is the same; if the carried data is different, the contained first indication information is different. Therefore, the target network equipment can directly and quickly identify the N data frames carrying the same data according to the first indication information. For example, the source network device has two current data to be sent, the first data correspondingly generates 2 data frames, and the second data correspondingly generates 3 data frames, so that each data frame of the 2 data frames corresponding to the first data includes the first indication information, and the 2 first indication information are the same, if the 2 first indication information are all 300. In 3 data frames corresponding to the second data, each data frame includes first indication information, and the 3 first indication information are the same, and the first indication information is different from the first indication information in the 2 data frames, for example, all the 3 first indication information are 301. After receiving each data frame, the target network device can quickly screen out each data frame with the same first indication information according to the first indication information. For example, 2 data frames with the first indication information value of 300 may be quickly screened out, and 3 data frames with the first indication information value of 301 may also be quickly screened out.
In a GEM frame or 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, where the XGEM frame includes a frame header and a Payload, and the frame header includes a Payload Length Indicator (PLI) field, a Port-ID field, reserved (Options) field, a frame Header Error Check (HEC) field, and the like. Wherein the reserved field may include the first indication information. The reserved field may be used as the first indication information in its entirety or may be used as part of the first indication information. For example, the reserved field may be 18 bits, and all of the 18 bits may be used as the first indication information, or only 10 bits of the 18 bits may be selected as the first indication information.
In the ethernet frame, as shown in fig. 4, fig. 4 is a schematic structural diagram of the ethernet frame in an embodiment of the present invention, a Length/type (Length/type) indication field and a service information (FSN) field may be added, where 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 first indication information. The ethernet frame is well compatible with existing ethernet frames. The service information field may be used as the first indication information in its entirety or may be used as part of the first indication information. For example, the service information field is 16 bits, and 15 bits thereof may be used as the first indication information.
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 contained in the data frames carrying different data is irrelevant. That is, if the data carried between any two data frames is the same, the included first indication information is related; if the data carried by the data carrier is different, the contained first indication information is irrelevant. The source network device and the target network device may preset a correlation of the first indication information, for example, a plurality of groups of corresponding relationships of the first indication information may be preset, each group of corresponding relationships includes at least 2 pieces of first indication information, the first indication information belonging to the same group is considered to be correlated, and the first indication information belonging to different groups is considered to be uncorrelated. For example, the first set of correspondence includes 3 pieces of first indication information, 300, 301, and 302, respectively; the second set of correspondences includes 2 first indications 303 and 304, respectively. The source and target network devices may consider 300, 301, and 302 to be related and 303 and 304 to be related, while none of the remaining combinations are related, e.g., 300 and 303 are unrelated. After receiving each data frame, the target network device can quickly screen out each data frame related to the first indication information according to the first indication information of each data frame. For example, 3 data frames with the first indication information values of 300, 301, and 302 may be quickly screened out, and 2 data frames with the first indication information values of 303 and 304 may be quickly screened out.
The first indication information can be set in front of the frame header of each data frame, so that the target network device can more quickly identify the first indication information and further more quickly identify each data frame bearing the same data.
In an embodiment, the data frame may also include second indication information indicating the N value. The reserved field may be used as the second indication information in its entirety or may be used as part of the second indication information. For example, the reserved field may be 18 bits, all of the 18 bits may be used as the second indication information, only 8 bits of the 18 bits may be selected as the second indication information, and the other 10 bits may be 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 is to 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 number of bits. The service information field shown in fig. 4 may be 16 bits, and 1 bit of the service information field may be used as second indication information to indicate whether the source is single-source or multi-source, for example, when the value is "0" to indicate single-source, and when the value is "1" to indicate multi-source (i.e., to indicate that the number of transmitted data frames is greater than or equal to 2), 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 for the first indication information.
If there are 3 data frames carrying a certain data, at least 1 data frame of the 3 data frames includes the second indication information, or each data frame of the 3 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 indicates 3 indirectly. If the source network device sends the 3 data frames, after the target network device receives the first data frame, the number of the data frames bearing the data can be judged to be 3 according to the second indication information of the first received data frame, so that the target network device does not need to continuously monitor the data frames bearing the data until the 3 data frames bearing the data are received, and the resource waste of the target network device is reduced, so that the operation efficiency of the target network device is improved, and the operation resource of the target network device is not wasted.
S210, the source network device sends each data frame to the target network device through N channels, and each channel correspondingly sends one data frame.
In one embodiment, different channels can be distinguished through wavelengths, and the wavelengths of the different channels are different, so that an optical fiber link can be saved, and spectrum resources are effectively utilized. As shown in fig. 5, fig. 5 shows 3 ONUs 130, which are respectively called as a 1 st ONU130, a 2 nd ONU130 and a 3 rd ONU130 from top to bottom, taking the example that the OLT110 sends data to the ONUs 130, the OLT110 sends a data frame to the 1 st ONU130 through two channels, where the wavelengths of the two channels are λ 1 and λ 3; the OLT110 sends a data frame to the 2 nd ONU130 through three channels, where the wavelengths of the three channels are λ 1, λ 2, and λ 4; the OLT110 transmits a data frame to the 3 rd ONU130 through four channels, which have wavelengths λ 1, λ 2, λ 3, and λ 4, respectively.
In another embodiment, different channels may also be distinguished by optical fiber links, where the optical fiber links of different channels are different, that is, the sending ports of the source network devices corresponding to different channels are different, and the optical fiber link of the existing Type C mechanism can be used, so as to save spectrum resources. As shown in fig. 6, there are two optical fiber links between each ONU130 and the OLT110, and each optical fiber link is a channel.
In one embodiment, the wavelengths of the N channels are different from each other. That is, the N channels are all distinguished by wavelength.
In another embodiment, the fiber links of the N channels are different from each other, i.e., the N channels are all distinguished by the fiber links, or the N channels are all distinguished by the transmission ports of the source network device.
In another embodiment, the N lanes may be distinguished by both wavelength and fiber links. That is, any two of the N lanes have different wavelengths or fiber links. For example, there are 4 channels in total, two optical fiber links are provided between the OLT110 and a certain ONU130, a first optical fiber link may be provided with 2 channels distinguished by wavelength, and a second optical fiber link may also be provided with 2 channels distinguished by wavelength. For example, a first optical fiber link may transmit data frames at wavelengths λ 1 and λ 2, respectively, and a second optical fiber link may transmit data frames at wavelengths λ 3 and λ 4, respectively.
Step S220, the target network device monitors data frames carrying the same data sent by the source network device on preset N channels.
In an embodiment, when the source network device is the OLT110 and the target network device is the ONU130, the N channels may be preset between the OLT110 and the ONU130, or the OLT110 is configured in advance and notifies the ONU130 in advance, so that the OLT110 may send a data frame carrying the same data to the ONU130 through the N channels configured to the ONU130, and the ONU130 may monitor the data frame carrying the same data on the preset N channels.
In another embodiment, when the source network device is the ONU130 and the target network device is the OLT110, the N channels may be preset between the OLT110 and the ONU130, or preconfigured for the OLT110 and notified to the ONU130 in advance, so that the ONU130 may send a data frame carrying the same data to the OLT110 through the preset N channels, and the OLT110 may also monitor the data frame carrying the same data on the N channels configured to the ONU 130.
Step S230, the target network device selects the data frame transmitted by one of the N channels.
In an embodiment, the target network device may select a channel with high signal transmission quality to receive the data frame according to the signal transmission quality of each channel, thereby ensuring that the target network device can always receive the data frame with higher quality, and improving the reliability of data transmission in the PON system. For example, if there are 3 channels in advance, in the period from T1 to T2, if the signal transmission quality of the 1 st channel is high, the data of the 1 st channel is continuously received in the period from T1 to T2; in the period from T2 to T3, if the signal transmission quality of the 3 rd channel is high, the data of the 3 rd channel is continuously received in the period from T2 to T3.
In another embodiment, the target network device selects the data frames carrying the same data according to the receiving order and frame signal quality of the data frames transmitted on the N channels. The receiving sequence of the data frames and the quality of the frame signals are considered comprehensively, and the data frames with the receiving sequence closer to the front and the higher quality of the frame signals are selected, so that the target network equipment is ensured to select the data frames with the higher quality all the time, the timeliness is also considered, and the too large time delay cannot be generated.
Specifically, in an example, the target network device starts timing when receiving a first data frame of data frames carrying the same data transmitted on the N channels; for example, the source network device sends 3 data frames carrying the same data on 3 lanes, and the data frame on the 2 nd lane reaches the target network device first, then the target network device starts timing when receiving the data frame on the 2 nd lane. It is to be understood that the target network device may identify the receiving order of the data frames according to the first indication information in the data frames. And if other data frames carrying the first indication information are not received before the data frame is received, the data frame is considered as a first arrived data frame.
And when the timing duration reaches a preset duration, selecting a data frame with the highest frame signal quality from the received first data frame and the data frame which carries the same data as the first data frame. Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered. The frame signal quality can be measured, for example, by the bit error rate, which is higher the lower the bit error rate.
The preset time length can be set according to actual needs and is not limited herein. If only the data frames on the 2 nd channel and the 3 rd channel are received within the preset time length, the 1 st channel fails to transmit the data frames to the target network device due to the line fault or the large line delay, or does not transmit the data frames to the target network device within the preset time length. The target network device may buffer the data frames received through the 2 nd and 3 rd lanes and calculate the frame signal quality of the two data frames, respectively. And then selecting the data frame with the highest frame signal quality from the two data frames when the timing duration reaches the preset duration. The frame signal quality can be measured, for example, by the bit error rate, which is higher the lower the bit error rate.
Specifically, in another example, the target network device starts timing when receiving a first data frame of data frames carrying the same data transmitted on the N channels;
and if the error rate of the received first data frame is less than or equal to a preset value, selecting the received first data frame. The preset value can be set according to actual requirements, and is not limited herein.
If the error rate of the received first data frame is greater than the preset value, continuing to receive other data frames which are the same as the data carried by the first data frame until the error rate of the received data frame is less than or equal to the preset value, and selecting the data frame or the timing duration to reach the preset duration;
if the bit error rate of each received data frame carrying the same data is greater than the preset value when the timing duration reaches the preset duration, selecting the data frame with the lowest bit error rate in each received data frame or requesting the source network device to retransmit.
Therefore, the target network equipment can quickly select the data frame with higher quality within the preset time length, the quality requirement is met, and the timeliness is considered.
Step S240, the target network device forwards the selected data frame.
If the target network device is the OLT110, the OLT100 forwards the data frame to other upstream devices. For example, the network side device may be a Broadband Network Gateway (BNG) device.
When the target network device is the ONU130, the ONU130 forwards the data frame to other downstream network devices, for example, the data frame may be forwarded to a user terminal, an exchange, a router, and the like, and the user terminal may be a computer, a television, and the like.
In the embodiment of the invention, by arranging N channels 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 bearing the same data are generated, each channel correspondingly transmits one data frame, and the target network device can monitor the data frames transmitted on the N channels and select the data frame on one channel for forwarding, thereby effectively improving the reliability of data transmission in the PON system.
Further, as shown in fig. 7, step S200 further includes, before:
step S250, the source network device receives a data stream; when the source network device is the OLT110, the OLT110 may receive the data stream. The data stream may be a broadcast data stream.
Step S260, the source network equipment sequentially divides the data stream into a plurality of data according to the sequence;
step S200 specifically includes: and the source network equipment correspondingly generates N data frames for each piece of divided data, wherein each data frame bears the corresponding data in the N data frames generated correspondingly for each piece of data.
In step S201, the sequence of each data frame sent by the source network device in the same channel is the same as the sequence of data carried by each data frame in the data stream. Therefore, the data transmission sequence of the source network equipment is not changed, and the target network equipment can be helped to receive the data frames with correct sequence.
In an embodiment, to further enable the target network device to forward the data frames in the correct order, the data frame further includes third indication information indicating a position of data carried by the data frame in the data stream. And the target network equipment determines the position of each selected data frame in the data stream according to the third indication information, and forwards each data frame in sequence according to the position of each data frame in the data stream.
The reserved field may be used as the third indication information in its entirety or may be used as part of the third indication information. The third indication information corresponding to each piece of data divided by the same data stream may be valued according to an increasing order or a decreasing order. For example, as shown in fig. 8, a certain data stream is divided into 7 data shares, the third indication information for the 1 st data share may be 301, the third indication information for the 2 nd data share may be 302, and so on, and the third indication information for the 7 th data share may be 307. Assuming that the data stream is sent over 2 lanes (illustrated as lane 1 and lane 2), the target network device receives the data stream first over lane 1, so the target network device preferentially selects the data frames received by lane 1. However, if the 3 rd data frame in the channel 1 is lost, the target network device may identify the data frame received by the channel 1 according to the third indication information, and determine that the 3 rd data frame is lost. Meanwhile, the target network device may also identify the 3 rd data frame in channel 2 according to the third indication information, and therefore, the 3 rd data frame in channel 2 will be selected.
The target network device may thus determine the position of the data frame in the data stream directly from the third indication information.
In the GEM frame or the XGEM frame, the reserved field may include the third indication information. In the ethernet frame, the service information field may further include the 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 data frame generated from the 1 st piece of data includes a field 301, and the field 301 may be used as the first indication information or the third indication information to identify the position of the data frame.
The invention also provides a network device, which may be the OLT110 or the ONU 130.
As shown in fig. 9, 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, and is configured to execute related programs to implement the technical solution provided by the embodiment of the present invention.
The Memory 420 may be a Read Only Memory (ROM), a static Memory device, a dynamic Memory device, or a Random Access Memory (RAM). The memory 420 may store an operating system and other application programs. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, a program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 420 and executed by the processor 410.
In an embodiment, the processor 410 may include memory 420 therein. In another embodiment, processor 410 and memory 420 are two separate structures.
The transceiver 430 may include an optical transmitter and/or an optical receiver. The optical transmitter may be used to transmit optical signals and the optical receiver may be used to receive optical signals. The light emitter may be implemented 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 optical receiver may be implemented by a photodetector, such as a photodetector or a photodiode (e.g., an avalanche diode), etc. The transceiver 430 may also include a digital-to-analog converter and an analog-to-digital converter.
The network device may further include a Medium Access Control (MAC) for performing functions of parsing data and the like. The MAC may exist independent of processor 410 or may be part of processor 410.
The wavelength division multiplexer 440 is connected to the transceiver 430 and acts as a multiplexer when the network device is transmitting optical signals. When the network device receives an optical signal, the wavelength division multiplexer acts as a demultiplexer. Wavelength division multiplexers may also be referred to as optical couplers.
When the network device is the source network device, the processor 410 is configured to generate the data frame, divide the data stream into a plurality of pieces of data, and the transceiver 430 is configured to receive the data stream, and transmit the data frame to the target network device. Specifically, as can be seen from the above embodiments, the processor 410 shown in fig. 9 may perform steps S200 and S260 in fig. 2 and 7, and the transceiver 430 may perform steps S210 and S250 in fig. 2 and 7. For more details of the steps executed by the processor 410 and the transceiver 430, reference may be made to the above description of the embodiments of the data transmission method and the accompanying drawings, which are not described herein again.
When the network device is the target network device, the processor 410 is configured to monitor the data frames and select the data frames, and the transceiver 430 is configured to forward the data frames. Specifically, as can be seen from the above embodiments, the processor 410 shown in fig. 9 may perform steps S220 and S230 in fig. 2 and 7, and the transceiver 430 may perform step S240 in fig. 2 and 7. For more details of the steps executed by the processor 410 and the transceiver 430, reference may be made to the above description of the embodiments of the data transmission method and the accompanying drawings, which are not described herein again.
In the embodiment of the invention, by arranging N channels 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 bearing the same data are generated, each channel correspondingly transmits one data frame, and the target network device can monitor the data frames transmitted on the N channels and select one data frame on one channel for forwarding, thereby effectively improving the accuracy of data transmission in the PON system.
The present invention also provides a passive optical network system, which includes the source network device and the target network device described in the above embodiments. Reference may be made to the above embodiments, which are not described herein again.
The embodiment of the present invention further provides a data frame, and specific description of the data frame may refer to the foregoing embodiment, which is not described herein again.
The embodiment of the present invention further provides a communication device, which may be the network device, or may be a module, a component, a circuit, a device, or the like in the network device.
When the communication apparatus is used for a source network device, the communication apparatus 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;
and the transceiver module is used for sending each data frame to target network equipment through N channels, and each channel correspondingly sends one data frame respectively.
Further, the transceiver module is further configured to receive a data stream;
the communication device also comprises a partitioning module used for sequentially partitioning the data stream into a plurality of data according to the sequence;
the generating module is specifically configured to correspondingly generate N data frames for each piece of divided data, where each data frame carries data corresponding to each data frame in the N data frames generated for each piece of data.
The channel setting, the data frame setting, and the like may refer to the description of the above embodiments, and are not described herein again.
When the communication apparatus is used for a target network device, the communication apparatus includes:
the monitoring module is used for monitoring data frames which are sent by source network equipment on preset N channels and bear the same data, wherein 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;
and the transceiver module is used for forwarding the selected data frame.
Further, the selecting module is specifically configured to select the data frame according to a receiving order and frame signal quality of each data frame carrying the same data transmitted on the N channels.
Specifically, the communication device further includes a timing module, configured to start timing when the transceiver module receives a first data frame of data frames carrying the same data and transmitted on the N channels;
the selection module is specifically configured to select, when the timing duration reaches a preset duration, a data frame with a highest frame signal quality from the received first data frame and a data frame carrying the same data as the first data frame.
Further, the communication device further includes a determining module, configured to determine, according to the third indication information, a position of each selected data frame in the data stream, and the transceiver module is further configured to forward each data frame in order according to the position of each data frame in the data stream.
It is understood that the communication device also has the advantages described in the above embodiments, and the details are not repeated herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute all or part of the steps of the above-described method according to the embodiments of the present invention. The storage medium may include: a U disk, a removable hard disk, a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (22)

1. A method for transmitting data in a PON system, the method comprising:
the source network equipment generates N data frames bearing the same data on a PON framing layer, wherein N is an integer greater than or equal to 2;
the source network equipment sends each data frame to the same target network equipment through N channels, and each channel respectively sends one data frame correspondingly;
the source network device is an optical line terminal, and the target network device is an optical network unit;
or, the source network device is an optical network unit, and the target network device is an optical line terminal;
the data frame further includes third indication information indicating a position of data carried by the data frame in a data stream.
2. The method of claim 1, wherein the PON framing layer is a GEM layer or an XGEM layer, and wherein the data frames are GEM frames or XGEM frames; or, the PON framing layer is an RS layer, and the data frame is an ethernet frame.
3. The method according to claim 2, wherein the data frames include first indication information, and if the data carried by any two of the data frames is the same, the first indication information included in the data frames is the same; if the carried data is different, the first indication information is different.
4. The method of claim 3, wherein the GEM frame and the XGEM frame each comprise a reserved field, the reserved field comprising the first indication information; the Ethernet frame comprises a length/type indication field and a service information field, wherein the length/type indication field is used for indicating the type and/or the length of the service information field, and the service information field comprises the first indication information.
5. A data receiving method in a PON system, the method comprising:
the target network equipment monitors data frames which are sent by source network equipment on preset N channels and bear the same data, wherein N is an integer greater than or equal to 2;
the target network device selects the data frame transmitted by one of the N channels;
the target network equipment forwards the selected data frame;
the source network device is an optical line terminal, and the target network device is an optical network unit;
or, the source network device is an optical network unit, and the target network device is an optical line terminal;
the data frame further includes third indication information indicating a position of data carried by the data frame in a data stream.
6. The method of claim 5, wherein the target network device selecting the data frame transmitted by one of the N lanes comprises:
and the target network equipment selects the data frames according to the receiving sequence and the frame signal quality of each data frame which carries the same data and is transmitted on the N channels.
7. The method of claim 5 or 6, wherein the data frame is a GEM frame or an XGEM frame, or wherein the data frame is an Ethernet frame.
8. The method according to claim 7, wherein the data frames include first indication information, and if the data carried by any two of the data frames is the same, the first indication information included in the data frames is the same; if the carried data is different, the first indication information is different.
9. A network device, characterized in that the network device comprises:
the processor is used for generating N data frames carrying the same data at a PON framing layer, wherein N is an integer greater than or equal to 2;
the transceiver is used for sending each data frame to the same target network device through N channels, and each channel correspondingly sends one data frame;
the network equipment is an optical line terminal, and the target network equipment is an optical network unit;
or, the network device is an optical network unit, and the target network device is an optical line terminal;
the data frame further includes third indication information indicating a position of data carried by the data frame in a data stream.
10. The network device of claim 9, wherein the PON framing layer is a GEM layer or an XGEM layer, and the data frames are GEM frames or XGEM frames; or, the PON framing layer is an RS layer, and the data frame is an ethernet frame.
11. The network device according to claim 9 or 10, wherein the wavelength of different channels is different, or the transmission ports of the network devices corresponding to different channels are different.
12. The network device according to claim 10, wherein the data frame includes first indication information, and if the data carried by any two of the data frames is the same, the first indication information included in the data frames is the same; if the carried data is different, the first indication information is different.
13. The network device of claim 12, wherein the GEM frame and the XGEM frame each comprise a reserved field, the reserved field comprising the first indication information; the Ethernet frame comprises a length/type indication field and a service information field, wherein the length/type indication field is used for indicating the type and/or the length of the service information field, and the service information field comprises the first indication information.
14. The network device of claim 10, 12 or 13, wherein the data frame comprises second indication information indicating the value of N.
15. The network device of claim 14, wherein the GEM frame and the XGEM frame each comprise a reserved field, the reserved field comprising the second indication information; the ethernet frame comprises a length/type indication field and a service information field, wherein the length/type indication field is used for indicating the type and/or length of the service information field, and the service information field comprises the second indication information.
16. The network device of any of claims 10, 12, 13,
the transceiver is further configured to receive a data stream;
the processor is further used for sequentially dividing the data stream into a plurality of data according to the sequence;
the processor is specifically configured to correspondingly generate N data frames for each piece of divided data, where each data frame carries data corresponding to each data frame in the N data frames generated for each piece of data.
17. A network device, characterized in that the network device comprises:
the processor is used for monitoring data frames which carry the same data and are sent by the source network equipment on preset N channels, wherein N is an integer greater than or equal to 2;
the processor is further configured to select the data frame transmitted by one of the N lanes;
the transceiver is used for forwarding the selected data frame;
the source network equipment is an optical line terminal, and the network equipment is an optical network unit;
or, the source network device is an optical network unit, and the network device is an optical line terminal;
the data frame further includes third indication information indicating a position of data carried by the data frame in a data stream.
18. The network device of claim 17, wherein the processor is specifically configured to select the data frames based on a reception order and a frame signal quality of the data frames carrying the same data transmitted on the N lanes.
19. The network device of claim 18,
when the transceiver receives a first data frame in data frames which are transmitted on the N channels and carry the same data, the processor starts timing;
and when the timing duration of the processor reaches a preset duration, the processor selects a data frame with the highest frame signal quality from the first data frame received by the transceiver and the data frame carrying the same data as the first data frame.
20. The network device of any of claims 17 to 19, wherein the data frame is a GEM frame or an XGEM frame, or wherein the data frame is an ethernet frame.
21. The network device according to any of claims 17 to 19, wherein the processor is further configured to determine a position of each of the selected data frames in the data stream according to the third indication information, and the transceiver is further configured to forward each of the data frames in order according to the position of each of the data frames in the data stream.
22. A passive optical network system, characterized in that it comprises a network device according to any of claims 9 to 16 and a network device according to any of claims 17 to 21.
CN201780096419.3A 2017-12-05 2017-12-05 Data sending and receiving method in PON system, network equipment and system Active CN111316575B (en)

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 (2)

Publication Number Publication Date
CN111316575A CN111316575A (en) 2020-06-19
CN111316575B true CN111316575B (en) 2021-06-22

Family

ID=66751273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780096419.3A Active CN111316575B (en) 2017-12-05 2017-12-05 Data sending and receiving method in PON system, network equipment and system

Country Status (2)

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

Families Citing this family (2)

* 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
CN114584809A (en) * 2020-12-02 2022-06-03 华为技术有限公司 Data transmission method and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012084274A1 (en) * 2010-12-20 2012-06-28 Telefonaktiebolaget L M Ericsson (Publ) A passive optical network arrangement and method
CN103974152A (en) * 2014-05-29 2014-08-06 国家电网公司 Optical network distribution unit
CN105763245A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Optical transceiving module
CN107302397A (en) * 2016-04-14 2017-10-27 中兴通讯股份有限公司 EPON framework and its method and optical network device for realizing data transfer

Family Cites Families (4)

* 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
CN101867392B (en) * 2009-04-15 2014-11-05 中兴通讯股份有限公司 Method, equipment and system for improving type B protection switching performance
CN101888268B (en) * 2009-05-14 2013-09-11 中兴通讯股份有限公司 Method and device for realizing backbone optical fiber protection in Ethernet passive optical network
CN106921430A (en) * 2017-02-24 2017-07-04 烽火通信科技股份有限公司 The realization method and system of TYPE C optical link protection systems in EPON

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012084274A1 (en) * 2010-12-20 2012-06-28 Telefonaktiebolaget L M Ericsson (Publ) A passive optical network arrangement and method
CN103974152A (en) * 2014-05-29 2014-08-06 国家电网公司 Optical network distribution unit
CN105763245A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Optical transceiving module
CN107302397A (en) * 2016-04-14 2017-10-27 中兴通讯股份有限公司 EPON framework and its method and optical network device for realizing data transfer

Also Published As

Publication number Publication date
CN111316575A (en) 2020-06-19
WO2019109252A1 (en) 2019-06-13

Similar Documents

Publication Publication Date Title
US10735836B2 (en) Passive optical network communications method, apparatus and system
EP2684380B1 (en) Wavelength indication in multiple-wavelength passive optical networks
JP5236073B2 (en) Method and apparatus for configuring upgrade bandwidth map of 10 Gigabit passive optical network
US8977127B2 (en) Inter-optical line terminal (OLT) communication in multiple-OLT passive optical networks (PONs)
US10939190B2 (en) Passive optical network communications method, apparatus and system
US8929396B2 (en) Ethernet media access control organization specific extension
US20170317779A1 (en) Channel Bonding in Multiple-Wavelength Passive Optical Networks (PONs)
US8050561B2 (en) Asymmetrical PON with multiple return channels
JP6367983B2 (en) Optical line unit (OLT) support for optical network unit (ONU) calibration
CN111316575B (en) Data sending and receiving method in PON system, network equipment 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
US20140241725A1 (en) Wavelength Assignment for Multiple Operator Support
JP2019103045A (en) Burst relay system and program
CN110870233B (en) Data processing method, optical line terminal, optical network unit and system
CA2685633A1 (en) Communication device and communication method
WO2024045812A1 (en) Data transmission method, related equipment, and optical communication system
US10992387B2 (en) Port replicator
AU2013251220A1 (en) Method and apparatus for configuring upgraded bandwidth map for ten gigabit passive optical network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant