The present disclosure relates to the field of communications technologies, in particular to an information configuration method and apparatus, a storage medium, and a program product.
In current passive optical networks (PONs), low-density parity-check (LDPC) codes are used as forward error correction (FEC), that is, the FEC is obtained from an IEEE mother code by deleting the last one and a half columns of the LDPC code.
In a related technology, due to different characteristics of various optical distribution networks (ODNs) and different FEC decoding schemes supported by different optical line terminals (OLTs), different optical network units (ONUs) need to use different FEC codes to adapt to performance of different ONUs. However, there is currently no relevant scheme that can enable different ONUs to adaptively use different FEC codes.
The following is a summary of the subject matters described in detail herein. This summary is not intended to limit the scope of protection of the claims.
An embodiment of the present disclosure provides an information configuration method and apparatus, a storage medium, and a program product to enable an ONU to adaptively use a corresponding FEC code type.
In accordance with one aspect, an embodiment of the present disclosure provides an information configuration method, applied to an OLT, the information configuration method may include: determining target error correction code (ECC) information according to a candidate ECC type supported by the OLT; and sending the target ECC information to an ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT.
In accordance with another aspect of the present disclosure, an embodiment further provides an information configuration method, applied to an ONU, the information configuration method may include: sending operation parameter information to an OLT; receiving target ECC information sent by the OLT, where the target ECC information is determined by the OLT according to the operation parameter information and a candidate ECC type supported by the OLT; and performing, by using the target ECC information, ECC encoding on communication data sent to the OLT.
In accordance with another aspect of the present disclosure, an embodiment further provides an information configuration apparatus, including: a memory, a processor, and a computer program stored in the memory and executable by the processor, where the computer program, when executed by the processor, causes the processor to implement the information configuration method described above.
In accordance with another aspect of the present disclosure, an embodiment further provides a computer-readable storage medium storing computer-executable instructions for performing the information configuration method described above.
In accordance with another aspect of the present disclosure, an embodiment further provides a computer program product, including a computer program or computer instructions stored in a computer-readable storage medium, from which a processor of a computer device reads the computer program or the computer instructions, where the computer program or the computer instructions, when executed by the processor, cause the computer device to perform the information configuration method described above.
In the embodiments of the present disclosure, target ECC information is first determined according to a candidate ECC type supported by an OLT, and then the target ECC information is sent to an ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT. The target ECC information is selected by the OLT according to an actual network condition. In an embodiment, target ECC information matching the ONU can be selected. Therefore, when the ONU uses the target ECC information to perform ECC encoding on the communication data sent to the OLT, the ONU adaptively uses a corresponding ECC for encoding. This fills the technical gap in an existing method.
Additional features and advantages of the present disclosure will be set forth in the subsequent description, and in part will become apparent from the description, or may be learned by practice of the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by structures particularly noted in the description, the claims and the accompanying drawings.
The accompanying drawings are used to provide further understanding of the technical schemes of the present disclosure and constitute a part of the description. The accompanying drawings are used to explain the technical schemes of the present disclosure together with the embodiments of the present disclosure, and do not constitute a restriction on the technical schemes of the present disclosure.
In order to make the objectives, technical schemes and advantages of the present disclosure more apparent, the present disclosure is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the particular embodiments described herein are only intended to explain the present disclosure and are not intended to limit the present disclosure.
It is to be noted that although a logical order is shown in the flowcharts, the steps shown or described may be performed, in some cases, in a different order from the order shown or described in the flowcharts. The terms such as “first” and “second” in the description, claims and above-mentioned drawings are intended to distinguish between similar objects and are not necessarily to describe a specific order or sequence.
The present disclosure provides an information configuration method, an information configuration apparatus, a computer-readable storage medium, and a computer program product. The information configuration method of an embodiment includes: determining target ECC information according to a candidate ECC type supported by an OLT; and sending the target ECC information to an ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT. In this embodiment, the target ECC information is first determined according to the candidate ECC type supported by the OLT, and then the target ECC information is sent to the ONU, such that by using the target ECC information, the ONU performs ECC encoding on the communication data sent to the OLT. The target ECC information is selected by the OLT according to an actual network condition. In an embodiment, target ECC information matching the ONU can be selected. Therefore, when the ONU uses the target ECC information to perform ECC encoding on the communication data sent to the OLT, the ONU adaptively uses a corresponding ECC for encoding. This fills the technical gap in an existing method.
The embodiments of the present disclosure will be further explained below with reference to the accompanying drawings.
In the embodiment shown in
At S110, target ECC information is determined according to a candidate ECC type supported by the OLT.
It can be understood that different OLTs support different FEC decoding schemes and support different quantities of FEC decoding schemes. Different ONUs need to use different FEC code types to adapt to performance of different ONUs.
It should be noted that there may be one or more pieces of target ECC information. In the case of a plurality of pieces of target ECC information, the ONU can subsequently perform selection or replacement.
At S120, the target ECC information is sent to the ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT.
Referring to
At S210, an initial ECC type is selected from candidate ECC types supported by the OLT.
Generally, in the initial online phase of the ONU, from the candidate ECC types supported by the OLT, one with the strongest error correction ability is selected as the initial ECC type, or one suitable for error correction by the OLT is selected as the initial ECC type.
At S220, the initial ECC type is determined as the target ECC information.
In a possible implementation, the target ECC information includes a target ECC type. Referring to
At S130, operation parameter information of an ODN is obtained.
At S140, the target ECC type is replaced according to the operation parameter information of the ODN.
At S150, a replaced target ECC type is sent to the ONU, such that by using the replaced target ECC type, the ONU performs ECC encoding on communication data sent to the OLT.
It can be understood that the ODN sends the collected operation parameter information to the OLT, such that the OLT can replace the target ECC type according to a current communication condition so that the ONU uses a more suitable target ECC type to perform ECC encoding.
Referring to
At S410, error correction encoding information sent by the ONU is obtained.
At S420, the error correction encoding information is decoded to obtain error correction decoding information.
At S430, a current bit error rate (BER) is calculated according to the error correction encoding information and the error correction decoding information.
At S440, the target ECC information is determined according to the current BER and the candidate ECC type supported by the OLT.
It can be understood that, when the ONU is initially online, a high Margin parameter can be used for registration. In this case, a FEC code has a strong error correction ability. If a decoding flag of the FEC code indicates successful decoding after registration, the error correction encoding information sent by the ONU is obtained. The error correction encoding information is decoded to obtain the error correction decoding information. Then, the current BER is calculated according to the error correction encoding information and the error correction decoding information. Finally, according to the current BER, the target ECC information matching the current BER is determined from candidate ECC types supported by the OLT.
It can be understood that, when the ONU is initially online, a candidate ECC type suitable for error correction by the OLT can also be selected as the initial ECC type. In an embodiment, another FEC code with an error correction ability can be used, provided that the OLT can perform error correction.
Additionally, it is to be noted that, in some embodiments, before the sending the target ECC information to an ONU, the information configuration method further includes: sharing the candidate ECC type with the ONU.
The OLT first shares the supported candidate ECC type with the ONU, such that after the OLT sends the target ECC information to the ONU, the ONU can normally use the target ECC information to perform ECC encoding, so as to avoid a case that the target ECC information sent by the OLT cannot be used by the ONU.
In a possible implementation, the OLT shares the supported candidate ECC type with the ONU in the following manner:
The OLT stores the candidate ECC type in the burst profile control information, and then sends the burst profile control information to the ONU. After receiving the burst profile control information carrying the candidate ECC type, the ONU stores the candidate ECC type to realize sharing of the supported candidate ECC type between the OLT and the ONU.
It can be understood that the OLT may also share the supported candidate ECC type with the ONU in other manners. In an embodiment, the OLT agrees with the ONU on storing the candidate ECC type in common.
In a possible implementation, the target ECC information includes code type indication information for indicating a target ECC type to be used. The sending the target ECC information to an ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT in S120 includes:
The OLT stores the code type indication information in the bandwidth allocation map, and then sends the bandwidth allocation map to the ONU. After receiving the bandwidth allocation map carrying the code type indication information, the ONU obtains the target ECC information according to the code type indication information, to perform ECC encoding on the communication data by using the target ECC information.
In a possible implementation, the target ECC information includes a target ECC type and configuration information for information to be deleted, where the configuration information for information to be deleted is used to indicate a deletion mode of content in an ECC. The sending the target ECC information to an ONU, such that by using the target ECC information, the ONU performs ECC encoding on communication data sent to the OLT in S120 includes:
The OLT stores the target ECC type and the configuration information for information to be deleted in the ECC configuration parameter information, and then sends the ECC configuration parameter information to the ONU. After receiving the ECC configuration parameter information, the ONU performs ECC encoding on the communication data by using the target ECC type and the configuration information for information to be deleted.
In some possible embodiments, the OLT sends the target ECC type and the configuration information for information to be deleted to the ONU through the ECC configuration parameter information until a count of transmissions reaches a first preset number of times, such that the ONU stores the target ECC type and the configuration information for information to be deleted; and sends the bandwidth allocation map to the ONU, such that after completing analysis of the bandwidth allocation map, the ONU performs, according to the target ECC type and the configuration information for information to be deleted, ECC encoding on the communication data sent to the OLT.
The OLT first sends the ECC configuration parameter information carrying the target ECC type and the configuration information for information to be deleted to the ONU, and the ONU receives and stores the target ECC type and the configuration information for information to be deleted. Then the OLT sends the bandwidth allocation map to the ONU as a trigger, such that after completing analysis of the bandwidth allocation map, the ONU performs, according to the stored target ECC type and the configuration information for information to be deleted, ECC encoding on the communication data sent to the OLT.
In another possible embodiment, the OLT sends the target ECC type and the configuration information for information to be deleted to the ONU through the ECC configuration parameter information, such that after receiving the ECC configuration parameter information, the ONU uses a new ECC in an uplink bandwidth according to the target ECC type and the configuration information for information to be deleted.
In some possible embodiments, the target ECC information includes a target ECC type. Referring to
At S510, ECC configuration parameter information corresponding to the target ECC type is determined.
At S520, the target ECC type and the ECC configuration parameter information are sent to the ONU, such that by using the target ECC type and the ECC configuration parameter information, the ONU performs ECC encoding on the communication data sent to the OLT.
It can be understood that the target ECC information includes the target ECC type. After the ECC configuration parameter information is determined according to the target ECC type, the target ECC type and the ECC configuration parameter information are directly sent to the ONU, so that the ONU can directly use the target ECC type and the ECC configuration parameter information to perform ECC encoding.
In some possible embodiments, the ECC configuration parameter information includes configuration information for information to be deleted and a target superframe sequence number, and the configuration information for information to be deleted is used to indicate a deletion mode of content in an ECC. Referring to
At S610, the target ECC type, the configuration information for information to be deleted, and the target superframe sequence number are sent to the ONU until a count of transmissions reaches a second preset number of times or response information fed back by the ONU is received, such that the ONU stores the target ECC type, the configuration information for information to be deleted, and the target superframe sequence number.
At S620, a superframe is sent to the ONU, such that after receiving a superframe with the target superframe sequence number, the ONU performs, according to the target ECC type and the configuration information for information to be deleted, ECC encoding on the communication data sent to the OLT.
It can be understood that, the OLT first sends the target ECC type, the configuration information for information to be deleted, and the target superframe sequence number to the ONU, and the ONU stores these pieces of information upon reception, and feeds back response information to the OLT. In response to not receiving any response information, the OLT sends the target ECC type, the configuration information for information to be deleted, and the target superframe sequence number again until the count of transmissions reaches the second preset number of times. When the target ECC type and the configuration information for information to be deleted are needed for performing ECC encoding, the OLT sends a superframe with the target superframe sequence number to the ONU, thereby triggering the ONU to use the stored target ECC type and the configuration information for information to be deleted.
In some possible embodiments, the ECC configuration parameter information includes region information of information to be deleted, a target superframe sequence number, delete payload region information, and delete check region information. Referring to
At S710, the target ECC type, the region information of information to be deleted, the target superframe sequence number, the delete payload region information, and the delete check region information are sent to the ONU, such that the ONU stores the target ECC type, the region information of information to be deleted, the target superframe sequence number, the delete payload region information, and the delete check region information.
At S720, a superframe is sent to the ONU, such that after receiving a superframe with the target superframe sequence number, the ONU performs, according to the target ECC type the region information of information to be deleted, the delete payload region information, and the delete check region information, ECC encoding on the communication data sent to the OLT.
It can be understood that, the OLT first sends the target ECC type, the region information of information to be deleted, the target superframe sequence number, the delete payload region information, and the delete check region information to the ONU, and the ONU stores these pieces of information upon reception. When the target ECC type, the region information of information to be deleted, the delete payload region information, and the delete check region information are needed for performing ECC encoding, the OLT sends a superframe with the target superframe sequence number to the ONU, thereby triggering the ONU to use the stored information.
In some possible embodiments, the target ECC information includes code type indication information, and the ECC configuration parameter information includes use indication information. Step S520 is further explained. Step S520 may include the following step:
sending burst profile information may include the code type indication information and the use indication information to the ONU, such that the ONU performs, according to the code type indication information and the use indication information, ECC encoding on the communication data sent to the OLT.
It can be understood that, in this embodiment, the OLT stores the code type indication information and the use indication information in the burst profile information, which are sent to the ONU together with the burst profile information.
Additionally, in some possible embodiments, the OLT may further send code type update information to the ONU, such that the ONU modifies the code type indication information according to the code type update information, and performs, according to the use indication information and modified code type indication information, ECC encoding on the communication data sent to the OLT, thereby realizing modification of the target ECC type.
The information configuration method applied to the OLT will be further explained below with reference to specific embodiments.
Refer to Table 1 below, which presents new “Upstream FEC Code Configuration” Physical Layer Operations, Administration and Maintenance (PLOAM) information added to carry burst profile control information and configuration information for information to be deleted. Here, byte 5 carries the burst profile control information, and bytes 6 to 40 carry the configuration information for information to be deleted. Specifically, in the configuration information for information to be deleted, bytes 7 to 11 constitute a deletion configuration unit. In an embodiment, this unit indicates a basic type upon which deletion is based, whether the unit of information deletion is bit-based or column-based, whether an information deletion region is located in a payload region or a check region, a start position of deletion, a length of deletion, and the like. Byte 6 is N, indicating that N deletion configuration units are configured in the PLOAM information. Bytes 12 to 40 contain remaining (N-1) deletion configuration units, each with the same structure as the deletion configuration unit constituted by bytes 7 to 11. If there are any remaining byte in bytes 12 to 40, the remaining byte is padding.
It should be noted that meanings of the remaining bytes in the PLOAM information are the same as meanings of corresponding bytes in PLOAM information in the existing technology, and will not be repeated herein.
It should be noted that the code type indication information includes at least one of the following:
In actual deployment, due to factors such as varying lengths of branched optical fibers, different optical splitters, and different surrounding environments at the OLTs, a plurality of FEC code types may be needed to ensure that each OLT operates at an optimal state in terms of error correction capability and bandwidth efficiency. When the code type indication information includes only bits of the burst profile field in the bandwidth allocation map, since the current Burst Profile has only 2 bits, the burst profile field can indicate at most 4 different FEC code types. Therefore, different FEC code types can be classified into four or less classes, and each class uses one FEC code type. In addition, bits of the code type indication information may be expanded. In an embodiment, a maximum of 2 bits of the start time field StartTime in the bandwidth allocation map and a maximum of 2 bits of the grant size field GrantSize in the bandwidth allocation map are used. The code type indication information may indicate 16 FEC code types using 4 bits, or may indicate a total of 64 FEC code types using 6 bits.
It can be understood that when a particular FEC code type needs to be updated, an ONU using this FEC code type can switch to another code type for use, and switch back after the code type is updated.
Refer to Table 2 below, which presents new “Upstream FEC Code Configuration” PLOAM information added to carry configuration information for information to be deleted. Here, bytes 5 to 40 carry the configuration information for information to be deleted. Specifically, in the configuration information for information to be deleted, bytes 6 to 10 constitute a deletion configuration unit. In an embodiment, this unit indicates a basic type upon which deletion is based, whether the unit of information deletion is bit-based or column-based, whether an information deletion region is located in a payload region or a check region, a start position of deletion, a length of deletion, and the like. Byte 5 is N, indicating that N deletion configuration units are configured in the PLOAM information. Bytes 11 to 40 contain remaining (N-1) deletion configuration units, each with the same structure as the deletion configuration unit constituted by bytes 6 to 10. If there are any remaining byte in bytes 11 to 40, the remaining byte is padding.
It should be noted that meanings of the remaining bytes in the PLOAM information are the same as meanings of corresponding bytes in PLOAM information in the existing technology, and will not be repeated herein.
In an embodiment, a PLOAM message is sent three times before a bandwidth is allocated to a corresponding ONU, and the ONU stores an uplink FEC code type. After that, an OLT allocates a bandwidth to the ONU, and the ONU uses the stored uplink FEC code type to increase a check for an uplink burst. In another embodiment, the PLOAM information and a bandwidth allocation map are allocated in the same downlink superframe. The OLT needs to analyze the bandwidth allocation map and the PLOAM information before sending the uplink burst. If there is an uplink FEC code type in the same downlink superframe, the FEC code type in the message is adopted. In another case, bandwidth allocation before the PLOAM information uses an old FEC code type, while bandwidth allocation after the PLOAM information uses a new FEC code type.
It can be understood that when a particular FEC code type needs to be updated, an ONU using this FEC code type can switch to another code type for use, and switch back after the code type is updated.
Refer to Table 3 below, which presents new “Upstream FEC Code Configuration” PLOAM information added to carry configuration information for information to be deleted and a target superframe sequence number. Here, bytes 5 to 8 carry the target superframe sequence number, and bytes 9 to 40 carry the configuration information for information to be deleted. Specifically, in the configuration information for information to be deleted, bytes 10 to 14 constitute a deletion configuration unit. In an embodiment, this unit indicates a basic type upon which deletion is based, whether the unit of information deletion is bit-based or column-based, whether an information deletion region is located in a payload region or a check region, a start position of deletion, a length of deletion, and the like. Byte 9 is N, indicating that N deletion configuration units are configured in the PLOAM information. Bytes 15 to 40 contain remaining (N-1) deletion configuration units, each with the same structure as the deletion configuration unit constituted by bytes 10 to 14. If there are any remaining byte in bytes 15 to 40, the remaining byte is padding.
Based on Embodiment II, this embodiment adjusts the definition of the PLOAM message by adding, to the PLOAM information, the target superframe sequence number SFC (Superframe Counter), which instructs the ONU to use a new FEC code type after a superframe with the target superframe sequence number is received. Prior to this, an OLT sends a configured PLOAM message, and the ONU replies with an Acknowledge PLOAM message after receiving the configured PLOAM message. If the OLT does not receive any Acknowledge PLOAM message, the OLT continues to send the configured PLOAM message until a count of transmissions reaches a second preset number of times.
In an embodiment, a FEC code type may be set through an ONU management and control interface (OMCI) manner, and commencement of effectiveness of the code type can be set to start from a specific superframe. In an embodiment, an attribute of Upstream FEC Code Configuration is defined in an OMCI management entity OLT-G, including:
It can be understood that when a particular FEC code type needs to be updated, an ONU using this FEC code type can switch to another code type for use, and switch back after the code type is updated.
Refer to Table 4 below, which defines byte 6 in bust profile information Burst_Profile.
It can be understood that in the burst profile information Burst_Profile, except that the two bits of RR in byte 6 are redefined, RR=00: code0, RR=01: code1, RR=10: code2, RR=11: code3, meanings of other bytes of the burst profile information Burst_Profile are consistent with those in other related technologies, and will not be repeated herein.
In actual deployment of this embodiment, several uplink FEC code types can be set in advance. In an embodiment, four code types are defined in advance in the standard, code0: LDPC (C0, P0), code1: LDPC (C1, P1), code2: LDPC (C2, P2), and code3: LDPC (C3, P3). If Burst Profile=00b, code0 is used; if Burst Profile=01b, code1 is used; if Burst Profile=10b, code2 is used; if Burst Profile=11b, code3 is used. Further, it can be understood that additional bits may be carried in the burst profile information Burst Profile for indicating whether the uplink FEC is enabled or disabled.
Refer to Table 5 below, which defines “Upstream FEC Code Configuration” PLOAM information.
It can be understood that Embodiment V described above defines and solidifies code0, code1, code2, and code3 in the standard. This embodiment is more flexible than Embodiment V. In an embodiment, although code0, code1, code2, and code3 are defined in the standard, they are not solidified. Subsequently, by sending the PLOAM information carrying code type update information to the ONU, the code type indication information can be modified, such that the ONU can perform, according to use indication information and modified code type indication information, ECC encoding on communication data sent to an OLT.
Based on the above-described embodiments of the information configuration method applied to the OLT, various embodiments of an information configuration method applied to an ONU of the present disclosure are presented below.
In the embodiment shown in
At S910, operation parameter information is sent to an OLT.
At S920, target ECC information sent by the OLT is received, where the target ECC information is determined by the OLT according to the operation parameter information and a candidate ECC type supported by the OLT.
At S930, ECC encoding is performed, by using the target ECC information, on communication data sent to the OLT.
It can be understood that the ONU sends the operation parameter information to the OLT, such that the OLT determines the target ECC information according to the operation parameter information and the candidate ECC type supported by the OLT; and then the ONU receives the target ECC information sent by the OLT and uses the target ECC information to perform ECC encoding on the communication data sent to the OLT. In this way, the ONU adaptively uses a corresponding ECC for encoding. This fills the technical gap in an existing method.
In some possible embodiments, the target ECC information includes a target ECC type. Referring to
At S1010, new operation parameter information is sent to the OLT, such that the OLT replaces the target ECC type according to the new operation parameter information.
At S1020, replaced target ECC information sent by the OLT is received.
At S1030, ECC encoding is performed, by using the replaced target ECC type, on the communication data sent to the OLT.
It can be understood that the ONU sends the collected operation parameter information to the OLT, such that the OLT can replace the target ECC type according to a current communication condition so that the ONU uses a more suitable target ECC type to perform ECC encoding.
In some possible embodiments, the target ECC information includes a target ECC type. Referring to
At S1110, ECC configuration parameter information sent by the OLT is received.
At S1120, ECC encoding is performed, by using the target ECC type and the ECC configuration parameter information, on the communication data sent to the OLT.
It can be understood that, the target ECC information includes a target ECC type. After further receiving the ECC configuration parameter information, the ONU can directly use the target ECC type and the ECC configuration parameter information to perform ECC encoding.
In some possible embodiments, before the receiving target ECC information sent by the OLT, the information configuration method further includes: sharing the candidate ECC type with the OLT.
The ONU first shares the candidate ECC type with the OLT, such that after the OLT sends the target ECC information to the ONU, the ONU can normally use the target ECC information to perform ECC encoding, so as to avoid a case that the target ECC information sent by the OLT cannot be used by the ONU.
Referring to
At S1210, burst profile control information including the candidate ECC type sent by the OLT is received.
At S1220, the candidate ECC type is stored in the burst profile control information.
The OLT stores the candidate ECC type in the burst profile control information, and then sends the burst profile control information to the ONU. After receiving the burst profile control information carrying the candidate ECC type, the ONU stores the candidate ECC type to realize sharing of the supported candidate ECC type between the OLT and the ONU.
It can be understood that the ONU may also share the candidate ECC type with the OLT in other manners. In an embodiment, the ONU agrees with the OLT on storing the candidate ECC type in common.
In some possible embodiments, the target ECC information includes code type indication information for indicating a target ECC type to be used. Referring to
At S1310, the target ECC information is obtained according to the code type indication information.
At S1320, ECC encoding is performed, according to the target ECC information, on the communication data sent to the OLT.
In some possible embodiments, the code type indication information includes at least one of the following:
The OLT stores the code type indication information in the bandwidth allocation map, and then sends the bandwidth allocation map to the ONU. After receiving the bandwidth allocation map carrying the code type indication information, the ONU obtains the target ECC information according to the code type indication information, to perform ECC encoding on the communication data by using the target ECC information.
In some possible embodiments, the target ECC information includes a target ECC type and configuration information for information to be deleted, where the configuration information for information to be deleted is used to indicate a deletion mode of content in an ECC.
The performing, by using the target ECC information, ECC encoding on communication data sent to the OLT in step S930 includes:
performing, by using the target ECC type and the configuration information for information to be deleted, ECC encoding on the communication data sent to the OLT.
The OLT stores the target ECC type and the configuration information for information to be deleted in the ECC configuration parameter information, and then sends the ECC configuration parameter information to the ONU. After receiving the ECC configuration parameter information, the ONU performs ECC encoding on the communication data by using the target ECC type and the configuration information for information to be deleted.
Referring to
At S1410, a bandwidth allocation map sent by the OLT is received and analyzed.
At S1420, after analysis of the bandwidth allocation map is completed, ECC encoding is performed, according to the target ECC type and the configuration information for information to be deleted, on the communication data sent to the OLT.
The OLT first sends the ECC configuration parameter information carrying the target ECC type and the configuration information for information to be deleted to the ONU, and the ONU receives and stores the target ECC type and the configuration information for information to be deleted. Then the OLT sends the bandwidth allocation map to the ONU as a trigger, such that after completing analysis of the bandwidth allocation map, the ONU performs, according to the stored target ECC type and the configuration information for information to be deleted, ECC encoding on the communication data sent to the OLT.
In another possible embodiment, the OLT sends the target ECC type and the configuration information for information to be deleted to the ONU through the ECC configuration parameter information, such that after receiving the ECC configuration parameter information, the ONU uses a new ECC in an uplink bandwidth according to the target ECC type and the configuration information for information to be deleted.
In some possible embodiments, the ECC configuration parameter information includes configuration information for information to be deleted and a target superframe sequence number, and the configuration information for information to be deleted is used to indicate a deletion mode of content in an ECC. Referring to
At S1510, a superframe sent by the OLT is received.
At S1520, in response to a superframe sequence number of the superframe being the target superframe sequence number, ECC encoding is performed, according to the target ECC type and the configuration information for information to be deleted, on the communication data sent to the OLT.
It can be understood that, the OLT first sends the target ECC type, the configuration information for information to be deleted, and the target superframe sequence number to the ONU, and the ONU stores these pieces of information upon reception. When the target ECC type and the configuration information for information to be deleted are needed for performing ECC encoding, the OLT sends a superframe with the target superframe sequence number to the ONU, thereby triggering the ONU to use the stored target ECC type and the configuration information for information to be deleted.
In some possible embodiments, the ECC configuration parameter information includes region information of information to be deleted, a target superframe sequence number, delete payload region information, and delete check region information. Referring to
At S1610, a superframe sent by the OLT is received.
At S1620, in response to a superframe sequence number of the superframe being the target superframe sequence number, ECC encoding is performed, according to the target ECC type, the region information of information to be deleted, the delete payload region information, and the delete check region information, on the communication data sent to the OLT.
It can be understood that, the OLT first sends the target ECC type, the region information of information to be deleted, the target superframe sequence number, the delete payload region information, and the delete check region information to the ONU, and the ONU stores these pieces of information upon reception. When the target ECC type, the region information of information to be deleted, the delete payload region information, and the delete check region information are needed for performing ECC encoding, the OLT sends a superframe with the target superframe sequence number to the ONU, thereby triggering the ONU to use the stored information.
In some possible embodiments, the target ECC information includes code type indication information, and the ECC configuration parameter information includes use indication information. Referring to
At S1710, ECC encoding is performed, according to the code type indication information and the use indication information, on the communication data sent to the OLT.
Referring to
At S1720, code type update information sent by the OLT is received.
At S1730, the code type indication information is modified according to the code type update information.
At S1740, ECC encoding is performed, according to the use indication information and modified code type indication information, on the communication data sent to the OLT.
The OLT sends the code type update information to the ONU, such that the ONU modifies the code type indication information according to the code type update information, and performs, according to the use indication information and modified code type indication information, ECC encoding on the communication data sent to the OLT, thereby realizing modification of the target ECC type.
In addition, a further embodiment of the present disclosure discloses an information configuration apparatus, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the computer program, when executed by the processor, causes the processor to perform the information configuration method of any embodiment described above.
In addition, a further embodiment of the present disclosure discloses a computer-readable storage medium storing computer-executable instructions for performing the information configuration method described in any of the foregoing embodiments.
Additionally, a further embodiment of the present disclosure discloses a computer program product, including a computer program or computer instructions, where the computer program or the computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the computer program or the computer instructions, when executed by the processor, cause the computer device to perform the information configuration method as described in any of the previous embodiments.
It can be understood by those of ordinary skill in the art that all or some of the steps of the methods and systems disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer-readable storage media (or non-transitory media) and communication media (or transitory media). As well known to those of ordinary skill in the art, the term computer-readable storage medium includes volatile and nonvolatile, removable and non-removable media implemented in any method or technique for storing information, such as computer-readable instructions, data structures, program modules or other data. A computer-readable storage medium includes but is not limited to a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory or another memory technology, a compact disc read-only memory (CD-ROM), a digital versatile disk (DVD) or another optical disk storage, a magnetic cassette, a magnetic tape, magnetic disk storage or another magnetic storage apparatus, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information transmission media.
The above is a detailed description of the preferred implementation of the present disclosure, but the present disclosure is not limited to the above-mentioned embodiments. Those of ordinary skill in the art can also make various equivalent modifications or replacements without departing from the principle of the present disclosure, and these equivalent modifications or replacements are all included in the scope defined by the claims of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202210296784.1 | Mar 2022 | CN | national |
This application is a national stage filing under 35 U.S.C. § 371 of international application number PCT/CN2023/082232, filed Mar. 17, 2023, which claims priority to Chinese patent application No. 202210296784.1, filed Mar. 24, 2022. The contents of these applications are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/082232 | 3/17/2023 | WO |