Data processing method and apparatus

By employing Polar code encoding and a new channel interleaving scheme in high-speed power line carrier communication systems, combined with BPSK, QPSK, or 16QAM modulation modes, the performance limitations of Turbo codes with limited lengths are resolved, thereby improving communication performance.

WO2026045714A1PCT designated stage Publication Date: 2026-03-05HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/108188
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-30
Filing Date
2025-07-11
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

In high-speed power line carrier communication systems, Turbo codes are difficult to achieve ideal coding performance with limited length, which affects communication performance.

Method used

The bitstream is encoded using Polar code and combined with new channel interleaving schemes and modulation modes, such as BPSK, QPSK or 16QAM, which are suitable for frame control information and payload data.

Benefits of technology

It improves coding performance and enhances the overall performance of the communication system, especially when the code length is short.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025108188_05032026_PF_FP_ABST
    Figure CN2025108188_05032026_PF_FP_ABST
Patent Text Reader

Abstract

A data processing method and apparatus, relating to the technical field of communications. In the method, when a code length is short, a sending end performs encoding in a Polar code encoding mode. Compared with using Turbo code encoding, encoding performance is improved, thereby facilitating the improvement of subsequent communication performance.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method and apparatus

[0001] This application claims priority to Chinese Patent Application No. 202411214693.4, filed on August 30, 2024, entitled “Data Processing Method and Apparatus”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of communication technology, and in particular to a data processing method and apparatus. Background Technology

[0003] Channel coding, as the most fundamental wireless access technology, plays a crucial role in ensuring reliable data transmission. In existing wireless communication systems, such as high-speed power line communications (HPLC), the physical layer protocol data unit (PPDU) currently uses Turbo codes for channel coding. However, due to the encoding and decoding characteristics of Turbo codes, it is difficult to achieve ideal performance with limited length, thus affecting communication performance. Summary of the Invention

[0004] This application provides a data processing method and apparatus, which is beneficial to improving communication performance.

[0005] The present application is described below from different aspects. It should be understood that the different implementation methods and beneficial effects described below can be referenced from each other.

[0006] Firstly, this application provides a data processing method applicable to a transmitter in a power line communication system. The transmitter can be a terminal or a communication module within a terminal, or a circuit or chip responsible for communication functions within the terminal (such as a modem chip, also known as a baseband chip, or a system-on-chip (SoC) chip containing a modem core, or a system-in-package (SIP) chip). In this method, the transmitter determines a first encoding method and encodes a first bitstream according to this first encoding method to obtain a second bitstream. The first encoding method is Polar code encoding, the data type of the first bitstream is frame control information or payload data, the length of the first bitstream is less than or equal to 32 bytes, and the length of the second bitstream is less than or equal to 512 bits.

[0007] In this application, when the code length is short (i.e., the length of the first bit stream is less than or equal to 32 bytes and the length of the second bit stream is less than or equal to 512 bits), the sending end uses Polar code encoding, which improves encoding performance compared to Turbo code encoding, thereby improving subsequent communication performance.

[0008] In one possible implementation, the first bit stream includes a cyclic redundancy check (CRC) with a length of 24 bits.

[0009] In this implementation, defining the CRC length as 24 bits facilitates compatibility with existing protocols.

[0010] In one possible implementation, when the data type of the first bitstream is frame control information: the length of the first bitstream is 8 bytes and the length of the second bitstream is 256 bits; or, the length of the first bitstream is 8 bytes and the length of the second bitstream is 128 bits; or, the length of the first bitstream is 12 bytes and the length of the second bitstream is 256 bits; or, the length of the first bitstream is 16 bytes and the length of the second bitstream is 256 bits.

[0011] In one possible implementation, when the data type of the first bitstream is payload data: the length of the first bitstream is 16 bytes and the length of the second bitstream is 256 bits; or, the length of the first bitstream is 32 bytes and the length of the second bitstream is 512 bits.

[0012] In one possible implementation, the method further includes:

[0013] The second bitstream is interleaved to obtain the third bitstream;

[0014] Wherein, the third bit stream and the second bit stream satisfy: y i =d P(i) Wherein y i The value corresponding to the i-th bit in the third bit stream, d P(i) Let be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

[0015] In this implementation, a new channel interleaving scheme is proposed to adapt to the Polar code encoding method, which also helps to improve communication performance.

[0016] In one possible implementation, when N = 128, the yi =d P(i) satisfy:

[0017] In one possible implementation, when N = 256, the y i =d P(i) satisfy:

[0018] In one possible implementation, when N = 512, the y i =d P(i) satisfy:

[0019] In one possible implementation, the method further includes:

[0020] The third bitstream is modulated based on the first modulation mode to obtain the first sequence. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

[0021] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0022] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0023] In this implementation, using BPSK, QPSK, or 16QAM modulation facilitates compatibility with existing protocols.

[0024] Secondly, this application provides a data processing method applicable to a transmitter in a power line communication system. The transmitter can be a terminal or a communication module within the terminal, or a circuit or chip responsible for communication functions within the terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core). In this method, the transmitter acquires a second bitstream, and by interleaving the second bitstream, a third bitstream can be obtained. The second bitstream is obtained by Polar code encoding the first bitstream, and the data type of the first bitstream is frame control information or payload data. The third bitstream and the second bitstream satisfy: y i =d P(i) , where y i d represents the value corresponding to the i-th bit in the third bit stream. P(i) Let P(i) be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

[0025] In this application, a new channel interleaving scheme is proposed to adapt to the Polar code encoding method, which is beneficial to improving communication performance.

[0026] In one possible implementation, when N = 128, the y i =d P(i) satisfy:

[0027] In one possible implementation, when N = 256, the y i =d P(i) satisfy:

[0028] In one possible implementation, when N = 512, the y i =d P(i) satisfy:

[0029] In one possible implementation, the method further includes:

[0030] The third bitstream is modulated based on the first modulation mode to obtain the first sequence. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

[0031] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0032] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0033] Thirdly, this application provides a data processing method applicable to a receiving end in a power line communication system. The receiving end can be a terminal or a communication module within the terminal, or a circuit or chip responsible for communication functions within the terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core). In this method, the receiving end determines a first decoding method and decodes a second sequence according to the first decoding method to obtain a first bitstream. The first decoding method is Polar code decoding, the data type of the first bitstream is frame control information or payload data, the length of the first bitstream is less than or equal to 32 bytes, and the length of the second sequence is less than or equal to 512 bytes.

[0034] In one possible implementation, the first bit stream includes a cyclic redundancy check (CRC) with a length of 24 bits.

