WO2021228156A1 - 编码方法、装置、设备和存储介质 - Google Patents

编码方法、装置、设备和存储介质 Download PDF

Info

Publication number
WO2021228156A1
WO2021228156A1 PCT/CN2021/093410 CN2021093410W WO2021228156A1 WO 2021228156 A1 WO2021228156 A1 WO 2021228156A1 CN 2021093410 W CN2021093410 W CN 2021093410W WO 2021228156 A1 WO2021228156 A1 WO 2021228156A1
Authority
WO
WIPO (PCT)
Prior art keywords
segment
encoding
data
segment group
packet
Prior art date
Application number
PCT/CN2021/093410
Other languages
English (en)
French (fr)
Inventor
张屹
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP21803931.1A priority Critical patent/EP4152810A4/en
Publication of WO2021228156A1 publication Critical patent/WO2021228156A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Definitions

  • This application relates to the field of communication technology, for example, to coding methods, devices, equipment, and storage media.
  • the 5th-Generation New Radio (5G NR) of the fifth-generation mobile communication is a global 5G standard based on the new air interface design of Orthogonal Frequency Division Multiplexing (OFDM), and it is also a very important cellular mobile The foundation of technology.
  • OFDM Orthogonal Frequency Division Multiplexing
  • the uplink timing requirements are very high, and the uplink and downlink control information (Downlink Control Information, DCI) and the physical uplink shared channel (The shortest distance between Physical Uplink Shared Channel (PUSCH) is very tight, and this places very high requirements on the processing rate of the terminal. If the processing rate is not enough, PUSCH transmission may fail.
  • This application provides an encoding method, device, equipment, and storage medium.
  • An encoding method which includes: obtaining uplink authorization information; according to a segmentation strategy, grouping the segments of data to be processed indicated by the uplink authorization information, and encoding the segment grouping packets that meet the encoding requirements; The other segments of the to-be-processed data are packaged, and the other segments that meet the coding requirements are encoded, until all the segments of the to-be-processed data are packaged and encoded.
  • An encoding device which includes: an acquisition module, configured to acquire uplink authorization information; and a package module, configured to package segments of the data to be processed indicated by the uplink authorization information according to a segmentation strategy, and The segment group package that meets the encoding requirements is encoded; the encoding module is configured to group other segments of the data to be processed, and encode other segment group packages that meet the encoding requirements, until the data to be processed is Complete the coding of all the segmented packages.
  • a terminal device including: one or more processors; a storage device configured to store one or more programs; when the one or more programs are executed by the one or more processors, the The one or more processors implement the methods provided in the embodiments of the present invention.
  • a storage medium is also provided, 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.
  • FIG. 1 is a schematic flowchart of an encoding method provided by this application
  • Fig. 1a is a schematic diagram of the processing of PUSCH by the terminal
  • Figure 1b is a schematic diagram of the pipeline of bit-level channel coding
  • Figure 1c is a schematic diagram of the upstream packet grouping process
  • Figure 2 is a schematic structural diagram of an encoding device provided by this application.
  • Fig. 3 is a schematic structural diagram of a terminal device provided by this application.
  • FIG. 1 is a schematic flowchart of an encoding method provided by this application.
  • the method may be suitable for implementing data layer packetization and physical layer channel encoding in a scenario where the terminal's uplink processing timing is tight.
  • the method may be executed by an encoding device, which may be implemented by software and/or hardware, and integrated on the terminal device.
  • the terminal covers any suitable type of wireless user equipment.
  • the terminal device may be a 5G NR terminal.
  • 5G NR terminal uplink processing sequence may be very tight, some scenarios leave the terminal uplink processing time is very tight, during which it is necessary to detect and analyze DCI, data layer packet and physical layer channel coding, if the processing efficiency is not high, then Failure to deal with it results in PUSCH transmission failure, which affects the delay and reliability of the terminal.
  • the coding methods provided by this application include S110, S120, and S130.
  • the uplink grant information includes uplink DCI.
  • the uplink DCI is obtained through blind detection at the physical layer.
  • segmentation strategy group the segments of the data to be processed indicated by the uplink authorization information, and encode the segment group packets that meet the coding requirements.
  • the segmentation strategy can be a preset segmentation strategy or a segmentation strategy determined according to the uplink authorization information.
  • the method of determining the segmentation strategy according to the uplink authorization information can be based on the transmission in the uplink authorization information.
  • the block size and PUSCH transmission position determine the segmentation strategy, and the segmentation strategy can also be determined according to the transmission block size and the degree of timing tension, which is not limited in the embodiment of the present invention.
  • the data to be processed is data that needs to be segmented and packaged.
  • 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 a preset segmentation strategy, and the uplink authorization information indicated according to the preset segmentation strategy
  • the data to be processed may be packaged, or after a segmentation strategy is determined according to the uplink authorization information, the data to be processed indicated by the uplink authorization information may be packaged according to the segmentation strategy.
  • encoding a segment group packet that meets the coding requirements may be encoding a segment group packet completed by the grouping. For example, it may be grouping the current segment to obtain the current source data. The current source data is encoded. It is also possible to encode multiple segmented group packages that have been packaged. For example, if segment group package A and segment group package B are grouped, then segment group package A and segment group package B are Encoding; this embodiment of the present invention does not limit this.
  • the method of encoding the segmented packet may be bit-level encoding first, and after the encoding is completed, character-level encoding is performed, which is not limited in the embodiment of the present invention.
  • the other segments of the to-be-processed data refer to segments of the to-be-processed data other than the segments of the to-be-processed data that have been encoded.
  • other segments of the data to be processed are packaged, and other segment groups that meet the coding requirements are encoded, until all the segments of the data to be processed are packaged and encoded.
  • the data to be processed includes the data corresponding to the first partial packet and the data corresponding to the second partial packet.
  • the data corresponding to the first partial packet is grouped to obtain the first partial packet, because the first partial packet has already been provided
  • the channel coding source data of the physical layer symbol 0, then the symbol 0 is channel-coded.
  • the data layer of the protocol stack performs the second part of the package to complete the entire package process.
  • the terminal device encodes the segment group packet that meets the coding requirements while grouping other segments of the data to be processed. That is to say, the data layer of the protocol stack adopts the form of segmented grouping, forming a pipeline with the channel coding process of the physical layer, so as to reduce the pressure on the time sequence in the tight time sequence scenario, so that the terminal equipment can work normally, and increase the reliability of the NR terminal. .
  • a terminal device detects uplink authorization information, according to a segmentation strategy, packetizes the segments of the data to be processed indicated by the uplink authorization information, and encodes the segment packet that meets the encoding requirements, The 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 encoded, which solves the problem of the tight timing of the uplink processing of the 5G NR terminal.
  • the low efficiency leads to the failure of PUSCH, which effectively reduces the timing pressure and increases the reliability of the NR terminal.
  • encoding the segment group packet that meets the encoding requirement includes:
  • the segment group packet that meets the coding requirements is subjected to segmentation coding.
  • the method for determining the coding segmentation strategy can be artificially set, or it can be calculated from the transmission block size obtained according to the uplink control information, the number of symbols occupied by the uplink shared channel, and the resource block size.
  • the data carried by the symbol is determined to be a coded segment, which is not limited in the embodiment of the present invention.
  • encoding the segment group packet that meets the encoding requirement includes:
  • the encoding operation is performed.
  • the segment group package corresponding to the encoding operation can be one or multiple, and the embodiment of the present invention does not limit this.
  • the encoding operation corresponds to segment group package A, segment group package B, and segment group. Package C.
  • the trigger condition for starting the encoding operation is the arrival of the start time, and the start time is determined according to the transmission time of the uplink shared channel.
  • the encoding operation can be performed when the segment group packet corresponding to the encoding operation is in the segment completed state, for example, if the physical layer symbol 0 encodes the data required For segment group package A and segment group package B, the encoding status of segment group package A and segment group package B is obtained, and the segmentation can be completed when other segment group packages are not completed. Only segment group package A and segment group package When the segment group packet B is in the segment completion state, the symbol 0 normally performs the channel coding process.
  • the use of segmented packetization and the channel coding process of the physical layer form a pipeline, thereby reducing the pressure on the timing.
  • obtaining the state information of at least one segment group packet corresponding to the encoding operation includes:
  • the state information of the at least one segment group packet corresponding to the encoding operation is acquired.
  • the status information of the at least one segment group packet corresponding to the encoding operation is obtained, and if the at least one segment group packet is in the segment completed state, the encoding operation is performed.
  • the physical layer determines the start time according to the PUSCH transmission time. After the start time is reached, the bit-level channel coding process of PUSCH symbol 0 is started, and before the coding process is started, the segment packet corresponding to the data required for symbol 0 is obtained.
  • the status information of the segment group package A is obtained as the segment completion status
  • the status information of the segment group package B is the segment completion status.
  • the state information of at least one segment group packet corresponding to the encoding operation is obtained to realize the encoding when the protocol stack data layer can provide the required source data for the encoding operation Operation, thereby reducing the pressure of timing.
  • performing the encoding operation includes:
  • symbol-level encoding is performed.
  • the at least one segment group packet is bit-level encoded; at the bit-level encoding After the end, perform symbol-level encoding.
  • the segment group package corresponding to the data required to obtain symbol 0 is segment group package A, segment group package B, and segment group package C. Then you can directly obtain the last segment group package, that is, the status information of segment group package C. If segment group package C is completed, then segment group package A, segment group package B, and segment group package C performs bit-level coding; after the end of the bit-level coding, symbol-level coding is performed.
  • the method before acquiring the state information of the at least one segment group packet corresponding to the encoding operation, the method further includes:
  • performing the encoding operation includes:
  • the encoding operation is performed.
  • the preset condition can be that the flag bit is 0, indicating that the segmented package is in an incomplete state, and the flag bit is 1, indicating that the segmented package is in a completed state, and other settings can also be made according to usage habits.
  • the present invention The embodiment does not limit this.
  • the flag bit of each segment group packet is set. After DCI is detected at the physical layer, the data to be processed is reported to the protocol stack data layer. The flag bits of all segment group packets are cleared. After the data layer completes a segment of the packet, it sets the flag of the corresponding segment packet.
  • each packet segment is set to correspond to a "flag bit"; after the uplink authorization information is monitored at the physical layer, the uplink authorization information is processed to obtain the data to be processed, and the segment of the data to be processed is sent to Before the data layer of the protocol stack, or before sending the data to be processed and the segmentation strategy to the data layer of the protocol stack, clear the "flag bits" corresponding to all segmented packets; when the data layer of the protocol stack completes a segmented packet , Set the "flag bit" of the corresponding segment packet; before the physical layer starts the encoding of a symbol, first determine which segment packet the data to be encoded belongs to (a symbol of data may belong to multiple segments).
  • Segment group package and use the last segment group package of these segment group packages as the reference segment group package for verification; query the "flag bit" corresponding to the segment group package, if the flag bit is 1, then It means that the data layer of the protocol stack has prepared all the data to be encoded for this symbol, and the encoding process can be started; if this flag bit is 0, it means that the data layer of the protocol stack has not yet fully prepared the data of this symbol, which is an abnormal situation. Need to cancel this sending.
  • the speed of obtaining the status information of the segmented packet can be improved, thereby reducing the timing pressure.
  • the method before packetizing the segments of the data to be processed specified by the uplink authorization information according to the segmentation strategy, the method further includes:
  • the segmentation strategy is determined according to the transmission block size and the transmission location information.
  • the degree of timing tension can be determined according to the transmission block size and the transmission location information, and the segmentation strategy can be set according to the timing tension. It is also possible to pre-establish the correspondence between the transmission block size and the transmission location information and the segmentation strategy.
  • the relational database obtains the segmentation strategy corresponding to the transmission block size and the sending position information by querying the database, which is not limited in the embodiment of the present invention.
  • the segmentation strategy is determined according to the transmission block size and transmission position information of the physical uplink shared channel, and the optimal segmentation strategy can be set according to different situations, thereby reducing the timing pressure to the greatest extent and improving the reliability of the terminal equipment.
  • determining the segmentation strategy according to the transmission block size and the transmission location information includes:
  • the segmentation strategy is determined according to the size of the transmission block and the degree of timing tension.
  • the way of judging whether the time sequence is tight can be a preset threshold, and determine whether the time sequence is tight according to the size of the transmission block and the relationship between the sending location information and the threshold.
  • the threshold setting can be set by the user or the system. The implementation of the present invention The example does not restrict this.
  • the way of obtaining the degree of time sequence tension may be to pre-establish a database about the corresponding relationship between the size of the transmission block and the sending position information and the degree of time sequence tension, and obtain it by querying the database; it may also be to preset different tension levels.
  • the corresponding numerical range is determined according to the transmission block size and the numerical range to which the sending position information belongs.
  • the degree of timing tension can also be obtained directly according to the transmission block size and the sending location information. It is determined in advance whether the time sequence is tight according to the transmission block size and the sending position information, which can be processed normally without the time sequence being tight, and unnecessary operations are reduced.
  • pre-determining the coding segmentation strategy includes:
  • the data of the preset size is determined as one coded segment.
  • the preset time can be set as needed.
  • the embodiment of the present invention does not limit this.
  • the terminal can use the data carried by the air interface within a period of time as a coding segment to formulate a coding strategy;
  • the fixed data size can be used as a coding segment to formulate coding strategies.
  • determining the data carried by the air interface within a preset time as a coded segment includes:
  • the data carried by each symbol is determined as a coded segment.
  • the terminal obtains information such as the transport block size, the number of symbols occupied by the uplink shared channel, and the resource block size according to the uplink authorization information; the terminal obtains information such as the transport block size, the number of symbols occupied by the uplink shared channel, and Information such as the size of the resource block is calculated to calculate the amount of data carried by each symbol; the terminal uses the amount of data carried by each symbol as an encoding segment to formulate an encoding strategy.
  • the encoding method described in this application is applicable to 5G NR, for example, in a URLLC scenario, where the uplink timing requirements are very high.
  • the 38.214 protocol in the 3rd Generation Partnership Project (3rd Generation Partnership Project) stipulates the shortest distance between uplink DCI and PUSCH.
  • the shortest distance between uplink DCI and PUSCH is very tight.
  • the processing rate puts forward very high requirements. If the processing rate is not high enough, it may cause PUSCH transmission failure, affecting the delay and reliability of the terminal.
  • the purpose of the embodiments of the present invention is to find an encoding method that can reduce timing pressure under tight timing scenarios, so that the terminal can work normally, so as to increase the reliability of the NR terminal.
  • the links involved in the terminal include processes such as DCI detection and analysis, data layer packetization, and physical layer channel coding.
  • the terminal processing process is shown in Figure 1a.
  • the physical layer blindly detects the DCI, it parses the DCI content and reports the packet-related information to the data layer of the protocol stack; the protocol stack data layer starts according to the packet-related information reported by the physical layer
  • the result of the package that is, Transmission Block
  • the physical layer first encodes the result of the package at the bit level, and then encodes at the symbol level, and the encoded data is passed through the PUSCH channel Send it out.
  • the bit-level coding of the physical layer includes cyclic redundancy check (CRC) addition, code block (CB) segmentation, low density parity check (LDPC) coding, rate matching, etc. ,
  • CRC cyclic redundancy check
  • CB code block
  • LDPC low density parity check
  • the input, process and output of coding are all carried out in bit form;
  • the symbol-level coding of the physical layer includes: scrambling, modulation, precoding, frequency-time domain conversion, etc.
  • the input is in bit form (that is, the output of bit-level coding), and After the modulation process, the symbol-level encoding process and output are both in complex form, and data needs to be generated symbol by symbol.
  • the embodiment of the present invention is mainly based on the nature of NR's LDPC coding and rate matching.
  • the data layer packetization process and the physical layer bit-level coding are designed in a pipeline form 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 of each CB and does not include the channel interleaving process between CBs. Due to the nature of NR coding, the bit-level coding process can be spread over multiple symbols, and each symbol only needs to encode the data (CB) to be carried by the symbol.
  • each symbol only needs to obtain the data carried by the symbol before it works.
  • the user equipment (User Equipment, UE) can no longer work normally using conventional methods. But using this pipelining strategy, because the first part of the packet has provided the channel coding source data of 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 package is to complete the entire package process.
  • Step 1 The terminal detects the uplink DCI, analyzes the DCI, and obtains the transmission block size of the PUSCH and the transmission position of the PUSCH;
  • Step 2 the terminal judges whether the timing is tight according to the transmission block size and the transmission position of the PUSCH, and whether the pipeline grouping process needs to be triggered. And determine the segmentation strategy of the protocol stack package process according to the actual Transmission Block size and timing tightness;
  • Step 3 Report the package information, segmentation strategy and other information to the protocol stack data layer, and start the segmentation package;
  • 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.
  • 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 only needs to ensure that the data layer of the protocol stack is ready for PUSCH The data (CB) corresponding to the symbol 1 is sufficient; ...Step N: the transmission is completed.
  • the physical layer can be used to report the data to be processed only once And the segmentation strategy, the protocol stack performs 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 segmentation package of the protocol stack.
  • the physical layer directly controls the packet segmentation process.
  • an adaptive method can be used for the segmentation strategy.
  • the protocol stack packages the data to be transported to the physical layer strategy: you can transport the data that needs to be encoded by this symbol one by one; you can also transport the data of multiple symbols to the physical layer; (provided that the data of these symbols are transported , When transporting, the protocol stack has been packaged) It is also possible to transport the entire segment to the physical layer after the protocol stack has packaged a segment.
  • the embodiment of the present invention adopts a pipeline method, which greatly reduces the timing pressure of terminal processing in the case of tight timing, so that the terminal can process a larger amount of data even when the processing capacity is limited, and it also improves the terminal
  • the stability of the system greatly reduces the situation that the terminal cannot normally send PUSCH because the terminal cannot meet the timing requirements.
  • the channel coding execution unit of the terminal Since the channel coding process adopts a symbol-by-symbol approach, for the terminal, the required processing data space 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. However, with 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 data. Generally, the data space cost of the channel coding execution unit of the terminal is relatively high, and the solution provided by the embodiment of the present invention can greatly reduce this part of the cost.
  • FIG. 2 is a schematic structural diagram of an encoding device provided by this application.
  • the device is configured in a communication device. Referring to FIG. 2, the device includes the following modules.
  • the obtaining module 21 is configured to obtain uplink authorization information
  • the packet grouping module 22 is configured to group the segments of the data to be processed indicated by the uplink authorization information according to the segmentation strategy, and encode the segment group packets that meet the coding requirements;
  • the encoding module 23 is configured to group other segments of the to-be-processed data, and encode other segments that meet the coding requirements, until all the segments of the to-be-processed data are packaged and encoded.
  • the encoding device provided in this embodiment is used to implement the encoding method in the embodiment of the present application.
  • the implementation principle and technical effect of the encoding device provided in this embodiment are similar to the encoding method in the embodiment of the present application, and will not be repeated here.
  • the package forming module 22 is set to:
  • the segment group packet that meets the coding requirements is subjected to segmentation coding.
  • the package forming module 22 is set to:
  • the encoding operation is performed.
  • the packet grouping module 22 performs the encoding operation based on if the at least one segmented grouping packet is in a segmented complete state, including:
  • symbol-level encoding is performed.
  • the packet grouping module 22 obtains the state information of the at least one segment grouping packet corresponding to the encoding operation, which includes:
  • the state information of the at least one segment group packet corresponding to the encoding operation is acquired.
  • the packet grouping module 22 is further configured to: before acquiring the state information of the at least one segment grouping packet corresponding to the encoding operation:
  • performing the encoding operation includes:
  • the encoding operation is performed.
  • it further includes: a first determining module.
  • a first determining module configured to obtain transmission block size and sending location information according to the uplink authorization information
  • the second determining module is configured to determine a segmentation strategy according to the transmission block size and the transmission location information.
  • the second determining module is set to:
  • the segmentation strategy is determined according to the size of the transmission block and the degree of timing tension.
  • the package forming module 22 is set to:
  • the data of the preset size is determined as one coded segment.
  • the package forming module 22 is set to:
  • the data carried by each symbol is determined as a coded segment.
  • An encoding device includes: an acquisition module, a packet grouping module, and an encoding module.
  • a terminal device detects uplink authorization information and, according to a segmentation strategy, packetizes the segments of the data to be processed indicated by the uplink authorization information, and Encode the segment group package that meets the coding requirements, group other segments of the data to be processed, and encode other segment group packages that meet the coding requirements, until all the segment group packages of the data to be processed are encoded, and the solution
  • the processing efficiency is not high, which effectively reduces the timing pressure and increases the reliability of the NR terminal.
  • FIG. 3 is a schematic structural diagram of a terminal device provided by this application.
  • the terminal device provided by this application includes one or more processors 51 and a storage device 52; There may be one or more processors 51 in the terminal device.
  • One processor 51 is taken as an example in FIG. 3; the storage device 52 is configured to store one or more programs; the one or more programs are controlled by the one or more programs.
  • Multiple processors 51 execute, so that the one or more processors 51 implement the method described in FIG. 1 in the embodiment of the present application.
  • the terminal equipment further includes: a communication device 53, an input device 54 and an output device 55.
  • the processor 51, the storage device 52, the communication device 53, the input device 54 and the output device 55 in the terminal device may be connected by a bus or other means.
  • a bus the connection by a bus is taken as an example.
  • the input device 54 may be configured 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.
  • the communication device 53 may include a receiver and a transmitter.
  • the communication device 53 is configured to perform information transceiving and communication under the control of the processor 51.
  • the information includes uplink authorization information.
  • the storage device 52 can be configured to store software programs, computer-executable programs, and modules, such as the program instructions/modules corresponding to the encoding method described in FIG. Obtaining module 21, packaging module 22 and encoding module 23).
  • the storage device 52 may include a storage program area and a storage data area.
  • the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal device, and the like.
  • 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 magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the storage device 52 may include a memory remotely provided with respect to the processor 51, and these remote memories may be connected to the terminal device through a network.
  • Examples of the aforementioned network include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • An embodiment of the present application further provides a storage medium storing a computer program, and when the computer program is executed by a processor, the encoding method described in the embodiment of the present application is implemented, and the method includes:
  • segmentation strategy package the segments of the data to be processed indicated by the uplink authorization information, and encode the segment group packages that meet the coding requirements;
  • the other segments of the to-be-processed data are packaged, and other segments that meet the coding requirements are encoded, until all the segments of the to-be-processed data are packaged and encoded.
  • the computer storage media in the embodiments of the present application may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above.
  • Computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable portable compact disk read-only memory (Compact Disc Read Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • RF radio frequency
  • the computer program code used to perform the operations of this application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including Local Area Network (LAN) or Wide Area Network (WAN)-or it can be connected to an external computer (For example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • User equipment covers any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers, or vehicular mobile stations.
  • Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
  • ISA Instruction Set Architecture
  • 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.
  • the computer program can be stored on the memory.
  • the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), optical memory devices, and System (Digital Video Disc (DVD) or Compact Disk (CD)), etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSP), application specific integrated circuits (ASICs), Programmable logic devices (Field-Programmable Gate Array, FPGA) and processors based on multi-core processor architecture.
  • DSP digital signal processors
  • ASICs application specific integrated circuits
  • FPGA Programmable logic devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供编码方法、装置、终端设备和存储介质,该编码方法包括:获取上行授权信息;根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。

