Preamble transmission method and apparatus, preamble reception method and apparatus
By sending and receiving preambles containing two code sequences, and utilizing the functions of different code sequences, the problem of preambles being unfavorable for equalizer convergence is solved, thus achieving fast equalization and efficient transmission in passive optical fiber networks.
Patent Information
- Application Number
- CN202011265197.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-12
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2040-11-12
AI Technical Summary
In the prior art, the preamble is not conducive to the convergence of the equalizer, resulting in a long equalization time, reduced transmission efficiency and increased processing delay.
The system transmits and receives preambles containing two or more code sequences. The first code sequence is used for clock recovery, and the second code sequence is used for equalizer training and convergence. Fast transmission is achieved by alternating or continuously transmitting code sequences of different lengths.
With the increase in the rate of passive optical fiber networks, rapid equalization convergence was achieved, which improved transmission efficiency and reduced processing latency.
Smart Images

Figure CN112492413B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of communications, and in particular, to a preamble sending method and apparatus, and a preamble receiving method and apparatus. BACKGROUND
[0002] Currently, in the prior art, PON (Passive Optical Network, PON for short) uplink adopts time division multiple access technology, different ONUs (Optical Network Unit, ONU for short) send uplink burst signals at different times, and the OLT (Optical Line terminal, OLT for short) receives the uplink burst signals by first performing burst clock recovery on different burst packets. Before the clock recovery is completed, the data cannot be normally received. In order to prevent data loss during this period of time, a 1010 sequence is sent at the beginning of the uplink burst packet for clock recovery.
[0003] After the PON rate is increased, the transmission performance is affected by different factors such as insufficient bandwidth of a device, response flatness, dispersion, and receiver response linearity, and an equalization function needs to be added to eliminate these adverse effects. The existing preamble is not conducive to the convergence of an equalizer, which causes a long equalization time, reduces transmission efficiency, and increases processing delay.
[0004] In the related art, the preamble is not conducive to the convergence of the equalizer, which causes a long equalization time, reduces transmission efficiency, and increases processing delay. However, no effective solution has been proposed. SUMMARY
[0005] Embodiments of the present application provide a preamble sending method and apparatus, and a preamble receiving method and apparatus, to at least solve the technical problem in the related art that the preamble is not conducive to the convergence of the equalizer, which causes a long equalization time, reduces transmission efficiency, and increases processing delay.
[0006] According to an embodiment of the present application, a preamble sending method is provided, comprising: sending a preamble containing two or more code type sequences, wherein the two or more code type sequences include a first code type sequence and a second code type sequence.
[0007] In an exemplary embodiment, the above method further comprises: obtaining configuration information of the preamble in a target message and constructing the configuration information, so that the preamble of the target message supports two or more code type sequences.
[0008] In one example embodiment, after obtaining the configuration information of the preamble in the target message and constructing the configuration information so that the preamble of the target message supports two or more than two code type sequences, the method further comprises: setting a sending rule of the preamble in the target message, wherein the sending rule is used to indicate a sending order of the first code type sequence and the second code type sequence, and the sending rule comprises at least one of the following: alternately sending the first code type sequence of the first target length and the second code type sequence of the second target length; continuously sending the first code type sequence of the third target length, and after the continuously sent first code type sequence is sent, sending the second code type sequence of the fourth target length; continuously sending the second code type sequence of the fifth target length, and after the continuously sent second code type sequence is sent, sending the first code type sequence of the sixth target length.
[0009] In one example embodiment, after obtaining the configuration information of the preamble in the target message and constructing the configuration information so that the preamble of the target message supports two or more than two code type sequences, the method further comprises: adding the first code type sequence to the first target byte in the target message, wherein the first target byte is used to set at least one of the following: preamble length, preamble repetition count, preamble mode; and adding the target queue of the second code type sequence to the second target byte in the target message, wherein the second target byte is a blank byte to be filled.
[0010] In one example embodiment, the method further comprises: setting the length of the second code type sequence in the target queue; setting the repetition count of the second code type sequence in the target queue; setting the code type of the second code type sequence in the target queue; and setting the repetition number of the alternate retransmission of the first code type sequence and the second code type sequence in the target queue.
[0011] In one example embodiment, the method further comprises: in the case that the value of the target byte of the configuration information of the preamble is a target value, confirming that the preamble supports the first code type sequence and the second code type sequence, the first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence.
[0012] According to one embodiment of the present application, a receiving method of a preamble is also provided, comprising: receiving a preamble containing two or more than two code type sequences, wherein the two or more than two code type sequences comprise: a first code type sequence and a second code type sequence.
[0013] In one example embodiment, the method further comprises: in the case that the first code type sequence of the received preamble contains a signal jump of the target message, confirming the clock information corresponding to the signal jump of the target message; and performing clock recovery on the target message having the signal jump according to the clock information.
[0014] In one example embodiment, the method further comprises: in the case that the second sequence of code types of the received preamble contains the spectral distribution and the signal hopping frequency of the target message, training the equalizer to converge through the spectral distribution and the signal hopping frequency.
[0015] According to another embodiment of the present application, a transmitting device of a preamble is also provided, comprising: a transmitting module, configured to transmit a preamble containing two or more sequences of code types, wherein the two or more sequences of code types include a first sequence of code types and a second sequence of code types.
[0016] In one example embodiment, the device further comprises: an obtaining module, configured to obtain configuration information of the preamble in the target message and construct the configuration information, so that the preamble of the target message supports two or more sequences of code types.
[0017] In one example embodiment, the device further comprises: a first setting module, configured to set a transmitting rule of the preamble in the target message, wherein the transmitting rule is used to indicate a transmitting order of the first sequence of code types and the second sequence of code types, and the transmitting rule includes at least one of the following: alternately transmitting the first sequence of code types of a first target length and the second sequence of code types of a second target length; continuously transmitting the first sequence of code types of a third target length, and after the continuously transmitted first sequence of code types is transmitted, transmitting the second sequence of code types of a fourth target length; continuously transmitting the second sequence of code types of a fifth target length, and after the continuously transmitted second sequence of code types is transmitted, transmitting the first sequence of code types of a sixth target length.
[0018] In one example embodiment, the obtaining module is further configured to add the first sequence of code types to a first target byte in the target message, wherein the first target byte is used to set at least one of the following: a preamble length, a preamble repetition count, a preamble mode; and add a target queue of the second sequence of code types to a second target byte in the target message, wherein the second target byte is a blank byte to be filled.
[0019] In one example embodiment, the device further comprises: a second setting module, configured to set a length of the second sequence of code types in the target queue; set a repetition count of the second sequence of code types in the target queue; set a code type of the second sequence of code types in the target queue; and set a repetition count of the alternately repeated first sequence of code types and the second sequence of code types in the target queue.
[0020] In one example embodiment, the device further comprises: a first confirming module, configured to confirm that the preamble supports the first sequence of code types and the second sequence of code types in the case that a value of a target byte of the configuration information of the preamble is a target value.
[0021] According to another embodiment of the present application, a receiving device of a preamble is also provided, comprising: a receiving module, configured to receive a preamble containing two or more code type sequences, wherein the two or more code type sequences comprise a first code type sequence and a second code type sequence.
[0022] In one exemplary embodiment, the device further comprises a second determining module, configured to, in a case where the first code type sequence of the received preamble contains signal jumps of the target message, confirm clock information corresponding to the signal jumps of the target message; and perform clock recovery on the target message having the signal jumps according to the clock information.
[0023] In one exemplary embodiment, the device further comprises a training module, configured to, in a case where the second code type sequence of the received preamble contains a spectrum distribution and a signal jump frequency of the target message, train and converge the equalizer through the spectrum distribution and the signal jump frequency.
[0024] According to yet another embodiment of the present application, a computer readable storage medium is also provided, wherein the computer readable storage medium stores a computer program, and the computer program is configured to execute the steps in any of the method embodiments when running.
[0025] According to yet another embodiment of the present application, an electronic device is also provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the steps in any of the method embodiments.
[0026] According to the present application, a preamble containing two or more code type sequences is transmitted, wherein the two or more code type sequences comprise a first code type sequence and a second code type sequence, i.e. by enabling the preamble to support different code type sequences, the functions corresponding to the different code type sequences are utilized to achieve fast transmission of the preamble, and thus fast equalization convergence is achieved after the rate of the passive optical network is increased, the transmission efficiency is improved, and the processing delay is reduced. By using the above technical solution, the problems in the related art, such as the preamble being not conducive to equalizer convergence, long equalization time, reduced transmission efficiency, and increased processing delay, are solved. BRIEF DESCRIPTION OF DRAWINGS
[0027] Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal of a preamble transmission method according to an embodiment of the present application;
[0028] Figure 2 FIG. 1 is a hardware structure block diagram of a computer terminal of a preamble transmission method according to an embodiment of the present application;
[0029] Figure 3 FIG. 1 is a hardware structure block diagram of a computer terminal of a preamble transmission method according to an embodiment of the present application;
[0030] Figure 4 is a flowchart of a method for receiving a preamble according to an embodiment of the present invention;
[0031] Figure 5 1 is a structural block diagram of a device for sending a preamble code according to an embodiment of the present invention;
[0032] Figure 6 It is a structural block diagram of a preamble code receiving device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with embodiments.
[0034] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0035] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a hardware structure block diagram of a computer terminal for a method of processing the transmission of a preamble according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data. The computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0036] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as a computer program corresponding to the preamble transmission processing method of the embodiments of the present application. The processor 102 can execute various functional applications and data processing, i.e., implement the above method, by running the computer programs stored in the memory 104. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, which can be connected to the computer terminal through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0037] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network can include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
[0038] According to an aspect of the embodiments of the present application, a preamble transmission method is provided. Optionally, as an optional implementation, the above preamble transmission method can be applied in, but is not limited to, the environment shown in Figure 2
[0039] Optionally, in the present embodiment, a PON system is provided, which is a passive optical network of a point-to-multipoint (P2MP) structure; the PON is composed of an optical line terminal (OLT), an optical network unit (ONU), and a passive optical splitter (POS); and further, information in a PSTN (public switched telephone network) connected with the optical line terminal (OLT), the Internet, and a CATV (community antenna television) system is transmitted to a plurality of optical network units (ONUs) through the PON system. The above is only an example, and the present embodiment is not limited thereto.
[0040] In the present embodiment, a preamble transmission method running on the above computer terminal is provided,Figure 3 is a flowchart of a method for transmitting a preamble according to an embodiment of the present application, as shown, the flow includes the following steps: Figure 3
[0041] In step S202, a preamble containing two or more than two code type sequences is transmitted, wherein the two or more than two code type sequences include a first code type sequence and a second code type sequence.
[0042] Optionally, the first code type sequence can be used for clock recovery, and the second code type sequence can be used for equalizer training convergence.
[0043] According to the present application, a preamble containing two or more than two code type sequences is transmitted, wherein the two or more than two code type sequences include a first code type sequence and a second code type sequence, that is, by making the preamble support different code type sequences, the functions corresponding to different code type sequences are utilized to realize fast transmission of the preamble, and thus fast equalizer convergence is realized after the rate of the passive optical network is increased, transmission efficiency is improved, and processing delay is reduced. By using the above technical solution, the problems in the related art that the preamble is not conducive to equalizer convergence, which causes long equalization time, reduces transmission efficiency, and increases processing delay, etc. are solved.
[0044] The execution subject of the above steps can be a base station, a terminal, etc., but is not limited thereto.
[0045] In one exemplary embodiment, the above method further includes: obtaining configuration information of the preamble in the target message and constructing the configuration information, so that the preamble of the target message supports the two or more than two code type sequences.
[0046] That is, in order to better transmit the preamble in the target message, after confirming the target message that needs to be transmitted, the configuration information of the target message is obtained, the configuration information of the target message is reconstructed according to the code type sequence of the preamble containing two or more than two code type sequences to be transmitted, and thus the reconstructed preamble of the target message supports the transmission of the two or more than two code type sequences.
[0047] In one example embodiment, after the configuration information of the preamble in the target message is acquired and the configuration information is constructed to enable the preamble of the target message to support the two or more than two code type sequences, the method further comprises: setting a sending rule of the preamble in the target message, wherein the sending rule is used to indicate a sending order of the first code type sequence and the second code type sequence, and the sending rule comprises at least one of the following: alternately sending the first code type sequence of a first target length and the second code type sequence of a second target length; continuously sending the first code type sequence of a third target length, and after the continuously sent first code type sequence is sent completely, sending the second code type sequence of a fourth target length; continuously sending the second code type sequence of a fifth target length, and after the continuously sent second code type sequence is sent completely, sending the first code type sequence of a sixth target length.
[0048] In short, in order to ensure that the reconstructed preamble in the target message can be sent in order, the sending rule of the reconstructed preamble can also be set in the target message, so that the first code type sequence and the second code type sequence of the two or more than two code type sequences contained in the reconstructed preamble are alternately sent a number of times, thereby improving the transmission efficiency.
[0049] In one example embodiment, acquiring the configuration information of the preamble in the target message and constructing the configuration information to enable the preamble of the target message to support the two or more than two code type sequences comprises: adding the first code type sequence to a first target byte in the target message, wherein the first target byte is used to set at least one of the following: preamble length, preamble repetition count, preamble mode; adding a target queue of the second code type sequence to a second target byte in the target message, wherein the second target byte is a blank to-be-filled byte.
[0050] In one example embodiment, the method further comprises: setting a length of the second code type sequence in the target queue; setting a repetition count of the second code type sequence in the target queue; setting a code type of the second code type sequence in the target queue; and setting a repetition number of the alternately repeated first code type sequence and second code type sequence in the target queue.
[0051] For example, when the target message is a burst profile Ploam message, the relevant fields of the burst profile Ploam message are restructured based on the existing standard definition. The first code pattern sequence length can be indicated by the 16th byte, the first code pattern sequence repetition number can be indicated by the 17th byte, the code patterns of the first code pattern sequence in the preamble can be indicated by the 18th-25th byte, the second code pattern sequence length can be indicated by the 34th byte, the second code pattern sequence repetition number can be indicated by the 35th byte, and the code patterns of the second code pattern sequence can be indicated by the 36th-40th byte. Alternatively, the code patterns of the second code pattern sequence can be indicated by the 36th-39th byte, and the repetition number of the first code pattern sequence and the second code pattern sequence alternately transmitted can be indicated by the 40th byte.
[0052] It should be noted that the definitions of the different bytes are not limited to the above-mentioned content. For example, the repetition number of the first code pattern sequence and the second code pattern sequence alternately transmitted can be indicated by the 34th byte, or the repetition number of the second code pattern sequence can be indicated by the 34th byte, and the repetition number of the first code pattern sequence can be indicated by the 40th byte. The above-mentioned is only an example, and other modes can also be set, and the present application does not make too many limitations on this.
[0053] In an exemplary embodiment, the above-mentioned method further comprises: in the case that the value of the target byte of the configuration information of the preamble is a target value, confirming that the preamble supports a first code pattern sequence and a second code pattern sequence, wherein the first code pattern sequence is used for clock recovery, and the second code pattern sequence is used for equalizer training convergence.
[0054] In order to ensure that the restructured preamble can support two or more code pattern sequences, after the construction is completed, it can be confirmed that the preamble supports a first code pattern sequence and a second code pattern sequence according to the case that the value of the target byte of the configuration information of the preamble is a target value.
[0055] For example, the 5th byte 5th bit of the burst profile Ploam message defined in the existing standard can be defined to indicate whether the preamble supports multiple code patterns, wherein the fifth byte is an eight-bit byte in the form of VVVV0FPP. Optionally, when the fifth bit (Binary Digit, referred to as bit) is 0, it indicates that the burst profile Ploam message does not support the preamble with multiple code patterns, and when the fifth bit is 1, it indicates that the burst profile Ploam message supports the preamble with multiple code patterns.
[0056] Figure 4 The flowchart shown in FIG. 1 is a flowchart of a receiving method of a preamble according to an embodiment of the present application, and the flow includes the following steps: Figure 4
[0057] Step S302, receiving a preamble containing two or more code type sequences, wherein the two or more code type sequences include a first code type sequence and a second code type sequence.
[0058] Optionally, the first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence.
[0059] According to the present application, a preamble containing two or more code type sequences is received, wherein the two or more code type sequences include a first code type sequence and a second code type sequence, wherein the first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence. That is, by enabling the preamble to support different code type sequences, the functions corresponding to different code type sequences are utilized to achieve fast transmission of the preamble, thereby realizing fast equalizer convergence after the rate of the passive optical network is increased, improving transmission efficiency, and reducing processing delay. By using the above technical solution, the problems in the related art, such as the fact that the preamble is not conducive to equalizer convergence, which results in long equalization time, reduces transmission efficiency, and increases processing delay, are solved.
[0060] In one example embodiment, the above method further includes, in the case where the first code type sequence of the received preamble contains signal jump of the target message, confirming the clock information corresponding to the signal jump of the target message; and performing clock recovery on the target message that has occurred signal jump according to the clock information.
[0061] Since the first code type sequence is used for clock recovery, the first code type sequence contains more signal jump information and has rich clock information. For example, the first code type sequence can be a 1010 type code type sequence with the same number of bits between 0 and 1. Further, when the target message received carries the clock information corresponding to the signal jump, the clock recovery can be performed on the target message that has occurred signal jump according to the clock information, which improves the processing time of the target message that has occurred signal jump and improves the transmission efficiency.
[0062] In one example embodiment, the above method further includes, in the case where the second code type sequence of the received preamble contains the spectral distribution and signal jump frequency of the target message, performing training convergence on the equalizer through the spectral distribution and the signal jump frequency.
[0063] The second code type sequence is used for equalizer training convergence, and the second code type sequence needs to have a platform spectrum distribution as much as possible and a signal jump frequency close to data, for example, a 10-bit distribution. For example, the second code type sequence can be a pseudo-random number sequence, which can enable the equalizer to have good equalization compensation for the transmission link.
[0064] It should be noted that when the first code type sequence and the second code type sequence simultaneously exist in multiple pre-defined code type sequences, in order to facilitate management and construction of the target message, a number can be defined for each code type, for example, the sequence number of the 1010 repeated sequence is 1, the number of the 2^7-1 random code is 2, and the number of the 2^15-1 pseudo-random code is 3. Optionally, the byte used to represent the code type length or the code type sequence in the foregoing embodiment can be defined as the code type sequence number.
[0065] In order to better understand the processing flow of the preamble, the foregoing technical solutions are described in combination with optional embodiments below, but are not used to limit the technical solutions of the embodiments of the present application.
[0066] The optional embodiments of the present application propose a new preamble design, so that the preamble contains two or more code type sequences. The code type sequence 1 (equivalent to the first code type sequence in the embodiments of the present application) is used for clock recovery, and the code type sequence 2 (equivalent to the second code type sequence in the embodiments of the present application) is used for equalizer training convergence. The code type sequence 1 and the code type sequence 2 can be alternately transmitted or first continuously transmitted for a certain length of the code type sequence 1 and then transmitted for a certain length of the code type sequence 2, or continuously transmitted for a certain length of the code type sequence 2 and then transmitted for a certain length of the code type sequence 1.
[0067] Optionally, the code type sequence 1 used for clock recovery can be designed to contain the most signal jumps, so as to contain rich clock information, such as the 1010 sequence, which is beneficial to clock recovery. The code type sequence 2 used for equalizer training convergence needs to have a spectrum distribution as flat as possible, and the signal jump frequency is close to the data of 10 bits, so a pseudo-random sequence can be used, which can enable the equalizer to have good equalization compensation for the transmission link.
[0068] The PON system ONU is a slave device, and needs the OLT to send the preamble information to the ONU. In the GPON (Gigabit-Capable Passive Optical Networks, Gigabit-capable passive optical network, GPON for short) and XGPON, the burst profile Ploam message is sent. The optional embodiments of the present application modify the burst profile message in the existing standard to construct a new preamble profile message supporting two code types, which has small changes to the existing standard and can be compatible with the existing ONU. Table 1 is the burst profile message format of the TWDM PON defined in the existing ITU-T G.989.3.
[0069] Table 1
[0070] Table 11-4–Burst_Profile message–TWDM format option
[0071]
[0072] Table 11-4–Burst_Profile message–TWDM format option
[0073]
[0074] Table 11-4–Burst_Profile message–TWDM format option
[0075]
[0076] The optional embodiment of the present application further provides a construction method of the burst profile message. The fifth byte and the fifth bit of the burst profile Ploam message defined by the existing standard are used to indicate whether the preamble of multiple code types is supported. The preamble related field in the existing standard is used to indicate the related definition of code type sequence 1, such as the 16th byte indicating the length of the code type sequence 1, the 17th byte indicating the repetition number of the code type sequence 1, and the 18th-25th byte indicating the code type sequence 1 in the preamble. The 34th-40th byte in the existing standard is used to indicate the length of the code type sequence 2, the related definition of the code type, and the combination mode of the code type sequence 1 and the code sequence 2.
[0077] Optionally, when the fifth bit (Binary Digit, referred to as bit) is 0, it indicates that the burst profile Ploam message does not support the preamble of multiple code types. When the fifth bit is 1, it indicates that the burst profile Ploam message supports the preamble of multiple code types. Alternatively, 1 can be defined as the burst profile Ploam message not supporting the preamble of multiple code types, and 0 can be defined as the burst profile Ploam message supporting the preamble of multiple code types. The optional embodiment of the present application does not make too many limitations on this.
[0078] Optionally, when the 34th-40th byte in the existing standard is constructed, the 34th byte can be used to indicate the length of the code type sequence 2, the 35th byte can be used to indicate the repetition number of the code type sequence 2, and the 36th-40th byte can be used to indicate the code type of the code type sequence 2. Alternatively, the 36th-39th byte can be used to indicate the code type of the code type sequence 2, and the 40th byte can be used to indicate the repetition number of the code type sequence 1 and the code type sequence 2 sent alternately. Specifically, as shown in Table 2 below:
[0079] Table 2
[0080]
[0081] The definition of the different bytes is not limited to the above, for example, the 34th byte is used to represent the repetition times of the first code sequence and the second code sequence sent alternately, or the 34th byte is used to represent the repetition times of the second code sequence, and the 40th byte is used to represent the repetition times of the first code sequence. The above is only an example, and other modes can also be set, and the optional embodiments of the present application do not make too many limitations on this.
[0082] It should be noted that when the code sequence 1 and the code sequence 2 are several code sequences predefined, a number can be defined for each code sequence, for example, the sequence number of 1010 repetition is 1, the number of 2^7-1 random code is 2, and the number of 2^15-1 pseudo-random code is 3. The byte representing the code sequence length or the code sequence in the foregoing method is defined as the code sequence number.
[0083] Through the above technical solution, the optional embodiments of the present application propose a preamble sending method, by sending a preamble containing two or more code sequences, using the preset characteristics of the code sequence 1 and the code sequence 2, the message containing the preamble can be sent more quickly, that is, by making the preamble support different code sequences, the functions corresponding to different code sequences are used to realize the fast transmission of the preamble, and then the equalization convergence can be quickly performed after the passive optical network rate is improved, the transmission efficiency is improved, and the processing delay is reduced.
[0084] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
[0085] In the present embodiment, a preamble sending device is also provided, which is used to implement the above embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware or a combination of software and hardware is also possible and is contemplated.
[0086] Figure 5 The structure block diagram of the preamble sending device according to the embodiments of the present application is shown in FIG. 1, which comprises: Figure 5
[0087] The sending module 42 is configured to send a preamble containing two or more code type sequences, wherein the two or more code type sequences include a first code type sequence and a second code type sequence.
[0088] According to the present application, the preamble containing two or more code type sequences is sent, wherein the two or more code type sequences include a first code type sequence and a second code type sequence. That is, by supporting different code type sequences in the preamble, the fast transmission of the preamble is realized by using the functions corresponding to the different code type sequences, and the fast equalization convergence is realized after the rate of the passive optical network is improved, the transmission efficiency is improved, and the processing delay is reduced. By using the above technical solution, the problems in the related art, such as the preamble being not conducive to the convergence of the equalizer, the long equalization time, the reduced transmission efficiency, and the increased processing delay, are solved.
[0089] In an example embodiment, the apparatus further includes an obtaining module 44 configured to obtain configuration information of the preamble in the target message and to construct the configuration information, so that the preamble of the target message supports the two or more code type sequences.
[0090] That is, in order to better transmit the preamble in the target message, after confirming the target message to be transmitted, the configuration information of the target message is obtained, the configuration information of the target message is reconstructed according to the code type sequence of the preamble containing two or more code type sequences to be sent, and the preamble of the reconstructed target message supports the transmission of the two or more code type sequences.
[0091] In an example embodiment, the apparatus further includes a first setting module 46 configured to set a sending rule of the preamble in the target message, wherein the sending rule is used to indicate the sending order of the first code type sequence and the second code type sequence, and the sending rule includes at least one of the following: alternately sending the first code type sequence of a first target length and the second code type sequence of a second target length; continuously sending the first code type sequence of a third target length, and after the continuously sent first code type sequence is sent, sending the second code type sequence of a fourth target length; continuously sending the second code type sequence of a fifth target length, and after the continuously sent second code type sequence is sent, sending the first code type sequence of a sixth target length.
[0092] In short, in order to ensure that the reconstructed preamble in the target message can be sent in order, the sending rule of the reconstructed preamble can also be set in the target message, so that the first code type sequence and the second code type sequence of the two or more code type sequences contained in the reconstructed preamble are alternately sent a certain number of times, thereby improving the transmission efficiency.
[0093] In an example embodiment, the obtaining module 48 is further configured to add the first code pattern sequence into a first target byte in the target message, wherein the first target byte is used to set at least one of the following: preamble length, preamble repetition count, preamble pattern; and add the target queue of the second code pattern sequence into a second target byte in the target message, wherein the second target byte is a blank byte to be filled.
[0094] In an example embodiment, the apparatus further comprises a second setting module 50 configured to set a length of the second code pattern sequence in the target queue; set a repetition count of the second code pattern sequence in the target queue; set a code pattern of the second code pattern sequence in the target queue; and set a repetition count of the alternately repeated first code pattern sequence and second code pattern sequence in the target queue.
[0095] For example, when the target message is a burst profile Ploam message, the relevant fields of the burst profile Ploam message are restructured based on the existing standard definition. The 16th byte in the standard definition can be used to represent the length of the first code pattern sequence, the 17th byte can be used to represent the repetition count of the first code pattern sequence, and the 18th-25th byte can be used to represent the code pattern of the first code pattern sequence in the preamble. The 34th byte can be used to represent the length of the second code pattern sequence, the 35th byte can be used to represent the repetition count of the second code pattern sequence, and the 36th-40th byte can be used to represent the code pattern of the second code pattern sequence. Alternatively, the 36th-39th byte can be used to represent the code pattern of the second code pattern sequence, and the 40th byte can be used to represent the repetition count of the alternately repeated first code pattern sequence and second code pattern sequence.
[0096] It should be noted that the definitions of the different bytes described above are not limited to the above content. For example, the 34th byte can be used to represent the repetition count of the alternately repeated first code pattern sequence and second code pattern sequence, or the 34th byte can be used to represent the repetition count of the second code pattern sequence, and the 40th byte can be used to represent the repetition count of the first code pattern sequence. The above is only an example, and other modes of setting can also be used, and the present application does not make too many limitations in this regard.
[0097] In an example embodiment, the apparatus further comprises a first confirming module 52 configured to, in a case where a value of a target byte in configuration information of the preamble is a target value, confirm that the preamble supports the first code pattern sequence and the second code pattern sequence, wherein the first code pattern sequence is used for clock recovery, and the second code pattern sequence is used for equalizer training convergence.
[0098] In order to ensure that the preamble after reconstruction can support two or more than two code type sequences, after the construction is completed, if the target byte value of the preamble configuration information is the target value, it is confirmed that the preamble supports the first code type sequence and the second code type sequence.
[0099] Figure 6 The structure block diagram of the receiving device of the preamble according to the embodiment of the application is shown in FIG. 1, which comprises: Figure 6
[0100] The receiving module 54 is configured to receive the preamble containing two or more than two code type sequences, wherein the two or more than two code type sequences comprise the first code type sequence and the second code type sequence.
[0101] Optionally, the first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence.
[0102] According to the application, the preamble containing two or more than two code type sequences is received, wherein the two or more than two code type sequences comprise the first code type sequence and the second code type sequence, wherein the first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence. That is, by making the preamble support different code type sequences, the functions corresponding to different code type sequences are utilized to realize fast transmission of the preamble, and thus fast equalizer convergence is realized after the passive optical network rate is improved, the transmission efficiency is improved, and the processing delay is reduced. By using the above technical solution, the problems in the related art, such as that the preamble is not conducive to equalizer convergence, which causes long equalization time, reduces the transmission efficiency, and increases the processing delay, are solved.
[0103] In one exemplary embodiment, the device further comprises a second determining module 56 configured to, in the case that the first code type sequence of the received preamble contains a signal jump of a target message, confirm the clock information corresponding to the signal jump of the target message; and perform clock recovery on the target message having the signal jump according to the clock information.
[0104] Since the first code type sequence is used for clock recovery, the first code type sequence contains more signal jump information and has rich clock information. For example, the first code type sequence can be a 1010 type code type sequence with the same number of bits between 0 and 1. Further, when the clock information corresponding to the signal jump is carried in the received target message, the clock recovery on the target message having the signal jump is performed through the clock information, the processing time of the target message having the signal jump is improved, and the transmission efficiency is improved.
[0105] In an example embodiment, the apparatus further comprises a training module 58 configured to train the equalizer to converge by using the spectral distribution and the signal hopping frequency of the target message if the second code sequence of the preamble received contains the spectral distribution and the signal hopping frequency of the target message.
[0106] The second code sequence is used for equalizer training convergence, and the second code sequence needs to have a platform as much as possible, a spectral distribution, a signal hopping frequency, and a 10-bit distribution close to data. For example, the second code sequence can be a pseudo-random number sequence, so that the equalizer can have good equalization compensation for the transmission link.
[0107] It should be noted that when multiple pre-defined code sequences exist for the first code sequence and the second code sequence, in order to facilitate management and construction of the target message, a number can be defined for each code sequence. For example, the sequence number of 1010 repetition is 1, the number of 2^7-1 random code is 2, and the number of 2^15-1 pseudo-random code is 3. Optionally, the byte used to represent the code sequence length or the code sequence in the foregoing embodiment can be defined as the code sequence number.
[0108] It should be noted that the above modules can be implemented by software or hardware, and for the latter, the following implementation manners can be used, but are not limited thereto: the above modules are located in the same processor; or the above modules are located in different processors in any combination.
[0109] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, and the computer program is configured to execute the steps in any of the method embodiments when running.
[0110] In an example embodiment, the computer readable storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.
[0111] Embodiments of the present application also provide an electronic device, which comprises a memory storing a computer program and a processor configured to execute the computer program to perform the steps in any of the method embodiments.
[0112] In an example embodiment, the electronic device can further comprise a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0113] The specific examples in the present embodiment can refer to the examples described in the above embodiments and exemplary embodiments, which will not be repeated here.
[0114] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, which can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different order, or they can be respectively manufactured into individual integrated circuit modules, or multiple modules or steps among them can be manufactured into a single integrated circuit module to realize. Thus, the present application is not limited to any specific combination of hardware and software.
[0115] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method of transmitting a preamble performed by an optical network unit (ONU) in a passive optical network (PON) system, comprising: receiving, by the ONU, configuration information from an optical line terminal (OLT) through a burst profile physical layer operation maintenance and management (Ploam) message, wherein the configuration information indicates a third target length and a code type of a first code type sequence and a fourth target length and a code type of a second code type sequence, wherein the code types of the first code type sequence and the second code type sequence comprise pseudo-random codes, and the code types of the first code type sequence and the second code type sequence are indicated by a first code type sequence number and a second code type sequence number included in the configuration information, respectively, each of the first code type sequence number and the second code type sequence number indicating one of a plurality of pre-defined code types; and transmitting, by the ONU, a preamble comprising the first code type sequence of the third target length and the second code type sequence of the fourth target length, wherein the configuration information indicates a transmission rule of the preamble, and the transmission rule is used to indicate a transmission order of the first code type sequence and the second code type sequence. 2.The method of claim 1, further comprising: continuously transmitting the first code type sequence of the third target length; and transmitting the second code type sequence of the fourth target length after the continuously transmitted first code type sequence of the third target length is transmitted. 3.The method of claim 1, further comprising: alternately transmitting the first code type sequence of the first target length and the second code type sequence of the second target length. 4.The method of claim 1, further comprising: continuously transmitting the second code type sequence of a fifth target length; and transmitting the first code type sequence of a sixth target length after the continuously transmitted second code type sequence of the fifth target length is transmitted. The code types of the first code type sequence and the second code type sequence comprise a pseudo-random code of 2^7-1 or a random code of 2^15-1. The configuration information comprises a field indicating whether a preamble of multiple code types is supported.
5. The method of any one of claims 1-4, wherein, The first code type sequence is used for clock recovery, and the second code type sequence is used for equalizer training convergence.
6. The method of any one of claims 1-4, wherein, The clock recovery is performed according to clock information of the configuration information in which a signal jump has occurred.
7. The method of any one of claims 1-4, wherein, The equalizer training convergence is performed by a spectral distribution and a signal jump frequency of the configuration information.
8. The method of claim 7, wherein, The first code type sequence is added to a first target byte in the configuration information, and the first target byte is used to set at least one of a preamble length, a preamble repetition count, and a preamble mode.
9. The method of claim 7, wherein, A target queue of the second code type sequence is added to a second target byte in the configuration information, the second target byte is a blank to-be-filled byte, and a length, a repetition count number, and a code type of the second code type sequence are set in the target queue.
10. The method of any one of claims 1-4, wherein, The computer program is configured to execute the method described in any one of claims 1 to 11 when running.
11. The method of any one of claims 1-4, wherein, The memory stores the computer program, and the processor is configured to execute the computer program to perform the method described in any one of claims 1 to 11.
12. A computer-readable storage medium having stored therein a computer program, wherein, 13.An electronic device comprising a memory and a processor, wherein,
Citation Information
Patent Citations
Optical receiver, optical transmitter, and frequency offset estimation method
JP2019110479A