[0035] In one possible implementation, where the data type of the first bitstream is frame control information:

[0036] The length of the first bitstream is 8 bytes, and the length of the second sequence is 256; or,

[0037] The first bitstream has a length of 8 bytes, and the second sequence has a length of 128 bytes; or,

[0038] The first bitstream is 12 bytes long, and the second sequence is 256 bytes long; or,

[0039] The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes.

[0040] In one possible implementation, when the data type of the first bitstream is payload data:

[0041] The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes; or,

[0042] The first bitstream has a length of 32 bytes, and the second sequence has a length of 512 bytes.

[0043] In one possible implementation, the method further includes:

[0044] The third sequence is de-interleaved to obtain the second sequence;

[0045] Wherein, the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) Let i be the value corresponding to the P(i)th element in the second sequence, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence.

[0046] In one possible implementation, when N = 128, the d′ P(i) =y′ i satisfy:

[0047] In one possible implementation, when N = 256, the d′ P(i) =y′ i satisfy:

[0048] In one possible implementation, with N = 512, the d′ P(i) =y′ i satisfy:

[0049] In one possible implementation, the method further includes:

[0050] The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode, wherein the first modulation mode is BPSK, QPSK, or 16QAM.

[0051] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0052] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0053] Fourthly, this application provides a data processing method that can be applied to a receiving end in a power line communication system. The receiving end can be a terminal or a communication module within a terminal, or a circuit or chip within the terminal responsible for communication functions (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core). In this method, the receiving end acquires a third sequence and obtains a second sequence by deinterleaving the third sequence, wherein the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) The value corresponding to the P(i)th element in the second sequence is i, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence. The second sequence is decoded by Polar code to form a first bit stream, and the data type of the first bit stream is frame control information or payload data.

[0054] In one possible implementation, when N = 128, the d′ P(i) =y′ i satisfy:

[0055] In one possible implementation, when N = 256, the d′ P(i) =y′ i satisfy:

[0056] In one possible implementation, with N = 512, the d′ P(i) =y′ i satisfy:

[0057] In one possible implementation, obtaining the third sequence includes:

[0058] The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

[0059] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0060] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0061] Fifthly, this application provides a communication device comprising units or modules for performing the methods of any one of the first to fourth aspects, or the methods shown in any possible implementation of any of the aspects.

[0062] Sixthly, this application provides a communication device including a processor. The processor is configured to perform the method as shown in any one of the first to fourth aspects, or any possible implementation thereof.

[0063] Optionally, the communication device further includes a memory storing a computer program; the processor is configured to invoke the computer program in the memory, causing the communication device to perform the method as shown in any one of the first to fourth aspects, or any possible implementation thereof.

[0064] Optionally, the communication device may also include a transceiver.

[0065] In one possible design, the communication device can be a chip or device that implements the above method.

[0066] In a seventh aspect, this application provides a communication device including a processor and an interface circuit. The interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor, or to send signals from the processor to other communication devices outside the communication device. The processor is used to implement the method as shown in any one of the first to fourth aspects, or any possible implementation of any one of the aspects, through logic circuits or execution code instructions.

[0067] Eighthly, this application provides a computer-readable storage medium storing a computer program or instructions that, when executed by a computer, implement the method of any one of the first to fourth aspects, or the method shown in any possible implementation of any of the aspects.

[0068] Ninthly, this application provides a computer program product that, when read and executed by a computer, causes the method of any one of the first to fourth aspects to be implemented, or the method shown in any possible implementation of any one of the aspects to be implemented.

[0069] In a tenth aspect, this application provides a chip system including at least one processor and an interface, the processor being configured to read and execute instructions stored in a memory, wherein when the instructions are executed, the chip performs the method described in any one of the first to fourth aspects, or any possible implementation thereof.

[0070] Eleventhly, this application provides a communication system that may include a transmitter and a receiver. The transmitter is configured to perform the method of any one of the first or second aspects described above, or the method shown in any possible implementation of any of those aspects. The receiver is configured to perform the method of any one of the third or fourth aspects described above, or the method shown in any possible implementation of any of those aspects. Attached Figure Description

[0071] Figure 1 is a schematic diagram of the application scenario of the power line carrier communication system provided in this application;

[0072] Figure 2 is a schematic diagram of the frame structure of the PPDU of the HPLC system provided in this application;

[0073] Figure 3 is a schematic diagram of the overall architecture of the physical layer of an existing HPLC system;

[0074] Figure 4 is a flowchart illustrating a data processing method provided in an embodiment of this application.

[0075] Figure 5 is another flowchart illustrating the data processing method provided in an embodiment of this application;

[0076] Figure 6 is a schematic diagram of the overall architecture of the physical layer of the HPLC system applicable to this application;

[0077] Figure 7 is a schematic diagram of the structure of a possible communication device provided in an embodiment of this application;

[0078] Figure 8 is a schematic diagram of the structure of a possible communication device provided in an embodiment of this application. Detailed Implementation

[0079] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0080] In the description of this application, terms such as "first" and "second" are used only to distinguish different objects, not to describe a specific order. Furthermore, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, "at least one" refers to one or more, and "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Where a, b, and c can be single or multiple.

[0081] The terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0082] In this application, the words "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary," "for example," or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of the words "exemplary," "for example," or "for example" is intended to present the relevant concepts in a specific manner.

[0083] It is understood that in this application, "when," "if," and "if" all refer to the device making a corresponding action under certain objective circumstances, and are not time-limited, nor do they require the device to make a judgment when it is implemented, nor do they imply any other limitations.

[0084] In this application, the use of singular designations for elements is intended to represent "one or more" rather than "one and only one," unless otherwise specified.

[0085] It is understood that in the embodiments of this application, "B corresponding to A" means that there is a correspondence between A and B, and B can be determined based on A. Determining B based on A does not mean that B can be determined solely based on A; B can also be determined based on A and / or other information.

[0086] To better understand the embodiments of this application, the system architecture involved in the embodiments of this application will be described first below:

[0087] Please refer to Figure 1, which is a schematic diagram of the application scenario of the power line carrier communication system provided in this application. As shown in Figure 1, the power line carrier communication system includes a power line communication (PLC) signal transmitter (e.g., a desktop computer) and a PLC signal receiver (e.g., a desktop computer). The PLC signal transmitter can utilize power lines to communicate with the PLC signal receiver using PLC technology.

