Coding method, device, equipment and storage medium

By using segmented packet grouping and channel coding methods in the 5G NR terminal under the tight uplink processing timing scenario, the problem of PUSCH failure caused by low terminal processing efficiency is solved, and the reliability and system stability of the terminal are improved.

CN113676952BActive Publication Date: 2025-03-14SANECHIPS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010404224.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-13
Publication Date
2025-03-14
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

The uplink processing timing of 5G NR terminals in URLLC scenarios is tight, resulting in low processing efficiency, which may lead to PUSCH transmission failure, affecting the terminal's delay and reliability.

Method used

By obtaining uplink authorization information, the data to be processed is grouped in segments according to the segmentation strategy, and the physical layer channel encoding is encoded in a stream manner to reduce the overall timing pressure.

Benefits of technology

Effectively reduce timing pressure, so that the terminal can process a large amount of data even when processing capabilities are limited, improve the system stability of the terminal, reduce the situation of PUSCH transmission failure, and increase the reliability of the NR terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113676952B_ABST
    Figure CN113676952B_ABST
Patent Text Reader

Abstract

The present application proposes a coding method, an apparatus, a terminal device and a storage medium, the method comprising: obtaining uplink authorization information; according to a segmentation strategy, packetizing the segments of the data to be processed indicated by the uplink authorization information, and encoding the segmented packets that meet the coding requirements; packetizing other segments of the data to be processed, and encoding the other segmented packets that meet the coding requirements, until all the segmented packets of the data to be processed are encoded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to encoding methods, devices, equipment and storage media. Background Art

[0002] 5G NR (New Radio) is a global 5G standard based on OFDM (Orthogonal Frequency Division Multiplexing) and a new air interface design. It is also the foundation of very important cellular mobile technology. In 5G NR, especially for URLLC (Ultra Reliable Low Latency Communications), the uplink timing is very demanding. The shortest distance between the uplink DCI (Downlink Control Indicator) and PUSCH (Physical Uplink Shared Channel) is very tight, which puts very high demands on the processing rate of the terminal. If the processing rate is not enough, PUSCH transmission may fail. Summary of the invention

[0003] To solve the above technical problems, the present application provides a method, apparatus, device and storage medium for encoding.

[0004] In a first aspect, an embodiment of the present application provides an encoding method, including:

[0005] Obtain uplink authorization information;

[0006] According to the segmentation strategy, the segments of the to-be-processed data indicated by the uplink authorization information are grouped and encoded;

[0007] The other segments of the data to be processed are packaged, and the other segments that meet the encoding requirements are packaged and encoded until all the segments of the data to be processed are packaged and encoded.

[0008] In a second aspect, the present application provides an encoding device, comprising:

[0009] An acquisition module, used to obtain uplink authorization information;

[0010] A packetizing module, configured to packetize the segments of the data to be processed indicated by the uplink authorization information according to the segmentation strategy, and encode the segmented packets that meet the encoding requirements;

[0011] The encoding module is used to package other segments of the data to be processed, and encode other segment packages that meet the encoding requirements until all the segment packages of the data to be processed are encoded.

[0012] In a third aspect, the present application provides a terminal device, including:

[0013] one or more processors;

[0014] A storage device for storing one or more programs;

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the embodiment of the present invention.

[0016] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, any one of the methods in the embodiments of the present application is implemented.

[0017] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a coding method provided in this application;

[0019] Figure 1a FIG. 1 is a diagram illustrating the processing of PUSCH by a terminal in the prior art;

[0020] Figure 1b It is a pipeline process for bit-level channel coding;

[0021] Figure 1c This is the schematic diagram of the upstream flow packet assembly process;

[0022] Figure 2 A schematic diagram of the structure of an encoding device provided in this application;

[0023] Figure 3 A schematic diagram of the structure of a terminal device provided for this application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0025] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.

[0026] In an exemplary embodiment, Figure 1 A flow chart of a coding method provided for the present application, the method can be applicable to the case where data layer packetization and physical layer channel coding are performed in a scenario where the terminal uplink processing timing is tight, the method can be performed by a coding device, the coding device can be implemented by software and / or hardware, and integrated on a terminal device. The terminal covers any suitable type of wireless user equipment. For example, the terminal device can be a 5G NR terminal. The timing of uplink processing of 5G NR terminals may be very tight, and the time left for terminal uplink processing in some scenarios is very tight, during which it is necessary to detect and parse DCI (Downlink Control Indicator, downlink control information), perform data layer packetization and physical layer channel coding. If the processing efficiency is not high, it cannot be processed, resulting in failure of PUSCH (Physical Uplink Shared Channel, physical uplink shared channel) transmission, affecting the terminal's latency and reliability.