Description

编码方法、装置、设备和存储介质 技术领域
本申请涉及通信技术领域,例如涉及编码方法、装置、设备和存储介质。
背景技术
第五代移动通信新空口(5th-Generation New Radio,5G NR)是基于正交频分复用技术(Orthogonal Frequency Division Multiplexing,OFDM)的全新空口设计的全球性5G标准,也是非常重要的蜂窝移动技术的基础。由于5G NR中,特别是对于高可靠和低延迟通信(Ultra Reliable Low Latency Communications,URLLC)场景,对于上行时序的要求很高,上行下行控制信息(Downlink Control Information,DCI)与物理上行共享信道(Physical Uplink Shared Channel,PUSCH)之间的最短距离场景时序非常紧张,这样对终端的处理速率提出了非常高的要求,如果处理速率不够,则可能导致PUSCH发送失败。
发明内容
本申请提供一种编码的方法、装置、设备和存储介质。
提供一种编码方法,包括:获取上行授权信息;根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
还提供了一种编码装置,包括:获取模块,设置为获取上行授权信息;组包模块,设置为根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;编码模块,设置为对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
还提供了一种终端设备,包括:一个或多个处理器;存储装置,设置为存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明实施例提供的方法。
还提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例中的任意一种方法。
附图说明
图1为本申请提供的一种编码方法的流程示意图;
图1a为终端对PUSCH的处理的示意图;
图1b为bit级信道编码的流水过程的示意图;
图1c为上行流水组包过程的原理图;
图2为本申请提供的一种编码装置的结构示意图;
图3为本申请提供的一种终端设备的结构示意图。
具体实施方式
下文中将结合附图对本申请的实施例进行说明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
在一个示例性实施方式中,图1为本申请提供的一种编码方法的流程示意图,该方法可以适用于实现在终端上行处理时序紧张的场景下,进行数据层组包和物理层信道编码的情况,该方法可以由编码装置执行,该编码装置可以由软件和/或硬件实现,并集成在终端设备上。终端涵盖任何适合类型的无线用户设备。例如终端设备可以为5G NR终端。5G NR终端上行处理的时序有可能非常紧张,一些场景留给终端上行处理的时间非常紧张,期间需要检测和解析DCI、进行数据层组包和物理层信道编码,如果处理效率不高的话,就处理不过来导致PUSCH发送失败,影响终端的时延和可靠性。
如图1所示,本申请提供的编码方法,包括S110、S120和S130。
S110、获取上行授权信息。
上行授权信息包括上行DCI。上行DCI的获取方式为通过物理层盲检得到。
S120、根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码。
分段策略可以为预先设定的分段策略,也可以为根据上行授权信息确定的分段策略,在一实施例中,根据上行授权信息确定分段策略的方式可以为根据上行授权信息中传输块大小和PUSCH的发送位置来确定分段策略,也可以根据 传输块大小和时序紧张程度确定分段策略,本发明实施例对此不进行限制。
所述待处理数据为需要进行分段组包的数据。
在一实施例中,根据分段策略对上行授权信息指示的待处理数据的分段进行组包的方式可以为预先设定分段策略,根据预先设定的分段策略对上行授权信息指示的待处理数据进行组包,也可以为根据上行授权信息确定分段策略后,根据分段策略对上行授权信息指示的待处理数据进行组包。
在一实施例中,将满足编码要求的分段组包进行编码可以为将组包完成的一个分段组包进行编码,例如可以是,对当前分段进行组包,得到当前源数据,对当前源数据进行编码。也可以为将组包完成的多个分段组包进行编码,例如可以是,分段组包A和分段组包B组包完成,则对分段组包A和分段组包B进行编码;本发明实施例对此不进行限制。
在一实施例中,对分段组包进行编码的方式可以为先进行bit级编码,在编码完成后,进行字符级编码,本发明实施例对此不进行限制。
S130、对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
所述待处理数据的其他分段指的是除了已经进行编码的待处理数据的分段外的待处理数据的分段。
在一实施例中,对待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。例如可以是,待处理数据包括第一部分组包对应的数据和第二部分组包对应的数据,对第一部分组包对应的数据进行组包得到第一部分组包,由于第一部分组包已经提供了物理层符号0的信道编码源数据,则符号0进行信道编码,趁此时间,协议栈数据层进行第二部分的组包,完成整个组包过程。
在一实施例中,终端设备是在对满足编码要求的分段组包进行编码的同时对待处理数据的其他分段进行组包。也就是说协议栈数据层采用分段组包的形式,与物理层的信道编码过程形成流水,进而实现在紧张时序场景下,减轻时序压力,使终端设备可以正常工作,增加NR终端的可靠性。
本申请提供的一种编码方法,终端设备检测到上行授权信息,根据分段策略,对上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码,对待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至待处理数据的全部分段组包完成编码,解决了由于5G NR终端上行处理的时序紧张,处理效率不高,导致PUSCH发生失败的问题,有效的减少时序压力,增加了NR终端的可靠性。
在上述实施例的基础上,提出了上述实施例的变型实施例,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,将满足编码要求的分段组包进行编码包括:
预先制定编码分段策略;
根据所述编码分段策略,将满足编码要求的分段组包进行分段编码。
在一实施例中,编码分段策略的确定方式可以为人为设定,也可以为将根据上行控制信息获取的传输块大小、上行共享信道所占用的符号数以及资源块大小计算得到的每个符号所承载的数据确定为一个编码分段,本发明实施例对此不进行限制。
在一个实施例中,将满足编码要求的分段组包进行编码包括:
在启动每段编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息;
若所述至少一个分段组包处于分段完成状态,则执行所述编码操作。
编码操作对应的分段组包可以为一个,也可以为多个,本发明实施例对此不进行限制,例如可以是,编码操作对应分段组包A、分段组包B和分段组包C。
在一实施例中,启动编码操作的触发条件为到达启动时间,所述启动时间为根据上行共享信道的发送时间确定的。
通过预先获取编码操作对应的分段组包的状态可以在编码操作对应的分段组包处于分段完成状态的情况下,执行编码操作,例如可以是,若物理层符号0编码所需要的数据为分段组包A和分段组包B,则获取分段组包A和分段组包B的编码状态,能够在其他分段组包没有完成分段,只有分段组包A和分段组包B处于分段完成状态的情况下,符号0正常进行信道编码过程。采用分段组包的形式与物理层的信道编码过程形成流水,进而减轻时序的压力。
在一个实施例中,在启动编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息包括:
根据所述上行授权信息获取上行共享信道的发送时间;
根据上行共享信道的发送时间,以及所述编码分段策略,确定每段编码操作的启动时间;
在达到所述启动时间后,在启动编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息。
在一实施例中,在启动编码操作之前,获取编码操作对应的至少一个分段组包的状态信息,若至少一个分段组包处于分段完成状态,则执行编码操作。例如可以是,物理层根据PUSCH发送时间确定启动时间,在启动时间到达后,启动PUSCH符号0的bit级信道编码过程,在启动编码过程之前,获取符号0所需的数据对应的分段组包为分段组包A和分段组包B,获取分段组包A的状态信息为分段完成状态,分段组包B的状态信息为分段完成状态。
通过在到达启动时间后,在物理层启动编码操作之前,获取编码操作对应的至少一个分段组包的状态信息来实现在协议栈数据层能够为编码操作提供所需的源数据时,进行编码操作,进而减轻时序的压力。
在一个实施例中,若所述至少一个分段组包处于分段完成状态,则执行所述编码操作包括:
若所述至少一个分段组包中的最后一个分段组包处于分段完成状态,则对所述至少一个分段组包进行比特级编码;
在所述比特级编码结束后,进行符号级编码。
在一实施例中,若所述至少一个分段组包中的最后一个分段组包处于分段完成状态,则对所述至少一个分段组包进行比特级编码;在所述比特级编码结束后,进行符号级编码,例如可以是,在启动编码过程之前,获取符号0所需的数据对应的分段组包为分段组包A、分段组包B和分段组包C,则可以直接获取最后一个分段组包,也就是分段组包C的状态信息,若分段组包C组包完成,则对分段组包A、分段组包B和分段组包C进行比特级编码;在所述比特级编码结束后,进行符号级编码。
在一个实施例中,获取所述编码操作对应的至少一个分段组包的状态信息之前,还包括:
对每个分段组包设置对应的标志位;
当完成一段组包后,将对应分段组包的标志位置位;
若所述至少一个分段组包处于分段完成状态,则执行所述编码操作包括:
若所述至少一个分段组包对应的标志位满足预设条件,则执行所述编码操作。
所述预设条件可以为标志位为0,则说明分段组包处于未完成状态,标志位为1,则说明分段组包处于完成状态,也可以根据使用习惯进行其他设定,本发明实施例对此不进行限制。
在一实施例中,设置每个分段组包的标志位,在物理层监测到DCI后,上 报待处理数据给协议栈数据层之前,清零所有分段组包的标志位,当协议栈数据层完成一段组包后,将对应的分段组包的标志位置位。
在一个例子中,设置每个组包分段对应一个“标志位”;在物理层监测到上行授权信息后,对上行授权信息进行处理,得到待处理数据,将待处理数据的分段发送给协议栈数据层之前,或者,将待处理数据和分段策略发送给协议栈数据层之前,清零所有分段组包对应的“标志位”;当协议栈数据层完成一段分段组包后,将对应分段组包的“标志位”置位;在物理层启动一个符号的编码之前,先判断本符号需要编码的数据属于哪些分段组包(一个符号的数据有可能属于多个分段组包),并以这些分段组包的最后一个分段组包作为校验所参考的分段组包;查询分段组包对应的“标志位”,如果此标志位是1,则说明协议栈数据层已经准备好本符号的全部待编码数据,可以开始进行编码等过程;如果此标志位是0,则说明协议栈数据层还未完全准备好本符号的数据,是异常情况,需要取消本次发送。
通过设置标志位的形式,能够提升获取分段组包的状态信息的速度,进而实现减轻时序压力。
在一个实施例中,在根据分段策略,对所述上行授权信息指定的待处理数据的分段进行组包之前,还包括:
根据所述上行授权信息获取传输块大小和发送位置信息;
根据所述传输块大小和发送位置信息确定分段策略。
在一实施例中,根据传输块大小和发送位置信息能够确定时序的紧张程度,根据时序的紧张程度设定分段策略,也可以预先建立包括传输块大小和发送位置信息与分段策略的对应关系的数据库,通过查询数据库获取传输块大小和发送位置信息对应的分段策略,本发明实施例对此不进行限制。
根据物理上行共享信道的传输块大小和发送位置信息确定分段策略,能够根据不同的情况设置最优的分段策略,进而实现最大程度的减轻时序压力,提升终端设备的可靠性。
在一个实施例中,根据所述传输块大小和发送位置信息确定分段策略包括:
根据所述传输块大小和发送位置信息判断时序是否紧张;
若时序紧张,则获取时序紧张程度;
根据所述传输块大小和所述时序紧张程度确定分段策略。
判断时序是否紧张的方式可以为预先设定阈值,根据传输块大小和发送位置信息与阈值的大小关系确定时序是否紧张,阈值的设定可以为用户设定也可 以为系统设定,本发明实施例对此不进行限制。
在一实施例中,时序紧张程度的获取方式可以为,预先建立关于传输块大小和发送位置信息与时序紧张程度的对应关系的数据库,通过查询数据库获取;还可以为,预先设定不同紧张程度对应的数值范围,根据传输块大小和发送位置信息所属的数值范围确定时序紧张程度。
在一实施例中,也可以直接根据传输块大小和发送位置信息获取时序紧张程度。预先根据传输块大小和发送位置信息确定时序是否紧张,可以在时序不紧张的情况下正常处理,减少不必要的操作。
在一个实施例中,预先制定编码分段策略包括:
将预设时间内空口所承载的数据确定为一个编码分段;
或者,将预设大小的数据确定为一个编码分段。
在一实施例中,预设时间可以根据需要进行设定,本发明实施例对此不进行限制,终端可以将一段时间内,空口所承载的数据作为一个编码分段,制定编码策略;终端也可以将固定数据大小作为一个编码分段,制定编码策略。
在一个实施例中,将预设时间内空口所承载的数据确定为一个编码分段包括:
根据所述上行授权信息,获取传输块大小、上行共享信道所占用的符号数以及资源块大小;
根据所述传输块大小、上行共享信道所占用的符号数以及资源块大小计算每个符号所承载的数据;
将所述每个符号所承载的数据确定为一个编码分段。
在一实施例中,终端根据上行授权信息,获取到传输块大小、上行共享信道所占用的符号数、以及资源块大小等信息;终端根据传输块大小、上行共享信道所占用的符号数、以及资源块大小等信息,计算出每个符号所承载的数据量;终端将每个符号所承载的数据量作为一个编码分段,制定编码策略。
以下对本申请编码方法进行示例性描述。
本申请所述的编码方法适用于5G NR中,例如对于URLLC场景,对于上行时序的要求很高的情况下。第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)协议中的38.214协议中规定了上行DCI与PUSCH之间的最短距离,上行DCI与PUSCH之间的最短距离场景时序非常紧张,这样对终端的处理速率提出了非常高的要求,如果处理速率不够高的话,则可能导致PUSCH发送失败,影响终端的时延和可靠性。在此背景下,本发明实施例的目的是找 到一种可以在紧张时序场景下,减少时序压力,使终端可以正常工作的编码方法,以增加NR终端的可靠性。
从DCI到PUSCH发送之间,终端所涉及的环节包括DCI的检测与解析、数据层组包、以及物理层信道编码等过程。终端处理的过程如图1a所示,物理层盲检到DCI后,解析DCI内容,并将组包相关信息上报给协议栈的数据层;协议栈数据层根据物理层上报的组包相关信息开始进行组包,组好包后将组包结果(即Transmission Block)下发给物理层;物理层对组包结果先进行bit级的编码,再进行符号级编码,将编码后的数据通过PUSCH信道发送出去。物理层的bit级编码包含循环冗余校验(Cyclic Redundancy Check,CRC)附加、码块(Code block,CB)分段、低密度奇偶校验(Low density parity check,LDPC)编码、速率匹配等,编码的输入、过程与输出均以bit形式进行;物理层的符号级编码包含:加扰、调制、预编码、频时域转换等,输入是bit形式(即bit级编码的输出),而从调制过程往后,符号级编码的过程和输出均是复数形式,且需要逐符号产生数据。
本发明实施例主要是依据NR的LDPC编码和速率匹配的性质,如图1b所示,将数据层组包过程和物理层bit级编码设计为流水线形式,以减少整体的时序压力。NR信道编码过程可采用流水机制在于NR协议定义的速率匹配过程是每个CB独立的,且不包含CB间的信道交织过程。由于NR编码的这种性质,所以可以将bit级编码过程分散到多个符号上,每个符号仅对此符号所要承载的数据(CB)进行编码即可。
采用这种方式,物理层在信道编码过程中,每一个符号工作前仅需要得到这个符号所承载的数据。这样的话,在物理层进行信道编码工作之前,并不需要协议栈数据层准备好了所有数据,仅需要保证在物理层每个符号的信道编码之前,准备好了这个符号所需要的数据即可。因此,在时序很紧张的情况下,协议栈数据层可以采用分段组包的形式,与物理层的信道编码过程形成流水,这样就可以减轻时序的压力了。如图1c所示,为时序非常紧张的场景,第二部分组包时,物理层已经开始进行信道编码过程了。使用常规方法用户设备(User Equipment,UE)已经无法正常工作。但是使用此流水策略,由于第一部分组包已经提供了物理层符号0的信道编码源数据,所以物理层在符号0是可以正常的进行信道编码过程的,趁此时间,协议栈数据层可以进行第二部分的组包,完成整个组包过程。
在一个例子中,包括如下步骤。步骤1:终端检测到上行DCI,解析DCI,获取PUSCH的Transmission Block大小、PUSCH的发送位置;步骤2:终端根据Transmission Block大小、PUSCH的发送位置判断时序是否紧张,是否需要 触发流水组包过程,并根据实际的Transmission Block大小与时序紧张程度确定协议栈组包过程的分段策略;步骤3:将组包信息、分段策略等信息上报给协议栈数据层,开始进行分段组包;步骤4:物理层根据PUSCH发送时间,在特定时间启动PUSCH符号0的bit级信道编码过程,此时仅需要保证协议栈数据层已经准备好了PUSCH符号0对应的数据(CB)即可,不需要协议栈数据层完成所有组包过程;步骤5:物理层根据PUSCH符号1的时间,在特定时间启动PUSCH符号1的bit级信道编码过程,此时仅需要保证协议栈数据层已经准备好了PUSCH符号1对应的数据(CB)即可;...步骤N:发送完成。
以上仅是本发明实施例提供的技术方案的一个实施例,也可以根据实际情况,根据此原理做一些其他的改动,包括:如对于分段组包:可以采用物理层仅上报一次待处理数据和分段策略,由协议栈根据分段策略自行进行分段;也可以由物理层控制时间,分多次上报分段后的待处理数据,每次上报对应一次协议栈的分段组包对应的待处理数据,即由物理层直接控制组包分段过程。如对于分段策略:可以采用自适应的方式,当TB块比较大、时序比较紧张时,可以分多段组包;而当TB块比较小、时序不是很紧张时,可以减少组包分段或不进行分段;也可以固定采用一种分段策略,如所有发送均固定分为两段进行组包。如协议栈组包好数据搬运到物理层的策略:可以挨个符号搬运本符号需要进行编码的数据;也可以将多个符号的数据一起搬运到物理层;(前提是被搬运的这些符号的数据,在搬运时,协议栈均已经组包好了)也可以协议栈组包完一个分段后,将这一整个分段搬运到物理层。
本发明实施例是采用流水方式,极大的减小了时序紧张情况下,终端处理的时序压力,使终端在处理能力有限的情况下,也可以处理较大的数据量,同时也提高了终端的系统稳定性,极大减少了因为终端不能满足时序要求而无法正常发送PUSCH的情况。
由于信道编码过程采用逐符号的方式,对于终端来说,所需要的处理数据空间也会极大的减少。常规情况下,终端的信道编码的执行单元必须具有可以容纳整个Transmission Block的数据空间,而采用本发明实施例提供的方案,信道编码执行单元仅需具有容纳一个符号数据的数据空间即可。一般来说终端的信道编码执行单元的数据空间成本是较高的,采用本发明实施例提供的方案可以很大程度减少这部分的成本。
本申请提供了一种编码装置,图2为本申请提供的一种编码装置的结构示意图,该装置配置于通信设备,参见图2,该装置包括以下模块。
获取模块21,设置为获取上行授权信息;
组包模块22,设置为根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;
编码模块23,设置为对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
本实施例提供的编码装置用于实现本申请实施例的编码方法,本实施例提供的编码装置实现原理和技术效果与本申请实施例的编码方法类似,此处不再赘述。
在上述实施例的基础上,提出了上述实施例的变型实施例,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,组包模块22,是设置为:
预先制定编码分段策略;
根据所述编码分段策略,将满足编码要求的分段组包进行分段编码。
在一个实施例中,组包模块22,是设置为:
在启动每段编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息;
若所述至少一个分段组包处于分段完成状态,则执行所述编码操作。
在一个实施例中,所述组包模块22基于若所述至少一个分段组包处于分段完成状态,则执行所述编码操作包括:
若所述至少一个分段组包中的最后一个分段组包处于分段完成状态,则对所述至少一个分段组包进行比特级编码;
在所述比特级编码结束后,进行符号级编码。
在一个实施例中,组包模块22基于在启动编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息包括:
根据所述上行授权信息获取上行共享信道的发送时间;
根据上行共享信道的发送时间,以及所述编码分段策略,确定每段编码操作的启动时间;
在达到所述启动时间后,在启动编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息。
在一个实施例中,组包模块22还设置为在获取所述编码操作对应的至少一个分段组包的状态信息之前:
对每个分段组包设置对应的标志位;
当完成一段组包后,将对应分段组包的标志位置位;
若所述至少一个分段组包处于分段完成状态,则执行所述编码操作包括:
若所述至少一个分段组包对应的标志位满足预设条件,则执行所述编码操作。
在一个实施例中,还包括:第一确定模块。
第一确定模块,设置为根据所述上行授权信息获取传输块大小和发送位置信息;
第二确定模块,设置为根据所述传输块大小和发送位置信息确定分段策略。
在一个实施例中,第二确定模块是设置为:
根据所述传输块大小和发送位置信息判断时序是否紧张;
若时序紧张,则获取时序紧张程度;
根据所述传输块大小和所述时序紧张程度确定分段策略。
在一个实施例中,组包模块22,是设置为:
将预设时间内空口所承载的数据确定为一个编码分段;
或者,将预设大小的数据确定为一个编码分段。
在一个实施例中,组包模块22,是设置为:
根据所述上行授权信息,获取传输块大小、上行共享信道所占用的符号数以及资源块大小;
根据所述传输块大小、上行共享信道所占用的符号数以及资源块大小计算每个符号所承载的数据;
将所述每个符号所承载的数据确定为一个编码分段。
本申请提供的一种编码装置,包括:获取模块、组包模块和编码模块,终端设备检测到上行授权信息,根据分段策略,对上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码,对待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至待处理数据的全部分段组包完成编码,解决了由于5G NR终端上行处理的时序紧张,处理效率不高,导致PUSCH发生失败的问题,有效的减少时序压力,增加了NR终端的可靠性。
本申请提供了一种终端设备,图3是本申请提供的一种终端设备的结构示意图,如图3所示,本申请提供的终端设备,包括一个或多个处理器51和存储装置52;该终端设备中的处理器51可以是一个或多个,图3中以一个处理器51为例;存储装置52设置为存储一个或多个程序;所述一个或多个程序被所述一个或多个处理器51执行,使得所述一个或多个处理器51实现如本申请实施例中图1所述的方法。
终端设备还包括:通信装置53、输入装置54和输出装置55。
终端设备中的处理器51、存储装置52、通信装置53、输入装置54和输出装置55可以通过总线或其他方式连接,图3中以通过总线连接为例。
输入装置54可设置为接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的按键信号输入。输出装置55可包括显示屏等显示设备。
通信装置53可以包括接收器和发送器。通信装置53设置为根据处理器51的控制进行信息收发通信。信息包括上行授权信息。
存储装置52作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例图1所述编码方法对应的程序指令/模块(例如,编码装置中的获取模块21、组包模块22和编码模块23)。存储装置52可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储装置52可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置52可包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括互联网、企业内部网、局域网、移动通信网及其组合。
本申请实施例还提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例所述的编码方法,该方法包括:
获取上行授权信息;
根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;
对所述待处理数据的其他分段进行组包,将满足编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式便携式紧凑磁盘只读存储器(Compact Disc Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括:电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:无线、电线、光缆、无线电频率(Radio Frequency,RF)等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
以上所述,仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。
用户设备涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。
本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中 实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如只读存储器(Read-Only Memory,ROM)、随机访问存储器(Random Access Memory,RAM)、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disk,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FPGA)以及基于多核处理器架构的处理器。

