Training Sequence Determining Method and Related Device
20230123881 · 2023-04-20
Inventors
Cpc classification
H04Q11/0067
ELECTRICITY
H04B10/0775
ELECTRICITY
International classification
Abstract
This application provides a training sequence determining method and a related device. The method in embodiments of this application includes: An ONU receives a first message sent by an OLT. Then, the ONU determines a target training sequence based on the first message, where the target training sequence is used to determine a working parameter of an equalizer in the OLT. Further, the ONU generates a first data frame including the target training sequence. In this application, the OLT may perform training based on the received target training sequence to determine the working parameter of the equalizer in the OLT.
Claims
1.-20. (canceled)
21. A method, comprising: receiving, by an optical network unit (ONU), a first message sent by an optical line terminal (OLT); determining, by the ONU, a target training sequence based on the first message, wherein the target training sequence is used to determine a working parameter of an equalizer in the OLT; and generating, by the ONU, a first data frame, wherein the first data frame comprises the target training sequence.
22. The method according to claim 21, wherein a first field in the first message comprises an original sequence, and determining, by the ONU, the target training sequence based on the first message comprises: generating, by the ONU, the target training sequence based on the original sequence and a preset operation rule, wherein a length of the target training sequence is greater than a length of the original sequence.
23. The method according to claim 21, wherein a first field in the first message indicates a training sequence type, and determining, by the ONU, the target training sequence based on the first message comprises: selecting, by the ONU, the target training sequence from a preset training sequence list based on the training sequence type indicated by the first field.
24. The method according to claim 21, wherein the first data frame further comprises: a delimiter of the target training sequence and service data; or a first upstream physical synchronization block (PSBu), a delimiter of the target training sequence, and service data.
25. The method according to claim 21, further comprising: sending, by the ONU, the first data frame to the OLT.
26. The method according to claim 25, wherein sending, by the ONU, the first data frame to the OLT comprises: receiving, by the ONU, a second message sent by the OLT; and sending, by the ONU, the first data frame to the OLT based on an indication of the second message.
27. The method according to claim 26, wherein the second message comprises a bandwidth mapping table, and an allocation structure in the bandwidth mapping table comprises a training indicator field; and wherein sending, by the ONU, the first data frame to the OLT based on the indication of the second message comprises: sending, by the ONU, the first data frame to the OLT based on an indication of the training indication field.
28. The method according to claim 27, wherein the target training sequence is one of a plurality of target training sequences, each target training sequence of the plurality of target training sequences has a corresponding identifier, and a burst profile in the allocation structure is used to indicate the identifier of the target training sequence determined by the ONU.
29. The method according to claim 21, further comprising: receiving, by the ONU, a third message sent by the OLT; and sending, by the ONU, a second data frame to the OLT based on an indication of the third message, wherein the second data frame comprises a second upstream physical synchronization block (PSBu) and service data.
30. The method according to claim 29, wherein the third message comprises a bandwidth mapping table, and an allocation structure in the bandwidth mapping table comprises a training indicator field; and wherein sending, by the ONU, the second data frame to the OLT based on the indication of the third message comprises: sending, by the ONU, the second data frame to the OLT based on an indication of the training indication field.
31. A method, comprising: sending, by an optical line terminal (OLT), a first message to an optical network unit (ONU), wherein the ONU determines a target training sequence based on the first message, and generates a first data frame, wherein the first data frame comprises the target training sequence; and using, by the OLT, the target training sequence to determine a working parameter of an equalizer in the OLT.
32. The method according to claim 31, wherein a first field in the first message comprises an original sequence, the target training sequence is generated by the ONU based on the original sequence and a preset operation rule, and a length of the target training sequence is greater than a length of the original sequence.
33. The method according to claim 31, wherein a first field in the first message indicates a training sequence type, and the target training sequence is selected by the ONU from a preset training sequence list based on the training sequence type indicated by the first field.
34. The method according to claim 31, wherein the first data frame further comprises: a delimiter of the target training sequence and service data; or a first upstream physical synchronization block (PSBu), a delimiter of the target training sequence, and service data.
35. The method according to claim 31, further comprising: receiving, by the OLT, the first data frame sent by the ONU.
36. The method according to claim 31, wherein receiving, by the OLT, the first data frame sent by the ONU comprises: sending, by the OLT, a second message to the ONU, wherein the second message indicates to the ONU to send the first data frame; and receiving, by the OLT, the first data frame sent by the ONU.
37. The method according to claim 36, wherein the second message comprises a bandwidth mapping table, an allocation structure in the bandwidth mapping table comprises a training indicator field, and the training indicator field indicates to the ONU to send the first data frame.
38. The method according to claim 31, further comprising: sending, by the OLT, a third message to the ONU, wherein the third message indicates to the ONU to send a second data frame, and the second data frame comprises a second upstream physical synchronization block (PSBu) and service data; and receiving, by the OLT, the second data frame sent by the ONU.
39. An optical network unit (ONU), comprising: a processor and an optical transceiver, wherein the processor, and the optical transceiver are connected to each other, and the processor is configured to: receive a first message sent by an optical line terminal (OLT); determine a target training sequence based on the first message, wherein the target training sequence is used to determine a working parameter of an equalizer in the OLT; and generate a first data frame, wherein the first data frame comprises the target training sequence.
40. The ONU according to claim 39, wherein a first field in the first message comprises an original sequence, and the processor is further configured to: generate the target training sequence based on the original sequence and a preset operation rule, wherein a length of the target training sequence is greater than a length of the original sequence.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0049] This application provides a training sequence determining method and a related device. An ONU determines a training sequence based on an indication of an OLT, and sends the training sequence to the OLT. The OLT determines a working parameter of an equalizer based on the training sequence, and the equalizer may compensate for channel impairment and effectively eliminate ISI, thereby improving performance of the OLT.
[0050] Currently, broadband access technologies are mainly classified into copper wire access technologies (such as various DSL technologies) and optical access technologies. An access network implemented by using an optical access technology is referred to as an optical access network (OAN).
[0051] A passive optical network (PON) is an implementation technology of the optical access network, and the PON is an optical access technology of point-to-multipoint transmission. The following describes a system architecture of the PON.
[0052]
[0053] The ODN includes a passive optical splitter used for optical power distribution, a backbone optical fiber connected between the passive optical splitter and the OLT, and a branch optical fiber connected between the passive optical splitter and an ONU. During downlink data transmission, the ODN transmits downlink data of the OLT to each ONU by using the optical splitter, and the ONU selectively receives downlink data carrying an identifier of the ONU. During uplink data transmission, the ODN combines optical signals sent by N ONUs into one optical signal, and transmits the optical signal to the OLT.
[0054] The ONU provides a user side interface for the OAN, and is connected to the ODN. If the ONU provides a user port function at the same time, for example, the ONU provides an Ethernet user port or a plain old telephone service (POTS) user port, the ONU is referred to as an optical network termination (ONT).
[0055] As a line rate of the PON increases, there is a higher requirement for bandwidth of an optical component. Because the bandwidth supported by the optical component is insufficient to meet a bandwidth requirement of the high-speed PON, mutual interference occurs between adjacent code types transmitted in the PON system. As a result, an ISI phenomenon occurs, and performance of the OLT is affected. Therefore, in this application, an equalizer is used in the OLT to eliminate ISI and compensate for bandwidth.
[0056]
[0057] It should be noted that the OLT needs to receive uplink signals from different ONUs. Optical components used by different ONUs are different, and distances from different ONUs to the OLT are also different. Therefore, for different ONUs, different working parameters need to be configured for the equalizer in the OLT. Specifically, the OLT determines a working parameter of the equalizer based on a training sequence sent by an ONU. The following describes in detail the training sequence determining method provided in this application.
[0058]
[0059] 301. An OLT sends a first message to an ONU.
[0060] In this embodiment, the first message may be a physical layer operations, administration and maintenance (PLOAM) message in a GPON standard. The PLOAM message may be sent in a broadcast manner, or may be sent in a unicast manner. The PLOAM message may provide functions such as configuration of an uplink burst mode, ONU activation, and ONU registration.
[0061] 302. The ONU determines a target training sequence based on the first message.
[0062] It should be understood that the target training sequence is different from service data, and the target training sequence is a sequence used to determine a working parameter of an equalizer in the OLT. The target training sequence may be located in an overhead part of an uplink message sent by the ONU. Specifically, the ONU determines the target training sequence in a plurality of implementations, which are separately described below.
[0063] First Implementation:
[0064] A first field in the first message delivered by the OLT includes an original sequence, and the ONU processes the original sequence based on a preset operation rule to obtain a random sequence, that is, the target training sequence. A length of the target training sequence is greater than a length of the original sequence (for example, greater than 256 bits), so that the length of the target training sequence meets a training requirement of the equalizer in the OLT.
[0065] It should be noted that the target training sequence may be a pseudo-random sequence, for example, an m sequence. The ONU may generate the target training sequence by using a linear feedback shift register.
[0066] Second Implementation:
[0067] A first field in the first message delivered by the OLT is used to indicate a training sequence type. Further, the ONU selects, from a preset training sequence list, a training sequence that matches the type, to serve as or generate the target training sequence. The training sequence type may be specifically an enumerated value or a number. In the preset training sequence list, any type of training sequence includes one or more types of information, such as a code type of the training sequence, a length of the training sequence, and a quantity of cycles of the training sequence based on the code type of the training sequence. The ONU selects a corresponding training sequence from the training sequence list based on the training sequence type, to generate the target training sequence. For example, the first field indicates that the training sequence type is a type 1, and in the preset training sequence list, a code type of a training sequence of the type 1 is “100110101111000”, and a quantity of cycles is 100. In this case, the target training sequence is a 1500-bit cyclic sequence “10011010111100010011010111000 . . . ”. The training sequence type indicated by the first field may alternatively be specifically an attribute of the training sequence, for example, one attribute or a combination of a plurality of attributes, such as a code type of the training sequence, a length of the training sequence, and a quantity of cycles of the training sequence based on the code type of the training sequence. For example, the training sequence type indicated by the first field is specifically the length of the training sequence, and in this case, the ONU selects, from the preset training sequence list, a training sequence that matches the length indicated by the first field, to serve as the target training sequence. Alternatively, the training sequence type indicated by the first field is specifically the code type of the training sequence and the quantity of cycles based on the code type, and in this case, the ONU selects, from the preset training sequence list, a training sequence that matches the code type and the quantity of cycles, to serve as or generate the target training sequence. In a possible implementation, the preset training sequence list includes four types of training sequences, and the first field includes two bits. The first field of “00” is used to indicate a training sequence type 1, the first field of “01” is used to indicate a training sequence type 2, the first field of “10” is used to indicate a training sequence type 3, and the first field of “11” is used to indicate a training sequence type 4.
[0068] 303. The ONU generates a first data frame including the target training sequence.
[0069] In this embodiment, there may be a plurality of formats of the first data frame, which are separately described below.
[0070]
[0071]
[0072] Optionally, a position of the PSBu in the first data frame may be located in front of the target training sequence, as shown in
[0073] 304. The ONU sends the first data frame to the OLT.
[0074] The ONU sends the first data frame including the target training sequence to the OLT. Further, the OLT trains the equalizer by using the target training sequence, to determine the working parameter of the equalizer. Specifically, when the equalizer is implemented by a filter, the working parameter of the equalizer may be understood as a filtering coefficient of the filter. The equalizer evaluates a channel characteristic with reference to the training sequence and a recursion algorithm, to correct the filtering coefficient to compensate for channel impairment.
[0075] A process in which the equalizer determines the working parameter of the equalizer based on the target training sequence is affected by a plurality of factors, such as an algorithm of the equalizer, a structure of the equalizer, and a communication change rate. In a digital communications system, service data is divided into segments and transmitted in different time segments. Each time the OLT receives service data in a new time segment, the equalizer uses the same training sequence to correct the working parameter of the equalizer.
[0076] When the training sequence is designed, it is required that the equalizer can obtain a correct working parameter by using the training sequence even under a worst channel condition. In this way, after the OLT receives the training sequence, the working parameter may be close to an optimal value. Further, when the OLT receives data, an adaptive algorithm of the equalizer may track a constantly changing channel and constantly change the working parameter of the equalizer.
[0077] In this embodiment of this application, the ONU determines the target training sequence based on the message sent by the OLT. Then, the uplink data frame generated by the ONU includes the target training sequence. Further, the OLT may perform training based on the received target training sequence, to determine the working parameter of the equalizer in the OLT. The equalizer may compensate for channel impairment and effectively eliminate ISI, thereby improving performance of the OLT.
[0078] It should be noted that, in actual application, the uplink data frame sent by the ONU to the OLT does not necessarily carry the training sequence each time. In some possible implementations, the OLT already determines the working parameter of the equalizer based on the training sequence in the uplink data frame sent by the ONU. In this case, to reduce overheads, an uplink data frame sent by the ONU in a later period of time may alternatively not carry the training sequence. Specifically, the OLT indicates whether the ONU needs to send the training sequence. The following provides a further description with reference to an embodiment.
[0079]
[0080] 801. An OLT sends a first message to an ONU.
[0081] 802. The ONU determines a target training sequence based on the first message.
[0082] In this embodiment, steps 801 and 802 are similar to steps 301 and 302 in the embodiment shown in
[0083] 803. The OLT sends a second message to the ONU.
[0084] In this embodiment, the second message is used to indicate that the ONU needs to send a first data frame including the target training sequence to the OLT. Specifically, the second message includes a bandwidth mapping (bandwidth mapping, BWmap) table. The bandwidth mapping table in this application includes a training indicator field, which may indicate that the ONU needs to send the first data frame including the target training sequence to the OLT. For example, the training indicator field includes 1 bit. When the bit is 1, the ONU needs to send the first data frame including the target training sequence to the OLT. When the bit is 0, the ONU sends a data frame in another format to the OLT. The following provides a detailed description with reference to a specific structure of the bandwidth mapping table.
[0085]
[0086] It should be understood that a position of the training indicator field in the allocation structure shown in
[0087] It should be understood that, in actual application, the “training indicator field” may also have another naming manner, for example, may also be named as a “training field” or a “training sequence indicator field”. This is not specifically limited herein.
[0088] 804. The ONU generates the first data frame based on an indication of the second message.
[0089] In this embodiment, a mechanism in which the ONU generates the first data frame is different from step 303 in the embodiment shown in
[0090] 805. The ONU sends the first data frame to the OLT.
[0091] 806. The OLT sends a third message to the ONU.
[0092] In this embodiment, the OLT already determines a working parameter of an equalizer based on the target training sequence in the first data frame sent by the ONU. In this case, to reduce overheads, an uplink data frame sent by the ONU in a later period of time may alternatively not carry the target training sequence. Specifically, the third message sent by the OLT to the ONU may indicate that the ONU does not need to further send the target training sequence to the OLT. It should be understood that a structure of the third message is similar to the structure of the second message, and a difference lies only in that the second message is used to indicate the ONU to send the first data frame, and the third message is used to indicate the ONU to send a second data frame. Other same aspects are not described herein.
[0093] 807. The ONU generates the second data frame based on an indication of the third message.
[0094] In this embodiment, the ONU generates, based on the indication of the third message, the second data frame that does not include the target training sequence.
[0095] 808. The ONU sends the second data frame to the OLT.
[0096] Optionally, in some possible implementations, the ONU generates a plurality of training sequences, and each training sequence has a corresponding identifier. Content indicated by the identifier may include the training sequence, a quantity of cycles for sending the training sequence, a delimiter of the training sequence, and the like. The OLT may indicate an identifier of a required training sequence by using BurstProfile in the allocation structure. Further, the ONU may determine the target training sequence based on the identifier. For example, BurstProfile has 2 bits, and the 2 bits are “00”, “01”, “10”, and “11”, respectively indicating identifiers of four different training sequences. It should be noted that, if the training indicator field indicates that the ONU does not need to send the target training sequence to the OLT, BurstProfile may be used to indicate a type of the preamble in the second data frame.
[0097] In this embodiment of this application, the bandwidth mapping table sent by the OLT to the ONU includes the training indicator field, and the training indicator field may indicate whether the ONU needs to send the training sequence. If the OLT already determines the working parameter of the equalizer based on the training sequence sent by the ONU, an uplink data frame sent by the ONU to the OLT does not need to carry the target training sequence, thereby reducing unnecessary overheads.
[0098] The foregoing describes the training sequence determining method provided in this application, and the following describes an OLT and an ONU provided in this application.
[0099]
[0100]
[0101] It should be noted that the processors shown in
[0102]
[0103] It may be clearly understood by persons skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments. Details are not described herein again.
[0104] Persons of ordinary skill in the art may understand that all or some of the steps of the foregoing embodiments may be implemented by hardware or a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a random access memory, or the like. Specifically, for example, the foregoing processing unit or processor may be a central processing unit, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. Persons skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
[0105] When implemented by software, the method steps described in the foregoing embodiments may be all or partially implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedures or functions according to the embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by the computer, or a data storage device, for example, a server or a data center, integrating one or more usable media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state drive Solid-State Drive (SSD)), or the like.
[0106] Finally, it should be noted that: The foregoing descriptions are merely specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by persons skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.