[0027] like Figure 1 As shown, the encoding method provided by the present application includes S110, S120 and S130.

[0028] S110. Obtain uplink authorization information.

[0029] The uplink authorization information includes uplink DCI. The uplink DCI is obtained through physical layer blind detection.

[0030] S120: Packetize the segments of the to-be-processed data indicated by the uplink authorization information according to the segmentation strategy, and encode the segments that meet the encoding requirements.

[0031] Among them, the segmentation strategy can be a pre-set segmentation strategy, or a segmentation strategy determined according to the uplink authorization information. Specifically, the method of determining the segmentation strategy according to the uplink authorization information can be determined according to the transmission block size and the PUSCH sending position in the uplink authorization information, or it can be determined according to the transmission block size and the timing tension. The embodiment of the present invention is not limited to this.

[0032] The data to be processed is data that needs to be segmented and packaged.

[0033] Specifically, the method of grouping the segments of the data to be processed indicated by the uplink authorization information according to the segmentation strategy may be to pre-set the segmentation strategy and group the data to be processed indicated by the uplink authorization information according to the pre-set segmentation strategy, or may be to determine the segmentation strategy according to the uplink authorization information and then group the data to be processed indicated by the uplink authorization information according to the segmentation strategy.

[0034] Specifically, encoding the segmented packages that meet the encoding requirements may be encoding a segmented package that has been packaged, for example, the current segment is packaged to obtain current source data, and the current source data is encoded. It may also be encoding multiple segmented packages that have been packaged, for example, segmented package A and segmented package B are packaged, and then segmented package A and segmented package B are encoded; the embodiment of the present invention is not limited to this.

[0035] Specifically, the segmented packets may be encoded by first performing bit-level encoding, and then performing character-level encoding after the encoding is completed. This is not limited in the embodiment of the present invention.

[0036] S130: Packaging other segments of the data to be processed, and encoding other segments that meet the encoding requirements, until all the segments of the data to be processed are packaged and encoded.

[0037] The other segments of the data to be processed refer to the segments of the data to be processed other than the segments of the data to be processed that have been encoded.

[0038] Specifically, other segments of the data to be processed are packaged, and other segment packages that meet the coding requirements are encoded until all the segment packages of the data to be processed are packaged and encoded. For example, the data to be processed includes data corresponding to the first package and data corresponding to the second package, and the data corresponding to the first package is packaged to obtain the first package. Since the first package has provided the channel coding source data of the physical layer symbol 0, the symbol 0 is channel coded. During this time, the protocol stack data layer performs the second package to complete the entire package process.

[0039] It should be noted that the other segments of the data to be processed are packaged while the segmented packages that meet the coding requirements are encoded. In other words, the protocol stack data layer adopts the form of segmented packaging, which forms a pipeline with the channel coding process of the physical layer, thereby reducing the timing pressure in tight timing scenarios, allowing the terminal equipment to work normally, and increasing the reliability of the NR terminal.

[0040] The present application provides a coding method, in which a terminal device detects uplink authorization information, and according to a segmentation strategy, groups segments of the data to be processed indicated by the uplink authorization information, encodes the segment groups that meet the coding requirements, groups other segments of the data to be processed, and encodes other segment groups that meet the coding requirements until all the segment groups of the data to be processed are encoded, which solves the technical problem of PUSCH failure caused by tight timing of uplink processing of 5G NR terminals and low processing efficiency, effectively reduces timing pressure, and increases the reliability of NR terminals.

[0041] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0042] In one embodiment, encoding the segment groups that meet the encoding requirements includes:

[0043] Develop coding segmentation strategies in advance;

[0044] According to the encoding segmentation strategy, segment groups that meet the encoding requirements are segmented and encoded.

[0045] Specifically, the coding segmentation strategy can be determined manually, or the data carried by each symbol calculated based on the transmission block size obtained from the uplink control information, the number of symbols occupied by the uplink shared channel, and the resource block size is determined as a coding segment. The embodiments of the present invention do not limit this.

[0046] In one embodiment, encoding the segment groups that meet the encoding requirements includes:

[0047] Before starting each encoding operation, obtaining status information of at least one segment grouping corresponding to the encoding operation;

[0048] If the at least one segment group packet is in a segment completion state, the encoding operation is performed.

[0049] The segment grouping corresponding to the encoding operation may be one or more, which is not limited in the embodiment of the present invention. For example, the encoding operation may correspond to segment grouping A, segment grouping B, and segment grouping C.

[0050] Specifically, the trigger condition for starting the encoding operation is the arrival of the start time, and the start time is determined according to the sending time of the uplink shared channel.

[0051] By pre-acquiring the state of the segmented packetization corresponding to the coding operation, the coding operation can be performed when the segmented packetization corresponding to the coding operation is in the segmented completion state. For example, if the data required for encoding the physical layer symbol 0 is segmented packetization A and segmented packetization B, the coding state of segmented packetization A and segmented packetization B is acquired, and the channel coding process of symbol 0 can be performed normally when other segmented packets have not completed segmentation and only segmented packetization A and segmented packetization B are in the segmented completion state. The segmented packetization form is used to form a pipeline with the channel coding process of the physical layer, thereby reducing the pressure of timing.

[0052] In one embodiment, before starting the encoding operation, obtaining the state information of at least one segment grouping corresponding to the encoding operation includes:

[0053] Acquire a transmission time of an uplink shared channel according to the uplink authorization information;

[0054] Determining the start time of each encoding operation according to the transmission time of the uplink shared channel and the encoding segmentation strategy;

[0055] After the start time is reached, before the encoding operation is started, state information of at least one segment grouping corresponding to the encoding operation is obtained.

[0056] Specifically, before starting the coding operation, the state information of at least one segment grouping corresponding to the coding operation is obtained, and if at least one segment grouping is in the segment completion state, the coding operation is performed. For example, the physical layer determines the start time according to the PUSCH transmission time, and after the start time arrives, the bit-level channel coding process of the PUSCH symbol 0 is started. Before starting the coding process, the segment groups corresponding to the data required for symbol 0 are obtained as segment grouping A and segment grouping B, the state information of segment grouping A is obtained as the segment completion state, and the state information of segment grouping B is obtained as the segment completion state.

[0057] By obtaining the status information of at least one segmented packet corresponding to the encoding operation after the start time is reached and before the physical layer starts the encoding operation, the encoding operation can be performed when the protocol stack data layer can provide the required source data for the encoding operation, thereby reducing the timing pressure.

[0058] In one embodiment, if the at least one segment group package is in a segment completion state, performing the encoding operation includes:

[0059] If the last segment grouping in the at least one segment grouping is in a segmentation completion state, bit-level encoding the at least one segment grouping;

[0060] After the bit-level encoding is completed, symbol-level encoding is performed.

[0061] Specifically, if the last segment group in the at least one segment group is in a segment completion state, bit-level encoding is performed on the at least one segment group; after the bit-level encoding is completed, symbol-level encoding is performed. For example, before starting the encoding process, the segment groups corresponding to the data required for symbol 0 are segment group A, segment group B and segment group C. Then, the status information of the last segment group, that is, segment group C, can be directly obtained. If segment group C is completed, segment group A, segment group B and segment group C are bit-encoded; after the bit-level encoding is completed, symbol-level encoding is performed.

[0062] In one embodiment, before obtaining the state information of at least one segment grouping corresponding to the encoding operation, the method further includes:

[0063] Set the corresponding flag bit for each segment group packet;

[0064] When a segment is completed, the flag of the corresponding segment is set to the position;

[0065] Correspondingly, if the at least one segment group package is in a segment completion state, performing the encoding operation includes:

[0066] If the flag bit corresponding to the at least one segment group packet meets a preset condition, the encoding operation is performed.

[0067] Among them, the preset condition can be that if the flag bit is 0, it means that the segmented package is in an unfinished state, and if the flag bit is 1, it means that the segmented package is in a completed state. Other settings can also be made according to usage habits, and the embodiment of the present invention does not limit this.

[0068] Specifically, the flag bit of each segmented packet is set. After the physical layer detects the DCI, before reporting the data to be processed to the protocol stack data layer, the flag bit of all segmented packets is cleared. When the protocol stack data layer completes a segment of packetization, the flag bit of the corresponding segmented packet is set.