Claims (13)

  1. 一种编码方法,包括:
    获取上行授权信息;
    根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;
    对所述待处理数据的其他分段进行组包,将满足所述编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编码。
  2. 根据权利要求1所述的方法,其中,所述将满足编码要求的分段组包进行编码包括:
    预先制定编码分段策略;
    根据所述编码分段策略,将满足所述编码要求的分段组包进行分段编码。
  3. 根据权利要求2所述的方法,其中,所述将满足编码要求的分段组包进行编码包括:
    在启动每段编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息;
    在所述至少一个分段组包处于分段完成状态的情况下,执行所述编码操作。
  4. 根据权利要求3所述的方法,其中,所述在所述至少一个分段组包处于分段完成状态的情况下,执行所述编码操作包括:
    在所述至少一个分段组包中的最后一个分段组包处于所述分段完成状态的情况下,对所述至少一个分段组包进行比特级编码;
    在所述比特级编码结束后,进行符号级编码。
  5. 根据权利要求3所述的方法,其中,在所述启动每段编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息包括:
    根据所述上行授权信息获取上行共享信道的发送时间;
    根据所述上行共享信道的发送时间,以及所述编码分段策略,确定每段编码操作的启动时间;
    在达到所述启动时间后,且在启动所述编码操作之前,获取所述编码操作对应的至少一个分段组包的状态信息。
  6. 根据权利要求5所述的方法,其中,在所述获取所述编码操作对应的至少一个分段组包的状态信息之前,还包括:
    对每个分段组包设置对应的标志位;
    在完成一段组包后,将所述一段组包对应的分段组包的标志位置位;
    所述在所述至少一个分段组包处于分段完成状态的情况下,执行所述编码操作包括:
    在所述至少一个分段组包对应的标志位满足预设条件的情况下,执行所述编码操作。
  7. 根据权利要求1所述的方法,其中,在所述根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包之前,还包括:
    根据所述上行授权信息获取传输块大小和发送位置信息;
    根据所述传输块大小和所述发送位置信息确定所述分段策略。
  8. 根据权利要求7所述的方法,其中,所述根据所述传输块大小和所述发送位置信息确定所述分段策略包括:
    根据所述传输块大小和所述发送位置信息判断时序是否紧张;
    在时序紧张的情况下,获取时序紧张程度;
    根据所述传输块大小和所述时序紧张程度确定所述分段策略。
  9. 根据权利要求2所述的方法,其中,所述预先制定编码分段策略包括:
    将预设时间内空口所承载的数据确定为一个编码分段;
    或者,将预设大小的数据确定为一个编码分段。
  10. 根据权利要求9所述的方法,其中,所述将预设时间内空口所承载的数据确定为一个编码分段包括:
    根据所述上行授权信息,获取传输块大小、上行共享信道所占用的符号数以及资源块大小;
    根据所述传输块大小、所述上行共享信道所占用的符号数以及所述资源块大小计算每个符号所承载的数据;
    将所述每个符号所承载的数据确定为一个编码分段。
  11. 一种编码装置,包括:
    获取模块,设置为获取上行授权信息;
    组包模块,设置为根据分段策略,对所述上行授权信息指示的待处理数据的分段进行组包,将满足编码要求的分段组包进行编码;
    编码模块,设置为对所述待处理数据的其他分段进行组包,将满足所述编码要求的其他分段组包进行编码,直至所述待处理数据的全部分段组包完成编 码。
  12. 一种终端设备,包括:
    一个或多个处理器;
    存储装置,设置为存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-10中任一项所述的编码方法。
  13. 一种存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10中任一项所述的编码方法。