[0088] The PLC signal transmitter and receiver can be various terminals with communication capabilities, such as smartphones, tablets, laptops, and desktop computers, without limitation. When communicating, the PLC signal transmitter modulates the data to be transmitted onto the power line, and the PLC signal receiver extracts and demodulates the modulated signal to obtain the original signal (i.e., the data transmitted by the PLC signal transmitter). The data transmitted from the PLC signal transmitter to the PLC signal receiver can be multimedia data such as voice, images, and video, without limitation.

[0089] It should be understood that PLC is a communication technology that uses medium / low voltage power distribution networks as a communication medium to achieve data transmission and information exchange. The biggest advantage of PLC communication is that it does not require the construction of a new network; instead, it relies on existing power transmission lines (power lines) for data transmission, which greatly reduces the cost of laying communication lines.

[0090] For example, the PLC can specifically be high-speed power line communications (HPLC), also known as broadband power line carrier. HPLC is a broadband power line carrier technology for data transmission over low-voltage power lines. Figure 2 shows a schematic diagram of the frame structure of the physical layer protocol data unit (PPDU) of an HPLC system. As shown in Figure 2, the PPDU consists of a preamble, frame control (FC), and payload data. Both the frame control and payload data use Turbo coding for channel encoding. Specifically, for the transmitting end, data is received from the data link layer, undergoes a series of signal processing and transformations, and the encoded data is processed using the corresponding modulation method. The resulting modulated signal is then sent to the analog front end and transmitted to the power line. For the receiving end, the received signal undergoes corresponding demodulation and decoding processing, ultimately restoring the analog signal to the decoded data information, which is then sent to the data link layer for subsequent protocol parsing.

[0091] For example, Figure 3 shows a schematic diagram of the overall architecture of the physical layer of an existing HPLC system. As shown in Figure 3, at the transmitting end, the frame control information is processed by Turbo encoding, interleaving, and diversity copying, and the payload data is processed by scrambling, Turbo encoding, interleaving, and diversity copying. Finally, the processed frame control information and payload data are subjected to constellation point mapping (or modulation), inverse fast fourier transformation (IFFT), a cyclic prefix is ​​added, then windowing is applied, and a preamble is added before finally being transmitted via power lines.

[0092] At the receiving end, the received data sequentially undergoes automatic gain control, clock / frame synchronization, fast fourier transformation (FFT), and demodulation. The demodulated frame control information is then subjected to set-joining, deinterleaving, and Turbo decoding, while the demodulated payload data is subjected to set-joining, deinterleaving, Turbo decoding, and descrambling. Finally, the corresponding frame control information and payload data can be output.

[0093] It should be noted that after Turbo encoding, both frame control information and payload data involve a channel interleaving module. Based on the characteristics of Turbo codes, the interleaving method involves first interleaving information bits, then interleaving parity bits, and finally cross-transmitting the information bits and parity bits. Furthermore, as shown in Table 1, for frame control information, the information bits (or the length of the frame control information before encoding) are currently 16 bytes, and these 16 bytes include 24 bits of cyclic redundancy check (CRC). The encoded code length of the frame control information is 256 bits, with a code rate of 1 / 2 (i.e., information bits / encoded code length of the frame control information). The modulation scheme (or modulation mode) for the frame control information uses QPSK. For payload data, the information bits (or the length of the payload data before encoding) can be 72 / 136 / 264 / 520 bytes, and the information bits include 24 bits of CRC. The encoded code length of the payload data is 1152 / 2176 / 4224 / 8320 / 4680 bits, and the code rate is 1 / 2 or 16 / 18. The modulation method (or modulation mode) of the payload data adopts BPSK / QPSK / 16QAM.

[0094] Table 1

[0095] It should be noted that due to the inherent encoding and decoding characteristics of Turbo codes, it is difficult to achieve ideal performance when using Turbo codes with limited code length, thus affecting communication performance. This is especially true when the code length is short, where the performance of Turbo codes is insufficient to meet communication requirements.

[0096] Based on this, this application proposes a data processing method that can improve coding performance and thus enhance communication performance.

[0097] The data processing method and communication device provided in this application are described in detail below:

[0098] Please refer to Figure 4, which is a flowchart illustrating a data processing method provided in an embodiment of this application. The method execution entity shown in Figure 4 can be a transmitter in a PLC system (e.g., an HPLC system), or a chip in the transmitter. For ease of description, this application mainly uses the transmitter as the execution entity. Figure 4 illustrates the detailed communication steps or operations of the method, but these steps or operations are merely examples. Embodiments of this application can also perform other operations or variations of the various operations shown in Figure 4. Wherein:

[0099] S401, The sending end determines the first encoding method.

[0100] The first encoding method is Polar code encoding.

[0101] S402. The transmitting end encodes the first bit stream according to the first encoding method to obtain the second bit stream.

[0102] The first bitstream is of frame control information or payload data, and its length is less than or equal to 32 bytes. The second bitstream has a length less than or equal to 512 bits. Optionally, the first bitstream may include a CRC, which has a length of 24 bits.

[0103] Specifically, taking frame control information as the data type of the first bit stream as an example, the length of the first bit stream can be 8 bytes and the length of the second bit stream can be 256 bits, or the length of the first bit stream can be 8 bytes and the length of the second bit stream can be 128 bits, or the length of the first bit stream can be 12 bytes and the length of the second bit stream can be 256 bits, or the length of the first bit stream can be 16 bytes and the length of the second bit stream can be 256 bits.

[0104] Taking the data type of the first bitstream as the payload data as an example, the length of the first bitstream can be 16 bytes, and the length of the second bitstream can be 256 bits, or the length of the first bitstream can be 32 bytes, and the length of the second bitstream can be 512 bits.

[0105] In this application, the length of the first bit stream can also be referred to as the length of the information bits or the information bits. Alternatively, the first bit stream can also be referred to as the bit stream before encoding, and its length can also be referred to as the code length before encoding. The second bit stream is the bit stream after encoding, and its length can also be referred to as the code length after encoding.

[0106] For ease of viewing, Table 2 below shows the modulation and coding schemes applicable to this application. When the data type is frame control information, the modulation mode is QPSK, the encoding method is Polar code, and the information bits (i.e., the length of the frame control information) are 8 bytes, the CRC is 24 bits, the encoded length is 256 bits, and the code rate is 1 / 4. Alternatively, the information bits (i.e., the length of the frame control information) are 8 bytes, the CRC is 24 bits, the encoded length is 128 bits, and the code rate is 1 / 2. Alternatively, the information bits (i.e., the length of the frame control information) are 12 bytes, the CRC is 24 bits, the encoded length is 256 bits, and the code rate is 3 / 8. Alternatively, the information bits (i.e., the length of the frame control information) are 16 bytes, the CRC is 24 bits, the encoded length is 256 bits, and the code rate is 1 / 2. It should be noted that in this application, the code rate can be determined by the information bits and the encoded length, for example, code rate = information bits / encoded length.