[0069] In a specific example, a "flag bit" is set to correspond to each packet segment; after the physical layer monitors the uplink authorization information, the uplink authorization information is processed to obtain the data to be processed, and before the segments of the data to be processed are sent to the protocol stack data layer, or before the data to be processed and the segmentation strategy are sent to the protocol stack data layer, the "flag bits" corresponding to all segmented packets are cleared; when the protocol stack data layer completes a segmented packet, the "flag bit" of the corresponding segmented packet is set; before the physical layer starts encoding a certain symbol, it is first determined which segmented packets the data to be encoded for this symbol belongs to (the data of a symbol may belong to multiple segmented packets), and the last segmented packet of these segmented packets is used as the segmented packet referenced for verification; the "flag bit" corresponding to the segmented packet is queried, and if this flag bit is 1, it means that the protocol stack data layer of all the data to be encoded for this symbol is ready, and the encoding process can be started; if this flag bit is 0, it means that the protocol stack data layer of the data of this symbol is not yet fully ready, which is an abnormal situation and the sending needs to be canceled.

[0070] By setting the flag bit, the speed of obtaining the status information of the segmented package can be further improved, thereby reducing the timing pressure.

[0071] In one embodiment, before the segments of the to-be-processed data specified by the uplink authorization information are packaged according to the segmentation strategy, the method further includes:

[0072] Acquire the transmission block size and sending position information according to the uplink grant information;

[0073] A segmentation strategy is determined according to the transport block size and the sending position information.

[0074] Specifically, the degree of timing tension can be determined according to the transmission block size and the sending position information, and the segmentation strategy can be set according to the degree of timing tension. A database including the correspondence between the transmission block size and the sending position information and the segmentation strategy can also be established in advance, and the segmentation strategy corresponding to the transmission block size and the sending position information can be obtained by querying the database. The embodiments of the present invention are not limited to this.

[0075] The segmentation strategy is determined according to the transmission block size and sending position information of the physical uplink shared channel, and the optimal segmentation strategy can be set according to different situations, thereby minimizing the timing pressure and improving the reliability of the terminal equipment.

[0076] In one embodiment, determining the segmentation strategy according to the transport block size and the sending position information includes:

[0077] Determining whether the timing is tight according to the transmission block size and the sending position information;

[0078] If the time sequence is tight, then obtain the degree of time sequence tightness;

[0079] A segmentation strategy is determined according to the transport block size and the timing tension.

[0080] Among them, the method for judging whether the timing is tight can be to pre-set a threshold, and determine whether the timing is tight based on the relationship between the transmission block size and the sending position information and the threshold. The threshold setting can be user-set or system-set, and the embodiment of the present invention does not limit this.

[0081] Specifically, the method for obtaining the degree of timing tension may be to pre-establish a database of the correspondence between the transmission block size and the sending position information and the degree of timing tension, and obtain it by querying the database; or to pre-set a numerical range corresponding to different tension levels, and determine the degree of timing tension according to the numerical range to which the transmission block size and the sending position information belong.

[0082] It should be noted that the timing tightness program can also be directly obtained according to the transmission block size and the sending position information. By determining whether the timing is tight in advance according to the transmission block size and the sending position information, normal processing can be performed when the timing is not tight, reducing unnecessary operations.

[0083] In one embodiment, pre-setting the encoding segmentation strategy includes:

[0084] Determine the data carried by the air interface within a preset time as a coding segment;

[0085] Alternatively, data of a preset size is determined as one encoding segment.

[0086] Specifically, the preset time can be set as needed, and the embodiment of the present invention does not limit this. The terminal can formulate a coding strategy based on the data carried by the air interface within a period of time as a coding segment; the terminal can also formulate a coding strategy based on a fixed data size as a coding segment.

[0087] In one embodiment, determining data carried by the air interface within a preset time as a coding segment includes:

[0088] According to the uplink grant information, acquiring a transport block size, a number of symbols occupied by an uplink shared channel, and a resource block size;

[0089] Calculating the data carried by each symbol according to the transport block size, the number of symbols occupied by the uplink shared channel and the resource block size;

[0090] The data carried by each symbol is determined as a coding segment.

[0091] Specifically, the terminal obtains the transmission block size and the number of symbols occupied by the uplink shared channel, the resource block size and other information based on the uplink authorization information; the terminal calculates the amount of data carried by each symbol based on the transmission block size, the number of symbols occupied by the uplink shared channel, the resource block size and other information; the terminal divides the data carried by each symbol into a coding segment and formulates a coding strategy.