PCT/CN2021/093410 2020-05-13 2021-05-12 编码方法、装置、设备和存储介质 WO2021228156A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21803931.1A EP4152810A4 (en) 2020-05-13 2021-05-12 CODING METHOD AND APPARATUS, APPARATUS AND STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010404224.4 2020-05-13
CN202010404224.4A CN113676952A (zh) 2020-05-13 2020-05-13 编码方法、装置、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2021228156A1 true WO2021228156A1 (zh) 2021-11-18

Family

ID=78526025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093410 WO2021228156A1 (zh) 2020-05-13 2021-05-12 编码方法、装置、设备和存储介质

Country Status (3)

Country Link
EP (1) EP4152810A4 (zh)
CN (1) CN113676952A (zh)
WO (1) WO2021228156A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993332A (zh) * 2016-01-20 2017-07-28 中兴通讯股份有限公司 上行调度的方法及装置
WO2018175477A1 (en) * 2017-03-24 2018-09-27 Intel IP Corporation Partial uplink subframe transmissions on unlicensed carriers
CN110035531A (zh) * 2018-01-12 2019-07-19 华为技术有限公司 上行控制信息传输方法及装置
WO2019194635A1 (en) * 2018-04-05 2019-10-10 Samsung Electronics Co., Ltd. Apparatus and method for encoding and decoding using polar code in wireless communication system and broadcasting system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1986455A1 (en) * 2007-04-27 2008-10-29 Matsushita Electric Industrial Co., Ltd. Communication of scheduling related information in a mobile communication system
CN109417527B (zh) * 2016-07-08 2023-07-28 夏普株式会社 基站装置、终端装置、通信方法及集成电路
WO2018084202A1 (ja) * 2016-11-04 2018-05-11 京セラ株式会社 無線端末及び基地局
CN108390741B (zh) * 2017-02-03 2021-11-19 华为技术有限公司 数据传输方法和设备
US11140575B2 (en) * 2017-08-11 2021-10-05 Qualcomm Incorporated Modifying CSI transmissions over uplink shared resources
CN110572236B (zh) * 2018-06-05 2020-12-29 上海朗帛通信技术有限公司 一种被用于无线通信的用户设备、基站中的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993332A (zh) * 2016-01-20 2017-07-28 中兴通讯股份有限公司 上行调度的方法及装置
WO2018175477A1 (en) * 2017-03-24 2018-09-27 Intel IP Corporation Partial uplink subframe transmissions on unlicensed carriers
CN110035531A (zh) * 2018-01-12 2019-07-19 华为技术有限公司 上行控制信息传输方法及装置
WO2019194635A1 (en) * 2018-04-05 2019-10-10 Samsung Electronics Co., Ltd. Apparatus and method for encoding and decoding using polar code in wireless communication system and broadcasting system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZTE: "Remaining issues on PUSCH enhancements for NR URLLC", 3GPP DRAFT; R1-2001613, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG1, no. e-Meeting; 20200420 - 20200424, 11 April 2020 (2020-04-11), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051875202 *