[0107] As shown in Table 2 below, when the data type is payload data, the modulation mode is BPSK / QPSK / 16QAM, the encoding method is Polar code, where the information bits (i.e., the length of the payload data) are 16 bytes, the CRC is 24 bits, the encoded length is 256 bits, and the code rate is 1 / 2. Alternatively, the information bits (i.e., the length of the payload data) are 32 bytes, the CRC is 24 bits, the encoded length is 512 bits, and the code rate is 1 / 2. Alternatively, when the data type is payload data, the modulation mode is BPSK / QPSK / 16QAM, the encoding method is Turbo code, where the information bits (i.e., the length of the payload data) are 72 bytes, the CRC is 24 bits, the encoded length is 1152 bits, and the code rate is 1 / 2; or, the information bits (i.e., the length of the payload data) are 136 bytes, the CRC is 24 bits, the encoded length is 2176 bits, and the code rate is 1 / 2; or, the information bits (i.e., the length of the payload data) are 264 bytes, the CRC is 24 bits, the encoded length is 4224 bits, and the code rate is 1 / 2; or, the information bits (i.e., the length of the payload data) are 520 bytes, the CRC is 24 bits, the encoded length is 8320 bits, and the code rate is 1 / 2; or, the information bits (i.e., the length of the payload data) are 520 bytes, the CRC is 24 bits, the encoded length is 4680 bits, and the code rate is 1 / 2.

[0108] Table 2

[0109] S403. The transmitting end performs interleaving processing on the second bit stream to obtain the third bit stream.

[0110] Optionally, in some feasible implementations, after the transmitting end encodes the first bitstream using Polar codes to obtain the second bitstream, the transmitting end can further interleave the second bitstream to obtain the third bitstream. Specifically, to adapt to the Polar code encoding method, a new channel interleaving scheme is proposed. Specifically, the third bitstream and the second bitstream satisfy: y i =d P(i) , where y i d represents the value corresponding to the i-th bit in the third bit stream. P(i) Let be the value corresponding to the P(i)th bit in the second bitstream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bitstream. That is, the input bit sequence of the interleaver (i.e., the second bitstream) is d0, d1, d2, ..., d... N-1 Then the output bit sequence of the interleaver (i.e., the third bit stream) is y0, y1, y2, ..., y N-1 The generation method is as follows: y i =d P(i) In this application, the lengths of the second and third bit streams are the same, both being N bits. As shown in Table 2 above, there are three main possible values ​​for N: N = 128, N = 256, or N = 512. Based on this, this application mainly defines the interleaving schemes / patterns adapted to these three conditions.

[0111] Specifically, as shown in Table 3 below, when N=128, y i =d P(i) satisfy:

[0112] Table 3

[0113] Table 3 above can be represented in matrix form as follows:

[0114] P=[3,1,120,87,78,99,117,6,84,121,123,35,5,80,122,56,37,52,118,44,45,30,85,31,64,4,126,23,32,67,59,89, 90,106,28,15,11,104,108,61,81,98,65,2,77,127,105,73,86,17,46,36,16,107,97,43,111,33,50,91,49,116,114,1 3,113,88,18,21,39,83,70,72,94,25,71,40,22,57,125,29,14,92,110,58,47,62,75,19,10,76,0,95,119,38,112,42,54,7,109,82,100,60,9,103,26,34,115,68,66,12,101,24,41,20,27,8,69,124,74,48,96,63,55,102,79,51,93,53).

[0115] Specifically, as shown in Table 4 below, when N = 256, y i =d P(i) satisfy:

[0116] Table 4

[0117] Table 4 above can be represented in matrix form as follows:

[0118] P=[227,31,18,157,12,249,120,158,66,117,69,94,138,99,213,46,113,150,128,47,197,67,236,38,74,127,25,84,135,5,72,10,1 05,77,212,56,184,33,226,52,217,80,186,231,137,36,218,26,97,154,124,229,106,221,39,19,204,210,159,196,161,21,240,136 ,146,237,32,107,255,91,248,41,187,70,167,202,9,3,142,98,43,171,194,216,96,14,181,59,116,57,166,214,245,152,53,164,104,201,176,89,129,232,170,90,169,58,252,185,60,100,233,179,190,220,122,193,44,250,114,239,130,160,205,134,222,86,93 ,16,48,168,61,208,234,119,211,42,121,83,200,75,15,246,109,230,118,144,207,183,198,65,73,102,112,50,242,224,165,191,247,49,203,215,133,192,209,241,238,178,17,163,7,34,182,54,78,243,111,2,225,131,125,8,0,140,23,145,88,62,195,95,85, 189,63,174,92,6,251,51,20,254,35,40,177,244,228,162,101,139,180,148,87,147,81,79,29,64,199,173,206,253,175,13,115,30,76,132,155,156,22,27,235,149,143,28,141,1,151,123,24,172,108,110,223,45,11,103,82,126,188,55,71,153,68,4,219,37).

[0119] Specifically, as shown in Table 5 below, when N = 512, y i =d P(i) satisfy:

[0120] Table 5

[0121] Table 5 above can be represented in matrix form as follows:

[0122] P=[358,199,307,105,415,472,333,84,291,188,446,39,139,414,477,421,507,404,273,109,461,213,162,359,179,157,182,6,197,459,67,18,227,506,0,278,326,187,102,267,90,339,121,322,48,88,407,127,310,22,80,383,8,34,259,41,152,490,103,211,433,101,115,51,113,144,426,210,56,257,264,386,444,218,403,432,235,469,384,54,165,64,261,243,92,321,369,405,378,135,476,65,475,239,13,275,222,132,40,393,195,331,325,149,221,236,455,373,58,466,33,324,445,352,50,156,270,482,72,226,337,62,442,296,254,129,25,20,44,360,377,63,362,1,308,335,285,485,409,189,309,230,215,30,242,229,60,464,434,97,169,27,74,110,302,185,208,341,29,382,395,225,380,241,329,458,372,499,134,456,16,183,488,240,287,237,336,453,402,435,219,193,418,140,452,250,288,255,327,247,320,170,391,347,126,231,46,503,375,379,89,161,203,212,494,429,416,253,66,123,91,181,17,305,207,277,431,483,401,146,150,436,114,155,167,159,312,98,348,79,120,508,32,388,387,138,43,122,194,293,289,148,424,425,509,315,392,319,396,82,439,311,468,124,441,269,408,223,279,354,214,385,10,130,422,504,450,12,5,449,280,420,202,252,47,164,52,95,399,430,117,216,220,318,191,190,274,73,118,168,201,478,298,119,265,367,23,93,234,172,153,233,413,154,448,200,271,19,133,276,303,299,125,438,206,106,249,75,370,371,142,205,361,501,14,489,398,463,228,332,282,77,451,256,467,31,184,462,268,437,417,24,286,492,11,511,487,246,116,94,262,100,136,334,406,338,304,342,351,357,346,389,364,340,323,479,192,131,283,473,258,83,104,186,328,86,176,480,353,294,45,35,368,112,486,198,37,419,292,394,85,447,460,145,260,381,465,474,498,423,108,266,163,440,143,78,99,510,248,68,313,284,107,397,224,300,374,457,2,28,484,502,290,38,356,481,470,363,355,61,87,350,55,345,4,505,493,443,244,36,71,76,500,427,301,428,178,295,232,245,495,238,180,137,160,316,330,171,343,175,3,365,400,128,411,69,306,366,263,272,349,173,7,111,317,177,209,204,53,81,251,59,57,9,70,454,412,21,174,151,158,491,281,390,496,217,196,344,497,471,376,410,42,147,297,26,314,96,166,141,15,49]。,