[0092] The following is an exemplary description of the encoding method of this application:

[0093] The coding method described in this application is applicable to 5G NR, especially for URLLC scenarios, where the requirements for uplink timing are very high. The 3GPP protocol 38.214 stipulates the shortest distance between uplink DCI and PUSCH. The timing of the shortest distance scenario between uplink DCI and PUSCH is very tight, which puts very high requirements on the processing rate of the terminal. If the processing rate is not high enough, it may cause PUSCH transmission failure, affecting the terminal's delay and reliability. In this context, the purpose of an embodiment of the present invention is to find a coding method that can reduce timing pressure in a tight timing scenario so that the terminal can work normally, so as to increase the reliability of the NR terminal.

[0094] From DCI to PUSCH transmission, the terminal involves the following processes: DCI detection and analysis, data layer packetization, physical layer channel coding, etc. In the prior art, the terminal processes are as follows: Figure 1a As shown, after the physical layer detects DCI blindly, it parses the DCI content and reports the packetization related information to the data layer of the protocol stack; the data layer of the protocol stack starts packetization according to the packetization related information reported by the physical layer, and sends the packetization result (i.e., Transmission Block) to the physical layer after packetization; the physical layer first encodes the packetization result at the bit level, then encodes it at the symbol level, and sends the encoded data through the PUSCH channel. The bit-level encoding of the physical layer specifically includes CRC (Cyclic Redundancy Check) addition, CB (Code block) segmentation, LDPC (Low density parity check) encoding, rate matching, etc., and the input, process, and output of the encoding are all in bit form; the symbol-level encoding of the physical layer specifically includes: scrambling, modulation, precoding, frequency-time domain conversion, etc., and the input is in bit form (i.e., the output of bit-level encoding), and from the modulation process onwards, the process and output of symbol-level encoding are both in complex form, and data needs to be generated symbol by symbol.

[0095] The embodiments of the present invention are mainly based on the properties of LDPC coding and rate matching of NR, such as Figure 1bAs shown in the figure, the data layer packetization process and the physical layer bit-level coding are designed as pipelines to reduce the overall timing pressure. The NR channel coding process can adopt a pipeline mechanism because the rate matching process defined by the NR protocol is independent for each CB and does not include the channel interleaving process between CBs. Due to this property of NR coding, the bit-level coding process can be dispersed to each symbol, and each symbol only encodes the data (CB) to be carried by this symbol.

[0096] In this way, during the channel coding process, the physical layer only needs to obtain the data carried by each symbol before working on it. In this way, before the physical layer performs channel coding, the protocol stack data layer does not need to prepare all the data. It only needs to ensure that the data required for each symbol is prepared before the physical layer performs channel coding on each symbol. Therefore, when timing is very tight, the protocol stack data layer can use segmented packetization to form a pipeline with the channel coding process of the physical layer, which can reduce the timing pressure. Figure 1c As shown in the figure, the timing is very tight. When the second part of the packet is assembled, the physical layer has already started the channel coding process. The UE cannot work normally using the conventional method. However, using this pipeline strategy, since the first part of the packet has provided the channel coding source data of the physical layer symbol 0, the physical layer can normally perform the channel coding process at symbol 0. During this time, the protocol stack data layer can perform the second part of the packet assembly and complete the entire packet assembly process.

[0097] In a specific example, the following steps are included: Step 1: The terminal detects the uplink DCI, parses the DCI, and obtains the Transmission Block size of the PUSCH and the sending position of the PUSCH; Step 2: The terminal determines whether the timing is tight and whether it is necessary to trigger the pipeline packetization process according to the Transmission Block size and the sending position of the PUSCH, and determines the segmentation strategy of the protocol stack packetization process according to the actual Transmission Block size and the timing tension; Step 3: Report the packetization information, segmentation strategy and other information to the protocol stack data layer, and start segmented packetization; Step 4: The physical layer starts the bit-level channel coding process of PUSCH symbol 0 at a specific time according to the PUSCH transmission time. At this time, it is only necessary to ensure that the protocol stack data layer has prepared the data (CB) corresponding to the PUSCH symbol 0, and the protocol stack data layer does not need to complete all the packetization processes; Step 5: The physical layer starts the bit-level channel coding process of PUSCH symbol 1 at a specific time according to the time of PUSCH symbol 1. At this time, it is only necessary to ensure that the protocol stack data layer has prepared the data (CB) corresponding to the PUSCH symbol 1; ... Step N: Transmission is completed.

