Segmentation method and communication apparatus
By dynamically determining the target segmentation method based on the first code rate through the communication device, the problem of the inability to effectively segment the sequence to be encoded in the prior art is solved, and the segmentation of longer lengths and the decoding performance are improved, and the construction of the encoding module is simplified.
Patent Information
- Application Number
- PCT/CN2025/103040
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-04
- Filing Date
- 2025-06-24
- Publication Date
- 2026-01-08
AI Technical Summary
Existing technologies cannot effectively segment the sequence to be encoded, especially when the transport block size exceeds the maximum codeword length supported by the channel codec, resulting in the inability to support segments with longer sequences to be encoded and mother code lengths.
The target segmentation method is dynamically determined by the communication device based on the first bit rate. Flexible segmentation strategies are adopted, including different segmentation methods and rate matching methods, to ensure that the number and method of segments match the sequence to be encoded, and to support segments of longer lengths.
It achieves effective segmentation of the sequence to be encoded, improves decoding performance and segmentation accuracy, simplifies the construction of the encoding module, and improves chip area utilization efficiency.
Smart Images

Figure CN2025103040_08012026_PF_FP_ABST
Abstract
Description
Segmentation method and communication apparatus
[0001] Cross-reference to Related Applications
[0002] This application claims priority to the Chinese Patent Application No. 202410897654.2, filed on July 4, 2024, and entitled "Segmentation method and communication apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present application relates to the field of communication technology, and in particular to a segmentation method and a communication apparatus. BACKGROUND
[0004] A communication system usually adopts channel coding to improve the reliability of data transmission, so as to ensure the quality of communication. The signal coded by the sending device through the channel is transmitted to the receiving device, and the receiving device performs corresponding channel decoding on the received signal to recover the original signal.
[0005] At present, based on the limited maximum codeword length that the channel decoder can support, when the transport block size (TBS) (or referred to as the length of the sequence to be coded) is greater than the maximum codeword length supported by the current channel decoder, the sending device needs to segment the TB, so that the size of the code block (CB) after segmentation is less than or equal to the maximum codeword length supported by the current channel decoder.
[0006] However, the existing segmentation scheme needs to limit the length of the sequence to be coded within a preset length range, so it cannot effectively segment the sequence to be coded with a larger length. Therefore, how to effectively segment the sequence to be coded needs to be further studied. SUMMARY
[0007] The present application provides a segmentation method and a communication apparatus to effectively segment the sequence to be coded.
[0008] In a first aspect, the present application provides a segmentation method, which can be performed by a communication device. In the present application, the "communication device" can refer to a communication device (such as a terminal device or a network device or other types of devices), a module (such as a processor, a processing unit, a chip system, a circuit or a chip, etc.) in the communication device, or a logic node, a logic module or software capable of realizing all or part of the functions of the communication device. For example, the segmentation method performed by the communication device is described below. The method can include the following steps: the communication device acquires a first sequence, then determines a target segmentation mode corresponding to the first sequence according to a first code rate, and then segments the first sequence according to the target segmentation mode to obtain C second sequences, wherein the first sequence is a bit sequence to be encoded (also referred to as a to-be-encoded sequence), and C is related to the target segmentation mode.
[0009] In the method, the communication device can dynamically (or flexibly or adaptively or effectively) determine (or select) a segmentation mode (also referred to as a segmentation strategy) corresponding (or matching or suitable) to the first code rate (i.e. the code rate of the current encoding) for segmenting the first sequence, which helps to effectively segment the first sequence and can obtain better decoding performance. In addition, the method can make the selection of the segmentation mode flexible, and the selected segmentation mode matches the first sequence, which helps to improve the decoding accuracy of the to-be-decoded sequence corresponding to the first sequence.
[0010] In a possible implementation, the communication device determines the target segmentation mode corresponding to the first sequence according to the first code rate, including:
[0011] If the first code rate is less than or equal to a first code rate threshold, the communication device can determine the first segmentation mode as the target segmentation mode; or,
[0012] If the first code rate is greater than the first code rate threshold and less than or equal to a second code rate threshold, the communication device can determine the second segmentation mode as the target segmentation mode; or,
[0013] If the first code rate is greater than the second code rate threshold, the communication device can determine the third segmentation mode as the target segmentation mode.
[0014] The first segmentation mode is determined based on the second resource bit number G1 and the maximum mother code length N max The second segmentation mode and the third segmentation mode are determined based on the first resource bit number G and the maximum mother code length N max G is the total resource bit number for transmitting a code word, and G1 is determined according to the first code rate threshold and the length of the first sequence.
[0015] In the implementation manners, the communication apparatus can accurately select a suitable segmentation manner for segmenting the first sequence according to the relationship between the first code rate and the first code rate threshold and the second code rate threshold, and the selected segmentation manner matches the segmentation requirement of the first sequence (such as the requirement of more or less segments), thereby effectively segmenting the first sequence.
[0016] In a possible implementation manner, when the first segmentation manner is the target segmentation manner, C can be obtained by the communication apparatus performing an integer operation on the ratio of G1 to N max ; or
[0017] When the second segmentation manner is the target segmentation manner, C can be obtained by the communication apparatus performing a down-integer operation on the ratio of G to N max ; or
[0018] When the third segmentation manner is the target segmentation manner, C can be obtained by the communication apparatus performing an up-integer operation on the ratio of G to N max .
[0019] In the implementation manners, different methods for calculating the number of segments C are used for different segmentation manners, so that the method for calculating the number of segments C matches the selected segmentation manner, and the segmentation accuracy is ensured.
[0020] In a possible implementation manner, the method further includes:
[0021] If the number of segments C1 determined based on the second segmentation manner is less than the first number threshold, the communication apparatus can take the sum of C1 and 1 as C.
[0022] In the implementation manners, the relationship between the number of segments C1 determined based on the second segmentation manner and the first number threshold is considered, so that a more suitable segmentation manner is selected for segmenting the first sequence, and the segmentation requirement of the first sequence is better met.
[0023] In a possible implementation manner, if the first code rate is greater than the second code rate threshold, the communication apparatus determines that the third segmentation manner is the target segmentation manner, including:
[0024] If the first code rate is greater than the second code rate threshold, and the first value is not 0, the communication apparatus can determine that the third segmentation manner is the target segmentation manner, where the first value is obtained by the communication apparatus performing a remainder operation on G and N max .
[0025] In the implementation manners, if the first value is not 0 on the basis that the first code rate is greater than the second code rate threshold, the communication apparatus can also accurately select the third segmentation manner as the target segmentation manner.
[0026] In a possible implementation, the method further includes:
[0027] If the first code rate is greater than the second code rate threshold and less than or equal to the third code rate threshold, and the length of the first sequence is greater than the length threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner; or,
[0028] If the first code rate is greater than the second code rate threshold and less than or equal to the third code rate threshold, and the length of the first sequence is less than or equal to the length threshold, the communication apparatus can determine the third segmentation manner as the target segmentation manner; or,
[0029] If the first code rate is greater than the third code rate threshold, the communication apparatus can determine the third segmentation manner as the target segmentation manner.
[0030] In the implementation, the communication apparatus can accurately select a suitable segmentation manner for segmenting the first sequence according to the first code rate and the length of the first sequence, which helps to obtain better segmentation performance and better decoding performance.
[0031] In a possible implementation, the length threshold can be pre-configured (or pre-defined), or the length threshold can be determined based on the first code rate.
[0032] For example, when the length threshold is pre-configured, the length threshold (such as length threshold A1) is related to N max . For example, when N max is 2 n ×N0, the length threshold A1 can be a value in the range [2 n ×b1, 2 n ×b2], or the length threshold A1 can be a value greater than 2 n ×b2. Wherein, N0 is a reference mother code length (such as 1024), b2 > b1, and n is an integer greater than or equal to 0. By considering the relationship between the length of the first sequence and the length threshold A1, the segmentation method can support segmentation of longer mother code length, can support segmentation of larger transport blocks, and has better segmentation performance.
[0033] When the length threshold is determined based on the first code rate, the length threshold (such as the length threshold F) can be determined according to the first code rate, the first parameter, and the second parameter, such as F = (P0*R-P1). Wherein, R is used to represent the first code rate, the parameter P0 is used to represent the value of the first parameter, and the parameter P1 is used to represent the value of the second parameter. The value of the first parameter is greater than the value of the second parameter. By considering the relationship between the length of the first sequence and the linear function (P0*R-P1), the segmentation manner can be more refined, so that the selected segmentation manner can be more suitable for segmenting the first sequence.
[0034] In a possible implementation, if the first segmentation manner or the second segmentation manner is the target segmentation manner, the rate matching manner corresponding to each of the C segments of the second sequence is repetition, or,
[0035] If the third segmentation manner is the target segmentation manner, the rate matching manner corresponding to each of the C segments of the second sequence is one of puncturing or shortening.
[0036] In the above implementation, different segmentation manners correspond to matched rate matching manners. Therefore, after the communication device selects a suitable segmentation manner for segmenting the first sequence, the communication device can perform rate matching on the code word corresponding to each of the C segments of the second sequence based on the rate matching manner corresponding to each of the C segments of the second sequence. For example, taking the first segmentation manner as the target segmentation manner as an example. After the communication device selects a suitable first segmentation manner for segmenting the first sequence, C segments of the second sequence are obtained. Then, based on the fact that the rate matching manner corresponding to the first segmentation manner is repetition (which can be understood as the fact that the rate matching manner corresponding to each of the C segments of the second sequence obtained based on the first segmentation manner is repetition), the communication device can perform rate matching on the code word corresponding to each of the C segments of the second sequence by using the repetition rate matching manner. In this way, in a high-throughput scenario, the repetition rate matching manner can simplify the construction of the encoding module (polar encoding module), reduce the chip area of the encoding module, and help improve the chip area utilization efficiency in the high-throughput scenario.
[0037] In a possible implementation, the communication device determines the target segmentation manner corresponding to the first sequence according to the first code rate, including:
[0038] If the first code rate is less than the fourth code rate threshold, the communication device can determine the fourth segmentation manner as the target segmentation manner; or,
[0039] If the first code rate is greater than the fourth code rate threshold, the communication device can determine the fifth segmentation manner as the target segmentation manner; or,
[0040] If the first code rate is equal to the fourth code rate threshold, the communication apparatus can determine the fourth segmentation manner or the fifth segmentation manner as the target segmentation manner.
[0041] The fourth segmentation manner and the fifth segmentation manner are determined based on the maximum mother code length.
[0042] In the implementation manners, the communication apparatus can more accurately select a segmentation manner for segmenting the first sequence according to the relationship between the first code rate and the fourth code rate threshold, and the selected segmentation manner is matched with the segmentation requirement of the first sequence, so that better segmentation performance can be achieved.
[0043] In a possible implementation manner, when the fourth segmentation manner is the target segmentation manner, C can be obtained by the communication apparatus based on the second resource bit number G1 and the maximum mother code length N max , or C can be obtained by the communication apparatus based on the first resource bit number G and N max , or
[0044] When the fifth segmentation manner is the target segmentation manner, C can be obtained by the communication apparatus based on the ratio of G and N max .
[0045] G1 is determined by the communication apparatus according to the first code rate threshold and the length of the first sequence, and G is the total resource bit number for transmitting the code word.
[0046] In the implementation manners, different methods for calculating the segmentation number C are used for different segmentation manners, so that the method for calculating the segmentation number C is matched with the selected segmentation manner, and the segmentation accuracy can be ensured.
[0047] In a possible implementation manner, if the fourth segmentation manner is the target segmentation manner, the rate matching manner corresponding to each of the C segments of the second sequence can be repetition, or
[0048] If the fifth segmentation manner is the target segmentation manner, the rate matching manner corresponding to each of the C segments of the second sequence can be one of puncturing and shortening, or the rate matching manner corresponding to each of the C segments of the second sequence can be repetition.
[0049] In the above implementation, different segmentation manners correspond to matched rate matching manners, so that after the communication apparatus selects a proper segmentation manner for segmenting the first sequence, the communication apparatus can perform rate matching on the code word corresponding to each segment of the second sequence based on the rate matching manner corresponding to each segment of the second sequence. For example, taking the fourth segmentation manner as an example. After the communication apparatus selects a proper fourth segmentation manner for segmenting the first sequence, C segments of the second sequence are obtained. Then, based on the fact that the rate matching manner corresponding to the fourth segmentation manner is repetition (it can be understood that the rate matching manner corresponding to each segment of the second sequence obtained based on the fourth segmentation manner is repetition), the communication apparatus can perform rate matching on the code word corresponding to each segment of the C segments of the second sequence by using the rate matching manner of repetition. In this way, in a high-throughput scenario, the rate matching manner of repetition can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high-throughput scenario.
[0050] In a possible implementation, if C is less than the second quantity threshold, C is the second quantity threshold; wherein the second quantity threshold is determined according to the first resource bit number G and the maximum length after rate matching of each segment of the code word, and G is the total resource bit number used for transmitting the code word.
[0051] In the above implementation, considering that the maximum length after rate matching of each segment of the code word supported by the interleaver is limited, in order to ensure that C cannot be too small, if C is less than the second quantity threshold, the communication apparatus can take the second quantity threshold as C. In this way, this implementation can not only ensure that the length after rate matching of each segment of the code word does not exceed the maximum length supported by the interleaver, but also ensure the segmentation performance to some extent.
[0052] In a second aspect, the present application provides a communication apparatus, which has the functions of the first aspect, for example, the communication apparatus includes modules or units or means corresponding to the operations of the first aspect, and the functions or units or means can be implemented by software or hardware, or by executing corresponding software by hardware.
[0053] In a possible implementation, the communication apparatus includes a transceiver unit (or can be referred to as a communication module or a transceiver module or a communication module, which is used for transmitting and receiving data) and a processing unit (or can be referred to as a processing module), wherein the transceiver unit can be used for transceiving signals to realize the communication between the communication apparatus and other apparatuses, for example, the transceiver unit is used for transmitting data to other devices; the processing unit can be used for performing some internal operations of the communication apparatus. The functions performed by the transceiver unit and the processing unit can correspond to the operations of the first aspect.
[0054] In a possible implementation, the communication apparatus includes a processor, which can be configured to be coupled with a memory. The memory can store computer programs or instructions necessary for implementing the functions related to the first aspect. The processor can execute the computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the communication apparatus can implement the method in any possible implementation of the first aspect.
[0055] In a possible implementation, the communication apparatus includes a processor and a memory, and the memory can store computer programs or instructions necessary for implementing the functions related to the first aspect. The processor can execute the computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the communication apparatus can implement the method in any possible implementation of the first aspect.
[0056] In a possible implementation, the communication apparatus includes a processor and an interface circuit (or a communication interface), wherein the processor is configured to communicate with other apparatuses through the interface circuit and execute the method in any possible implementation of the first aspect. The interface circuit is configured to enable the communication apparatus to communicate with other apparatuses, for example, to receive signals from other communication apparatuses and transmit the signals to the processor or transmit signals from the processor of the communication apparatus to other communication apparatuses, such as transmission or reception of data and / or signals. Exemplarily, the communication interface can be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.
[0057] It can be understood that, in the second aspect, the processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, or the like. When implemented by software, the processor can be a general-purpose processor, which implements by reading software codes stored in the memory. In addition, the processor can be one or more, and the memory can be one or more. The memory can be integrated with the processor, or the memory and the processor can be separately arranged. In a specific implementation process, the memory and the processor can be integrated on the same chip, or can be separately arranged on different chips. The type of the memory and the arrangement manner of the memory and the processor are not limited in the embodiments of the present application.
[0058] In a third aspect, the present application provides a possible communication system, which can include the communication apparatus in the first aspect. The functions of the communication apparatus can be implemented by referring to the related description in the first aspect, which will not be repeated here.
[0059] For example, the number of communication apparatuses can be one or more, which is not limited in the present application.
[0060] In a fourth aspect, the present application provides a computer program product, which comprises computer programs or instructions, and when the computer programs or instructions are run on a communication device (or a computer), the communication device (or the computer) is caused to perform the method in any possible implementation manner of the first aspect.
[0061] In a fifth aspect, the present application provides a computer readable storage medium, which stores computer programs or instructions, and when the computer programs or instructions are executed by a communication device (or a computer), the communication device (or the computer) is caused to perform the method in any possible implementation manner of the first aspect.
[0062] In a sixth aspect, the present application provides a chip, which can comprise a processor, and can further comprise a memory (or the chip is coupled with the memory), and the chip executes program instructions in the memory, so as to cause the chip to perform the method in any possible implementation manner of the first aspect. The "coupled" means that two components are directly or indirectly combined with each other, for example, the coupling can mean that the two components are electrically connected.
[0063] In a seventh aspect, the present application further provides a chip system, which comprises a processor, and is used for supporting a computer device to implement the method in any possible implementation manner of the first aspect. In a possible implementation manner, the chip system further comprises a memory, which is used for saving necessary programs and data of the computer device. The chip system can be constituted by a chip, or can comprise the chip and other discrete devices.
[0064] On the basis of the implementation manners of the aspects provided in the present application, further combinations can be made to provide more implementation manners. BRIEF DESCRIPTION OF DRAWINGS
[0065] FIG. 1 exemplarily shows a communication system architecture diagram provided by an embodiment of the present application;
[0066] FIG. 2 exemplarily shows a coding and decoding flow diagram provided by an embodiment of the present application;
[0067] FIG. 3 exemplarily shows a flow diagram of a segmentation method provided by an embodiment of the present application;
[0068] FIG. 4a exemplarily shows a simulation result diagram provided by an embodiment of the present application;
[0069] FIG. 4b exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0070] FIG. 4c exemplarily shows still another simulation result diagram provided by an embodiment of the present application;
[0071] FIG. 4d exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0072] FIG. 4e exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0073] FIG. 4f exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0074] FIG. 4g exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0075] FIG. 4h exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0076] FIG. 4i exemplarily shows another simulation result diagram provided by an embodiment of the present application;
[0077] FIG. 5 exemplarily shows a structure diagram of a possible communication apparatus provided by an embodiment of the present application;
[0078] FIG. 6 exemplarily shows a structure diagram of another possible communication apparatus provided by an embodiment of the present application. DETAILED DESCRIPTION
[0079] Before introducing the technical solutions provided by the present application, first, some terms involved in the present application are explained and described, so as to facilitate the understanding of the skilled in the art.
[0080] (1) Bit sequence to be encoded (such as the first sequence or the second sequence)
[0081] The bit sequence to be encoded refers to the bit sequence before channel coding or to be channel coded, for example, the bits are 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1 in turn, and the bit sequence to be encoded is 10101100101.
[0082] (2) Code length
[0083] The code length refers to the length of the bit sequence to be sent obtained by encoding the information bit sequence. The code length is greater than or equal to the length of the information bit sequence.
[0084] (3) Code rate
[0085] The code rate is the ratio of the length of the information bit sequence to the code length.
[0086] The length of the information bit sequence, the code length and the code rate can be pre-configured by high layer signaling, MAC layer signaling or downlink physical layer signal, and can also be obtained or calculated by the sending device and the receiving device. Illustratively, the sending device and the receiving device can determine the code length according to the encoding mode, the frame structure for sending the information bits, the number of layers and the modulation scheme. Illustratively, the sending device and the receiving device can obtain the code rate based on high layer signaling, MAC layer signaling or downlink physical layer signal, or determine the code rate according to the modulation and coding scheme (MCS).
[0087] (4) Low density parity check (LDPC) code
[0088] The LDPC code is a channel coding scheme very close to the Shannon line, with good performance and low complexity, and has been determined by the 3rd generation partnership project (3GPP) to be the coding and decoding scheme of the data channel of the 5th generation (5G) mobile communication. The mainstream application of LDPC code has a quasi-cycle (QC) structure, which avoids bad structures such as short cycles by setting the translation amount of each block to improve the code distance.
[0089] The LDPC code can be represented using a base matrix, the elements in the base matrix being 0 or 1, the element 1 in the base matrix being expanded into a cyclic shift matrix of Zc*Zc, and the element 0 in the base matrix being expanded into a zero matrix of Zc*Zc. After expansion, a check matrix is obtained, which can be used for encoding or decoding. Wherein, Zc can be referred to as an expansion factor, a lifting factor, an expansion value, an expansion coefficient, a lifting size, etc. The base matrix can be represented as H_BG, wherein BG is an abbreviation for base graph. The base matrix can also be represented by a base graph, and the two have a corresponding relationship.
[0090] (5) Polar code
[0091] The polar code is a coding scheme that can be strictly proven to "reach" the Shannon channel capacity, with good decoding performance and low complexity, and has been determined by the 3GPP to be the control channel coding scheme for the enhanced mobile broadband (eMBB) scenario.
[0092] (6) Rate matching
[0093] The data block before encoding is called a transport block (TB), and because the number of bits of a TB is large, the sending end usually splits one TB into multiple code blocks (CBs), and each CB is separately channel-encoded. Because the length of the code word output by channel encoding may not be consistent with the number of physical time-frequency resource bits of the code block to be transmitted, the code block to be transmitted needs to be bit-retransmitted or punctured or shortened to match the carrying capacity of the physical time-frequency resource, and this process is called rate matching. Multiple CBs that have been channel-encoded need to be rate-matched, then interleaved, concatenated, and the like, and then transmitted to the receiving end as a physical data block (code word). The following further describes the rate matching method in three cases.
[0094] a. Puncture: "Puncture" refers to directly drilling holes in some positions of a Polar code of an encoding length and not transmitting, and an arbitrary-length Polar code encoding bit sequence is generated by this method. At the decoding side, because there is no information quantity corresponding to the "punctured" position, the log likelihood ratio (LLR) of the corresponding bit is set to 0.
[0095] b. Shorten: "Shorten" is another common rate matching method, which is to design a Polar code such that some positions in the encoding bit sequence are fixed values, and therefore do not need to be transmitted. At the decoding side, because the corresponding "shortened" position is equivalent to being known (usually 0) at the receiving end, the LLR of the corresponding bit is set to infinity.
[0096] c. Repetition: "Repetition" refers to transmitting part of the code word bits repeatedly to obtain a longer Polar code encoding bit sequence.
[0097] (7) Modulation and coding scheme (MCS)
[0098] MCS defines that one resource unit (RE) (or can be referred to as a resource unit or a resource element or a resource particle) can carry a number of valid bits. The higher the MCS index, the higher the number of valid bits that can be carried.
[0099] For example, MCS defines two parts, namely a modulation scheme and a coding rate.
[0100] For modulation scheme: 5G New Radio (or can be referred to as new radio (NR)) supports optional modulation schemes including quadrature phase shift keying (QPSK), 16 quadrature amplitude modulation (QAM), 64 QAM and 256 QAM. Using QPSK, each RE can transmit 2 bits of information, using 16 QAM can transmit 4 bits, using 64 QAM can transmit 6 bits, and using 256 QAM can transmit 8 bits.
[0101] For coding rate: the ratio between useful bits and total transmission bits (useful bits + redundancy bits) is used to measure the redundancy added by the physical layer. Redundancy bits are used for forward error correction (FEC). The lower the coding rate, the more redundancy is added.
[0102] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0103] The following describes the communication system architecture to which the segmentation method provided by the present application is applicable. These descriptions are for the convenience of those skilled in the art and do not limit the scope of protection required by the present application.
[0104] The segmentation method provided by the embodiments of the present application can be applied to various communication systems, such as an internet of things (IoT) system, a non-terrestrial network (NTN) communication system (e.g., a satellite communication system, a high altitude platform station (HAPS) communication system), a narrow band internet of things (NB-IoT) system, a 4G communication system (e.g., a long term evolution (LTE) system), a worldwide interoperability for microwave access (WiMAX) communication system, a 5G communication system (e.g., an NR system), and a future mobile communication system, etc.
[0105] FIG. 1 exemplarily shows a schematic diagram of a communication system architecture to which embodiments of the present application are applicable. As shown in FIG. 1, the communication system architecture can include a network device and a terminal device. Wherein, the number of network devices is taken as 1, and the number of terminal devices is taken as 2 (such as terminal device A and terminal device B) as an example. Wherein, when the network device is the sending end, the terminal device A or the terminal device B is the receiving end; when the terminal device A or the terminal device B is the sending end, the network device is the receiving end.
[0106] The terminal device described above can also be referred to as a terminal, a user equipment (UE), a mobile station, a mobile terminal, etc. The terminal device can be widely applied to various scenarios, such as device-to-device (D2D) communication, vehicle to everything (V2X) communication, machine-type communication (MTC), internet of things (IoT), virtual reality, augmented reality, industrial control, automatic driving, remote medical treatment, smart power grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal device can be a mobile phone, a tablet computer (Pad), a personal digital assistant (PDA) computer, a virtual reality (VR) device, an augmented reality (AR) device, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a mechanical arm, a smart home device, a vehicle-mounted terminal, an IoT terminal, a wearable device, etc. The embodiments of the present application do not limit the specific technology and specific device form of the terminal device.
[0107] The network device can also be referred to as an access network (AN) device, or a radio access network (RAN) device, or an access node, etc. For example, the network device can be a base station, an evolved Node B (eNodeB), a transmitter and receiver point (TRP), an integrated access and backhauling (IAB) node, a future base station in a 5G communication system (gNB), a base station in a future mobile communication system, a base station in other future mobile communication systems, or an access node in a WiFi system, a home base station (e.g., home eNodeB, or home Node B (HNB)), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, etc. It can also be a module or unit that completes part of the functions of a base station, e.g., it can be a central unit (CU) or a distributed unit (DU). The CU here completes the functions of the radio resource control protocol and the packet data convergence protocol (PDCP) of the base station, and can also complete the function of the service data adaptation protocol (SDAP); the DU completes the functions of the radio link control layer and the medium access control (MAC) layer of the base station, and can also complete part of the physical layer or the entire physical layer. For specific descriptions of the above-mentioned various protocol layers, reference can be made to the relevant technical specifications of 3GPP. The network device can also be a non-terrestrial base station, such as a low earth orbit (LEO) / very low earth orbit (VLEO) satellite, a HAPS, and can also be a terminal that undertakes the function of a network device in V2X, D2D, and machine to machine (M2M) communication, etc.
[0108] In the embodiments of the present application, the functions of the network device can also be performed by a module (such as a chip) in the network device, or can be performed by a control subsystem containing the functions of the network device. The control subsystem containing the functions of the network device herein can be a control center in the above-mentioned application scenarios such as smart power grids, industrial control, smart transportation, and smart cities. The functions of the terminal device can also be performed by a module (such as a chip or a modem) in the terminal device, or can be performed by a device containing the functions of the terminal device.
[0109] Still taking the communication system shown in FIG. 1 as an example, in order to ensure the reliability of communication between devices, the sending end (or can be referred to as a sending device) can perform encoding processing on the information to be sent, and the receiving end (or can be referred to as a receiving device) can perform decoding processing on the information to be decoded corresponding to the information to be sent. Referring to the encoding and decoding process shown in FIG. 2, the source of the sending end sequentially undergoes source encoding, channel encoding, and modulation to output modulation symbols, and the receiving end receives the modulation symbols and sequentially undergoes demodulation, channel decoding, and source recovery to obtain a sink. Based on the sink, the receiving end can obtain useful information. For example, the sending end is a terminal device in the communication system shown in FIG. 1, and the receiving end is a network device in the communication system shown in FIG. 1; or the sending end is a network device in the communication system shown in FIG. 1, and the receiving end is a terminal device in the communication system shown in FIG. 1; or the sending end and the receiving end are different terminal devices in the communication system shown in FIG. 1.
[0110] The function modules in the encoding and decoding process shown in FIG. 2 will be briefly introduced below.
[0111] Source encoding can reduce the redundancy of signals as much as possible to transmit more information with less overhead, thereby increasing the effectiveness of the system. It can be understood that source encoding is to encode the source to obtain a sequence of information bits, which can also be referred to as a sequence of message bits. Correspondingly, at the receiving end, the source recovery corresponding to the source encoding is to recover the symbol sequence after channel decoding processing to obtain a sink.
[0112] Channel coding is adding appropriate redundancy in the information bit sequence obtained by source coding to obtain a coded sequence, which is a bit sequence including information bits and check bits. The bit sequence can also be understood as a one-dimensional signal. The length of the information bit sequence refers to the number of information bits in the information bit sequence, and the length of the coded sequence refers to the number of code word bits in the coded sequence. The length of the coded sequence can be referred to as the coding length or code length. The ratio between the length of the information bit and the length of the coded sequence is referred to as the code rate or coding code rate. Through channel coding, the receiving end can correct a certain degree of transmission errors according to the check bits to increase the reliability of the system. At the receiving end, channel decoding corresponds to channel coding, and channel decoding is to recover the correct data bits from the demodulated symbol sequence (which may add various noises of the channel).
[0113] Modulation is to output the code word bit sequence obtained by channel coding in a certain form, such as converting the bit sequence obtained by channel coding into a form that can be transmitted by the channel. In an actual communication system, source coding is usually completed in the application layer, and channel coding and modulation are usually completed in the physical layer. At the receiving end, demodulation corresponds to modulation, and the function of demodulation is opposite to that of modulation.
[0114] The following introduces a segmentation scheme in the related art.
[0115] A segmentation scheme for a to-be-coded sequence studied by the inventor is that if the length A of the to-be-coded sequence is greater than or equal to 360 and the transmission code length (or can be referred to as the transmission code length) E after rate matching is greater than or equal to 1088, or if the length A of the to-be-coded sequence is greater than or equal to 1013, the sending device can divide the to-be-coded sequence into two segments evenly, otherwise the sending device does not segment the to-be-coded sequence. Wherein, 0
[0116] However, the above segmentation scheme is simple, but the maximum to-be-coded sequence length supported is 1076, which cannot support segmentation of a larger to-be-coded sequence length. In addition, the above segmentation scheme supports a maximum mother code length of 1024, and does not support segmentation of a longer mother code length. The maximum mother code length refers to the maximum length of the code word sequence that the encoder (decoder) can output (decode) without rate matching.
[0117] Obviously, the above traditional segmentation scheme limits the length of the to-be-coded sequence to be within the length range (0, 1076], so it cannot support effective segmentation of a to-be-coded sequence with a larger length, and because the mother code length is limited to be within the length range (0, 1024], it also cannot support segmentation of a larger mother code length.
[0118] In view of this, the application provides a segmentation method for effectively segmenting a to-be-encoded sequence.
[0119] The implementation of the segmentation method in the embodiments of the application will be described in detail below with reference to the drawings.
[0120] FIG. 3 shows a flowchart of a segmentation method provided by an embodiment of the application. The method is applicable to the communication system architecture shown in FIG. 1. It can be understood that the segmentation method shown in FIG. 3 can be executed by a communication device or by a module (such as a processor, a processing unit, a chip system, a circuit or a chip) in the communication device. Alternatively, the segmentation method shown in FIG. 3 can also be implemented by a logic node, a logic module or software capable of implementing all or part of the functions of the communication device. For example, the communication device can be a terminal device, a network device or another type of device, or can be a module in a terminal device, a network device or another type of device, and the embodiments of the application do not limit the specific type of the communication device. For the convenience of description, the segmentation method shown in FIG. 3 is taken as an example to be executed by a communication device, and the implementation process of the segmentation method can include the following steps.
[0121] Step 301: The communication device acquires a first sequence.
[0122] For example, in the embodiments of the application, the communication device shown in FIG. 3 can be an encoding device (or can be referred to as an encoding end or a sending device or a sending end, such as a device for sending an encoded sequence).
[0123] The first sequence can be a to-be-encoded bit sequence. Alternatively, the first sequence can also be referred to as a first information bit sequence, a to-be-encoded information bit sequence, a to-be-encoded sequence, a to-be-encoded sequence, or a code stream.
[0124] For example, the first sequence can include one or more information bits (or message bits). For example, the first sequence includes m information bits, that is, the length of the first sequence can be understood as m. Wherein, m is an integer greater than or equal to 1. It can be understood that the information bit can refer to a bit carrying information. Alternatively, the information bit can be referred to as a to-be-transmitted payload information bit or an original information bit. For example, the information bit can be an information bit obtained through source encoding.
[0125] Step 302: The communication device determines a target segmentation manner corresponding to the first sequence according to a first code rate.
[0126] Step 303: The communication device segments the first sequence according to the target segmentation manner to obtain C second sequences.
[0127] The first code rate refers to a code rate of current encoding (i.e., a code rate used for encoding the first sequence). For example, the first code rate can refer to a ratio of a number of information bits included in the first sequence (or a length of the first sequence) to a code length after rate matching (or a length of an encoded sequence (also referred to as a code word) corresponding to the first sequence), or can refer to a ratio of the number of information bits included in the first sequence (or the length of the first sequence) to the first resource bit number G. The G is a total resource bit number (also referred to as a total physical resource bit number or a total transmission resource bit number) used for transmitting a code word (also referred to as an encoded code word or a channel-encoded code word). For example, the first code rate can be preconfigured, or can be acquired by the communication device based on high-layer signaling, MAC layer signaling or a downlink physical layer signal, or can be determined by the communication device based on an MCS used, and the embodiments of the present application do not limit this.
[0128] For example, the G can be pre-defined (or pre-configured), or can be acquired through the following steps. The G is acquired through the following steps:
[0129] Step a, determining a number N of resource elements (REs) corresponding to transmission of one TB RE .
[0130] For example, the N RE may be determined through the following formula:
[0131] wherein, is 12, is used to represent a number of orthogonal frequency division multiplexing (OFDM) symbols scheduled in one slot, and the number of OFDM symbols can be 14 or 12 at most, is used to represent a number of REs of a demodulation reference signal (DMRS) in one physical resource block (PRB), is used to represent a number of overhead REs configured by a high-layer parameter.
[0132] Step b, determining the G based on a modulation order Qm and a number of transmission layers v.
[0133] For example, the G can be determined through the following formula: G = N RE * Qm * v.
[0134] wherein, Qm is used to represent a modulation order, and v is used to represent a number of transmission layers.
[0135] In the embodiments of the present application, the communication device can dynamically determine a corresponding segmentation manner for segmenting the first sequence according to the first code rate corresponding to the first sequence, so that the segmentation of the first sequence is more accurate and better segmentation performance can be obtained. Then, the communication device can segment the first sequence according to the determined segmentation manner (i.e., the target segmentation manner) to obtain C second sequences. Wherein, C is related to the target segmentation manner. For example, C being related to the target segmentation manner can mean that C has a corresponding relationship (or can be called an association relationship or a mapping relationship) with the target segmentation manner, or C can be determined according to the target segmentation manner. In addition, the communication device selects different segmentation manners according to the code rate, which can reduce the chip area overhead caused by complex rate matching such as puncturing or shortening while obtaining excellent segmentation performance, and obtain a compromise between performance and complexity. It can be understood that, taking the first sequence as the TB for example, the segmentation performance refers to the error rate of the TB. Different segmentation manners will result in different TB error rates, and the lower the TB error rate, the better the segmentation performance. Wherein, the TB error rate is equal to the product of the number of CBs in a TB and the error probability of the CBs, i.e., PTB=NCB×PCB. Wherein, PTB is the probability of a TB error, NCB is the number of CBs contained in a TB, and PCB is the error probability of a CB. The segmentation manner will affect NCB and PCB and thus affect the segmentation performance PTB. Furthermore, the segmentation manner will also affect the rate matching manner of each CB. In some segmentation manners, only simple repetition is required for rate matching to obtain better segmentation performance, while in other segmentation manners, complex rate matching such as puncturing or shortening is required to obtain better segmentation performance.
[0136] For example, in one example, the target segmentation manner can be the first segmentation manner. In another example, the target segmentation manner can be the second segmentation manner. In yet another example, the target segmentation manner can be the third segmentation manner. Wherein, the first segmentation manner is based on the second resource bit number G1 and the maximum mother code length N max The second segmentation manner and the third segmentation manner are determined based on the first resource bit number G and the maximum mother code length N max Wherein, G1 is determined according to the first code rate threshold and the length of the first sequence.
[0137] The first segmentation manner, the second segmentation manner and the third segmentation manner are introduced as follows.
[0138] (1) The first segmentation manner (such as segmentation manner 3 or segmentation scheme 3): a minimum code rate limiting long segmentation manner of a mother code with a first code rate threshold, and a rate matching manner corresponding to each segmental code word (which can be understood as a code word obtained after each segmental sequence after segmentation is subjected to channel coding) is repetition (which can also be referred to as simple repetition).
[0139] In the first segmentation manner, the minimum code rate corresponding to each segmental sequence after segmentation is limited to the first code rate threshold (which can also be referred to as a preset code rate threshold, such as 1 / 8). When the first code rate is lower than the first code rate threshold, the communication apparatus can forcibly reduce the physical resources used for segmentation. Then, the communication apparatus can segment the first sequence based on the reduced physical resources, so that the code rate of each segmental sequence after segmentation can be improved, that is, the code rate corresponding to each segmental sequence after segmentation is the first code rate threshold. Wherein, the physical resources (i.e. remaining physical resources) not used for segmentation can be evenly distributed to each segmental code word for repetition rate matching. For example, each segmental code word is distributed to x resource bits, and then the communication apparatus can repeatedly send the first x bits of each segmental code word.
[0140] For example, taking the first code rate as R, the first code rate threshold as Rthr, and the length of the first sequence as TBS as an example. For a data channel, R can be determined from an MCS table according to the current channel condition, and G used for segmentation is given. For example, the communication apparatus can select a corresponding row in the MCS table shown in Table 1 according to a first field (such as a 5-bit field) included in the downlink control information (DCI), so as to find the corresponding coding rate and modulation order. Wherein, the first field is used to indicate the index of the MCS.
[0141] Table 1
[0142] In order to improve the code rate of each segmental code word after segmentation, one segmentation manner is that the communication apparatus can first determine the minimum physical resource Genc (i.e. G1) used for segmentation according to the first code rate threshold. Then, the communication apparatus can segment the first sequence according to Genc. It should be understood that if the communication apparatus segments the first sequence by using the first segmentation manner, the rate matching manner corresponding to each segmental sequence after segmentation is repetition (which can be understood as the rate matching manner adopted by each segmental code word is repetition).
[0143] For example, the specific implementation of the first segmentation manner can be represented by the following pseudo code.
[0144] Rthr = 1 / 8; / / first code rate threshold (i.e. preset minimum code rate)
[0145] if R < Rthr
[0146] Genc = TBS / Rthr; / / Calculate the number of resource bits used for mother code encoding
[0147] C = floor(Genc / N max ); / / Determine the number of segments (also referred to as segment quantity) C according to Genc, which is not limited in the way of rounding, and here is an example of down rounding operation (i.e. floor())
[0148] Kr = ceil(TBS / C); / / The number of message bits contained in each segment sequence after segmentation, ceil() is used to represent the rounding operation.
[0149] Er = floor(G / C); / / The length of each segment code word after rate matching (also referred to as segment length), that is, the transmission code length (also referred to as sending code length) of each segment sequence after channel coding and rate matching after segmentation
[0150] end
[0151] If G > C * Er
[0152] padding(G - C * Er) 0's at the end of resources; / / Since the segment length Er is based on the down rounding operation of G / C, the C segment code words may not fill the total resource bit number G, so the remaining (G - C * Er) resource bits can be filled with 0
[0153] end
[0154] (2) Second segmentation method (such as segmentation method 1 or segmentation scheme 1): mother code length segmentation method, and the rate matching method used in each segment code word is repetition.
[0155] In the second segmentation method, the segment quantity C = floor(G / N max ); / / One segment less, the remaining resources are repeated. The number of message bits contained in each segment sequence after segmentation is Kr = ceil(TBS / C). The segment length Er = floor(G / C); r = {1, 2, 3, …, C}.
[0156] According to the second segmentation manner, the segmentation number C is a down rounding operation based on the mother code length, so that the code length Er of each segment is longer than the mother code length N0, and thus the rate matching manner used by each segment code word is repetition based on the mother code length. For example, assuming that the number of bits available for transmission (i.e., the transmission code length) Er = 10, and the mother code length output by the channel encoder (i.e., the length of each segment code word output by the channel encoder) N0 = 8, so that rate matching to 10 is required, i.e., the first 2 bits in the mother code word (i.e., each segment code word output by the channel encoder) are repeatedly transmitted.
[0157] In addition, since the code length Er of each segment is a down rounding operation based on G / C, the C segment code words can not fill the total resource bits G, so that the remaining (G-C*Er) resource bits can be filled with 0, as shown in the following pseudo code.
[0158] if G>C*Er
[0159] padding(G-C*Er)0’s at the end of resources
[0160] end
[0161] (3) The third segmentation manner (such as segmentation manner 2 or segmentation scheme 2): a uniform segmentation manner, and the rate matching manner used by each segment code word is multiplexing the rate matching manner in NR. It can be understood that the rate matching manner in NR here can be the rate matching manner based on 32-length sub-block interleaving, or can be the rate matching manner not based on 32-length sub-block interleaving, and the embodiments of the present application do not limit this.
[0162] The rate matching manner in the NR standard is determined according to the relationship between the current code rate and the transmission code length Er and the mother code length N0.
[0163] In one example, if N0 is less than or equal to Er, the rate matching manner used by each segment code word is repetition, i.e., for each segment code word, the first (Er-N0) bits of the segment code word are repeatedly transmitted from front to back. In another example, if N0 is greater than Er, it is further necessary to determine the rate matching manner of each segment code word according to the relationship between the current code rate R and the code rate threshold (such as 7 / 16). When R is less than or equal to 7 / 16, the rate matching manner used by the communication apparatus for each segment code word is puncturing. When R is greater than 7 / 16, the rate matching manner used by the communication apparatus for each segment code word is shortening.
[0164] In the third segmentation manner, the segmentation number C = ceil(G / N max); / / more likely a segment, each segment code word adopts a rate matching way. Each segmented sequence contains message bits Kr = ceil(TBS / C). Each segment code length Er = floor(G / C); r = {1, 2, 3, …, C}.
[0165] According to the third segmentation manner, the segmentation number C is an upward rounding operation based on the mother code length, so that the segment code length Er is shorter than the mother code length N0, and thus the rate matching way adopted by each segment code word is one of puncturing or shortening. In this way, in the case that the segment code length Er is shorter than the mother code length N0, if R is less than or equal to a code rate threshold (such as 7 / 16), then for each segment code word, the rate matching way adopted by the communication apparatus is puncturing. If R is greater than 7 / 16, then for each segment code word, the rate matching way adopted by the communication apparatus is shortening.
[0166] It should be understood that the difference between the second segmentation manner and the third segmentation manner is that the rate matching way adopted by each segment code word is not the same, and compared with the third segmentation manner, the second segmentation manner is simpler and easier to implement for the corresponding rate matching way of each segmented sequence obtained by segmenting the first sequence.
[0167] In addition, since the segment code length Er is a downward rounding operation based on G / C, the C segment code words can not occupy the total resource bit number G, and thus the remaining (G-C*Er) resource bits can be filled with 0, as shown in the following pseudo code.
[0168] if G>C*Er
[0169] padding(G-C*Er) 0’s at the end of resources
[0170] end
[0171] In the embodiments of the present application, the above three segmentation manners are all based on the resource bit number (such as G or Genc) and the mother code length N0 to determine the segmentation number C obtained. In addition, there is an alternative way to determine the segmentation number C, that is, the alternative way is that the communication apparatus can first determine the to-be-transmitted bit number (that is, the length of the to-be-encoded sequence or the length of the to-be-transmitted sequence or the length of the first sequence) TBS according to G and the current code rate R, that is, TBS = G*R. Then, the communication apparatus can determine the segmentation number C according to TBS and the message bit number Kcb carried by each segment code word. For example, for the above first segmentation manner, the segmentation number C = floor(TBS / Kcb), or the segmentation number C = ceil(TBS / Kcb), etc. For the above second segmentation manner, the segmentation number C = floor(TBS / Kcb). For the above third segmentation manner, the segmentation number C = ceil(TBS / Kcb). max In addition, there is an alternative way to determine the segmentation number C, that is, the alternative way is that the communication apparatus can first determine the to-be-transmitted bit number (that is, the length of the to-be-encoded sequence or the length of the to-be-transmitted sequence or the length of the first sequence) TBS according to G and the current code rate R, that is, TBS = G*R. Then, the communication apparatus can determine the segmentation number C according to TBS and the message bit number Kcb carried by each segment code word. For example, for the above first segmentation manner, the segmentation number C = floor(TBS / Kcb), or the segmentation number C = ceil(TBS / Kcb), etc. For the above second segmentation manner, the segmentation number C = floor(TBS / Kcb). For the above third segmentation manner, the segmentation number C = ceil(TBS / Kcb).
[0172] For example, the implementation process of the communication apparatus determining the target segmentation manner corresponding to the first sequence according to the first code rate is introduced below through the following possible implementation manners.
[0173] Implementation manner one: the communication apparatus can determine the target segmentation manner corresponding to the first sequence according to the first code rate, the first code rate threshold and the second code rate threshold.
[0174] In one example, if the first code rate is less than or equal to the first code rate threshold, the communication apparatus can determine the first segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the first segmentation manner to obtain C' pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequence to obtain a code word (also referred to as code word bits) corresponding to each piece of the second sequence. For example, the channel coding manner can include but is not limited to Polar coding or LDPC coding, etc. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequence, respectively. For example, the communication apparatus can determine, according to the first segmentation manner, that the rate matching manner corresponding to each piece of the second sequence in the C' pieces of the second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequence by using the rate matching manner of repetition, respectively. For example, for the code word corresponding to each piece of the second sequence, the communication apparatus can repeatedly send the first (Er-N0) bits (also referred to as the first (Er-N0) bits from front to back) in the code word corresponding to the second sequence. In this way, in a high throughput scenario, by using the rate matching manner of repetition, the construction of the coding module (polar coding module) can be simplified, so that the chip area of the coding module is reduced, which helps to improve the chip area utilization efficiency in a high throughput scenario.
[0175] For example, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 7 / 16, the first segmentation manner as scheme3, and the second segmentation manner as scheme1, and the third segmentation manner as scheme2. If R is less than 1 / 8, the communication apparatus can segment sequence 1 by using scheme3 to obtain C' pieces of sequence 2. Then, the communication apparatus can perform channel coding on each piece of sequence 2 in the C' pieces of sequence 2 to obtain a code word corresponding to each piece of sequence 2. Then, based on the rate matching manner corresponding to each piece of sequence 2 in the C' pieces of sequence 2 being repetition, the communication apparatus can perform rate matching on the code word corresponding to each piece of sequence 2 by using the rate matching manner of repetition, respectively.
[0176] In another example, if the first code rate is greater than the first code rate threshold and the first code rate is less than or equal to the second code rate threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the second segmentation manner to obtain a C" segmented second sequence. Next, the communication apparatus can channel encode each segmented second sequence in the C" segmented second sequence to obtain a code word corresponding to each segmented second sequence, respectively. Subsequently, the communication apparatus can rate match the code word corresponding to each segmented second sequence, respectively. For example, the communication apparatus can determine, according to the second segmentation manner, that the rate matching manner corresponding to each segmented second sequence in the C" segmented second sequence is repetition. Then, the communication apparatus can rate match the code word corresponding to each segmented second sequence according to the rate matching manner corresponding to each segmented second sequence, respectively. For example, for the code word corresponding to each segmented second sequence, the communication apparatus can repeat the first (Er-N0) bits in the code word corresponding to the segmented second sequence. In this way, in a high throughput scenario, the repetition rate matching manner can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high throughput scenario.
[0177] For example, continuing with the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 7 / 16, the first segmentation manner as scheme 3, and the second segmentation manner as scheme 1, and the third segmentation manner as scheme 2. If R is greater than 1 / 8 and R is less than or equal to 7 / 16, the communication apparatus can segment sequence 1 according to scheme 1 to obtain a C" segmented sequence 2. Then, the communication apparatus can channel encode each segmented sequence 2 in the C" segmented sequence 2 to obtain a code word corresponding to each segmented sequence 2, respectively. Then, based on the rate matching manner corresponding to each segmented sequence 2 in the C" segmented sequence 2 being repetition, the communication apparatus can rate match the code word corresponding to each segmented sequence 2 according to the rate matching manner corresponding to each segmented sequence 2, respectively.
[0178] In yet another example, if the first code rate is greater than the second code rate threshold, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain a C"' segmented second sequence. Next, the communication apparatus can channel encode each segmented second sequence in the C"' segmented second sequence to obtain a code word corresponding to each segmented second sequence, respectively. Subsequently, the communication apparatus can rate match the code word corresponding to each segmented second sequence, respectively. For example, the communication apparatus can determine, according to the third segmentation manner, that the rate matching manner corresponding to each segmented second sequence in the C"' segmented second sequence is one of puncturing or shortening. Then, the communication apparatus can rate match the code word corresponding to each segmented second sequence according to the rate matching manner corresponding to each segmented second sequence, respectively.
[0179] For example, when the rate matching manner corresponding to a segment of the C''' segment of the second sequence is puncturing, the communication apparatus can perform rate matching on the code word corresponding to the segment of the second sequence by using the puncturing rate matching manner. For example, for the code word corresponding to the segment of the second sequence, the communication apparatus can puncture the first (N0-Er) bits (also referred to as the (N0-Er) bits from the front) in the code word corresponding to the segment of the second sequence. When the rate matching manner corresponding to a segment of the C''' segment of the second sequence is shortening, the communication apparatus can perform rate matching on the code word corresponding to the segment of the second sequence by using the shortening rate matching manner. For example, for the code word corresponding to the segment of the second sequence, the communication apparatus can shorten the first (N0-Er) bits in the code word corresponding to the segment of the second sequence.
[0180] For example, continuing to take the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 7 / 16, the first segmentation manner as scheme 3, the second segmentation manner as scheme 1, and the third segmentation manner as scheme 2 as examples. If R is greater than 7 / 16, the communication apparatus can select scheme 2 to segment sequence 1 to obtain the C''' segment of sequence 2. Then, the communication apparatus can perform channel coding on each segment of sequence 2 in the C''' segment of sequence 2 to obtain the code word corresponding to each segment of sequence 2, respectively. Then, based on the rate matching manner corresponding to each segment of sequence 2 in the C''' segment of sequence 2 being puncturing or shortening, the communication apparatus can perform rate matching on the code word corresponding to each segment of sequence 2 according to the rate matching manner corresponding to each segment of sequence 2, respectively. For example, when the rate matching manner corresponding to a segment of sequence 2 in the C''' segment of sequence 2 is puncturing, the communication apparatus can perform rate matching on the code word corresponding to the segment of sequence 2 by using the puncturing rate matching manner. When the rate matching manner corresponding to a segment of sequence 2 in the C''' segment of sequence 2 is shortening, the communication apparatus can perform rate matching on the code word corresponding to the segment of sequence 2 by using the shortening rate matching manner.
[0181] Optionally, when the first code rate is equal to the first code rate threshold, the communication apparatus can also determine the second segmentation manner as the target segmentation manner.
[0182] Optionally, when the first code rate is equal to the second code rate threshold, the communication apparatus can also determine the third segmentation manner as the target segmentation manner.
[0183] The implementation process in which the communication apparatus determines the third segmentation manner as the target segmentation manner is described below by using the following possible examples.
[0184] Example 1: If the first code rate is greater than or equal to the second code rate threshold and the first value is not 0, the communication apparatus can determine the third segmentation manner as the target segmentation manner.
[0185] wherein the first value is obtained by performing a remainder operation on G and N max , i.e., the first value = mod(G, N max ).
[0186] For example, taking the first code rate as R, the first code rate threshold as Rthr, and the second code rate threshold as R1. If the first value is not 0 and R is greater than or equal to R1, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain a C”’-segment second sequence.
[0187] For example, Rthr can take any value in the interval [1 / 8, 1 / 4], such as Rthr = 1 / 8. R1 can take any value in the interval [7 / 16, 9 / 16], such as R1 = 7 / 16, or R1 = 1 / 2.
[0188] Alternatively, corresponding to the above example one, the communication apparatus can also determine the second segmentation manner as the target segmentation manner in the following possible ways. Way one, if the first code rate is less than or equal to the second code rate threshold and the first code rate is greater than the first code rate threshold, and / or the first value is 0, and / or the number of segments determined according to the formula floor(G / N max ) is greater than the first number threshold (such as the first number threshold = 9), the communication apparatus can determine the second segmentation manner as the target segmentation manner. Way two, if the first code rate is less than or equal to the second code rate threshold and the first code rate is greater than the first code rate threshold, and / or the first value is 0, and / or the number of segments determined according to the formula floor(G / N max ) is equal to the first number threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the second segmentation manner to obtain a C”-segment second sequence.
[0189] Alternatively, corresponding to the above example one, the communication apparatus can also determine the third segmentation manner as the target segmentation manner in the following possible ways. Way one, if the first value is not 0 and the number of segments determined according to the formula floor(G / N max ) is less than the first number threshold (such as 9), the communication apparatus can also determine the third segmentation manner as the target segmentation manner. Way two, if the first value is not 0 and the number of segments determined according to the formula floor(G / N max ) is equal to the first number threshold, the communication apparatus can also determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain a C”’-segment second sequence.
[0190] The following describes the determination of C in the first implementation mode above through the following possible examples.
[0191] Example a: when the first segmentation mode is the target segmentation mode, C is obtained by rounding down the ratio of G1 (i.e., Genc) to N. max
[0192] It can be understood that C determined in example a can refer to the above C'.
[0193] In one example, C can be obtained by rounding down the ratio of G1 to N. max , such as C = floor(G1 / N max ). Similarly, C can also be obtained by rounding up the ratio of G1 to N max , such as C = ceil(G1 / N max )-1.
[0194] In another example, C can also be obtained by rounding up the ratio of G1 to N max , such as C = ceil(G1 / N max ). Similarly, C can also be obtained by rounding down the ratio of G1 to N max , such as C = floor(G1 / N max )+1.
[0195] Example b: when the second segmentation mode is the target segmentation mode, C is obtained by rounding down the ratio of G to N. max
[0196] It can be understood that C determined in example b can refer to the above C".
[0197] For example, C in example b can satisfy the following formula: C = floor(G / N max ).
[0198] Similarly, when the second segmentation mode is the target segmentation mode, C can also be obtained by rounding up the ratio of G to N max , such as C = ceil(G / N max )-1.
[0199] Example c: when the third segmentation mode is the target segmentation mode, C is obtained by rounding up the ratio of G to N. max
[0200] It can be understood that C determined in example c can refer to the above C".
[0201] For example, C in example c can satisfy the following formula: C = ceil(G / N max ).
[0202] Similarly, when the third segmentation manner is the target segmentation manner, C can also be obtained by performing a floor operation on the ratio of G and N max , and then adding 1, such as C = floor(G / N max ) + 1.
[0203] Optionally, when the number of segments C1 determined based on the second segmentation manner (here, C1 can be understood as the above-mentioned C”, such as C1 = floor(G / N max ) or C1 = ceil(G / N max ) - 1) is less than the first number threshold, the sum of C1 and 1 is C (here, C can be understood as the above-mentioned C”’, such as C”’ = floor(G / N max ) + 1 or C”’ = ceil(G / N max )). In other words, when the number of segments C1 determined based on the second segmentation manner is less than the first number threshold, the communication apparatus can also select the third segmentation manner for segmenting the first sequence, that is, determine C according to the third segmentation manner, such as C = ceil(G / N max ).
[0204] Optionally, if C determined in the above-mentioned example a, example b or example c is less than a second number threshold, the communication apparatus can take the second number threshold as C. The second number threshold can be determined according to G and the maximum length of each segment after rate matching of the code word. For example, the second number threshold satisfies the following formula: C min = ceil(G / E max ). Wherein C min is used to represent the second number threshold, and E max is used to represent the maximum length of each segment after rate matching of the code word. For example, considering that the maximum length of each segment after rate matching of the code word supported by the interleaver is limited, if C is less than C min , then C = C min .
[0205] Based on the above-mentioned example one, in one example, the specific implementation that the communication apparatus determines that the first segmentation manner, the second segmentation manner or the third segmentation manner is the target segmentation manner can be represented by the following segmentation pseudo code. Wherein, the following segmentation pseudo code takes Rthr as 1 / 8, R1 as 7 / 16, the first number threshold as 9, and the maximum transmission code length (that is, the maximum length of each segment of the code word after rate matching supported by the interleaver) E max as 7936 as an example.
[0206] Based on the above example one, in another example, the specific implementation that the communication device determines the first segmentation mode, the second segmentation mode or the third segmentation mode as the target segmentation mode can be expressed by the following segmentation pseudo code. Wherein, the following segmentation pseudo code takes Rthr as 1 / 8, R1 as 7 / 16, the first number threshold is 9, and the maximum transmission code length supported by the interleaver is E max Take 7936 as an example for introduction.
[0207] Based on the above example one, in another example, the specific implementation that the communication device determines the first segmentation mode, the second segmentation mode or the third segmentation mode as the target segmentation mode can be expressed by the following segmentation pseudo code. This example can reduce the padding bits as much as possible by introducing (mod(G,Nmax)≥CRC_Length / R). Wherein, the following segmentation pseudo code takes Rthr as 1 / 8, R1 as 7 / 16, the first number threshold is 9, and the maximum transmission code length supported by the interleaver is E max Take 7936 as an example for introduction.
[0208] if R≤1 / 8
[0209] C=floor(TBS×8 / N max )
[0210] else
[0211] C=ceil(G / N max )
[0212] if((R>7 / 16)||(C<9))&&(mod(G,N max )!=0)&&(mod(G,N max )≥CRC_Length / R)
[0213] C=C+1
[0214] Endif / / If((R>7 / 16)||(C<9))&&(mod(G,N max )!=0)&&(mod(G,N max )≥CRC_Length / R)
[0215] endif / / R≤1 / 8
[0216] Cmin=floor(G / E max )
[0217] if C<Cmin
[0218] C=Cmin
[0219] endif / / C<Cmin
[0220] In one example, the simulation result diagram (also referred to as the simulation effect diagram) corresponding to the above segmentation pseudo code provided by the embodiments of the present application is introduced in combination with FIG. 4a. Referring to FIG. 4a, the maximum mother code length N max = 4096, the transport block size TBS = 4096~128000, and the transport block decoding performance (also understood as the transport block segmentation performance) under different segmentation manners are shown. The horizontal axis is the transport block size (TBS), and the vertical axis is the decoding performance corresponding to different segmentation manners, that is, the signal to noise ratio (SNR) (also referred to as EsNo) required to reach the block error rate (BLER) of 0.01, wherein the EsNo is the ratio of the signal power and the noise power. As can be seen from FIG. 4a, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4a, different segmentation manners correspond to different decoding performances. Furthermore, the area division shown in FIG. 4a is relatively accurate, and the relationship between the number of segments determined according to the formula floor(G / N max ) and the first number threshold 9 (the first number threshold 9 shown in FIG. 4a is determined according to the criterion that the performance loss is less than 0.3 dB) is fully considered. In addition, as can be seen from FIG. 4a, different areas correspond to different segmentation manners, such as the suitable segmentation manner corresponding to area 1 is scheme2, the suitable segmentation manner corresponding to area 2 is scheme1, and the suitable segmentation manner corresponding to area 3 is scheme3. The code rate threshold of 7 / 16 is used for the division of area 1 and area 2 shown in FIG. 4a. The code rate threshold 7 / 16 is the same as the code rate demarcation point of NR puncturing and shortening. In this way, within the area 1 shown in FIG. 4a, if R is greater than or equal to 7 / 16, the rate matching manner used by the communication apparatus for the code word corresponding to each segmented sequence after segmentation by scheme2 is shortening. If R is less than or equal to 7 / 16, the rate matching manner used by the communication apparatus for the code word corresponding to each segmented sequence after segmentation by scheme2 is puncturing.
[0221] In another example, the simulation result diagram corresponding to the above segmentation pseudo code provided by the embodiments of the present application is introduced in combination with FIG. 4b. Referring to FIG. 4b, the maximum mother code length N max= 1024, TBS = 1000 ~ 32000, and the transmission block decoding performance under different segmentation manners. In the figure, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, i.e., the SNR (also referred to as EsNo) required to reach a BLER of 0.01. As can be seen from figure 4b, the lower the curve, the better the decoding performance. Moreover, as can be seen from figure 4b, different segmentation manners correspond to different decoding performances. Furthermore, the region division shown in figure 4b is relatively accurate, and fully considers the relationship between the number of segments determined according to the formula floor(G / N max ) and the first number threshold 9 (the first number threshold 9 shown in figure 4b is determined according to the criterion that the performance loss is less than 0.3 dB). In addition, as can be seen from figure 4b, different regions correspond to different segmentation manners, such as the suitable segmentation manner corresponding to region 1 is scheme 2, the suitable segmentation manner corresponding to region 2 is scheme 1, and the suitable segmentation manner corresponding to region 3 is scheme 3. In the regions 1 and 2 shown in figure 4b, the code rate threshold used for division is 7 / 16, which is the same as the code rate demarcation point of NR puncturing and shortening. In this way, in the region 1 shown in figure 4b, if R is greater than or equal to 7 / 16, the rate matching manner used by the communication device for the code word corresponding to each segmented sequence after segmentation using scheme 2 is shortening. If R is less than or equal to 7 / 16, the rate matching manner used by the communication device for the code word corresponding to each segmented sequence after segmentation using scheme 2 is puncturing.
[0222] Based on the above segmentation pseudo code and in combination with figure 4a or figure 4b, it can be seen that, according to R and considering the relationship between the number of segments determined based on the second segmentation manner and the first number threshold 9, the segmentation method can select a more suitable segmentation manner to segment the first sequence in different regions, so as to obtain better segmentation performance and decoding performance (or obtain lower decoding complexity). It can be understood that only scheme 2 needs to use puncturing or shortening rate matching manner. For example, the rate matching manner used by scheme 2 can be the rate matching manner based on 32 long sub-block interleaving of NR, or can be the rate matching manner not based on 32 long sub-block interleaving. The rate matching manner used by scheme 1 and scheme 3 is based on simple repetition, which is simpler to implement than the rate matching manner of scheme 2, and the performance is close to or even better than the performance of scheme 2. In addition, using the repetition rate matching manner can reduce the chip area overhead caused by complex rate matching such as puncturing or shortening, and obtain a compromise between performance and complexity.
[0223] Optionally, the communication apparatus can also determine the target segmentation manner corresponding to the first sequence according to the first code rate, the first code rate threshold and the third code rate threshold. For example, when the first code rate is less than or equal to the first code rate threshold, the communication apparatus can determine the first segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the first segmentation manner to obtain C' pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequences to obtain a code word (also referred to as code word bits) corresponding to each piece of the second sequences. For example, the channel coding manner can include, but is not limited to, Polar coding or LDPC coding, etc. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences respectively. For example, the communication apparatus can determine, according to the first segmentation manner, that the rate matching manner corresponding to each piece of the second sequences in the C' pieces of the second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences respectively by using the rate matching manner of repetition. For example, for the code word corresponding to each piece of the second sequences, the communication apparatus can repeatedly send the first (Er-N0) bits (also referred to as the first (Er-N0) bits from front to back) in the code word corresponding to the piece of the second sequences. In this way, in a high throughput scenario, by using the rate matching manner of repetition, the construction of the coding module (polar coding module) can be simplified, so that the chip area of the coding module is reduced, which helps to improve the chip area utilization efficiency in a high throughput scenario. For example, the third code rate threshold can be represented as R2. For example, R2 can take any value in the interval [2 / 3, 1], for example, R2 can take 2 / 3, or R2 can also take 3 / 4.
[0224] For another example, if the first code rate is greater than the first code rate threshold and less than or equal to the third code rate threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the second segmentation manner to obtain C" pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequences to obtain a code word corresponding to each piece of the second sequences. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences respectively. For example, the communication apparatus can determine, according to the second segmentation manner, that the rate matching manner corresponding to each piece of the second sequences in the C" pieces of the second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences respectively by using the rate matching manner of repetition. For example, for the code word corresponding to each piece of the second sequences, the communication apparatus can repeatedly send the first (Er-N0) bits in the code word corresponding to the piece of the second sequences.
[0225] For example, if the first code rate is greater than the third code rate threshold, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain C"'pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequences to obtain a code word corresponding to each piece of the second sequences, respectively. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences, respectively. For example, the communication apparatus can determine, according to the third segmentation manner, that the rate matching manner corresponding to each piece of the second sequences is one of puncturing or shortening. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences according to the rate matching manner corresponding to each piece of the second sequences, respectively.
[0226] The following example illustrates the implementation process of determining the third segmentation manner as the target segmentation manner by the communication apparatus. For example, if the first code rate is greater than or equal to the third code rate threshold and the first value is not 0, the communication apparatus can determine the third segmentation manner as the target segmentation manner. The related description of the first value can refer to the related description of the first example above, which will not be repeated here.
[0227] For example, taking the first code rate R, the first code rate threshold Rthr, and the third code rate threshold R2 as examples. If the first value is not 0 and R is greater than or equal to R2, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain C2' pieces of second sequences. For example, Rthr can take any value in the interval [1 / 8, 1 / 4], such as 1 / 8.
[0228] Alternatively, the communication apparatus can also determine the third segmentation manner as the target segmentation manner in the following possible ways. Way one, if the first value is not 0 and the number of segments determined according to the formula floor(G / N max ) is less than the first number threshold (such as 9), the communication apparatus can also determine the third segmentation manner as the target segmentation manner. Way two, if the first value is not 0 and the number of segments determined according to the formula floor(G / N max ) is equal to the first number threshold, the communication apparatus can also determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain C2" pieces of second sequences.
[0229] Optionally, corresponding to the above example that the communication device determines the third segmentation manner as the target segmentation manner, the communication device can also determine the second segmentation manner as the target segmentation manner in the following possible ways. In the first way, if the first code rate is less than or equal to the third code rate threshold and the first code rate is greater than the first code rate threshold, and / or the first value is 0, and / or the number of segments determined according to the formula floor(G / N max ) is greater than the first number threshold (such as 9), the communication device can determine the second segmentation manner as the target segmentation manner. In the second way, if the first code rate is less than or equal to the third code rate threshold and the first code rate is greater than the first code rate threshold, and / or the first value is 0, and / or the number of segments determined according to the formula floor(G / N max ) is equal to the first number threshold, the communication device can determine the second segmentation manner as the target segmentation manner. Then, the communication device can segment the first sequence according to the second segmentation manner to obtain a C2”’-segment second sequence.
[0230] Based on the above example that the communication device determines the target segmentation manner according to the first code rate, the first code rate threshold, and the third code rate threshold, the specific implementation of the communication device determining the first segmentation manner, the second segmentation manner, or the third segmentation manner as the target segmentation manner can be represented by the following segmentation pseudo code. In the following segmentation pseudo code, Rthr is taken as 1 / 8, R2 is taken as 3 / 4, the first number threshold is 9, the maximum transmission code length E max supported by the interleaver is taken as 7936, and the example of Rthr is taken as 1 / 8, R2 is taken as 3 / 4, the first number threshold is 9, the maximum transmission code length E
[0231] In the following, the simulation result diagram corresponding to the above segmentation pseudo code provided by the embodiments of the present application is introduced in conjunction with FIG. 4c. Referring to FIG. 4c, the transmission block decoding performance under different segmentation manners is shown when N max = 4096 and TBS = 8192-128000. In the diagram, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, that is, the SNR (also referred to as EsNo) required to reach BLER of 0.01. As can be seen from FIG. 4c, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4c, different segmentation manners correspond to different decoding performances. Furthermore, the area division shown in FIG. 4c is relatively accurate, and fully considers the relationship between the number of segments determined according to the formula floor(G / N max ) and the first number threshold. In addition, as can be seen from FIG. 4c, different areas correspond to different segmentation manners, such as scheme2 for the appropriate segmentation manner of area 1, scheme1 for the appropriate segmentation manner of area 2, and scheme3 for the appropriate segmentation manner of area 3. In the diagram, the code rate threshold used for dividing area 1 and area 2 shown in FIG. 4c is 3 / 4.
[0232] Based on the above segmenting pseudo code and in combination with Fig. 4c, it can be seen that the segmenting method can select a more suitable segmenting manner to segment the first sequence in different regions according to R and in consideration of the relationship between the segmenting number determined based on the second segmenting manner and the first number threshold, so that better segmenting performance and decoding performance (or lower decoding complexity) can be obtained. It can be understood that only scheme 2 needs to use the puncturing or shortening rate matching manner. For example, the rate matching manner used by scheme 2 can be rate matching based on 32-length sub-block interleaving, or can be rate matching not based on 32-length sub-block interleaving. The rate matching manners used by scheme 1 and scheme 3 are both based on simple repetition, which are simpler to implement than the rate matching manner of scheme 2, and the performance is close to or even better than the performance of scheme 2.
[0233] Example II: If the first code rate is greater than or equal to the second code rate threshold, the communication apparatus can determine the third segmenting manner as the target segmenting manner.
[0234] For example, continuing to take R as the first code rate, Rthr as the first code rate threshold, and R1 as the second code rate threshold, if R is greater than R1 or R is equal to R1, the communication apparatus can determine the third segmenting manner as the target segmenting manner. Then, the communication apparatus can segment the first sequence according to the third segmenting manner to obtain C”’ second sequences.
[0235] Based on the above example II, the specific implementation of the communication apparatus to determine the first segmenting manner, the second segmenting manner, or the third segmenting manner as the target segmenting manner can be represented by the following segmenting pseudo code.
[0236] Based on the above example II, in a possible implementation, if the communication apparatus does not need to consider the length of the first sequence in the process of determining one of the first segmenting manner, the second segmenting manner, or the third segmenting manner as the target segmenting manner, the communication apparatus can implement the determination of the target segmenting manner according to the above segmenting pseudo code.
[0237] In the following, the simulation result diagram corresponding to the above segmenting pseudo code (i.e., the segmenting pseudo code not considering the length of the first sequence) provided by the embodiments of the present application is introduced in combination with Fig. 4d. Referring to Fig. 4d, N max= 4096, TBS = 8192 ~ 128000, and the transmission block decoding performance under different segmentation manners. In the figure, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, i.e., the SNR (also referred to as EsNo) required to reach a BLER of 0.01. As can be seen from FIG. 4d, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4d, different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme 2 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 2 is higher than the decoding performance corresponding to scheme 1, so scheme 2 can be used as the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme 1 is lower than the curve corresponding to scheme 2, and thus the decoding performance corresponding to scheme 1 is higher than the decoding performance corresponding to scheme 2, so scheme 1 can be used as the most suitable segmentation manner in region 2. In region 3, the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 2, and the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 3 is higher than the decoding performance corresponding to scheme 2, and the decoding performance corresponding to scheme 3 is also higher than the decoding performance corresponding to scheme 1, so scheme 3 can be used as the most suitable segmentation manner in region 3.
[0238] Based on the above segmentation pseudo code and in combination with FIG. 4d, it can be seen that, according to R, the segmentation method can select a suitable segmentation manner to segment the first sequence in different regions, so as to obtain a better decoding performance. Moreover, because the method only needs to select a matching segmentation manner for the segmentation of the first sequence according to R, and the judgment parameters required for region division (also referred to as interval division or segmentation manner division or segmentation interval division) are relatively few, the division regions can be described relatively simply, and thus the description is simple. It can be understood that only scheme 2 needs to use a puncturing or shortened rate matching manner. For example, the rate matching manner used by scheme 2 can be rate matching based on 32-long sub-block interleaving, or can be rate matching not based on 32-long sub-block interleaving. The rate matching manners used by scheme 1 and scheme 3 are both based on simple repetition, and are simpler to implement than the rate matching manner of scheme 2, and the performance is close to or even better than the performance of scheme 2.
[0239] In another possible implementation, if the communication apparatus needs to consider the length of the first sequence in determining one of the first segmentation manner, the second segmentation manner or the third segmentation manner as the target segmentation manner, the related implementation of the communication apparatus in determining the target segmentation manner can refer to the following implementation two.
[0240] In a second implementation, the communication apparatus can determine the target segmentation manner corresponding to the first sequence according to the first code rate, the length of the first sequence, the length threshold, the second code rate threshold, and the third code rate threshold.
[0241] For example, the third code rate threshold can be denoted as R2. For example, R2 can take any value in the interval [2 / 3, 1], such as R2 can take 2 / 3, or R2 can also take 3 / 4.
[0242] The following describes the related implementation of the above-mentioned second implementation by means of the following possible examples.
[0243] Example 1: If the first code rate is less than or equal to the first code rate threshold, the communication apparatus can determine the first segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the first segmentation manner to obtain C' pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequence to obtain a code word corresponding to each piece of the second sequence. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequence, respectively. For example, the communication apparatus can determine that the rate matching manner corresponding to each piece of the second sequence in the C' pieces of the second sequences is repetition according to the first segmentation manner. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequence by using the rate matching manner of repetition. For example, for the code word corresponding to each piece of the second sequence, the communication apparatus can repeatedly transmit the first (Er-N0) bits in the code word corresponding to the second sequence. In this way, in a high-throughput scenario, the rate matching manner of repetition can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high-throughput scenario.
[0244] For example, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 1 / 2, the third code rate threshold as 3 / 4, the first segmentation manner as scheme3, and the second segmentation manner as scheme1, and the third segmentation manner as scheme2. If R is less than or equal to 1 / 8, the communication apparatus can segment sequence 1 by using scheme3, so as to obtain C' pieces of sequence 2. Then, the communication apparatus can perform channel coding on each piece of sequence 2 in the C' pieces of sequence 2 to obtain a code word corresponding to each piece of sequence 2. Then, based on the rate matching manner corresponding to each piece of sequence 2 in the C' pieces of sequence 2 being repetition, the communication apparatus can perform rate matching on the code word corresponding to each piece of sequence 2 by using the rate matching manner of repetition.
[0245] In Example 2, if the first code rate is greater than the first code rate threshold and the first code rate is less than or equal to the second code rate threshold, or if the first code rate is greater than the second code rate threshold and the first code rate is less than or equal to the third code rate threshold and the length of the first sequence is greater than the length threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the second segmentation manner to obtain C" second sequences. Next, the communication apparatus can perform channel coding on each of the C" second sequences to obtain a code word corresponding to each of the C" second sequences, respectively. Subsequently, the communication apparatus can perform rate matching on the code word corresponding to each of the C" second sequences, respectively. For example, the communication apparatus can determine, according to the second segmentation manner, that the rate matching manner corresponding to each of the C" second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each of the C" second sequences according to the rate matching manner corresponding to each of the C" second sequences, respectively. For example, for the code word corresponding to each of the C" second sequences, the communication apparatus can perform repetition on the first (Er- N0) bits of the code word corresponding to each of the C" second sequences. In this way, in a high throughput scenario, the repetition rate matching manner can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high throughput scenario.
[0246] Optionally, corresponding to the Example 2, if the first code rate is greater than the first code rate threshold and the first code rate is less than or equal to the second code rate threshold, the communication apparatus can also determine the second segmentation manner as the target segmentation manner. In this way, the communication apparatus can determine the second segmentation manner as the target segmentation manner by the following manner: if the first code rate is greater than the first code rate threshold and the first code rate is less than or equal to the second code rate threshold, or if the first code rate is greater than the second code rate threshold and the first code rate is less than or equal to the third code rate threshold and the length of the first sequence is greater than the length threshold, the communication apparatus can determine the second segmentation manner as the target segmentation manner.
[0247] In Example 3, if the first code rate is greater than the second code rate threshold and the first code rate is less than or equal to the third code rate threshold and the length of the first sequence is less than or equal to the length threshold, or if the first code rate is greater than the third code rate threshold, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain C"' second sequences. Next, the communication apparatus can perform channel coding on each of the C"' second sequences to obtain a code word corresponding to each of the C"' second sequences, respectively. Subsequently, the communication apparatus can perform rate matching on the code word corresponding to each of the C"' second sequences, respectively. For example, the communication apparatus can determine, according to the third segmentation manner, that the rate matching manner corresponding to each of the C"' second sequences is one of puncturing or shortening. Then, the communication apparatus can perform rate matching on the code word corresponding to each of the C"' second sequences according to the rate matching manner corresponding to each of the C"' second sequences, respectively.
[0248] It can be understood that the boundary condition that the first code rate is equal to the second code rate threshold can also be placed in example 3, and the boundary condition that the length of the first sequence is equal to the length threshold can also be placed in example 2, and embodiments of the present application do not limit this.
[0249] Optionally, the length threshold described in the above examples 2 and 3 can be preconfigured or can also be determined based on the first code rate.
[0250] In one example, when the length threshold described in the above examples 2 and 3 is preconfigured, the length threshold (for example, the length threshold can be denoted as A1) described in the above examples 2 and 3 is related to N max At this time, the length threshold A1 can be used as a switching point of the second segmentation manner and the third segmentation manner. That is, it can be understood that in the case that the first code rate is greater than the second code rate threshold and the first code rate is less than or equal to the third code rate threshold, if the length of the first sequence is greater than the length threshold, the communication device selects the second segmentation manner to segment the first sequence, and if the length of the first sequence is less than or equal to the length threshold, the communication device selects the third segmentation manner to segment the first sequence.
[0251] For example, the length threshold A1 being related to N max may mean that the length threshold A1 is related to N max in a corresponding manner, or may also mean that the length threshold A1 is determined according to N max . For example, after N max is given, the value range of the length threshold A1 is determined according to the acceptable segmentation manner performance loss.
[0252] Optionally, when N max is 2 n N0, the length threshold A1 can be a value in the value range [2 n ×b1, 2 n ×b2], or the length threshold A1 can also be a value greater than 2 n ×b2. Wherein, N0 is a reference mother code length (such as 1024), b2>b1, and n is an integer greater than or equal to 0. For example, if N max =1024, the length threshold A1 can be selected as any value between [5504,7104]. If N max =2048, the length threshold A1 can be selected as any value greater than or equal to [11008,14208]. If N max =4096, the length threshold A1 can be selected as any value greater than or equal to [22016,28416]. If N maxIf = 8192, the length threshold A1 can be selected as any value greater than or equal to [44032, 56832]. It should be understood that the value range of the length threshold A1 corresponding to a larger mother code length can be analogously deduced, which will not be listed one by one here.
[0253] Exemplarily, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 1 / 2, the third code rate threshold as 3 / 4, the first segmentation scheme as scheme3, the second segmentation scheme as scheme1, the third segmentation scheme as scheme2, and the length threshold as A1 for example. If R is greater than 1 / 8 and R is less than or equal to 1 / 2 and the length of sequence 1 is greater than the length threshold A1, or if R is greater than 1 / 8 and R is less than or equal to 1 / 2, the communication apparatus can select scheme1 to segment sequence 1, so that C” sequences 2 can be obtained. Then, the communication apparatus can perform channel coding on each sequence 2 in the C” sequences 2, respectively, to obtain the code word corresponding to each sequence 2. Then, based on the rate matching manner corresponding to each sequence 2 in the C” sequences 2 being repetition, the communication apparatus can perform rate matching on the code word corresponding to each sequence 2, respectively, by using the rate matching manner of repetition.
[0254] If R is greater than 1 / 2 and R is less than or equal to 3 / 4 and the length of sequence 1 is less than or equal to the length threshold A1, or if R is greater than 3 / 4, the communication apparatus can select scheme2 to segment sequence 1, so that C”’ sequences 2 can be obtained. Then, the communication apparatus can perform channel coding on each sequence 2 in the C”’ sequences 2, respectively, to obtain the code word corresponding to each sequence 2. Then, based on the rate matching manner corresponding to each sequence 2 in the C”’ sequences 2 being puncturing or shortening, the communication apparatus can perform rate matching on the code word corresponding to each sequence 2, respectively, according to the rate matching manner corresponding to each sequence 2. For example, when the rate matching manner corresponding to a sequence 2 in the C”’ sequences 2 is puncturing, the communication apparatus can perform rate matching on the code word corresponding to the sequence 2 by using the rate matching manner of puncturing. When the rate matching manner corresponding to a sequence 2 in the C”’ sequences 2 is shortening, the communication apparatus can perform rate matching on the code word corresponding to the sequence 2 by using the rate matching manner of shortening.
[0255] It can be understood that the determination process of C in the above-mentioned implementation mode two can refer to the determination process of C in the above-mentioned implementation mode one, which will not be described here. Alternatively, if the C determined in the above-mentioned implementation mode two is less than the second quantity threshold, the communication apparatus can take the second quantity threshold as C. Wherein, the related description about the second quantity threshold can refer to the related introduction of the above-mentioned implementation mode one, which will not be described here.
[0256] For example, when the length threshold described in the above example 2 and example 3 is pre-configured, the implementation of the communication device determining that the first segmentation manner, the second segmentation manner or the third segmentation manner is the target segmentation manner can be expressed by the following segmentation pseudo code.
[0257] The following describes the simulation result diagram corresponding to the above segmentation pseudo code (i.e., the segmentation pseudo code considering the length of the first sequence) provided by the embodiment of the application in combination with FIG. 4e. Referring to FIG. 4e, N max = 4096, TBS = 8192 ~ 128000, and the transport block decoding performance under different segmentation manners. In the diagram, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, i.e., the SNR (also referred to as EsNo) required to reach a BLER of 0.01. As can be seen from FIG. 4e, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4e, different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme 2 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 2 is higher than the decoding performance corresponding to scheme 1, so scheme 2 can be the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme 1 is lower than the curve corresponding to scheme 2, and thus the decoding performance corresponding to scheme 1 is higher than the decoding performance corresponding to scheme 2, so scheme 1 can be the most suitable segmentation manner in region 2. In region 3, the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 2, and the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 3 is higher than the decoding performance corresponding to scheme 2, and the decoding performance corresponding to scheme 3 is also higher than the decoding performance corresponding to scheme 1, so scheme 3 can be the most suitable segmentation manner in region 3.
[0258] Based on the above segmentation pseudo code and in combination with FIG. 4e, it can be seen that, according to R and TBS, the segmentation method can select a more suitable segmentation manner to segment the first sequence in different regions, so as to obtain better segmentation performance and decoding performance. It can be understood that only scheme 2 needs to use the puncturing or shortened rate matching manner. For example, the rate matching manner used by scheme 2 can be NR rate matching based on 32-long sub-block interleaving, or can be rate matching not based on 32-long sub-block interleaving. The rate matching manners used by scheme 1 and scheme 3 are both based on simple repetition, which are simpler to implement than the rate matching manner of scheme 2, and the performance is close to or even better than the performance of scheme 2.
[0259] In another example, when the length threshold described in the above example 2 and example 3 is determined based on the first code rate, the length threshold described in the above example 2 and example 3 can be determined according to the first code rate, a first parameter and a second parameter. The value of the first parameter is greater than the value of the second parameter.
[0260] For example, taking the first parameter as P0 and the second parameter as P1, the length threshold described in the above example 2 and example 3 can satisfy the following formula:
[0261] F = (P0*R-P1).
[0262] Wherein, F is used to represent the length threshold, R is used to represent the current code rate, P0 can be 189400, and P1 can be 66290.
[0263] For example, when the length threshold described in the above example 2 and example 3 is determined based on the first code rate, the implementation of the communication device determining the first segmentation mode, the second segmentation mode or the third segmentation mode as the target segmentation mode can be represented by the following segmentation pseudo code. The following segmentation pseudo code is introduced taking R1 as 1 / 2 and R2 as 3 / 4 as an example.
[0264] In the following, the simulation result diagram corresponding to the above segmentation pseudo code (i.e. the segmentation pseudo code considering the length of the first sequence) provided by the embodiments of the application is introduced in combination with FIG. 4f. Referring to FIG. 4f, N max= 4096, TBS = 8192 ~ 128000, and the transport block decoding performance under different segmentation manners. In the figure, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, that is, the SNR (also referred to as EsNo) required to reach a BLER of 0.01. As can be seen from FIG. 4f, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4f, different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme 2 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 2 is higher than the decoding performance corresponding to scheme 1, so scheme 2 can be used as the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme 1 is lower than the curve corresponding to scheme 2, and thus the decoding performance corresponding to scheme 1 is higher than the decoding performance corresponding to scheme 2, so scheme 1 can be used as the most suitable segmentation manner in region 2. In region 3, the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 2, and the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 1, and thus the decoding performance corresponding to scheme 3 is higher than the decoding performance corresponding to scheme 2, and the decoding performance corresponding to scheme 3 is also higher than the decoding performance corresponding to scheme 1, so scheme 3 can be used as the most suitable segmentation manner in region 3.
[0265] In addition, as can be seen from FIG. 4e, the region division shown in FIG. 4e is not fine, and in region 2, there is also a case where the decoding performance corresponding to scheme 2 is better, because the division method related to FIG. 4e also considers the description complexity of the division region, and in order to more simply describe the division interval, the performance of some regions is lost. However, the division method related to FIG. 4f considers the relationship between TBS and the linear function (P0*R-P1) on the basis of R, so that the region division can be more fine, thereby facilitating more fine selection of the segmentation manner, but the description complexity is also relatively high (it can be understood that the judgment parameters required for region division are also more).
[0266] Implementation manner three: The communication apparatus can determine the target segmentation manner corresponding to the first sequence according to the first code rate, the length of the first sequence, the length threshold, the first code rate threshold, G, and the resource bit number threshold G2.
[0267] G2 can be preconfigured, or can be determined according to the length threshold A1 and the third code rate threshold R2. For example, G2 = A1 / R2. It should be understood that (A1 / R2) can be subjected to a floor operation to obtain G2, or (A1 / R2) can be subjected to a ceiling operation to obtain G2, and the embodiments of the present application do not limit this.
[0268] In the third implementation, the length threshold is a length threshold A1. Details about the length threshold A1 can be referred to the description of the length threshold A1 in the second implementation, which will not be repeated here.
[0269] The third implementation can be implemented in the following examples.
[0270] Example 1: If the first code rate is less than or equal to the first code rate threshold, the communication apparatus can determine that the first segmentation manner is the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the first segmentation manner to obtain C' second sequences. Then, the communication apparatus can perform channel coding on each of the C' second sequences to obtain a code word corresponding to each of the C' second sequences. Next, the communication apparatus can perform rate matching on the code word corresponding to each of the C' second sequences, respectively. For example, the communication apparatus can determine, according to the first segmentation manner, that the rate matching manner corresponding to each of the C' second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each of the C' second sequences by using the repetition rate matching manner. For example, for the code word corresponding to each of the C' second sequences, the communication apparatus can repeatedly transmit the first (Er-N0) bits of the code word corresponding to each of the C' second sequences. In this way, in a high-throughput scenario, the repetition rate matching manner can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high-throughput scenario.
[0271] For example, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 1 / 2, the first segmentation manner as scheme3, and the second segmentation manner as scheme1, and the third segmentation manner as scheme2 as an example. If R is less than or equal to 1 / 8, the communication apparatus can segment sequence 1 by using scheme3, so that C' sequences 2 can be obtained. Then, the communication apparatus can perform channel coding on each of the C' sequences 2 to obtain a code word corresponding to each of the C' sequences 2. Then, based on the rate matching manner corresponding to each of the C' sequences 2 being repetition, the communication apparatus can perform rate matching on the code word corresponding to each of the C' sequences 2 by using the repetition rate matching manner.
[0272] In Example 2, if the length of the first sequence is greater than the length threshold and G is less than or equal to G2, the communication apparatus can determine the second segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the second segmentation manner to obtain C" pieces of second sequences. Next, the communication apparatus can perform channel coding on each piece of the second sequences to obtain a code word corresponding to each piece of the second sequences, respectively. Subsequently, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences, respectively. For example, the communication apparatus can determine, according to the second segmentation manner, that the rate matching manner corresponding to each piece of the second sequences is repetition. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences by using the rate matching manner of repetition. For example, for the code word corresponding to each piece of the second sequences, the communication apparatus can repeatedly transmit the first (Er-N0) bits in the code word corresponding to each piece of the second sequences. In this way, in a high-throughput scenario, the rate matching manner of repetition can simplify the construction of the encoding module (polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high-throughput scenario.
[0273] Optionally, corresponding to the above example 2, if the first code rate is greater than the first code rate threshold and less than or equal to the second code rate threshold, the communication apparatus can also determine the second segmentation manner as the target segmentation manner. In this way, the communication apparatus can determine the second segmentation manner as the target segmentation manner by the following manner: if the first code rate is greater than the first code rate threshold and less than or equal to the second code rate threshold, or if the length of the first sequence is greater than the length threshold and G is less than or equal to G2, the communication apparatus can determine the second segmentation manner as the target segmentation manner.
[0274] For example, continuing to take the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 1 / 2, the first segmentation manner as scheme 3, the second segmentation manner as scheme 1, and the third segmentation manner as scheme 2 as an example. If the length of sequence 1 is greater than the length threshold A1 and G is less than or equal to G2, or if R is greater than 1 / 8 and less than or equal to 1 / 2, the communication apparatus can segment sequence 1 by using scheme 1, so as to obtain C" pieces of sequence 2. Then, the communication apparatus can perform channel coding on each piece of sequence 2 to obtain a code word corresponding to each piece of sequence 2, respectively. Subsequently, based on the rate matching manner corresponding to each piece of sequence 2 being repetition, the communication apparatus can perform rate matching on the code word corresponding to each piece of sequence 2 by using the rate matching manner of repetition.
[0275] Example 3: If the length of the first sequence is less than or equal to the length threshold and G is less than or equal to G2, the communication apparatus can determine the third segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the third segmentation manner to obtain C”’ pieces of second sequences. Then, the communication apparatus can perform channel coding on each piece of the second sequences to obtain a code word corresponding to each piece of the second sequences, respectively. Next, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences, respectively. For example, the communication apparatus can determine, according to the third segmentation manner, that the rate matching manner corresponding to each piece of the second sequences is one of puncturing or shortening. Then, the communication apparatus can perform rate matching on the code word corresponding to each piece of the second sequences according to the rate matching manner corresponding to each piece of the second sequences, respectively.
[0276] Optionally, corresponding to the example 3, if G is greater than G2, the communication apparatus can also determine the third segmentation manner as the target segmentation manner. In this way, the communication apparatus can determine the third segmentation manner as the target segmentation manner by the following manner: if the length of the first sequence is less than or equal to the length threshold and G is less than or equal to G2, or if G is greater than G2, the communication apparatus can determine the third segmentation manner as the target segmentation manner.
[0277] For example, continuing to take the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the first code rate threshold as 1 / 8, the second code rate threshold as 1 / 2, the first segmentation manner as scheme 3, the second segmentation manner as scheme 1, and the third segmentation manner as scheme 2, if the length of the sequence 1 is less than or equal to the length threshold A1 and G is less than or equal to G2, or if G is greater than G2, the communication apparatus can segment the sequence 1 according to scheme 2 to obtain C”’ pieces of sequence 2. Then, the communication apparatus can perform channel coding on each piece of the sequence 2 to obtain a code word corresponding to each piece of the sequence 2, respectively. Then, based on the rate matching manner corresponding to each piece of the sequence 2 being puncturing or shortening, the communication apparatus can perform rate matching on the code word corresponding to each piece of the sequence 2 according to the rate matching manner corresponding to each piece of the sequence 2, respectively. For example, when the rate matching manner corresponding to a piece of the sequence 2 is puncturing, the communication apparatus can perform rate matching on the code word corresponding to the piece of the sequence 2 by using the puncturing rate matching manner. When the rate matching manner corresponding to a piece of the sequence 2 is shortening, the communication apparatus can perform rate matching on the code word corresponding to the piece of the sequence 2 by using the shortening rate matching manner.
[0278] It can be understood that the length of the first sequence being equal to the length threshold can also be placed in the example 2, and the embodiments of the present application do not limit this.
[0279] It can be understood that the determination process of C in the above-mentioned implementation manner three can refer to the determination process of C in the above-mentioned implementation manner one, which will not be described here. Alternatively, if the C determined in the above-mentioned implementation manner three is less than the second quantity threshold, the communication apparatus can take the second quantity threshold as C. Wherein, the related description about the second quantity threshold can refer to the related introduction of the above-mentioned implementation manner one, which will not be described here.
[0280] For example, based on the above-mentioned implementation manner three, the specific implementation that the communication apparatus determines the first segmentation manner, the second segmentation manner or the third segmentation manner as the target segmentation manner can be represented by the following segmentation pseudo code. Wherein, the following segmentation pseudo code takes 1 / 2 of R1 as an example for introduction.
[0281] The segmentation method provided by the above-mentioned implementation manner three can select a more appropriate segmentation manner to segment the first sequence in different regions according to R, TBS and G, so as to obtain better segmentation performance and decoding performance. It can be understood that only scheme2 needs to use puncturing or shortening rate matching manner. For example, the rate matching manner used by scheme2 can be NR rate matching based on 32 long sub-block interleaving, or can be rate matching not based on 32 long sub-block interleaving. The rate matching manner used by scheme1 and scheme3 is based on simple repetition, which is simpler to implement than the rate matching manner of scheme2, and the performance is close to or even better than the performance of scheme2.
[0282] Implementation manner four: the communication apparatus can determine the target segmentation manner corresponding to the first sequence according to the first code rate and the fourth code rate threshold.
[0283] In one example, the fourth code rate threshold can refer to the first code rate threshold, such as Rthr. In another example, the fourth code rate threshold can refer to the second code rate threshold, such as R1. Wherein, the related description about the first code rate threshold and the second code rate threshold can refer to the related introduction of the above-mentioned implementation manner one, which will not be described here.
[0284] For example, the target segmentation manner can be the fourth segmentation manner, or can also be the fifth segmentation manner. The fourth segmentation manner is different from the fifth segmentation manner, and the fourth segmentation manner and the fifth segmentation manner are determined based on the maximum mother code length. For example, when the fourth segmentation manner is the second segmentation manner (such as scheme 1), the fifth segmentation manner can be the third segmentation manner (such as scheme 2). When the fourth segmentation manner is the first segmentation manner (such as scheme 3), the fifth segmentation manner can be the second segmentation manner or the third segmentation manner. Details about the first segmentation manner, the second segmentation manner, and the third segmentation manner can be referred to the above description, and will not be repeated here.
[0285] The above implementation manner three will be described below by means of the following possible examples.
[0286] Example 1: If the first code rate is less than the fourth code rate threshold, the communication apparatus can determine the fourth segmentation manner as the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the fourth segmentation manner to obtain C
[0287] For example, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the fourth code rate threshold as R1, the fourth segmentation manner as scheme 1, and the fifth segmentation manner as scheme 2 as an example. If R is less than R1 and R is greater than 0, the communication apparatus can segment sequence 1 by scheme 1 to obtain C a1 segmented sequence 2. Then, the communication apparatus can perform channel coding on each sequence 2 in C a1 segmented sequence 2 to obtain a code word corresponding to each sequence 2, respectively. Then, based on C a1The rate matching manner corresponding to each of the second sequences 2 is repetition. The communication apparatus can adopt the rate matching manner of repetition to perform rate matching on the codeword corresponding to each of the second sequences 2, respectively.
[0288] For another example, taking the first sequence as sequence 1, the second sequence as sequence 2, the first code rate as R, the fourth code rate threshold as Rthr, the fourth segmentation manner as scheme 3, and the fifth segmentation manner as scheme 1 or scheme 2 as an example. If R is less than Rthr and R is greater than 0, the communication apparatus can select scheme 3 to segment the sequence 1, to obtain C b1 sequences 2. Then, the communication apparatus can perform channel coding on each of the second sequences 2 to obtain a codeword corresponding to each of the second sequences 2, respectively. b1 sequences 2. Then, the communication apparatus can perform channel coding on each of the second sequences 2 to obtain a codeword corresponding to each of the second sequences 2, respectively. b1 The rate matching manner corresponding to each of the second sequences 2 is repetition. The communication apparatus can adopt the rate matching manner of repetition to perform rate matching on the codeword corresponding to each of the second sequences 2, respectively.
[0289] Example 2: If the first code rate is greater than the fourth code rate threshold, the communication apparatus can determine that the fifth segmentation manner is the target segmentation manner. Then, the communication apparatus can segment the first sequence according to the fifth segmentation manner to obtain C””’ second sequences. Then, the communication apparatus can perform channel coding on each of the second sequences to obtain a codeword corresponding to each of the second sequences, respectively. Next, the communication apparatus can perform rate matching on the codeword corresponding to each of the second sequences, respectively.
[0290] For example, when the fifth segmentation manner is the third segmentation manner (such as scheme 2), the communication apparatus can determine, according to the third segmentation manner, that the rate matching manner corresponding to each of the second sequences is one of puncturing or shortening. Then, the communication apparatus can perform rate matching on the codeword corresponding to each of the second sequences according to the rate matching manner corresponding to each of the second sequences, respectively. When the fifth segmentation manner is the second segmentation manner (such as scheme 1), the communication apparatus can determine, according to the second segmentation manner, that the rate matching manner corresponding to each of the second sequences is repetition. Then, the communication apparatus can adopt the rate matching manner of repetition to perform rate matching on the codeword corresponding to each of the second sequences, respectively. In this way, in a high-throughput scenario, the rate matching manner of repetition can simplify the construction of the encoding module (the polar encoding module), so that the chip area of the encoding module is reduced, which helps to improve the chip area utilization efficiency in a high-throughput scenario. For example, for the codeword corresponding to each of the second sequences, the communication apparatus can repeatedly transmit the first (Er-N0) bits in the codeword corresponding to the second sequence.
[0291] For example, when the rate matching method for a segment of the second sequence in segment C””” is puncturing, the communication device can use the puncturing rate matching method to perform rate matching on the codeword corresponding to that segment of the second sequence. For instance, for the codeword corresponding to that segment of the second sequence, the communication device can puncture the first (N0-Er) bits of the codeword corresponding to that segment of the second sequence. When the rate matching method for a segment of the second sequence in segment C””” is shortening, the communication device can use the shortening rate matching method to perform rate matching on the codeword corresponding to that segment of the second sequence. For instance, for the codeword corresponding to that segment of the second sequence, the communication device can shorten the first (N0-Er) bits of the codeword corresponding to that segment of the second sequence.
[0292] For example, continuing with the first sequence as Sequence 1, the second sequence as Sequence 2, the first code rate as R, the fourth code rate threshold as R1, the fourth segmentation method as scheme1, and the fifth segmentation method as scheme2, if R is greater than R1, the communication device can choose scheme2 to segment Sequence 1, resulting in C. a2 Segment sequence 2. Afterwards, the communication device can communicate with C. a2 Each segment of sequence 2 in sequence 2 is channel-coded to obtain the codeword corresponding to each segment of sequence 2. Then, based on C... a2 In segment sequence 2, the rate matching method corresponding to each segment of sequence 2 is either puncturing or shortening. The communication device can perform rate matching on the codeword corresponding to each segment of sequence 2 according to the rate matching method. For example, when C a2 When the rate matching method for a certain segment of sequence 2 is puncturing, the communication device can use the puncturing rate matching method to perform rate matching on the codeword corresponding to that segment of sequence 2. When C a2 When the rate matching mode corresponding to a certain segment of sequence 2 is shortened, the communication device can use the shortened rate matching mode to perform rate matching on the codeword corresponding to that segment of sequence 2.
[0293] For example, continuing with the first sequence as Sequence 1, the second sequence as Sequence 2, the first code rate as R, the fourth code rate threshold as Rthr, the fourth segmentation method as scheme3, and the fifth segmentation method as scheme1 or scheme2. In one example, if R is greater than Rthr, the communication device can choose scheme1 to segment Sequence 1, resulting in C. b2 Segment sequence 2. Afterwards, the communication device can communicate with C. b2 Each segment of sequence 2 in sequence 2 is channel-coded to obtain the codeword corresponding to each segment of sequence 2. Then, based on C... b2The rate matching manner corresponding to each of the segment sequences 2 in the segment sequence 2 is repetition, and the communication apparatus can perform rate matching on the code word corresponding to each of the segment sequences 2 respectively by using the rate matching manner of repetition.
[0294] In another example, if R is greater than Rthr, the communication apparatus can select scheme 2 to segment the sequence 1 to obtain C b3 segments of the sequence 2. Then, the communication apparatus can perform channel coding on each of the segments of the sequence 2 to obtain a code word corresponding to each of the segments of the sequence 2 respectively. Then, the communication apparatus can perform rate matching on the code word corresponding to each of the segments of the sequence 2 respectively based on the rate matching manner corresponding to each of the segments of the sequence 2. b3 segments of the sequence 2. Then, the communication apparatus can perform channel coding on each of the segments of the sequence 2 to obtain a code word corresponding to each of the segments of the sequence 2 respectively. Then, the communication apparatus can perform rate matching on the code word corresponding to each of the segments of the sequence 2 respectively based on the rate matching manner corresponding to each of the segments of the sequence 2. b3 The rate matching manner corresponding to each of the segment sequences 2 in the segment sequence 2 is repetition, and the communication apparatus can perform rate matching on the code word corresponding to each of the segment sequences 2 respectively by using the rate matching manner of repetition. b3 The rate matching manner corresponding to each of the segment sequences 2 in the segment sequence 2 is repetition, and the communication apparatus can perform rate matching on the code word corresponding to each of the segment sequences 2 respectively by using the rate matching manner of repetition. b3 The rate matching manner corresponding to each of the segment sequences 2 in the segment sequence 2 is repetition, and the communication apparatus can perform rate matching on the code word corresponding to each of the segment sequences 2 respectively by using the rate matching manner of repetition.
[0295] Optionally, when the first code rate is equal to the fourth code rate threshold, the communication apparatus can determine the fourth segmentation manner or the fifth segmentation manner as the target segmentation manner, and the specific implementation process can refer to the related implementation of example 1 and example 2 in the above-mentioned implementation manner four, which will not be described here.
[0296] The following introduces the determination process of C in the above-mentioned implementation manner four through the following possible examples.
[0297] Example a: when the fourth segmentation manner is the target segmentation manner, C is obtained by performing integer operation on the ratio of G1 (i.e. Genc) to N max , or C is obtained by performing down integer operation on the ratio of G to N max .
[0298] It can be understood that C determined in example a can refer to the above-mentioned C
[0299] In one example, when the fourth code rate threshold is R1, the fourth segmentation manner can be the second segmentation manner, and at this time, C is obtained by performing down integer operation on the ratio of G to N max , such as C=floor(G / N max ). Similarly, C can also be obtained by performing up integer operation on the ratio of G to N max and then subtracting 1, such as C=ceil(G / N max )-1.
[0300] In another example, when the fourth rate threshold is Rthr, the fourth segmenting manner can be the first segmenting manner, in which case C is obtained by rounding G1 / N max . For example, C can be obtained by rounding G1 / N max downward, such as C = floor(G1 / N max ). Similarly, C can be obtained by rounding G1 / N max upward and then subtracting 1, such as C = ceil(G1 / N max )-1. For another example, C can be obtained by rounding G1 / N max upward, such as C = ceil(G1 / N max ). Similarly, C can be obtained by rounding G1 / N max downward and then adding 1, such as C = floor(G1 / N max )+1.
[0301] Example b: when the fifth segmenting manner is the target segmenting manner, C is obtained by rounding G / N max .
[0302] In one example, when the fourth rate threshold is R1, the fifth segmenting manner can be the third segmenting manner, in which case C is obtained by rounding G / N max upward, such as C = ceil(G / N max ). Similarly, C can be obtained by rounding G / N max downward and then adding 1, such as C = floor(G / N max )+1.
[0303] In another example, when the fourth rate threshold is Rthr, the fifth segmenting manner can be the second segmenting manner or the third segmenting manner. When the fifth segmenting manner is the second segmenting manner, in which case C is obtained by rounding G / N max downward, such as C = floor(G / N max ). Similarly, C can be obtained by rounding G / N max upward and then subtracting 1, such as C = ceil(G / N max )-1.
[0304] When the fifth segmenting manner is the third segmenting manner, in which case C is obtained by rounding G / N max upward, such as C = ceil(G / N maxSimilarly, C can also be obtained by taking the floor of the ratio of G and N max and adding 1, such as C = floor(G / N max ) + 1.
[0305] Optionally, if the C determined in the above example a or example b is less than the second quantity threshold, the communication apparatus can take the second quantity threshold as C. Wherein, the related description about the second quantity threshold can refer to the related introduction of the above implementation manner one, and will not be described here again.
[0306] For example, when the fourth code rate threshold described in the above implementation manner four refers to the second code rate threshold, the specific implementation that the communication apparatus determines the fourth segmentation manner or the fifth segmentation manner as the target segmentation manner can be expressed by the following segmentation pseudo code.
[0307] if 0 < R ≤ R1 / / adopt the fourth segmentation manner (i.e. adopt the second segmentation manner), here the equal sign belongs to the boundary condition, which can also be placed in else
[0308] C = floor(G / N max );
[0309] else / / adopt the fifth segmentation manner (i.e. adopt the third segmentation manner)
[0310] C = ceil(G / N max );
[0311] End
[0312] In the following, the simulation result diagram corresponding to the above segmentation pseudo code provided by the embodiments of the application is introduced in combination with FIG. 4g. Referring to FIG. 4g, the transmission block decoding performance under different segmentation manners is shown when Nmax = 4096 and TBS = 8192 ~ 128000. Wherein, the horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, that is, the SNR (also can be called EsNo) required to reach the BLER of 0.01. As can be seen from FIG. 4g, the lower the curve, the better the decoding performance. Moreover, as can be seen from FIG. 4g, different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme2 is lower than the curve corresponding to scheme1, so the decoding performance corresponding to scheme2 is higher than the decoding performance corresponding to scheme1, so scheme2 can be used as the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme1 is lower than the curve corresponding to scheme2, so the decoding performance corresponding to scheme1 is higher than the decoding performance corresponding to scheme2, so scheme1 can be used as the most suitable segmentation manner in region 2.
[0313] Based on the above segmentation pseudo code, and in combination with FIG. 4g, it can be seen that the segmentation method can select a more suitable segmentation manner in different regions to segment the first sequence according to R, so that better segmentation performance and decoding performance can be obtained. In addition, the segmentation method only retains two segmentation manners, i.e., scheme2 and scheme1, so that the selection of the segmentation manner is only related to R, the description is simple, and the performance and rate matching complexity are balanced, and the performance is excellent (for example, the difference between the decoding performance corresponding to different segmentation manners and the optimal decoding performance is not more than 0.2 dB).
[0314] When the fourth code rate threshold described in the above implementation manner four refers to the first code rate threshold, the specific implementation that the communication apparatus determines the fourth segmentation manner or the fifth segmentation manner as the target segmentation manner can be expressed by the following two segmentation pseudo codes (for example, segmentation pseudo code a and segmentation pseudo code b). The segmentation pseudo code a is described by taking the fifth segmentation manner as the second segmentation manner as an example, and the segmentation pseudo code b is described by taking the fifth segmentation manner as the third segmentation manner as an example.
[0315] Segmentation pseudo code a:
[0316] In the following, the simulation result diagram corresponding to the above segmentation pseudo code provided by the embodiment of the application is introduced in combination with FIG. 4h. Referring to FIG. 4h, the transport block decoding performance under different segmentation manners is shown, where Nmax=4096, TBS=8192~128000. The horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, i.e., the SNR (also referred to as EsNo) required to reach the BLER of 0.01. It can be seen from FIG. 4h that the lower the curve, the better the decoding performance. Moreover, it can be seen from FIG. 4h that different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme1 is lower than the curve corresponding to scheme2, so the decoding performance corresponding to scheme1 is higher than the decoding performance corresponding to scheme2, so scheme1 can be used as the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme3 is lower than the curve corresponding to scheme1, and the curve corresponding to scheme3 is lower than the curve corresponding to scheme2, so the decoding performance corresponding to scheme3 is higher than the decoding performance corresponding to scheme1, and the decoding performance corresponding to scheme3 is also higher than the decoding performance corresponding to scheme2, so scheme3 can be used as the most suitable segmentation manner in region 2.
[0317] Based on the above segmentation pseudo code, and in combination with FIG. 4h, it can be seen that the segmentation method can select a more suitable segmentation manner in different regions to segment the first sequence according to R, so that better segmentation performance and decoding performance can be obtained. In addition, the segmentation method only retains two segmentation manners, i.e., scheme 1 and scheme 3, so that the selection of the segmentation manner is only related to R, the description is simple, and the rate matching is the simplest (i.e., the rate matching manners corresponding to scheme 1 and scheme 3 are both repetition).
[0318] Segmentation pseudo code b:
[0319] In the following, in combination with FIG. 4i, the simulation result diagram corresponding to the above segmentation pseudo code provided by the embodiment of the present application is introduced. Referring to FIG. 4i, the transport block decoding performance under different segmentation manners is shown, where Nmax=4096, TBS=8192~128000. The horizontal axis is TBS, and the vertical axis is the decoding performance corresponding to different segmentation manners, i.e., the SNR (also referred to as EsNo) required to reach BLER of 0.01. It can be seen from FIG. 4i that the lower the curve, the better the decoding performance. Moreover, it can be seen from FIG. 4i that different segmentation manners correspond to different decoding performances. For example, in region 1, the curve corresponding to scheme 2 is lower than the curve corresponding to scheme 1, so the decoding performance corresponding to scheme 2 is higher than the decoding performance corresponding to scheme 1, so scheme 2 can be used as the most suitable segmentation manner in region 1. In region 2, the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 1, and the curve corresponding to scheme 3 is lower than the curve corresponding to scheme 2, so the decoding performance corresponding to scheme 3 is higher than the decoding performance corresponding to scheme 1, and the decoding performance corresponding to scheme 3 is also higher than the decoding performance corresponding to scheme 2, so scheme 3 can be used as the most suitable segmentation manner in region 2.
[0320] Based on the above segmentation pseudo code, and in combination with FIG. 4i, it can be seen that the segmentation method can select a more suitable segmentation manner in different regions to segment the first sequence according to R, so that better segmentation performance and decoding performance can be obtained. In addition, the segmentation method only retains two segmentation manners, i.e., scheme 2 and scheme 3, so that the selection of the segmentation manner is only related to R, the description is simple, and the performance is excellent.
[0321] As can be seen from the steps 301 to 303, the communication apparatus can dynamically determine the matched segmentation manner for segmenting the first sequence according to the first code rate (i.e. the code rate of the current encoding), so that the segmentation of the first sequence is more accurate, which helps to achieve effective segmentation of the first sequence and obtain better decoding performance. In addition, the method can make the selection of the segmentation manner flexible, and the selected segmentation manner is matched with the first sequence (which can also be understood as the selected segmentation manner is more suitable for the first sequence), so as to help improve the decoding accuracy of the to-be-decoded sequence corresponding to the first sequence.
[0322] It can be understood that, in order to implement the functions in the above embodiments, the communication apparatus includes hardware structures and / or software modules for performing respective functions. Those skilled in the art should easily realize that, in combination with the units and method steps of the examples described in the embodiments disclosed in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application scenario and design constraints of the technical solution.
[0323] FIGS. 5 and 6 are structural schematic diagrams of possible communication apparatuses provided by embodiments of the present application. These communication apparatuses can be used to implement the functions of the communication apparatuses in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In embodiments of the present application, the communication apparatus can be a terminal device, a network device or other type of device, or can also be a module (such as a chip) in a terminal device, a network device or other type of device.
[0324] The communication apparatus 500 shown in FIG. 5 includes a processing unit 510 (or can be referred to as a processing module) and a transceiver unit 520 (or can be referred to as a communication module or a transceiver module or a communication module, used for transmitting and receiving data). The communication apparatus 500 can be used to implement the functions of the communication apparatus in the method embodiments shown in FIG. 3. For example, the transceiver unit 520 can perform the receiving actions and the transmitting actions performed by the communication apparatus in the above method embodiments. The processing unit 510 can perform other actions of the communication apparatus in the above method embodiments except the transmitting actions and the receiving actions.
[0325] When the communication apparatus 500 is used to implement the functions of the communication apparatus in the method embodiments shown in FIG. 3: the transceiver unit 520 is configured to obtain a first sequence. The first sequence can be a to-be-encoded bit sequence. The processing unit 510 is configured to determine a target segmentation manner corresponding to the first sequence according to a first code rate. The processing unit 510 is further configured to segment the first sequence according to the target segmentation manner to obtain C second sequences. C is related to the target segmentation manner.
[0326] More details about the processing unit 510 and the transceiver unit 520 can be found in the description of the method embodiments shown in FIG. 3.
[0327] It should be understood that the transceiver unit 520 in the embodiments of the present application can be implemented by an interface circuit or an interface circuit related circuit component, and the processing unit 510 can be implemented by a processor or a processor related circuit component.
[0328] It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. Actual implementation can have another division manner. In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or can be physically separated, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0329] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, etc.) or a processor to perform all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0330] The communication device 600 shown in FIG. 6 includes a processor 610 and an interface circuit 620. The processor 610 and the interface circuit 620 are coupled to each other. It can be understood that the interface circuit 620 can be a transceiver or an input / output interface. Optionally, the communication device 600 can further include a memory 630 for storing instructions executed by the processor 610 or storing input data required by the processor 610 to run instructions or storing data generated after the processor 610 runs instructions. Optionally, the memory 630 can also be integrated with the processor 610. For example, the memory 630 can be used to store part of the protocols / data related to the above-mentioned embodiments. Optionally, the communication device 600 can further include other memories, and the other memories are used to store protocol stacks.
[0331] When the communication apparatus 600 is used to implement the method embodiment shown in FIG. 3, the processor 610 is configured to implement the functions of the processing unit 510, and the interface circuit 620 is configured to implement the functions of the transceiver unit 520.
[0332] For example, the communication apparatus is a terminal device, and the receiving end corresponding to the terminal device is a network device. When the communication apparatus is a chip applied to the terminal device, the terminal device chip implements the functions of the terminal device in the method embodiment. The terminal device chip receives information from the network device, which can be understood as the information being received by other modules (such as a radio frequency module or an antenna) in the terminal device first, and then being sent to the terminal device chip by the modules. The terminal device chip sends information to the network device, which can be understood as the information being sent to other modules (such as a radio frequency module or an antenna) in the terminal device first, and then being sent to the network device by the modules.
[0333] For example, the communication apparatus is a network device, and the receiving end corresponding to the network device is a terminal device. When the communication apparatus is a chip applied to the network device, the network device chip implements the functions of the network device in the method embodiment. The network device chip receives information from the terminal device, which can be understood as the information being received by other modules (such as a radio frequency module or an antenna) in the network device first, and then being sent to the network device chip by the modules. The network device chip sends information to the terminal device, which can be understood as the information being sent to other modules (such as a radio frequency module or an antenna) in the network device first, and then being sent to the terminal device by the modules.
[0334] In this application, entity A sending information to entity B can be A sending directly to B, or A sending indirectly to B through other entities. Similarly, entity B receiving information from entity A can be entity B receiving the information sent by entity A directly, or entity B receiving the information sent by entity A indirectly through other entities. Here, entity A and B can be network devices or terminal devices, or modules inside network devices or terminal devices. For example, taking network devices and terminal devices as examples, the sending and receiving of information can be the information interaction between the network devices and the terminal devices. For another example, taking two terminal devices (such as terminal device A and terminal device B) as examples, the sending and receiving of information can be the information interaction between terminal device A and terminal device B. For another example, taking two network devices (such as network device 1 and network device 2) as examples, the sending and receiving of information can be the information interaction between network device 1 and network device 2. The sending and receiving of information can also be the information interaction between different modules inside one apparatus, such as the information interaction between a terminal device chip and other modules in the terminal device, or the information interaction between a network device chip and other modules in the network device.
[0335] Based on the same idea, the embodiments of the present application further provide a possible communication system. The communication system includes one or more of terminal devices or network devices. When the communication device is a terminal device, the terminal device can be used to implement the technical solutions related to the communication device in the above embodiments. When the communication device is a network device, the network device can be used to implement the technical solutions related to the communication device in the above embodiments.
[0336] Based on the same idea, the embodiments of the present application further provide a computer program product, which includes computer programs or instructions, when the computer programs or instructions run on a communication device (or a computer), make the communication device (or the computer) execute the method provided by the above embodiments.
[0337] Based on the same idea, the embodiments of the present application further provide a computer readable storage medium, which stores computer programs or instructions, when the computer programs or instructions are executed by a communication device (or a computer), make the communication device (or the computer) execute the method provided by the above embodiments.
[0338] Among them, the storage medium can be any available medium that can be accessed by a computer. For example, but not limited to: computer readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0339] Based on the same idea, the embodiments of the present application further provide a chip, which can include a processor, and can also include a memory (or the chip is coupled with the memory), the processor executes the program instructions in the memory, so that the chip executes the method provided by the above embodiments. Among them, "coupling" means that two components are directly or indirectly combined with each other, such as coupling can mean that the electrical connection between the two components.
[0340] Based on the same idea, the embodiments of the present application further provide a chip system, which includes a processor, for supporting a computer device to implement the functions related to the communication device in the above embodiments. In a possible implementation manner, the chip system further includes a memory, the memory is used to save the necessary programs and data of the computer device. The chip system can be composed of a chip, or can include a chip and other discrete devices.
[0341] It is to be understood that the processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.
[0342] The method steps in the embodiments of the present application can be implemented by means of hardware, or by means of a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM) or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a communication device. Of course, the processor and the storage medium can also exist as discrete components in the communication device.
[0343] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. The computer program refers to a set of instructions for instructing an electronic computer or other devices with message processing capability to perform each step. The computer program is usually written in a certain programming language and runs on a certain target architecture. When the computer program or instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are performed. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer program or instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, 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 through wired or wireless mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center and the like integrated with one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; or an optical medium, such as a digital video disc; or a semiconductor medium, such as a solid state disk. The computer readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile storage media.
[0344] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0345] In the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the relationship between the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In the literal description of the present application, the character " / ", generally represents that the associated objects before and after are in an "or" relationship; in the formula of the present application, the character " / ", represents that the associated objects before and after are in a "division" relationship.
[0346] It can be understood that various digital numbers involved in the embodiments of the present application are only distinguished for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial number of the above processes does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic.
Claims
A segmentation method characterized in that, The method comprises: obtaining a first sequence, the first sequence being a bit sequence to be encoded; determining a target segmentation mode corresponding to the first sequence according to a first code rate; segmenting the first sequence according to the target segmentation mode to obtain C second sequences, the C being related to the target segmentation mode. The method of claim 1, wherein The method further comprises: if the first code rate is less than or equal to a first code rate threshold, determining a first segmentation mode as the target segmentation mode; or if the first code rate is greater than the first code rate threshold and less than or equal to a second code rate threshold, determining a second segmentation mode as the target segmentation mode; or if the first code rate is greater than the second code rate threshold, determining a third segmentation mode as the target segmentation mode. The first segmentation manner is determined based on a second resource bit number G1 and a maximum mother code length N max The second segmentation manner and the third segmentation manner are determined based on a first resource bit number G and the N max The G is a total resource bit number for transmitting a code word, and the G1 is determined according to the first code rate threshold and a length of the first sequence. The method of claim 2 wherein When the first segmentation manner is the target segmentation manner, the C is obtained by rounding off based on the ratio of the G1 to the N max ; or, When the second segment mode is the target segment mode, the C is obtained by performing a down-round operation on a ratio of the G to the N max ; or, When the third segment mode is the target segment mode, the C is obtained by performing an upward rounding operation on a ratio of the G to the N max . The method as claimed in claim 2 or 3, characterized in that The method further comprises: if a segmentation number C1 determined based on the second segmentation mode is less than a first number threshold, the sum of the C1 and 1 is the C. The method as claimed in claim 2 or 3, characterized in that The method further comprises: If the first code rate is greater than the second code rate threshold, and the first value is not 0, it is determined that the third segmentation mode is the target segmentation mode; wherein the first value is obtained by performing a remainder operation on the G and the N max The method as claimed in claim 2 or 3, characterized in that if the first code rate is greater than a second code rate threshold and less than or equal to a third code rate threshold, and a length of the first sequence is greater than a length threshold, determining the second segmentation mode as the target segmentation mode; or if the first code rate is greater than the second code rate threshold and less than or equal to the third code rate threshold, and the length of the first sequence is less than or equal to the length threshold, determining the third segmentation mode as the target segmentation mode; or if the first code rate is greater than the third code rate threshold, determining the third segmentation mode as the target segmentation mode. The length threshold is pre-configured, or the length threshold is determined based on the first code rate. The method of claim 6, wherein if the first segmentation mode or the second segmentation mode is the target segmentation mode, a rate matching mode corresponding to each of the C second sequences is repetition, or The method according to any one of claims 2 to 7, characterized in that if the third segmentation mode is the target segmentation mode, the rate matching mode corresponding to each of the C second sequences is one of puncturing or shortening. The method further comprises: The method of claim 1, wherein if the first code rate is less than a fourth code rate threshold, determining a fourth segmentation mode as the target segmentation mode; or if the first code rate is greater than the fourth code rate threshold, determining a fifth segmentation mode as the target segmentation mode; or if the first code rate is equal to the fourth code rate threshold, determining the fourth segmentation mode or the fifth segmentation mode as the target segmentation mode. The fourth segmentation mode and the fifth segmentation mode are determined based on a maximum mother code length. The G1 is determined according to a first code rate threshold and a length of the first sequence, and the G is a total resource bit number of a code word for transmission. The method of claim 9, wherein When the fourth segmentation mode is the target segmentation mode, the C is obtained by rounding off a ratio of a second resource bit number G1 to a maximum mother code length N max , or the C is obtained by rounding down a ratio of a first resource bit number G to the N max ; or, When the fifth segment mode is the target segment mode, the C is obtained by rounding off based on the ratio of the G to the N max . The method of claim 9 or 10, wherein If the fourth segmentation manner is the target segmentation manner, a rate matching manner corresponding to each of the C second sequences is repetition, or If the fifth segmentation manner is the target segmentation manner, a rate matching manner corresponding to each of the C second sequences is one of puncturing or shortening, or a rate matching manner corresponding to each of the C second sequences is repetition. The method according to any one of claims 1 to 11, characterized in that If the C is less than a second quantity threshold, the C is the second quantity threshold; wherein the second quantity threshold is determined according to a first resource bit number G and a maximum length after rate matching of each codeword, and the G is a total resource bit number for transmitting a codeword. A communication device characterized by comprising: The apparatus comprises a processor and an interface circuit; The interface circuit is configured to receive a signal from another communication device and transmit the signal to the processor or send a signal from the processor to another communication device; The processor is configured to implement the method of any one of claims 1-12 by means of a logic circuit or executing code instructions. A computer-readable storage medium, characterized by The computer readable storage medium stores a computer program or instructions, which, when executed by a communication device, cause the method of any one of claims 1-12 to be implemented. A computer program product, characterized in that The computer program product comprises a computer program or instructions, which, when executed on a communication device, cause the method of any one of claims 1-12 to be implemented. A chip characterized by The chip comprises a processor coupled with a memory, and the processor is configured to execute program instructions stored in the memory, so that the method of any one of claims 1-12 is implemented. The chip comprises a processor coupled with a memory, and the processor is configured to execute program instructions stored in the memory, so that the method of any one of claims 1-12 is implemented.
Citation Information
Patent Citations
Coding method and device, electronic equipment and storage medium
CN109842458A
Polar coding system
CN111357219A
Data processing method and apparatus
WO2023240804A1
Data processing method and apparatus
WO2025059939A1