[0123] It should be noted that this application is not limited to performing other processing on the third bitstream after interleaving and before modulation, such as diversity copying. Similarly, this application is not limited to performing other processing on the second bitstream after encoding and before interleaving. Likewise, this application is not limited to performing other processing on the first bitstream before encoding; for example, when the first bitstream is payload data, it can be scrambled first and then encoded using Polar codes.

[0124] S404. The transmitting end modulates the third bit stream based on the first modulation mode to obtain the first sequence.

[0125] Optionally, in some feasible implementations, after interleaving, the transmitting end can further modulate the third bitstream based on the first modulation mode to obtain a first sequence. The first modulation mode can be BPSK, QPSK, or 16QAM. For example, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK. When the data type of the first bitstream is payload data, the first modulation mode is BPSK, QPSK, or 16QAM.

[0126] Optionally, after receiving the first sequence, the sending end can further transmit the first sequence to the receiving end via the power line. This application does not limit the further processing required before transmitting the first sequence, such as IFFT, adding a cyclic prefix, windowing, adding a preamble, or one or more of these operations. For ease of understanding, the following explanation will primarily focus on the example of the sending end transmitting the processed first sequence to the receiving end via the power line.

[0127] In this embodiment, for the case of short codes, Polar code encoding is used to improve encoding performance, thereby enhancing communication performance, such as reducing the block error rate (BLER). Furthermore, this application also proposes a high-performance, low-complexity random interleaving scheme, which also helps improve communication performance.

[0128] It should be noted that this application may not necessarily perform all the operations shown in Figure 4. For example, step S403 may be a standalone embodiment, or it may be an optional step combined with one or more steps in the embodiments of this application. For example, steps S403 and S404 may be standalone embodiments, and no limitation is made here.

[0129] Please refer to Figure 5, which is another schematic flowchart of the data processing method provided in this application embodiment. The method execution entity shown in Figure 5 can be a receiver in a PLC system (e.g., an HPLC system), or a chip in the receiver. For ease of description, this application mainly uses the receiver as the execution entity. Figure 5 illustrates the detailed communication steps or operations of the method, but these steps or operations are merely examples. Other operations or variations of the various operations shown in Figure 5 can also be performed in the embodiments of this application. Wherein:

[0130] S501, The receiving end determines the first decoding method.

[0131] The first decoding method is Polar code decoding.

[0132] S502, The receiving end decodes the second sequence according to the first decoding method to obtain the first bit stream.

[0133] The first bitstream has a data type of either frame control information or payload data, and its length is less than or equal to 32 bytes. The second sequence has a length less than or equal to 512 bytes. Specifically, when the first bitstream's data type is frame control information: the first bitstream's information length is 8 bytes, and the second sequence's length is 256 bytes; or, the first bitstream's length is 8 bytes, and the second sequence's length is 128 bytes; or, the first bitstream's length is 12 bytes, and the second sequence's length is 256 bytes; or, the first bitstream's length is 16 bytes, and the second sequence's length is 256 bytes. When the first bitstream's data type is payload data: the first bitstream's length is 16 bytes, and the second sequence's length is 256 bytes; or, the first bitstream's length is 32 bytes, and the second sequence's length is 512 bytes.

[0134] Optionally, the second sequence can be a bitstream obtained by deinterleaving the third sequence. The third and second sequences satisfy: d′ P(i) =y′ i , where y′ i Let d′ be the value corresponding to the i-th element in the third sequence. P(i) Let be the value corresponding to the P(i)th element in the second sequence, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence. For deinterleaving schemes corresponding to N = 128 / 256 / 512, please refer to Tables 3-5. The difference is that the formula y corresponding to the sending end needs to be changed. i =d P(i) Replace with the formula d′ applicable to the receiving end. P(i) =y′ i .

[0135] Optionally, the aforementioned third sequence can be the sequence obtained by the receiving end after demodulating the fourth sequence based on the first modulation mode. The fourth sequence can be understood as a sequence related to the first sequence, because after the transmitting end sends the first sequence, noise will exist after the first sequence is transmitted through the power line (or channel). Therefore, this application refers to the sequence received by the receiving end as the fourth sequence. The first modulation mode is BPSK, QPSK, or 16QAM. When the data type of the first bit stream is frame control information, the first modulation mode is QPSK. When the data type of the first bit stream is payload data, the first modulation mode is BPSK, QPSK, or 16QAM. Optionally, before demodulating the fourth sequence, the receiving end can also process the received data transmitted through the power line, such as one or more of automatic gain control, clock / frame synchronization, and FFT processing.

[0136] It should be noted that the second sequence involved in this application can be understood as a sequence related to the second bitstream. This is because the transmitted data from the transmitting end will contain noise after being transmitted through the power line to the receiving end, and therefore it may be a floating-point sequence rather than a bitstream. Similarly, the third sequence involved in this application can be understood as a sequence related to the third bitstream. This is because the transmitted data from the transmitting end will contain noise after being transmitted through the power line to the receiving end, and it may be a floating-point sequence rather than a bitstream. For example, please refer to Figure 6, which is a schematic diagram of the overall architecture of the physical layer of the HPLC system to which this application applies. As shown in Figure 6, for the transmitting end, the first bitstream, after Polar encoding, can obtain the second bitstream. Then, the second bitstream, after interleaving, can obtain the third bitstream. Finally, the third bitstream, after modulation, can obtain the first sequence. The transmitting end transmits the first sequence to the receiving end via the power line. Due to channel noise and other factors, after receiving the fourth sequence corresponding to the first sequence, the receiving end demodulates the fourth sequence to obtain the third sequence. Then, it deinterleaves the third sequence to obtain the second sequence. Finally, it performs Polar decoding on the second sequence to obtain the first bit stream. It should be noted that Figure 6 shows a simplified overall architecture. This application does not limit the transmitting end or the receiving end to performing other data processing steps besides those shown in Figure 6.