[0098] The above is only a specific embodiment of the technical solution provided by the embodiment of the present invention. Other changes can also be made according to the actual situation and based on this principle, including but not limited to: for segmented packet assembly: the physical layer can be used to report the data to be processed and the segmentation strategy only once, and the protocol stack can perform segmentation according to the segmentation strategy; the physical layer can also control the time and report the segmented data to be processed multiple times, and each report corresponds to the data to be processed corresponding to the segmented packet assembly of the protocol stack, that is, the physical layer directly controls the packet segmentation process. For example, for the segmentation strategy: an adaptive method can be used. When the TB block is relatively large and the timing is relatively tight, the packet assembly can be divided into multiple segments; and when the TB block is relatively small and the timing is not very tight, the packet assembly segmentation can be reduced or not segmented; a certain segmentation strategy can also be fixedly adopted, such as all transmissions are fixedly divided into two segments for packet assembly. For example, the strategy of the protocol stack to package data and move it to the physical layer: the data that needs to be encoded can be moved symbol by symbol; or the data of multiple symbols can be moved to the physical layer together; (the premise is that the data of these symbols being moved have been packaged by the protocol stack when they are moved) or the protocol stack can package a segment and then move the entire segment to the physical layer.

[0099] The embodiment of the present invention adopts a pipeline method, which greatly reduces the timing pressure of the terminal processing under tight timing conditions, so that the terminal can process a large amount of data even when the processing capacity is limited. At the same time, it also improves the system stability of the terminal and greatly reduces the situation where the terminal cannot send PUSCH normally because it cannot meet the timing requirements.

[0100] It should be noted that, since the channel coding process adopts a symbol-by-symbol approach, the required data processing space for the terminal will also be greatly reduced. Under normal circumstances, the channel coding execution unit of the terminal must have a data space that can accommodate the entire Transmission Block, but using the solution provided by the embodiment of the present invention, the channel coding execution unit only needs to have a data space that can accommodate one symbol of data. Generally speaking, the data space cost of the terminal channel coding execution unit is relatively high, and the solution provided by the embodiment of the present invention can greatly reduce this part of the cost.

[0101] The present application provides a coding device. Figure 2 This is a schematic diagram of the structure of a coding device provided in the present application, which is configured in a communication device, see Figure 2 , the device comprises:

[0102] An acquisition module 21 is used to acquire uplink authorization information;

[0103] The packetizing module 22 is used to packetize the segments of the to-be-processed data indicated by the uplink authorization information according to the segmentation strategy, and encode the segmented packets that meet the encoding requirements;

[0104] The encoding module 23 is used to package other segments of the data to be processed, and encode the other segments that meet the encoding requirements until all the segments of the data to be processed are packaged and encoded.

[0105] The encoding device provided in this embodiment is used to implement the encoding method of the embodiment of the present application. The implementation principle and technical effect of the encoding device provided in this embodiment are similar to those of the encoding device method of the embodiment of the present application, and will not be repeated here.

[0106] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0107] In one embodiment, the package assembly module 22 is specifically configured to:

[0108] Develop coding segmentation strategies in advance;

[0109] According to the encoding segmentation strategy, segment groups that meet the encoding requirements are segmented and encoded.

[0110] In one embodiment, the package assembly module 22 is specifically configured to:

[0111] Before starting each encoding operation, obtaining status information of at least one segment grouping corresponding to the encoding operation;

[0112] If the at least one segment group packet is in a segment completion state, the encoding operation is performed.

[0113] In one embodiment, the packaging module 22 performs the encoding operation based on the at least one segment packaging being in a segment completion state, including:

[0114] If the last segment grouping in the at least one segment grouping is in a segmentation completion state, bit-level encoding the at least one segment grouping;

[0115] After the bit-level encoding is completed, symbol-level encoding is performed.

[0116] In one embodiment, the packaging module 22 obtains the state information of at least one segment packaging corresponding to the encoding operation before starting the encoding operation, including:

[0117] Acquire a transmission time of an uplink shared channel according to the uplink authorization information;

[0118] Determining the start time of each encoding operation according to the transmission time of the uplink shared channel and the encoding segmentation strategy;

[0119] After the start time is reached, before the encoding operation is started, state information of at least one segment grouping corresponding to the encoding operation is obtained.

