WO2025059939A1 - 一种数据处理方法和装置 - Google Patents
一种数据处理方法和装置 Download PDFInfo
- Publication number
- WO2025059939A1 WO2025059939A1 PCT/CN2023/120173 CN2023120173W WO2025059939A1 WO 2025059939 A1 WO2025059939 A1 WO 2025059939A1 CN 2023120173 W CN2023120173 W CN 2023120173W WO 2025059939 A1 WO2025059939 A1 WO 2025059939A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bits
- communication device
- information
- codeword
- decoding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
Definitions
- the present application relates to the field of communication technology, and in particular to a data processing method and device.
- Segmented coding technology refers to a coding technology that divides the entire data into several segments and encodes them separately. This technology is widely used in wireless communication scenarios.
- the current segmentation methods mainly include the segmentation method of polar code and the segmentation method of low density parity check (LDPC).
- the segmentation method of polar code is to determine the number of segments according to the payload size, or to determine the number of segments according to the payload size and the physical resource size.
- the segmentation method of LDPC mainly determines the number of segments based on the code length and code rate.
- the current segmentation methods do not take into account the capability information (such as decoding capability) and key performance indicators (KPI) of the receiving device (such as terminal equipment), resulting in low decoding performance of the receiving device.
- KPI key performance indicators
- the present application proposes a data processing method and device, which can segment the information bits to be encoded according to the decoding capability information of the receiving device, so as to effectively ensure the decoding performance of the receiving device.
- the present application provides a data processing method, which can be implemented by a first communication device.
- the first communication device may be, but is not limited to, a terminal device, a network device, a component in a terminal device, or a component in a network device.
- the components in the present application may, for example, include at least one of a chip, a chip system, a processor, a transceiver, a processing unit, or a transceiver unit.
- the steps of the method may include: obtaining decoding capability information of a second communication device; segmenting the first information bit according to the decoding capability information of the second communication device to obtain segmented information bits; then encoding the segmented information bits to obtain codeword bits; and outputting the codeword bits.
- the first communication device may perform segmented processing on the first information bits according to the decoding capability information of the second communication device to ensure the performance of the second communication device in performing decoding after receiving the segmented codeword bits.
- the first communication device obtains the decoding capability information of the second communication device, which can be implemented in but not limited to the following ways:
- Method 1 Acquire first information, where the first information is used to indicate decoding capability information of the second communication device.
- Method 2 Acquire the capability information of the second communication device, where the first field in the capability information of the second communication device is used to indicate the decoding capability information of the second communication device.
- Method three obtaining type information of the second communication device, where the type information of the second communication device includes decoding capability information of the second communication device.
- the above-mentioned first information or capability information of the second communication device or type information of the second communication device may come from the second communication device.
- the first communication device can flexibly and effectively obtain the decoding capability information of the second communication device.
- the decoding capability information of the second communication device is a maximum length N max of a codeword that the second communication device supports decoding.
- the maximum length N max of the codeword supported for decoding by the second communication device is used as the decoding capability information of the second communication device for segment processing, which can effectively guarantee the subsequent decoding performance of the second communication device.
- the first communication device can obtain the minimum code rate R min of the codewords supported for decoding by the second communication device, and further effectively calculate the maximum length N max of the codewords supported for decoding by the second communication device.
- the first communication device performs segmentation processing on the first information bit according to the decoding capability information of the second communication device to obtain segmented information bits, which may include: performing segmentation processing according to the code rate, the first information bit and the maximum length N max of the codeword supported for decoding by the second communication device.
- the code rate refers to the code rate of the current encoding.
- the first communication device can segment the first information bits according to the current encoding code rate and the maximum length of the codeword supported for decoding by the second communication device, so as to ensure the performance of subsequent decoding by the second communication device.
- the first communication device performs segmentation processing according to the code rate, the first information bit, and the maximum length N max of the codeword supported for decoding by the second communication device, including: determining an initial segmentation value C′ according to the number of bits L of the cyclic redundancy check CRC of each cascaded segment, the code rate, the N max , and the number of bits of the first information bit; L is a preset integer greater than or equal to 0, and C′ is an integer greater than 1 or equal to 1; corresponding to the code rate being greater than or equal to the preset code rate, determining that the number of segments is equal to C′; corresponding to the code rate being less than the preset code rate, determining that the number of segments is equal to C1, and C1 is a positive integer less than or equal to C′.
- the initial segment value C′ may satisfy the following formula:
- K cb is the maximum number of information bits in each segment after segmentation
- R is the code rate
- A is the number of bits of the first information bit, is the rounding symbol
- y is an integer greater than 1 or equal to 1.
- the initial segmentation value is first calculated based on the number of bits L, code rate, N max and the number of bits of the first information bit of each cascaded CRC; if the current code rate is relatively large (i.e., greater than or equal to the preset code rate), the number of segments is set to the initial segmentation value to ensure the decoding performance of the second communication device; if the current code rate is relatively small (i.e., less than the preset code rate), the number of segments is set to be smaller than the initial segmentation value, so that the size of each information bit after segmentation is increased, and the code rate can be improved to avoid the problem of low decoding performance at low code rates.
- the first communication device encodes the segmented information bits to obtain codeword bits, including: concatenating a CRC with L bits at the end of each segmented information bit to obtain each concatenated information bit; and encoding each concatenated information bit to obtain each codeword bit.
- the first communication device can perform encoding and other processes after cascading L bits of CRC at the tail of each segment of information bits to ensure the correctness and integrity of the transmission of each segment of information bits.
- the method further includes: the first communication device uses the remaining transmission resource units in the total transmission resource units to retransmit part or all of the codeword bits in the C1 segment codeword bits.
- the remaining transmission resource units can be used to retransmit part or all of the C1 segment code bits to ensure the integrity of the transmission of the C1 segment code bits to avoid loss.
- the first communication device performs segmented processing on the first information bit according to the decoding capability information of the second communication device to obtain segmented information bits, which may include: segmenting the first information bit and the maximum length N max of the codeword supported for decoding by the second communication device according to the total number of transmission resource units, the modulation order, where N max is a value greater than 0.
- the first communication device can perform effective segmentation processing according to the total number of transmission resource units, the modulation order, the first information bit and the N max to ensure the performance of the subsequent decoding performed by the second communication device.
- the first communication device performs segmentation processing according to the total number of transmission resource units, the modulation order, the first information bit, and the maximum length N max of the codeword supported for decoding by the second communication device, including: first determining an initial segmentation value C 3 according to the total number of transmission resource units, the modulation order, and the maximum length N max of the codeword supported for decoding by the second communication device; C 3 is a positive integer; then calculating the number of bits of the remaining transmission resources according to the total number of transmission resource units, the modulation order, the initial segmentation value C 3 , and the maximum length N max of the codeword supported for decoding by the second communication device; if the number of bits of the remaining transmission resources is less than a preset value, determining that the number of segments is equal to C 3 ; if the number of bits of the remaining transmission resources is not less than the preset value, determining that the number of segments is equal to C 3 +1.
- the initial segment value C 3 may satisfy:
- the number of segments C may satisfy the following formula:
- Q m is the modulation order
- E total is the total number of transmission resource units
- B rest is the number of bits of the remaining transmission resources
- z ⁇ N max is the preset value
- z is a value greater than 0 and less than 1. The floor symbol.
- the first communication device first calculates the initial segmentation value based on the total number of transmission resource units, the modulation order and the maximum length N max of the codeword supported for decoding by the second communication device, and then calculates the number of bits of the remaining transmission resources in combination with the current modulation order when segmenting based on the initial segmentation value; if the calculated number of bits of the remaining transmission resources is small (i.e., less than the preset value), the actual number of segments is set to the initial segmentation value; if the calculated number of bits of the remaining transmission resources is large (i.e., not less than the preset value), the actual number of segments is one more than the initial segmentation value, thereby ensuring the decoding performance of the second communication device and effectively utilizing the transmission resources.
- the method further includes: the first communication device uses the remaining transmission resource units in the total transmission resource units to retransmit part or all of the codeword bits in the C3 segment codeword bits.
- the remaining transmission resource units can be used to retransmit part of or all of the C 3 codeword bits to ensure the integrity of the transmission of the C 3 codeword bits to avoid loss.
- the method further includes: the first communication device uses the remaining transmission resource units in the total transmission resource units to transmit the last segment of codeword bits.
- the size of the codeword bits of the first C 3 segments in the C 3 +1 segment is equal to the maximum length N max of the codeword supported for decoding by the second communication device, and the code rate of each segment in the first C 3 segments is the same; and the size of the codeword bits of the last segment is smaller than N max , so the code rate of the last segment is larger than the code rate of the first C 3 segments.
- the transmission resources are first used to transmit the first C 3 codeword bits, and the remaining transmission resource units are used to transmit the last codeword bits, thereby ensuring the decoding performance of the second communication device while ensuring that the transmission resources are effectively utilized.
- the present application provides a data processing method, which can be implemented by a second communication device.
- the second communication device may be, but is not limited to, a network device, a terminal device, a component in a network device, or a component in a terminal device.
- the components in the present application may, for example, include at least one of a chip, a chip system, a processor, a transceiver, a processing unit, or a transceiver unit.
- the first communication device segments the first information bits according to the decoding capability information of the second communication device, encodes the segmented information bits to obtain codeword bits, and then outputs the codeword bits; the performance of the second communication device when performing decoding processing after obtaining the codeword bits will be higher.
- the second communication device further outputs the decoding capability information of the second communication device, which may include but is not limited to the following methods:
- Mode 2 outputting the capability information of the second communication device, wherein the first field in the capability information of the second communication device is used to indicate the decoding capability information of the second communication device.
- Mode three outputting the type information of the second communication device, wherein the type information of the second communication device includes the decoding capability information of the second communication device.
- the second communication device can flexibly and effectively output the decoding capability information of the second communication device to the first communication device through the above-mentioned methods.
- a maximum length N max of a codeword supported for decoding by the second communication device is used as the decoding capability information of the second communication device, where N max is a value greater than 0.
- the maximum length N max of the codeword supported for decoding by the second communication device is used as the decoding capability of the second communication device.
- the force information is used in segment processing, which can effectively guarantee the subsequent decoding performance of the second communication device.
- the first communication device can obtain the minimum code rate R min of the codewords supported for decoding by the second communication device, and further effectively calculate the maximum length N max of the codewords supported for decoding by the second communication device.
- the second communication device receives C′ segment code word bits from the first communication device, where C′ is an integer greater than or equal to 1; then the second communication device decodes the code word bits to obtain the first information bit, which may include: first decoding the C′ segment code word bits to obtain the C′ segment cascaded information bits; and then removing the CRC code from the C′ segment cascaded information bits to obtain the first information bit.
- the second communication device can effectively decode the C′ segment codeword bits and accurately obtain the first information bits.
- the second communication device receives C1 segment code bits and part or all of the retransmitted C1 segment code bits from the first communication device; C1 is a positive integer less than or equal to C′; then the second communication device decodes the code bits to obtain the first information bits, which may include: first merging the soft bits corresponding to the C1 segment code bits and the soft bits corresponding to the retransmitted code bits and then decoding them to obtain concatenated information bits; then removing the CRC code from the concatenated information bits to obtain the first information bits.
- the second communication device receives C3 code bits and part or all of the retransmitted C3 code bits from the first communication device; C3 is a positive integer; then the second communication device decodes the code bits to obtain the first information bits, which may include: first merging the soft bits corresponding to the C3 code bits and the soft bits corresponding to the retransmitted code bits and then decoding them to obtain concatenated information bits; then removing the CRC code from the concatenated information bits to obtain the first information bits.
- the second communication device can effectively and completely obtain the first information bits.
- the second communication device receives C 3 +1 segments of code word bits from the first communication device; C 3 is a positive integer; then the second communication device decodes the code word bits to obtain the first information bits, including: first decoding the C 3 +1 segments of code word bits to obtain C 3 +1 segments of cascaded information bits; and then removing the CRC code from the C 3 +1 segments of cascaded information bits to obtain the first information bits.
- the second communication device can effectively obtain the first information bit.
- an embodiment of the present application also provides a data processing device, which can be used to execute the method of the first aspect.
- the device may be a first communication device, or the device may be a component in the first communication device (for example, a chip, or a chip system, or a circuit), or may be a device that can be used in combination with the first communication device.
- the device may include a module or unit corresponding to the method/operation/step/action described in the first aspect, and the module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.
- the device may include a processing unit (also referred to as a processing module) and a communication unit (also referred to as a communication module), wherein the communication unit may be used to perform the functions of receiving and/or sending, and the processing unit may be used to perform the method described in the first aspect or any possible implementation of the first aspect.
- an embodiment of the present application also provides a data processing device, which can be used to execute the method of the second aspect.
- the device may be a second communication device, or the device may be a component in the second communication device (for example, a chip, or a chip system, or a circuit), or may be a device that can be used in combination with the second communication device.
- the device may include a module or unit corresponding to the method/operation/step/action described in the second aspect, and the module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.
- the device may include a processing unit (also referred to as a processing module) and a communication unit (also referred to as a communication module), wherein the communication unit may be used to perform the functions of receiving and/or sending, and the processing unit may be used to perform the method described in the second aspect or any possible implementation of the second aspect.
- an embodiment of the present application provides a data processing device, which includes: at least one processor and a communication interface; wherein the communication interface is used to communicate with other devices; the processor is used to run a set of programs so that the device can implement the method provided in the above-mentioned first aspect or any possible implementation method thereof.
- an embodiment of the present application provides a data processing device, the device comprising: at least one processor and a communication interface;
- the communication interface is used to communicate with other devices;
- the processor is used to run a set of programs so that the device can implement the method provided by the above-mentioned second aspect or any possible implementation manner thereof.
- an embodiment of the present application provides a communication system, which includes: a first communication device for executing the above-mentioned first aspect or any possible implementation method thereof, and a second communication device for executing the above-mentioned second aspect or any possible implementation method thereof.
- an embodiment of the present application further provides a computer storage medium, which stores a software program.
- the software program When the software program is read and executed by one or more processors, it can implement the method provided by the above-mentioned first aspect or any possible implementation method thereof, or implement the method provided by the above-mentioned second aspect or any possible implementation method thereof.
- an embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the method provided by the above-mentioned first aspect or any possible implementation thereof to be executed, or enables the method provided by the above-mentioned second aspect or any possible implementation thereof to be executed.
- an embodiment of the present application also provides a chip system, which includes a processor for supporting a first communication device to implement the functions involved in the above-mentioned first aspect; or for supporting a second communication device to implement the functions involved in the above-mentioned second aspect.
- the chip system further includes a memory, which is used to store necessary program instructions and data executed by the loading device.
- the chip system can be composed of chips or include chips and other discrete devices.
- FIG1 is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application.
- FIG2 is a schematic diagram of a wireless signal transmission process in a communication system
- FIG3 is a flow chart of a data processing method provided in an embodiment of the present application.
- FIG4A is a schematic diagram of a method flow chart of a first embodiment provided in the embodiments of the present application.
- FIG4B is a schematic diagram of a segmented processing method of the first embodiment provided in the embodiments of the present application.
- FIG4C is an example diagram of segmentation processing of the first embodiment provided in the embodiments of the present application.
- FIG5A is a schematic diagram of a segmented processing method of a second embodiment provided in the embodiments of the present application.
- FIG5B is an example diagram of segmentation processing of a second embodiment provided in the embodiments of the present application.
- FIG5C shows the decoding performance of the corresponding number of segments at different bit rates in Embodiment 1 and Embodiment 2 of the present application;
- FIG6A is a schematic diagram of obtaining capability information of a terminal device provided in an embodiment of the present application.
- FIG6B is a schematic diagram of another embodiment of the present application for obtaining capability information of a terminal device
- FIG6C is a schematic diagram of another method for obtaining capability information of a terminal device provided in an embodiment of the present application.
- FIG7 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application.
- FIG8 is a schematic diagram of the structure of another data processing device provided in an embodiment of the present application.
- FIG. 9 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
- one or more refers to one, two or more; “and/or” describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
- the character “/” generally indicates that the objects associated before and after are in an "or” relationship.
- references to "one embodiment” or “some embodiments” in this specification mean that one or more embodiments of the present application include a particular feature, structure or characteristic described in conjunction with the embodiment.
- the terms “including”, “comprising”, “having” and their variations used in this application all mean “including but not limited to”, unless otherwise specifically emphasized.
- the words “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” should not be interpreted as The use of words such as “exemplary” or “for example” is intended to present the relevant concepts in a specific manner for easy understanding.
- the multiple involved in the embodiments of the present application refers to greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words “first” and “second” are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
- the term "used for indication” mentioned in the description of the embodiments of the present application may include being used for direct indication and being used for indirect indication. When describing that a certain indication information is used to indicate A, it may include that the indication information directly indicates A or indirectly indicates A, and it does not mean that the indication information must carry A.
- Segmented coding technology refers to a coding technology that divides the entire data into several segments and encodes them separately. This technology is widely used in wireless communication scenarios.
- the current segmentation methods mainly include the segmentation method of polar code and the segmentation method of low density parity check (LDPC).
- the segmentation method of polar code is to determine the number of segments according to the payload size, or to determine the number of segments according to the payload size and the physical resource size.
- the segmentation method of LDPC mainly determines the number of segments based on the code length and code rate.
- the current segmentation methods do not take into account the capability information (such as decoding capability) and key performance indicator (KPI) requirements of the receiving device (such as terminal equipment), resulting in low decoding performance of the receiving device.
- KPI key performance indicator
- the method provided in the embodiments of the present application can be applied to a fourth generation (4G) communication system, such as a long term evolution (LTE) communication system, or to a fifth generation (5G) communication system, such as a 5G new radio (NR) communication system, or to various future communication systems, such as a sixth generation (6G) communication system.
- 4G fourth generation
- 5G fifth generation
- NR 5G new radio
- the method provided in the embodiments of the present application can also be applied to narrowband Internet of Things systems (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), or the three major application scenarios of the next generation 5G mobile communication system, namely enhanced mobile broadband (eMBB), ultra-reliable low-latency communications (URLLC) and enhanced machine-type communications (eMTC).
- eMBB enhanced mobile broadband
- URLLC ultra-reliable low-latency communications
- eMTC enhanced machine-type communications
- the method provided in the embodiment of the present application can also be applied to a satellite communication system, wherein the satellite communication system can be integrated with the above communication system.
- the method proposed in the embodiment of the present application may also affect the physical uplink control channel (PUCCH) enhancement scenario, and enhance the coverage of PUCCH through maximum likelihood (ML) detection.
- FIG. 1 shows a possible, non-restrictive communication system architecture applicable to an embodiment of the present application.
- a communication system 1000 includes a radio access network (RAN) 100 and a core network (CN) 200.
- the communication system 1000 may also include the Internet 300.
- the RAN 100 includes at least one network device (such as 110a and 110b in FIG. 1 , collectively referred to as 110) and at least one terminal device (such as 120a-120j in FIG. 1 , collectively referred to as 120).
- the RAN 100 may also include other RAN nodes, such as wireless relay devices and/or wireless backhaul devices (not shown in FIG. 1 ).
- the terminal device 120 is connected to the network device 110 in a wireless manner.
- the network device 110 is connected to the core network 200 in a wireless or wired manner.
- the core network device in the core network 200 and the network device 110 in the RAN 100 may be different physical devices, or may be the same physical device that integrates the core network logical functions and the radio access network logical functions.
- RAN 100 may be a cellular system related to the 3rd generation partnership project (3GPP), for example, a 4th generation (4G), a 5th generation (5G) mobile communication system, or an evolution system after 5G (for example, a 6G mobile communication system).
- 3GPP 3rd generation partnership project
- 4G 4th generation
- 5G 5th generation
- RAN 100 may also be an open access network (open RAN, O-RAN or ORAN), a cloud radio access network (cloud radio access network, CRAN), or a WiFi system.
- RAN 100 may also be a communication system that integrates two or more of the above systems.
- FIG. 1 only shows a possible communication system architecture that can be applied to an embodiment of the present application.
- the communication system architecture may also include other devices.
- the network device 110 is a node in a radio access network (RAN), which can also be called an access network device. It can be called a RAN node (or device).
- the network device 110 is used to help terminal devices achieve wireless access.
- the multiple network devices 110 in the communication system 1000 can be nodes of the same type or different types of nodes. In some scenarios, the roles of the network device 110 and the terminal device 120 are relative.
- the network element 120i in Figure 1 can be a helicopter or a drone, which can be configured as a mobile base station.
- the network element 120i is a base station; but for the base station 110a, the network element 120i is a terminal device.
- the network device 110 and the terminal device 120 are sometimes referred to as communication devices.
- the network elements 110a and 110b in Figure 1 can be understood as communication devices with base station functions
- the network elements 120a-120j can be understood as communication devices with terminal device functions.
- the network device may be a base station, an evolved NodeB (eNodeB), a transmitting and receiving point (TRP), a transmitting point (TP), a next generation NodeB (gNB), a next generation base station in a 6th generation (6G) mobile communication system, a base station in a future mobile communication system, a satellite, or an access point (AP) in a WiFi system, an integrated access and backhaul (IAB) node, a network device in a mobile switching center non-terrestrial network (NTN) communication system, that is, it may be deployed on a high altitude platform or a satellite, etc.
- the network device may be a macro base station (such as 110a in FIG.
- the network device may also be a device that acts as a base station in device-to-device (D2D) communication, Internet of Vehicles communication, drone communication, and machine communication.
- the network device may also be a server, a wearable device, a vehicle or an onboard device, etc.
- the access network device in the vehicle to everything (V2X) technology may be a road side unit (RSU).
- the network device may be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU).
- the CU and DU may be set separately, or may be included in the same network element, such as a baseband unit (BBU).
- BBU baseband unit
- the RU may be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).
- the network device may be a CU node, a DU node, or a device including a CU node and a DU node.
- the CU may be divided into a network device in the access network RAN, or the CU may be divided into a network device in the core network CN, without limitation here.
- CU or CU-CP and CU-UP
- DU may have different names, but those skilled in the art can understand their meanings.
- O-RAN open radio access network
- CU may also be called O-CU (open CU)
- DU may also be called O-DU
- CU-CP may also be called O-CU-CP
- CU-UP may also be called O-CU-UP
- RU may also be called O-RU.
- this application takes CU, CU-CP, CU-UP, DU and RU as examples for description.
- Any unit in CU (or CU-CP and CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
- the form of the network device is not limited.
- the device for realizing the function of the network device can be the network device; or it can be a device that can support the network device to realize the function, such as a chip system.
- the device can be installed in the network device or used in combination with the network device.
- the terminal device 120 may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc., or a device for providing voice or data connectivity to a user, or an IoT device.
- the terminal device includes a handheld device with a wireless connection function, a vehicle-mounted device, etc.
- terminal devices can be: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices (such as smart watches, smart bracelets, pedometers, etc.), vehicle-mounted equipment (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed railways, etc.), satellite terminals, virtual reality (VR) equipment, augmented reality (AR) equipment, smart point of sale (POS) machines, customer-premises equipment (CPE), wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electric meters, etc.), intelligent robots, robotic arms, workshop equipment, wireless terminals in unmanned driving, wireless terminals in telemedicine, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, flying equipment (such as intelligent robots, hot air balloons, drones, airplanes), etc.
- the terminal device may also be other devices having terminal functions.
- the terminal device may also be a device that serves as a terminal in D
- the embodiments of the present application do not limit the device form of the terminal device.
- the device for realizing the function of the terminal device can be the terminal device; it can also be a device that can support the terminal device to realize the function, such as a chip system.
- the device can be installed in the terminal device or used in combination with the terminal device.
- the chip system can be composed of chips, or it can include chips and other discrete devices.
- the channel coding part is located between the source coding and modulation, responsible for channel coding the information bits (or bit streams) generated by the source, and then after modulation, sending the modulation symbols through the noisy channel to the receiving end for demodulation. After demodulation, the receiving end performs channel decoding.
- the channel decoding part is located between demodulation and source decoding, responsible for recovering the information bits of the source.
- the core network elements involved are a channel coding unit and a channel decoding unit.
- the length of the information bit can be referred to as the payload size.
- CRC coding is a channel coding method.
- the information bits from the source are CRC-encoded to obtain a CRC codeword.
- the CRC codeword includes K information bits and L check bits (or check code, CRC code, etc.) spliced after the K information bits, that is, the length of the CRC codeword is K+L bits.
- K and L are positive integers.
- gCRC For a CRC codeword with a check bit length of L, there is a CRC polynomial gCRC with a highest power of L, which can be used to generate L check bits, so gCRC can be called the generator polynomial of this check bit.
- the power can be replaced by the exponent, and the highest power can be replaced by the highest exponent.
- the generator polynomial can be determined by negotiation between the sender and the receiver, or can be determined by protocol definition, preconfiguration or predefinition, so the length of the check bit can be determined according to the polynomial.
- the message polynomial is M(D), where the message polynomial is determined by the binary information bits to be sent. For example, if the value of the Xth bit of the binary information bit is 1, then the coefficient of the power X-1 term in the polynomial is 1. If the value of the Yth bit of the binary bit is 0, then the coefficient of the power Y-1 term in the polynomial is 0, or the polynomial does not include the power Y term, and X and Y are positive integers.
- M(D) is shifted left by L bits, that is, each term is increased by L, and the polynomial is expressed as M(D)*D ⁇ R, where * represents multiplication.
- the remainder obtained by dividing M(D)*D ⁇ R by the generating polynomial gCRC is the check bit.
- the binary bits 1010110000 corresponding to M(D)*D ⁇ 5 are divided by the binary information bits corresponding to the polynomial gCRCLmax to be 10011, that is, the L-bit remainder is obtained by the modulo 2 algorithm.
- the bit sequence of the remainder is 0100, which is the check bit. Therefore, the CRC codeword bit stream after CRC encoding is 1010110100, of which the first 6 bits are the original data 9 (i.e., information bits) and the last 4 bits are check bits.
- the sender can perform subsequent processing on the bit stream 1010110100 and send it. If there is no error during data transmission, the data containing the check bits received by the receiving end can be divided by the binary bits 10011 of the generator polynomial of the check bits. If an error occurs during transmission, the data containing the check bits received by the receiving end will not be divided by 10011, so the receiving end can identify the transmission error.
- the network device and the terminal device can be used as a transmitter and a receiver, respectively.
- the network device in downlink communication, the network device is a transmitter and the terminal device is a receiver.
- the terminal device In uplink communication, the terminal device is a transmitter and the network device is a receiver.
- the network device can be a transmitter or a receiver. Among them, if the transmitter is a network device, the receiver is a terminal device, and this is downlink communication. If the transmitter is a terminal device, the receiver is a network device, and this is uplink communication.
- the present application does not exclude that both the transmitter and the receiver are terminal devices, and D2D communication is performed between the transmitter and the receiver.
- the code rate also known as the coding rate or coding efficiency, refers to the proportion of the useful part (non-redundant) in the data stream.
- the code rate is k/n, the unit is bit/symbol, then for every k bits of useful information, the encoder generates a total of n bits of data, of which n-k are redundant.
- R is the total bit rate or data signaling rate (including redundant error coding)
- the net bit rate (the useful bit rate excluding the error correction code) ⁇ R ⁇ k/n. This means that excluding the error correction code, the code rate is 1, and the total bit rate or data signaling rate is equal to the net bit rate or useful bit rate.
- the data block before coding is called a transport block (TB). Since the number of bits in a TB is large, the transmitter usually splits a TB into multiple code blocks (CB), and each CB is channel coded separately. Since the physical resources used to transmit the code block may not be consistent with the physical time-frequency resources of the code block to be transmitted, it is necessary to retransmit or puncture the code block to be transmitted to match the carrying capacity of the physical time-frequency resources. This process is called rate matching. Multiple CBs after channel coding need to be rate matched, and then interleaved, concatenated, and other processes are performed before being transmitted to the receiving end as a physical data block (codeword).
- codeword Physical data block
- the embodiment of the present application provides a data processing method, which can be applied to but not limited to the communication system shown in Figure 1.
- the method can be implemented by a first communication device and a second communication device, and the first communication device can be used as a data transmitter and/or receiver, and the second communication device can also be used as a data transmitter and/or receiver. That is to say, if the first communication device is used as a transmitter, then the second communication device is a receiver; or, if the first communication device is used as a receiver, then the second communication device is a transmitter.
- the method can be executed by the first communication device and the second communication device, or it can be executed by the components (modules, chips, etc.) corresponding to the first communication device and the second communication device, or it can be executed by a device corresponding to the first communication device and the second communication device.
- the embodiment of the present application does not specifically limit the specific form and quantity corresponding to the first communication device and the second communication device. Please refer to Figure 3, the specific process of the method is as follows:
- a first communication device obtains first information bits and decoding capability information of a second communication device.
- the first communication device may be, but is not limited to, a network device or a terminal device.
- the information bit may refer to a bit that carries information; in the above, the first information bit may be referred to as a payload information bit to be transmitted or an original information bit.
- the first communication device may obtain the decoding capability information of the second communication device in the following ways, but not limited to:
- Method 1 receiving first information from a second communication device, where the first information is used to indicate decoding capability information of the second communication device.
- Method 2 receiving capability information of the second communication device from the second communication device, wherein the first field in the capability information of the second communication device is used to indicate decoding capability information of the second communication device.
- Method three receiving type information of the second communication device from the second communication device, wherein the type information of the second communication device includes decoding capability information of the second communication device.
- the decoding capability information of the second communication device is the maximum length N max of the codewords supported for decoding by the second communication device, where N max is a value greater than 0.
- the base station (encoder/transmitter) can set several levels (or several gears) according to the decoding capability of the UE.
- the multiple decoding capabilities are N max(0) , N max(1) , N max(2) , ..., N max(J-1) , and the corresponding level number j is: 0, 1, 2, ..., J-1.
- UE1 can report its own level number j as 1 to the base station, then the base station can determine that the maximum length of the codeword supported for decoding of UE1 is N max(1) according to the level number 1 of UE1.
- the first communication device performs segmentation processing on the first information bits according to the decoding capability information of the second communication device to obtain segmented information bits.
- step S302 when the first communication performs step S302, the following implementations may be included but are not limited to:
- the first communication device may perform segment processing according to the code rate, the first information bit, and the maximum length N max of the codeword supported for decoding by the second communication device.
- the first communication device may determine the initial segment value C′ according to the number of bits L of the cyclic redundancy check CRC of each cascaded segment, the code rate, N max , and the number of bits of the first information bit; wherein L is a preset integer greater than or equal to 0, and C′ is an integer greater than or equal to 1;
- bit rate is greater than or equal to the preset bit rate, the number of segments is determined to be equal to the initial segment value C′.
- the number of segments is determined to be equal to C1, where C1 is a positive integer less than or equal to C′.
- the initial segment value C′ may satisfy the following formula:
- Kcb is the maximum number of information bits in each segment after segmentation.
- R is the code rate;
- A is the number of bits of the first information bit, is the rounding symbol, and
- / is the division sign.
- the value of the preset bit rate is greater than 0 and less than 1.
- the preset bit rate is equal to 1/4.
- y is an integer greater than or equal to 1.
- y is equal to 2.
- the coding gain corresponding to the code rate lower than 1/4 is close to the energy gain of repeated transmission.
- the encoding operation is reduced while the energy gain of repeated transmission is obtained.
- Kcb includes information bits and check bits.
- K cb is the rounded number.
- This implementation manner can be applied when the first communication device needs to perform segment processing on the first information bits, for example, the number of the first information bits is greater than the calculated K cb (K cb is the maximum number of bits of each segment of information bits).
- the first communication device determines that the segment component is equal to 1, that is, the first communication device directly encodes the first information bit and sends it to the second communication device.
- the first communication device may perform segmentation processing according to the total number of transmission resource units, the modulation order, the first information bit and the maximum length N max of the codeword supported for decoding by the second communication device, where N max is a value greater than 0.
- it may include: firstly determining an initial segmentation value C 3 according to the total number of transmission resource units, the modulation order, and the maximum length N max of the codeword supported for decoding by the second communication device; C 3 is a positive integer; then calculating the number of bits of the remaining transmission resources according to the total number of transmission resource units, the modulation order, the initial segmentation value C 3 , and the maximum length N max of the codeword supported for decoding by the second communication device;
- the first communication device may evenly divide the first information bits into C 3 segments.
- the first communication device may evenly divide the first information bits into C 3 + 1 segments.
- the initial segment value C3 may satisfy the following formula (2):
- the number of bits of the remaining transmission resource can satisfy the following formula (3):
- B rest E total ⁇ Q m - C 3 ⁇ N max Formula (3)
- the number of segments C can satisfy the following formula (4):
- Q m is the modulation order
- E total is the total number of transmission resource units
- B rest is the number of bits of the remaining transmission resources
- z ⁇ N max is the preset value
- z is a value greater than 0 and less than 1. is the floor symbol
- / is the division sign.
- the number of bits of the remaining transmission resources is more than half of N max , that is, the remaining transmission resource units are relatively large. Therefore, compared with the initial segmentation value C 3 , the number of segments can be increased by 1 (that is, one more segment can be divided), and the remaining transmission resource units can be used to transmit the extra segment of codeword bits.
- z can be taken as The number of bits that can be matched by the rate (such as shortening or opening) can be guaranteed.
- the number of bits dropped by punctures is less than half the mother code length.
- S303 The first communication device encodes the segmented information bits to obtain codeword bits.
- the first communication device when the first communication device executes the step S303, it may include: concatenating a CRC with a bit number of L at the tail of each segmented information bit to obtain each segment of concatenated information bits; and then encoding each segment of concatenated information bits to obtain each segment of codeword bits.
- the first communication device may concatenate L bits of CRC behind each information bit in the segmented C′ information bits, and then perform encoding processing on each concatenated information bit.
- the first communication device can directly encode the first information bit without cascading CRC.
- the first communication device executes the step S303, it may include:
- the first communication device may concatenate L bits of CRC behind each information bit in the segmented C 3 information bits, and then perform encoding processing on each concatenated information bit.
- the size of each codeword bit in the C 3 codeword bits is equal to the maximum length N max of the codeword supported for decoding, and the code rate of each segment in the C 3 segments is the same.
- the first communication device may concatenate L bits of CRC behind each information bit in the segmented C 3 information bits, and then perform encoding processing on each concatenated information bit.
- the first information bit will be divided into one more segment than the initial segment value C 3 , so compared with the number of bits of each information bit segment divided according to the initial segment value, the number of bits of each information bit segment (i.e., the original information bit) in the first C 3 segments will be reduced, and the size of the codeword bits of the first C 3 segments is equal to the maximum length N max of the codeword supported for decoding by the second communication device, so that the code rate of each segment in the first C 3 segments is slightly reduced. Since the size of the codeword bits of the last segment is smaller than N max , the code rate corresponding to the last segment will be larger.
- the first communication device outputs the code word bits; correspondingly, the second communication device obtains the code word bits.
- the first communication device may send the codeword bit to the second communication device through a component (e.g., a communication module, an antenna, etc.) in the first communication device; or the first communication device may output the codeword bit through the communication interface of the first communication device, and correspondingly, the communication interface of the second communication device obtains the codeword bit; or the first communication device may output the codeword bit through a component (e.g., a chip) corresponding to the first communication device, and correspondingly, the second communication device obtains the codeword bit through a component (e.g., a chip) corresponding to the second communication device. Therefore, the present application does not limit the specific implementation method of transmitting the codeword bit from the first communication device to the second communication device.
- a component e.g., a communication module, an antenna, etc.
- the DU of the base station (equivalent to the first communication device) sends codeword bits to the UE (equivalent to the second communication device).
- the first communication device executes S304, it may include the following:
- the first communication device may use the pre-allocated total transmission resource unit to send the C′ segment codeword bits to the second communication device.
- the time domains in which the first communication device sends the C′ segment codeword bits may be the same or different, and there is no specific limitation on this.
- the first communication device can use the pre-allocated total transmission resource units to transmit the C1 segment codeword bits. If the number of transmission resource units occupied by sending the C1 segment codeword bits is less than the total number of transmission resource units, the first communication device can use the remaining transmission resource units in the total transmission resource units to retransmit part of the codeword bits or all of the codeword bits in the C1 segment codeword bits.
- part of the codeword bits in the C1 segment codeword bits retransmitted by the first communication device may be part of the complete segment codeword bits, or part of the incomplete segment codeword bits.
- the first communication device retransmits C2 segment codeword bits in the C1 segment codeword bits, where C2 is a positive integer value less than or equal to C1.
- the first communication device retransmits C2 segment codeword bits in the C1 segment codeword bits, where C2 is a non-integer value greater than 0 and less than C1.
- the retransmitted codeword bits may also refer to the bits in the repeated codeword in order from the front to the back.
- N rep is the number of codeword bits to be repeatedly sent.
- N rep is less than the length of the codeword in the segment
- the bits are sent until the number of bits allowed to be carried by the remaining transmission resources is reached.
- N rep is greater than the length of the codeword segment, the codeword segment continues to be sent from the head, and so on, until all remaining transmission resources are used up.
- the number of coded code fields C1 1, i.e., 1 segment. If the retransmitted bits are the 1st, 2nd, 3rd, ..., N rep bits in this segment, N rep represents the number of codeword bits that are repeatedly sent. When N rep is greater than the length of this segment, the loop continues to send from the beginning. When N rep is less than the length of this segment, the transmission is repeated until the number of bits allowed to be carried by the remaining transmission resources is reached.
- the first communication device uses the remaining transmission resource unit, after retransmitting the C1 segment codeword bits, if there are remaining transmission resource units in the remaining transmission resource unit, it can continue to be used to retransmit part of the codeword bits or all of the codeword bits in the C1 segment codeword bits.
- the specific retransmission situation can refer to the above retransmission situation, which will not be described in detail here.
- the first communication device executes S304, it may include the following:
- the first communication device may use the pre-allocated total transmission resource units to transmit C 3 segments of codeword bits. If the number of transmission resource units occupied by the C 3 segments of codeword bits is less than the number of the total transmission resource units, the remaining transmission resource units in the total transmission resource units are used to retransmit part of or all of the C 3 segments of codeword bits; C 3 is a positive integer.
- some of the codeword bits in the C3 segment codeword bits retransmitted by the first communications device may be codeword bits of a portion of a complete segment, or may be codeword bits of a portion of an incomplete segment.
- the first communication device retransmits C4 segment codeword bits in the C3 segment codeword bits, where C4 is a positive integer value less than or equal to C3.
- the first communication device retransmits C4 segment codeword bits in the C3 segment codeword bits, where C4 is a non-integer value greater than 0 and less than C3.
- the first communication device may use the pre-allocated total transmission resource units to transmit the first C 3 codeword bits of the C 3 +1 codeword bits. If the number of transmission resource units occupied by the first C 3 codeword bits is less than the number of the total transmission resource units, the remaining transmission resource units in the total transmission resource units are used to transmit the last codeword bit.
- S305 The second communication device decodes the codeword bits to obtain first information bits.
- the second communication device receives C' segment code word bits from the first communication device, where C' is an integer greater than or equal to 1.
- the first communication device may first decode the C' segment code word bits to obtain C' segment cascaded information bits; and then remove the CRC code from the C' segment cascaded information bits to obtain the first information bits.
- the second communication device receives C1 segment codeword bits and part of or all of the retransmitted C1 segment codeword bits from the first communication device; C1 is a positive integer less than or equal to C'.
- the second communication device may first combine and decode the soft bits corresponding to the C1 segment codeword bits and the soft bits corresponding to the retransmitted codeword bits to obtain concatenated information bits; and then remove the concatenated CRC code from the concatenated information bits to obtain the first information bits.
- the soft bit may refer to the demodulated soft bit information LLR, also known as log likelihood ratio (LLR).
- LLR log likelihood ratio
- UE1 receives three codewords, namely codeword 1, codeword 2, codeword 3, and codeword 4.
- UE1 also receives retransmitted codewords 1, 2, and 3.
- UE1 combines (concatenates) the soft bits corresponding to codeword 1 and the soft bits corresponding to the retransmitted codeword 1, and then decodes them. It combines (concatenates) the soft bits corresponding to codeword 2 and the soft bits corresponding to the retransmitted codeword 2, and then decodes them. It combines (concatenates) the soft bits corresponding to codeword 3 and the soft bits corresponding to the retransmitted codeword 3, and then decodes the soft bits corresponding to codeword 4 separately. Then, the CRC bits in each decoded information bit are removed.
- the second communication device receives C3 codeword bits and part or all of the retransmitted C3 codeword bits from the first communication device.
- the second communication device may first combine the soft bits corresponding to the C3 codeword bits and the soft bits corresponding to the retransmitted codeword bits and then decode them to obtain concatenated information bits; then remove the CRC code from the concatenated information bits to obtain the first information bits.
- the specific example can refer to the above method to perform combined decoding, and no detailed examples are given here.
- the second communication device receives C 3 +1 segments of codeword bits from the first communication device; C 3 is a positive integer.
- the second communication device may first decode the C 3 +1 segments of codeword bits to obtain C 3 +1 segments of cascaded information bits; and remove the CRC code from the C 3 +1 segments of cascaded information bits to obtain the first information bits.
- the size of the first C 3 codeword bits in C 3 +1 is equal to the maximum length N max of the codeword supported for decoding by the second communication device, and the code rate of the first C 3 codeword bits in C 3 +1 will be slightly reduced.
- the length of the last codeword bit in C 3 +1 is less than N max , so The bit rate is relatively large.
- the second communication device when the number of segments is 1, that is, the first information bit is not processed in segments, the second communication device receives a code word bit, which is data obtained after the second communication device directly encodes the first information bit. Therefore, the second communication device performs decoding processing on the code word bit to obtain the first information bit.
- the embodiment of the present application proposes a data processing method and device, the method comprising: a first communication device first obtains the decoding capability information of a second communication device; then, according to the decoding capability information of the second communication device, the first information bit is segmented to obtain the segmented information bit; then, the segmented information bit is encoded to obtain the code word bit; and then the code word bit is output.
- the first communication device segments the first information bit according to the decoding capability information of the second communication device, then encodes it, and then outputs it to the second communication device, which can ensure the decoding performance of the second communication device.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- the first implementation method of the segment processing in step S302 of the solution described in FIG. 3 is described in detail.
- the base station obtains the maximum code length that UE1 can support and determines the current code rate. Then, the base station evenly segments the number of bits of the target payload (equivalent to the first information bit in the scheme described in Figure 3 above) according to the maximum code length that UE1 can support and the current code rate. Furthermore, the base station cascades an L-bit CRC code after each segment. The subsequent process can be executed with reference to the encoding process shown in Figure 2. For example, each segment of data after the base station cascades the CRC code is subsequently channel encoded and modulated, and then sent to UE1 through the channel.
- the specific implementation method can refer to the existing technology implementation, which will not be described in detail here.
- FIG. 4A shows a flow chart of segment processing and CRC encoding based on the maximum code length and current code rate supported by UE1.
- the specific analysis of the process is as follows:
- Step 1 According to the maximum code length N max supported by UE1 and the current code rate R, determine the maximum value K cb of the number of bits per message segment;
- K cb satisfies the following formula:
- Step 2 Determine the number of segments based on K cb :
- Step 3 Divide the A′ input bits obtained in Step 2 into C segments evenly, and concatenate an L-bit CRC to each segment:
- the number of bits A′ of the net payload is divided into C segments (ie, C code blocks), and then an L-bit CRC is concatenated at the end of each segment.
- r represents the serial number corresponding to the code block
- the value of r ranges from 0 to C-1
- K r is the number of bits of the code block with serial number r.
- the bits of code block r are expressed as
- bit sequence C rk For the code block with sequence number r, the corresponding bit sequence is as follows:
- the CRC bits are calculated as follows: p r0 , p r1 , p r2 , ... , p r(L-1) .
- the L bits of the CRC for the code block with sequence number r are expressed as follows;
- C rk pr(k+LK′) ;
- the value of k is K′-L to K′-1.
- the number of bits A′ of the payload is determined as a code block, and the bits of the code block can be represented by a bit sequence C rk in the above manner.
- the 4B shows the segmented transmission method in the first embodiment, that is, the current code rate R is not lower than the preset threshold (eg ), the segmentation is performed according to the determined number of segments, the number of bits in each segment is A'/C, and the size of the physical resources occupied by each segment is equal to E/C.
- the code rate of each segment is equal to A/E.
- E represents the total amount of physical resources allocated by the base station for transmission, in bits.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the current code block is smaller than the preset value (for example ), the segmentation is performed according to half the number of segments in the above step 1, and the remaining resources can be used for retransmission.
- Step 1 According to the maximum decoding code length N max supported by the decoder of UE1 and the current code rate R, determine the maximum number of bits per message segment K cb ;
- This step Step 1 can be implemented with reference to step Step 1 of the above-mentioned embodiment 1, and will not be described in detail here.
- Step 2 Determine the number of segments C based on K cb :
- Step 3 Divide the A′ input bits obtained in Step 2 into C segments evenly, and concatenate an L-bit CRC to each segment:
- This step Step 3 is implemented with reference to the step Step 3 of the above-mentioned embodiment 1, and will not be described in detail here.
- the current bit rate R is lower than a preset threshold (eg )
- first determine the initial number of segments C′ according to the segmentation method in the above-mentioned embodiment 1, and then take half of the initial number of segments as the number of segments actually required, that is, C C′/2; divide A evenly into C segments, the coding rate of each segment is 2R, the code length of each segment is E/C, and the remaining resources can be used to retransmit the C segments, as shown in Figure 5A.
- a preset threshold eg
- A 128 bits
- the maximum decoding length N max 128 bits supported by the decoder of UE1.
- FIG5C shows the decoding performance of the number of segments corresponding to the first and second embodiments at different code rates, wherein the horizontal axis is the signal-to-noise ratio (EsN0), in dB, and the vertical axis is the bit error rate (block error rate, BLER), and generally the lower the curve, the better the performance.
- EsN0 signal-to-noise ratio
- BLER block error rate
- Example 3 taking the first communication device as a base station and the second communication device as UE1 as an example, the second implementation method of the segmentation processing in step S302 of the scheme described in Figure 3 is introduced in detail.
- the base station obtains the maximum code length supported by UE1 for decoding, and determines the number of total allocated transmission resource units.
- the base station evenly segments the number of bits of the target payload according to the maximum code length supported by UE1 for decoding and the number of total transmission resource units.
- the base station cascades an L-bit CRC code after each segment.
- each segment of data after the base station cascades the CRC code is subsequently channel encoded and modulated, and then sent to UE1 through the channel.
- the specific implementation method can refer to the existing technology implementation, which will not be described in detail here.
- the following is a flowchart of the procedure for segmentation processing and CRC encoding based on the maximum code length and current code rate supported by UE1.
- the procedure is as follows:
- Step 1 Determine the number of segments C according to the maximum code length N max supported by UE1 and the current total number of resources E total .
- the initial segment number C 3 (equivalent to C 3 in the solution described in FIG. 3 ) is calculated as follows:
- the remaining resources are greater than the maximum mother code length supported by the UE1 decoder Therefore, it can be divided into one more segment. Then after transmitting C 3 segments, the remaining resources are used to transmit the last segment.
- Step 2 Determine the number of bits per message
- Step 3 Divide the A′ input bits obtained in Step 2 into C segments evenly, and concatenate an L-bit CRC to each segment:
- This step Step 3 can be implemented with reference to step Step 3 of the above-mentioned embodiment 1, and will not be described in detail here.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the first communication device i.e., the transmitting end or the encoding end
- the second communication device i.e., the receiving end or the decoding end
- the number of base stations and UEs is not specifically limited.
- the number of UEs can be multiple.
- the base station can obtain the decoding capability of each UE in the following ways:
- Protocol 38.306 details the capabilities of each terminal, including whether UE capabilities are mandatory. There is protocol content, and the embodiment of the present application proposes that a new field (Field) can be added to indicate the decoding capability of the UE.
- Field a new field
- a new Field is added in the 38.306 4.2.7.10 phy-parameters section to indicate the decoding capability of the UE.
- the bold part in FIG6A is the new content.
- Protocol 38.331 involves UE capability query and reporting process, signaling structure, etc. Based on the existing protocol content, the embodiment of the present application proposes that a new IE can be added to indicate the maximum code length and minimum code rate and the maximum number of segments supported by the UE for decoding.
- a new IE is added in the 38.331 6.3.3 UE Capability information elements section to indicate the maximum code length, minimum code rate, and maximum number of segments supported by the UE for decoding.
- the bold part in FIG6B is the new content.
- Protocol 38.822 involves UE features, and UE capabilities further translate UE features into the language required by the protocol. Based on the existing protocol content, the embodiment of the present application proposes features that can add UE decoding capabilities; for example, add content (Components) in NR_UE_pow_sav_enh, and explain that it is supported low-power decoding, limiting the maximum code length N max , the minimum code rate R min , the minimum number of segments and other parameters.
- add content Components
- a new UE decoding capability feature is added in the 38.822 6.1 Layer-1 UE features section; Components is added in 38.822 6.1.8 NR_UE_pow_sav_enh, and it is explained that low-power decoding is supported, and parameters such as the maximum code length, the minimum code rate, and the minimum number of segments are limited.
- the bold part in FIG6C is the new content.
- the methods provided by the embodiments of the present application are introduced from the perspective of interaction between various devices.
- the first communication device or the second communication device may include a hardware structure and/or a software module to implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the functions described above is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
- each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
- the embodiment of the present application further provides a data processing device 700 for implementing the functions of the first communication device or the second communication device in the above method.
- the data processing device 700 may be a software module or a chip system.
- the chip system may be composed of a chip, or may include a chip and other discrete devices.
- the data processing device 700 may include: a communication unit 701 and a processing unit 702.
- the communication unit 701 may also be referred to as a transceiver unit, and may include a sending unit and/or a receiving unit, which are respectively used to execute the steps of sending and receiving by the first communication device or the second communication device in the above method embodiment.
- the processing unit 702 may be used to read instructions and/or data in the storage module so that the data processing device 700 implements the above method embodiment.
- the data processing device 700 may further include a storage unit 703, which is equivalent to a storage module and can be used to store instructions and/or data.
- a storage unit 703 which is equivalent to a storage module and can be used to store instructions and/or data.
- the communication unit 701 may also be referred to as a transceiver, a transceiver, a transceiver device, etc.
- the processing unit may also be referred to as a processor, a processing board, a processing module, a processing device, etc.
- the device used to implement the receiving function in the communication unit 701 may be regarded as a receiving unit, and the device used to implement the sending function in the communication unit 701 may be regarded as a sending unit, that is, the communication unit 701 includes a receiving unit and a sending unit.
- the communication unit may also be sometimes referred to as a transceiver, a transceiver, or a transceiver circuit, etc.
- the receiving unit may also be sometimes referred to as a receiver, a receiver, or a receiving circuit, etc.
- the sending unit may also be sometimes referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
- the communication unit 701 obtains decoding capability information of the second communication device
- the processing unit 702 is configured to perform segmentation processing on the first information bits according to the decoding capability information of the second communication device to obtain segmented information bits; and perform encoding processing on the segmented information bits to obtain codeword bits;
- the communication unit 701 is further configured to output the codeword bits.
- the communication unit 701 is used to obtain codeword bits; the codeword bits are obtained by encoding the segmented information bits, and the segmented information bits are obtained by segmenting the first information bits according to the decoding capability information of the second communication device;
- the processing unit 702 is configured to decode the codeword bits to obtain the first information bits.
- processing unit 702 and the communication unit 701 may also perform other functions.
- processing unit 702 and the communication unit 701 may also perform other functions.
- the relevant description in the method embodiment shown in FIG3 please refer to the relevant description in the method embodiment shown in FIG3 , which will not be repeated here.
- a data processing device 800 provided in an embodiment of the present application is shown.
- the communication device shown in FIG8 may be a hardware circuit implementation of the communication device shown in FIG7 .
- the data processing device 800 may be applicable to the flowchart shown above to perform the functions of the first communication device or the second communication device in the above method embodiment.
- FIG8 only shows the main components of the communication device.
- the data processing device 800 includes a communication interface 801 and a processor 802.
- the communication interface 801 and the processor 802 are coupled to each other.
- the communication interface 801 may be a transceiver or an input/output interface, or an interface circuit such as a transceiver circuit.
- the data processing device 800 may further include a memory 803 for storing instructions executed by the processor 802 or storing input data required by the processor 802 to execute instructions or storing data generated after the processor 802 executes instructions.
- the processor 802 is used to implement the functions of the processing unit 702
- the communication interface 801 is used to implement the functions of the communication unit 701 .
- connection medium between the communication interface 801, the processor 802 and the memory 803 is not limited in the embodiment of the present application.
- the memory 803, the processor 802 and the communication interface 801 are connected via a communication bus 804, which is represented by a thick line in FIG8 .
- the connection mode between other components is only for schematic illustration and is not limited thereto.
- the communication bus 804 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG8 , but it does not mean that there is only one bus or one type of bus.
- FIG9 shows a simplified schematic diagram of the chip structure, where the chip 900 includes an interface circuit 901 and one or more processors 902.
- the chip 900 may also include a bus.
- the processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above data processing method can be completed by an integrated logic circuit of hardware in the processor 902 or an instruction in the form of software.
- the above processor 902 can be a general-purpose processor, a digital communicator (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- DSP digital communicator
- ASIC application-specific integrated circuit
- FPGA field programmable gate array
- the disclosed methods and steps in the embodiments of the present application can be implemented or executed.
- the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
- the interface circuit 901 can be used to send or receive data, instructions or information.
- the processor 902 can use the data, instructions or other information received by the interface circuit 901 to process, and can send the processing completion information through the interface circuit 901.
- the chip further includes a memory 903, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor.
- a portion of the memory 903 may also include a non-volatile random access memory (NVRAM).
- NVRAM non-volatile random access memory
- the memory stores executable software modules or data structures
- the processor can perform corresponding operations by calling operation instructions stored in the memory (the operation instructions can be stored in the operating system).
- the chip can be used in the first communication device or the second communication device involved in the embodiment of the present application.
- 901 may be used to output the execution result of the processor 902.
- the data processing method provided by one or more embodiments of the present application, reference may be made to the aforementioned embodiments, which will not be described in detail here.
- interface circuit 901 and the processor 902 can be implemented through hardware design, software design, or a combination of hardware and software, which is not limited here.
- An embodiment of the present application also provides a computer-readable storage medium on which computer instructions for implementing the method executed by the first communication device or the second communication device in the above method embodiment are stored.
- the computer when the computer program is executed by a computer, the computer can implement the method performed by the first communication device or the second communication device in the above method embodiment.
- An embodiment of the present application also provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method performed by the first communication device or the second communication device in the above method embodiment.
- An embodiment of the present application also provides a chip, including a processor, for calling a computer program or computer instruction stored in the memory so that the processor executes the data processing method of the embodiment shown in FIG. 3 above.
- the input of the chip corresponds to the receiving operation in the embodiment shown in FIG. 3
- the output of the chip corresponds to the sending operation in the embodiment shown in FIG. 3 .
- the processor is coupled to the memory via an interface.
- the chip also includes a memory in which computer programs or computer instructions are stored.
- the processor mentioned in any of the above may be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of a program of a data processing method of the embodiments shown in FIG. 3-FIG. 4A-FIG. 7.
- the memory mentioned in any of the above may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
- the communication devices may also include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
- the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory).
- the operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system.
- the application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
- each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
- Computer-readable media include computer storage media and communication media, wherein the communication media include any medium that facilitates the transmission of a computer program from one place to another.
- the storage medium can be any available medium that a computer can access.
- a computer-readable medium can include RAM, ROM, electrically erasable programmable read only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer.
- EEPROM electrically erasable programmable read only memory
- CD-ROM compact disc read-only memory
- Any connection can be appropriately a computer-readable medium.
- disk and disc include compact disc (CD), laser disc, optical disc, digital video disc (DVD), floppy disk, and Blu-ray disc, where disks usually copy data magnetically and discs use lasers to copy data optically.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提出一种数据处理方法和装置,该方法包括:第一通信装置获取第二通信装置的译码能力信息;根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特;再对该分段后的信息比特进行编码处理,得到码字比特;输出该码字比特。该方法中,第一通信装置根据第二通信装置的译码能力信息对第一信息比特进行分段处理后再编码,进而输出给第二通信装置,可以保证该第二通信装置执行译码的性能。
Description
本申请涉及通信技术领域,尤其涉及一种数据处理方法和装置。
分段编码技术是指将整个数据分成若干段分别进行编码的编码技术,这种技术在无线通信场景中广泛应用。目前的分段方式主要包括极化码(polar code)的分段方式和低密度奇偶校验(low density parity check,LDPC)的分段方式。其中,polar码的分段方法是根据净荷大小确定分段数量,或者根据净荷大小和物理资源大小共同确定分段数量。LDPC的分段方式主要是根据码长和码率来确定分段数量。然而,目前的分段方式均没有考虑接收装置(例如终端设备)的能力信息(比如译码能力)和关键绩效指标(key performance indicator,KPI),从而导致接收装置执行译码的性能较低。
鉴于上述问题,目前亟需提出一种数据处理方法,可以根据接收装置的译码能力信息来对待编码数据进行分段处理,以有效地确保后续接收装置的译码性能。
发明内容
本申请提出了一种数据处理方法和装置,可以根据接收装置的译码能力信息来对待编码的信息比特进行分段处理,以有效地确保接收装置的译码性能。
第一方面,本申请提供一种数据处理方法,该方法可由第一通信装置实施。其中,第一通信装置可以为但不限定于终端设备、网络设备、终端设备中的组件或网络设备中的组件。本申请中的组件例如可包括芯片、芯片系统、处理器、收发器、处理单元或收发单元中的至少一种。以执行主体是第一通信装置为例,该方法的步骤可以包括:获取第二通信装置的译码能力信息;根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特;再对该分段后的信息比特进行编码处理,得到码字比特;输出该码字比特。
在本申请方案中,第一通信装置可根据第二通信装置的译码能力信息对第一信息比特进行分段处理,以保证该第二通信装置接收到分段的码字比特之后执行译码的性能。
在本申请实施例中,该第一通信装置获取该第二通信装置的译码能力信息,可以通过但不限于以下几种方式实现:
方式一:获取第一信息,该第一信息用于指示该第二通信装置的译码能力信息。
方式二:获取该第二通信装置的能力信息,该第二通信装置的能力信息中的第一字段用于指示该第二通信装置的译码能力信息。
方式三:获取该第二通信装置的类型信息,该第二通信装置的类型信息中包括该第二通信装置的译码能力信息。
在一种可能的实施方式中,上述的第一信息或第二通信装置的能力信息或第二通信装置的类型信息可以来自该第二通信装置。
通过上述几种方式,第一通信装置可以灵活且有效地获得第二通信装置的译码能力信息。
一种可能的实施方式中,该第二通信装置的译码能力信息为该第二通信装置支持译码的码字的最大长度Nmax。
通过该实施方式,将第二通信装置支持译码的码字的最大长度Nmax作为该第二通信装置的译码能力信息,以用于分段处理中,可以有效保障后续该第二通信装置译码的性能。
另一种可能的实施方式中,该第二通信装置的译码能力信息为该第二通信装置支持译码的码字的最低码率Rmin;Rmin=A/Nmax;其中A为该第一信息比特的比特数,Nmax为该第二通信装置支持译码的码字的最大长度。
通过该实施方式,第一通信装置可以通过获得第二通信装置支持译码的码字的最低码率Rmin,进而也可以有效计算出该第二通信装置支持译码的码字的最大长度Nmax。
一种可能的实施方式中,该第一通信装置根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特,可以包括:根据码率、该第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理。
在本申请实施例中,该码率是指当前编码的码率。
通过该实施方式,第一通信装置可根据当前编码码率和第二通信装置支持译码的码字的最大长度对第一信息比特进行分段处理,以保障后续该第二通信装置执行译码的性能。
一种可能的实施方式中,该第一通信装置根据码率、该第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理,包括:根据每段级联的循环冗余校验CRC的比特数L、该码率、该Nmax、以及该第一信息比特的比特数,确定初始分段数值C′;L为预设的大于或等于0的整数,C′为大于1或者等于1的整数;对应于该码率大于或等于预设码率,确定分段数量等于C′;对应于该码率小于该预设码率,确定分段数量等于C1,C1为小于或者等于C′的正整数。
在本申请实施例中,该初始分段数值C′可以满足下式:
其中,Kcb为分段后的每段信息比特数的最大值,R为该码率;A为该第一信息比特的比特数,为向上取整符号;y为大于1或者等于1的整数。
通过该实施方式,先根据每段级联的CRC的比特数L、码率、Nmax以及该第一信息比特的比特数计算出初始分段数值;若当前的码率较大时(即大于或等于预设码率),将分段数量设置为该初始分段数值,可保证第二通信装置译码的性能;若当前的码率较小时(即小于预设码率),将分段数量设置得比初始分段数值小,这样分段后的每段信息比特的大小增大,码率可以得到提高,以避免低码率下导致译码性能较低的问题。
一种可能的实施方式中,该第一通信装置对该分段后的信息比特进行编码处理,得到码字比特,包括:在分段后的每段信息比特的尾部级联一段比特数为L的CRC,得到每段级联后的信息比特;对该每段级联后的信息比特进行编码,得到每段码字比特。
通过该实施方式,该第一通信装置可以在每段信息比特的尾部级联L比特的CRC后再执行编码等流程,以保证每段信息比特传输的正确性和完整性。
一种可能的实施方式中,C1段码字比特占用的传输资源单元的数量小于总的传输资源单元的数量时,该方法还包括:该第一通信装置使用该总的传输资源单元中的剩余传输资源单元,重传该C1段码字比特中的部分码字比特或者全部码字比特。
通过该实施方式,对于分段数量为C1的情况,若传输C1段码字比特之后,还有剩余传输资源单元时,可以使用剩余传输资源单元重传这C1段码字比特中的部分码字比特或全部的码字比特,以保证传输这C1段码字比特的完整性,以避免丢失的情况。
一种可能的实施方式中,该第一通信装置根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特,可以包括:根据总的传输资源单元的数量、调制阶数,该第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理,Nmax为大于0的取值。
通过该实施方式,该第一通信装置可以根据总的传输资源单元的数量、调制阶数、第一信息比特以及该Nmax进行有效的分段处理,以保障后续该第二通信装置执行译码的性能。
一种可能的实施方式中,该第一通信装置根据总的传输资源单元的数量、调制阶数,该第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理,包括:先根据该总的传输资源单元的数量、该调制阶数以及该第二通信装置支持译码的码字的最大长度Nmax,确定初始分段数值C3;C3为正整数;再根据该总的传输资源单元的数量、该调制阶数、该初始分段数值C3,以及该第二通信装置支持译码的码字的最大长度Nmax,计算剩余的传输资源的比特数;若该剩余的传输资源的比特数小于预设值时,则确定分段数量等于C3;若该剩余的传输资源的比特数不小于该预设值时,则确定分段数量等于C3+1。
在本申请实施例中,该初始分段数值C3可以满足:
该剩余的传输资源的比特数可以满足:Brest=Etotal×Qm-C3×Nmax。该分段数量C可以满足下式:
Brest<z·Nmax时,C=C3;
Brest≥z·Nmax时,C=C3+1;
其中,Qm为该调制阶数,Etotal为该总的传输资源单元的数量,Brest为该剩余的传输资源的比特数,z·Nmax为该预设值,z为大于0且小于1的值,为向下取整符号。
通过该实施方式,第一通信装置先根据总的传输资源单元的数量、该调制阶数以及该第二通信装置支持译码的码字的最大长度Nmax计算出初始分段数值,再基于初始分段数值进行分段的情况下,结合当前的调制阶数,计算出剩余的传输资源的比特数;若计算出的剩余的传输资源的比特数较少时(即小于预设值),将实际分段数量设置为初始分段数值;若计算出的剩余的传输资源的比特数较多时(即不小于预设值),将实际分段数量比初始分段数值多一个,从而可保证第二通信装置的译码性能,同时有效利用传输资源。
一种可能的实施方式中,C3段码字比特占用的传输资源单元的数量小于该总的传输资源单元的数量时,该方法还包括:该第一通信装置使用该总的传输资源单元中的剩余传输资源单元,重传该C3段码字比特中的部分码字比特或者全部码字比特。
通过该实施方式,对于分段数量为C3的情况,若传输C3段码字比特之后,还有剩余传输资源单元时,可以使用剩余传输资源单元重传这C3段码字比特中的部分码字比特或全部的码字比特,以保证传输这C3段码字比特的完整性,以避免丢失的情况。
一种可能的实施方式中,C3+1段码字比特中的前C3段码字比特占用的传输资源单元的数量小于总的传输资源单元的数量时,该方法还包括:该第一通信装置使用所述总的传输资源单元中的剩余传输资源单元,传输最后一段码字比特。
在本申请实施例中,C3+1段中的前C3段码字比特的大小等于该第二通信装置支持译码的码字的最大长度Nmax,且这前C3段中每段的码率相同;而最后一段码字比特的大小比Nmax小,因此相比前C3段的码率,最后一段的码率较大。
通过该实施方式,对于分段数量为C3+1的情况,先使用传输资源传输前C3段码字比特,使用剩余传输资源单元传输最后一段码字比特,从而在保证第二通信装置译码性能的同时,也可以保证传输资源有效被利用。
第二方面,本申请提供一种数据处理方法,该方法可由第二通信装置实施。其中,第二通信装置可以为但不限定于网络设备、终端设备、网络设备中的组件或终端设备中的组件。本申请中的组件例如可包括芯片、芯片系统、处理器、收发器、处理单元或收发单元中的至少一种。以执行主体是第二通信装置为例,该方法的步骤可以包括:输入码字比特;该码字比特是由分段后的信息比特进行编码处理得到的,该分段后的信息比特是第一通信装置根据该第二通信装置的译码能力信息对第一信息比特进行分段处理得到的;对该码字比特进行译码处理,得到该第一信息比特。
在本申请方案中,第一通信装置根据第二通信装置的译码能力信息对第一信息比特进行分段处理,再对分段后的信息比特进行编码处理后得到码字比特,再输出该码字比特;该第二通信装置获得该码字比特之后执行译码处理时的性能会较高。
在本申请实施例中,该第二通信装置还输出该第二通信装置的译码能力信息,可以包括但不限于以下几种方式:
方式一:输出第一信息,该第一信息用于指示该第二通信装置的译码能力信息。
方式二:输出该第二通信装置的能力信息,该第二通信装置的能力信息中的第一字段用于指示该第二通信装置的译码能力信息。
方式三:输出该第二通信装置的类型信息,该第二通信装置的类型信息中包括该第二通信装置的译码能力信息。
该第二通信装置可以通过上述几种方式灵活且有效地将该第二通信装置的译码能力信息输出给第一通信装置。
一种可能的实施方式中,将该第二通信装置支持译码的码字的最大长度Nmax作为该第二通信装置的译码能力信息,Nmax为大于0的取值。
通过该实施方式,将第二通信装置支持译码的码字的最大长度Nmax作为该第二通信装置的译码能
力信息,以用于分段处理中,可以有效保障后续该第二通信装置译码的性能。
另一种可能的实施方式中,该第二通信装置的译码能力信息为该第二通信装置支持译码的码字的最低码率Rmin;Rmin=A/Nmax;其中A为所述第一信息比特的比特数,Nmax为该第二通信装置支持译码的码字的最大长度。
通过该实施方式,第一通信装置可以通过获得第二通信装置支持译码的码字的最低码率Rmin,进而也可以有效计算出该第二通信装置支持译码的码字的最大长度Nmax。
一种可能的实施方式中,该第二通信装置从该第一通信装置接收到C′段码字比特,C′为大于或者等于1的整数;那么该第二通信装置对该码字比特进行译码处理,得到该第一信息比特,可以包括:先对该C′段码字比特进行译码处理,得到C′段级联后的信息比特;再对该C′段级联后的信息比特去CRC码,得到该第一信息比特。
通过该实施方式,该第二通信装置可以有效对C′段码字比特进行译码,准确地得到第一信息比特。
一种可能的实施方式中,该第二通信装置从该第一通信装置接收到C1段码字比特以及重传的该C1段码字比特中的部分码字比特或者全部码字比特;C1为小于或者等于C′的正整数;那么该第二通信装置对该码字比特进行译码处理,得到该第一信息比特,可以包括:先将该C1段码字比特对应的软比特与该重传的码字比特对应的软比特进行合并后译码,得到级联后的信息比特;再对该级联后的信息比特去CRC码,得到该第一信息比特。
通过该实施方式,该第二通信装置可以有效且完整的获得第一信息比特。
一种可能的实施方式中,该第二通信装置从该第一通信装置接收到C3段码字比特以及重传的该C3段码字比特中的部分码字比特或者全部码字比特;C3为正整数;那么该第二通信装置对该码字比特进行译码处理,得到该第一信息比特,可以包括:先将该C3段码字比特对应的软比特与该重传的码字比特对应的软比特进行合并后译码,得到级联后的信息比特;再对该级联后的信息比特去CRC码,得到该第一信息比特。
通过该实施方式,该第二通信装置可以有效且完整的获得第一信息比特。
一种可能的实施方式中,该第二通信装置从该第一通信装置接收到C3+1段码字比特;C3为正整数;那么该第二通信该对该码字比特进行译码处理,得到该第一信息比特,包括:先对该C3+1段码字比特进行译码处理,得到C3+1段级联后的信息比特;再对该C3+1段级联后的信息比特去CRC码,得到该第一信息比特。
通过该实施方式,该第二通信装置可以有效获得第一信息比特。
第三方面,本申请实施例还提供一种数据处理装置,该装置可以用于执行第一方面的方法,该装置可以为第一通信装置,或者该装置可以为可以是该第一通信装置中的部件(例如,芯片,或者芯片系统,或者电路),又或者可以是能够与该第一通信装置匹配使用的装置。
一种可能的实现方式中,该装置可以包括执行第一方面中所描述的方法/操作/步骤/动作所一一对应的模块或单元,该模块或单元可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种可能的实现方式中,该装置可以包括处理单元(也可称为处理模块)和通信单元(也可称为通信模块),其中,该通信单元可以用于执行接收和/或发送的功能,该处理单元可以用于执行上述第一方面或该第一方面中任意一种可能的实施方式所述方法。
第四方面,本申请实施例还提供一种数据处理装置,该装置可以用于执行第二方面的方法,该装置可以为第二通信装置,或者该装置可以为可以是该第二通信装置中的部件(例如,芯片,或者芯片系统,或者电路),又或者可以是能够与该第二通信装置匹配使用的装置。
一种可能的实现方式中,该装置可以包括执行第二方面中所描述的方法/操作/步骤/动作所一一对应的模块或单元,该模块或单元可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种可能的实现方式中,该装置可以包括处理单元(也可称为处理模块)和通信单元(也可称为通信模块),其中,该通信单元可以用于执行接收和/或发送的功能,该处理单元可以用于执行上述第二方面或该第二方面中任意一种可能的实施方式所述方法。
第五方面,本申请实施例中提供一种数据处理装置,该装置包括:至少一个处理器和通信接口;其中,通信接口用于与其它装置进行通信;处理器用于运行一组程序,以使得该装置以实现上述第一方面或其中任意一种可能的实施方式提供的方法。
第六方面,本申请实施例中提供一种数据处理装置,该装置包括:至少一个处理器和通信接口;其
中,通信接口用于与其它装置进行通信;处理器用于运行一组程序,以使得该装置以实现上述第二方面或其中任意一种可能的实施方式提供的方法。
第七方面,本申请实施例中提供一种通信系统,该通信系统包括:用于执行上述第一方面或其中任意一种可能的实施方式的第一通信装置,以及用于执行上述第二方面或其中任意一种可能的实施方式的第二通信装置。
第八方面,本申请实施例还提供一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述第一方面或其中任意一种可能的实施方式提供的方法,或者实现上述第二方面或其中任意一种可能的实施方式提供的方法。
第九方面,本申请实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得上述第一方面或其中任意一种可能的实施方式提供的方法执行,或者使得上述第二方面或其中任意一种可能的实施方式提供的方法执行。
第十方面,本申请实施例还提供一种芯片系统,该芯片系统包括处理器,用于支持第一通信装置实现上述第一方面中所涉及的功能;或者用于支持第二通信装置实现上述第二方面中所涉及的功能。
在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存装载装置执行的必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
需要注意的是,上述第三方面至第十方面或者第三方面至第十方面中任意一种可能的实现方式可以达到的技术效果,可以对应参照上述第一方面至第二方面或该第一方面至第二方面中任意一种可能的实施方式可以达到的技术效果说明;这里不再重复赘述。
图1为本申请实施例提供的一种无线通信系统的架构示意图;
图2为一种通信系统中无线信号传输过程的示意图;
图3为本申请实施例中提供的一种数据处理方法的流程示意图;
图4A为本申请实施例中提供的第一个实施例的方法流程示意图;
图4B为本申请实施例中提供的第一个实施例的分段处理方式的示意图;
图4C为本申请实施例中提供的第一个实施例的分段处理的示例图;
图5A为本申请实施例中提供的第二个实施例的分段处理方式的示意图;
图5B为本申请实施例中提供的第二个实施例的分段处理的示例图;
图5C为本申请实施例一和实施例二在不同码率下对应的分段数量的译码性能;
图6A为本申请实施例中提供的一种获取终端设备的能力信息示意图;
图6B为本申请实施例中提供的另一种获取终端设备的能力信息示意图;
图6C为本申请实施例中提供的又一种获取终端设备的能力信息示意图;
图7为本申请实施例中提供的一种数据处理装置的结构示意图;
图8为本申请实施例中提供的另一种数据处理装置的结构示意图;
图9为本申请实施例中提供的一种芯片的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。本申请涉及的术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。“示例性的”或者“例如”等词用于表示例子、例证或说明,被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释
为比其它实施例或设计方案更优选或更具优势。使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。
本申请实施例涉及的多个,是指大于或等于两个。需要说明的是,在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,本申请实施例的描述中所提到的术语“用于指示”可以包括用于直接指示和用于间接指示。当描述某一指示信息用于指示A时,可以包括该指示信息直接指示A或间接指示A,而并不代表该指示信息中一定携带有A。
为了更好的理解本申请实施例方案,下面先对本申请实施例的应用场景和存在的问题进行介绍。需要说明的是,该应用场景是为了让本申请实施例更容易被理解,而不应该视为对本申请所要求的保护范围的限定。
分段编码技术是指将整个数据分成若干段分别进行编码的编码技术,这种技术在无线通信场景中广泛应用。目前的分段方式主要包括极化码(polar code)的分段方式和低密度奇偶校验(low density parity check,LDPC)的分段方式。其中,polar码的分段方法是根据净荷大小确定分段数量,或者根据净荷大小和物理资源大小共同确定分段数量。LDPC的分段方式主要是根据码长和码率来确定分段数量。然而,目前的分段方式均没有考虑接收装置(例如终端设备)的能力信息(比如译码能力)和关键绩效指标(key performance indicator,KPI)的需求,从而导致接收装置执行译码的性能较低。
鉴于上述问题,目前亟需提出一种数据处理方法,可以根据接收装置的译码能力信息来对待编码数据进行分段处理,以有效的确保后续接收装置的译码性能。
本申请实施例提供的方法可以应用于第四代(4th generation,4G)通信系统,例如长期演进(long term evolution,LTE)通信系统,也可以应用于第五代(5th generation,5G)通信系统,例如5G新空口(new radio,NR)通信系统,或应用于未来的各种通信系统,例如第六代(6th generation,6G)通信系统。本申请实施例提供的方法还可以应用于窄带物联网系统(narrow band-internet of things,NB-IoT)、全球移动通信系统(global system for mobile communications,GSM)、增强型数据速率GSM演进系统(enhanced data rate for GSM evolution,EDGE)、宽带码分多址系统(wideband code division multiple access,WCDMA)、码分多址2000系统(code division multiple access,CDMA2000)、时分同步码分多址系统(time division-synchronization code division multiple access,TD-SCDMA),或下一代5G移动通信系统的三大应用场景增强移动宽带(enhanced mobile broadband,eMBB),超高可靠和低时延通信(ultra-reliable low-latency communications,URLLC)和增强型机器类型通信(enhanced machine-type communication,eMTC)。本申请实施例提供的方法还可以应用于卫星通信系统其中,所述卫星通信系统可以与上述通信系统相融合。此外,本申请实施例提出的方法还可能影响物理上行链路控制信道(physical uplink control channel,PUCCH)增强场景,通过最大似然(maximum likelihood,ML)检测来增强PUCCH的覆盖。
图1示出了本申请实施例适用的一种可能的、非限制性的通信系统架构。如图1所示,通信系统1000包括无线接入网(radio access network,RAN)100和核心网(core network,CN)200,可选的,通信系统1000还可以包括互联网300。RAN 100包括至少一个网络设备(如图1中的110a和110b,统称为110)和至少一个终端设备(如图1中的120a-120j,统称为120)。RAN 100中还可以包括其它RAN节点,例如,无线中继设备和/或无线回传设备(图1中未示出)等。终端设备120通过无线的方式与网络设备110相连。网络设备110通过无线或有线方式与核心网200连接。核心网200中的核心网设备与RAN 100中的网络设备110可以分别是不同的物理设备,也可以是集成了核心网逻辑功能和无线接入网逻辑功能的同一个物理设备。
RAN 100可以为第三代合作伙伴计划(3rd generation partnership project,3GPP)相关的蜂窝系统,例如,第四代(4th generation,4G)、第五代(5th generation,5G)移动通信系统、或5G之后的演进系统(例如6G移动通信系统)。RAN 100还可以是开放式接入网(open RAN,O-RAN或ORAN)、云无线接入网络(cloud radio access network,CRAN)、或者WiFi系统。RAN 100还可以是以上两种或两种以上系统融合的通信系统。
可以理解的是,图1仅示出了本申请实施例可以应用的一种可能的通信系统架构,在其他可能的场景中,所述通信系统架构中也可以包括其他设备。
网络设备110为无线接入网(radio access network,RAN)中的节点,又可以称为接入网设备,还
可以称为RAN节点(或设备)。网络设备110用于帮助终端设备实现无线接入。通信系统1000中的多个网络设备110可以为同一类型的节点,也可以为不同类型的节点。在一些场景下,网络设备110和终端设备120的角色是相对的,例如,图1中网元120i可以是直升机或无人机,其可以被配置成移动基站,对于那些通过网元120i接入到RAN 100的终端设备120j来说,网元120i是基站;但对于基站110a来说,网元120i是终端设备。网络设备110和终端设备120有时都称为通信装置,例如图1中网元110a和110b可以理解为具有基站功能的通信装置,网元120a-120j可以理解为具有终端设备功能的通信装置。
在一种可能的场景中,网络设备可以是基站(base station)、演进型基站(evolved NodeB,eNodeB)、传输接收点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、下一代基站(next generation NodeB,gNB)、第六代(6th generation,6G)移动通信系统中的下一代基站、未来移动通信系统中的基站、卫星、或WiFi系统中的接入点(access point,AP)、接入回传一体化(integrated access and backhaul,IAB)节点、移动交换中心非陆地通信网络(non-terrestrial network,NTN)通信系统中的网络设备,即可以部署于高空平台或者卫星等。网络设备可以是宏基站(如图1中的110a)、微基站或室内站(如图1中的110b)、中继节点或施主节点、或者是CRAN场景下的无线控制器。网络设备还可以是设备到设备(device to device,D2D)通信、车联网通信、无人机通信、机器通信中担任基站功能的设备。可选的,网络设备还可以是服务器,可穿戴设备,车辆或车载设备等。例如,车辆外联(vehicle to everything,V2X)技术中的接入网设备可以为路侧单元(road side unit,RSU)。
在另一种可能的场景中,由多个网络设备协作协助终端设备实现无线接入,不同网络设备分别实现基站的部分功能。例如,网络设备可以是集中式单元(central unit,CU),分布式单元(distributed unit,DU),CU-控制面(control plane,CP),CU-用户面(user plane,UP),或者无线单元(radio unit,RU)等。CU和DU可以是单独设置,或者也可以包括在同一个网元中,例如基带单元(baseband unit,BBU)中。RU可以包括在射频设备或者射频单元中,例如包括在射频拉远单元(remote radio unit,RRU)、有源天线处理单元(active antenna unit,AAU)或远程射频头(remote radio head,RRH)中。可以理解的是,网络设备可以为CU节点、或DU节点、或包括CU节点和DU节点的设备。此外,CU可以划分为接入网RAN中的网络设备,也可以将CU划分为核心网CN中的网络设备,在此不做限制。
应说明的是,在不同系统中,CU(或CU-CP和CU-UP)、或DU也可以有不同的名称,但是本领域的技术人员可以理解其含义。例如,在开放式无线接入网(open radio access network,O-RAN)系统中,CU也可以称为O-CU(开放式CU),DU也可以称为O-DU,CU-CP也可以称为O-CU-CP,CU-UP也可以称为O-CU-UP,RU也可以称为O-RU。为描述方便,本申请中以CU,CU-CP,CU-UP、DU和RU为例进行描述。本申请中的CU(或CU-CP和CU-UP)、DU和RU中的任一单元,可以是通过软件模块、硬件模块、或者软件模块与硬件模块结合来实现。
本申请实施例中,对网络设备的形态不作限定,用于实现网络设备的功能的装置可以是网络设备;也可以是能够支持网络设备实现该功能的装置,例如芯片系统。该装置可以被安装在网络设备中或者和网络设备匹配使用。
终端设备120,又可以称之为终端、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,或是用于向用户提供语音或数据连通性的设备,也可以是物联网设备。例如,终端设备包括具有无线连接功能的手持式设备、车载设备等。目前,终端设备可以是:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备(例如智能手表、智能手环、计步器等),车载设备(例如,汽车、自行车、电动车、飞机、船舶、火车、高铁等)、卫星终端、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、智能销售点(point of sale,POS)机、客户终端设备(customer-premises equipment,CPE)、工业控制中的无线终端、智能家居设备(例如,冰箱、电视、空调、电表等)、智能机器人、机械臂、车间设备、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网(smart grid)中的无线终端、运输安全中的无线终端、智慧城市中的无线终端,或智慧家庭中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)等。终端设备还可以是其他具有终端功能的设备,例如,终端设备还可以是D2D通信中担任终端功能的设备。
本申请的实施例对终端设备的设备形态不做限定,用于实现终端设备的功能的装置可以是终端设备;也可以是能够支持终端设备实现该功能的装置,例如芯片系统。该装置可以被安装在终端设备中或者和终端设备匹配使用。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
下面结合图1所示的通信系统,对本申请实施例提供的方法做详细说明。
为了更好的理解本申请实施例提供的方案,下面先对本申请实施例所涉及的术语、概念、流程进行解释说明。需要说明的是,这些解释是为了让本申请实施例更容易被理解,而不应该视为对本申请所要求的保护范围的限定。
(1)信道编码。
如图2所示的通信系统传输流程,信道编码部分位于信源编码和调制之间,负责将信源产生的信息比特(或称为比特流)进行信道编码,再经过调制后,发送调制符号经过有噪声信道至接收端解调。接收端解调后进行信道译码,信道译码部分位于解调和信源译码之间,负责恢复出信源的信息比特。
本申请实施例中,涉及的核心网元为信道编码单元和信道译码单元。本申请中,信息比特的长度可称为负载长度(payload size)。
(2)循环冗余检验(cyclic redundancy check,CRC)编码。
CRC编码是信道编码的一种方式。在CRC编码过程中,对来自于信源的信息比特进行CRC编码,获得CRC码字。以信息比特长度为K为例,CRC码字包括K位信息比特,以及包括K位信息比特后拼接的L位校验比特(或称为校验码、CRC码等),即CRC码字的长度为K+L比特。K、L为正整数。
对于一个校验比特的长度为L的CRC码字,存在一个最高次幂为L的CRC多项式gCRC,该gCRC可用于生成L位的校验比特,因此gCRC可称为这个校验比特的生成多项式。本申请中,幂可替换为指数,最高次幂可替换为最高指数。生成多项式可以由发送端与接收端协商确定,或者可以通过协议定义、预配置或预定义等方式确定,因此校验比特的长度即可根据该多项式确定。
这里举例介绍CRC校验码的生成过程。假设消息多项式为M(D),其中,消息多项式根据需要发送的二进制的信息比特确定,如,二进制信息比特的第X位的值为1,则多项式中幂为X-1项的系数为1,二进制比特的第Y位的值为0,则多项式中幂为Y-1项的系数为0,或者说多项式不包括幂为Y的项,X、Y为正整数。在获得校验比特时,将M(D)左移L位,即每一项的幂均加L,多项式表示为M(D)*D^R,其中,*表示乘法运算。通过M(D)*D^R除以生成多项式gCRC得到的余数就是校验比特。
例如,假设校验比特的生成多项式为gCRCLmax=gCRC4=D^4+D+1,则其二进制表示为10011,共5位,其中Lmax=4,即L=4。假设发送端要发送数据序列的二进制比特为101011,共6位,则消息多项式为M(D)=D^5+D^3+D+1,其中,^表示指数运算。进一步可得,M(D)*D^5=D^9+D^7+D^5+D^4。用M(D)*D^5对应的二进制比特1010110000除以多项式gCRCLmax对应的二进制信息比特为10011,即按模2算法求得L位余数,该示例中余数的比特序列为0100,该余数即校验比特。因此经过CRC编码的CRC码字比特流为1010110100,其中前6位为原始数据9(即信息比特),后4位为校验比特。发送端可对比特流1010110100做后续处理并发送。如果数据传输过程中没有出现错误,则接收端收到的包含校验比特的数据能够被校验比特的生成多项式的二进制比特10011除尽,如果传输过程中出现错误,则接收端收到的包含校验比特的数据将不能被10011除尽,因此接收端可识别传输错误。
本申请实施例中,网络设备和终端设备可分别作为发送端、接收端。比如在下行通信中,网络设备是发送端,终端设备是接收端,在上行通信中,终端设备是发送端,网络设备是接收端。网络设备可以是发送端或接收端。其中,如果发送端为网络设备,则接收端为终端设备,此时为下行通信。如果发送端为终端设备,则接收端为网络设备,此时为上行通信。此外,本申请也不排除发送端和接收端均为终端设备,此时发送端与接收端之间进行D2D通信。
(3)码率(code rade)。
码率又称编码速率或编码效率,是指数据流中有用部分(非冗余)的比例。也就是说,如果码率是k/n,单位是bit/symbol,则对每k位有用信息,编码器总共产生n位的数据,其中n-k是多余的。如果R是总比特率或数据信令速率(包括冗余错误编码),净比特率(除去纠错码的有用比特率)≤R·k/n。这意味除去纠错码,编码率为1,总比特率或数据信令速率与净比特率或有用比特率相等。
(4)速率匹配(rate matching)。
编码前的数据块称为传输块(transport block,TB),由于TB的比特数较大,所以发送端通常会将一个TB拆分为多个码块(code block,CB),每个CB单独进行信道编码。由于用来传输码块的物理资源与待传输的码块物理时频资源可能不一致,故需要对待传输的码块进行比特重发或者打孔,以匹配物理时频资源的承受能力,这个过程称为速率匹配(rate matching)。多个经过信道编码后的CB需要经过速率匹配后,再进行交织、级联等处理后作为一个物理的数据块(码字)传输至接收端。
下面结合具体实施例介绍本申请的技术方案。
本申请实施例提供了一种数据处理方法,该方法可适用于但不限于图1所示的通信系统。该方法可由第一通信装置和第二通信装置实现,该第一通信装置可作为数据的发送端和/或接收端,该第二通信装置也可作为数据的发送端和/或接收端。也就是说,该第一通信装置作为发送端,那么该第二通信装置为接收端;或者,该第一通信装置作为接收端,那么该第二通信装置为发送端。该方法可以由第一通信装置、第二通信装置执行,或者可以由该第一通信装置、第二通信装置对应的部件(模块、芯片等)执行,又或者可以由与该第一通信装置、该第二通信装置对应匹配使用的装置执行,本申请实施例对该第一通信装置和第二通信装置对应的具体形态和数量均不做具体限定。请参阅图3所示,该方法的具体流程如下:
S301:第一通信装置获取第一信息比特和第二通信装置的译码能力信息。
在本申请实施例中,该第一通信装置可以为但不限于网络设备、或终端设备。
在本申请实施例中,信息比特可以指携带信息的比特;上述中,该第一信息比特可以称为待传输的净荷信息比特或原始信息比特。
在一种实施方式中,该第一通信装置获取该第二通信装置的译码能力信息可以通过但不限于以下几种方式实现:
方式一:从第二通信装置接收第一信息,该第一信息用于指示该第二通信装置的译码能力信息。
方式二:从第二通信装置接收该第二通信装置的能力信息,该第二通信装置的能力信息中的第一字段用于指示该第二通信装置的译码能力信息。
方式三:从第二通信装置接收该第二通信装置的类型信息,该第二通信装置的类型信息中包括该第二通信装置的译码能力信息。
在本申请实施例中,该第二通信装置的译码能力信息为该第二通信装置支持译码的码字的最大长度Nmax,Nmax为大于0的取值。或者该第二通信装置的译码能力信息为该第二通信装置支持译码的码字的最低码率Rmin;再按照公式Nmax=A/Rmin,可以计算出该第二通信装置支持译码的码字的最大长度Nmax。
示例性地,基站(编码端/发送端)可以根据UE的译码能力设置若干个等级(或者若干个档位)。例如多个译码能力分别为Nmax(0)、Nmax(1)、Nmax(2),…,Nmax(J-1),对应的等级号j为:0,1,2,…,J-1。UE1可以向基站上报自身的等级号j为1,那么基站可以根据该UE1的等级号1,确定该UE1的支持译码的码字的最大长度为Nmax(1)。
S302:第一通信装置根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特。
在本申请实施例中,该第一通信执行该步骤S302时,可以包括但不限于以下几种实现方式:
实现方式一:该第一通信装置可以根据码率、第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理。
在一种可能的实施方式中,该第一通信装置可以根据每段级联的循环冗余校验CRC的比特数L、该码率、Nmax、以及该第一信息比特的比特数,确定初始分段数值C′;其中,L为预设的大于或等于0的整数,C′为大于或者等于1的整数;
若码率大于或等于预设码率,则确定分段数量等于初始分段数值C′。
若码率小于预设码率,则确定分段数量等于C1,C1为小于或者等于C′的正整数。
在一些实施例中,若上述计算出的初始分段数值C′=1,那么在码率小于预设码率的情况,分段数量C1=C′=1。
示例性地,该初始分段数值C′可以满足下公式:
Kcb为分段后的每段信息比特数的最大值,R为所述码率;A为该第一信息比特的比特数,为向上取整符号,/为除号。
在上述中,预设码率的取值大于0且小于1。例如,该预设码率等于1/4。y为大于或者等于1的整数。例如,y等于2。
在本申请实施例中,低于1/4的码率对应的编码增益接近重复发送的能量增益,因此当码率低于1/4
时,直接重复发送之前的码字比特,以减少编码操作的同时获取了重复发送的能量增益。
在上述公式(1)中是考虑每段信息比特级联了L比特的CRC,因此,Kcb中包括信息比特和校验比特。对于没有级联L比特的CRC的情况下,上述公式(1)可以更改为其中,Kcb是取整后的数。
进一步的,当分段数量等于C′时,可以计算出更新的第一信息比特的比特数A′=C′·Kcb,该第一通信装置再将A′均匀的划分成C′段。当分段数量等于C1,可以计算出更新的第一信息比特的比特数A′=C1·Kcb,该第一通信装置再将A′均匀的划分成C1段。
该实施方式可以应用该第一通信装置需要对该第一信息比特进行分段处理的情况下,比如该第一信息比特的比特数大于计算出的Kcb(Kcb是每段信息比特的最大比特数)。
在另一种可能的实施方式中,该第一通信装置确定分段分量等于1,即该第一通信装置直接将该第一信息比特进行编码处理后发送给第二通信装置。
实现方式二:该第一通信装置可以根据总的传输资源单元的数量、调制阶数,该第一信息比特以及该第二通信装置支持译码的码字的最大长度Nmax进行分段处理,Nmax为大于0的取值。
具体可以包括:先根据总的传输资源单元的数量、调制阶数以及第二通信装置支持译码的码字的最大长度Nmax,确定初始分段数值C3;C3为正整数;再根据该总的传输资源单元的数量、该调制阶数、该初始分段数值C3,以及该第二通信装置支持译码的码字的最大长度Nmax,计算剩余的传输资源的比特数;
若该剩余的传输资源的比特数小于预设值时,确定分段数量等于C3。在分段数量等于C3的情况下,第一通信装置可以将第一信息比特均匀的划分为C3段。
若该剩余的传输资源的比特数不小于该预设值时,确定分段数量等于C3+1。在分段数量等于C3+1的情况下,第一通信装置可以将第一信息比特均匀的划分为C3+1段。
示例性地,该初始分段数值C3可以满足下述公式(2):
该剩余的传输资源的比特数可以满足下述公式(3):
Brest=Etotal×Qm-C3×Nmax 公式(3)
Brest=Etotal×Qm-C3×Nmax 公式(3)
分段数量C可以满足下述公式(4):
Brest<z·Nmax时,C=C3;
Brest≥z·Nmax时,C=C3+1; 公式(4)
其中,Qm为调制阶数,Etotal为总的传输资源单元的数量,Brest为剩余的传输资源的比特数,z·Nmax为该预设值,z为大于0且小于1的值,为向下取整符号,/为除号。
在本申请实施例中,该剩余的传输资源单元的数量Erest与剩余的传输资源的比特数Brest之间转换公式可以为:Erest=Brest/Qm。
例如,z=9/16,可见剩余的传输资源的比特数少于比Nmax的一半,即剩余的传输资源单元相对较少,那么相比初始分段值C3,不能再多分,这剩余的传输资源单元可以用于后续的重传。
当可见剩余的传输资源的比特数多于Nmax的一半,即剩余的传输资源单元相对较多,那么相比初始分段值C3,分段数量可以多1个(即可以多分一段),这剩余的传输资源单元可以用于传输这多分的一段码字比特。
在本申请实施例中,z可以取值为可以保证速率匹配掉的比特数目(如缩短(shorten)或者打
孔(punctrue)掉的比特数目)小于母码长的一半。
S303:第一通信装置对该分段后的信息比特进行编码处理,得到码字比特。
基于上述实现方式一,该第一通信装置执行该步骤S303时,可以包括:在分段后的每段信息比特的尾部可以级联一段比特数为L的CRC,得到每段级联后的信息比特;再对每段级联后的信息比特进行编码,得到每段码字比特。
具体的,对于分段数量等于C′的情况:该第一通信装置可以对分段后的C′段信息比特中每段信息比特的后面级联L比特的CRC。再对每段级联后的信息比特进行编码处理。
对于分段数量等于C1的情况:对C1段信息比特中每段信息比特的后面级联L比特的CRC。再对每段级联后的信息比特进行编码处理。
针对分段分量等于1的情况,该第一通信装置可以直接将该第一信息比特进行编码处理,无需级联CRC。
基于上述实现方式二,该第一通信装置执行该步骤S303时,可以包括:
对于分段数量等于C3的情况:该第一通信装置可以对分段后的C3段信息比特中每段信息比特的后面级联L比特的CRC,再对每段级联后的信息比特进行编码处理。此情况下,C3段码字比特中每段码字比特的大小等于支持译码的码字的最大长度Nmax,且C3段中每段的码率相同。
对于分段数量等于C3+1的情况:该第一通信装置可以对分段后的C3段信息比特中每段信息比特的后面级联L比特的CRC,再对每段级联后的信息比特进行编码处理。
对于分段数量为C3+1的情况,相比初始分段数值C3,会将第一信息比特多分一段,因此相比按照初始分段数值划分后的每段信息比特的比特数,会使得前C3段中每段信息比特(即原始信息比特)的比特数量减少,而这前C3段码字比特的大小等于第二通信装置支持译码的码字的最大长度Nmax,从而使得前C3段中每段的码率稍降低。由于最后1段码字比特的大小比Nmax小,因此,最后1段对应的码率会较大。
S304:第一通信装置输出该码字比特;相应的,第二通信装置获得该码字比特。
在本申请实施例中,第一通信装置可以通过该第一通信装置中的部件(例如通信模块、天线等)向第二通信装置发送该码字比特;或者该第一通信装置可以通过该第一通信装置的通信接口输出该码字比特,相应的,该第二通信装置的通信接口获得该码字比特;又或者第一通信装置可以通过该第一通信装置对应的部件(例如芯片)输出该码字比特,相应的,该第二通信装置通过该第二通信装置对应的部件(例如芯片)获得该码字比特。因此,本申请对第一通信装置向第二通信装置传输该码字比特的具体实现方式不做限定。
例如,基站的DU(相当于第一通信装置)向UE(相当于第二通信装置)发送码字比特。
基于上述实现方式一,该第一通信装置在执行S304时,可以包括以下:
对于分段数量为C′的情况:该第一通信装置可以使用预先分配的总的传输资源单元将该C′段码字比特发送给第二通信装置。
在本申请实施例中,该第一通信装置发送这C′段码字比特的时域可以相同,也可以不同,对此不做具体的限定。
对于分段数量为C1的情况:该第一通信装置可以使用预先分配的总的传输资源单元来传输C1段码字比特,若发送该C1段码字比特所占用的传输资源单元的数量小于总的传输资源单元的数量时,该第一通信装置可以使用该总的传输资源单元中的剩余传输资源单元,重传该C1段码字比特中的部分码字比特或者全部码字比特。
在一些实施例中,上述中,该第一通信装置重传的该C1段码字比特中的部分码字比特可能是部分完整分段的码字比特,也可能是部分非完整分段的码字比特。
例如,第一通信装置重传该C1段码字比特中的C2段码字比特,C2为小于或等于C1的正整数值。
又例如,第一通信装置重传该C1段码字比特中的C2段码字比特,C2为大于0且小于C1的非整数值。
在本申请实施例中,重传的码字比特还可以指被重复的码字中从前往后依次的比特。
例如,编码的码字段数C1=3段,重复发送的比特是第1段中第1,2,3,…,Nrep个比特,Nrep是重复发送的码字比特数量。Nrep小于该段码字长度时,发送直至剩余的传输资源允许承载的比特数量为止。
当Nrep大于该段码字长度时,继续从第2段码字的头部开始发送,以此类推,直至所有剩余的传输资源被使用完毕。
又例如,编码的码字段数C1=1,即1段,若重传的比特是这段中第1,2,3,…,Nrep个比特,Nrep表示重复发送的码字比特的数量。Nrep大于这段码字的长度时,那么继续循环从头开始发送。Nrep小于这段码字的长度时,那么重复发送直至剩余的传输资源允许承载的比特数为止。
在另一些实施例中,若该第一通信装置使用该剩余传输资源单元,重传该C1段码字比特之后,该剩余传输资源单元中还有剩余的传输资源单元时,可以继续用于重传该C1段码字比特中的部分码字比特或全部码字比特。具体的重传情况可以参照上述的重传情况,此处不再详述。
基于上述实现方式二,该第一通信装置在执行S304时,可以包括以下:
对于分段数量为C3的情况:该第一通信装置可以使用预先分配的总的传输资源单元传输C3段码字比特。若该C3段码字比特占用的传输资源单元的数量小于该总的传输资源单元的数量时,使用该总的传输资源单元中的剩余传输资源单元,重传该C3段码字比特中的部分码字比特或全部码字比特;C3为正整数。
在一些实施例中,该第一通信装置重传的该C3段码字比特中的部分码字比特可能是部分完整分段的码字比特,也可能是部分非完整分段的码字比特。
例如,第一通信装置重传该C3段码字比特中的C4段码字比特,C4为小于或等于C3的正整数值。
又例如,第一通信装置重传该C3段码字比特中的C4段码字比特,C4为大于0且小于C3的非整数值。
具体的,可以参考上述实现方式一中例举的重传方式,此处不再一一详述。
对于分段数量为C3+1的情况:该第一通信装置可以使用预先分配的总的传输资源单元传输C3+1段码字比特中的前C3段码字比特。若该前C3段码字比特占用的传输资源单元的数量小于该总的传输资源单元的数量时,使用该总的传输资源单元中的剩余传输资源单元,传输最后一段码字比特。
S305:第二通信装置对该码字比特进行译码处理,得到第一信息比特。
基于上述实现方式一:该第二通信装置从第一通信装置接收到C′段码字比特,C′为大于或者等于1的整数。此情况下,该第一通信装置可以先对该C′段码字比特进行译码处理,得到C′段级联后的信息比特;再对该C′段级联后的信息比特去CRC码,得到第一信息比特。
该第二通信装置从该第一通信装置接收到C1段码字比特以及重传的C1段码字比特中的部分码字比特或者全部码字比特;C1为小于或者等于C′的正整数。此情况下,该第二通信装置可以先将该C1段码字比特对应的软比特与该重传的码字比特对应的软比特进行合并后译码,得到级联后的信息比特;再将级联后的信息比特,去掉级联的CRC码,得到第一信息比特。
在本申请实施例中,软比特可以指解调后的软比特信息LLR,也称为对数似然比(log likelihood ratio,LLR)。
例如,UE1接收到3个码字,分别为码字1、码字2、码字3,码字4,UE1还接收到了重传的码字1、码字2以及码字3。UE1将码字1对应的软比特和重传的码字1对应的软比特进行合并(拼接)后译码,将码字2对应的软比特和重传的码字2对应的软比特进行合并(拼接)后译码,将码字3对应的软比特和重传的码字3对应的软比特进行合并(拼接)后译码,将码字4对应的软比特单独译码。再将译码后的每段信息比特中的CRC比特去掉。
在一些实施例中,该第二通信装置接收到C1段码字比特和重传的C1(C2=C1)段码字比特,还接收到第二次重传这C1段码字比特中的部分码字比特或全部码字比特,可以参照上述方式,执行合并后译码,此处不再详述。
基于上述实现方式二:该第二通信装置从第一通信装置接收到C3段码字比特以及重传的C3段码字比特中的部分码字比特或者全部码字比特。此情况下,该第二通信装置可以先将该C3段码字比特对应的软比特与该重传的码字比特对应的软比特进行合并后译码,得到级联后的信息比特;再对该级联后的信息比特去CRC码,得到第一信息比特。具体示例可以参照上述方式执行合并后译码,此处不再详细举例。
该第二通信装置从第一通信装置接收到C3+1段码字比特;C3为正整数。此情况下,该第二通信装置可以先对该C3+1段码字比特进行译码处理,得到C3+1段级联后的信息比特;对该C3+1段级联后的信息比特去CRC码,得到第一信息比特。
在本申请实施例中,C3+1中的前C3段码字比特的大小等于第二通信装置支持译码的码字的最大长度Nmax,C3+1中的前C3段的码率会稍微降低,然而C3+1中的最后1段码字比特的长度小于Nmax,因
而码率相对较大。
在本申请实施例,对于分段数量为1,即第一信息比特不分段处理的情况下,该第二通信装置收到码字比特,该码字比特是第二通信装置直接对第一信息比特进行编码处理后的数据,因此,该第二通信装置对该码字比特执行译码处理,即可得到该第一信息比特。
应说明的是,本申请实施例图3所述的方案是可以应用于图2所示的传输流程中,主要对其中的信道编码和信道译码过程进行详细介绍,本申请实施例图3所述的方案中还包括该传输流程中的其他的过程(例如调制),具体实现流程可以参照现有技术的实现流程,此处不再一一详述。
综上所述,本申请实施例提出一种数据处理方法和装置,该方法包括:第一通信装置先获取第二通信装置的译码能力信息;然后根据该第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特;然后对该分段后的信息比特进行编码处理,得到码字比特;再输出该码字比特。该方法中,第一通信装置根据第二通信装置的译码能力信息对第一信息比特进行分段处理后再编码,进而输出给第二通信装置,可以保证该第二通信装置执行译码的性能。
基于上述图3所示的一种数据处理方法,下面通过几个具体的实施例进一步具体详细阐述。
实施例一:
实施例一中,以第一通信装置为基站,第二通信装置为UE1为例,对上述图3所述方案的步骤S302中分段处理的实现方式一进行详细介绍。
首先,基站获取UE1能支持的最大码长,并确定当前码率。然后,基站根据UE1能支持的最大码长和当前码率对目标载荷(相当于上述图3所述方案中的第一信息比特)的比特数进行均匀的分段。进一步的,基站将每段后级联L比特的CRC码。后续流程可参照图2所示的编码处理流程执行,如基站级联CRC码后的每段数据再进行后续的信道编码、调制,再通过信道发送给UE1,具体实现方式可参照现有技术实现,此处不再一一详述。
示例性地,图4A示出了一种基于UE1支持的最大码长和当前码率进行分段处理和CRC编码的流程图,参见图4A所示,该流程的具体解析如下:
步骤Step1:根据UE1支持的最大码长Nmax和当前码率R,确定每段消息比特数的最大值Kcb;
其中,Kcb满足下式:
步骤Step2:根据Kcb确定分段数量:
情况1:如果目标载荷的比特数不大于每段消息比特数的最大值(A≤Kcb),则CRC的比特数L=1,码块的数量(即分段数量)C=1,待分段的净荷比特数A′等于目标载荷的比特数A。
情况2:否则的话,即目标载荷的比特数大于每段消息比特数的最大值,则CRC的比特数L=11,码块的数量(即分段数量)C和待分段的净荷比特数A′通过下式计算得到:
A′=C·Kcb;
A′=C·Kcb;
步骤Step3:将步骤Step2中得到的A′个输入比特均匀分成C段,每段级联L比特CRC:
针对分段数量不为1的情况,即先将净载荷的比特数A′分为C段(即C个码块),再在每段的尾部级联一段L比特的CRC。
比如,r表示码块对应的序号,r的取值为0到C-1,Kr为序号r的码块的比特数。码块r的比特数Kr计算如:K′=A′/C。码块r的比特表示为
参见图4A所示的比特序列Crk计算循环式可知,针对序号r的码块,对应的比特序列如下:
k=0,Cr0=a′0;
k=1,Cr1=a′1;
k=2,Cr2=a′2;
……
k=0,K′-L-1,CrK′-L-1=a′K′-L-1。
参考现有CRC编码技术,根据计算CRC比特位如下:pr0,pr1,pr2,…,pr(L-1)。
参见图4A中所示,对于序号r的码块的CRC的L比特表示如下;
Crk=pr(k+L-K′);
Crk=pr(k+L-K′);
其中,k的取值为K′-L到K′-1。
针对分段数量等于1的情况,即C=1,则确定净载荷的比特数A′作为一个码块,该码块的比特可以如上述方式通过比特序列Crk来表示。
示例性地,图4B示出了上述实施例一中的分段传输方式,即当前码率R不低于预设的门限(例如)的情况,按照确定的分段数量进行分段,每段比特数为A’/C,每段占用的物理资源大小等于E/C。每段码率等于A/E。E表示基站分配的用于传输的总物理资源量,单位为比特(bit)。
例如,消息的总净荷大小A=128bit,B=1024bit,UE1的译码器支持的最大译码长度Nmax=128,当前码率计算出Kcb=16;进一步的,根据Kcb=16,计算出分段数量
再将A划分为8段,每段比特数为16bit,每段占用的资源大小为128bit。如图4C所示。
实施例二:
实施例二中,基于上述实施例一所述方案的进一步介绍,即当前码块小于预设值(例如)时,则按照上述步骤Step1中的分段数量的一半进行分段处理,剩余的资源可以用于重传。
步骤Step1:根据UE1的译码器支持的最大译码码长Nmax和当前码率R,确定每段消息比特数的最大值Kcb;
该步骤Step1可以参照上述实施例一的步骤Step1实现,此处不再详述。
步骤Step2:根据Kcb确定分段数量C:
当前码率时,先参照上述实施例一中步骤Step2所述方式,确定初始码块的数量(相当于上述图3所述方案中的初始分段数值)C′如下:
接着,确定实际的分段数量进一步的,确定待分段的净荷比特数A′=C·Kcb。
步骤Step3:将步骤Step2中得到的A′个输入比特均匀分成C段,每段级联L比特CRC:
该步骤Step3参照上述实施例一的步骤Step3实现,此处不再详述。
在该实施例二中,若当前码率R低于预设的门限(例如),先根据上述实施例一中的分段方式确定初始分段数量C′,再将初始分段数量的一半作为实际需要分段的数量,即C=C′/2;将A均匀分成C段,每段的编码的码率为2R,每段的码长为E/C,剩余资源可以用于重传这C段,如图5A所示。
例如,A=128bit,总的传输资源的比特数B=E×Qm=1024bit,UE1的译码器支持的最大译码长度Nmax=128bit。
当前码率先根据上述实施例一中的公式1计算出C′=8;即C=4;进而,将A划分为4段,每段编码成码率为每段净荷大小为A/C=128/4=32bit;每段占用的资源大小为128bit。对于剩余资源的比特数Brest=1024-128×4=512bit,这剩余资源用于重传编码好的码字。如图5B所示。
图5C示出了实施例一和实施例二在不同码率下对应的分段数量的译码性能,其横轴是信噪比(EsN0),单位是dB,纵轴是误码率(block error rate,BLER),通常曲线越低说明性能越好。从图5C可见,当码率低于预设门限Rth=1/4时,采用实施例二的分段方式的性能更好,当码率高于预设门限Rth=1/4时,采用实施例一的分段方式的性能更好。
实施例三:
实施例三中,以第一通信装置为基站,第二通信装置为UE1为例,对上述图3所述方案的步骤S302中分段处理的实现方式二进行详细介绍。首先,基站获取UE1支持译码的最大码长,并确定分配的总传输资源单元的数量。然后,基站根据UE1支持译码的最大码长和总传输资源单元的数量对目标载荷的比特数进行均匀的分段。进一步基站将每段后级联L比特的CRC码。参见图2所示的编码处理流程,后续基站级联CRC码后的每段数据再进行后续的信道编码、调制,再通过信道发送给UE1,具体实现方式可参照现有技术实现,此处不再一一详述。
下面为基于UE1支持的最大码长和当前码率进行分段处理和CRC编码的程序图,该程序如下:
步骤Step1:根据UE1支持的最大码长Nmax和当前总的资源数量Etotal,确定分段数量C。
确定当前调制阶数Qm;
先计算出初始分段数量C3(相当于上述图3所述方案中的C3),如下式:
其中,为向下取整。
再计算剩余资源的比特数量Brest=Etotal×Qm-C3×Nmax;
如果则确定分段数量C=C3;
否则(即),确定分段数量C=C3+1。
如,UE1译码器支持的最大母码长为128bit,调制阶数Qm=1,Btotal=Etotal×Q=260bit。
Brest=Btotal-C3×Nmax=260-2×128=4;
Brest=Btotal-C3×Nmax=260-2×128=4;
可见则C=C3=2。
由于剩余资源数量没有达到UE1译码器支持的最大母码长的因此,少分一段,将剩余资源用于重传这2段比特数据。
又如,UE1译码器支持的最大母码长为128bit,调制阶数Qm=1,Btotal=Etotal×Qm=360bit。
Brest=Btotal-C3×Nmax=360-2×128=104;
Brest=Btotal-C3×Nmax=360-2×128=104;
可见则C=C3+1=3。
由于剩余资源数量大于UE1译码器支持的最大母码长的因此,可以多分一段。那么传输C3段之后,剩余资源用于传输最后1段。
步骤Step2:确定每段消息的比特数
即通过上述步骤Step1,确定了需要分段的数量C,进一步,将A比特的目标载荷均匀的划分为C段,每段的比特数
表示向上取整。接着,确定待分段的净荷比特数A′=C·K′。
步骤Step3:将步骤Step2中得到的A′个输入比特均匀分成C段,每段级联L比特CRC:
该步骤Step3可以参照上述实施例一的步骤Step3实现,此处不再详述。
实施例四:
实施例四中,对上述图3所述方案中第一通信装置(即发送端或编码端)如何获取第二通信装置(即接收端或译码端)的译码能力进行介绍。在该实施例中,以基站作为编码端/发送端,UE作为译码端/接收端为例,基站和UE的数量不做具体限定,比如UE的数量可以为多个,基于目前终端设备的能力(UE Capability)主要涉及的3个协议(38.306、38.331、38.822),参照表1所示,基站可以通过以下几种方式获得每个UE的译码能力:
方式1:协议38.306中详细介绍每个终端能力,是不是必选UE能力(UE Capability)等。基于现
有协议内容,本申请实施例提出可以新增一个字段(Filed)指示UE的译码能力。
示例性地,参见图6A所示,在38.306 4.2.7.10 phy-parameters章节中新增一个Filed指示UE的译码能力。图6A中字体加粗的部分是新增内容。
方式2:协议38.331中涉及的是UE能力查询和上报流程,信令结构等。基于现有协议内容,本申请实施例提出可以新增IE用于指示UE支持译码的最大码长和最小码率、最大分段数量。
示例性地,参见图6B所示,在38.331 6.3.3 UE Capability information elements章节中新增IE用于指示UE支持译码的最大码长、最小码率、最大分段数量。图6B中字体加粗的部分是新增内容。
方式3:协议38.822中涉及的是UE的特征(UE feature),UE能力进一步将UE的特征翻译成协议所需要的语言。基于现有协议内容,本申请实施例提出可以新增UE译码能力的特征;例如在NR_UE_pow_sav_enh中增加内容(Components),并说明是支持的低功耗译码,限制最大码长Nmax,最低码率Rmin、最小分段数量等参数。
示例性地,参见图6C所示,在38.822 6.1 Layer-1 UE features章节中新增UE译码能力特征(feature);在38.822 6.1.8 NR_UE_pow_sav_enh增加Components,并说明是支持低功耗译码,限定最大码长、最低码率、最小分段数量等参数。图6C中字体加粗的部分是新增内容。
表1
上述本申请提供的实施例中,分别从各个设备之间交互的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,第一通信装置或第二通信装置可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
与上述构思相同,如图7所示,本申请实施例还提供一种数据处理装置700用于实现上述方法中的第一通信装置或第二通信装置的功能。例如该数据处理装置700可以为软件模块或者芯片系统。本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。该数据处理装置700可以包括:通信单元701和处理单元702。
本申请实施例中,通信单元701也可以称为收发单元,可以包括发送单元和/或接收单元,分别用于执行上文方法实施例中第一通信装置或第二通信装置发送和接收的步骤。处理单元702可以用于读取存储模块中的指令和/或数据,以使得数据处理装置700实现前述方法实施例。
可选地,该数据处理装置700还可以包括存储单元703,该存储单元703相当于存储模块,可以用于存储指令和/或数据。
以下,结合图7至图8详细说明本申请实施例提供的通信装置。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文图3所述方法实施例,为了简洁,这里不再赘述。
通信单元701也可以称为收发器、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选地,可以将通信单元701中用于实现接收功能的器件视为接收单元,将通信单元701中用于实现发送功能的器件视为发送单元,即通信单元701包括接收单元和发送单元。通信单元有时也可以称为收发机、收发器、或收发电路等。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。
当所述数据处理装置700执行上面实施例中图3所示的流程中第一通信装置时:
所述通信单元701,获取第二通信装置的译码能力信息;
所述处理单元702,用于根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特;以及对所述分段后的信息比特进行编码处理,得到码字比特;
所述通信单元701,还用于输出所述码字比特。
当所述数据处理装置700执行上面实施例中图3所示的流程中第二通信装置时:
所述通信单元701,用于获取码字比特;所述码字比特是由分段后的信息比特进行编码处理得到的,所述分段后的信息比特是根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理得到的;
所述处理单元702,用于对所述码字比特进行译码处理,得到所述第一信息比特。
以上只是示例,处理单元702和通信单元701还可以执行其他功能,更详细的描述可以参考图3所示的方法实施例中相关描述,这里不加赘述。
如图8所示为本申请实施例提供的数据处理装置800,图8所示的通信装置可以为图7所示的通信装置的一种硬件电路的实现方式。该数据处理装置800可适用于前面所示出的流程图中,执行上述方法实施例中的第一通信装置或第二通信装置的功能。为了便于说明,图8仅示出了该通信装置的主要部件。
如图8所示,数据处理装置800包括通信接口801和处理器802。通信接口801和处理器802之间相互耦合。可以理解的是,通信接口801可以为收发器或输入输出接口,也可以为接口电路如收发电路等。可选地,数据处理装置800还可以包括存储器803,用于存储处理器802执行的指令或存储处理器802运行指令所需要的输入数据或存储处理器802运行指令后产生的数据。
当数据处理装置800用于实现图3所示的方法时,处理器802用于实现上述处理单元702的功能,通信接口801用于实现上述通信单元701的功能。
本申请实施例中不限定上述通信接口801、处理器802以及存储器803之间的具体连接介质。本申请实施例在图8中以存储器803、处理器802以及通信接口801之间通过通信总线804连接,通信总线804在图8中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述通信总线804可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
当上述通信装置为芯片时,图9示出了一种简化的芯片的装置结构示意图,该芯片900包括接口电路901和一个或多个处理器902。可选的,所述芯片900还可以包含总线。其中:
处理器902可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述数据处理方法的各步骤可以通过处理器902中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器902可以是通用处理器、数字通信器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
接口电路901可以用于数据、指令或者信息的发送或者接收,处理器902可以利用接口电路901接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路901发送出去。
可选的,芯片还包括存储器903,存储器903可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器903的一部分还可以包括非易失性随机存取存储器(NVRAM)。
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。
可选的,芯片可以使用在本申请实施例涉及的第一通信装置或第二通信装置中。可选的,接口电路
901可用于输出处理器902的执行结果。关于本申请的一个或多个实施例提供的数据处理方法可参考前述各个实施例,这里不再赘述。
需要说明的,接口电路901、处理器902各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述方法实施例中由第一通信装置或第二通信装置执行的方法的计算机指令。
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法实施例中由第一通信装置或第二通信装置执行的方法。
本申请实施例还提供一种包含指令的计算机程序产品,该指令被计算机执行时使得该计算机实现上述方法实施例中由第一通信装置或第二通信装置执行的方法。
本申请实施例还提供一种芯片,包括处理器,用于调用该存储器中存储的计算机程度或计算机指令,以使得该处理器执行上述图3所示的实施例的数据处理方法。
一种可能的实现方式中,该芯片的输入对应上述图3所示的实施例中的接收操作,该芯片的输出对应上述图3所示的实施例中的发送操作。
可选地,该处理器通过接口与存储器耦合。
可选地,该芯片还包括存储器,该存储器中存储有计算机程度或计算机指令。
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制上述图3-图4A-图7所示的实施例的一种数据处理方法的程序执行的集成电路。上述任一处提到的存储器可以为只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
需要注意的是,为描述方便和简洁,上述提供的任意一种通信装置中相关内容的解释及有益效果均可参考上文提供的对应的数据处理方法实施例,此处不再赘述。
本申请中,通信装置之间还可以包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。其中,硬件层可以包括中央处理器(central processing unit,CPU)、内存管理模块(memory management unit,MMU)和内存(也称为主存)等硬件。操作系统层的操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。应用层可以包含浏览器、通讯录、文字处理软件、即时通信软件等应用。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请实施例可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、电可擦可编程只读存储器(electrically erasable programmable read only memory,EEPROM)、只读光盘(compact disc read-Only memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(digital subscriber line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本申请实施例所使用的,盘(disk)和碟(disc)包括压缩光碟(compact disc,CD)、激光碟、光碟、数字通用光碟(digital video disc,DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
Claims (27)
- 一种数据处理方法,其特征在于,所述方法应用于第一通信装置,包括:获取第二通信装置的译码能力信息;根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特;对所述分段后的信息比特进行编码处理,得到码字比特;输出所述码字比特。
- 根据权利要求1所述的方法,其特征在于,所述获取第二通信装置的译码能力信息,包括:获取第一信息,所述第一信息用于指示所述第二通信装置的译码能力信息;或者获取所述第二通信装置的能力信息,所述第二通信装置的能力信息中的第一字段用于指示所述第二通信装置的译码能力信息;或者获取所述第二通信装置的类型信息,所述第二通信装置的类型信息中包括所述第二通信装置的译码能力信息。
- 根据权利要求2所述的方法,其特征在于,所述第二通信装置的译码能力信息为所述第二通信装置支持译码的码字的最大长度Nmax。
- 根据权利要求2所述的方法,其特征在于,所述第二通信装置的译码能力信息为所述第二通信装置支持译码的码字的最低码率Rmin;Rmin=A/Nmax;其中A为所述第一信息比特的比特数,Nmax为所述第二通信装置支持译码的码字的最大长度。
- 根据权利要求3所述的方法,其特征在于,所述根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特,包括:根据码率、所述第一信息比特以及所述第二通信装置支持译码的码字的最大长度Nmax进行分段处理。
- 根据权利要求5所述的方法,其特征在于,所述根据码率、所述第一信息比特以及所述第二通信装置支持译码的码字的最大长度Nmax进行分段处理,包括:根据每段级联的循环冗余校验CRC的比特数L、所述码率、所述Nmax、以及所述第一信息比特的比特数,确定初始分段数值C′;L为预设的大于或等于0的整数,C′为大于或者等于1的整数;对应于所述码率大于或等于预设码率,确定分段数量等于C′;对应于所述码率小于所述预设码率,确定分段数量等于C1,C1为小于或者等于C′的正整数。
- 根据权利要求6所述的方法,其特征在于,所述对所述分段后的信息比特进行编码处理,得到码字比特,包括:在分段后的每段信息比特的尾部级联一段比特数为L的CRC,得到每段级联后的信息比特;对所述每段级联后的信息比特进行编码,得到每段码字比特。
- 根据权利要求7所述的方法,其特征在于,C1段码字比特占用的传输资源单元的数量小于总的传输资源单元的数量时,所述方法还包括:使用所述总的传输资源单元中的剩余传输资源单元,重传所述C1段码字比特中的部分码字比特或者全部码字比特。
- 根据权利要求6所述的方法,其特征在于,所述初始分段数值C′满足下式:
其中,Kcb为分段后的每段信息比特数的最大值,R为所述码率;A为所述第一信息比特的比特数,为向上取整符号。 - 根据权利要求6所述的方法,其特征在于,y为大于或者等于1的整数。
- 根据权利要求3所述的方法,其特征在于,所述根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理,得到分段后的信息比特,包括:根据总的传输资源单元的数量、调制阶数,所述第一信息比特以及所述第二通信装置支持译码的码字的最大长度Nmax进行分段处理,Nmax为大于0的取值。
- 根据权利要求11所述的方法,其特征在于,所述根据总的传输资源单元的数量、调制阶数,所述第一信息比特以及所述第二通信装置支持译码的码字的最大长度Nmax进行分段处理,包括:根据所述总的传输资源单元的数量、所述调制阶数以及所述第二通信装置支持译码的码字的最大长度Nmax,确定初始分段数值C3;C3为正整数;根据所述总的传输资源单元的数量、所述调制阶数、所述初始分段数值C3,以及所述第二通信装置支持译码的码字的最大长度Nmax,计算剩余的传输资源的比特数;若所述剩余的传输资源的比特数小于预设值时,确定所述分段数量等于C3;若所述剩余的传输资源的比特数不小于所述预设值时,确定所述分段数量等于C3+1。
- 根据权利要求12所述的方法,其特征在于,所述初始分段数值C3满足下式:
所述剩余的传输资源的比特数满足下式:
Brest=Etotal×Qm-C3×Nmax所述分段数量C满足下式:
Brest<z·Nmax时,C=C3;
Brest≥z·Nmax时,C=C3+1;其中,Qm为所述调制阶数,Etotal为所述总的传输资源单元的数量,Brest为所述剩余的传输资源的比特数,z·Nmax为所述预设值,z为大于0且小于1的值,为向下取整符号。 - 根据权利要求12所述的方法,其特征在于,C3段码字比特占用的传输资源单元的数量小于所述总的传输资源单元的数量时,所述方法还包括:使用所述总的传输资源单元中的剩余传输资源单元,重传所述C3段码字比特中的部分码字比特或者全部码字比特。
- 根据权利要求12所述的方法,其特征在于,C3+1段码字比特中的前C3段码字比特占用的传输资源单元的数量小于所述总的传输资源单元的数量时,所述方法还包括:使用所述总的传输资源单元中的剩余传输资源单元,传输最后一段码字比特。
- 一种数据处理方法,其特征在于,所述方法应用于第二通信装置,包括:获得码字比特;所述码字比特是由分段后的信息比特进行编码处理得到的,所述分段后的信息比特是第一通信装置根据所述第二通信装置的译码能力信息对第一信息比特进行分段处理得到的;对所述码字比特进行译码处理,得到所述第一信息比特。
- 根据权利要求16所述的方法,其特征在于,所述方法还包括:输出第一信息,所述第一信息用于指示所述第二通信装置的译码能力信息;或者输出所述第二通信装置的能力信息,所述第二通信装置的能力信息中的第一字段用于指示所述第二通信装置的译码能力信息;或者输出所述第二通信装置的类型信息,所述第二通信装置的类型信息中包括所述第二通信装置的译码能力信息。
- 根据权利要求17所述的方法,其特征在于,所述第二通信装置的译码能力信息为所述第二通信装置支持译码的码字的最大长度Nmax。
- 根据权利要求17所述的方法,其特征在于,所述第二通信装置的译码能力信息为所述第二通信装置支持译码的码字的最低码率Rmin;Rmin=A/Nmax;其中A为所述第一信息比特的比特数,Nmax为所述第二通信装置支持译码的码字的最大长度。
- 根据权利要求16至19中任一项所述的方法,其特征在于,从所述第一通信装置接收到C′段码字比特时,C′为大于或者等于1的整数;所述对所述码字比特进行译码处理,得到所述第一信息比特,包括:对所述C′段码字比特进行译码处理,得到C′段级联后的信息比特;对所述C′段级联后的信息比特去CRC码,得到所述第一信息比特。
- 根据权利要求16至19中任一项所述的方法,其特征在于,从所述第一通信装置接收到C1段码字比特以及重传的所述C1段码字比特中的部分码字比特时;C1为小于或者等于C′的正整数;所述对所述码字比特进行译码处理,得到所述第一信息比特,包括:将所述C1段码字比特对应的软比特与所述重传的码字比特对应的软比特进行合并后译码,得到级 联后的信息比特;对所述级联后的信息比特去CRC码,得到所述第一信息比特。
- 根据权利要求16至17中任一项所述的方法,其特征在于,从所述第一通信装置接收到C3段码字比特以及重传的所述C3段码字比特中的部分码字比特时;C3为正整数;所述对所述码字比特进行译码处理,得到所述第一信息比特,包括:将所述C3段码字比特对应的软比特与所述重传的码字比特对应的软比特进行合并后译码,得到级联后的信息比特;对所述级联后的信息比特去CRC码,得到所述第一信息比特。
- 根据权利要求16至17中任一项所述的方法,其特征在于,从所述第一通信装置接收到C3+1段码字比特时;C3为正整数;所述对所述码字比特进行译码处理,得到所述第一信息比特,包括:对所述C3+1段码字比特进行译码处理,得到C3+1段级联后的信息比特;对所述C3+1段级联后的信息比特去CRC码,得到所述第一信息比特。
- 一种数据处理装置,其特征在于,包括用于执行如权利要求1至15中任一项所述方法的模块或单元,或者包括用于执行如权利要求16至23中任一项所述方法的模块或单元。
- 一种数据处理装置,其特征在于,包括处理器和接口电路,所述接口电路用于接收来自所述装置之外的其它装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述装置之外的其它通信装置,所述处理器通过逻辑电路或执行代码指令以使如权利要求1至15中任一项所述的方法被实现,或者以使如权利要求16至23中任一项所述的方法被实现。
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,以使如权利要求1至23中任一项所述的方法被实现。
- 一种计算机程序产品,其特征在于,所述计算机程序产品中存储有计算机可读指令,当所述计算机可读指令运行时,以使如权利要求1至23中任一项所述的方法被执行。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2023/120173 WO2025059939A1 (zh) | 2023-09-20 | 2023-09-20 | 一种数据处理方法和装置 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2023/120173 WO2025059939A1 (zh) | 2023-09-20 | 2023-09-20 | 一种数据处理方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025059939A1 true WO2025059939A1 (zh) | 2025-03-27 |
Family
ID=95073278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/120173 Pending WO2025059939A1 (zh) | 2023-09-20 | 2023-09-20 | 一种数据处理方法和装置 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025059939A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108574561A (zh) * | 2017-03-14 | 2018-09-25 | 华为技术有限公司 | 极化码编码的方法和装置 |
| CN108631930A (zh) * | 2017-03-24 | 2018-10-09 | 华为技术有限公司 | Ploar编码方法和编码装置、译码方法和译码装置 |
| US20190158221A1 (en) * | 2017-11-17 | 2019-05-23 | Qualcomm Incorporated | Methods and apparatus for determining transport block size in wireless communication |
| CN109842458A (zh) * | 2017-11-24 | 2019-06-04 | 电信科学技术研究院 | 一种编码方法、装置、电子设备和存储介质 |
| CN111357204A (zh) * | 2017-11-17 | 2020-06-30 | 高通股份有限公司 | 极性代码的上行链路控制信息分段 |
-
2023
- 2023-09-20 WO PCT/CN2023/120173 patent/WO2025059939A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108574561A (zh) * | 2017-03-14 | 2018-09-25 | 华为技术有限公司 | 极化码编码的方法和装置 |
| CN108631930A (zh) * | 2017-03-24 | 2018-10-09 | 华为技术有限公司 | Ploar编码方法和编码装置、译码方法和译码装置 |
| US20190158221A1 (en) * | 2017-11-17 | 2019-05-23 | Qualcomm Incorporated | Methods and apparatus for determining transport block size in wireless communication |
| CN111357204A (zh) * | 2017-11-17 | 2020-06-30 | 高通股份有限公司 | 极性代码的上行链路控制信息分段 |
| CN109842458A (zh) * | 2017-11-24 | 2019-06-04 | 电信科学技术研究院 | 一种编码方法、装置、电子设备和存储介质 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108462554B (zh) | 一种极性码的传输方法和装置 | |
| US12267161B2 (en) | Polar code segment encoding method and communication device | |
| CN107342773B (zh) | 编码、译码方法及设备 | |
| CN111133817B (zh) | 通信方法和装置 | |
| CN108282247A (zh) | 一种控制信息传输方法及装置 | |
| US20220069943A1 (en) | Channel Coding Method, Data Receiving Method, and Related Device | |
| WO2025167165A1 (zh) | 数据传输方法、装置及存储介质 | |
| WO2024077486A1 (zh) | 一种确定循环冗余校验比特的方法、通信方法及装置 | |
| KR20200002976A (ko) | 데이터 처리 방법 및 데이터 처리 장치 | |
| CN112636879B (zh) | 基于混合自动重传请求的码块处理的方法和装置 | |
| CN108322285B (zh) | 数据的发送方法、接收方法和装置 | |
| WO2022171019A1 (zh) | 一种编码和译码方法及相关装置 | |
| WO2025059939A1 (zh) | 一种数据处理方法和装置 | |
| WO2025145648A1 (zh) | 数据传输方法、装置及存储介质 | |
| EP4550698A1 (en) | Data processing method, apparatus and device | |
| EP4351048A1 (en) | Communication method and communication apparatus | |
| WO2017016393A1 (zh) | 一种无线通信方法和设备 | |
| US20250373476A1 (en) | Rate matching method, de-rate matching method, and communication apparatus | |
| WO2024007224A1 (zh) | 一种基于反馈的自适应传输方法 | |
| WO2025076814A1 (zh) | 通信方法及装置 | |
| WO2025098375A1 (zh) | 通信方法及装置 | |
| WO2025113436A1 (zh) | 数据重传的方法及装置 | |
| WO2025103223A1 (zh) | 通信方法及通信装置 | |
| WO2025195207A1 (zh) | 通信方法及装置 | |
| WO2025059948A1 (zh) | 通信方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23952599 Country of ref document: EP Kind code of ref document: A1 |