WO2020135813A1 - 误码检测方法及相关设备 - Google Patents
误码检测方法及相关设备 Download PDFInfo
- Publication number
- WO2020135813A1 WO2020135813A1 PCT/CN2019/129638 CN2019129638W WO2020135813A1 WO 2020135813 A1 WO2020135813 A1 WO 2020135813A1 CN 2019129638 W CN2019129638 W CN 2019129638W WO 2020135813 A1 WO2020135813 A1 WO 2020135813A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sequence
- error
- preset
- time unit
- occurrences
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07953—Monitoring or measuring OSNR, BER or Q
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
Definitions
- This application relates to the field of optical fiber communication technology, and in particular, to a bit error detection method and related equipment.
- Optical fiber communication has the advantages of transmission frequency bandwidth, strong anti-interference ability and small signal attenuation. It occupies the main transmission method in world communication.
- optical fiber communication introduces forward error correction (FEC) coding technology To ensure the reliability and stability of information transmission.
- FEC forward error correction
- the forward error correction coding technology has limited ability to resist burst errors, and it is necessary to discretize the burst errors in the channel through interleaving technology to make it close to Gaussian white noise in order to be corrected by the forward error correction decoder wrong.
- the interleaving technology uses interleaving depth to characterize the interleaving ability of the interleaver to burst errors in the channel. Therefore, an interleaver with multiple interleaving depths will be planned in the optical fiber communication system to match different application scenarios. For example, when the transmission distance is short and the channel environment is good, select a low-depth interleaving gear to ensure effective communication while achieving low power consumption; when the remote transmission or the channel environment is harsh, choose a high-depth interleaving The gears can break up the burst errors caused by the nonlinearity of the optical fiber and improve the communication capability of the system.
- the device will gradually age, and the nonlinear effect of the fiber will also gradually change.
- these aging and slow changes reach a certain degree, it will cause the interleaver in this scenario to be incapable of the resulting channel burst.
- the error code is sent, which in turn causes the decoder to be uncorrectable, which leads to the failure of service transmission. Therefore, how to timely detect the impact of the above-mentioned slowly changing process of the optical fiber communication system on the channel burst error situation has become an urgent problem to be solved.
- the present application provides a bit error detection method and related equipment, which can timely detect the channel burst error caused by the slow change of the device and the fiber nonlinear effect in the fiber communication system.
- the present application provides a bit error detection method, which can be applied in an optical fiber communication system.
- the receiving end extracts a first sequence from the received data stream; the receiving end determines the first sequence The number of times a preset error sequence occurs; the preset error sequence is a subsequence of the first sequence, and is a sequence of consecutive error bits with a total number of bits of N bits, where N is greater than or equal to An integer of 2.
- the receiving end may extract the first sequence from the data streams received in multiple preset statistical periods.
- the receiving end may determine the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in multiple preset error sequences; It is assumed that the bit error sequences are all sub-sequences of the first sequence, and the total number of consecutive error bits is a sequence of N bits. Wherein, the value of N of each preset error sequence is different, and all are integers greater than or equal to 2.
- the embodiments of the present application can determine the number of occurrences of the preset error sequence in the first sequence, and timely detect the slow change of the optical fiber communication system with the aging of the device and the nonlinear effect of the optical fiber, etc.
- the influence of the code situation is beneficial to adjust the interleaving depth of the interleaver in time. That is to say, compared with the ratio of the total number of error bits of the first sequence to the total number of bits of the first sequence in the prior art, that is, the detection of the fluctuation of the bit error rate in each preset statistical period, this application
- the embodiment can detect the channel burst error caused by the above slow change more timely.
- the receiving end can also count the number of times a preset error sequence occurs in the first sequence within a preset statistical period, which is the same as the bit error rate method used in the prior art. Since the error rate changes slowly, the above The non-linear burst error caused by the change will appear faster than the embodiment of the present application can detect the burst error condition of the channel in time.
- the receiving end may determine the number of times a preset error sequence occurs in the first sequence, for example, the preset error sequence is a sequence with a larger value of N, that is, the receiving end may only Count the sequence of bits with more consecutive errors in the first sequence, and the number of occurrences. In this way, the receiving end can detect the change of the channel of the optical fiber communication system while reducing the workload of the receiving end as much as possible.
- the receiving end may determine the number of times of each preset error sequence from a plurality of preset error sequences from the first sequence, so that the occurrence of the optical fiber communication system can be detected more comprehensively The effect of slow change on the burst error of the channel.
- the first preset error sequence is the largest error sequence that can be corrected by the deinterleaver and decoder, such as an error sequence with a total number of consecutive error bits of 8 bits
- the second pre-error sequence Let the error sequence be an error sequence with a total number of consecutive error bits of 6 bits, and the third preset error sequence is an error sequence with a total number of consecutive error bits of 3 bits.
- the end can timely and comprehensively detect the impact of the slow change of the optical fiber communication system on the burst error situation, especially when the first preset error sequence occurs When there are many times, you can inform the user in time or adjust the interleaving depth value by means of adaptive interleaving depth adjustment; when the second preset error sequence and the third preset error sequence occur more often, but the first When the number of preset error sequences is less, the error statistics can be continuously detected without temporarily adjusting the interleave depth value, and so on.
- the receiving end may also determine the maximum error length in the first sequence, which is the maximum number of consecutive error bits in the first sequence. It can timely detect the slowest change of the optical fiber communication system with the aging of the device and the nonlinear effect of the optical fiber, etc., which has the greatest impact on the channel burst error situation.
- the receiving end may occur when the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, or, when the maximum error length is greater than the second preset Threshold; or, for multiple preset error sequences, the number of occurrences of each preset error sequence at the receiving end may be greater than the first preset threshold corresponding to each preset error sequence, or, in the When the maximum error length is greater than the second preset threshold; send a request message to the sending end.
- the request message is used to instruct the sending end to adjust the interleave depth value of the interleaver. In this way, it is helpful for the sender to know the burst error status of the channel transmission in time, so that the sender can adjust the interleave depth value of the interleaver in time.
- the number of occurrences of the preset error sequence at the receiving end is greater than a first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second When a preset threshold is used; or, for multiple preset error sequences, the number of occurrences of each preset error sequence by the receiving end is greater than the first preset threshold corresponding to each preset error sequence, And when the maximum error length is greater than the second preset threshold; sending a request message to the sending end.
- the request message is used to instruct the sending end to adjust the interleave depth value of the interleaver. In this way, it is advantageous for the receiving end to request the sending end to adjust the interleaving depth value of the interleaver when determining that the channel burst error reaches a certain level.
- the above two optional embodiments can enable the sending end to adjust the interleaving depth value of the interleaver in time, thereby enabling the decoder to correct errors in time, and ensuring the quality of service transmission.
- an application scenario uses a fixed interleaving depth value. After the optical fiber communication system gradually changes with the aging of the device and the non-linear effect of the optical fiber to a certain extent, the interleaving depth value is not competent. Compared with the case where the decoder cannot correct errors, and thus the service transmission fails, the embodiments of the present application can effectively improve the system performance of the optical fiber communication system.
- the receiving end XORs the first sequence with the generated second sequence to obtain an error pattern sequence of the first sequence; the generated second sequence is generated by the receiving end, and The sending end inserts the same sequence into the transmitted data stream; the receiving end determines the number of occurrences of the preset error sequence in the first sequence, including: the receiving end according to the error pattern sequence Determining the number of occurrences of the preset error sequence in the first sequence.
- the receiving end determining the maximum error length occurring in the first sequence includes the receiving end determining the maximum error length occurring in the first sequence according to the error pattern sequence.
- the receiving end may XOR the first sequence with the generated second sequence within one or more preset statistical periods to obtain the error pattern sequence of the first sequence.
- the receiving end determining the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in the plurality of preset error sequences includes: the receiving end For each preset error sequence in the plurality of preset error sequences, the number of occurrences of each preset error sequence in the first sequence is determined according to the error pattern sequence.
- the receiving end determines the number of occurrences of the preset error sequence in the first sequence according to the error pattern sequence, which includes: the receiving end recognizes the total number of bits in which the bit value appears continuously in the error pattern sequence Is the number of times N, which is the number of occurrences of the preset error sequence.
- the receiving end determines the maximum error length occurring in the first sequence according to the bit error pattern sequence, which includes: the receiving end identifying the total number of consecutive bit values in the bit error pattern sequence that are consecutively 1
- the maximum number is the maximum error length.
- the receiving end determines the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence , which includes: for each preset error sequence in a plurality of preset error sequences, the receiving end recognizes the number of times that the total number of bits in the error pattern sequence has a continuous bit value of 1 as N, as The number of occurrences of each preset error sequence.
- the request message includes one or two of the following information: the number of preset error sequence occurrences, and the maximum error length; or, the request message includes indication information, the The indication information is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second Set the threshold. It can be seen that this embodiment can fully consider the processing capabilities of the receiving end and the sending end to determine the content of the sent request message.
- the receiving end can directly send error statistics to the sending end through the return channel, so that the sending end can further determine whether to update based on the error statistics Interleave depth value.
- the receiving end can directly send the indication information that the error statistics reach the preset threshold value to the sending end through the return channel, so that the sending end can directly It is sufficient to update the interleave depth value according to the instruction information.
- the request message includes one or two items of information: the number of occurrences of each of the plurality of preset error sequences and the maximum error length; or ,
- the request message contains indication information, which is used to indicate one or two items of information: the number of occurrences of each of the plurality of preset error sequences is greater than The first preset threshold corresponding to each preset error sequence, and the maximum error length are greater than the second preset threshold.
- the method further includes: the receiving end monitoring the interleaving depth field sent by the sending end with a preset time unit as a period, the interleaving depth field is the sending end using the preset time
- the unit is inserted into the data stream periodically; when the receiving end detects that the interleaving depth field has an updated interleaving depth value, it deinterleaves the data received by the first preset time unit with the updated interleaving depth value to obtain De-interleaved data; the first preset time unit is a second preset time unit, or is the next preset time unit of the second preset time unit; the second preset time unit is The preset time unit where the interleave depth field containing the updated interleave depth value is located.
- this embodiment can perform monitoring with a predetermined time unit as a cycle for the interleaving depth field, so as to achieve deinterleaving synchronization at the sending end and the receiving end.
- the preset statistical period includes one or more preset time units.
- the present application also provides an interleaving depth adjustment method, in which the sending end receives a request message; the sending end determines the interleaving depth value of the interleaver in the sending end in response to the request message ; The sending end adjusts the interleaver using the determined interleaving depth value. It can be seen that the embodiments of the present application can adjust the interleaving depth value in time, which is beneficial to ensure the quality of data transmission and effectively improve the system performance of the optical fiber communication system when the optical fiber communication system undergoes a process of slow degradation before correction.
- the embodiments of the present application can effectively solve the problem that only one interleaver depth value interleaver can be turned on in the same scenario in the prior art, and the interleave depth value cannot be adaptively adjusted with the change of the actual channel.
- the method before the sending end adjusts the interleaver using the determined interleaving depth value, the method further includes: the sending end uses the determined interleaving depth value to update the interleaving depth in the second preset time unit Field.
- the method further includes: the sending end applies the data payload in the first preset time unit through the adjusted interleaver Performing interleaving to obtain the interleaved data; the first preset time unit is the second preset time unit, or the next preset time unit of the second preset time unit; the sending end is The first preset time unit sends the interleaved data. Therefore, it is beneficial to realize the deinterleaving synchronization of the sending end and the receiving end.
- the request message includes one or two of the following information: the number of preset error sequence occurrences and the maximum error length; or, the request message includes indication information, the indication information It is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold.
- the request message includes one or two items of information: the number of occurrences of each preset error sequence in multiple preset error sequences, and the maximum error length; or, in the request message Contains instruction information, which is used to indicate one or two items of information: the number of occurrences of each preset error sequence in multiple preset error sequences is greater than that corresponding to each preset error sequence
- the first preset threshold and the maximum error length are greater than the second preset threshold.
- the sending end determines the interleaving depth value of the interleaver in the sending end in response to the request message, which may include: the sending end determines the interleaving depth value of the interleaver in the sending end according to the at least one item of information in the request message, so as to make use of The interleaving depth value determined by the sending end reduces the power consumption while ensuring the service transmission quality.
- the present application also provides an error detection device, which can be applied to a receiving end in an optical fiber communication system.
- the error detection device can perform the operation of the receiving end in the above method embodiment. Part or all operations.
- the error detection device may include: an extraction unit and a determination unit, the extraction unit is used to extract the first sequence from the received data stream; the determination unit is used to determine that a preset error occurs in the first sequence The number of code sequences; the preset error sequence is a subsequence of the first sequence, and is a sequence of consecutive error bits whose total number of bits is N bits, where N is an integer greater than or equal to 2.
- the extracting unit can also be used to extract the first sequence from the data streams received in multiple preset statistical periods; the determining unit is used for each preset in the multiple preset error sequences Bit error sequence, to determine the number of occurrences of each preset error sequence in the first sequence; each preset error sequence is a subsequence of the first sequence and is the total number of consecutive error bits It is a sequence of N bits. Wherein, the value of N of each preset error sequence is different, and all are integers greater than or equal to 2.
- the embodiments of the present application can determine the number of occurrences of one or more preset error sequences in the first sequence, and timely detect the slow change of the optical fiber communication system as the device ages and the optical fiber nonlinear effect occurs.
- the impact of the channel burst error situation which is beneficial to adjust the interleaving depth of the interleaver in time.
- the determining unit is further configured to determine a maximum error length occurring in the first sequence, where the maximum error length is the total number of consecutive error bits in the first sequence The maximum number.
- the error detection device further includes an XOR unit for XORing the first sequence and the generated second sequence to obtain the error pattern sequence of the first sequence;
- the generated second sequence is generated by the receiving end and is the same as the sequence inserted by the sending end in the transmitted data stream.
- the XOR unit is also used to XOR the first sequence with the generated second sequence in one or more preset statistical periods to obtain the Error pattern sequence.
- the determining unit determining the number of times of occurrence of the preset error sequence in the first sequence may be: determining the number of occurrences of the preset error sequence in the first sequence according to the error pattern sequence.
- the determining unit determines the maximum error length occurring in the first sequence, which may be: determining the maximum error length occurring in the first sequence according to the error pattern sequence.
- the determining unit determines the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in the plurality of preset error sequences, which may be: for multiple presets For each preset error sequence in the error sequence, determine the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence.
- the determining unit determines the number of occurrences of the preset error sequence in the first sequence according to the error pattern sequence, which may be: identifying that the bit values in the error pattern sequence are continuous The number of times the total bit number of 1 is N is taken as the number of occurrences of the preset error sequence.
- the determination unit determines, for each preset error sequence in a plurality of preset error sequences, according to the error pattern sequence that each of the The number of bit error sequences may be: for each preset bit error sequence in multiple preset bit error sequences, the receiving end identifies the total number of bits in the bit error pattern sequence that have consecutive bit values of 1 The number of times is N, which is taken as the number of times of each preset error sequence.
- the determining unit determines the maximum error length occurring in the first sequence according to the error pattern sequence, which may be: the receiving end recognizes the occurrence of a bit in the error pattern sequence The value is continuously the maximum of the total number of bits, which is taken as the maximum error length.
- the error detection device may further include a sending unit configured to use the preset error sequence more than a first preset threshold corresponding to the preset error sequence, or , When the maximum error length is greater than the second preset threshold, send a request message to the sending end, where the request message is used to instruct the sending end to adjust the interleaving depth value of the interleaver; or, the sending unit is used to When the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold, send a request message to the sending end, the The request message is used to instruct the sending end to adjust the interleave depth value of the interleaver. It can be seen that this embodiment may be beneficial to notify the sending end to adjust the interleaving depth value of the interleaver in the sending end in time according to the request message.
- the sending unit may also be used for the number of occurrences of each preset error sequence to be greater than each preset error sequence A corresponding first preset threshold, or, when the maximum error length is greater than a second preset threshold, sending a request message to the sending end, where the request message is used to instruct the sending end to adjust the interleaving depth value of the interleaver
- the sending unit is also used for the number of occurrences of each preset error sequence to be greater than the first preset threshold corresponding to each preset error sequence, and the maximum error length is greater than the
- two preset thresholds are sent, a request message is sent to the sending end, where the request message is used to instruct the sending end to adjust the interleaving depth value of the interleaver.
- the request message includes one or two of the following information: the number of preset error sequence occurrences, and the maximum error length; or, the request message includes indication information, the The indication information is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold .
- the request message includes one or two of the following information: the number of occurrences of each preset error sequence in the multiple preset error sequences, and all The maximum error length; or, the request message includes indication information, the indication information is used to indicate one or two of the following information: the occurrence of each preset error sequence in multiple preset error sequences The number of times is greater than the first preset threshold corresponding to each preset error sequence, and the maximum error length is greater than the second preset threshold.
- the error detection device may further include a monitoring unit configured to monitor the interleaving depth field sent by the sending end with a preset time unit as a period, and the interleaving depth field is the sending end using the The preset time unit is inserted into the data stream periodically; the monitoring unit is further used to trigger the deinterleaver at the receiving end to match the updated interleaving depth value when it is detected that the interleaving depth field has an updated interleaving depth value.
- a monitoring unit configured to monitor the interleaving depth field sent by the sending end with a preset time unit as a period, and the interleaving depth field is the sending end using the The preset time unit is inserted into the data stream periodically; the monitoring unit is further used to trigger the deinterleaver at the receiving end to match the updated interleaving depth value when it is detected that the interleaving depth field has an updated interleaving depth value.
- the data received by a preset time unit is de-interleaved to obtain de-interleaved data;
- the first preset time unit is a second preset time unit, or is the next pre-set of the second preset time unit Set a time unit;
- the second preset time unit is a preset time unit where the interleave depth field containing the updated interleave depth value is located.
- the above monitoring unit may also be located in a deinterleaver in the receiving end, so as to perform a deinterleave operation on the received data using the updated interleave depth value.
- the preset statistical period includes one or more preset time units.
- the present application also provides an interleaving depth adjustment device, which may be located in a sending end of an optical fiber communication system.
- the interleaving depth adjustment device may perform part of the sending end in the foregoing method embodiments Or all operations.
- the interleaving depth adjustment device may include a receiving unit, a determination unit, and an adjustment unit. Wherein: the receiving unit is used to receive the request message; the determining unit is used to determine the interleaving depth value of the interleaver in the sending end in response to the request message; the adjusting unit is used to adjust the interleaving using the determined interleaving depth value Device.
- the embodiments of the present application can adjust the interleaving depth value in time, which is beneficial to ensure the quality of data transmission and effectively improve the system performance of the optical fiber communication system when the optical fiber communication system undergoes a process of slow degradation before correction.
- the interleaving depth adjustment apparatus may further include an updating unit, which uses the interleaving depth value determined by the determining unit to update the interleaving depth field in the second preset time unit, and then triggers the adjusting unit to adjust the position using the determined interleaving depth value. Narrate the interleaver.
- the apparatus for adjusting interleave depth may also trigger the sending end to perform data payload in the first preset time unit through the adjusted interleaver after the adjusting unit adjusts the interleaver using the determined interleave depth value. Interleaving to obtain the interleaved data; and sending the interleaved data in the first preset time unit.
- the first preset time unit is the second preset time unit or the next preset time unit of the second preset time unit.
- the request message includes one or two of the following information: the number of preset error sequence occurrences and the maximum error length; or, the request message includes indication information, the indication information It is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold.
- the request message includes one or two items of information: the number of occurrences of each preset error sequence in multiple preset error sequences, and the maximum error length; or, in the request message Contains instruction information, which is used to indicate one or two items of information: the number of occurrences of each preset error sequence in multiple preset error sequences is greater than that corresponding to each preset error sequence
- the first preset threshold and the maximum error length are greater than the second preset threshold.
- the present application also provides a device, which includes: a processor and a memory; the memory is used to store program code, and the processor is used to call program instructions stored in the memory, when the When the program code is executed, to cause the device to perform the following operations: extract the first sequence from the received data stream; determine the number of times the preset error sequence occurs in the first sequence; the preset error code The sequence is a subsequence of the first sequence, and is a sequence in which the total number of consecutive error bits is N bits, where N is an integer greater than or equal to 2.
- the processor may extract the first sequence from the data stream received in one or more preset statistical periods. For each preset error sequence in the plurality of preset error sequences, the processor may determine the number of occurrences of each preset error sequence in the first sequence.
- the processor is further configured to perform the following operation: determine a maximum error length occurring in the first sequence, where the maximum error length is a continuous occurrence in the first sequence The maximum value of the total number of erroneous bits.
- the processor is further configured to perform the following operation: XOR the first sequence with the generated second sequence to obtain an error pattern sequence of the first sequence; the generating The second sequence generated by the receiving end is the same as the sequence inserted by the sending end in the transmitted data stream; the processor determines that each preset error sequence occurs in the first sequence The number of times is specifically: determining the number of times of a preset error sequence in the first sequence according to the error pattern sequence; the processor determining the maximum error length in the first sequence, specifically: The bit error pattern sequence determines the maximum bit error length that occurs in the first sequence.
- the processor may XOR the first sequence and the generated second sequence within one or more preset statistical periods to obtain the error pattern sequence of the first sequence.
- the processor may determine the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in the plurality of preset error sequences, specifically: for multiple preset errors For each preset error sequence in the code sequence, determine the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence.
- the processor determines the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence, specifically: identifying each error The number of times that the total number of bits with consecutive bit values of 1 in the code pattern sequence is N is taken as the number of times of the preset error sequence.
- the processor determines, for each preset error sequence in a plurality of preset error sequences, according to the error pattern sequence, that the first occurrence occurs in the first sequence.
- the number of preset error sequences is specifically: for each preset error sequence in one or more preset error sequences, identify the total number of consecutive bit values of 1 in each error pattern sequence The number of times the number of bits is N is used as the number of times of each preset error sequence.
- the processor determines the maximum error length occurring in the first sequence according to the error pattern sequence, which is specifically: identifying that the continuous bit values appear in the error pattern sequence It is the maximum value of the total number of bits in 1, which is the maximum error length.
- the processor is further configured to perform the following operation: the number of occurrences of the preset error sequence is greater than a first preset threshold corresponding to the preset error sequence, or, When the maximum error length is greater than the second preset threshold, send a request message to the sender, where the request message is used to instruct the sender to adjust the interleave depth value of the interleaver; or, at the preset error code
- the processor is further configured to perform the following operation: the number of occurrences of the preset error sequence is greater than a first preset threshold corresponding to the preset error sequence, or, When the maximum error length is greater than the second preset threshold, send a request message to the sender, where the request message is used to instruct the sender to adjust the interleave depth value of the interleaver; or, at the preset error code
- the number of occurrences of the sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold
- a request message is
- the request message includes one or two items of information: a preset number of error sequence occurrences, and the maximum error length; or, the request message includes an indication Information, the indication information is used to indicate one or two of the following information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than The second preset threshold.
- the processor is further configured to perform the following operation: monitor the interleave depth field sent by the sending end with a preset time unit as a period, and the interleave depth field is the The preset time unit is periodically inserted into the data stream; when it is detected that the interleave depth field has an updated interleave depth value, the data received by the first preset time unit is deinterleaved with the updated interleave depth value, Obtain the deinterleaved data; the first preset time unit is a second preset time unit, or is the next preset time unit of the second preset time unit; the second preset time unit It is a preset time unit where the interleave depth field containing the updated interleave depth value is located.
- the preset statistical period includes one or more preset time units.
- the present application also discloses a device, which is applied in an optical fiber communication system, the device includes: a processor and a memory; the memory is used to store program code, and the processor is used to call The program instructions stored in the memory, when the program code is executed, to enable the device to perform the following operations: the sending end receives the request message; the sending end responds to the request message and determines the interleaver's Interleaving depth value; the sending end adjusts the interleaver using the determined interleaving depth value.
- the processor before the processor adjusts the interleaver using the determined interleaving depth value, the processor is further configured to perform the following operation: update the interleaving in the second preset time unit using the determined interleaving depth value Depth field; after the processor adjusts the interleaver using the determined interleave depth value, it is also used to perform the following operation: interleave the data payload in the first preset time unit through the adjusted interleaver, Obtain the interleaved data; the first preset time unit is the second preset time unit or the next preset time unit of the second preset time unit; at the first preset time The unit sends the interleaved data.
- the request message includes one or two items of information: a preset number of error sequence occurrences and a maximum error length; or, the request message includes indication information,
- the indication information is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold .
- the present application also provides a communication system including at least two devices of the above aspects, the two devices respectively performing functions of a sending end and a receiving end in the foregoing method embodiments.
- the system may further include other devices that interact with the above two devices in the solution provided by this application.
- the present application also provides a computer storage medium for storing computer software instructions for the above-mentioned device, which includes a program designed to perform any aspect of the above-mentioned method.
- the present application also provides a computer program product including instructions, which when executed on a computer, causes the computer to perform the method described in the above aspects.
- the present application provides a chip system that includes a processor for supporting a device to perform the functions involved in the above aspects, for example, determining or processing data and/or information involved in the above method.
- the chip system further includes a memory for storing necessary program instructions and data of the device.
- the chip system may be composed of chips, and may also include chips and other discrete devices.
- FIG. 1 is a schematic diagram of interleaving provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a method for detecting an error code provided by an embodiment of the present application
- FIG. 3 is a schematic flowchart of another error detection method provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of an interleaving depth adjustment method provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of a multi-frame format provided by an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of an error detection device provided by an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of an interleaving depth adjustment device provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of an optical fiber communication system provided by an embodiment of the present application.
- the present application provides an interleaving depth adjustment method, which can adaptively adjust the interleaving depth of an interleaver and ensure the reliability of service transmission.
- FIG. 1 is a schematic diagram of an interleaving provided by an embodiment of the present application. As shown in FIG.
- the clock is used as a cycle, and the interleaver 128 inputs data, each data has 128 bits, and the data output by the interleaver is selected in sequence as shown in FIG. 1
- the data indicated by the middle arrow that is, 1 bit of each shot data is spliced into 128-bit output data, thereby realizing the function of data scattering.
- the 128 bits indicated by the arrow represent a span with an interleaving depth of 128.
- the input interleaver is 128 beat data
- each beat data contains 128 bit blocks
- each bit block contains multiple bits
- the interleaver can extract from each beat data according to the interleaving depth of 128
- One bit block is spliced into 128 bit blocks as output data.
- the above-mentioned interleaving method is only an exemplary illustration, and is not intended to limit the interleaving method adapted by the present application.
- the interleaving technology uses the interleaving depth to characterize the ability of the interleaver to dispel the errors in the channel.
- the greater the interleaving depth the higher the complexity of implementation. Therefore, for an optical fiber communication system, more planning Interleaver with interleaving depth to adapt to different application scenarios, and at the same time as low power consumption as possible.
- an interlace with low interleaving depth can be selected to ensure effective communication while achieving low power consumption; for another example, in long-distance transmission or in a channel environment with bad conditions, you can The high-interleaving depth interleaving gear is selected to break up the bit errors and improve the communication capability of the system.
- the device will gradually age, and the nonlinear effect of the fiber will gradually change.
- the interleaver in this scenario will fail.
- the channel error code situation caused by the competence causes the decoder to be uncorrectable, which leads to the failure of service transmission. Therefore, how to detect the above-mentioned slow-changing process of the optical fiber communication system in time has affected the channel burst error code, which has become an urgent problem to be solved.
- a bit error detection method provided by the present application can timely detect the occurrence of optical fiber communication systems with the aging of the device and the nonlinear effects of the fiber through the preset number of occurrences of the bit error sequence in the first sequence
- the slow change that occurs has an impact on the burst error conditions of the channel, which helps to adjust the interleaving depth of the interleaver in time.
- the sending end and the receiving end may refer to an entity on the network side used to send or receive information, such as a base station, or may be a transmission point (Transmission point, TP), a transceiver point (transmission and receiver) point, TRP), relay equipment, or other network equipment with base station functions, etc.
- a base station is a device deployed on a wireless access network to provide wireless communication functions. The name of the base station may be different in different wireless access systems.
- the base station is called Node B in the Universal Mobile Telecommunications System UMTS network
- the base station in the LTE network is called evolved Node B (Evolved Node B, eNB or eNodeB)
- eNB evolved Node B
- TRP transmission and reception node
- g-NodeB g-NodeB, gNB
- FIG. 2 is a schematic flowchart of an error detection method provided by an embodiment of the present application. As shown in FIG. 2, the error detection method can be applied to an optical fiber communication system. Specifically, the error detection method The following steps can be included:
- the receiving end may extract the first sequence from the data stream received in one or more preset statistical periods.
- the first sequence is a second sequence generated by the sending end in a preset statistical period, and the corresponding sequence after channel transmission; wherein, the second sequence generated by the sending end in the preset statistical period and the receiving end are in the The second sequence generated in the preset statistical period is the same, that is, the second sequence is a sequence known to both the receiving end and the transmitting end, that is, a sequence known to both the receiving end and the transmitting end.
- the second sequence may be a pseudo-random binary sequence (Pseudo-Random Binary Sequence, PRBS), and the receiving end and the transmitting end respectively have PRBS generators, which can locally generate the PRBS.
- PRBS pseudo-random Binary Sequence
- bit errors may occur during the transmission of the second sequence, that is, the first sequence extracted by the receiving end is the error caused by the second sequence during the channel transmission sequence.
- the preset statistical period may include one or more multi-frames.
- the manner in which the sending end and the receiving end generate the second sequence may be generated in a multiframe cycle.
- the sequence generated by the sending end in each multiframe may be inserted into the overhead field of each multiframe, so that the data sent by the sending end carries the second sequence.
- the receiving end determines the number of times a preset error sequence occurs in the first sequence.
- the preset error sequence is a subsequence of the first sequence, and is a sequence in which the total number of consecutive error bits is N bits, where N is an integer greater than or equal to 2.
- the preset error sequence is a sub-sequence of the first sequence, and may also be referred to as a partial sequence of the first sequence.
- the first sequence is 0111000110
- the preset error sequence is a sequence of consecutive error bits whose total number of bits is 2 bits, that is, the preset error sequence is 0110, or 11; as in the first sequence 011100 0110
- the number of occurrences of the preset error sequence 0110 is 1.
- the total number of consecutive error bits of the subsequence is 3 bits, so the subsequence 01110 or 111 is not the preset error sequence 0110, or 11.
- the receiving end may determine the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in a plurality of preset error sequences; each The preset error sequences are all sub-sequences of the first sequence, and are sequences with a total number of consecutive error bits of N bits. Wherein, the value of N of each preset error sequence is different, and all are integers greater than or equal to 2.
- the receiving end may determine the number of times a preset error sequence occurs in the first sequence, for example, the preset error sequence is a sequence with a larger value of N, that is, the receiving end may only Count the number of bits with more consecutive errors in the first sequence, so that the receiving end can detect the change of the channel of the optical fiber communication system while reducing the workload of the receiving end as much as possible.
- the receiving end may determine the number of times of each preset error sequence from a plurality of preset error sequences from the first sequence, so that the occurrence of the optical fiber communication system can be detected more comprehensively The effect of slow change on the burst error of the channel.
- the first preset error sequence is the largest error sequence that can be corrected by the deinterleaver and decoder, such as an error sequence with a total number of consecutive error bits of 8 bits
- the second pre-error sequence Let the error sequence be an error sequence with a total number of consecutive error bits of 6 bits, and the third preset error sequence is an error sequence with a total number of consecutive error bits of 3 bits.
- the end can timely and comprehensively detect the impact of the slow change of the optical fiber communication system on the burst error situation, especially when the first preset error sequence occurs When there are many times, you can inform the user in time or adjust the interleaving depth value by means of adaptive interleaving depth adjustment; when the second preset error sequence and the third preset error sequence occur more often, but the first When the number of preset error sequences is less, the error statistics can be continuously detected without temporarily adjusting the interleave depth value, and so on.
- the embodiments of the present application can timely detect the slow change of the optical fiber communication system with the aging of the device and the non-linear effect of the optical fiber, etc. through the preset number of occurrences of the error sequence in the first sequence, and the sudden channel error
- the influence of the code situation is beneficial to adjust the interleaving depth of the interleaver in time.
- this application is implemented for example, based on the statistical times of each preset error sequence, the above slow change process can be detected in a more timely manner to avoid the problem that the slow change process cannot be detected due to the change of the bit error rate being too slow.
- FIG. 3 is a schematic flowchart of another error detection method provided by an embodiment of the present application. Among them, the error detection method shown in FIG. 3 is compared with the error detection method shown in FIG. 2. The receiving end can also determine the maximum error length in the first sequence, that is to say, the error detection method shown in FIG. 3 further includes:
- the receiving end determines the maximum error length in the first sequence.
- the maximum error length is the maximum value of the total number of consecutive error bits in the first sequence.
- the embodiments of the present application can further detect the slow change of the optical fiber communication system as the device ages and the nonlinear effect of the fiber, etc. The biggest impact of the error situation.
- FIG. 4 is a schematic flowchart of another error detection method provided by an embodiment of the present application.
- the error detection method shown in FIG. 4 is different from the error detection methods shown in FIGS. 2 and 3.
- the receiving end may use a bit error pattern sequence to determine the number of occurrences and the maximum bit error length of each preset bit error sequence.
- the error detection method may include the following steps:
- the receiving end extracts the first sequence from the received data stream
- the receiving end XORs the first sequence with the generated second sequence to obtain the error pattern sequence of the first sequence
- the generated second sequence is generated by the receiving end and is the same as the sequence inserted by the sending end in the transmitted data stream, such as the second sequence inserted in the multiframe overhead shown in FIG. 6 above.
- steps 201 and 202 can be performed at the same time, that is, the receiving end directly XORs the extracted first sequence with the generated second sequence to obtain an error pattern sequence.
- the receiving end only needs to store the bit error pattern sequence for each preset statistical period, instead of separately storing the extracted first sequence and the generated second sequence, thereby saving storage space.
- step 102 the receiving end determines the number of occurrences of the preset error sequence in the first sequence, which may be the operation described in step 203 below; in step 103, the receiving end determines that the first sequence appears in the first sequence
- the maximum error length can be the operation described in step 204 below.
- the receiving end determines the number of times a preset error sequence occurs in the first sequence according to the error pattern sequence.
- the receiving end determines the maximum error length occurring in the first sequence according to the error pattern sequence.
- the receiving end determining the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in the plurality of preset error sequences includes: the receiving end For each preset error sequence in the plurality of preset error sequences, the number of occurrences of each preset error sequence in the first sequence is determined according to the error pattern sequence.
- the second sequence generated by the PRBS generator at the receiving end and the sending end within a preset statistical period is ABDCEAAAACCCCD
- the first sequence extracted by the receiving end is ABCDEBBBBCCDDD
- XORing the first sequence and the second sequence results in an error
- the code pattern sequence is 00110111100110, where 0 indicates that no error has occurred in the bit, and 1 indicates that the bit has an error. Therefore, the maximum error length that can occur from the error pattern sequence can be obtained, that is, the total number of consecutive bits is 1.
- the receiving end determines the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence of the first sequence, which may be: the receiving end shifts the error pattern sequence of the first sequence by bits , Respectively compared with the preset error pattern sequence, each occurrence is equivalent to the number of times of the preset error pattern sequence plus one.
- the process of comparing the error pattern sequence 00110111100110 to the right by bit shift and the preset error sequence (0110) is as follows: the error pattern sequence is shifted by bits to the fourth bit 0011011110
- the error detection method described in FIG. 4 can be based on the above error statistical information, such as the maximum error length and/or the number of occurrences of the preset error sequence in one or more preset statistical periods, to Timely discover the influence of the fiber optic communication system on the channel burst error with the gradual change process such as device aging and fiber nonlinear effect. That is to say, compared with the method for detecting the overall error rate fluctuation in the prior art, the embodiments of the present application can detect the above-mentioned slow change process in a more timely manner, to avoid that the error rate cannot be detected due to the change of the error rate being too slow Slow change process.
- the error detection method needs to count the total number of bit errors occurring in each preset statistical period, calculate the bit error rate based on the total number of bit errors, and further draw multiple preset statistics
- the way of the fluctuation curve of the bit error rate in the period allows the maintenance personnel to understand the channel situation; and the embodiment of the present application can detect the maximum error length of the first sequence extracted and the one or more preset statistical periods
- At least one piece of information in the number of occurrences of each preset error sequence can detect the channel burst error in time.
- the embodiments of the present application also provide a method for adjusting the interleaving depth, which can be determined according to the detection results of the above error detection methods, such as the first sequence At least one of the maximum error length occurring in and the number of occurrences of one or more preset error sequences, adaptively adjusting the interleaving depth value of the interleaver in the sending end, thereby ensuring the reliability of data transmission.
- the embodiment of the present application may also combine the statistical result of the bit error rate to send a request message to the sending end, so that the sending end adjusts the interleaving depth value of the interleaver.
- FIG. 5 is a schematic flowchart of an interleaving depth adjustment method provided by an embodiment of the present application, and describes the interleaving depth adjustment method described in the embodiment of the present application.
- the interleaving depth adjustment method may include the following steps:
- the number of occurrences of the preset error sequence at the receiving end is greater than the first preset threshold corresponding to the preset error sequence, or, when the maximum error length is greater than the second preset threshold; or, the receiving end
- send a request message to the sending end When the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold; send a request message to the sending end.
- the request message is used to instruct the sending end to adjust the interleave depth value of the interleaver.
- the receiving end may send the request message to the sending end through the return channel.
- the receiving end may have the number of occurrences of each preset error sequence greater than the first preset threshold corresponding to each preset error sequence, or, at the maximum When the error length is greater than the second preset threshold; send a request message to the sending end.
- the number of occurrences of each preset error sequence by the receiving end is greater than the first preset threshold corresponding to each preset error sequence, and the maximum error When the code length is greater than the second preset threshold; send a request message to the sending end.
- the sending end receives the request message, and in response to the request message, determines the interleaving depth value of the interleaver in the sending end.
- the sending end adjusts the interleaver using the determined interleave depth value.
- the embodiments of the present application can notify the sending end to adjust the interleaving depth value in time when the above error statistics reach the preset conditions, which is beneficial to the process of slow degradation before correction of channel error in the optical fiber communication system. It can guarantee the data transmission quality and effectively improve the system performance of the optical fiber communication system. That is to say, the embodiments of the present application can effectively solve the problem in the prior art that although an interleaver with multiple gears is designed, only one interleaver depth interleaver can be turned on in the same scenario, and it will not change with the actual channel. The problem of changing the interleaving depth value in real time.
- the sending end may update the interleaving depth field in the second preset time unit with the determined interleaving depth value; correspondingly, the receiving end monitors the interleaving depth field sent by the sending end with the preset time unit as a period , The interleaving depth field is inserted into the data stream by the sending end with the preset time unit as a period. In this way, it is helpful for the receiving end to detect the latest interleave depth value of the interleaver in the sending end in time.
- the interleaving depth field is located in the multiframe overhead.
- the multiframe format may include three fields of frame header information, payload, and overhead, where the overhead field may include a second sequence field and Interleave depth field.
- the second sequence field is used to carry the second sequence generated by the sending end;
- the interleaving depth field includes interleaving depth information, and the interleaving depth information includes an interleaving depth value.
- the preset statistical period includes one or more of the preset time units, and the preset time unit may be a subframe, a multiframe, or an FEC multiframe.
- the sending end interleaves the data payload in the first preset time unit through the adjusted interleaver to obtain the interleaved data;
- the first preset time unit is the second preset time Or a next preset time unit of the second preset time unit; the sending end sends the interleaved data in the first preset time unit.
- the receiving end detects the updated interleaving depth value in the interleaving depth field, it can also deinterleave the data received in the first preset time unit with the updated interleaving depth value to obtain the deinterleaved data.
- the request message includes one or two of the following information: a preset number of error sequence occurrences, and a maximum error length.
- the request message includes indication information, which is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, And the maximum error length is greater than the second preset threshold.
- the request message includes one or two items of information: the number of occurrences of each of the plurality of preset error sequences and the maximum error length; or ,
- the request message contains indication information, which is used to indicate one or two items of information: the number of occurrences of each of the plurality of preset error sequences is greater than The first preset threshold corresponding to each preset error sequence, and the maximum error length are greater than the second preset threshold.
- FIG. 7 is a schematic structural diagram of an error detection device provided by an embodiment of the present application.
- the error detection device can perform related operations at the receiving end in the foregoing method embodiments.
- the error detection device may include an extraction unit 401 and a determination unit 402, where:
- the extracting unit 401 is used to extract the first sequence from the received data stream
- a determining unit 402 configured to determine the number of times a preset error sequence occurs in the first sequence
- the preset error sequence is a subsequence of the first sequence, and is a sequence in which the total number of consecutive error bits is N bits, where N is an integer greater than or equal to 2.
- the determining unit 402 is further configured to determine the maximum error length in the first sequence, and the maximum error length is the total number of consecutive error bits in the first sequence. The maximum value.
- the extraction unit 401 can also be used to extract the first sequence from the data streams received in multiple preset statistical periods; the determination unit 402 is used for each of the multiple preset error sequences A preset error sequence to determine the number of occurrences of each preset error sequence in the first sequence; each preset error sequence is a subsequence of the first sequence and is the total number of consecutive error bits A sequence of N bits. Wherein, the value of N of each preset error sequence is different, and all are integers greater than or equal to 2.
- the error detection device shown in FIG. 7 further includes an XOR unit 403 for XORing the first sequence and the generated second sequence to obtain an error pattern sequence of the first sequence;
- the generated second sequence is generated by the receiving end and is the same as the sequence inserted by the sending end in the transmitted data stream.
- the determining unit 402 determines the number of occurrences of the preset error sequence in the first sequence, which may be: determining the number of occurrences of the preset error sequence in the first sequence according to the error pattern sequence; the determining unit 402 determines The maximum error length occurring in the first sequence may be: determining the maximum error length occurring in the first sequence according to the error pattern sequence.
- the determining unit 402 determines the number of occurrences of each preset error sequence in the first sequence for each preset error sequence in the multiple preset error sequences, which may be: Assume each preset error sequence in the error sequence, and determine the number of occurrences of each preset error sequence in the first sequence according to the error pattern sequence.
- the determining unit 402 determines the number of occurrences of the preset error sequence in the first sequence according to the error pattern sequence, including: the receiving end identifying that the bit value in the error pattern sequence is continuously 1 The number of times the total number of bits is N is taken as the number of occurrences of the preset error sequence.
- the determining unit 402 determines the maximum error length occurring in the first sequence according to the error pattern sequence, which includes: the receiving end identifying the total number of bits in the error pattern sequence that have consecutive bit values of 1 The maximum number is the maximum error length.
- the error detection device shown in FIG. 7 can also perform the related operations of the above interleaving depth adjustment method.
- the error detection device further includes a sending unit 404, which is used for the number of occurrences of the preset error sequence greater than the preset error A first preset threshold corresponding to the code sequence, or, when the maximum error length is greater than a second preset threshold, sending a request message to the sending end, where the request message is used to instruct the sending end to adjust the interleaving of the interleaver Depth value; or, the sending unit 404 is used for the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold When sending a request message to the sender, the request message is used to instruct the sender to adjust the interleave depth value of the interleaver.
- the request message includes one or two of the following information: the number of preset error sequence occurrences, and the maximum error length; or, the request message includes indication information, the The indication information is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second Set the threshold.
- the error detection device may further include a monitoring unit for monitoring the interleaving depth field sent by the sending end with a preset time unit as a period, the interleaving depth field is the sending end using the pre Let the time unit be inserted into the data stream periodically; the monitoring unit is also used to trigger the deinterleaver at the receiving end to update the interleaving depth value when it is detected that the interleaving depth field has an updated interleaving depth value De-interleaving the data received by the first preset time unit to obtain the de-interleaved data; the first preset time unit is a second preset time unit, or is under the second preset time unit One preset time unit; the second preset time unit is a preset time unit where the interleave depth field containing the updated interleave depth value is located.
- the above monitoring unit may be located in a deinterleaver in the receiving end, so as to perform a deinterleave operation on the received data using the updated inter
- FIG. 8 is a schematic structural diagram of an interleaving depth adjustment device according to an embodiment of the present application.
- the interleaving depth adjustment device may perform related operations at a sending end in the foregoing method embodiments.
- the interleaving depth adjustment device may include: a receiving unit 501, a determining unit 502, and an adjusting unit 503, where:
- the receiving unit 501 is used to receive a request message
- the determining unit 502 is configured to determine the interleaving depth value of the interleaver in the sending end in response to the request message;
- the adjusting unit 503 is configured to adjust the interleaver using the determined interleave depth value.
- the interleaving depth adjustment apparatus may further include an updating unit, which uses the interleaving depth value determined by the determining unit 502 to update the interleaving depth field in the second preset time unit, and then triggers the adjusting unit 503 to use the determined interleaving depth value Adjust the interleaver.
- the apparatus for adjusting the interleaving depth may also trigger the sending end to load the data payload in the first preset time unit through the adjusted interleaver after the adjusting unit 503 adjusts the interleaver using the determined interleave depth value. Performing interleaving to obtain the interleaved data, and sending the interleaved data in the first preset time unit.
- the first preset time unit is the second preset time unit or the next preset time unit of the second preset time unit.
- the request message includes one or two of the following information: the number of preset error sequence occurrences and the maximum error length; or, the request message includes indication information, the indication information It is used to indicate one or two items of information: the number of occurrences of the preset error sequence is greater than the first preset threshold corresponding to the preset error sequence, and the maximum error length is greater than the second preset threshold.
- FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present application, where the device may execute the apparatus shown in FIG. 7 and/or FIG. 8, that is, the device may perform the above method
- the related operations of the sending end or the receiving end may also have the above-mentioned related functions of the sending end and the receiving end.
- the device may also be a chip or a circuit, such as a chip or a circuit that can be provided in the sending end and/or the receiving end.
- the device may include a processor 610 and a memory 620.
- the memory 620 is used to store instructions, and the processor 610 is used to execute the instructions stored in the memory 620 to enable the device to implement the aforementioned operations at the receiving end or the sending end, such as error detection methods and/or interleaving depth adjustment methods, etc. .
- the network may also include a receiver 640 and a transmitter 650. Still further, the network may also include a bus system 630.
- the processor 610, the memory 620, the receiver 640 and the transmitter 550 are connected through a bus system 630, and the processor 510 is used to execute instructions stored in the memory 620 to control the receiver 640 to receive signals and the transmitter 650 to send signals To complete the steps of the network device in the above method.
- the receiver 640 and the transmitter 650 may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
- the memory 620 may be integrated in the processor 610, or may be provided separately from the processor 610.
- the functions of the receiver 640 and the transmitter 650 may be implemented through a transceiver circuit or a dedicated chip for transceiver.
- the processor 610 may be realized by a dedicated processing chip, a processing circuit, a processor, or a general-purpose chip.
- a general-purpose computer may be considered to implement the operations described in the receiving end or the sending end provided in the embodiments of the present application.
- the program codes to implement the functions of the processor 610, the receiver 640, and the transmitter 650 are stored in the memory, and the general processor implements the functions of the processor 610, the receiver 640, and the transmitter 650 by executing the codes in the memory, for example, processing
- the device 610 can call the program code in the memory 620, or perform the related operations of the sending unit in FIG. 7 or the receiving unit in FIG. 8 based on the receiver 640 and the transmitter 650, or perform the operations performed by the receiving end or the sending end in the above method embodiments Related operations or implementations.
- FIG. 10 is a schematic structural diagram of an optical fiber communication system provided by an embodiment of the present application.
- the sending end may include an encoder, an interleaver, a sequence generator, and an interleaving depth shown in FIG. 8. Adjustment device; wherein, the encoder is used to encode the data to be sent; the interleaver is used to interleave the encoded data, for example, the second sequence generated by the sequence generator in the multi-frame period is added to the In the multi-frame overhead, the interleaved data is sent to the receiving end through a parallel interface.
- the receiving end may include a decoder, a deinterleaver, a sequence generator, and the error detection device shown in FIG. 7 described above.
- the decoder is used to decode the deinterleaved data
- the deinterleaver is used to deinterleave the received data based on the interleaving depth value in the multiframe overhead as shown in FIG. 6
- the sequence generator and the sequence generation at the sending end It has the same function and is used to generate the second sequence of the preset statistical period.
- the error detection device can extract the first sequence and the generated second sequence from the received data for XOR operation to obtain a sequence of error patterns, and determine the first sequence according to the sequence of error patterns The maximum error length and the number of one or more preset error lengths.
- the first sequence is extracted by the receiving end from the data received in the preset statistical period, and is the sequence corresponding to the second sequence generated by the sending end in the preset statistical period after channel transmission; the second sequence is the sequence generation The sequence generated by the device within the same preset statistical period.
- the interleaving depth adjustment device at the sending end can receive a request message, and the request message can be sent by the receiving end to the sending end through a return channel; the sending end responds to the request message and determines that the sending end The interleave depth value of the interleaver; adjust the interleaver using the determined interleave depth value, and update the interleave depth value in the interleave depth field, and so on.
- the interleaving depth adjustment device can receive a request message, and the request message can be sent by the receiving end to the sending end through a return channel; the sending end responds to the request message and determines that the sending end The interleave depth value of the interleaver; adjust the interleaver using the determined interleave depth value, and update the interleave depth value in the interleave depth field, and so on.
- the optical fiber communication system described in the embodiments of the present application can have the maximum error length and/or the number of times of each preset error length in one or more preset statistical periods, thereby facilitating statistics based on these error codes
- the processor may be a central processing unit (Central Processing Unit, referred to as "CPU"), and the processor may also be other general-purpose processors, digital signal processors (DSPs), and dedicated integrated Circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the memory may include read-only memory and random access memory, and provide instructions and data to the processor.
- a portion of the memory may also include non-volatile random access memory.
- the bus system may also include a power bus, a control bus, and a status signal bus.
- a power bus may also include a power bus, a control bus, and a status signal bus.
- various buses are marked as bus systems in the figure.
- the present application also provides a computer-readable storage medium that stores computer instructions, and when the computer instructions run on the computer, the computer is allowed to execute the error detection method described in the embodiments of the present application Corresponding operations and/or processes performed by the receiving end, or causing the computer to perform corresponding operations and/or processes performed by the sending end in the interleaving depth adjustment method described in the embodiments of the present application.
- the present application also provides a computer program product, the computer program product includes computer program code, and when the computer program code runs on the computer, the computer is caused to perform the corresponding error detection method described in the embodiments of the present application by the receiving end Operations and/or processes; or causing the computer to execute the corresponding operations and/or processes performed by the sending end in the interleaving depth adjustment method described in the embodiments of the present application.
- the present application also provides a chip, including a processor.
- the processor is used to call and run the computer program stored in the memory to perform the corresponding operation and/or process performed by the receiving end in the error detection method described in the embodiment of the present application, or to perform the interleaving depth described in the embodiment of the present application The corresponding operations and/or processes performed by the sender in the adjustment method.
- the chip further includes a memory, the memory and the processor are connected to the memory through a circuit or a wire, and the processor is used to read and execute the computer program in the memory.
- the chip further includes a communication interface, and the processor is connected to the communication interface.
- the communication interface is used to receive data and/or information to be processed, and the processor obtains the data and/or information from the communication interface and processes the data and/or information.
- the communication interface may be an input-output interface.
- each step of the above method may be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
- the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware processor, or may be executed and completed by a combination of hardware and software modules in the processor.
- the software module may be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, and registers.
- the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. In order to avoid repetition, they are not described in detail here.
- the size of the sequence numbers of the above processes does not mean that the execution order is sequential, and the execution order of each process should be determined by its function and inherent logic, and should not correspond to the embodiments of the present invention.
- the implementation process constitutes no limitation.
- the disclosed system, device, and method may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (eg coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)), or the like.
- a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
- an optical medium for example, a DVD
- a semiconductor medium for example, Solid State Disk (SSD)
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Error Detection And Correction (AREA)
Abstract
本申请提供一种误码检测方法和相关设备,其中,该误码检测方法中,接收端从接收到的数据流中,提取第一序列,并确定第一序列中预设误码序列出现的次数,其中,该预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列。可见,基于该预设误码序列出现的次数,能够及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的影响,进而有利于及时调节交织器的交织深度值。与现有技术中采用第一序列的总错误比特数与第一序列的总比特数之间的比值,即误码率的波动情况相比,本申请实施例能够更加及时的检测到上述缓变所引起的信道突发误码情况。
Description
本申请要求于2018年12月29日提交中国专利局、申请号为201811642827.7、申请名称为“误码检测方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及光纤通信技术领域,尤其涉及一种误码检测方法及相关设备。
光纤通信具有传输频带宽、抗干扰性能力强以及信号衰减小等优势,占有了世界通信中的主要传输方式,特别是,光纤通信中引入了前向纠错(Forward Error Correction,FEC)编码技术来保证信息传输的可靠性和稳定性。然而,前向纠错编码技术的抗突发误码能力有限,需要通过交织技术对信道中的突发误码进行离散化,使其靠近高斯白噪声,才能被前向纠错译码器纠错。
其中,交织技术采用交织深度来表征该交织器对信道中突发误码的离散能力,因此,在光纤通信***中会规划多档交织深度的交织器,以匹配不同的应用场景。比如,在传输距离短,信道环境良好的场景时,选用低深度的交织档位,保证能够有效通信的同时实现低功耗;在远距离传输或者信道环境恶劣的场景时,选用高深度的交织档位,打散光纤非线性导致的突发误码,提高***的通信能力。
然而,针对光纤通信***中,器件会逐渐老化,光纤非线性效应也会发生缓变,并在这些老化、缓变达到一定程度时,会导致该场景下的交织器无法胜任所产生的信道突发误码情况,进而导致译码器不可纠,从而导致业务传输失败。因此,如何及时检测该光纤通信***的上述缓变过程对信道突发误码情况的影响,成为一个亟待解决的问题。
发明内容
本申请提供一种误码检测方法及相关设备,能够及时检测到光纤通信***中器件、光纤非线性效应发生的缓变所导致的信道突发误码情况。
第一方面,本申请提供一种误码检测方法,该方法可以应用在光纤通信***中,接收端从接收到的数据流中,提取第一序列;所述接收端确定所述第一序列中出现预设误码序列的次数;所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
可选的,接收端可以从多个预设统计周期内接收到的数据流中,提取第一序列。可选的,所述接收端针对多个预设误码序列中的每个预设误码序列,可以确定所述第一序列中出现所述每个预设误码序列的次数;每个预设误码序列均为第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列。其中,各预设误码序列的N取值不同,均为大于或等于2的整数。
可见,本申请实施例能够确定第一序列中预设误码序列出现的次数,及时检测到光纤 通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的影响,从而有利于及时调节交织器的交织深度。也就是说,与现有技术中采用第一序列的总错误比特数与第一序列的总比特数之间的比值,即检测误码率在各个预设统计周期的波动情况相比,本申请实施例能够更加及时的检测到上述缓变所引起的信道突发误码情况。
可选的,接收端还可以统计一个预设统计周期内第一序列出现预设误码序列的次数,这样与现有技术中采用误码率方式,由于误码率变化很缓慢,但上述缓变引起的非线性突发误码会更快出现相比,本申请实施例能够及时检测信道的突发误码情况。
在一种可选的实施方式中,接收端可以确定第一序列中出现一个预设误码序列的次数,比如,该预设误码序列为N取值较大的序列,即接收端可以只统计第一序列中出现连续错误较多的比特的序列,出现的次数,这样,接收端可以在检测到光纤通信***的信道发生变化的同时,也可以尽量降低接收端的工作量。
在另一种可选的实施方式中,接收端可以从第一序列中确定多个预设误码序列每个预设误码序列的次数,这样可以更加全面地检测到光纤通信***所发生的缓变对信道突发误码的影响情况。比如,第一预设误码序列为解交织器和译码器能够纠错的,最大的误码序列,如为连续错误比特的总比特位数为8个比特的误码序列,第二预设误码序列为连续错误比特的总比特位数为6个比特的误码序列,第三预设误码序列为连续错误比特的总比特位数为3个比特的误码序列,这样,接收端通过确定这三个预设误码序列出现的次数,可以及时且全面的检测到光纤通信***的缓变对突发误码情况的影响,特别是,当该第一预设误码序列出现的次数较多时,就可以及时告知用户或采用自适应交织深度调节的方式来调整交织深度值;当第二预设误码序列、第三预设误码序列出现的次数较多,但第一预设误码序列出现的次数较少时,就可以继续检测该误码统计,而暂时不对交织深度值进行调整,等等。
在一种可选的实施方式中,接收端还可以确定第一序列中出现的最大误码长度,该最大误码长度为第一序列中出现连续错误比特的比特位数的最大值,这样,能够及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的最大影响。
在一种可选的实施方式中,接收端可以在预设误码序列出现的次数大于预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时;或者,针对多个预设误码序列,接收端可以在每个预设误码序列出现的次数均大于每个预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时;向发送端发送请求消息。所述请求消息用于指示所述发送端调节交织器的交织深度值。这样,有利于发送端及时了解信道传输的突发误码情况,从而有利于发送端及时调节交织器的交织深度值。
在另一种可选的实施方式中,接收端在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时;或者,针对多个预设误码序列,接收端在所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时;向发送端发送请求消息。所述请求消息用于指示所述发送端调节交织器的交织深度值。这样,有利于接收端在确定信道突发误码达到一定程度时,再向发送端请求对交织器的交织深度值进行调整。
可见,上述两种可选的实施方式能够使得发送端及时调节交织器的交织深度值,从而使得译码器能够及时纠错,保证了业务传输质量。与现有技术中,一应用场景采用固定的交织深度值,在光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变达到一定程度后,因该交织深度值无法胜任,导致译码器无法纠错,进而导致业务传输失败的情况相比,本申请实施例能够有效提升了光纤通信***的***性能。
本申请实施例中,接收端将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与所述发送端在发送的数据流中***的序列相同的序列;所述接收端确定第一序列中出现所述预设误码序列的次数,包括:所述接收端根据所述误码图样序列确定所述第一序列中出现所述预设误码序列的次数。所述接收端确定所述第一序列中出现的最大误码长度,包括:所述接收端根据所述误码图样序列确定所述第一序列中出现的最大误码长度。
可选的,接收端可以在一个或多个预设统计周期内,将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列。
可选的,所述接收端针对多个预设误码序列中的每个预设误码序列,确定第一序列中出现所述每个预设误码序列的次数,包括:所述接收端针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数。
其中,接收端根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数,包括:接收端识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述预设误码序列出现的次数。
相应的,接收端根据所述误码图样序列确定所述第一序列中出现的最大误码长度,包括:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
可选的,接收端针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数,包括:针对多个预设误码序列中的每个预设误码序列,所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述每个预设误码序列出现的次数。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。可见,该实施方式可以充分考虑到接收端和发送端的处理能力,以确定所发送的请求消息的内容。例如,相对于发送端的处理能力,接收端的处理能力较弱时,接收端可以直接将误码统计信息通过回传信道发送给发送端,从而使得发送端根据该误码统计信息进一步确定是否要更新交织深度值。再例如,相对于接收端的处理能力,发送端的处理能力较弱时,接收端可以直接将误码统计信息达到预设阈值的指示信息,通过回传信道发送给发送端,从而使得发送端能够直接根据该指示信息来更新交织深度值即可。
可选的,所述请求消息中包含以下一项或两项信息:所述多个预设误码序列中所述每 个预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:所述多个预设误码序列中所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
本申请实施例中,所述方法还包括:所述接收端以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;所述接收端监测到所述交织深度字段具有更新的交织深度值时,以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。可见,该实施方式能够针对交织深度字段执行以预设时间单元为周期的监测,以便于实现发送端和接收端的解交织同步。可选的,所述预设统计周期包括一个或多个所述预设时间单元。
第二方面,本申请还提供一种交织深度调节方法,该交织深度调节方法中,发送端接收请求消息;所述发送端响应所述请求消息,确定所述发送端中交织器的交织深度值;所述发送端利用确定的交织深度值调节所述交织器。可见,本申请实施例能够及时调节交织深度值,从而有利于在光纤通信***出现纠前劣化缓变过程时,也能保证数据传输质量,有效提升了光纤通信***的***性能。也就是说,本申请实施例,能够有效解决现有技术中同一场景下只能开启一种交织深度值的交织器,而不能随着实际信道的变化而自适应调节交织深度值的问题。
本申请实施例中,所述发送端利用确定的交织深度值调节所述交织器之前,所述方法还包括:所述发送端利用确定的交织深度值更新第二预设时间单元中的交织深度字段。相应的,所述发送端利用确定的交织深度值调节所述交织器之后,所述方法还包括:所述发送端通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元;所述发送端在所述第一预设时间单元发送所述交织后的数据。从而,有利于实现发送端和接收端的解交织同步。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
可选的,所述请求消息中包含以下一项或两项信息:多个预设误码序列中每个预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:多个预设误码序列中每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
相应的,发送端响应请求消息,确定发送端中交织器的交织深度值,可以包括:发送端根据请求消息中的上述至少一项信息,确定发送端中交织器的交织深度值,从而有利用 发送端所确定的交织深度值在保证业务传输质量的同时,降低功耗。
第三方面,本申请还提供一种误码检测装置,该误码检测装置可以应用在光纤通信***中的接收端中,可选的,该误码检测装置可以执行上述方法实施例中接收端的部分或全部操作。其中,该误码检测装置可以包括:提取单元和确定单元,提取单元,用于从接收到的数据流中,提取第一序列;确定单元,用于确定所述第一序列中出现预设误码序列的次数;所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
可选的,提取单元,还可以用于从多个预设统计周期内接收到的数据流中,提取第一序列;确定单元,用于针对多个预设误码序列中的每个预设误码序列,确定所述第一序列中出现所述每个预设误码序列的次数;每个预设误码序列均为第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列。其中,各预设误码序列的N取值不同,均为大于或等于2的整数。
可见,本申请实施例能够确定第一序列中一个或多个预设误码序列出现的次数,及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的影响,从而有利于及时调节交织器的交织深度。
在一种可选的实施方式中,确定单元还用于确定所述第一序列中出现的最大误码长度,所述最大误码长度为所述第一序列中出现连续错误比特的总比特位数的最大值。
在一种可选的实施方式中,该误码检测装置还包括异或单元,用于将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与所述发送端在发送的数据流中***的序列相同的序列。
在一种可选的实施方式中,该异或单元,还用于在一个或多个预设统计周期内,将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列。
相应的,确定单元确定第一序列中出现预设误码序列的次数,可以为:根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数。确定单元确定所述第一序列中出现的最大误码长度,可以为:根据所述误码图样序列确定所述第一序列中出现的最大误码长度。
可选的,确定单元针对多个预设误码序列中的每个预设误码序列,确定第一序列中出现所述每个预设误码序列的次数,可以为:针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数。
在一种可选的实施方式中,确定单元根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数,可以为:识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述预设误码序列出现的次数。
在一种可选的实施方式中,确定单元针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数,可以为:针对多个预设误码序列中的每个预设误码序列,所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述每个预设误码序列的次数。
在一种可选的实施方式中,确定单元根据所述误码图样序列确定所述第一序列中出现 的最大误码长度,可以为:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
在一种可选的实施方式中,误码检测装置还可以包括发送单元,用于在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,该发送单元用于在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。可见,该实施方式可以有利于通知发送端来及时根据请求消息,调节发送端中交织器的交织深度值。
在一种可选的实施方式中,针对多个预设误码序列,发送单元,还可以用于在所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,该发送单元还用于在所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
可选的,针对多个预设误码序列,所述请求消息中包含以下一项或两项信息:多个预设误码序列中所述每个预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:多个预设误码序列中所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
本申请实施例中,该误码检测装置还可以包括监测单元,用于以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;所述监测单元还用于在监测到所述交织深度字段具有更新的交织深度值时,触发接收端的解交织器以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。可选的,上述监测单元也可以位于接收端中的解交织器中,以利用更新的交织深度值对接收的数据进行解交织操作。可选的,所述预设统计周期包括一个或多个所述预设时间单元。
第四方面,本申请还提供了一种交织深度调节装置,该交织深度调节装置可以位于光纤通信***的发送端中,可选的,该交织深度调节装置可以执行上述方法实施例中发送端的部分或全部操作。该交织深度调节装置可以包括:接收单元、确定单元以及调节单元。 其中:接收单元,用于接收请求消息;确定单元,用于响应所述请求消息,确定所述发送端中交织器的交织深度值;调节单元,用于利用确定的交织深度值调节所述交织器。
可见,本申请实施例能够及时调节交织深度值,从而有利于在光纤通信***出现纠前劣化缓变过程时,也能保证数据传输质量,有效提升了光纤通信***的***性能。
本申请实施例中,该交织深度调节装置还可以包括更新单元,利用确定单元确定的交织深度值更新第二预设时间单元中的交织深度字段,再触发调节单元利用确定的交织深度值调节所述交织器。相应的,该交织深度调节装置还可以在调节单元利用确定的交织深度值调节所述交织器之后,触发发送端通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;以及在所述第一预设时间单元发送所述交织后的数据。所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
可选的,所述请求消息中包含以下一项或两项信息:多个预设误码序列中每个预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:多个预设误码序列中每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
第五方面,本申请还提供了一种设备,该设备包括:处理器和存储器;所述存储器用于存储程序代码,所述处理器,用于调用所述存储器存储的程序指令,当所述程序代码被执行时,以使所述设备执行以下操作:从接收到的数据流中,提取第一序列;确定所述第一序列中出现预设误码序列的次数;所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
可选的,该处理器可以从一个或多个预设统计周期内接收到的数据流中,提取第一序列。针对多个预设误码序列中的每个预设误码序列,该处理器可以确定所述第一序列中出现所述每个预设误码序列的次数。
在一种可选的实施方式中,所述处理器还用于执行以下操作:确定所述第一序列中出现的最大误码长度,所述最大误码长度为所述第一序列中出现连续错误比特的总比特位数的最大值。
在一种可选的实施方式中,所述处理器还用于执行以下操作:将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与所述发送端在发送的数据流中***的序列相同的序列;所述处理器确定第一序列中出现所述每个预设误码序列的次数,具体为:根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数;所述处理器确定所述第一序列中出现的最大误码长度,具体为:根据所述误码图样序列确定所述第一序列中出现的最大误码长度。
可选的,该处理器可以在一个或多个预设统计周期内,将所述第一序列与生成的第二 序列进行异或,获得第一序列的误码图样序列。所述处理器可以针对多个预设误码序列中的每个预设误码序列,确定第一序列中出现所述每个预设误码序列的次数,具体为:针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数。
在一种可选的实施方式中,所述处理器根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数,具体为:识别所述每个误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述预设误码序列的次数。
在一种可选的实施方式中,所述处理器针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数,具体为:针对一个或多个预设误码序列中的每个预设误码序列,识别所述每个误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述每个预设误码序列的次数。
在一种可选的实施方式中,所述处理器根据所述误码图样序列确定所述第一序列中出现的最大误码长度,具体为:识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
在一种可选的实施方式中,所述处理器还用于执行以下操作:在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。
在一种可选的实施方式中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
在一种可选的实施方式中,所述处理器还用于执行以下操作:以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;监测到所述交织深度字段具有更新的交织深度值时,以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。可选的,所述预设统计周期包括一个或多个所述预设时间单元。
第六方面,本申请还公开了一种设备,该设备应用于光纤通信***中,所述设备包括:处理器和存储器;所述存储器用于存储程序代码,所述处理器,用于调用所述存储器存储的程序指令,当所述程序代码被执行时,以使所述设备执行以下操作:发送端接收请求消息;所述发送端响应所述请求消息,确定所述发送端中交织器的交织深度值;所述发送端利用确定的交织深度值调节所述交织器。
在一种可选的实施方式中,所述处理器利用确定的交织深度值调节所述交织器之前, 还用于执行以下操作:利用确定的交织深度值更新第二预设时间单元中的交织深度字段;所述处理器利用确定的交织深度值调节所述交织器之后,还用于执行以下操作:通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元;在所述第一预设时间单元发送所述交织后的数据。
在一种可选的实施方式中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
第七方面,本申请还提供了一种通信***,该***包括上述方面的至少两个设备,该两个设备分别执行上述方法实施例中发送端和接收端的功能。在另一种可能的设计中,该***还可以包括本申请提供的方案中与上述两个设备进行交互的其他设备。
第八方面,本申请还提供了一种计算机存储介质,用于储存为上述设备所用的计算机软件指令,其包括用于执行上述方法的任一方面所设计的程序。
第九方面,本申请还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
第十方面,本申请提供了一种芯片***,该芯片***包括处理器,用于支持设备执行上述方面中所涉及的功能,例如,确定或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片***还包括存储器,所述存储器,用于保存设备必要的程序指令和数据。该芯片***,可以由芯片构成,也可以包括芯片和其他分立器件。
图1为本申请实施例提供的一种交织示意图;
图2是本申请实施例提供的一种误码检测方法的流程示意图;
图3是本申请实施例提供的另一种误码检测方法的流程示意图;
图4是本申请实施例提供的又一种误码检测方法的流程示意图;
图5本申请实施例提供的一种交织深度调节方法的流程示意图;
图6为本申请实施例提供的一种复帧格式的示意图;
图7是本申请实施例提供的一种误码检测装置的结构示意图;
图8是本申请实施例提供的一种交织深度调节装置的结构示意图;
图9是本申请实施例提供的一种设备的结构示意图;
图10是本申请实施例提供的一种光纤通信***的结构示意图。
本申请提供一种交织深度调节方法,能够实现自适应的调节交织器的交织深度,保证业务传输的可靠性。
为了便于对本申请的理解,首先对本申请相关的背景技术进行阐述。
随着光纤通信技术的发展,为了解决信号衰减、噪声积累、色散积累和光纤非线性效应等问题,引入了前向纠错编码技术,该技术可以保证光纤通信***中信息传输的可靠性和稳定性。然而,前向纠错码技术需要通过交织技术对信道中的误码进行离散化,使其靠近高斯白噪声,才能被前向纠错译码器纠错。例如,图1为本申请实施例提供的一种交织示意图,如图1所示,以时钟为周期,输入交织器128拍数据,每拍数据有128比特,交织器输出的数据依次选择图1中箭头所示的数据,即每拍数据均抽出1比特拼接成了128比特的输出数据,从而实现了数据打散的功能。其中,该箭头所示的128比特就代表交织深度为128的跨度。再例如,以时钟为周期,输入交织器的为128拍数据,每拍数据包含128个比特块,每个比特块包含多个比特,交织器可以根据交织深度为128,从每拍数据中抽出1个比特块拼接成128个比特块,作为输出数据。其中,上述所述的交织方式仅仅是一种示例性阐述,并不作为对本申请所适应的交织方式的限定。
目前,交织技术采用交织深度来表征交织器对信道中误码的打散能力,如图1所示,交织深度越大,实现的复杂度就越高,因此,对于一个光纤通信***会规划多档交织深度的交织器,以适配不同的应用场景,同时尽可能的低功耗。例如,在距离短,信道环境良好的场景时,可选用低交织深度的交织档位,以保证能够有效通信的同时实现低功耗;再例如,在远距离传输或者信道环境恶劣的场景,可选用高交织深度的交织档位,以打散误码,提高***的通信能力。
然而,无论在何种应用场景,光纤通信***中,器件会逐渐老化,光纤非线性效应也会发生缓变,并在这些老化、缓变达到一定程度时,会导致该场景下的交织器无法胜任所产生的信道突发误码情况,进而导致译码器不可纠,从而导致业务传输失败。因此,如何及时检测到该光纤通信***的上述缓变过程,对信道突发误码的影响情况,成为一个亟待解决的问题。
为了解决上述问题,本申请提供的一种误码检测方法,能够通过第一序列中预设误码序列的出现次数,及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的影响,从而有利于及时调节交织器的交织深度。
以下结合附图对本申请提供的误码检测方法进行阐述。
在本申请中,发送端和接收端可以是指网络侧的一种用来发送或接收信息的实体,比如可以是基站,或者可以是传输点(Transmission point,TP)、收发点(transmission and receiver point,TRP)、中继设备,或者具备基站功能的其他网络设备等等。本申请中,基站,是一种部署在无线接入网用以提供无线通信功能的设备。在不同的无线接入***中基站的名称可能有所不同,例如在通用移动通讯***UMTS网络中基站称为节点B(NodeB),在LTE网络中的基站称为演进的节点B(evolved NodeB,eNB或者eNodeB),在未来5G***中可以称为收发节点(Transmission Reception Point,TRP)网络节点或g节点B(g-NodeB, gNB),等等,此处不一一列举。
请参阅图2,图2是本申请实施例提供的一种误码检测方法的流程示意图,如图2示,该误码检测方法可以应用到光纤通信***中,具体的,该误码检测方法可以包括以下步骤:
101、接收端接收到的数据流中,提取第一序列;
可选的,接收端可以从一个或多个预设统计周期内接收到的数据流中,提取第一序列。其中,该第一序列为发送端在预设统计周期生成的第二序列,经过信道传输后所对应的序列;其中,发送端在该预设统计周期内生成的第二序列与接收端在该预设统计周期内生成的第二序列相同,也就是说,该第二序列为接收端和发送端均已知的序列,即为接收端和发送端均已知的序列。例如,该第二序列可以为伪随机二进制序列(Pseudo-Random Binary Sequence,PRBS),接收端和发送端分别具有PRBS生成器,能够本地生成该PRBS。其中,由于光纤通信***中,信号衰减、噪声积累等问题,使得第二序列在传输过程中可能发生误码,即接收端提取的第一序列为第二序列在信道传输过程中产生误码的序列。
其中,该预设统计周期可以包括一个或多个复帧。发送端和接收端生成第二序列的方式可以为以复帧为周期生成的。例如,发送端在每个复帧生成的序列,可以***到每个复帧的开销字段中,使得发送端发送的数据中携带该第二序列。
102、接收端确定所述第一序列中出现预设误码序列的次数。
所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
其中,预设误码序列为第一序列的子序列,也可以称为第一序列的部分序列。例如,假设第一序列为0111000110,预设误码序列为连续错误比特的总比特数为2个比特的序列,即该预设误码序列为0110,或者11;如该第一序列011100
0110中该预设误码序列
0110出现的次数为1。另外,由于第一序列中的另一子序列01110,虽然包含11,但该子序列连续错误比特的总比特数为3个比特,故该子序列01110或111,不为该预设误码序列0110,或11.
可选的,所述接收端可以针对多个预设误码序列中的每个预设误码序列,可以确定所述第一序列中出现所述每个预设误码序列的次数;每个预设误码序列均为第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列。其中,各预设误码序列的N取值不同,均为大于或等于2的整数。
在一种可选的实施方式中,接收端可以确定第一序列中出现一个预设误码序列的次数,比如,该预设误码序列为N取值较大的序列,即接收端可以只统计第一序列中出现连续错误较多的比特数,这样,接收端可以在检测到光纤通信***的信道发生变化的同时,也可以尽量降低接收端的工作量。
在另一种可选的实施方式中,接收端可以从第一序列中确定多个预设误码序列每个预设误码序列的次数,这样可以更加全面地检测到光纤通信***所发生的缓变对信道突发误码的影响情况。比如,第一预设误码序列为解交织器和译码器能够纠错的,最大的误码序列,如为连续错误比特的总比特位数为8个比特的误码序列,第二预设误码序列为连续错误比特的总比特位数为6个比特的误码序列,第三预设误码序列为连续错误比特的总比特位数为3个比特的误码序列,这样,接收端通过确定这三个预设误码序列出现的次数,可 以及时且全面的检测到光纤通信***的缓变对突发误码情况的影响,特别是,当该第一预设误码序列出现的次数较多时,就可以及时告知用户或采用自适应交织深度调节的方式来调整交织深度值;当第二预设误码序列、第三预设误码序列出现的次数较多,但第一预设误码序列出现的次数较少时,就可以继续检测该误码统计,而暂时不对交织深度值进行调整,等等。
可见,本申请实施例能够通过第一序列中预设误码序列的出现次数,及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的影响,从而有利于及时调节交织器的交织深度。也就是说,与现有技术中采用第一序列的所有错误比特数与第一序列的比特数之间的比值,即检测误码率在各个预设统计周期的波动情况相比,本申请实施例能够基于每个预设误码序列的统计次数,更加及时的检测到上述缓变过程,避免由于误码率变化过于缓慢而导致无法检测到该缓变过程的问题。
再请参阅图3,图3是本申请实施例提供的另一种误码检测方法的流程示意图,其中,图3所示的误码检测方法与图2所示的误码检测方法相比,接收端还可以确定第一序列中出现的最大误码长度,也就是说,图3所示的误码检测方法还包括:
103、接收端确定第一序列中出现的最大误码长度。
该最大误码长度为第一序列中出现连续错误比特的总比特位数的最大值。这样,与图2所示的误码检测方法相比,本申请实施例还可以进一步及时检测到光纤通信***在随着器件老化、光纤非线性效应等情况所发生的缓变,对信道突发误码情况的最大影响。
再请参阅图4,图4是本申请实施例提供的又一种误码检测方法的流程示意图,该图4所示的误码检测方法,与图2、图3所示的误码检测方法相比,接收端可以采用误码图样序列来确定上述每个预设误码序列出现的次数和最大误码长度。具体的,如图4所示,该误码检测方法可以包括以下步骤:
201、接收端从接收到的数据流中,提取第一序列;
202、接收端将第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;
其中,生成的第二序列为所述接收端生成的,与所述发送端在发送的数据流中***的序列相同的序列,如上述图6所示的复帧开销中***的第二序列。
其中,步骤201和202可以同时进行,即接收端直接将提取的第一序列与生成的第二序列进行异或,获得误码图样序列。这样,接收端只需存储每个预设统计周期的误码图样序列即可,而不必分别存储提取的第一序列和生成第二序列,从而可以节省存储空间。
相应的,图3中,步骤102,接收端确定第一序列中出现预设误码序列的次数,可以为如下步骤203所述的操作;步骤103中,接收端确定所述第一序列中出现的最大误码长度,可以为如下步骤204所述的操作。
203、接收端根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数。
204、接收端根据所述误码图样序列确定所述第一序列中出现的最大误码长度。
可选的,所述接收端针对多个预设误码序列中的每个预设误码序列,确定第一序列中出现所述每个预设误码序列的次数,包括:所述接收端针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数。
例如,接收端和发送端的PRBS生成器在预设统计周期内生成的第二序列为ABDCEAAAACCCCD,接收端提取的第一序列为ABCDEBBBBCCDDD;将该第一序列和第二序列进行异或,得到的误码图样序列为00110111100110,其中,0表示该比特未出现误码,1表示该比特出现误码,从而,可以从该误码图样序列中获得出现的最大误码长度,即连续为1的总比特位数的最大值为4,因此,该误码图样序列的最大误码长度为4;以及,针对N=2的第一预设误码序列(也可以称为第一预设误码图样,为0110),N=4的第二预设误码序列(也可以称为第二预设误码图样,为011110),该误码图样序列中出现第一预设误码序列的次数为2,出现第二预设误码序列的次数为1。
可选的,接收端根据第一序列的误码图样序列,确定第一序列中出现每个预设误码序列的次数,可以为:接收端将第一序列的误码图样序列按比特进行平移,分别与该预设误码图样序列进行比较,每出现一次就相当于该预设误码图样序列的次数加1。例如,该预设误码序列为0110,则将误码图样序列00110111100110向右按比特平移与该预设误码序列(0110)比较的过程为:该误码图样序列按比特平移到第四比特0011011110|0110,出现一次0110;继续按比特平移,平移到第13比特0|0110111100110,又出现一次;再继续按比特平移后,该误码图样序列所有比特比较完,可见,该预设图样序列0110出现的次数为2。
可见,图4所述的误码检测方法,能够根据上述误码统计信息,如在一个或多个预设统计周期内出现的最大误码长度和/或预设误码序列出现的次数,以及时发现光纤通信***在随着器件老化、光纤非线性效应等缓变过程对信道突发误码情况的影响。也就是说,与现有技术中检测整体的误码率波动的方法相比,本申请实施例能够更加及时的检测到上述缓变过程,避免由于误码率变化过于缓慢而导致无法检测到该缓变过程。例如,现有技术中,误码检测方法需要统计每个预设统计周期内出现的误码总比特数,基于该误码总比特数计算出误码率,并进一步的绘制多个预设统计周期内误码率的波动曲线的方式,使得维测人员了解信道情况;而本申请实施例,可针对一个或多个预设统计周期,检测所提取的第一序列出现的最大误码长度以及每个预设误码序列出现的次数中的至少一个信息,就能够及时检测出信道突发误码情况。
本申请实施例,基于上述图2至图4所述的误码检测方法,本申请实施例还提供一种交织深度调节的方法,能够根据上述误码检测方法确定的检测结果,如第一序列中出现的最大误码长度,以及一个或多个预设误码序列出现的次数中的至少一项,自适应的调节发送端中交织器的交织深度值,从而保证数据传输的可靠性。
可选的,本申请实施例还可以结合误码率的统计结果,向发送端发送请求消息,以使发送端对交织器的交织深度值进行调节。
以下以图5为例,图5本申请实施例提供的一种交织深度调节方法的流程示意图,对本申请实施例所述的交织深度调节方法进行阐述。
如图5所示,该交织深度调节方法可以包括以下步骤:
301、接收端在预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时;或者,接收端在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈 值时;向发送端发送请求消息。所述请求消息用于指示所述发送端调节交织器的交织深度值。
本申请实施例中,接收端可以通过回传信道将请求消息发送给发送端。
可选的,针对多个预设误码序列,接收端可以在每个预设误码序列出现的次数均大于每个预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时;向发送端发送请求消息。或者,针对多个预设误码序列,接收端在所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时;向发送端发送请求消息。
302、发送端接收请求消息,并响应所述请求消息,确定所述发送端中交织器的交织深度值。
303、所述发送端利用确定的交织深度值调节所述交织器。
可见,本申请实施例可以在上述误码统计信息达到预设条件时,就可以通知发送端及时调节交织深度值,从而有利于在光纤通信***的信道误码纠前劣化缓变过程中,也能保证数据传输质量,有效提升了光纤通信***的***性能。也就是说,本申请实施例,能够有效解决现有技术中虽然设计多个档位的交织器,但在同一场景下只能开启一种交织深度的交织器,而不会随着实际信道的变化而实时改变交织深度值的问题。
其中,本申请实施例中,接收端如何确定上述误码统计信息可以参考图2至图4相关内容的阐述,这里不再详述。
本申请实施例中,发送端可以利用确定的交织深度值更新第二预设时间单元中的交织深度字段;相应的,接收端以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的。这样,有利于接收端及时检测到发送端中交织器的最新的交织深度值。
例如,该交织深度字段位于复帧开销中,如图6所示,该复帧格式中可以包括帧头信息、净荷以及开销三个字段,其中,该开销字段中可以包括第二序列字段以及交织深度字段。其中,第二序列字段中用于携带发送端生成的第二序列;该交织深度字段包括交织深度信息,该交织深度信息中包括交织深度值。
本申请实施例中,所述预设统计周期包括一个或多个所述预设时间单元,该预设时间单元可以为子帧、复帧或FEC复帧等。
相应的,发送端通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元;所述发送端在所述第一预设时间单元发送所述交织后的数据。相应的,接收端检测到交织深度字段中更新的交织深度值时,也可以以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据。
可见,经过上述交互操作,可以实现发送端和接收端的解交织同步。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度。或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。该实施方式可以充分考虑到接收端和发送端的处理能 力,以确定所发送的请求消息包含的内容。
可选的,所述请求消息中包含以下一项或两项信息:所述多个预设误码序列中所述每个预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:所述多个预设误码序列中所述每个预设误码序列出现的次数均大于所述每个预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
请参阅图7,图7是本申请实施例提供的一种误码检测装置的结构示意图,该误码检测装置可以执行上述方法实施例中接收端的相关操作。如图7所示,该误码检测装置可以包括:提取单元401、确定单元402,其中:
提取单元401,用于从接收到的数据流中,提取第一序列;
确定单元402,用于确定所述第一序列中出现预设误码序列的次数;
所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
本申请实施例中,确定单元402,还用于确定所述第一序列中出现的最大误码长度,所述最大误码长度为所述第一序列中出现连续错误比特的总比特位数的最大值。
可选的,提取单元401,还可以用于从多个预设统计周期内接收到的数据流中,提取第一序列;确定单元402,用于针对多个预设误码序列中的每个预设误码序列,确定所述第一序列中出现所述每个预设误码序列的次数;每个预设误码序列均为第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列。其中,各预设误码序列的N取值不同,均为大于或等于2的整数。
本申请实施例中,图7所示的误码检测装置还包括异或单元403,用于将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与所述发送端在发送的数据流中***的序列相同的序列。
相应的,确定单元402确定第一序列中出现预设误码序列的次数,可以为:根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数;确定单元402确定所述第一序列中出现的最大误码长度,可以为:根据所述误码图样序列确定所述第一序列中出现的最大误码长度。
可选的,确定单元402针对多个预设误码序列中的每个预设误码序列,确定第一序列中出现所述每个预设误码序列的次数,可以为:针对多个预设误码序列中的每个预设误码序列,根据所述误码图样序列确定所述第一序列中出现所述每个预设误码序列的次数。
其中,确定单元402针对根据所述误码图样序列确定所述第一序列中出现预设误码序列的次数,包括:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为所述预设误码序列出现的次数。
其中,确定单元402根据所述误码图样序列确定所述第一序列中出现的最大误码长度,包括:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
图7所示的误码检测装置,还可以执行上述交织深度调节方法的相关操作,该误码检 测装置还包括发送单元404,用于在所述预设误码序列出现的次数大于预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,发送单元404用于在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
本申请实施例中,误码检测装置还可以包括监测单元,用于以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;所述监测单元还用于在监测到所述交织深度字段具有更新的交织深度值时,触发该接收端中的解交织器以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。可选的,上述监测单元可以位于接收端中的解交织器中,以利用更新的交织深度值对接收的数据进行解交织操作。
所述误码检测装置所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。
请参阅图8,图8是本申请实施例提供的一种交织深度调节装置的结构示意图,该交织深度调节装置可以执行上述方法实施例中发送端的相关操作。如图8所示,该交织深度调节装置可以包括:接收单元501、确定单元502以及调节单元503,其中:
接收单元501,用于接收请求消息;
确定单元502,用于响应所述请求消息,确定所述发送端中交织器的交织深度值;
调节单元503,用于利用确定的交织深度值调节所述交织器。
本申请实施例中,该交织深度调节装置还可以包括更新单元,利用确定单元502确定的交织深度值更新第二预设时间单元中的交织深度字段,再触发调节单元503利用确定的交织深度值调节所述交织器。相应的,该交织深度调节装置还可以在调节单元503利用确定的交织深度值调节所述交织器之后,触发发送端通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据,以及在所述第一预设时间单元发送所述交织后的数据。所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元。
本申请实施例中,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
所述交织深度调节装置所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。
请参阅图9,图9为本申请实施例提供的一种设备的结构示意图,其中,该设备可以执行上述图7和/或图8所示的装置,也就是说,该设备可以执行上述方法实施例中发送端,或者接收端的相关操作,也可以具有上述发送端和接收端的相关功能。该设备也可以为芯片或电路,如可设置于上述发送端和/或接收端内的芯片或电路。该设备可以包括处理器610和存储器620。该存储器620用于存储指令,该处理器610用于执行该存储器620存储的指令,以使所述设备实现前述接收端或发送端的相关操作,比如误码检测方法和/或交织深度调节方法等。
进一步的,该网络还可以包括接收器640和发送器650。再进一步的,该网络还可以包括总线***630。
其中,处理器610、存储器620、接收器640和发送器550通过总线***630相连,处理器510用于执行该存储器620存储的指令,以控制接收器640接收信号,并控制发送器650发送信号,完成上述方法中网络设备的步骤。其中,接收器640和发送器650可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。所述存储器620可以集成在所述处理器610中,也可以与所述处理器610分开设置。
作为一种实现方式,接收器640和发送器650的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器610可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的接收端或发送端所述的操作。即将实现处理器610,接收器640和发送器650功能的程序代码存储在存储器中,通用处理器通过执行存储器中的代码来实现处理器610,接收器640和发送器650的功能,比如,处理器610可以调用存储器620中的程序代码,或者基于接收器640和发送器650,执行图7中发送单元或图8中接收单元的相关操作,或者执行上述方法实施例接收端或发送端执行的相关操作或实施方式。
所述设备所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。
请参阅图10,图10是本申请实施例提供的一种光纤通信***的结构示意图,如图10所示,发送端可以包括编码器、交织器、序列生成器以及图8所示的交织深度调节装置;其中,编码器用于对待发送的数据进行编码;交织器用于对编码后的数据进行交织处理,例如,将序列生成器以复帧周期生成的第二序列添加到如图6所示的复帧开销中,与交织后的数据通过并行接口发送给接收端。
接收端可以包括译码器、解交织器、序列生成器以及上述图7所示的误码检测装置。其中,译码器用于对解交织后的数据进行解码;解交织器用于基于如图6所示的复帧开销中的交织深度值对接收的数据进行解交织;序列生成器与发送端的序列生成器功能相同,用于生成预设统计周期的第二序列。
如图10所示,误码检测装置可以从接收的数据中提取第一序列和生成的第二序列进行异或运算,获得误码图样序列,以及根据该误码图样序列,确定第一序列中出现的最大误码长度以及一个或多个预设误码长度的次数。其中,第一序列为接收端从预设统计周期内接收的数据中提取的,并且为发送端在预设统计周期生成的第二序列经过信道传输后所对应的序列;第二序列为序列生成器在同一预设统计周期内生成的序列。具体的,该误码检测装置的相关操作可以参考上述实施例的相关阐述,此处不再详述。
相应的,如图10所示,发送端的交织深度调节装置可以接收请求消息,该请求消息可以由接收端通过回传信道发送给发送端;发送端响应所述请求消息,确定所述发送端中交织器的交织深度值;利用确定的交织深度值调节所述交织器,以及更新交织深度字段中的交织深度值,等等。具体的,该交织深度调节装置的相关操作可以参考上述实施例的相关阐述,此处不再详述。
可见,本申请实施例所述的光纤通信***,能够一个或多个预设统计周期内出现的最大误码长度和/或每个预设误码长度的次数,从而有利于根据这些误码统计信息发现光纤通信***在随着器件老化、光纤非线性效应等缓变对信道突发误码的影响情况。进一步的,该光纤通信***还能够及时根据这些误码统计信息,触发发送端调节交织器的交织深度值,从而保证了业务传输的质量。
应理解,在本申请实施例中,处理器可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。
该总线***除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线***。
此外,本申请还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行本申请实施例所述误码检测方法中由接收端执行的相应操作和/或流程,或使得计算机执行本申请实施例所述交织深度调节方法中由发送端执行的相应操作和/或流程。
本申请还提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当该计算机程序代码在计算机上运行时,使得计算机执行本申请实施例所述误码检测方法中由接收端执行的相应操作和/或流程;或使得计算机执行本申请实施例所述交织深度调节方法中由发送端执行的相应操作和/或流程。
本申请还提供一种芯片,包括处理器。该处理器用于调用并运行存储器中存储的计算机程序,以执行本申请实施例所述误码检测方法中由接收端执行的相应操作和/或流程,或以执行本申请实施例所述交织深度调节方法中由发送端执行的相应操作和/或流程。可选地,该芯片还包括存储器,该存储器与该处理器通过电路或电线与存储器连接,处理器用于读取并执行该存储器中的计算机程序。进一步可选地,该芯片还包括通信接口,处理器 与该通信接口连接。通信接口用于接收需要处理的数据和/或信息,处理器从该通信接口获取该数据和/或信息,并对该数据和/或信息进行处理。该通信接口可以是输入输出接口。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
还应理解,本文中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本发明实施例的范围。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算 机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
Claims (29)
- 一种误码检测方法,其特征在于,应用于光纤通信***中,所述方法包括:接收端从接收到的数据流中,提取第一序列;所述接收端确定所述第一序列中出现预设误码序列的次数;所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述接收端确定所述第一序列中出现的最大误码长度,所述最大误码长度为所述第一序列中出现连续错误比特的总比特位数的最大值。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:所述接收端将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与发送端在发送的数据流中***的序列相同的序列;所述接收端确定所述第一序列中出现预设误码序列的次数,包括:所述接收端根据所述误码图样序列,确定所述第一序列中出现所述预设误码序列的次数;所述接收端确定所述第一序列中出现的最大误码长度,包括:所述接收端根据所述误码图样序列,确定所述第一序列中出现的最大误码长度。
- 根据权利要求3所述的方法,其特征在于,所述接收端根据所述误码图样序列,确定所述第一序列中出现预设误码序列的次数,包括:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为预设误码序列出现的次数。
- 根据权利要求3所述的方法,其特征在于,所述接收端根据所述误码图样序列,确定所述第一序列中出现的最大误码长度,包括:所述接收端识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
- 根据权利要求2至5任一项所述的方法,其特征在于,所述方法还包括:所述接收端在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,所述接收端在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈 值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。
- 根据权利要求6所述的方法,其特征在于,所述请求消息中包含以下一项或两项信息:所述预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:所述预设误码序列出现的次数均大于所述预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
- 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:所述接收端以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;所述接收端监测到所述交织深度字段具有更新的交织深度值时,以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。
- 一种交织深度调节方法,其特征在于,包括:发送端接收请求消息;所述发送端响应所述请求消息,确定所述发送端中交织器的交织深度值;所述发送端利用确定的交织深度值调节所述交织器。
- 根据权利要求9所述的方法,其特征在于,所述发送端利用确定的交织深度值调节所述交织器之前,所述方法还包括:所述发送端利用确定的交织深度值更新第二预设时间单元中的交织深度字段;所述发送端利用确定的交织深度值调节所述交织器之后,所述方法还包括:所述发送端通过所述调节后的交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元;所述发送端在所述第一预设时间单元发送所述交织后的数据。
- 根据权利要求9或10所述的方法,其特征在于,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误 码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
- 一种误码检测装置,其特征在于,应用于光纤通信***中的接收端中,所述装置包括:提取单元,用于从接收到的数据流中,提取第一序列;确定单元,用于确定所述第一序列中出现预设误码序列的次数;所述预设误码序列为所述第一序列的子序列,且为连续错误比特的总比特位数为N个比特的序列,所述N为大于或等于2的整数。
- 根据权利要求12所述的装置,其特征在于,所述确定单元,还用于确定所述第一序列中出现的最大误码长度,所述最大误码长度为所述第一序列中出现连续错误比特的总比特位数的最大值。
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:异或单元,用于将所述第一序列与生成的第二序列进行异或,获得第一序列的误码图样序列;所述生成的第二序列为所述接收端生成的,与发送端在发送的数据流中***的序列相同的序列;所述确定单元确定第一序列中出现预设误码序列的次数,具体为:根据所述误码图样序列,确定所述第一序列中出现预设误码序列的次数;确定所述第一序列中出现的最大误码长度,包括:根据所述误码图样序列,确定所述第一序列中出现的最大误码长度。
- 根据权利要求14所述的装置,其特征在于,所述确定单元根据所述误码图样序列,确定所述第一序列中出现预设误码序列的次数,具体为:识别误码图样序列中出现比特值连续为1的总比特位数为N的次数,作为预设误码序列出现的次数。
- 根据权利要求14所述的装置,其特征在于,所述确定单元根据所述误码图样序列,确定所述第一序列中出现的最大误码长度,具体为:识别所述误码图样序列中出现比特值连续为1的总比特位数的最大值,作为最大误码长度。
- 根据权利要求13至16任一项所述的装置,其特征在于,所述装置还包括:发送单元,用于在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,或者,在所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值;或者,发送单元,用于在所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,且所述最大误码长度大于第二预设阈值时,向发送端发送请求消息,所述请求消息用于指示所述发送端调节交织器的交织深度值。
- 根据权利要求17所述的装置,其特征在于,所述请求消息中包含以下一项或两项信息:所述预设误码序列出现的次数,和所述最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:所述预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和所述最大误码长度大于所述第二预设阈值。
- 根据权利要求17或18所述的装置,其特征在于,所述装置还包括:监测单元,用于以预设时间单元为周期监测所述发送端发送的交织深度字段,所述交织深度字段是所述发送端以所述预设时间单元为周期***到数据流中的;以及在所述监测单元监测到所述交织深度字段具有更新的交织深度值时,触发所述接收端中的解交织器以更新的交织深度值对第一预设时间单元接收的数据进行解交织,获得解交织后的数据;所述第一预设时间单元为第二预设时间单元,或者,为所述第二预设时间单元的下一个预设时间单元;所述第二预设时间单元为包含更新的交织深度值的交织深度字段所在的预设时间单元。
- 一种交织深度调节装置,其特征在于,应用于光纤通信***中的发送端中,所述装置包括:接收单元,用于接收请求消息;确定单元,用于响应所述请求消息,确定所述发送端中交织器的交织深度值;调节单元,用于利用确定的交织深度值调节所述交织器。
- 根据权利要求20所述的装置,其特征在于,所述装置还包括:更新单元,用于所述调节单元利用确定的交织深度值调节所述交织器之前,利用确定的交织深度值更新第二预设时间单元中的交织深度字段;以及,在所述调节单元利用确定的交织深度值调节所述交织器之后,触发调节后的所述交织器对第一预设时间单元中的数据净荷进行交织,获得交织后的数据;以使所述发送端在所述第一预设时间单元发送所述交织后的数据;所述第一预设时间单元为所述第二预设时间单元,或者为所述第二预设时间单元的下一个预设时间单元。
- 根据权利要求20或21所述的装置,其特征在于,所述请求消息中包含以下一项或两项信息:预设误码序列出现的次数,和最大误码长度;或者,所述请求消息中包含指示信息,所述指示信息用于指示以下一项或两项信息:预设误码序列出现的次数大于所述预设误码序列对应的第一预设阈值,和最大误码长度大于第二预设阈值。
- 一种光纤通信方法,其特征在于,包括:如权利要求1至8任一项所述的方法;和,如权利要求9至11任一项所述的方法。
- 一种光纤通信***,其特征在于,包括:如权利要求12至19任一项所述的误码检测装置;和,如权利要求20至22任一项所述的交织深度调节装置。
- 一种装置,其特征在于,所述装置包括处理器和存储器,所述存储器用于存储指令,所述处理器用于执行存储器中的指令以执行权利要求1至8中任一项所述的方法,或者以执行权利要求9至11任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1至8中任一项所述的方法,或者执行权利要求9至11任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行所述权利要求1至8中任一项所述的方法的指令,或者执行所述权利要求9至11任一项所述的方法的指令。
- 一种装置,其特征在于,所述装置用于实现权利要求1至8中任一项所述的方法,或者实现权利要求9至11任一项所述的方法。
- 一种芯片***,其特征在于,包括处理器和接口;所述处理器用于读取指令以执行权利要求1至8中任一项所述的方法,或者实现权利要求9至11任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811642827.7A CN111385022B (zh) | 2018-12-29 | 2018-12-29 | 误码检测方法及相关设备 |
CN201811642827.7 | 2018-12-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020135813A1 true WO2020135813A1 (zh) | 2020-07-02 |
Family
ID=71128807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/129638 WO2020135813A1 (zh) | 2018-12-29 | 2019-12-28 | 误码检测方法及相关设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111385022B (zh) |
WO (1) | WO2020135813A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117220832A (zh) * | 2023-11-07 | 2023-12-12 | 苏州联讯仪器股份有限公司 | 一种误码***方法、装置、***及计算机存储介质 |
CN117692101A (zh) * | 2023-12-04 | 2024-03-12 | 北京科技大学 | 一种基于卷积神经网络的突发误码检测方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760014A (zh) * | 2021-01-08 | 2022-07-15 | 华为技术有限公司 | 误比特率测试方法和装置 |
CN113315572B (zh) * | 2021-03-30 | 2023-11-14 | 阿里巴巴新加坡控股有限公司 | 光模块物理链路的检测方法及装置、光模块、光传输*** |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841389A (zh) * | 2003-12-07 | 2010-09-22 | 适应性频谱和信号校正股份有限公司 | 自适应fec码字管理 |
CN104518826A (zh) * | 2013-09-30 | 2015-04-15 | 华为技术有限公司 | 一种监测光纤故障的方法、设备及*** |
CN107786305A (zh) * | 2016-08-29 | 2018-03-09 | 海思光电子有限公司 | 一种前向纠错后的误码补偿方法和编解码处理装置 |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100413240C (zh) * | 2004-06-18 | 2008-08-20 | 财团法人工业技术研究院 | 用于信息长度侦测及错误侦测的改良式循环冗余检验方法 |
KR100604909B1 (ko) * | 2004-10-11 | 2006-07-28 | 삼성전자주식회사 | 가변적인 반복 에러 정정 횟수를 갖는 디지털 신호 처리방법 |
CN100459717C (zh) * | 2005-04-20 | 2009-02-04 | 华为技术有限公司 | 基于h.264的压缩视频传输误码消除方法 |
CN101030840B (zh) * | 2006-03-02 | 2011-09-14 | 华为技术有限公司 | 具有重传请求的数据传输方法和接收端状态报告编制方法 |
CN100592642C (zh) * | 2006-11-28 | 2010-02-24 | 华为技术有限公司 | 交织器和编/译码器以及交织实现方法 |
CN101022463A (zh) * | 2007-03-20 | 2007-08-22 | 西南科技大学 | 多协议接口数字基带信道模拟器 |
CN101442380B (zh) * | 2007-11-20 | 2013-02-13 | 大唐移动通信设备有限公司 | 基于高速串行接口编码方式的误码率测试方法与装置 |
CN101457253B (zh) * | 2008-12-12 | 2011-08-31 | 深圳华大基因研究院 | 一种测序序列纠错方法、***及设备 |
CN102905295B (zh) * | 2009-04-22 | 2014-11-12 | 电信科学技术研究院 | 一种调整preamble序列数目的方法及装置 |
CN102227097B (zh) * | 2011-04-11 | 2013-05-15 | 重庆大学 | 一种可变长度s随机交织器的生成方法 |
CN102684842B (zh) * | 2011-08-17 | 2017-02-01 | 国家新闻出版广电总局广播科学研究院 | 一种交织和解交织比特流的方法以及交织器与解交织器 |
US10103839B2 (en) * | 2012-06-28 | 2018-10-16 | Ant-Advanced Network Technologies Oy | Processing and error concealment of digital signals |
CN102957513B (zh) * | 2012-11-16 | 2013-10-30 | 深圳光启创新技术有限公司 | 基于可见光通信的纠错方法和装置 |
CN103391171B (zh) * | 2013-07-26 | 2016-06-29 | 哈尔滨工程大学 | 一种基于判决反馈的改进选择性映射峰均功率比抑制方法 |
CN103929211B (zh) * | 2014-04-30 | 2017-02-15 | 中国科学院微电子研究所 | 一种bch编码方案自适应调整方法及*** |
CN104184550B (zh) * | 2014-07-29 | 2017-06-30 | 江苏中兴微通信息科技有限公司 | 一种自适应三维度信息的符号交织和解交织方法及装置 |
CN105024706A (zh) * | 2015-03-20 | 2015-11-04 | 中国电子科技集团公司第七研究所 | 一种基于bch+rs级联纠错编码方法及*** |
CN104717040B (zh) * | 2015-03-27 | 2018-02-02 | 东南大学 | 一种基于信道质量信息的自适应交织方法及装置 |
CN104753643B (zh) * | 2015-04-02 | 2018-06-05 | 东南大学 | 一种基于信道状态信息的自适应交织方法及装置 |
CN106487733B (zh) * | 2015-08-31 | 2019-10-01 | 华为技术有限公司 | 一种通信方法、发送端、接收端及*** |
CN106411467B (zh) * | 2016-09-19 | 2019-11-22 | 深圳市锐能微科技股份有限公司 | 基于chirp信号的信息发送、接收方法及装置 |
CN106603171B (zh) * | 2017-02-21 | 2020-06-09 | 中国联合网络通信集团有限公司 | 终端接收机误比特率的测试方法及设备 |
CN108667561B (zh) * | 2017-03-31 | 2021-12-07 | 优本技术(深圳)有限公司 | 信号处理方法、装置及存储介质和处理器 |
CN106961608B (zh) * | 2017-04-07 | 2019-05-28 | 山东师范大学 | 高清解码器数字显示混合格式码流自适应处理***及方法 |
CN108923891B (zh) * | 2018-08-02 | 2020-10-27 | 电子科技大学 | 一种突发信道下的极化码的编译码方法 |
-
2018
- 2018-12-29 CN CN201811642827.7A patent/CN111385022B/zh active Active
-
2019
- 2019-12-28 WO PCT/CN2019/129638 patent/WO2020135813A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841389A (zh) * | 2003-12-07 | 2010-09-22 | 适应性频谱和信号校正股份有限公司 | 自适应fec码字管理 |
CN104518826A (zh) * | 2013-09-30 | 2015-04-15 | 华为技术有限公司 | 一种监测光纤故障的方法、设备及*** |
CN107786305A (zh) * | 2016-08-29 | 2018-03-09 | 海思光电子有限公司 | 一种前向纠错后的误码补偿方法和编解码处理装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117220832A (zh) * | 2023-11-07 | 2023-12-12 | 苏州联讯仪器股份有限公司 | 一种误码***方法、装置、***及计算机存储介质 |
CN117220832B (zh) * | 2023-11-07 | 2024-03-15 | 苏州联讯仪器股份有限公司 | 一种误码***方法、装置、***及计算机存储介质 |
CN117692101A (zh) * | 2023-12-04 | 2024-03-12 | 北京科技大学 | 一种基于卷积神经网络的突发误码检测方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111385022A (zh) | 2020-07-07 |
CN111385022B (zh) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020135813A1 (zh) | 误码检测方法及相关设备 | |
US11165537B2 (en) | Method for encoding information bit sequence in communication network | |
US11588576B2 (en) | Data transmission method, base station, and terminal device | |
US20220077875A1 (en) | Data Transmission Method, Encoding Method, Decoding Method, Apparatus, Device, and Storage Medium | |
US11075652B2 (en) | Polar code transmission method and apparatus | |
US11546088B2 (en) | Check code processing method, electronic device and storage medium | |
US10673654B2 (en) | Coding method, coding apparatus, and communications apparatus | |
US10979076B2 (en) | Encoding method, encoding apparatus, and communications apparatus | |
US11528094B2 (en) | Data sending and receiving method and device | |
JPH07273742A (ja) | 並列データ伝送装置 | |
CN109981382B (zh) | 一种检测误码的方法及装置 | |
JPH04103224A (ja) | 符号誤り検出回路 | |
JP5719438B2 (ja) | Cpriリンクのエラー・コード・モニター方法、システム及び装置 | |
AU2022211512A1 (en) | Data transmission method and apparatus, and device, system and computer-readable storage medium | |
CN109347605B (zh) | 一种编码方法、解码方法及装置、计算机可读存储介质 | |
Raahemi | Error correction on 64/66 bit encoded links | |
EP3605900B1 (en) | Polar code-based interleaving method and device | |
US20240187130A1 (en) | Data transmission method, apparatus, device, system, and readable storage medium | |
US20240275574A1 (en) | Data transmission method, apparatus, device, and system, and readable storage medium | |
EP4369610A1 (en) | Link monitoring method and device | |
US8923413B2 (en) | Optimization of data processors with irregular patterns | |
JPH09130355A (ja) | エラー訂正符号化方法および送受信装置 | |
US20210135784A1 (en) | Transmitting and receiving devices for reliable reception of control messages | |
RU156779U1 (ru) | Система однонаправленной передачи данных | |
JP2014053781A (ja) | 解析装置、解析方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19902694 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19902694 Country of ref document: EP Kind code of ref document: A1 |