[0120] In one embodiment, before obtaining the state information of at least one segment package corresponding to the encoding operation, the package assembly module 22 further includes:

[0121] Set the corresponding flag bit for each segment group packet;

[0122] When a segment is completed, the flag of the corresponding segment is set to the position;

[0123] Correspondingly, if the at least one segment group package is in a segment completion state, performing the encoding operation includes:

[0124] If the flag bit corresponding to the at least one segment group packet meets a preset condition, the encoding operation is performed.

[0125] In one embodiment, it further includes:

[0126] A first determination module, configured to obtain a transmission block size and a sending position information according to the uplink grant information;

[0127] The second determining module is used to determine the segmentation strategy according to the transmission block size and the sending position information.

[0128] In one embodiment, the second determining module is specifically configured to:

[0129] Determining whether the timing is tight according to the transmission block size and the sending position information;

[0130] If the time sequence is tight, then obtain the degree of time sequence tightness;

[0131] A segmentation strategy is determined according to the transport block size and the timing tension.

[0132] In one embodiment, the package assembly module 22 is specifically configured to:

[0133] Determine the data carried by the air interface within a preset time as a coding segment;

[0134] Alternatively, data of a preset size is determined as one encoding segment.

[0135] In one embodiment, the package assembly module 22 is specifically configured to:

[0136] According to the uplink grant information, acquiring a transport block size, a number of symbols occupied by an uplink shared channel, and a resource block size;

[0137] Calculating the data carried by each symbol according to the transport block size, the number of symbols occupied by the uplink shared channel and the resource block size;

[0138] The data carried by each symbol is determined as a coding segment.

[0139] The present application provides a coding device, including: an acquisition module, a packetization module and a coding module. The terminal device detects uplink authorization information, and according to the segmentation strategy, packets the segments of the data to be processed indicated by the uplink authorization information, encodes the segmented packets that meet the coding requirements, packets the other segments of the data to be processed, and encodes the other segmented packets that meet the coding requirements until all the segmented packets of the data to be processed are encoded. The technical problem of PUSCH failure caused by the tight timing of uplink processing of 5G NR terminals and low processing efficiency is solved, which effectively reduces the timing pressure and increases the reliability of NR terminals.

[0140] The present application provides a terminal device, Figure 3 A schematic diagram of the structure of a terminal device provided in this application is as follows: Figure 3 As shown, the terminal device provided in the present application includes one or more processors 51 and a storage device 52; the processor 51 in the terminal device can be one or more, Figure 3 In the embodiment, a processor 51 is taken as an example; the storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the embodiment of the present application. Figure 1 The method described.

[0141] The terminal device further includes: a communication device 53 , an input device 54 and an output device 55 .

[0142] The processor 51, storage device 52, communication device 53, input device 54 and output device 55 in the terminal device may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0143] The input device 54 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the terminal device. The output device 55 may include a display device such as a display screen.

[0144] The communication device 53 may include a receiver and a transmitter. The communication device 53 is configured to perform information transmission and reception communication according to the control of the processor 51. The information includes but is not limited to uplink authorization information.

[0145] The storage device 52 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, and modules, such as the embodiments of the present application. Figure 1 The program instructions / modules corresponding to the encoding method (for example, the acquisition module 21, the package module 22 and the encoding module 23 in the encoding device). The storage device 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the storage device 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 52 may further include a memory remotely arranged relative to the processor 51, and these remote memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0146] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the encoding method described in the present application is implemented, and the method includes:

[0147] Obtain uplink authorization information;

[0148] According to the segmentation strategy, the segments of the to-be-processed data indicated by the uplink authorization information are grouped and encoded;

[0149] The other segments of the data to be processed are packaged, and the other segments that meet the encoding requirements are packaged and encoded until all the segments of the data to be processed are packaged and encoded.

[0150] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (Random Access Memory, RAM), read-only memories (Read Only Memory, ROM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fibers, portable CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination of the above. Computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0151] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0152] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.

[0153] Computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0154] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.

[0155] It will be appreciated by those skilled in the art that the term user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car-mounted mobile station.

[0156] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.

[0157] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0158] The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. A computer program may be stored on a memory. The memory may have any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transient storage media. A data processor may be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FGPAs) and a processor based on a multi-core processor architecture.

[0159] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present application. Therefore, the proper scope of the present application will be determined according to the claims.

Claims