Also Published As

Publication number Publication date
EP4152810A4 (en) 2023-11-15
EP4152810A1 (en) 2023-03-22
CN113676952A (zh) 2021-11-19

Similar Documents

Publication Publication Date Title
CN107431570B (zh) 用于减轻多层协议无线系统中的突发打孔和干扰的码块层面纠错和介质访问控制(mac)层面混合自动重传请求
US11356994B2 (en) Adaptive two-stage downlink control channel structure for code block group based fifth generation (5G) or other next generation systems
US8665720B2 (en) Method and system for determining limited soft buffer size on transport blocks for rate matching
TWI400969B (zh) 處理一傳輸時間間隔集束之重傳的方法及通訊裝置
WO2018000841A1 (zh) 一种harq重传的指示方法及相关设备
US11057794B2 (en) Redundancy version indication in fifth generation (5G) or other next generation communication systems
JP5461414B2 (ja) 部分的に崩壊したデータパケットからの値の抽出方法
WO2018201829A1 (zh) 一种传输方法、终端设备及基站
WO2020030115A1 (en) Downlink transmission with two-stage feedback: early prediction-based feedback of physical downlink shared channel and hybrid automatic repeat request feedback
WO2018228457A1 (zh) 发送和接收反馈信息的方法和装置
CN108933642B (zh) 一种基于码块分组的下行重传方法、基站及终端
WO2018137563A1 (zh) 发送和接收反馈信息的方法、接入网设备和终端设备
JP5410503B2 (ja) ハイブリッド自動再送要求送信の改善された復号のための方法および装置
WO2020083251A1 (zh) 数据传输方法及装置
WO2010069249A1 (zh) 虚警校验方法、装置及用户设备
WO2021017933A1 (zh) sidelink速率匹配及资源映射的方法和设备
WO2021228156A1 (zh) 编码方法、装置、设备和存储介质
CN111130712B (zh) 一种自适应跨载波混合自动重传请求处理方法及应用
JP2020519178A (ja) データが破損しているかどうかを判断するための方法および装置
TW201306513A (zh) 偵測無線傳輸錯誤之方法
CN109672707B (zh) 数据传输方法及装置、计算机存储介质
WO2020000234A1 (zh) 一种数据解析的方法以及相关设备
WO2023077871A1 (zh) 指示方法、参考信号发送方法、通信节点及存储介质
WO2024007224A1 (zh) 一种基于反馈的自适应传输方法
WO2023024720A1 (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: 21803931

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021803931

Country of ref document: EP

Effective date: 20221213