[0137] In this embodiment, the receiving end can obtain the corresponding frame control information or payload data through demodulation, deinterleaving, and decoding. This communication method, which uses power line transmission and Polar code-encoded bit stream, is beneficial to improving the demodulation performance of the received bit stream.

[0138] It should be noted that this application may not necessarily perform all the operations shown in Figure 5. For example, deinterleaving can be a standalone embodiment, or it can be combined with one or more steps in the embodiments of this application as an optional step. For example, demodulation and deinterleaving can be standalone embodiments, and there is no limitation here.

[0139] The communication device provided in this application will now be described in detail with reference to Figures 7 and 8.

[0140] It is understood that, in order to achieve the functions in the above embodiments, the communication device includes hardware structures and / or software modules corresponding to each function. Those skilled in the art should readily recognize that, based on the units and method steps described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0141] Figures 7 and 8 are schematic diagrams illustrating possible communication devices provided in embodiments of this application. These communication devices can be used to implement the functions of the transmitting end or receiving end in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments. In the embodiments of this application, when the communication device is a transmitting end, it can be a terminal; or when the communication device is a receiving end, it can also be a terminal. Optionally, it can also be a module (such as a chip) applied to the transmitting end or the receiving end.

[0142] As shown in Figure 7, the communication device 700 includes a processing unit 710 and a transceiver unit 720. The communication device 700 is used to implement the functions of the transmitting end or the receiving end in the method embodiments shown in Figures 4 and 5 above.

[0143] In one design, when the communication device 700 is used to implement the function of the transmitting end in the method embodiment shown in FIG4:

[0144] Processing unit 710 is used to determine a first encoding method, wherein the first encoding method is Polar code encoding;

[0145] The processing unit 710 is used to encode the first bit stream according to the first encoding method to obtain the second bit stream. The data type of the first bit stream is frame control information or payload data. The length of the first bit stream is less than or equal to 32 bytes, and the length of the second bit stream is less than or equal to 512 bits.

[0146] In one possible implementation, the first bit stream includes a cyclic redundancy check (CRC) with a length of 24 bits.

[0147] In one possible implementation, where the data type of the first bitstream is frame control information:

[0148] The first bitstream has a length of 8 bytes, and the second bitstream has a length of 256 bits; or,

[0149] The first bitstream is 8 bytes long, and the second bitstream is 128 bits long; or,

[0150] The first bitstream is 12 bytes long, and the second bitstream is 256 bits long; or,

[0151] The first bitstream is 16 bytes long, and the second bitstream is 256 bits long.

[0152] In one possible implementation, when the data type of the first bitstream is payload data:

[0153] The first bitstream is 16 bytes long, and the second bitstream is 256 bits long; or,

[0154] The first bitstream is 32 bytes long, and the second bitstream is 512 bits long.

[0155] In one possible implementation, the processing unit 710 is further configured to:

[0156] The second bitstream is interleaved to obtain the third bitstream;

[0157] Wherein, the third bit stream and the second bit stream satisfy: y i =d P(i) Wherein y i The value corresponding to the i-th bit in the third bit stream, d P(i) Let be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

[0158] In one possible implementation, when N = 128, the y i =d P(i) satisfy:

[0159] In one possible implementation, when N = 256, the y i =d P(i) satisfy:

[0160] In one possible implementation, when N = 512, the y i =d P(i) satisfy:

[0161] In one possible implementation, the processing unit 710 is further configured to:

[0162] The third bitstream is modulated based on a first modulation mode to obtain a first sequence, wherein the first modulation mode is BPSK, QPSK, or 16QAM.

[0163] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0164] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0165] Optionally, the transceiver unit 720 is used to transmit the first sequence.

[0166] In another design, when the communication device 700 is used to implement the function of the receiving end in the method embodiment shown in Figure 5:

[0167] Processing unit 710 is used to determine a first decoding method, wherein the first decoding method is Polar code decoding;

[0168] The processing unit 710 is used to decode the second sequence according to the first decoding method to obtain a first bit stream. The data type of the first bit stream is frame control information or payload data. The length of the first bit stream is less than or equal to 32 bytes, and the length of the second sequence is less than or equal to 512 bytes.

[0169] In one possible implementation, the first bit stream includes a cyclic redundancy check (CRC) with a length of 24 bits.

[0170] In one possible implementation, where the data type of the first bitstream is frame control information:

[0171] The length of the first bitstream is 8 bytes, and the length of the second sequence is 256; or,

[0172] The first bitstream has a length of 8 bytes, and the second sequence has a length of 128 bytes; or,

[0173] The first bitstream is 12 bytes long, and the second sequence is 256 bytes long; or,

[0174] The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes.

[0175] In one possible implementation, when the data type of the first bitstream is payload data:

[0176] The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes; or,

[0177] The first bitstream has a length of 32 bytes, and the second sequence has a length of 512 bytes.

[0178] In one possible implementation, the processing unit 710 is further configured to:

[0179] The third sequence is de-interleaved to obtain the second sequence;

[0180] Wherein, the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) Let i be the value corresponding to the P(i)th element in the second sequence, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence.

[0181] In one possible implementation, when N = 128, the d′ P(i) =y′ i satisfy:

[0182] In one possible implementation, when N = 256, the d′ P(i) =y′ i satisfy:

[0183] In one possible implementation, with N = 512, the d′ P(i) =y′ i satisfy:

[0184] In one possible implementation, the processing unit 710 is further configured to:

[0185] The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode, wherein the first modulation mode is BPSK, QPSK, or 16QAM.

[0186] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0187] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0188] Optionally, the transceiver unit 720 is used to receive the fourth sequence.

[0189] In another design, when the communication device 700 is used to implement the function of the transmitting end in the method embodiment shown in Figure 4:

[0190] The processing unit 710 is used to acquire a second bit stream, which is a bit stream obtained by Polar code encoding the first bit stream, and the data type of the first bit stream is frame control information or payload data.