1. A coding method, characterized in that: include: Obtain uplink authorization information; According to the segmentation strategy, the segments of the data to be processed indicated by the uplink authorization information are packaged, and the segmented packages that meet the coding requirements are encoded; wherein the coding requirement is that at least one segmented package is in a segmentation completion state; While encoding the segmented packets that meet the encoding requirements, packetizing other segments of the data to be processed, encoding the other segmented packets that meet the encoding requirements, until all the segmented packets of the data to be processed are encoded; Encoding the segmented packages that meet the encoding requirements includes: before starting each encoding operation, obtaining state information of at least one segmented package corresponding to the encoding operation; if the at least one segmented package is in a segmented completion state, executing the encoding operation; Before starting the encoding operation, obtaining the status information of at least one segmented package corresponding to the encoding operation includes: obtaining the transmission time of the uplink shared channel according to the uplink authorization information; determining the start time of each encoding operation according to the transmission time of the uplink shared channel and the encoding segmentation strategy; after reaching the start time, before starting the encoding operation, obtaining the status information of at least one segmented package corresponding to the encoding operation.

2. The method according to claim 1, characterized in that Encoding the segmented packages that meet the encoding requirements includes: Develop coding segmentation strategies in advance; According to the encoding segmentation strategy, segment groups that meet the encoding requirements are segmented and encoded.

3. The method according to claim 1, characterized in that If the at least one segment group package is in a segment completion state, performing the encoding operation includes: If the last segment grouping in the at least one segment grouping is in a segmentation completion state, bit-level encoding the at least one segment grouping; After the bit-level encoding is completed, symbol-level encoding is performed.

4. The method according to claim 1, characterized in that: Before obtaining the state information of at least one segment grouping corresponding to the encoding operation, the method further includes: Set the corresponding flag bit for each segment group packet; When a segment is completed, the flag of the corresponding segment is set to the position; Correspondingly, if the at least one segment group package is in a segment completion state, performing the encoding operation includes: If the flag bit corresponding to the at least one segment group packet meets a preset condition, the encoding operation is performed.

5. The method according to claim 1, characterized in that Before the segments of the to-be-processed data specified by the uplink authorization information are packaged according to the segmentation strategy, the method further includes: Acquire the transmission block size and sending position information according to the uplink grant information; A segmentation strategy is determined according to the transport block size and the sending position information.

6. The method according to claim 5, characterized in that Determining the segmentation strategy according to the transport block size and the sending position information includes: Determining whether the timing is tight according to the transmission block size and the sending position information; If the time sequence is tight, then obtain the degree of time sequence tightness; A segmentation strategy is determined according to the transport block size and the timing tension.

7. The method according to claim 2, characterized in that Pre-defined coding segmentation strategies include: Determine the data carried by the air interface within a preset time as a coding segment; Alternatively, data of a preset size is determined as one encoding segment.

8. The method according to claim 7, characterized in that Determining the data carried by the air interface within a preset time as a coding segment includes: According to the uplink grant information, acquiring a transport block size, a number of symbols occupied by an uplink shared channel, and a resource block size; Calculating the data carried by each symbol according to the transport block size, the number of symbols occupied by the uplink shared channel and the resource block size; The data carried by each symbol is determined as a coding segment.

9. An encoding device, characterized in that: include: An acquisition module, used to obtain uplink authorization information; A packetizing module, configured to packetize the segments of the to-be-processed data indicated by the uplink authorization information according to the segmentation strategy, and encode the segmented packets that meet the encoding requirements; wherein the encoding requirement is that at least one segmented packet is in a segmentation completion state; An encoding module, used for, while encoding the segmented packets that meet the encoding requirements, packetizing other segments of the data to be processed, encoding the other segmented packets that meet the encoding requirements, until all the segmented packets of the data to be processed are encoded; The packaging module is used to: before starting each encoding operation, obtain the state information of at least one segment packaging corresponding to the encoding operation; if the at least one segment packaging is in a segment completion state, execute the encoding operation; The packet assembly module is used to: obtain the transmission time of the uplink shared channel according to the uplink authorization information; determine the start time of each encoding operation according to the transmission time of the uplink shared channel and the encoding segmentation strategy; after reaching the start time, before starting the encoding operation, obtain the state information of at least one segment packet assembly corresponding to the encoding operation.

10. A terminal device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

11. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Base station device, terminal device, communication method, and integrated circuit

    EP3484113A1