Data transmission method for passive optical network, storage medium, electronic device, and computer program product
By adding invalid bitstreams with preset code patterns to the physical frames of passive optical networks, the problem of high hardware modification costs in downlink burst mode is solved, achieving energy saving and hardware cost reduction in optical network systems, and ensuring clock recovery and data transmission continuity of optical network units.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2025-08-21
- Publication Date
- 2026-05-15
AI Technical Summary
When existing passive optical network systems achieve energy saving in downlink burst mode, the hardware modification cost is high, and the existing ONUs require significant modifications and are not compatible with the deployed ONUs.
Invalid bitstreams with preset code patterns are added to physical frames to form continuous physical frames. After the optical line terminal sends the frames, the optical network unit parses the valid bitstreams and processes the invalid bitstreams, thereby achieving energy saving in the optical network system.
It reduces energy consumption and hardware modification costs in optical network systems, ensures the continuity of physical frames, avoids clock recovery problems, and achieves energy saving at both the transmitting and receiving ends.
Smart Images

Figure CN2025116151_15052026_PF_FP_ABST
Abstract
Description
Data transmission methods, storage media, electronic devices, and computer program products for passive optical networks
[0001] Cross-reference to related applications
[0002] This disclosure is based on and claims priority to Chinese patent application CN202411569553.9, filed on November 5, 2024, entitled “Data Transmission Method, Storage Medium, Electronic Device and Computer Program Product for Passive Optical Networks”, and incorporates the entire contents of that patent application by reference. Technical Field
[0003] This disclosure relates to the field of communications, and more specifically, to a data transmission method, storage medium, electronic device, and computer program product for a passive optical network. Background Technology
[0004] A Passive Optical Network (PON) system consists of an Optical Line Terminal (OLT) connected to multiple Optical Network Units (ONUs) via an Optical Distribution Network (ODN). In PON systems defined by the International Telecommunication Union (ITU-T), in the downlink direction, the OLT continuously sends superframes to the ONUs, continuing to transmit idle data even when no data is being sent.
[0005] Against the backdrop of global carbon neutrality, operators have begun to focus on and reduce the power consumption of equipment in central office equipment rooms. OLT equipment in central office equipment rooms still works at full speed even when downlink traffic is low or there is no traffic, resulting in unnecessary power consumption.
[0006] Currently, the ITU-T has proposed Very High Speed Passive Optical Networks (VHSP) and their downlink power-saving functions, achieving downlink power saving through downlink burst mode. Downlink burst mode can maximize power saving on the OLT side, but it requires significant modifications to the ONU, such as ONU-side clocking, descrambling, forward error correction (FEC) removal, and service descrambling, making it incompatible with already deployed or standardized ONUs. Particularly regarding ONU-side clock processing, existing or standardized ONUs need to recover their clocks from consecutive downlink frames to provide local operation. If the OLT uses burst transmission mode, significant modifications to the clocking operation of existing or standardized ONUs are required, involving hardware modifications. In other words, existing or standardized ONUs need to be replaced to support downlink power saving based on downlink bursts.
[0007] There is no good solution to the above problems in the relevant technologies. Summary of the Invention
[0008] This disclosure provides a data transmission method, storage medium, electronic device, and computer program product for a passive optical network, to at least solve the problem in related technologies where downlink energy saving in passive optical network systems is achieved through downlink burst mode, but the hardware modification cost is high.
[0009] According to one embodiment of this disclosure, a data transmission method for a passive optical network is provided, the method comprising: adding an invalid bitstream of a preset code pattern after the valid bitstream in a physical frame to obtain consecutive physical frames; and transmitting the physical frames.
[0010] According to another embodiment of this disclosure, a data transmission method for a passive optical network is provided. The method includes: receiving consecutive physical frames, wherein the consecutive physical frames are obtained by adding an invalid bitstream of a preset code pattern after the valid bitstream in the physical frame by an optical line terminal; parsing the valid bitstream and processing the invalid bitstream.
[0011] According to yet another embodiment of this disclosure, an optical line terminal is also provided for data transmission according to the steps of any of the above method embodiments.
[0012] According to yet another embodiment of this disclosure, an optical network unit is also provided for transmitting data according to the steps of any of the above method embodiments.
[0013] According to another embodiment of this disclosure, a passive optical network system is also provided, including an optical line terminal and at least one optical network unit. The optical line terminal is used to add an invalid bit stream of a preset code pattern after the valid bit stream in a physical frame to obtain a continuous physical frame, and to send the physical frame to the at least one optical network unit. The optical network unit is used to receive the continuous physical frame, parse the valid bit stream, and process the invalid bit stream.
[0014] According to yet another embodiment of this disclosure, a computer-readable storage medium is also provided, which stores a computer program configured to perform the steps in any of the above method embodiments when executed.
[0015] According to yet another embodiment of this disclosure, an electronic device is also provided, including a memory and a processor, the memory storing a computer program, the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0016] According to yet another embodiment of this disclosure, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0017] Through the embodiments of this disclosure, by directly adding an invalid bitstream with a preset code pattern after the valid bitstream, the continuity of physical frames can be guaranteed, enabling the receiver to recover the clock from the continuous bitstream. Furthermore, when there is little or no service data, the encapsulation process of the valid bitstream can be omitted, achieving energy saving at the transmitting end. Therefore, the embodiments of this disclosure solve the problem of high hardware modification costs in achieving downlink energy saving in passive optical network systems through downlink burst mode in related technologies, achieving the technical effect of reducing energy loss and lowering hardware modification costs. Attached Figure Description
[0018] Figure 1 is a schematic diagram of the network architecture of a passive optical network according to an embodiment of the present disclosure;
[0019] Figure 2 is a flowchart of a downlink data transmission method for an optical line terminal according to an embodiment of the present disclosure;
[0020] Figure 3 is a flowchart of a downlink data transmission method for an optical network unit according to an embodiment of the present disclosure;
[0021] Figure 4 is a schematic diagram of the downlink framing and transmission process of an optical line terminal according to an embodiment of the present disclosure;
[0022] Figure 5 is a schematic diagram of downlink transmission of inserted idle data by an optical line terminal in related technologies;
[0023] Figure 6 is a schematic diagram of the downlink framing and transmission process of the optical line terminal in power-saving mode according to an embodiment of the present disclosure;
[0024] Figure 7 is a schematic diagram of the downlink bandwidth allocation structure in an embodiment of this disclosure;
[0025] Figure 8 is a schematic diagram of the downlink bandwidth allocation structure in an exemplary embodiment of this disclosure (I);
[0026] Figure 9 is a schematic diagram (II) of the downlink bandwidth allocation in an exemplary embodiment of this disclosure. Detailed Implementation
[0027] The embodiments of this disclosure will be described in detail below with reference to the accompanying drawings and examples.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0029] Figure 1 is a schematic diagram of the network architecture of a passive optical network according to an embodiment of the present disclosure. The embodiments of the present disclosure can operate on the network architecture of the passive optical network shown in Figure 1. As shown in Figure 1, the network architecture includes:
[0030] The optical line terminal 102 and multiple optical network units 104 are provided, wherein the optical line terminal 102 is connected to the multiple optical network units 104 through an optical distribution network (ODN).
[0031] This disclosure provides a data transmission method for a passive optical network, applied to an optical line terminal (OLT). Figure 2 is a flowchart of a downlink data transmission method for an OLT according to an embodiment of this disclosure. As shown in Figure 2, the process includes the following steps:
[0032] Step S202: Add an invalid bitstream with a preset code pattern after the valid bitstream in the physical frame to obtain consecutive physical frames;
[0033] Step S204: Send the physical frame.
[0034] In this embodiment of the disclosure, by using the above steps S202 and S204, the continuity of physical frames can be guaranteed, enabling the receiving end to recover the clock from the continuous bit stream. It can also eliminate the encapsulation process of the effective bit stream when there is little or no service data, thereby achieving energy saving at the transmitting end. Therefore, it solves the problem of high hardware modification costs in achieving downlink energy saving in passive optical network systems through downlink burst mode in related technologies, and can achieve the technical effect of reducing energy loss and reducing hardware modification costs.
[0035] In this embodiment, the valid bitstream must include at least a Downstream Physical Synchronization Block (PSBd). This embodiment can be applied to situations where there is no service data at all, skipping the processing flow of other layers and directly generating the downstream physical synchronization block at the physical adaptation sublayer, thereby achieving energy saving in downstream transmission.
[0036] In some embodiments, in addition to PSBd, the valid bitstream may also include Frame Sublayer (FS) frames, wherein the FS frame includes an FS frame header, wherein the FS frame header carries indication information of the valid bitstream and / or indication information of the invalid bitstream.
[0037] In one exemplary embodiment, the indication information for a valid bitstream includes, but is not limited to, the location and length of the valid bitstream, and the indication information for an invalid bitstream includes, but is not limited to, the location, length, and code type of the invalid bitstream. Furthermore, the indication information for a valid bitstream can be further subdivided into indication information for each optical network unit.
[0038] In some embodiments, the indication information of the invalid bitstream includes the preset code pattern used by the invalid bitstream, wherein the preset code pattern includes at least one of the following: a bitstream with repeated 0101; a bitstream with repeated 0011; or a preset pseudo-random binary sequence.
[0039] In one exemplary embodiment, the preset pseudo-random binary sequence (PRBS) includes, but is not limited to, at least one of the following:
[0040] A bit stream with repeated PRBS7 code pattern seed 0041H;
[0041] A bit stream with repeated PRBS9 code pattern seed 0108H;
[0042] A bit stream with repeated PRBS11 code pattern seed 0402H;
[0043] A bit stream with a seed of 100DH and repeating PRBS13 code pattern;
[0044] The seed is a bitstream with repeated PRBS14 code pattern of 2015H;
[0045] A bitstream with a PRBS15 code pattern repeating in seed 4001H.
[0046] In some embodiments, the FS frame header includes a downlink physical layer operations, administration, and maintenance (PLOAMd) field, wherein the PLOAMd field is used to carry a power-saving message, which carries indication information of the valid bitstream that is effective for the specified physical frame and / or indication information of the invalid bitstream.
[0047] In some embodiments, the energy-saving indication message includes one of the following:
[0048] Optical Network Unit Identifier;
[0049] A message type identifier is used to indicate that the message type of the PLOAM message is the energy-saving indication message;
[0050] Control options are used to indicate whether to control the energy-saving time or the energy-saving percentage;
[0051] Energy saving cycle;
[0052] The energy-saving time or the energy-saving ratio corresponding to the control option;
[0053] The preset code pattern used by the invalid code stream;
[0054] Sustained super-high frame rates;
[0055] The superframe number that takes effect.
[0056] In this embodiment, the power-saving period is used to indicate the computation period of the power-saving mode, the continuous superframe number indicates the number of superframes the power-saving mode lasts, and the effective superframe number indicates the superframe number at which the message configuration takes effect. By sending the power-saving indication message in advance, the valid or invalid bitstream in subsequent superframes can be configured in advance.
[0057] In some embodiments, the FS frame header may include:
[0058] The downlink bandwidth allocation (dBWmap) field is used to indicate the downlink bandwidth allocation result. The dBWmap field includes multiple downlink bandwidth allocation entries, each carrying indication information of the valid bitstream that is effective for the current physical frame and / or indication information of the invalid bitstream.
[0059] The downlink header length (dHLend) field indicates the number of downlink bandwidth allocation entries in the dBWmap field.
[0060] In some embodiments, the downlink bandwidth allocation entry includes:
[0061] The group identifier field is used to indicate the identifier of the downlink bandwidth allocation;
[0062] A flag bit is used to indicate the type of downlink bandwidth allocation;
[0063] Start time, used to indicate the start time of the downlink bandwidth allocation;
[0064] Authorization size, used to indicate the duration of the downlink bandwidth allocation;
[0065] The code type field is used to indicate the preset code type used by the invalid code stream;
[0066] Hybrid Error Correction (HEC) field.
[0067] In some embodiments, the value of the flag bit includes a first preset value, wherein the group identifier field corresponding to the first preset value is used to identify the valid bitstream and the invalid bitstream, and the downlink bandwidth allocation entry corresponding to the first preset value includes the downlink bandwidth allocation entry for the valid bitstream and the downlink bandwidth allocation entry for the invalid bitstream.
[0068] In some embodiments, the value of the flag bit includes a second preset value, wherein the group identifier field corresponding to the second preset value is used to identify multiple valid bitstreams and invalid bitstreams corresponding to different optical network units, and the downlink bandwidth allocation entry corresponding to the second preset value includes downlink bandwidth allocation entries for multiple valid bitstreams and downlink bandwidth allocation entries for invalid bitstreams, wherein each downlink bandwidth allocation entry for a valid bitstream corresponds to one optical network unit.
[0069] In some embodiments, before step S202, the method may further include: step S201, generating the effective bitstream through encapsulation processing of the service adaptation sublayer, the framing sublayer and the physical adaptation sublayer, wherein the effective bitstream includes processed physical frames and the length of the processed physical frames is less than the length of the physical frames.
[0070] In some embodiments, step S202, which adds an invalid bitstream of a preset code pattern after the valid bitstream in a physical frame to obtain a continuous physical frame, may include: in response to the fact that the valid bitstream cannot be transmitted continuously, adding the invalid bitstream after the valid bitstream according to the preset code pattern to obtain the physical frame, wherein the sum of the length of the valid bitstream and the length of the invalid bitstream is equal to the length of the physical frame.
[0071] In some embodiments, the processed physical frame in step S201 includes a scrambled physical frame or a bit-interleaved physical frame.
[0072] In an exemplary embodiment, if the processed physical frame includes a scrambled physical frame, then step S201, through encapsulation processing of the service adaptation sublayer, framing sublayer, and physical adaptation sublayer, generates the effective bitstream, which may include the following steps:
[0073] Step S2012: Encapsulate downlink service data and / or idle data in the service adaptation sublayer to obtain multiple XGEM frames;
[0074] Step S2014: Encapsulate the plurality of XGEM frames in the framing sublayer to obtain the framing sublayer FS frame;
[0075] Step S2016A: Add a downlink physical synchronization block to the FS frame in the physical adaptation sublayer, and perform forward error correction coding (FEC) and scrambling on the downlink physical synchronization block and the FS frame to obtain the scrambled physical frame, wherein the scrambled physical frame includes at least one FEC codeword.
[0076] In another exemplary embodiment, if the processed physical frame includes a bit-interleaved physical frame, then step S201, through encapsulation processing of the service adaptation sublayer, framing sublayer, and physical adaptation sublayer, generates the effective bitstream, and may include the following steps:
[0077] Step S2012: Encapsulate downlink service data and / or idle data in the service adaptation sublayer to obtain multiple XGEM frames;
[0078] Step S2014: Encapsulate the plurality of XGEM frames in the framing sublayer to obtain the framing sublayer FS frame;
[0079] Step S2016B: Add the downlink physical synchronization block to the FS frame in the physical adaptation sublayer, and perform FEC encoding, scrambling and bit interleaving on the downlink physical synchronization block and the FS frame to obtain the bit-interleaved physical frame, wherein the bit-interleaved physical frame includes at least 4 FEC codewords.
[0080] In some embodiments, the FS frame includes an FS frame header and an FS payload, the FS payload including the plurality of XGEM frames, wherein the XGEM frame includes at least one of the following: an XGEM frame encapsulated by the downlink service data; or an XGEM frame encapsulated by the idle data.
[0081] In this embodiment, the length of the processed physical frame typically needs to be an integer multiple of the FEC codeword length. If the service data is insufficient to fill the FEC codeword, a small amount of idle data needs to be encapsulated. Furthermore, if it is a bit-interleaved physical frame, its length needs to be an integer multiple of the length of four FEC codewords. However, this disclosure is not limited to this. If the physical frame only contains a downlink physical synchronization block, the last FEC codeword can also be a truncated FEC codeword with a length shorter than the standard-specified FEC codeword length.
[0082] In some embodiments, the downlink physical synchronization block in the physical frame is located in the first FEC codeword in the scrambled physical frame or the bit-interleaved physical frame.
[0083] In some embodiments, the first FEC codeword further includes at least one of the following: a framing sublayer FS frame header; the downlink service data; and the idle data.
[0084] Through the embodiments of this disclosure, the optical line terminal (OLT) can transmit continuous physical frames, enabling the optical network unit (ONU) to recover the clock from the continuous bit stream. This avoids clock recovery problems caused by downlink energy saving through downlink burst mode, and also reduces hardware modification costs. Furthermore, when there is little or no service data, the OLT can skip the encapsulation process of the effective bit stream and directly add an invalid bit stream with a preset code pattern, thereby saving system energy generated by the conventional encapsulation process and achieving energy saving in downlink transmission. Therefore, the embodiments of this disclosure solve the problem of high hardware modification costs in achieving downlink energy saving in passive optical network systems through downlink burst mode in related technologies, and can achieve the technical effect of reducing energy loss and hardware modification costs.
[0085] According to yet another embodiment of this disclosure, an optical line terminal is also provided, which is used to perform data transmission according to the steps of any of the above-described optical line terminal side method embodiments, and can achieve energy saving in downlink data transmission.
[0086] This disclosure also provides a data transmission method for a passive optical network, applied to an optical network unit. Figure 3 is a flowchart of a downlink data transmission method for an optical network unit according to an embodiment of this disclosure. As shown in Figure 3, the process includes the following steps:
[0087] Step S302: Receive consecutive physical frames;
[0088] Step S304: parse the valid bitstream and process the invalid bitstream.
[0089] In this embodiment, the consecutive physical frames in step S302 are obtained by adding an invalid bitstream with a preset code pattern after the valid bitstream in the physical frame by the optical line terminal.
[0090] In this embodiment of the disclosure, by using the above steps S302 and S304, the continuity of physical frames can be guaranteed, enabling the receiving end to recover the clock from the continuous bit stream. It can also eliminate the encapsulation process of the effective bit stream when there is little or no service data, thereby achieving energy saving at the transmitting end. Therefore, it solves the problem of high hardware modification costs in achieving downlink energy saving in passive optical network systems through downlink burst mode in related technologies, and can achieve the technical effect of reducing energy loss and reducing hardware modification costs.
[0091] In some embodiments, parsing the valid bitstream in step S304 includes one of the following:
[0092] Step S3042A: Recover the clock according to the physical frame corresponding to the valid bitstream;
[0093] Step S3042B: Obtain indication information of valid bitstream and / or indication information of invalid bitstream from the valid bitstream;
[0094] Step S3042C: Parse the valid bitstream in the physical frame according to the standard.
[0095] In this embodiment, steps S3042A, S3042B, or S3042C can be selected to be executed according to the configuration or hardware conditions of the optical network unit.
[0096] In one exemplary embodiment, the indication information for a valid bitstream includes, but is not limited to, the location and length of the valid bitstream, and the indication information for an invalid bitstream includes, but is not limited to, the location, length, and code type of the invalid bitstream. Furthermore, the indication information for a valid bitstream can be further subdivided into indication information for each optical network unit.
[0097] In some embodiments, after the above steps S3042A, S3042B or S3042C, the following step may be included: step S3044, in response to the end of the valid bitstream or the start of the invalid bitstream, ending the parsing of the valid bitstream.
[0098] In some embodiments, the step S3042C, which involves parsing the valid bitstream in the physical frame according to a standard, may include the following steps:
[0099] Step S3042C-2: The effective bitstream is parsed in the physical adaptation sublayer to obtain the framed sublayer FS frame;
[0100] Step S3042C-4: The FS frame is parsed in the framing sub-layer to obtain multiple XGEM frames;
[0101] Step S3042C-6: parse the multiple XGEM frames in the service adaptation sublayer to obtain downlink service data and / or idle data.
[0102] In this embodiment, the standard in step S3042C may include communication standard protocols developed by the Institute of Electrical and Electronics Engineers (IEEE) or the International Telecommunication Union Telecommunication Standardization Sector (ITU-T).
[0103] In some embodiments, obtaining the indication information of the valid bitstream and / or the indication information of the invalid bitstream from the valid bitstream in step S3042B may include the following steps:
[0104] Step S3042B-2: Obtain the downlink physical synchronization block from the effective bitstream, and determine the start position of the physical frame based on the downlink physical synchronization block;
[0105] Step S3042B-4: Obtain the framing sublayer FS frame header from the effective bitstream according to the start position of the physical frame;
[0106] Step S3042B-6: Parse the FS frame header to obtain the indication information of the valid bitstream and / or the indication information of the invalid bitstream.
[0107] In this embodiment, the valid bitstream includes the downlink physical synchronization block and the FS frame. The FS frame includes the FS frame header, which carries indication information of the valid bitstream and / or indication information of the invalid bitstream.
[0108] In some embodiments, step S3042B-6, parsing the FS frame header to obtain indication information of the valid bitstream and / or indication information of the invalid bitstream, may include: parsing a power-saving indication message from the downlink physical layer operation, management and maintenance (PLOAMd) field of the FS frame header, wherein the power-saving indication message carries indication information of the valid bitstream and / or indication information of the invalid bitstream; parsing the power-saving indication message to obtain indication information of the valid bitstream and / or indication information of the invalid bitstream that are effective for the specified physical frame.
[0109] In some embodiments, step S3042B-6, parsing the FS frame header to obtain indication information of the valid bitstream and / or indication information of the invalid bitstream, may include: parsing multiple downlink bandwidth allocation entries from the downlink bandwidth allocation dBWmap field of the FS frame header; parsing the multiple downlink bandwidth allocation entries to obtain indication information of the valid bitstream and / or indication information of the invalid bitstream that are effective for the current physical frame.
[0110] In some embodiments, the plurality of downlink bandwidth allocation entries include: downlink bandwidth allocation entries for the valid bitstream and downlink bandwidth allocation entries for the invalid bitstream.
[0111] In other embodiments, there are multiple downlink bandwidth allocation entries for the valid bitstreams and downlink bandwidth allocation entries for the invalid bitstreams, wherein each downlink bandwidth allocation entry for the valid bitstream corresponds to an optical network unit.
[0112] In some embodiments, the processing of the invalid bitstream in step S304 includes one of the following:
[0113] Step S3046A: Recover the clock according to the physical frame corresponding to the invalid bitstream;
[0114] Step S3046B: Do not process the invalid bitstream in the physical frame;
[0115] Step S3046C: Parse the invalid bitstream in the physical frame according to the standard.
[0116] In this embodiment, the optical network unit (ONU) can directly skip the decoding process of the invalid bitstream based on the indication information of the invalid bitstream, thereby achieving energy saving in downlink data transmission. Alternatively, when the ONU parses the invalid bitstream according to the standard procedure, the decoding of the invalid bitstream's FEC will generate error information, which the ONU will discard.
[0117] In some embodiments, step S3046C, parsing the invalid bitstream in the physical frame according to a standard, includes the following steps:
[0118] Step S3046C-2: Parse the invalid bitstream in the physical frame according to the standard and generate forward error correction coding (FEC) decoding error statistics;
[0119] Step S3046C-4: Based on the indication information of the invalid bitstream, exclude the FEC decoding error statistics corresponding to the invalid bitstream.
[0120] In this embodiment, to avoid incorrect guidance caused by FEC error statistics of invalid information, the de-FEC error statistics of invalid information regions need to be removed. The optical network unit can obtain the length of the invalid bitstream from the indication information of the invalid bitstream, convert it into the number of FEC codewords, and remove these invalid information FEC codewords when reading the de-FEC error statistics at the chip level.
[0121] In some embodiments, the indication information of the invalid bitstream includes the preset code pattern used by the invalid bitstream, wherein the preset code pattern includes at least one of the following: a bitstream with repeated 0101; a bitstream with repeated 0011; or a preset pseudo-random binary sequence.
[0122] In one exemplary embodiment, the preset pseudo-random binary sequence (PRBS) includes, but is not limited to, at least one of the following:
[0123] A bit stream with repeated PRBS7 code pattern seed 0041H;
[0124] A bit stream with repeated PRBS9 code pattern seed 0108H;
[0125] A bit stream with repeated PRBS11 code pattern seed 0402H;
[0126] A bit stream with a seed of 100DH and repeating PRBS13 code pattern;
[0127] The seed is a bitstream with repeated PRBS14 code pattern of 2015H;
[0128] A bitstream with a PRBS15 code pattern repeating in seed 4001H.
[0129] In this embodiment, by directly adding an invalid bitstream after the valid bitstream, the continuity of physical frames can be guaranteed, enabling the receiver to recover the clock from the continuous bitstream. Furthermore, the decoding process for the invalid bitstream can be omitted based on its indication information, thus achieving energy saving at the receiver. Therefore, this embodiment solves the problem of high hardware modification costs in related technologies that achieve downlink energy saving in passive optical network systems through downlink burst mode, achieving both reduced energy loss and lower hardware modification costs.
[0130] According to yet another embodiment of this disclosure, an optical network unit is also provided, which is used to perform data transmission according to the steps of any of the above-described optical network unit-side method embodiments to achieve energy saving on the receiving side of downlink data transmission.
[0131] According to another embodiment of this disclosure, a passive optical network system is also provided, including an optical line terminal and at least one optical network unit. The optical line terminal is used to add an invalid bit stream of a preset code pattern after the valid bit stream in a physical frame to obtain a continuous physical frame, and to send the physical frame to the at least one optical network unit. The optical network unit is used to receive the continuous physical frame, parse the valid bit stream, and process the invalid bit stream.
[0132] Furthermore, the optical line terminal or optical network unit can perform data transmission according to the steps of any of the above method embodiments to achieve energy saving on the transmitting and receiving sides.
[0133] Figure 4 is a schematic diagram of the downlink framing and transmission process of an optical line terminal according to an embodiment of the present disclosure. As shown in Figure 4, the service data needs to be encapsulated through the service adaptation sublayer, the framing sublayer, and the physical adaptation sublayer in sequence to finally form the physical frame to be transmitted. The specific process includes the following steps:
[0134] Step S402: Encapsulate the business data into an XGEM frame in the service adaptation sublayer;
[0135] Step S404: In the framing sublayer, multiple XGEM frames are encapsulated as FS payloads into FS frames.
[0136] Step S406: Add a downlink physical synchronization block (PSBd) to the FS frame, insert FEC check, and perform scrambling (bit interleaving can also be performed if necessary) to finally form the physical frame to be transmitted.
[0137] In this embodiment, the physical frames have a period of 125 microseconds, and because they contain multiple XGEM frames, they can also be called superframes. In a typical downlink data transmission process, physical frames generated from service data can be sent continuously, forming consecutive physical frames. The optical network unit can recover the clock from consecutive physical frames to achieve clock synchronization.
[0138] However, when there is little or no business data, the physical frames generated from the business data cannot be sent continuously. In this case, the relevant technology inserts idle data when encapsulating XGEM frames to ensure the continuous transmission of physical frames.
[0139] Figure 5 is a schematic diagram of downlink transmission of inserted idle data in related technologies. As shown in Figure 5, when there is little or no service data, idle data can be used to replace the service data unit (SDU) of the service data when encapsulating XGEM frames. The encapsulation process of idle data is exactly the same as that of service data, specifically including the following process:
[0140] Step S502: Encapsulate business data or idle data into XGEM frames in the service adaptation sublayer;
[0141] Step S504: In the framing sub-layer, multiple XGEM frames are encapsulated as FS payloads into FS frames.
[0142] Step S506: Add a downlink physical synchronization block (PSBd) to the FS frame, insert FEC check, and perform scrambling (bit interleaving can also be performed if necessary) to finally form the physical frame to be transmitted.
[0143] In this embodiment, although continuous transmission of physical frames can be guaranteed, data processing and data transmission resources are wasted on processing idle data, resulting in resource waste, which does not meet the increasingly high energy-saving requirements in related technologies.
[0144] Figure 6 is a schematic diagram of the downlink framing and transmission process of the optical line terminal in energy-saving mode according to an embodiment of this disclosure. As shown in Figure 6, the optical line terminal only performs encapsulation processing of the service adaptation sublayer and the framing sublayer on the service data. In order to ensure the continuous transmission of physical frames, the optical line terminal directly adds an invalid bitstream with a preset code pattern after the valid bitstream corresponding to the service data when performing encapsulation processing of the physical adaptation sublayer. Specifically, the process includes the following steps:
[0145] Step S602: Encapsulate the business data into an XGEM frame in the service adaptation sublayer;
[0146] Step S604: In the framing sub-layer, multiple XGEM frames are encapsulated as FS payloads into FS frames.
[0147] In step S606, a downlink physical synchronization block (PSBd) is added to the FS frame, and FEC check is inserted. Scrambling is performed (bit interleaving can also be performed if necessary) to obtain an effective bit stream. If the length of the effective bit stream is insufficient to form a complete physical frame, an invalid bit stream with a preset code pattern is added to finally form the physical frame to be transmitted.
[0148] In this embodiment, consecutive physical frames include multiple physical frames. Each physical frame may contain only a valid bitstream, or it may contain both a valid and an invalid bitstream. The valid bitstream may be a scrambled physical frame or a bit-interleaved physical frame. The invalid bitstream is a bitstream with a preset code pattern. The invalid bitstream is transmitted after the valid bitstream, and it does not require scrambling or bit interleaving. The receiving side also does not need to descramble or de-interleave the invalid bitstream, thus achieving energy savings on both the receiving and transmitting sides.
[0149] In some embodiments, the effective bitstream may consist only of downlink physical synchronization blocks, and correspondingly, the length of the effective bitstream may be a truncated FEC codeword (shorter than a regular FEC codeword). The receiving side can automatically determine whether a truncated FEC codeword exists based on the length of the effective bitstream.
[0150] In some embodiments, the effective bitstream may include scrambled physical frames (PHY frames), and the length of the effective bitstream is generally an integer multiple of the length of the FEC codeword. If the length of the encapsulated service data does not meet the requirements, a small amount of idle data needs to be encapsulated when encapsulating the XGEM frame.
[0151] In some embodiments, the effective bitstream may include a bit-interleaved physical frame (PHY frame). Correspondingly, the length of the effective bitstream is generally an integer multiple of the length of four FEC codewords. If the length of the encapsulated service data does not meet the requirements, a small amount of idle data needs to be encapsulated when encapsulating the XGEM frame.
[0152] In some embodiments, the invalid bitstream can be a bitstream of 0101 repeated bits, periodically filling the invalid information field with 0101 repeated bits until the invalid information field is full. Alternatively, the invalid bitstream can be a bitstream of 0011 repeated bits, periodically filling the invalid information field with 0011 repeated bits until the invalid information field is full. Furthermore, the invalid bitstream can also be a bitstream of a pseudo-random binary sequence (PRBS) of a specified seed, periodically filling the invalid information field with the PRBS bits of the specified seed until the invalid information field is full. As shown in Table 1 below, this disclosure proposes several specific code patterns for invalid bitstreams for selection, but this disclosure does not impose limitations on these patterns; in practical applications, flexible selection can be made according to needs.
[0153] Table 1:
[0154] In this embodiment of the disclosure, if there is service data to be sent, the service data is encapsulated in the conventional encapsulation process, sequentially through the service adaptation sublayer, framing sublayer, and physical adaptation sublayer. When there is little or no service data, the encapsulation process of the service adaptation sublayer and framing sublayer, as well as the FEC and scrambling code processing process in the physical adaptation sublayer, are skipped. A specific code pattern is directly added after the effective bitstream to form the final physical frame. This method can achieve energy saving.
[0155] In this embodiment, the optical network unit (receiving side) already deployed in the existing network is unaware of invalid information of a specific code pattern and only uses it to restore the clock. For optical network units that have undergone hardware modifications for downlink power saving, additional functions such as equalization training can also be performed on the aforementioned invalid information of a specific code pattern to achieve fast downlink synchronization.
[0156] In one embodiment of this disclosure, the indication information of valid bitstreams and / or invalid bitstreams can be indicated by the PLOAMd field in the FS frame header. The message type of the PLOAM message can be a newly designed power-saving indication message for an OLT (OLT_Power_Saving), but this disclosure is not limited to this. This embodiment mainly targets optical network units already deployed in the existing network. These optical network units cannot be replaced, but downlink power saving of optical line terminals can be supported by updating the software.
[0157] In this embodiment, if downlink service data is scarce, XGEM frames are not transmitted when there is no service transmission. Instead, truncated FS payloads, FS frames, scrambled PHY frames, or bit-interleaved PHY frames are assembled. Within a 125-microsecond (μs) period, invalid information of a specific code type is transmitted in addition to the valid code stream. If the valid code stream is a scrambled PHY frame, its length is generally at least the length of one FEC codeword. The valid code stream may include the PSBd field, dBWmap field, PLOAMd field, and some downlink service data. Furthermore, when the downlink service within the length of one FEC codeword is insufficient to fill an FEC codeword, an idle XGEM frame encapsulated from idle data can be transmitted according to the standard. In particular, when there is no downlink service at all, the valid code stream may only contain the PSBd field, and the rest of the superframe is an invalid code stream of a specific code type.
[0158] In one exemplary embodiment, the indication information includes the length of the bitstream. The optical line terminal can indicate the length of the valid bitstream and / or invalid bitstream in the downlink superframe via a PLOAM message (located in the FS frame header), wherein the length of the valid bitstream is generally an integer multiple of the FEC codeword, and if downlink bit interleaving is supported, the length of the valid bitstream is an integer multiple of the length of 4 FEC codewords.
[0159] In one exemplary embodiment, the length of the effective bitstream is not limited to an integer multiple of the FEC codeword; in this case, a truncated FEC codeword appears at the end of the effective bitstream.
[0160] In an exemplary embodiment, the structure of OLT_Power_Saving is shown in Table 2 below. The ONU-ID field of bytes 1 to 2 indicates the broadcast ONU-ID, which is sent to all ONUs. Byte 3 indicates that the message type is OLT_Power_Saving. Byte 4 indicates the sequence number of the broadcast PLOAM message sent. Byte 5 indicates the control options. Bit A of 0 indicates that bytes 11 to 14 are the power-saving time, i.e., the number of bits, bytes, or FEC codewords of invalid information. Bit A of 1 indicates that bytes 11 to 14 are the power-saving ratio, i.e., the proportion of invalid information length to the entire superframe. Of course, this embodiment does not limit the specific content represented, and the length of valid information can also be represented here. The 6 to 10 bytes of the power-saving cycle represent the calculation cycle of the power-saving mode, in nanoseconds or bits, typically 125 microseconds or 777600*8 bits. Bytes 11 to 14 are the specific values of the power-saving time or power-saving ratio corresponding to the control option. Byte 15 represents the specific code pattern of the invalid information area. Bytes 16 to 19 represent the number of superframes that the power-saving mode lasts. Bytes 23 to 23 are the superframe number at which the message configuration takes effect.
[0161] Table 2:
[0162] In this embodiment, the deployed optical network unit can perform deinterleaving (if the optical line terminal sends according to bit interleaving and the optical network unit successfully attempts deinterleaving), descrambling, and deFEC in sequence according to the original working mode. Under normal circumstances, when the ONU parses the valid bit stream, deinterleaving, descrambling, and deFEC are all correct. However, when parsing the invalid bit stream, deFEC is incorrect. When deFEC fails, this part of the information will be discarded, and deFEC error statistics will be performed at the chip level.
[0163] Furthermore, to avoid incorrect guidance caused by invalid FEC error statistics, the de-FEC error statistics for invalid bitstream regions need to be removed. The ONU software can obtain the length of the invalid bitstream based on the indication information in the PLOAM message, convert it into the number of FEC codewords, and then remove the number of FEC codewords corresponding to these invalid bitstreams from the de-FEC error statistics when reading them from the chip level.
[0164] In this embodiment, for optical network units that can be hardware updated, in addition to using downlink continuous superframes for clock recovery, invalid bitstream regions can be ignored according to the indication information in the PLOAM message, and the parsing of valid bitstream regions can be performed according to the standard process, except that the length of the scrambled physical frames, FEC codewords, and FS frames can be shorter than the standard.
[0165] In an exemplary embodiment, when the optical network obtains from the PLOAM message that the effective bitstream of the downlink superframe contains only the PSBd field, it only parses the PSBd field and does not perform FEC decoding on the first FEC codeword.
[0166] The data transmission method in this embodiment is compatible with existing hardware devices, requiring no hardware modification on the ONU side, and can parse valid and invalid bitstreams in a conventional manner. Furthermore, for ONUs that can be modified in terms of hardware, the invalid bitstream parsing process can be skipped, achieving energy saving on the ONU side.
[0167] In some embodiments of this disclosure, the indication information of valid bitstreams and / or invalid bitstreams can also be indicated by downlink bandwidth allocation.
[0168] Figure 7 is a schematic diagram of the downlink bandwidth allocation structure in an embodiment of this disclosure. As shown in Figure 7, the FS frame header includes the following structure:
[0169] The fields include downlink header length (dHLend), downlink bandwidth allocation (dBWmap), uplink header length (uHLend), uplink bandwidth allocation (uBWmap), and downlink physical layer operation, management, and maintenance (PLOAMd).
[0170] In this embodiment, the dBWmap field and the dHLend field are newly added structures.
[0171] In this embodiment, the dBWmap field is used to indicate the downlink bandwidth allocation result. The dBWmap field includes multiple allocation structures, i.e. multiple downlink bandwidth allocation entries. The downlink bandwidth allocation entries carry indication information of the valid bitstream that is effective for the current physical frame and / or indication information of the invalid bitstream.
[0172] In this embodiment, the dHLend field is used to indicate the number of downlink bandwidth allocation entries in the dBWmap field. The dHLend field includes the following fields: an 11-bit downlink bandwidth allocation length (dBWmap length) field, an 8-bit reserved field, and a 13-bit HEC field.
[0173] In this embodiment, each downlink bandwidth allocation entry (allocation structure) in the dBWmap field includes the following fields:
[0174] The Group ID field is used to indicate the identifier of the downlink bandwidth allocation;
[0175] Flags are used to indicate the type of downlink bandwidth allocation;
[0176] StartTime indicates the start time of the downlink bandwidth allocation;
[0177] GrantSize indicates the duration of the downlink bandwidth allocation;
[0178] The code type field (CCC) is used to indicate the preset code type used by the invalid code stream;
[0179] For Hybrid Error Correction Check (HEC) fields, please refer to the ITU-T G.9804.2 standard.
[0180] In some embodiments, the group identifier field may be used to indicate the optical network unit identifier (ONU-ID), or to indicate valid and invalid bitstreams, and this disclosure is not limited thereto.
[0181] In one exemplary embodiment, Flags = 00b indicates that GroupID is used to distinguish between valid and invalid bitstreams, where...
[0182] GroupID = 0, which is the identifier of the valid bitstream. StartTime + GrantSize represents the start time and length of the valid information.
[0183] GroupID = 1, which is the identifier of the invalid bitstream. StartTime + GrantSize represents the start time and length of the invalid information.
[0184] In an exemplary embodiment, the mapping relationship between different values of the code type field and the preset code type is shown in Table 1, but this disclosure is not limited thereto. For example, a value of 000b in the code type field indicates a code type of 0101; a value of 001b indicates a code type of 0011; a value of 010b indicates a bit stream with repeated PRBS7 code type seed of 0041H; a value of 011b indicates a bit stream with repeated PRBS9 code type seed of 0108H; a value of 100b indicates a bit stream with repeated PRBS11 code type seed of 0402H; a value of 101b indicates a bit stream with repeated PRBS13 code type seed of 100DH; a value of 110b indicates a bit stream with repeated PRBS14 code type seed of 2015H; and a value of 111b indicates a bit stream with repeated PRBS15 code type seed of 4001H.
[0185] In this embodiment, the OLT can calculate the length of the service data transmitted in the current superframe period based on the downlink service status of all ONUs, determine the length of the effective bitstream and the downlink bandwidth allocation result dBWmap, and form a downlink superframe. Based on the indication information of the effective and invalid bitstreams in the downlink superframe, the OLT forms a dBWmap and transmits it within the superframe. The OLT notifies the ONU of the indication information of the effective and invalid bitstreams in the physical frame through the dBWmap, enabling rapid switching between the transmission and reception of effective and invalid bitstreams. The ONU maintains an updated clock based on consecutive physical frames and can ignore invalid bitstream regions (without parsing) based on the invalid bitstream indication information, thus achieving energy saving on the receiving side.
[0186] In this embodiment, since the structure of the FS frame header has been adjusted, the hardware on the ONU side also needs to be updated to a certain extent. However, this disclosure retains the original clock recovery on the ONU side. Compared with the burst mode data transmission method, the clock recovery part can be compatible with the original hardware, and the hardware modification cost is low.
[0187] Figure 8 is a schematic diagram of the downlink bandwidth allocation structure in an exemplary embodiment of this disclosure (I). As shown in Figure 8, Flags = 00b in the dBWmap field indicates that GroupID is used to distinguish between valid and invalid information.
[0188] In this embodiment, the downlink bandwidth length (dBWmaplength) in the dHLend field is 2. The dBWmap field includes two downlink bandwidth allocation entries, the details of which are as follows:
[0189] The first downlink bandwidth allocation entry, GroupID=0, is the valid bitstream identifier. The original downlink superframe length is 777600 bytes, in 64-byte granularity. StartTime=0 indicates that it starts from the first block of the superframe. GrantSize=6075 indicates that the bandwidth length is 6075 64-byte blocks. CCC=000b indicates that the specific code pattern of invalid information is a bitstream with 0101 bit repetitions. The HEC field can be calculated as needed.
[0190] The second downlink bandwidth allocation entry, GroupID=1, is an invalid bitstream identifier. StartTime=6075 indicates that it starts from the 6075+1th block of the superframe. GrantSize=6075 indicates that the bandwidth length is 6075 64-byte segments. CCC=000b indicates that the specific code pattern of the invalid information is a bitstream with 0101 bit repetitions. The HEC field can be calculated as needed.
[0191] In this embodiment, the ONU performs deinterleaving sequentially (if the OLT transmits according to bit interleaving and the ONU successfully attempts deinterleaving), obtains the PSync of the PSBd field to obtain downlink synchronization, descrambles the content after PSBd, obtains the first FEC codeword, and then performs FEC descrambling to obtain the downlink bandwidth allocation length (dBWmaplength) in dHLend, which is the number of entries in the dBWmap field being 2. Then, it parses the downlink bandwidth allocation entries of the valid bitstream and the downlink bandwidth allocation entries of the invalid bitstream in the dBWmap field respectively to obtain the position and length of the valid information and the position, length, and code pattern of the invalid information. Subsequently, it continues to parse according to the standard until the parsing of the valid bitstream is completed.
[0192] Figure 9 is a schematic diagram of the downlink bandwidth allocation structure in an exemplary embodiment of this disclosure (II). As shown in Figure 9, Flags = 01b in the dBWmap field indicates that GroupID is the optical network unit identifier (ONU-ID).
[0193] This embodiment is mainly used for ONUs whose hardware can be updated, while also taking into account ONU reception energy saving and ONU FEC de-encoding energy saving.
[0194] In this embodiment, the OLT calculates the data length of each ONU's transmitted service based on the downlink service status of each ONU, forming a downlink bandwidth allocation result dBWmap, and then forming a downlink superframe. Based on the downlink services of each ONU within the downlink superframe, a dBWmap is formed and transmitted within the superframe. The downlink BWmap notifies each ONU of the valid bitstream, enabling rapid switching. The ONU maintains an updated clock, and each ONU ignores other information regions, only receiving the valid bitstream within its own time slot, thus achieving energy saving in reception and de-FEC (Functional Encoding and Coding) processing.
[0195] In this embodiment, StartTime+GrantSize represents the start time and authorized size (i.e., stream length) of the valid bitstream of each ONU-ID.
[0196] In this embodiment, the indication information of invalid bitstream may not be reflected in the dBWmap field. Alternatively, an invalid bitstream region may be represented by setting a special ONU-ID (e.g., 1019). (Furthermore, this ONU-ID can also be applied in downlink burst mode to indicate a region that is not transmitted.) This special ONU-ID can be a specific value, agreed upon in the standard, or it can be dynamically allocated during system operation. The OLT configures the ONU with the ONU through the protocol.
[0197] In one exemplary embodiment, the mapping relationship between different values of the Code Type (CCC) field and the preset code type is shown in Table 1, but this disclosure is not limited thereto. For example, a value of 000b in the Code Type field indicates a code type of 0101; a value of 001b indicates a code type of 0011; a value of 010b indicates a bit stream with repeated PRBS7 code type seed 0041H; a value of 011b indicates a bit stream with repeated PRBS9 code type seed 0108H; a value of 100b indicates a bit stream with repeated PRBS11 code type seed 0402H; a value of 101b indicates a bit stream with repeated PRBS13 code type seed 100DH; a value of 110b indicates a bit stream with repeated PRBS14 code type seed 2015H; and a value of 111b indicates a bit stream with repeated PRBS15 code type seed 4001H.
[0198] In this embodiment, the value of dBWmaplength in the dHLend field is n+1, where n is the number of ONUs. Correspondingly, the dBWmap field contains downlink bandwidth allocation entries for n ONUs and one downlink bandwidth allocation entry for an invalid bitstream. In each downlink bandwidth allocation entry, Flags = 01b, indicating that GroupID is used to represent the ONU-ID. The specific content of each downlink bandwidth allocation entry is as follows:
[0199] The first downlink bandwidth allocation entry, GroupID=ONU-ID1 indicates that bandwidth is allocated to ONU ONU-ID1, StartTime=0 indicates that it starts from the first block of the superframe, GrantSize=500 indicates that the bandwidth length is 500 64 bytes, CCC=000b indicates that the specific code pattern of invalid information is a bit stream with 0101 bit repetition, and the HEC field can be calculated as needed;
[0200] The nth downlink bandwidth allocation entry, GroupID=ONU-IDn indicates that the ONU-IDn is allocated bandwidth, StartTime=5000 indicates that it starts from the 5000+1th block of the superframe, GrantSize=1075 indicates that the bandwidth length is 1075 64-byte blocks, CCC=000b indicates that the specific code pattern of invalid information is a bit stream with 0101 bit repetitions, and the HEC field can be calculated as needed.
[0201] The (n+1)th downlink bandwidth allocation entry, GroupID=1019 indicates that bandwidth is allocated to the special ONU-ID 1019, i.e., invalid bitstream information. StartTime=6075 indicates that it starts from the 6075+1th block of the superframe. GrantSize=6075 indicates that the bandwidth length is 6075 64-byte blocks. CCC=000b indicates that the specific code pattern of the invalid bitstream is a bitstream with 0101 bit repetitions. The HEC field can be calculated as needed.
[0202] In this embodiment, the ONUs are deinterleaved sequentially (if the OLT transmits according to bit interleaving and the ONU's attempt to deinterleave is successful). The PSync of the PSBd field is obtained to achieve downlink synchronization. The content after PSBd is descrambled, and after obtaining the first FEC codeword, FEC is de-processed to obtain the dBWmaplength of dHLend, i.e., the number of entries in the dBWmap field. Then, the downlink bandwidth allocation entries of each ONU and the downlink bandwidth allocation entries of invalid bitstreams in the dBWmap field are parsed respectively to obtain the position and length of the valid bitstream (composed of the downlink bandwidth of each ONU), the position, length, and code pattern of the invalid bitstream. Subsequently, the uHLend field, uBWmap field, and PLOAMd field are parsed according to the standard. Based on the downlink bandwidth allocation of each ONU, only the content belonging to the current ONU's downlink bandwidth is parsed, including descrambling, FEC de-processing, FS frame de-processing, XGEM frame de-processing, etc. The downlink bandwidth of other ONUs and invalid bitstreams are not parsed until the parsing of the valid bitstream is completed.
[0203] Through the embodiments disclosed herein, each ONU can obtain its own valid bitstream information and can parse only its own valid bitstream, thereby achieving energy saving on the ONU side.
[0204] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.
[0205] Embodiments of this disclosure also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps in any of the above method embodiments.
[0206] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0207] Embodiments of this disclosure also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0208] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0209] Embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the method embodiments described above.
[0210] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0211] It is obvious to those skilled in the art that the modules or steps of this disclosure described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this disclosure is not limited to any particular combination of hardware and software.
[0212] The above description is merely an exemplary embodiment of this disclosure and is not intended to limit this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A data transmission method for a passive optical network, the method comprising: An invalid bitstream with a preset code pattern is added after the valid bitstream in a physical frame to obtain consecutive physical frames; Send the physical frame.
2. The method according to claim 1, wherein, The effective bitstream includes downlink physical synchronization blocks.
3. The method according to claim 2, wherein, The valid bitstream also includes a framing sublayer FS frame, the FS frame including an FS frame header, wherein the FS frame header carries indication information of the valid bitstream and / or indication information of the invalid bitstream.
4. The method according to claim 3, wherein, The indication information of the invalid bitstream includes the preset code pattern used by the invalid bitstream, wherein the preset code pattern includes at least one of the following: A bitstream of 0101 repeating; 0011 repeating bit stream; A preset pseudo-random binary sequence.
5. The method according to claim 3, wherein, The FS frame header includes a downlink physical layer operation, management and maintenance PLOAMd field, wherein the PLOAMd field is used to carry a power saving indication message, the power saving indication message carrying indication information of the valid bitstream that is effective for the specified physical frame and / or indication information of the invalid bitstream.
6. The method according to claim 5, wherein, The energy-saving instruction message includes one of the following: Optical Network Unit Identifier; A message type identifier is used to indicate that the message type of the PLOAM message is the energy-saving indication message; Control options are used to indicate whether to control the energy-saving time or the energy-saving percentage; Energy saving cycle; The energy-saving time or the energy-saving ratio corresponding to the control option; The preset code pattern used by the invalid code stream; Sustained super-high frame rates; The superframe number that takes effect.
7. The method according to claim 3, wherein, The FS frame header includes: The downlink bandwidth allocation dBWmap field is used to indicate the downlink bandwidth allocation result. The dBWmap field includes multiple downlink bandwidth allocation entries, and the downlink bandwidth allocation entries carry indication information of the effective bitstream and / or indication information of the invalid bitstream that are effective for the current physical frame. The downlink header length dHLend field is used to indicate the number of downlink bandwidth allocation entries in the dBWmap field.
8. The method according to claim 7, wherein, The downlink bandwidth allocation entries include: The group identifier field is used to indicate the identifier of the downlink bandwidth allocation; A flag bit is used to indicate the type of downlink bandwidth allocation; Start time, used to indicate the start time of the downlink bandwidth allocation; Authorization size, used to indicate the duration of the downlink bandwidth allocation; The code type field is used to indicate the preset code type used by the invalid code stream; Hybrid error correction validation (HEC) field.
9. The method according to claim 8, wherein, The value of the flag bit includes a first preset value, wherein the group identifier field corresponding to the first preset value is used to identify the valid bitstream and the invalid bitstream, and the downlink bandwidth allocation entry corresponding to the first preset value includes the downlink bandwidth allocation entry of the valid bitstream and the downlink bandwidth allocation entry of the invalid bitstream.
10. The method according to claim 8, wherein, The value of the flag bit includes a second preset value, wherein the group identifier field corresponding to the second preset value is used to identify multiple valid bitstreams and invalid bitstreams corresponding to different optical network units, and the downlink bandwidth allocation entry corresponding to the second preset value includes downlink bandwidth allocation entries for multiple valid bitstreams and downlink bandwidth allocation entries for invalid bitstreams, wherein each downlink bandwidth allocation entry for a valid bitstream corresponds to one optical network unit.
11. The method according to claim 1, wherein, The method further includes: The effective bitstream is generated through encapsulation processing by the service adaptation sublayer, the framing sublayer, and the physical adaptation sublayer. The effective bitstream includes processed physical frames, and the length of the processed physical frames is less than the length of the physical frames.
12. The method according to claim 11, wherein, The step of adding an invalid bitstream with a preset code pattern after the valid bitstream in a physical frame to obtain consecutive physical frames includes: In response to the inability to continuously transmit the valid bitstream, the invalid bitstream is added after the valid bitstream according to the preset code pattern to obtain the physical frame, wherein the sum of the length of the valid bitstream and the length of the invalid bitstream is equal to the length of the physical frame.
13. The method according to claim 11, wherein, The processed physical frames include scrambled physical frames or bit-interleaved physical frames.
14. The method according to claim 13, wherein, The process of generating the effective bitstream through encapsulation of the service adaptation sublayer, framing sublayer, and physical adaptation sublayer includes: The downlink service data and / or idle data are encapsulated in the service adaptation sublayer to obtain multiple XGEM frames; The multiple XGEM frames are encapsulated in the framing sublayer to obtain the framing sublayer FS frame; In the physical adaptation sublayer, a downlink physical synchronization block is added to the FS frame, and forward error correction coding (FEC) and scrambling are performed on the downlink physical synchronization block and the FS frame to obtain the scrambled physical frame, wherein the scrambled physical frame includes at least one FEC codeword; or, The downlink physical synchronization block is added to the FS frame in the physical adaptation sublayer, and the downlink physical synchronization block and the FS frame are subjected to FEC encoding, scrambling and bit interleaving to obtain the bit-interleaved physical frame, wherein the bit-interleaved physical frame includes at least 4 FEC codewords.
15. The method according to claim 14, wherein, The FS frame includes an FS frame header and an FS payload, the FS payload including the plurality of XGEM frames, wherein the XGEM frames include at least one of the following: XGEM frames encapsulated from the downlink service data; An XGEM frame encapsulated by the idle data.
16. The method of claim 14, wherein, The downlink physical synchronization block in the physical frame is located in the first FEC codeword in the scrambled physical frame or the bit-interleaved physical frame.
17. The method according to claim 16, wherein, The first FEC codeword also includes at least one of the following: Framing sublayer FS frame header; The downlink business data; The idle data.
18. A data transmission method for a passive optical network, wherein, The method includes: Receive consecutive physical frames, wherein the consecutive physical frames are obtained by the optical line terminal adding an invalid bit stream of a preset code pattern after the valid bit stream in the physical frame; The valid bitstream is parsed, and the invalid bitstream is processed.
19. The method according to claim 18, wherein, The parsing of the valid bitstream includes one of the following: Recover the clock based on the physical frame corresponding to the valid bitstream; Obtain indication information of valid bitstream and / or indication information of invalid bitstream from the valid bitstream; The valid bitstream in the physical frame is parsed according to the standard.
20. The method according to claim 19, wherein, The parsing of the valid bitstream also includes: In response to the end of the valid bitstream or the start of the invalid bitstream, the parsing of the valid bitstream is terminated.
21. The method according to claim 19, wherein, The step of parsing the valid bitstream in the physical frame according to the standard includes: The effective bitstream is parsed in the physical adaptation sublayer to obtain the framed sublayer FS frame; The FS frame is parsed in the framing sub-layer to obtain multiple XGEM frames; The multiple XGEM frames are parsed in the service adaptation sublayer to obtain downlink service data and / or idle data.
22. The method according to claim 19, wherein, The step of obtaining indication information of valid bitstream and / or indication information of invalid bitstream from the valid bitstream includes: Obtain the downlink physical synchronization block from the effective bitstream, and determine the start position of the physical frame based on the downlink physical synchronization block; The framing sublayer FS frame header is obtained from the effective bitstream based on the start position of the physical frame; Parse the FS frame header to obtain the indication information of the valid bitstream and / or the indication information of the invalid bitstream; The valid bitstream includes the downlink physical synchronization block and the FS frame. The FS frame includes the FS frame header, which carries indication information of the valid bitstream and / or indication information of the invalid bitstream.
23. The method according to claim 22, wherein, The step of parsing the FS frame header to obtain the indication information of the valid bitstream and / or the indication information of the invalid bitstream includes: The power saving indication message is parsed from the downlink physical layer operation, management and maintenance PLOAMd field of the FS frame header, wherein the power saving indication message carries indication information of the valid bitstream and / or indication information of the invalid bitstream; Parse the energy-saving indication message to obtain indication information of the valid bitstream that is effective for the specified physical frame and / or indication information of the invalid bitstream.
24. The method according to claim 22, wherein, The step of parsing the FS frame header to obtain the indication information of the valid bitstream and / or the indication information of the invalid bitstream includes: Multiple downlink bandwidth allocation entries are parsed from the downlink bandwidth allocation dBWmap field of the FS frame header; The multiple downlink bandwidth allocation entries are parsed to obtain indication information of the valid bitstream and / or the invalid bitstream that are effective for the current physical frame.
25. The method according to claim 24, wherein, The plurality of downlink bandwidth allocation entries include: The downlink bandwidth allocation entries for the valid bitstream and the downlink bandwidth allocation entries for the invalid bitstream; or, The multiple downlink bandwidth allocation entries for the valid bitstreams and the downlink bandwidth allocation entries for the invalid bitstreams, wherein each downlink bandwidth allocation entry for the valid bitstream corresponds to one optical network unit.
26. The method according to claim 18, wherein, The processing of the invalid bitstream includes one of the following: Restore the clock based on the physical frame corresponding to the invalid bitstream; The invalid bitstream in the physical frame is not processed; The invalid bitstream in the physical frame is parsed according to the standard.
27. The method according to claim 26, wherein, The step of parsing the invalid bitstream in the physical frame according to the standard includes: The invalid bitstream in the physical frame is parsed according to the standard, and forward error correction coding (FEC) decoding error statistics are generated. Based on the indication information of the invalid bitstream, exclude the FEC decoding error statistics corresponding to the invalid bitstream.
28. An optical line terminal, wherein, The optical line terminal is used to perform data transmission according to the steps of the method described in any one of claims 1 to 17.
29. An optical network unit, wherein, The optical network unit is used to perform data transmission according to the steps of the method according to any one of claims 18 to 27.
30. A passive optical network system, comprising an optical line terminal and at least one optical network unit, wherein, The optical line terminal is used to add an invalid bitstream of a preset code pattern after the valid bitstream in the physical frame to obtain a continuous physical frame, and to send the physical frame to the at least one optical network unit. The optical network unit is used to receive the continuous physical frames, parse the valid bitstream, and process the invalid bitstream.
31. A computer-readable storage medium, wherein, The storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 17, or implements the steps of the method described in any one of claims 18 to 27.
32. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 17, or the steps of the method described in any one of claims 18 to 27.
33. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 17, or the steps of the method described in any one of claims 18 to 27.