[0191] The processing unit 710 is used to interleave the second bitstream to obtain a third bitstream, wherein the third bitstream and the second bitstream satisfy: y i =d P(i) Wherein y i The value corresponding to the i-th bit in the third bit stream, d P(i) Let be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

[0192] In one possible implementation, when N = 128, the y i =d P(i) satisfy:

[0193] In one possible implementation, when N = 256, the y i =d P(i) satisfy:

[0194] In one possible implementation, when N = 512, the y i =d P(i) satisfy:

[0195] In one possible implementation, the processing unit 710 is further configured to:

[0196] The third bitstream is modulated based on a first modulation mode to obtain a first sequence, wherein the first modulation mode is BPSK, QPSK, or 16QAM.

[0197] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0198] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0199] Optionally, the transceiver unit 720 is used to transmit the first sequence.

[0200] In another design, when the communication device 700 is used to implement the function of the receiving end in the method embodiment shown in Figure 5:

[0201] Processing unit 710 is used to acquire the third sequence;

[0202] The processing unit 710 is configured to perform deinterleaving processing on the third sequence to obtain a second sequence, wherein the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) The value corresponding to the P(i)th element in the second sequence is i, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence. The second sequence is decoded by Polar code to form a first bit stream, and the data type of the first bit stream is frame control information or payload data.

[0203] In one possible implementation, when N = 128, the d′ P(i) =y′ i satisfy:

[0204] In one possible implementation, when N = 256, the d′ P(i) =y′ i satisfy:

[0205] In one possible implementation, with N = 512, the d′ P(i) =y′ isatisfy:

[0206] In one possible implementation, the processing unit 710 is further configured to:

[0207] The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode, wherein the first modulation mode is BPSK, QPSK, or 16QAM.

[0208] In one possible implementation, when the data type of the first bitstream is frame control information, the first modulation mode is QPSK.

[0209] In one possible implementation, when the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

[0210] Optionally, the transceiver unit 720 is used to receive the fourth sequence.

[0211] For a more detailed description of the processing unit 710 and the transceiver unit 720 described above, please refer to the relevant descriptions in the method embodiments shown in Figures 4 and 5.

[0212] As shown in Figure 8, the communication device 800 includes a processor 810 and an interface circuit 820. The processor 810 and the interface circuit 820 are coupled to each other. It is understood that the interface circuit 820 can be a transceiver or an input / output interface. Optionally, the communication device 800 may further include a memory 830 for storing instructions executed by the processor 810, or storing input data required by the processor 810 to execute instructions, or storing data generated after the processor 810 executes instructions.

[0213] When the communication device 800 is used to implement the methods shown in FIG4 and FIG5, the processor 810 is used to implement the functions of the processing unit 710, and the interface circuit 820 is used to implement the functions of the transceiver unit 720.

[0214] When the aforementioned communication device is a chip applied to the transmitting end, the transmitting end chip implements the functions of the transmitting end in the above method embodiments. The transmitting end chip receives information sent to the transmitting end by the receiving end through other modules (such as an RF module or antenna) in the transmitting end; or, the transmitting end chip sends information to other modules (such as an RF module or antenna) in the transmitting end, which is information sent from the transmitting end to the receiving end.

[0215] When the aforementioned communication device is a module applied to the receiving end, the receiving end module implements the functions of the receiving end in the above method embodiments. The receiving end module receives information from other modules (such as radio frequency modules or antennas) in the receiving end, which is information sent from the transmitting end to the receiving end; or, the receiving end module sends information to other modules (such as radio frequency modules or antennas) in the receiving end, which is information sent from the receiving end to the transmitting end.

[0216] In one possible design, the transmitting or receiving end can also be a device in the communication device, such as a chip or integrated circuit.

[0217] This application also provides a terminal for implementing the methods described in the embodiments shown in FIG4 and FIG5.

[0218] This application also provides a computer-readable storage medium storing a computer program that, when run on one or more processors, implements the methods described in the embodiments shown in Figures 4 and 5.

[0219] This application also provides a computer program product that, when run on one or more processors, implements the method described in the embodiment shown in FIG4.

[0220] This application also provides a chip system comprising a communication interface and at least one processor. The communication interface is used to provide information input / output to the at least one processor, and / or to send or receive data. The processor is used to invoke a computer program (or computer instructions) to implement the methods described in the embodiments shown in Figures 4 and 5.

[0221] This application provides a communication system that may include a transmitter and a receiver. The transmitter is used to perform the method described in the embodiment shown in FIG. 4. The receiver is used to perform the method described in the embodiment shown in FIG. 5.

[0222] It is understood that the processor in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor can be a microprocessor or any conventional processor.

[0223] The method steps in the embodiments of this application can be implemented in hardware or in software instructions executable by a processor. The software instructions can consist of corresponding software modules, which can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. The storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a receiving or transmitting end. The processor and the storage medium can also exist as discrete components in the receiving or transmitting end.

[0224] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both types of storage media.

[0225] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0226] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

Claims

1. A data processing method, characterized in that, Transmitters suitable for power line communication systems include: The first encoding method is determined to be Polar code encoding; The first bit stream is encoded according to the first encoding method to obtain the second bit stream. The data type of the first bit stream is frame control information or payload data. The length of the first bit stream is less than or equal to 32 bytes, and the length of the second bit stream is less than or equal to 512 bits.

2. The method according to claim 1, characterized in that, The first bit stream includes a cyclic redundancy check (CRC), and the CRC is 24 bits long.

3. The method according to claim 1 or 2, characterized in that, When the data type of the first bitstream is frame control information: The first bitstream has a length of 8 bytes, and the second bitstream has a length of 256 bits; or, The first bitstream is 8 bytes long, and the second bitstream is 128 bits long; or, The first bitstream is 12 bytes long, and the second bitstream is 256 bits long; or, The first bitstream is 16 bytes long, and the second bitstream is 256 bits long.

4. The method according to claim 1 or 2, characterized in that, When the data type of the first bitstream is payload data: The first bitstream is 16 bytes long, and the second bitstream is 256 bits long; or, The first bitstream is 32 bytes long, and the second bitstream is 512 bits long.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: The second bitstream is interleaved to obtain the third bitstream; Wherein, the third bit stream and the second bit stream satisfy: y i =d P(i) Wherein y i The value corresponding to the i-th bit in the third bit stream, d P(i) Let be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

6. The method according to claim 5, characterized in that, When N = 128, the y i =d P(i) satisfy:

7. The method according to claim 5, characterized in that, When N = 256, the y i =d P(i) satisfy:

8. The method according to claim 5, characterized in that, In the case of N=512, the y i =d P(i) satisfy:

9. The method according to any one of claims 5-8, characterized in that, The method further includes: The third bitstream is modulated based on the first modulation mode to obtain the first sequence. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

10. The method according to claim 9, characterized in that, When the data type of the first bit stream is frame control information, the first modulation mode is QPSK.

11. The method according to claim 9, characterized in that, When the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

12. A data processing method, characterized in that, Transmitters suitable for power line communication systems include: Obtain the second bit stream, which is the bit stream obtained by Polar code encoding the first bit stream. The data type of the first bit stream is frame control information or payload data. The second bitstream is interleaved to obtain a third bitstream, wherein the third bitstream and the second bitstream satisfy: y i =d P(i) Wherein y i The value corresponding to the i-th bit in the third bit stream, d P(i) Let be the value corresponding to the P(i)th bit in the second bit stream, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second bit stream.

13. The method according to claim 12, characterized in that, When N = 128, the y i =d P(i) satisfy:

14. The method according to claim 12, characterized in that, When N = 256, the y i =d P(i) satisfy:

15. The method according to claim 12, characterized in that, In the case of N=512, the y i =d P(i) satisfy:

16. The method according to any one of claims 12-15, characterized in that, The method further includes: The third bitstream is modulated based on the first modulation mode to obtain the first sequence. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

17. The method according to claim 16, characterized in that, When the data type of the first bit stream is frame control information, the first modulation mode is QPSK.

18. The method according to claim 16, characterized in that, When the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

19. A data processing method, characterized in that, Receivers suitable for power line communication systems include: The first decoding method is determined to be Polar code decoding; The second sequence is decoded according to the first decoding method to obtain a first bit stream. The data type of the first bit stream is frame control information or payload data. The length of the first bit stream is less than or equal to 32 bytes, and the length of the second sequence is less than or equal to 512 bytes.

20. The method according to claim 19, characterized in that, The first bit stream includes a cyclic redundancy check (CRC), and the CRC is 24 bits long.

21. The method according to claim 19 or 20, characterized in that, When the data type of the first bitstream is frame control information: The length of the first bitstream is 8 bytes, and the length of the second sequence is 256; or, The first bitstream has a length of 8 bytes, and the second sequence has a length of 128 bytes; or, The first bitstream is 12 bytes long, and the second sequence is 256 bytes long; or, The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes.

22. The method according to claim 19 or 20, characterized in that, When the data type of the first bitstream is payload data: The first bitstream has a length of 16 bytes, and the second sequence has a length of 256 bytes; or, The first bitstream has a length of 32 bytes, and the second sequence has a length of 512 bytes.

23. The method according to any one of claims 19-22, characterized in that, The method further includes: The third sequence is de-interleaved to obtain the second sequence; Wherein, the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) Let i be the value corresponding to the P(i)th element in the second sequence, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence.

24. The method according to claim 23, characterized in that, In the case of N=128, the d′ P(i) =y′ i satisfy:

25. The method according to claim 23, characterized in that, In the case of N=256, the d′ P(i) =y′ i satisfy:

26. The method according to claim 23, characterized in that, In the case of N=512, the d′ P(i) =y′ i satisfy:

27. The method according to any one of claims 23-26, characterized in that, The acquisition of the third sequence includes: The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

28. The method according to claim 27, characterized in that, When the data type of the first bit stream is frame control information, the first modulation mode is QPSK.

29. The method according to claim 27, characterized in that, When the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

30. A data processing method, characterized in that, Receivers suitable for power line communication systems include: Obtain the third sequence; The third sequence is de-interleaved to obtain the second sequence, wherein the third sequence and the second sequence satisfy: d′ P(i) =y′ i Wherein y′ i The value corresponding to the i-th element in the third sequence, d′ P(i) The value corresponding to the P(i)th element in the second sequence is i, where i is an integer greater than or equal to 0 and less than or equal to N-1, and N is the length of the second sequence. The second sequence is decoded by Polar code to form a first bit stream, and the data type of the first bit stream is frame control information or payload data.

31. The method according to claim 30, characterized in that, In the case of N=128, the d′ P(i) =y′ i satisfy:

32. The method according to claim 30, characterized in that, In the case of N=256, the d′ P(i) =y′ i satisfy:

33. The method according to claim 30, characterized in that, In the case of N=512, the d′ P(i) =y′ i satisfy:

34. The method according to any one of claims 30-33, characterized in that, The acquisition of the third sequence includes: The third sequence is obtained by demodulating the fourth sequence based on the first modulation mode. The first modulation mode is binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), or quadrature amplitude modulation (QAM).

35. The method according to claim 34, characterized in that, When the data type of the first bit stream is frame control information, the first modulation mode is QPSK.

36. The method according to claim 34, characterized in that, When the data type of the first bitstream is payload data, the first modulation mode is BPSK, or QPSK, or 16QAM.

37. A communication device, characterized in that, It includes units or modules for performing the method as described in any one of claims 1-11, or for performing the method as described in any one of claims 12-18, or for performing the method as described in claims 19-29, or for performing the method as described in claims 30-36.

38. A communication device, characterized in that, The device includes a processor and an interface circuit. The interface circuit is used to receive signals from other communication devices besides the communication device and transmit them to the processor, or to send signals from the processor to other communication devices besides the communication device. The processor is used through logic circuits or execution code instructions to implement the method as described in any one of claims 1-11, or to implement the method as described in any one of claims 12-18, or to implement the method as described in claims 19-29, or to implement the method as described in claims 30-36.

39. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions that, when executed by a communication device, implement the method as described in any one of claims 1-11, or perform the method as described in any one of claims 12-18, or perform the method as described in claims 19-29, or perform the method as described in claims 30-36.

40. A computer program product, characterized in that, Includes computer program code that, when run on a computer, implements the method of any one of claims 1-11, or the method of any one of claims 12-18, or the method of claims 19-29, or the method of claims 30-36.

41. A chip, characterized in that, include: A processor and a memory, the memory for storing a computer program, the processor for calling and running the computer program stored in the memory, such that an apparatus or device on which the chip is mounted performs the method as claimed in any one of claims 1-11, or the method as claimed in any one of claims 12-18, or the method as claimed in claims 19-29, or the method as claimed in claims 30-36.

Citation Information

Patent Citations

  • Information transmission method, sending terminal device and receiving terminal device

    CN107835063A

  • Methods, apparatus and systems for transmitting data based on polar code

    CN113647036A

  • Method of transmitting data encoded in polar code and electronic device using the same

    US20190356418A1

  • Systems and methods for dual coding concatenation in probabilistic amplitude shaping

    US20230033774A1