WO2019157969A1 - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
WO2019157969A1
WO2019157969A1 PCT/CN2019/074098 CN2019074098W WO2019157969A1 WO 2019157969 A1 WO2019157969 A1 WO 2019157969A1 CN 2019074098 W CN2019074098 W CN 2019074098W WO 2019157969 A1 WO2019157969 A1 WO 2019157969A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packets
priority
remaining time
terminal device
logical channels
Prior art date
Application number
PCT/CN2019/074098
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2019157969A1 publication Critical patent/WO2019157969A1/en

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
    • 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/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1221Wireless traffic scheduling based on age of data to be sent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
  • LTE long term evolution
  • the base station allocates an uplink resource to the UE according to the amount of data and the service priority that the UE requests to transmit. And instructing by issuing an uplink grant (UL grant) information.
  • the UE After receiving the uplink grant information, the UE generally allocates uplink resources according to the logical channel prioritization (LCP) process for the buffered data packets based on the uplink resources allocated by the base station.
  • LCP logical channel prioritization
  • the terminal device caches the data packets to be transmitted in the service type in the logical channel corresponding to the service. After the terminal device receives the uplink authorization information, the terminal device follows the logical channel priority. In LTE, the priority of the logical channel is determined by the base station. Allocating uplink resources to data packets in the high priority logical channel according to the priority of the service and determining the high-to-low order of the UE, until the uplink resource allocated for the logical channel satisfies the priority of the logical channel The bit rate (prioritised bit rate (PBR), or the uplink resource indicated by the uplink grant information is allocated when the condition of the PBR is satisfied.
  • PBR prioritised bit rate
  • the terminal device After the resource allocation to the high priority logical channel is completed, if there are remaining uplink resources, the terminal device allocates resources for the data packets buffered in the logical channel of the lower priority level. The UE repeats the foregoing resource allocation process until all uplink resources are allocated, or all logical channels that buffer the data packets complete resource allocation, and send corresponding data packets to the base station according to the resource allocation result.
  • a packet with a short remaining time may not be allocated to a resource due to a PBR limitation of the logical channel, or a low priority may be caused by a packet in a high-priority logical channel occupying all the uplink resources. Packets with shorter remaining time in the logical channel of the level cannot be allocated to resources, which causes these packets with shorter remaining time to time out, and it is difficult to guarantee performance indicators of high reliability services.
  • the present application provides a data transmission method and apparatus capable of reducing the ratio of timeout packets.
  • the application provides a data transmission method, including: receiving, by a terminal device, uplink authorization information sent by a network device, where uplink authorization information is used to indicate an uplink resource allocated to the terminal device; and the terminal device is configured according to the N data packets to be sent. For the remaining time, an uplink resource is allocated for K data packets in N data packets, N ⁇ K ⁇ 1, and K and N are integers; the terminal device sends K data packets to the network device on the uplink resource.
  • the terminal device can perform uplink resource allocation based on the remaining time of the data packet, and to a certain extent, ensure that the data packet with less remaining time has priority to obtain resource allocation, thereby reducing the ratio of the timeout data packet.
  • the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device follows the sequence of the remaining time of the N data packets from small to large. , in turn, allocate uplink resources for K packets.
  • the terminal device may perform uplink resource allocation according to the remaining time of the N data packets from small to large, so as to ensure that the K data packets with relatively small remaining time in the N data packets have priority to obtain uplink resources. Allocation, which reduces the ratio of timeout packets in N packets.
  • the terminal device allocates uplink resources for the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device according to the remaining of each data packet in the N data packets.
  • the remaining time interval in which the time is located determines the priority of each data packet; the terminal device allocates uplink resources for K data packets in order from the highest to the lowest priority of the N data packets.
  • the terminal device can preferentially allocate uplink resources to the data packets with high priority level, so as to preferentially allocate uplink resources to the data packets with shorter remaining time, thereby reducing the timeout data packets in the N data packets. ratio.
  • the terminal device allocates multiple data packets in descending order of the priority of the logical channels where the multiple data packets are located. Upstream resources.
  • the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels.
  • the minimum remaining time of the data packet updates the priority of the M logical channels.
  • M is The integer device uses the logical channel priority LCP process to allocate uplink resources for K data packets according to the priority of the updated M logical channels.
  • the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels.
  • the remaining time of the data packet determines the priority offset value of each logical channel, and updates the priority of the M logical channels according to the priority offset values of the M logical channels, and the M logical channels are logic for buffering N data packets.
  • the channel, M ⁇ 2, M is an integer; the terminal device uses the logical channel priority LCP process according to the priority of the updated M logical channels to allocate uplink resources for K data packets.
  • the above two alternative manners can flexibly adjust the priority of the logical channel based on the remaining time of the buffered data packet in the logical channel, and improve the priority of the logical channel buffered by the data packet with less remaining time, so that the logic A packet with a smaller remaining time of the channel buffer can obtain uplink resource allocation to a certain extent in advance.
  • the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels.
  • the remaining data time is less than or equal to the total data amount of the data packet of the preset first threshold value, and the logical channel priority LCP process is used to allocate uplink resources for K data packets, and the M logical channels are buffered for N data packets.
  • Logical channel, M ⁇ 2, M is an integer.
  • the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K ⁇ N; if the terminal device allocates uplink resources for the K data packets, The method further includes: the terminal device adopts a logical channel priority LCP process, and allocates the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
  • the application provides a communication device, including: a receiving unit, configured to receive uplink grant information sent by a network device, where uplink grant information is used to indicate an uplink resource allocated to the communications device, and an allocating unit, configured to send For the remaining time of the N data packets, an uplink resource is allocated for the K data packets of the N data packets, N ⁇ K ⁇ 1, and K and N are integers; the sending unit is configured to send the uplink resource to the network device. K packets.
  • the allocating unit is configured to allocate uplink resources to the K data packets in order according to the remaining time of the N data packets.
  • the allocating unit is specifically configured to determine a priority of each data packet according to a remaining time interval in which the remaining time of each of the N data packets is located, and according to a priority of the N data packets In the low order, uplink resources are allocated for K packets in turn.
  • the allocating unit allocates multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Upstream resources.
  • the allocating unit is configured to update the priority of the M logical channels according to the minimum remaining time of the data packet buffered in each of the M logical channels, and according to the priority of the updated M logical channels.
  • the logical channel priority LCP process is used to allocate uplink resources for K data packets. The smaller the minimum remaining time, the higher the priority of the logical channel, and the M logical channels are the logical channels for buffering N data packets, M ⁇ 2 , M is an integer.
  • the allocating unit is configured to determine a priority offset value of each logical channel according to a minimum remaining time of the data packet buffered by each of the M logical channels, and according to priority of the M logical channels.
  • the offset value updates the priority of the M logical channels, and according to the priorities of the updated M logical channels, uses the logical channel priority LCP process to allocate uplink resources to K data packets to buffer N data.
  • the logical channel of the packet, M ⁇ 2, M is an integer.
  • the allocating unit is configured to adopt a logical channel priority according to a total data volume of a data packet whose remaining time in each of the M logical channels is less than or equal to a preset first threshold.
  • uplink resources are allocated for K data packets, and M logical channels are logical channels for buffering N data packets, M ⁇ 2, and M is an integer.
  • the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K ⁇ N; the allocation unit is also used to allocate the data packets for the K packets.
  • the logical channel priority LCP process is used to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
  • the application provides a terminal device, including: a processor, a memory, a bus, and a transceiver, wherein the processor is connected to the memory and the transceiver through a bus; the memory is configured to store program instructions; and the processor is configured to be in the terminal.
  • the control transceiver When the device is running, executing program instructions to control the transceiver to receive the uplink authorization information sent by the network device, and allocate uplink resources for the K data packets in the N data packets according to the remaining time of the N data packets to be sent, and The control transceiver sends K data packets to the network device on the uplink resource, where the uplink grant information is used to indicate the uplink resource allocated to the terminal device, where N ⁇ K ⁇ 1, and K and N are integers.
  • the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, where the following includes: according to the remaining time of the N data packets, from small to large. Allocate uplink resources for K packets in turn.
  • the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: remaining time according to each data packet in the N data packets. The remaining time interval is determined, and the priority of each data packet is determined, and the uplink resources are allocated for K data packets in order according to the priority of the N data packets from high to low.
  • the processor allocates multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Upstream resources.
  • the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: buffering according to each of the M logical channels.
  • the minimum remaining time of the data packet updates the priority of the M logical channels, and uses the logical channel priority LCP process to allocate uplink resources for K data packets according to the priority of the updated M logical channels, and the minimum remaining time is smaller.
  • the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: data buffered according to each of the M logical channels.
  • the minimum remaining time of the packet determines a priority offset value of each logical channel, and updates the priority of the M logical channels according to the priority offset values of the M logical channels, and according to the priority of the updated M logical channels.
  • the logical channel priority LCP process is used to allocate uplink resources to K data packets.
  • the M logical channels are logical channels for buffering N data packets, M ⁇ 2, and M is an integer.
  • the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: buffering according to each of the M logical channels.
  • the total data amount of the data packet whose remaining time is less than or equal to the preset first threshold value uses the logical channel priority LCP process to allocate uplink resources for K data packets, and M logical channels are logic for buffering N data packets.
  • Channel, M ⁇ 2, M is an integer.
  • the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K ⁇ N; the processor is also used to allocate the data packets for the K packets.
  • the logical channel priority LCP process is used to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
  • the present application provides a computer storage medium storing instructions in a computer storage medium, and when the instructions are run on a computer, causing the computer to implement the data transmission method according to the first aspect or the optional aspect of the first aspect .
  • the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to implement the data transfer method as described in the first aspect or the alternative aspect of the first aspect.
  • the present application provides a chip system including at least one chip, and when the chip system is in operation, the data transmission method according to the first aspect or the optional aspect of the first aspect can be implemented.
  • FIG. 1 is a schematic diagram of a communication system provided by the present application.
  • FIG. 2 is a schematic structural diagram of a terminal device provided by the present application.
  • FIG. 3 is a flowchart of an embodiment of a data transmission method provided by the present application.
  • FIG. 4 is a schematic diagram of a scenario of a data packet buffer provided by the present application.
  • FIG. 5 is a flowchart of another embodiment of a data transmission method provided by the present application.
  • FIG. 6 is a schematic structural diagram of a communication apparatus provided by the present application.
  • system and "network” are used interchangeably herein.
  • the term “and” is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and B, which may indicate that A exists separately, A and B exist simultaneously, and B exists separately.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the data transmission method provided by the present application can be applied to an LTE system, an advanced long-term evolution (LTE-A), and an evolved system using an LTE system, such as a fifth-generation communication (5G) system, and a new wireless (new).
  • LTE-A advanced long-term evolution
  • 5G fifth-generation communication
  • new new wireless
  • Radio, NR next-generation wireless LAN system
  • V2X vehicle to everything
  • the data transmission method provided by the present application can be applied to any communication system including at least one network device and at least one terminal device.
  • the network device may be a base station (BS) or a base transceiver station (BTS), and is a device deployed in the radio access network to provide a wireless communication function for the terminal device.
  • BS base station
  • BTS base transceiver station
  • the names of devices with base station functions may be different, for example, in an LTE network, called an evolved NodeB (eNB or eNodeB), in the third generation.
  • eNB evolved NodeB
  • a communication (3G) network it is called a Node B, or is applied to a gNB in a fifth-generation communication system, and the like.
  • 3G communication
  • the above-mentioned devices having the functions of the base station are collectively referred to as network devices.
  • the terminal device referred to in the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, smart phones, smart watches, tablets, or other processing devices connected to wireless modems, and A form of user equipment (UE), a mobile station (MS), a terminal, and the like.
  • UE user equipment
  • MS mobile station
  • terminal devices the above-mentioned devices are collectively referred to as terminal devices.
  • a terminal device As shown in FIG. 2, a terminal device provided by the present application includes a processor 201, a memory 202, a bus 203, a transceiver 204, and the like.
  • the processor 201 is a control center of the terminal device, and connects various parts of the entire terminal device by using various interfaces and buses 203, by running or executing software programs and/or modules stored in the memory 202, and calling the storage in the memory.
  • the data in 202 performs various functions and processing data of the terminal device, thereby performing overall monitoring on the terminal device.
  • the processor 201 can include digital signal processor devices, microprocessor devices, analog to digital converters, digital to analog converters, and the like that can distribute the control and signal processing functions of the terminal devices in accordance with their respective capabilities.
  • the transceiver 204 can be an RF circuit that can be used to transceive information and process the received information to the processor 201 for processing.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc., communicating with other devices over a network via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to a global system of mobile communication (GSM), a general packet radio service (GPRS), a CDMA, a wideband code division. Wideband code division multiple access (WCDMA), LTE, Wi-Fi or low-power Wi-Fi, and WLAN technology.
  • FIG. 3 is a flowchart of an embodiment of a data transmission method provided by the present application, where the method includes:
  • Step 301 The terminal device receives uplink authorization information sent by the network device.
  • the uplink grant information is used to indicate an uplink resource allocated to the terminal device.
  • Step 302 The terminal device allocates the uplink resource to the K data packets in the N data packets according to the remaining time of the N data packets to be sent, where N ⁇ K ⁇ 1, where K and N are integers.
  • the remaining time information of the data packet is used to indicate that the terminal device needs to complete the sending of the data packet before the end of the remaining time.
  • the remaining time of the data packet may be obtained from a timer associated with the packet data convergence protocol (PDCP) layer, or obtained by a timer associated with a radio link control (RLC) layer.
  • PDCP packet data convergence protocol
  • RLC radio link control
  • Step 303 The terminal device sends the K data packets to the network device on the uplink resource.
  • the terminal device performs uplink resource allocation according to the remaining time of the N data packets to be sent, so that K packets with relatively small remaining time in the N data packets can be preferentially obtained.
  • the resources are allocated and sent in time to avoid the K packets being timed out.
  • the uplink resources are limited, it is possible to ensure that a certain amount of data packets with less remaining time in the N data packets are preferentially transmitted, thereby reducing the ratio of timeout data packets in the N data packets.
  • the terminal device performs an exemplary implementation manner of allocating uplink resources for K data packets in the N data packets according to the remaining time of the N data packets to be sent. Description.
  • the terminal device may allocate uplink resources for K data packets in order according to the remaining time of the N data packets from small to large. That is, the allocation is started from the data packet with the smallest remaining time, and the uplink resource is preferentially allocated for the data packet with the smallest remaining time, so as to ensure that the data packet with the smallest remaining time can obtain the uplink resource allocation.
  • the uplink resources are sufficient, the uplink resources are allocated to the data packets with the remaining time, until the uplink resources are all allocated or the N data packets are allocated uplink resources.
  • the terminal device may allocate uplink resources to the multiple data packets in a random sequence.
  • the terminal device may also allocate uplink resources to the multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Specifically, when the remaining time of the plurality of data packets is the same, the higher the priority of the logical channel where the data packet is located, the data packet preferentially obtaining the uplink resource allocation. Packets with the same remaining time in the same logical channel are sequentially allocated in random order.
  • 8 data packets to be transmitted are buffered in 4 logical channels of the terminal device, wherein the logical channel A has a priority of 1, and the data packet P1-P4 is buffered, and the remaining P1
  • the time is 0.1ms, the remaining time of P2 is 0.2ms, and the remaining time of P3 and P4 is 0.3ms.
  • the priority of logical channel B is 2, the data packet P5-P7 is buffered, the remaining time of P5 and P6 is 0.1 ms, and the remaining time of P7 is 0.4 ms.
  • the priority of logical channel C is 3, the data packet P8 is buffered, and the remaining time of P8 is 0.3 ms.
  • the priority of the logical channel D is 4, the buffer P9 is buffered, and the remaining time of P9 is 0.6 ms.
  • the data packets with the smallest remaining time are P1, P5, and P6, and the remaining time is 0.1 ms.
  • the uplink resource is preferentially allocated for the data packet P1, P5, and P6. It is assumed that in the example, the data packets with the same remaining time are allocated in the order of the highest priority of the logical channel where the data packet is located, then, since the P1 buffer is in the logical channel A, the P5 and P6 are buffered in the logical channel.
  • the priority of the logical channel A is higher than that of the logical channel B (the rule that the higher the priority value is, the higher the priority is, for example), so the terminal device preferentially allocates the uplink resource to the data packet P1.
  • the uplink resources may be allocated in the random sequence, for example, the data packet P5 is allocated first, and then the data packet P6 is allocated.
  • the terminal device After the terminal device allocates uplink resources to the P1, P5, and P6 packets with the smallest remaining time, if the uplink resources are sufficient, the terminal device may start from the data packet P2 with the remaining time, according to the order of remaining time from small to large. , in turn, allocate uplink resources for data packets P2, P3, P4, P8, P7, and P9.
  • the terminal device may start from the data packet P1, in the order of remaining time from small to large, for the data packets P1, P5, P6, P2, P3, P4, P8,
  • the pre-K (K ⁇ 9) data packets in P7 and P9 are allocated uplink resources to ensure that the K packets with relatively small remaining time among the 9 data packets in the buffer are preferentially allocated uplink resources, thereby reducing the 9 data.
  • the ratio of timeout packets in the packet is the ratio of timeout packets in the packet.
  • the terminal device may first determine the priority of each data packet according to the remaining time interval in which the remaining time of each of the N data packets is located. Then, according to the order of priority of the N data packets from high to low, uplink resources are allocated for K data packets in turn.
  • the terminal device may allocate uplink resources to the multiple data packets in a random sequence. Or, according to the priority of the logical channels where the multiple data packets are located, the uplink resources are allocated to the multiple data packets in sequence.
  • the network device may set a mapping relationship between the remaining time interval and the priority of the data packet for the terminal device by using a system message, a dedicated RRC message, or other predetermined message, so that the terminal device obtains the uplink resource. Based on the mapping relationship, the priority of each data packet can be calculated according to the remaining time of each data packet. The smaller the value contained in the remaining time interval of the remaining time of the packet, the higher the priority of the packet.
  • the mapping relationship between the remaining time interval and the priority of the data packet is as follows: the remaining time interval of the remaining time of the data packet is (0, 0.2), the priority of the data packet is 1; the remaining time of the data packet The remaining time interval is (0.2, 0.5), and the priority of the data packet is 2; the remaining time interval of the remaining time of the data packet is (0.5, + ⁇ ), and the priority of the data packet is 3.
  • the terminal device may allocate uplink resources to the data packets P1, P2, P5, and P6 with priority 1 according to the obtained resource resources of the uplink resources according to the priority of the data packets P1-P9 from high to low.
  • the uplink resources are allocated to the data packets P4, P8, and P7 of the priority level 2, and finally the uplink resources are allocated to the data packet P9.
  • the terminal allocates uplink resources for a plurality of data packets of the same priority in descending order of priority of the logical channel in which the data packets are located.
  • the packets P1, P2, P5, and P6 of priority 1 as an example, since the priority of the logical channel A of the buffered data packets P1 and P2 is higher than the priority of the logical channel B of the buffered data packets P5 and P6,
  • the terminal device may first allocate uplink resources for the data packets P1 and P2, and then the data packets P5 and P6.
  • the order between the data packets P1 and P2 and the order between the data packets P5 and P6 may be random.
  • the uplink resource allocation sequence is the data packets P1, P2, P5, P6, P4, P8, P7, and P9. If the uplink resources obtained by the terminal device are limited, the terminal device may start from the data packet P1 according to the priority of the data packet from high to low, and the data packets are P1, P2, P5, P6, P4, P8, P7, and P9.
  • the first K (K ⁇ 9) data packets in the middle are allocated uplink resources, so as to ensure that the K packets with relatively high priority among the 9 data packets in the cache get the uplink resource allocation preferentially, thereby ensuring the cached 9 data packets.
  • the K packets with relatively small remaining time get the uplink resource allocation preferentially, thereby reducing the ratio of timeout packets in the 9 data packets.
  • the terminal device after acquiring the uplink resource each time, the terminal device needs to re-count the remaining time of each data packet and re-determine the priority of the data packet. That is to say, if the data packet buffered in the logical channel is not allocated to the uplink resource during the first data transmission, the terminal needs to re-determine the priority of the data packet in the next data transmission.
  • the terminal device may update the priority of the M logical channels according to the minimum remaining time of the data packet buffered in each of the M logical channels, and the smaller the minimum remaining time, the higher the priority of the logical channel, M
  • the logical channels are logical channels that buffer N packets. Then, according to the priority of the updated M logical channels, the LCP process is used to allocate uplink resources for K data packets.
  • the LCP process includes the terminal device performing uplink resource allocation according to the priority of each logical channel and the maximum resource amount allowed to be allocated for each logical channel (the maximum resource amount is indicated by the PBR value in the prior art). That is, the terminal device allocates uplink resources to the data packets in the high priority logical channel in the order of the logical channel priority from high to low, until the uplink resource allocated for the logical channel satisfies the maximum resource amount of the logical channel, and then Allocate resources for logical channels with a lower priority level.
  • the foregoing process continues until the uplink resources are allocated, or the uplink resources allocated by all the logical channels satisfy the maximum resource amount; when all the uplink resources allocated by the logical channel satisfy the maximum resource amount, and there are remaining uplink resources, according to the logic
  • the channel priority is assigned in the order of high to low for allocating uplink resources for packets in the logical channel.
  • the network device can set the mapping relationship between the minimum remaining time of the data packet buffered in the logical channel and the priority of the logical channel for the terminal device by using the system message or the dedicated RRC message, so that the terminal device obtains the uplink.
  • the priority of the M logical channels can be dynamically adjusted based on the mapping relationship.
  • the mapping between the minimum remaining time of the buffered data packet in the logical channel and the priority of the logical channel is: if the logical channel The minimum remaining time of the buffered data packet is within 0ms-0.2ms, then the priority of the logical channel is 1; if the minimum remaining time of the buffered data packet in the logical channel is within 0.2ms-0.5ms, the logical channel The priority of the packet is 2; if the minimum remaining time of the buffered packet in the logical channel is 0.5ms-1.0ms, the priority of the logical channel is 3; if the minimum remaining time of the buffered packet in the logical channel is greater than 1.0ms , the logical channel has a priority of 4.
  • the minimum remaining time of the data packet buffered in logical channel A and logical channel B is 0.1 ms
  • the minimum remaining time of the data packet buffered in logical channel C is 0.5 ms, which is buffered in logical channel D.
  • the minimum remaining time of the packet is 0.6ms.
  • the priorities of the logical channel A, the logical channel C, and the logical channel D are updated to the original values (ie, the priority remains unchanged). Since the minimum remaining time of the data packet buffered in the logical channel B is 0.1 ms within 0 ms-0.2 ms, the priority of the logical channel B is updated from the original value 2 to 1.
  • the terminal device uses the LCP process according to the priority of the updated logical channel AD, first allocates resources for the data packets buffered in the logical channels A and B, and then allocates resources for the data packets buffered in the logical channel C. Finally, resources are allocated for the data packets buffered in the logical channel D.
  • the minimum remaining time of the data packet buffered in the logical channel B of the terminal device temporarily increases the priority level of the logical channel B, so that the logical channel B has the same priority as the logical channel A, and therefore, the logical channel B and Packets buffered in logical channel A have the same opportunity to be scheduled. Therefore, in the case that the uplink resources are limited, the terminal device allocates uplink resources preferentially for the data packets buffered in the logical channel A, and the data packets with less remaining time in the logical channel B cannot be allocated resources in time.
  • Example 4 The terminal device determines a priority delta value of each logical channel according to the remaining time of the data packet buffered by each of the M logical channels, and according to the priority offset of the M logical channels The value updates the priority of the M logical channels, and the M logical channels are logical channels that buffer N data packets. Then, according to the priority of the updated M logical channels, the LCP process is used to allocate uplink resources for K data packets.
  • the terminal device can determine the priority offset value of each logical channel based on different mapping rules according to the remaining time of the data packet buffered by each logical channel.
  • the terminal device may determine the priority offset value based on a mapping relationship between a minimum remaining time of the buffered data packet in the logical channel and a priority offset value of the logical channel.
  • the mapping relationship between the minimum remaining time of the data packet buffered in the logical channel and the priority offset value of the logical channel is as follows: if the minimum remaining time of the buffered data packet in the logical channel is within 0ms-0.2ms , the priority offset value is ⁇ 1; if the minimum remaining time of the buffered data packet in the logical channel is within 0.2ms-0.5ms, the priority offset value is ⁇ 2; if the logical channel buffers the data packet The minimum residual time is 0.5ms-1.0ms, then the priority offset value is ⁇ 3; if the minimum remaining time of the buffered data packet in the logical channel is greater than 1.0ms, the priority offset value is ⁇ 4.
  • the higher the rule is, for example, based on the rule, ⁇ 1> ⁇ 2> ⁇ 3> ⁇ 4 can be set.
  • the priority of the logical channel may be updated to max ⁇ m, p- ⁇ j ⁇ , where max To take the maximum value function, m is an integer greater than or equal to 1, m represents the highest priority level to which the logical channel is allowed to be dynamically adjusted, and p represents the original priority of the logical channel.
  • the value of m may be predefined by the protocol, or may be configured by the network device to the terminal device by using a system message or an RRC message.
  • the minimum remaining time of the data packet buffered in the logical channel A and the logical channel B is 0.1 ms, and the priority offset value of the logical channel A and the logical channel B is 3.
  • the priority of the logical channel A is still 1 after updating (ie, max ⁇ 1, 1-3 ⁇ ), and the priority of the logical channel B is also updated after 1 (ie, max ⁇ 1, 2-3 ⁇ ).
  • the minimum remaining time of the buffered data packet in the logical channel C is 0.5 ms, the priority offset value of the logical channel C is 1, and the priority of the logical channel C is updated to 2 (ie, max ⁇ 1,3-1 ⁇ ) .
  • the minimum remaining time of the data packet buffered in the logical channel D is 0.6 ms, the priority offset value of the logical channel D is 1, and the priority of the logical channel D is updated to 3 (ie, max ⁇ 1,4-1 ⁇ ) .
  • the priority levels of the logical channels B, C, and D are increased by one level according to the minimum remaining time of the buffered data packets. In order to enable the data packets buffered in the logical channels B, C, and D to obtain uplink resource allocation to a certain extent in advance.
  • the terminal device may also determine the priority offset based on a mapping relationship between the total data volume of the data packet whose remaining time in the logical channel is less than or equal to the third threshold value and the priority offset value of the logical channel. Move the value.
  • the unit of the data volume of the data packet may be kilobytes/byte/bit (kilobyte/byte/bit), which is not limited thereto.
  • the mapping between the total data amount of the data packet whose remaining time of the logical channel is less than or equal to the third threshold value and the priority value of the logical channel is: if the remaining of the buffer in the logical channel If the total data volume of the data packet whose time is less than or equal to the third threshold value is within 0-200 bytes, the priority offset value is ⁇ 5; if the remaining time of the buffer in the logical channel is less than or equal to the third threshold value The total data volume of the data packet is within 200-500 bytes, then the priority offset value is ⁇ 6; if the remaining time of the buffer in the logical channel is less than or equal to the third threshold, the total data volume of the data packet is 500.
  • the priority offset value is ⁇ 7; if the total data amount of the data packet with the remaining time of the buffer in the logical channel less than or equal to the third threshold is greater than 1000 bytes, the priority is biased
  • the shift value is ⁇ 8.
  • the larger the total data amount of the data packet of the value, the higher the priority of the logical channel is, for example, based on the rule, ⁇ 5 ⁇ ⁇ 6 ⁇ ⁇ 7 ⁇ ⁇ 8 can be set.
  • the priority of the logical channel may be updated to max ⁇ n, p- ⁇ i ⁇ , where n For an integer greater than or equal to 1, n represents the highest priority level to which the logical channel is allowed to be dynamically adjusted.
  • p denotes the original priority of the logical channel.
  • the value of n may be predefined by the protocol, or may be configured by the network device to the terminal device by using a system message or an RRC message.
  • the third threshold value is 0.3 ms.
  • the total data volume of the data packet with the remaining time of the logical channel A being less than or equal to 0.3 is 800.
  • the logical channel A has a priority offset of 2. Then the priority of logical channel A is still 1 after updating (ie max ⁇ 1, 1-2 ⁇ ).
  • the total data amount of the data packet whose logical time remaining in the logical channel B is less than or equal to 0.3 is 400 bytes, the priority offset value of the logical channel B is 1, and the priority of the logical channel B is updated to 1 (ie, max) ⁇ 1,2-1 ⁇ ). If the total data volume of the data packet with the remaining time of the buffer in the logical channel C is less than or equal to 0.3 is 200 bytes, the priority value of the logical channel C is 0, and the priority of the logical channel C is still 3 after the update. Max ⁇ 1,3-0 ⁇ ).
  • the total data amount of the data packet with the remaining time of the buffer in the logical channel D being less than or equal to 0.3 is 0 bytes, the priority offset value of the logical channel D is 0, and the priority of the logical channel D is still 4 after the update (ie, Max ⁇ 1,4-0 ⁇ ).
  • the priority level of the logical channel B is increased by one level according to the total data amount of the data packet whose remaining time buffered in the logical channel is less than or equal to the third threshold value. In order to enable the data packet buffered in the logical channel B to obtain the uplink resource allocation to a certain extent in advance.
  • the network device may set the foregoing mapping relationship for the terminal device by using a system message or a dedicated RRC message, and the number of priority offset values, the size relationship between each priority offset value, and the priority offset
  • the setting of the specific value of the value, and the algorithm or rule for updating the priority of the logical channel according to the priority offset value may be set according to the setting rule of the priority of the logical channel and the remaining time of the data packet in the actual implementation process. This application is not limited.
  • Example 3 and Example 4 are based on the remaining time of the buffered data packets in the logical channel, and the priority of the logical channel is updated. Then the update time for the logical channel priority can be set based on the needs of the actual instance. For example, the terminal device may update the priority of the logical channel according to the minimum remaining time of the currently buffered data packet when the LCP process is executed after each time the uplink resource is acquired.
  • the priority of each logical channel of the terminal device may be maintained as a priority configured by the network device through the RRC message, and when the terminal device performs the LCP process, according to the The minimum remaining time of the currently buffered data packet, temporarily adjusting the priority of the logical channel.
  • the terminal device may also periodically update the priority of each logical channel. For example, it is updated every 1ms, or every transmission time interval (TTI) is updated once. In this regard, this application does not limit.
  • Example 5 The terminal device adopts a logical channel priority LCP process according to the total data amount of the data packet whose remaining time in each of the M logical channels is less than or equal to the preset first threshold value, and is K.
  • the data packets are allocated uplink resources.
  • the PBR value of the corresponding logical channel may be modified according to the total amount of data.
  • the PBR value limits the maximum amount of resources allowed to be allocated for a logical channel during each LCP.
  • the terminal device may directly modify the PBR value of the logical channel to the corresponding total data amount, or superimpose the corresponding total data amount on the original PBR value of the logical channel. So that the modified PBR value is greater than or equal to the corresponding total data amount. Therefore, when the terminal device performs the LCP process according to the modified PBR value of each logical channel, when the uplink resource is sufficient, the uplink resource allocation can be obtained for the data packet whose remaining time in the logical channel is less than the first threshold. Avoiding the limitation of the PBR value, the data packet with a small remaining time in the logical channel cannot be allocated uplink resources. Thereby reducing the ratio of timeout packets buffered in each logical channel.
  • the terminal device may also predefine a new parameter, which indicates the amount of resources that the terminal device is allowed to continue to allocate after the resource amount of the uplink resource allocated for the data packet in the logical channel satisfies the corresponding PBR condition in the process of performing the LCP. .
  • the terminal device can set a new parameter of the corresponding logical channel according to the total amount of data, and perform an LCP process according to the new parameter, the PBR value and the priority of each logical channel, so as to ensure that when the uplink resource is sufficient, the terminal device is
  • the terminal device may continue to allocate less time for the resource that is not allocated in the logical channel according to the corresponding new parameter.
  • a threshold packet allocates uplink resources. It is avoided that due to the limitation of the PBR value, some packets with less remaining time in the logical channel cannot obtain uplink resource allocation, thereby reducing the ratio of timeout packets buffered in each logical channel.
  • Example 6 The terminal device may adopt a manner of adding the logical channel priority in Example 3 or Example 4, and a method of adding the resource amount of the uplink resource allowed to allocate the data packet in the logical channel in Example 5, K packets are allocated uplink resources. That is, the terminal device updates the priority of the logical channel according to the manner described in Example 3 or Example 4, and increases the maximum amount of resources allowed to be allocated for the logical channel according to the manner described in Example 5, and then according to the priority of the updated logical channel. Level and maximum resources, using the LCP process to allocate uplink resources for K packets.
  • the terminal device may only update the priority of the logical channel, and perform an LCP procedure according to the priority of the updated logical channel to perform uplink resource allocation.
  • the terminal device may perform the uplink resource allocation according to the maximum allowed resource amount of the logical channel without performing the priority update manner of the logical channel provided by the present application.
  • the terminal device may update the priority of each logical channel according to the priority update manner of the logical channel provided by the application, to reorder the M logical channels, and according to the priority of the updated logical channel.
  • priority examples listed in the above examples are those in which the value of the priority is smaller, the priority level is higher, and the priority value of 1 indicates the priority of the highest level.
  • the application does not limit the setting rules of the priority, and may be set according to the actual implementation requirements, and the application is not listed one by one.
  • uplink resource allocation based on the remaining time of the data packet may be implemented in other manners, which are not enumerated here.
  • the above six examples are only optional ways to implement uplink resource allocation according to the remaining time of the data packet, and are not all implemented.
  • the network device may further determine, by the network device, a second threshold, where the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold.
  • the method further includes:
  • Step 304 The terminal device uses an LCP process to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
  • the terminal device may further divide the N data packets into two parts, the first part is a data packet whose remaining time is less than or equal to the second threshold value, and the second part is the data whose remaining time is greater than the second threshold value. package.
  • the terminal device first allocates uplink resources for the first part of the data packet in the manner mentioned in step 302. Then, if there is any remaining uplink resources, the uplink resource is allocated to at least one data packet in the second part according to a conventional LCP procedure.
  • the first partial data packet determined by the terminal device is data packets P1, P5, P6, and P2, and the second partial data packet is data packet P3. , P4, P7, P8 and P9.
  • the terminal device first allocates uplink resources for the data packets P1, P5, P6, and P2 in the manner mentioned in step 302. When the uplink resources are allocated in the data packets P1, P5, P6, and P2, and the uplink resources are still remaining, the uplink resources are allocated to the data packets P3, P4, P7, P8, and P9 according to the conventional LCP process.
  • step 303 may specifically be:
  • Step 303a The terminal device sends the K data packets and the remaining one of the N data packets to the network device on the uplink resource.
  • the value indicates that the first threshold value, the second threshold value, and the third threshold value mentioned above may be the same threshold value, or may be equal to three threshold values, or Three equal thresholds.
  • the network device can configure various thresholds for the terminal device through predefined messages, system messages, or dedicated RRC messages. In this regard, the application is not limited.
  • the terminal device includes corresponding hardware structures and/or software modules for executing the respective functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • FIG. 6 is a schematic structural diagram of a communication device provided by the present application.
  • the communication device may be a function module integrated on the terminal device, or may be an external device connected to the terminal device.
  • the terminal device can be caused to implement the data transmission method described in the above FIGS. 3-5.
  • the communication device includes:
  • the receiving unit 601 is configured to receive uplink grant information sent by the network device, where the uplink grant information is used to indicate an uplink resource that is allocated to the communications device.
  • the allocating unit 602 is configured to allocate the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, where N ⁇ K ⁇ 1, where K and N are integers.
  • the sending unit 603 is configured to send the K data packets to the network device on the uplink resource.
  • the allocating unit 602 is configured to allocate the uplink resource to the K data packets in sequence according to the remaining time of the N data packets.
  • the allocating unit 602 is configured to determine a priority of each data packet according to a remaining time interval in which the remaining time of each of the N data packets is located, and according to the foregoing, The priority of the N data packets is from high to low, and the uplink resources are allocated to the K data packets in turn.
  • the allocating unit 602 adopts a logical channel priority according to a priority of the logical channel where the multiple data packets are located.
  • the LCP process allocates the uplink resource for the multiple data packets.
  • the allocating unit 602 is configured to update a priority of the M logical channels according to a minimum remaining time of a data packet buffered in each of the M logical channels, and according to the updated The priority of the M logical channels, the logical channel priority LCP process is used to allocate the uplink resources to the K data packets, and the smaller the minimum remaining time, the higher the priority of the logical channels, the M
  • the logical channel is a logical channel for buffering the N data packets, M ⁇ 2, and M is an integer.
  • the allocating unit 602 is configured to determine a priority offset value of each logical channel according to a minimum remaining time of a data packet buffered by each of the M logical channels, and according to the The priority offset values of the M logical channels update the priorities of the M logical channels, and according to the updated priorities of the M logical channels, adopt a logical channel priority LCP process, for the K data
  • the M logical channels allocated for the uplink resource are buffers for buffering the N data packets, M ⁇ 2, and M is an integer.
  • the allocating unit 602 is configured to adopt logic according to a total data volume of a data packet whose remaining time in each of the M logical channels is less than or equal to a preset first threshold.
  • the channel priority LCP process allocates the uplink resource to the K data packets, where the M logical channels are logical channels for buffering the N data packets, M ⁇ 2, and M is an integer.
  • the K data packets are data packets in the N data packets whose remaining time is less than or equal to a preset second threshold, K ⁇ N.
  • the allocating unit 602 is further configured to: if the uplink resource is still remaining after allocating the uplink resource for the K data packets, adopt a logical channel priority LCP process, where the N data packets are The remaining at least one data packet allocates the remaining uplink resources in the uplink resource.
  • the communication device provided by the present application can perform uplink resource allocation according to the remaining time of the data packet, and ensures that the data packet with less remaining time preferentially obtains resource allocation to a certain extent, thereby reducing the ratio of the timeout data packet.
  • a possible structural diagram of a terminal device includes a processor 201, a transceiver 204, a bus 203, and a memory 202.
  • the processor 201 can be a central processing unit (CPU), a general-purpose processor 201, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an on-site A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor 201 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the processor 201 transmits and receives signals to and from the network device through the transceiver 204.
  • the processor 201, the transceiver 204 and the memory 202 are mutually connected by a bus 203; the bus 203 may be a peripheral component interconnect (PCI) bus 203 or an extended industry standard architecture (EISA). Bus 203, etc.
  • the bus 203 can be divided into an address bus 203, a data bus 203, a control bus 203, and the like. For ease of representation, only one thick line is shown in FIG. 2, but it does not mean that there is only one bus 203 or one type of bus 203.
  • the memory 202 is configured to store program instructions
  • the processor 201 is configured to execute the program instruction when the terminal device is running, to control the transceiver 204 to receive uplink authorization information sent by the network device, and according to the N data packets to be sent. Remaining time, allocating uplink resources for K data packets in the N data packets, and controlling the transceiver 204 to send the K data packets to the network device on the uplink resource, where
  • the uplink grant information is used to indicate the uplink resource allocated to the terminal device, where N ⁇ K ⁇ 1, and K and N are integers.
  • the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: following the remaining of the N data packets.
  • the order of time is from small to large, and the uplink resources are allocated to the K data packets in turn.
  • the processor 201 allocates uplink resources to the K data packets in the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to the N data packets. Determining the priority of each of the data packets in the remaining time interval in which the remaining time of each data packet is located, and sequentially, according to the priority of the N data packets, the K data packets Allocating the uplink resource.
  • the processor 201 adopts a logical channel priority according to a priority of the logical channel where the multiple data packets are located.
  • the LCP process allocates the uplink resource for the multiple data packets.
  • the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels. Updating a priority of the M logical channels by using a minimum remaining time of the buffered data packet in the logical channel, and adopting a logical channel priority LCP process for the K according to the updated priorities of the M logical channels.
  • the data packet allocates the uplink resource, and the lower the minimum remaining time, the higher the priority of the logical channel, the M logical channels are logical channels for buffering the N data packets, M ⁇ 2, and M is an integer.
  • the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels.
  • the minimum remaining time of the logical channel buffered data packet determines a priority offset value of each of the logical channels, and updates a priority of the M logical channels according to a priority offset value of the M logical channels, and And assigning, by using the logical channel priority LCP process, the uplink resource, the M logical channels, to the logic for buffering the N data packets, according to the updated priorities of the M logical channels.
  • Channel, M ⁇ 2, M is an integer.
  • the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels. And the total data volume of the data packet in the logical channel is less than or equal to the preset first threshold value, and the uplink resource is allocated to the K data packets by using a logical channel priority LCP process, where the M The logical channels are logical channels for buffering the N data packets, M ⁇ 2, and M is an integer.
  • the K data packets are data packets in which all remaining time of the N data packets are less than or equal to a preset second threshold value, K ⁇ N; and the processor 201 is further configured to: After allocating the uplink resource for the K data packets, if there is any remaining uplink resource, the logical channel priority LCP process is used to allocate the uplink to at least one of the remaining N data packets. The remaining uplink resources in the resource.
  • the uplink resource allocation can be performed according to the remaining time of the data packet, and the data packet with less remaining time is preferentially obtained to the resource allocation, thereby reducing the ratio of the timeout data packet.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the ASIC can be located in a core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the data transmission method provided by the application.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the present application also provides a computer program product comprising instructions which, when executed on a computer, cause the computer to perform some or all of the steps of the various embodiments of the data transfer method provided herein.
  • the present application also provides a chip system including at least one chip capable of implementing some or all of the steps of the embodiments of the data transmission method provided by the present application when the chip system is in operation.

Landscapes

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

Abstract

The present application provides a data transmission method, which relates to the field of communication technology, and can reduce the ratio of timeout data packets. The method comprises: a terminal device receiving uplink authorization information sent by a network device, the uplink authorization information being used to indicate uplink resources allocated to the terminal device; according to the remaining time of N data packets to be sent, the terminal device allocating uplink resources to K data packets among the N data packets, N≥K≥1, K and N both being integers; and the terminal device sending the K data packets to the network device on the uplink resources.

Description

一种数据传输方法及装置Data transmission method and device
本申请要求在2018年2月14日提交中国专利局、申请号为201810152252.4、发明名称为“一种数据传输方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201101152252.4, entitled "A Data Transmission Method and Apparatus", filed on February 14, 2018, the entire disclosure of which is incorporated herein by reference. .
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据传输方法及装置。The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
背景技术Background technique
在长期演进(long term evolution,LTE)系统中,当用户设备(user equipment,UE)需要向基站发送数据包时,基站会根据该UE请求传输的数据量以及业务优先级为该UE分配上行资源,并通过下发上行授权(UL grant)信息进行指示。UE在接收到上行授权信息后,一般会基于基站分配的上行资源,根据逻辑信道优先级(logical channel prioritization,LCP)过程为缓存的数据包进行上行资源分配,具体过程如下:In a long term evolution (LTE) system, when a user equipment (UE) needs to send a data packet to a base station, the base station allocates an uplink resource to the UE according to the amount of data and the service priority that the UE requests to transmit. And instructing by issuing an uplink grant (UL grant) information. After receiving the uplink grant information, the UE generally allocates uplink resources according to the logical channel prioritization (LCP) process for the buffered data packets based on the uplink resources allocated by the base station. The specific process is as follows:
终端设备将各类业务待传输的数据包缓存在业务对应的逻辑信道中,当终端设备接收到上行授权信息之后,终端设备按照逻辑信道优先级(在LTE中,逻辑信道的优先级是由基站根据业务的优先级确定并配置给UE的)从高到低的顺序,先为高优先级的逻辑信道中的数据包分配上行资源,直到为该逻辑信道分配的上行资源满足该逻辑信道的优先比特率(prioritised bit rate,PBR),或者在满足PBR的条件下该上行授权信息所指示的上行资源被分配完为止。在完成对高优先级逻辑信道的资源分配后,若还有剩余的上行资源,终端设备再为低一级优先级等级的逻辑信道中缓存的数据包分配资源。UE重复上述资源分配过程,直到所有的上行资源被分配完,或者所有缓存了数据包的逻辑信道都完成资源分配,并按照资源分配结果向基站发送相应的数据包。The terminal device caches the data packets to be transmitted in the service type in the logical channel corresponding to the service. After the terminal device receives the uplink authorization information, the terminal device follows the logical channel priority. In LTE, the priority of the logical channel is determined by the base station. Allocating uplink resources to data packets in the high priority logical channel according to the priority of the service and determining the high-to-low order of the UE, until the uplink resource allocated for the logical channel satisfies the priority of the logical channel The bit rate (prioritised bit rate (PBR), or the uplink resource indicated by the uplink grant information is allocated when the condition of the PBR is satisfied. After the resource allocation to the high priority logical channel is completed, if there are remaining uplink resources, the terminal device allocates resources for the data packets buffered in the logical channel of the lower priority level. The UE repeats the foregoing resource allocation process until all uplink resources are allocated, or all logical channels that buffer the data packets complete resource allocation, and send corresponding data packets to the base station according to the resource allocation result.
然而,在上述LCP过程中,可能由于逻辑信道的PBR限制导致部分剩余时间较短的数据包无法分配到资源,或者由于高优先级的逻辑信道中的数据包将上行资源全部占用,导致低优先级的逻辑信道中的剩余时间较短的数据包无法分配到资源,从而造成这些剩余时间较短的数据包超时,难以保证高可靠性业务的性能指标。However, in the above LCP process, a packet with a short remaining time may not be allocated to a resource due to a PBR limitation of the logical channel, or a low priority may be caused by a packet in a high-priority logical channel occupying all the uplink resources. Packets with shorter remaining time in the logical channel of the level cannot be allocated to resources, which causes these packets with shorter remaining time to time out, and it is difficult to guarantee performance indicators of high reliability services.
发明内容Summary of the invention
本申请提供一种数据传输方法及装置,能够降低超时数据包的比率。The present application provides a data transmission method and apparatus capable of reducing the ratio of timeout packets.
第一方面,本申请提供一种数据传输方法,包括:终端设备接收网络设备发送的上行授权信息,上行授权信息用于指示分配给终端设备的上行资源;终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,N≥K≥1,K、N均为整数;终端设备在上行资源上向网络设备发送K个数据包。In a first aspect, the application provides a data transmission method, including: receiving, by a terminal device, uplink authorization information sent by a network device, where uplink authorization information is used to indicate an uplink resource allocated to the terminal device; and the terminal device is configured according to the N data packets to be sent. For the remaining time, an uplink resource is allocated for K data packets in N data packets, N≥K≥1, and K and N are integers; the terminal device sends K data packets to the network device on the uplink resource.
采用本申请提供的数据传输方法,终端设备可以基于数据包的剩余时间进行上行资源分配,在一定程度上保证了剩余时间较小的数据包优先得到资源分配,从而降低了超时数据包的比率。With the data transmission method provided by the present application, the terminal device can perform uplink resource allocation based on the remaining time of the data packet, and to a certain extent, ensure that the data packet with less remaining time has priority to obtain resource allocation, thereby reducing the ratio of the timeout data packet.
可选的,终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,包括:终端设备按照N个数据包的剩余时间从小到大的顺序,依次为K个数据包分配上行资源。Optionally, the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device follows the sequence of the remaining time of the N data packets from small to large. , in turn, allocate uplink resources for K packets.
采用该可选的方式,终端设备可以根据N个数据包的剩余时间从小到大的顺序,进行上行资源分配,以保证N个数据包中剩余时间相对较小的K个数据包优先得到上行资源分配,从而降低了N个数据包中超时数据包的比率。In this optional manner, the terminal device may perform uplink resource allocation according to the remaining time of the N data packets from small to large, so as to ensure that the K data packets with relatively small remaining time in the N data packets have priority to obtain uplink resources. Allocation, which reduces the ratio of timeout packets in N packets.
可选的,终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,包括:终端设备根据N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定每个数据包的优先级;终端设备按照N个数据包的优先级从高到低的顺序,依次为K个数据包分配上行资源。Optionally, the terminal device allocates uplink resources for the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device according to the remaining of each data packet in the N data packets. The remaining time interval in which the time is located determines the priority of each data packet; the terminal device allocates uplink resources for K data packets in order from the highest to the lowest priority of the N data packets.
采用该可选的方式,终端设备可优先为优先级等级高的数据包分配上行资源,以实现对剩余时间较短的数据包优先分配上行资源,从而降低了N个数据包中超时数据包的比率。In this optional manner, the terminal device can preferentially allocate uplink resources to the data packets with high priority level, so as to preferentially allocate uplink resources to the data packets with shorter remaining time, thereby reducing the timeout data packets in the N data packets. ratio.
可选的,当K个数据包中的多个数据包的剩余时间或者优先级相同时,终端设备按照多个数据包所在逻辑信道的优先级从高到低的顺序依次为多个数据包分配上行资源。Optionally, when the remaining time or the priority of the multiple data packets in the K data packets are the same, the terminal device allocates multiple data packets in descending order of the priority of the logical channels where the multiple data packets are located. Upstream resources.
可选的,终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,包括:终端设备根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新M个逻辑信道的优先级,最小剩余时间越小的逻辑信道的优先级越高,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数;终端设备根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源。Optionally, the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels. The minimum remaining time of the data packet updates the priority of the M logical channels. The smaller the minimum remaining time, the higher the priority of the logical channel, and the M logical channels are the logical channels for buffering N data packets, M≥2, M is The integer device uses the logical channel priority LCP process to allocate uplink resources for K data packets according to the priority of the updated M logical channels.
可选的,终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,包括:终端设备根据M个逻辑信道中的每个逻辑信道缓存的数据包的剩余时间确定每个逻辑信道的优先级偏移值,并根据M个逻辑信道的优先级偏移值更新M个逻辑信道的优先级,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数;终端设备根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源。Optionally, the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels. The remaining time of the data packet determines the priority offset value of each logical channel, and updates the priority of the M logical channels according to the priority offset values of the M logical channels, and the M logical channels are logic for buffering N data packets. The channel, M ≥ 2, M is an integer; the terminal device uses the logical channel priority LCP process according to the priority of the updated M logical channels to allocate uplink resources for K data packets.
采用上述两种可选的方式,能够基于逻辑信道中缓存的数据包的剩余时间,灵活调整逻辑信道的优先级,提高缓存了剩余时间较小的数据包的逻辑信道的优先级,以使得逻辑信道缓存的剩余时间较小的数据包能够在一定程度上提前得到上行资源分配。The above two alternative manners can flexibly adjust the priority of the logical channel based on the remaining time of the buffered data packet in the logical channel, and improve the priority of the logical channel buffered by the data packet with less remaining time, so that the logic A packet with a smaller remaining time of the channel buffer can obtain uplink resource allocation to a certain extent in advance.
可选的,终端设备根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,包括:终端设备根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the terminal device allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including: the terminal device caches according to each of the M logical channels. The remaining data time is less than or equal to the total data amount of the data packet of the preset first threshold value, and the logical channel priority LCP process is used to allocate uplink resources for K data packets, and the M logical channels are buffered for N data packets. Logical channel, M≥2, M is an integer.
采用该可选的方式,能够避免在上行资源充足的情况下,由于逻辑信道的PBR值的限制,导致逻辑信道中部分剩余时间较小的数据包无法得到上行资源分配。从而降低了每个逻辑信道中缓存的超时数据包的比率。With this optional mode, it is possible to avoid that the uplink resource allocation cannot be obtained for a packet with a small remaining time in the logical channel due to the limitation of the PBR value of the logical channel when the uplink resource is sufficient. This reduces the ratio of timeout packets buffered in each logical channel.
可选的,K个数据包为N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;若终端设备在为K个数据包分配上行资源之后,上行资源还有剩余,方法还包括:终端设备采用逻辑信道优先级LCP过程,为N个数据包中剩余的至少一个数据包分配上行资源中剩余的上行资源。Optionally, the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K<N; if the terminal device allocates uplink resources for the K data packets, The method further includes: the terminal device adopts a logical channel priority LCP process, and allocates the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
第二方面,本申请提供一种通信装置,包括:接收单元,用于接收网络设备发送的上行授权信息,上行授权信息用于指示分配给通信装置的上行资源;分配单元,用于根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,N≥K≥1,K、N均为整数;发送单元,用于在上行资源上向网络设备发送K个数据包。In a second aspect, the application provides a communication device, including: a receiving unit, configured to receive uplink grant information sent by a network device, where uplink grant information is used to indicate an uplink resource allocated to the communications device, and an allocating unit, configured to send For the remaining time of the N data packets, an uplink resource is allocated for the K data packets of the N data packets, N≥K≥1, and K and N are integers; the sending unit is configured to send the uplink resource to the network device. K packets.
可选的,分配单元,具体用于按照N个数据包的剩余时间从小到大的顺序,依次为K个数据包分配上行资源。Optionally, the allocating unit is configured to allocate uplink resources to the K data packets in order according to the remaining time of the N data packets.
可选的,分配单元,具体用于根据N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定每个数据包的优先级,并按照N个数据包的优先级从高到低的顺序,依次为K个数据包分配上行资源。Optionally, the allocating unit is specifically configured to determine a priority of each data packet according to a remaining time interval in which the remaining time of each of the N data packets is located, and according to a priority of the N data packets In the low order, uplink resources are allocated for K packets in turn.
可选的,当K个数据包中的多个数据包的剩余时间或者优先级相同时,分配单元按照多个数据包所在逻辑信道的优先级从高到低的顺序依次为多个数据包分配上行资源。Optionally, when the remaining time or priority of the multiple data packets in the K data packets is the same, the allocating unit allocates multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Upstream resources.
可选的,分配单元,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新M个逻辑信道的优先级,并根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源,最小剩余时间越小的逻辑信道的优先级越高,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit is configured to update the priority of the M logical channels according to the minimum remaining time of the data packet buffered in each of the M logical channels, and according to the priority of the updated M logical channels. The logical channel priority LCP process is used to allocate uplink resources for K data packets. The smaller the minimum remaining time, the higher the priority of the logical channel, and the M logical channels are the logical channels for buffering N data packets, M≥2 , M is an integer.
可选的,分配单元,具体用于根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定每个逻辑信道的优先级偏移值,并根据M个逻辑信道的优先级偏移值更新M个逻辑信道的优先级,以及根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit is configured to determine a priority offset value of each logical channel according to a minimum remaining time of the data packet buffered by each of the M logical channels, and according to priority of the M logical channels. The offset value updates the priority of the M logical channels, and according to the priorities of the updated M logical channels, uses the logical channel priority LCP process to allocate uplink resources to K data packets to buffer N data. The logical channel of the packet, M ≥ 2, M is an integer.
可选的,分配单元,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit is configured to adopt a logical channel priority according to a total data volume of a data packet whose remaining time in each of the M logical channels is less than or equal to a preset first threshold. In the LCP process, uplink resources are allocated for K data packets, and M logical channels are logical channels for buffering N data packets, M≥2, and M is an integer.
可选的,K个数据包为N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;分配单元,还用于若在为K个数据包分配上行资源之后,上行资源还有剩余,则采用逻辑信道优先级LCP过程,为N个数据包中剩余的至少一个数据包分配上行资源中剩余的上行资源。Optionally, the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K<N; the allocation unit is also used to allocate the data packets for the K packets. After the uplink resource, if there is any remaining uplink resource, the logical channel priority LCP process is used to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
本申请提供的通信装置的技术效果可以参见上述第一方面或第一方面的各个实现方式的技术效果,此处不再赘述。For technical effects of the communication device provided by the present application, refer to the technical effects of the foregoing first aspect or the implementation manner of the first aspect, and details are not described herein again.
第三方面,本申请提供一种终端设备,包括:处理器、存储器、总线以及收发器,处理器通过总线与存储器和收发器连接;存储器,用于存储程序指令;处理器,用于在终端设备运行时,执行程序指令,以控制收发器接收网络设备发送的上行授权信息,并根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,以及控制收发器在上行资源上向网络设备发送K个数据包,其中,上行授权信息用于指示分配给终端设备的上行资源,N≥K≥1,K、N均为整数。In a third aspect, the application provides a terminal device, including: a processor, a memory, a bus, and a transceiver, wherein the processor is connected to the memory and the transceiver through a bus; the memory is configured to store program instructions; and the processor is configured to be in the terminal. When the device is running, executing program instructions to control the transceiver to receive the uplink authorization information sent by the network device, and allocate uplink resources for the K data packets in the N data packets according to the remaining time of the N data packets to be sent, and The control transceiver sends K data packets to the network device on the uplink resource, where the uplink grant information is used to indicate the uplink resource allocated to the terminal device, where N≥K≥1, and K and N are integers.
可选的,处理器根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,具体包括:按照N个数据包的剩余时间从小到大的顺序,依次为K个数据包分配上行资源。Optionally, the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, where the following includes: according to the remaining time of the N data packets, from small to large. Allocate uplink resources for K packets in turn.
可选的,处理器根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包 分配上行资源,具体包括:根据N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定每个数据包的优先级,并按照N个数据包的优先级从高到低的顺序,依次为K个数据包分配上行资源。Optionally, the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: remaining time according to each data packet in the N data packets. The remaining time interval is determined, and the priority of each data packet is determined, and the uplink resources are allocated for K data packets in order according to the priority of the N data packets from high to low.
可选的,当K个数据包中的多个数据包的剩余时间或者优先级相同时,处理器按照多个数据包所在逻辑信道的优先级从高到低的顺序依次为多个数据包分配上行资源。Optionally, when the remaining time or priority of the multiple data packets in the K data packets is the same, the processor allocates multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Upstream resources.
可选的,处理器根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新M个逻辑信道的优先级,并根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源,最小剩余时间越小的逻辑信道的优先级越高,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: buffering according to each of the M logical channels. The minimum remaining time of the data packet updates the priority of the M logical channels, and uses the logical channel priority LCP process to allocate uplink resources for K data packets according to the priority of the updated M logical channels, and the minimum remaining time is smaller. The higher the priority of the logical channel, the M logical channels are logical channels for buffering N data packets, M≥2, and M is an integer.
可选的,处理器根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定每个逻辑信道的优先级偏移值,并根据M个逻辑信道的优先级偏移值更新M个逻辑信道的优先级,以及根据更新后的M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: data buffered according to each of the M logical channels. The minimum remaining time of the packet determines a priority offset value of each logical channel, and updates the priority of the M logical channels according to the priority offset values of the M logical channels, and according to the priority of the updated M logical channels The logical channel priority LCP process is used to allocate uplink resources to K data packets. The M logical channels are logical channels for buffering N data packets, M≥2, and M is an integer.
可选的,处理器根据待发送的N个数据包的剩余时间,为N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源,M个逻辑信道为缓存N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: buffering according to each of the M logical channels. The total data amount of the data packet whose remaining time is less than or equal to the preset first threshold value, uses the logical channel priority LCP process to allocate uplink resources for K data packets, and M logical channels are logic for buffering N data packets. Channel, M≥2, M is an integer.
可选的,K个数据包为N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;处理器,还用于若在为K个数据包分配上行资源之后,上行资源还有剩余,则采用逻辑信道优先级LCP过程,为N个数据包中剩余的至少一个数据包分配上行资源中剩余的上行资源。Optionally, the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold value, K<N; the processor is also used to allocate the data packets for the K packets. After the uplink resource, if there is any remaining uplink resource, the logical channel priority LCP process is used to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
本申请提供的终端设备的技术效果可以参见上述第一方面或第一方面的各个实现方式的技术效果,此处不再赘述。For technical effects of the terminal device provided by the present application, refer to the technical effects of the foregoing first aspect or the implementation manner of the first aspect, and details are not described herein again.
第四方面,本申请提供一种计算机存储介质,计算机存储介质中存储有指令,当指令在计算机上运行时,使得计算机实现如第一方面或第一方面的可选方式所述的数据传输方法。In a fourth aspect, the present application provides a computer storage medium storing instructions in a computer storage medium, and when the instructions are run on a computer, causing the computer to implement the data transmission method according to the first aspect or the optional aspect of the first aspect .
第五方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机实现如第一方面或第一方面的可选方式所述的数据传输方法。In a fifth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to implement the data transfer method as described in the first aspect or the alternative aspect of the first aspect.
第六方面,本申请提供一种芯片系统,所述芯片系统中包含至少一个芯片,当该芯片系统运行时,能够实现如第一方面或第一方面的可选方式所述的数据传输方法。In a sixth aspect, the present application provides a chip system including at least one chip, and when the chip system is in operation, the data transmission method according to the first aspect or the optional aspect of the first aspect can be implemented.
附图说明DRAWINGS
图1为本申请提供的一种通信系统的示意图;1 is a schematic diagram of a communication system provided by the present application;
图2为本申请提供的一种终端设备的结构示意图;2 is a schematic structural diagram of a terminal device provided by the present application;
图3为本申请提供的一种数据传输方法的一个实施例的流程图;3 is a flowchart of an embodiment of a data transmission method provided by the present application;
图4为本申请提供的一种数据包缓存的场景示意图;4 is a schematic diagram of a scenario of a data packet buffer provided by the present application;
图5为本申请提供的一种数据传输方法的另一个实施例的流程图;FIG. 5 is a flowchart of another embodiment of a data transmission method provided by the present application;
图6为本申请提供的一种通信装置的结构示意图。FIG. 6 is a schematic structural diagram of a communication apparatus provided by the present application.
具体实施方式Detailed ways
首先,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。First, the terms "system" and "network" are used interchangeably herein. In this paper, the term "and" is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and B, which may indicate that A exists separately, A and B exist simultaneously, and B exists separately. Happening. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
当本申请提及“第一”、“第二”、“第三”或者“第四”等序数词时,除非根据上下文其确实表达顺序之意,否则应当理解为仅仅是起区分之用。When the present application refers to ordinal numbers such as "first", "second", "third" or "fourth", unless it is intended to mean the order of the context, it should be understood as merely a distinction.
其次,本申请提供的数据传输方法可以适用于LTE系统,高级长期演进(LTE advanced,LTE-A),以及用LTE系统后续的演进系统,如第五代通信(5G)系统,新无线(new radio,NR)系统,下一代无线局域网系统,车到一切(vehicle to everything,V2X)系统等。Secondly, the data transmission method provided by the present application can be applied to an LTE system, an advanced long-term evolution (LTE-A), and an evolved system using an LTE system, such as a fifth-generation communication (5G) system, and a new wireless (new). Radio, NR) system, next-generation wireless LAN system, vehicle to everything (V2X) system.
示例性的,如图1所示,为本申请提供的一种通信系统的示意图,本申请提供的数据传输方法可以适用于任何包括至少一个网络设备和至少一个终端设备的通信系统中。其中,网络设备可以是基站(base station,BS)或者基站发送设备(base transceiver station,BTS),是一种部署在无线接入网中用以为终端设备提供无线通信功能的装置。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在LTE网络中,称为演进的节点B(evolved NodeB,eNB或者eNodeB),在第三代通信(3G)网络中,称为节点B(Node B),或者应用于第五代通信系统中的gNB等等。为方便描述,本申请中,上面提到的具备基站功能的设备统称为网络设备。For example, as shown in FIG. 1 , which is a schematic diagram of a communication system provided by the present application, the data transmission method provided by the present application can be applied to any communication system including at least one network device and at least one terminal device. The network device may be a base station (BS) or a base transceiver station (BTS), and is a device deployed in the radio access network to provide a wireless communication function for the terminal device. In systems using different radio access technologies, the names of devices with base station functions may be different, for example, in an LTE network, called an evolved NodeB (eNB or eNodeB), in the third generation. In a communication (3G) network, it is called a Node B, or is applied to a gNB in a fifth-generation communication system, and the like. For convenience of description, in the present application, the above-mentioned devices having the functions of the base station are collectively referred to as network devices.
本申请所涉及到的终端设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备、智能手机、智能手表、平板电脑或连接到无线调制解调器的其它处理设备,以及各种形式的用户设备(user equipment,UE)、移动台(mobile station,MS),终端(terminal)等等。为方便描述,本申请中,上面提到的设备统称为终端设备。The terminal device referred to in the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, smart phones, smart watches, tablets, or other processing devices connected to wireless modems, and A form of user equipment (UE), a mobile station (MS), a terminal, and the like. For convenience of description, in the present application, the above-mentioned devices are collectively referred to as terminal devices.
如图2所示,为本申请提供的一种终端设备,包括处理器201、存储器202、总线203以及收发器204等。As shown in FIG. 2, a terminal device provided by the present application includes a processor 201, a memory 202, a bus 203, a transceiver 204, and the like.
其中,处理器201是该终端设备的控制中心,利用各种接口和总线203连接整个终端设备的各个部分,通过运行或执行存储在存储器202内的软件程序和/或模块,以及调用存储在存储器202内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器201可以包括数字信号处理器设备、微处理器设备、模数转换器、数模转换器等等,这些设备能够根据各自的能力而分配终端设备的控制和信号处理功能。该收发器204可以是RF电路,可用于收发信息,并将接收到的信息给处理器201处理。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等,通过无线通信与网络与其他设备通信。其中,该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、CDMA、宽带码分多址(wideband code division multiple access,WCDMA)、LTE、Wi-Fi或者低功耗Wi-Fi,以及WLAN技术等。Wherein, the processor 201 is a control center of the terminal device, and connects various parts of the entire terminal device by using various interfaces and buses 203, by running or executing software programs and/or modules stored in the memory 202, and calling the storage in the memory. The data in 202 performs various functions and processing data of the terminal device, thereby performing overall monitoring on the terminal device. The processor 201 can include digital signal processor devices, microprocessor devices, analog to digital converters, digital to analog converters, and the like that can distribute the control and signal processing functions of the terminal devices in accordance with their respective capabilities. The transceiver 204 can be an RF circuit that can be used to transceive information and process the received information to the processor 201 for processing. Typically, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc., communicating with other devices over a network via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to a global system of mobile communication (GSM), a general packet radio service (GPRS), a CDMA, a wideband code division. Wideband code division multiple access (WCDMA), LTE, Wi-Fi or low-power Wi-Fi, and WLAN technology.
基于如图1所示的通信系统,参见图3所示,为本申请提供的一种数据传输方法的一个实施例的流程图,该方法包括:FIG. 3 is a flowchart of an embodiment of a data transmission method provided by the present application, where the method includes:
步骤301,终端设备接收网络设备发送的上行授权信息。Step 301: The terminal device receives uplink authorization information sent by the network device.
其中,上行授权信息用于指示分配给该终端设备的上行资源。The uplink grant information is used to indicate an uplink resource allocated to the terminal device.
步骤302,终端设备根据待发送的N个数据包的剩余时间,为该N个数据包中的K个数据包分配该上行资源,N≥K≥1,K、N均为整数。Step 302: The terminal device allocates the uplink resource to the K data packets in the N data packets according to the remaining time of the N data packets to be sent, where N≥K≥1, where K and N are integers.
其中,数据包的剩余时间信息用于指示该终端设备需要在剩余时间结束前完成该数据包的发送。数据包的剩余时间可以从该数据包在分组数据汇聚(packet data convergence protocol,PDCP)层关联的定时器获得,或者在无线链路控制(radio link control,RLC)层关联的定时器获得,所述终端设备需要在剩余时间结束前完成该数据包的发送即表示终端设备需要在关联定时器超时前完成该数据包的发送。The remaining time information of the data packet is used to indicate that the terminal device needs to complete the sending of the data packet before the end of the remaining time. The remaining time of the data packet may be obtained from a timer associated with the packet data convergence protocol (PDCP) layer, or obtained by a timer associated with a radio link control (RLC) layer. The terminal device needs to complete the sending of the data packet before the end of the remaining time, that is, the terminal device needs to complete the sending of the data packet before the association timer expires.
步骤303,终端设备在该上行资源上向网络设备发送该K个数据包。Step 303: The terminal device sends the K data packets to the network device on the uplink resource.
可以理解的是,若终端设备获得的上行资源充足,则终端设备可以根据剩余时间为N(即K=N时)个数据包分配上行资源。若终端设备获得上行资源有限,支持终端设备最多为N个数据包中的K(即K<N时)个数据包分配上行资源,那么该K个数据包则为该N个数据包中剩余时间相对较小的数据包。It can be understood that, if the uplink resources obtained by the terminal device are sufficient, the terminal device may allocate uplink resources according to the data packets with the remaining time being N (ie, K=N). If the terminal device obtains uplink resources is limited, and the supporting terminal device allocates uplink resources for at most K (ie, K<N) packets in the N data packets, the K data packets are the remaining time in the N data packets. Relatively small packets.
也就是说,在本申请中,终端设备通过根据待发送的N个数据包的剩余时间进行上行资源分配,可以保证该N个数据包中剩余时间相对较小的K个数据包能够优先得到上行资源分配并及时发送,从而避免该K个数据包超时。尤其是在上行资源有限的情况下,能够保证该N个数据包中一定程度上的剩余时间较小的数据包被优先发送,从而降低这N个数据包中超时数据包的比率。That is to say, in the present application, the terminal device performs uplink resource allocation according to the remaining time of the N data packets to be sent, so that K packets with relatively small remaining time in the N data packets can be preferentially obtained. The resources are allocated and sent in time to avoid the K packets being timed out. In particular, in the case where the uplink resources are limited, it is possible to ensure that a certain amount of data packets with less remaining time in the N data packets are preferentially transmitted, thereby reducing the ratio of timeout data packets in the N data packets.
下面结合如下六个示例,对上述步骤302中,终端设备根据待发送的N个数据包的剩余时间,为该N个数据包中的K个数据包分配上行资源的具体实现方式进行示例性的说明。In the following, in combination with the following six examples, in the foregoing step 302, the terminal device performs an exemplary implementation manner of allocating uplink resources for K data packets in the N data packets according to the remaining time of the N data packets to be sent. Description.
示例一:终端设备可以按照该N个数据包的剩余时间从小到大的顺序,依次为K个数据包分配上行资源。即从剩余时间最小的数据包开始分配,优先为剩余时间最小的数据包分配上行资源,以保证剩余时间最小的数据包能够得到上行资源分配。在上行资源足够的情况下,再为剩余时间次小的数据包分配上行资源,直至该上行资源全部分配完或者该N个数据包均得到上行资源分配。Example 1: The terminal device may allocate uplink resources for K data packets in order according to the remaining time of the N data packets from small to large. That is, the allocation is started from the data packet with the smallest remaining time, and the uplink resource is preferentially allocated for the data packet with the smallest remaining time, so as to ensure that the data packet with the smallest remaining time can obtain the uplink resource allocation. When the uplink resources are sufficient, the uplink resources are allocated to the data packets with the remaining time, until the uplink resources are all allocated or the N data packets are allocated uplink resources.
当K个数据包中的多个数据包的剩余时间相同时,终端设备可以按照随机的先后顺序依次为该多个数据包分配上行资源。When the remaining times of the multiple data packets in the K data packets are the same, the terminal device may allocate uplink resources to the multiple data packets in a random sequence.
可选的,终端设备也可以按照该多个数据包所在逻辑信道的优先级从高到低的顺序,依次为该多个数据包分配上行资源。具体地说,即当多个数据包的剩余时间相同时,数据包所在逻辑信道的优先级越高,该数据包优先得到上行资源分配。同一逻辑信道中剩余时间相同的数据包则按照随机的先后顺序依次分配。Optionally, the terminal device may also allocate uplink resources to the multiple data packets in descending order of priority of the logical channels where the multiple data packets are located. Specifically, when the remaining time of the plurality of data packets is the same, the higher the priority of the logical channel where the data packet is located, the data packet preferentially obtaining the uplink resource allocation. Packets with the same remaining time in the same logical channel are sequentially allocated in random order.
示例性的,如图4所示,终端设备的4个逻辑信道中缓存了8个待发送的数据包,其中,逻辑信道A的优先级为1,缓存有数据包P1-P4,P1的剩余时间是0.1ms,P2的剩余时间是0.2ms,P3和P4的剩余时间为0.3ms。逻辑信道B的优先级为2,缓存有数据包P5-P7,P5和P6的剩余时间是0.1ms,P7的剩余时间为0.4ms。逻辑信道C的优先级为3,缓存有数据包P8,P8的剩余时间是0.3ms。逻辑信道D的优先级为4,缓存有数据包P9,P9的剩余时间是0.6ms。Exemplarily, as shown in FIG. 4, 8 data packets to be transmitted are buffered in 4 logical channels of the terminal device, wherein the logical channel A has a priority of 1, and the data packet P1-P4 is buffered, and the remaining P1 The time is 0.1ms, the remaining time of P2 is 0.2ms, and the remaining time of P3 and P4 is 0.3ms. The priority of logical channel B is 2, the data packet P5-P7 is buffered, the remaining time of P5 and P6 is 0.1 ms, and the remaining time of P7 is 0.4 ms. The priority of logical channel C is 3, the data packet P8 is buffered, and the remaining time of P8 is 0.3 ms. The priority of the logical channel D is 4, the buffer P9 is buffered, and the remaining time of P9 is 0.6 ms.
其中,剩余时间最小的数据包为P1、P5和P6,剩余时间均为0.1ms。当终端设备获 取到上行资源后,优先为数据包为P1、P5和P6分配上行资源。假设,在该示例中剩余时间相同的数据包按照数据包所在逻辑信道的优先级从高到低的顺序进行上行资源分配,那么,由于P1缓存在逻辑信道A中,P5和P6缓存在逻辑信道B中,而逻辑信道A的优先级高于逻辑信道B(以优先级的数值越小表示优先级越高的规则为例),因此终端设备优先为数据包P1分配上行资源。对于数据包P5和P6则可按照随机的先后顺序,例如先为数据包P5分配上行资源,再为数据包P6分配资源。The data packets with the smallest remaining time are P1, P5, and P6, and the remaining time is 0.1 ms. After the terminal device obtains the uplink resource, the uplink resource is preferentially allocated for the data packet P1, P5, and P6. It is assumed that in the example, the data packets with the same remaining time are allocated in the order of the highest priority of the logical channel where the data packet is located, then, since the P1 buffer is in the logical channel A, the P5 and P6 are buffered in the logical channel. In B, the priority of the logical channel A is higher than that of the logical channel B (the rule that the higher the priority value is, the higher the priority is, for example), so the terminal device preferentially allocates the uplink resource to the data packet P1. For the data packets P5 and P6, the uplink resources may be allocated in the random sequence, for example, the data packet P5 is allocated first, and then the data packet P6 is allocated.
当终端设备为剩余时间最小的数据包为P1、P5和P6分配了上行资源后,若上行资源充足,终端设备则可以从剩余时间次小的数据包P2开始,按照剩余时间从小到大的顺序,依次为数据包P2、P3、P4、P8、P7、P9分配上行资源。After the terminal device allocates uplink resources to the P1, P5, and P6 packets with the smallest remaining time, if the uplink resources are sufficient, the terminal device may start from the data packet P2 with the remaining time, according to the order of remaining time from small to large. , in turn, allocate uplink resources for data packets P2, P3, P4, P8, P7, and P9.
可以理解的是,若终端设备获得的上行资源有限,那么终端设备可以从数据包P1开始,按照剩余时间从小到大的顺序,为数据包P1、P5、P6、P2、P3、P4、P8、P7、P9中的前K(K<9)个数据包分配上行资源,以保证缓存的9个数据包中剩余时间相对较小的K个数据包优先得到上行资源分配,从而降低这9个数据包中超时数据包的比率。It can be understood that, if the uplink resources obtained by the terminal device are limited, the terminal device may start from the data packet P1, in the order of remaining time from small to large, for the data packets P1, P5, P6, P2, P3, P4, P8, The pre-K (K<9) data packets in P7 and P9 are allocated uplink resources to ensure that the K packets with relatively small remaining time among the 9 data packets in the buffer are preferentially allocated uplink resources, thereby reducing the 9 data. The ratio of timeout packets in the packet.
示例二:终端设备可以先根据该N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定每个数据包的优先级。然后按照该N个数据包的优先级从高到低的顺序,依次为K个数据包分配上行资源。Example 2: The terminal device may first determine the priority of each data packet according to the remaining time interval in which the remaining time of each of the N data packets is located. Then, according to the order of priority of the N data packets from high to low, uplink resources are allocated for K data packets in turn.
当K个数据包中的多个数据包的优先级相同时,终端设备可以按照随机的先后顺序依次为该多个数据包分配上行资源。或者按照该多个数据包所在逻辑信道的优先级从高到低的顺序,依次为该多个数据包分配上行资源。When the priorities of the multiple data packets in the K data packets are the same, the terminal device may allocate uplink resources to the multiple data packets in a random sequence. Or, according to the priority of the logical channels where the multiple data packets are located, the uplink resources are allocated to the multiple data packets in sequence.
在该示例中,网络设备可以通过系统消息、专用RRC消息或者其他预定的消息,为终端设备设置剩余时间区间与数据包的优先级之间的映射关系,以使得终端设备在获取到上行资源后,能够基于该映射关系,根据每个数据包的剩余时间,计算每个数据包的优先级。数据包的剩余时间所在剩余时间区间中包含的数值越小的数据包的优先级越高。In this example, the network device may set a mapping relationship between the remaining time interval and the priority of the data packet for the terminal device by using a system message, a dedicated RRC message, or other predetermined message, so that the terminal device obtains the uplink resource. Based on the mapping relationship, the priority of each data packet can be calculated according to the remaining time of each data packet. The smaller the value contained in the remaining time interval of the remaining time of the packet, the higher the priority of the packet.
示例性的,假设剩余时间区间与数据包的优先级之间的映射关系为:数据包的剩余时间所在剩余时间区间为(0,0.2],数据包的优先级为1;数据包的剩余时间所在剩余时间区间为(0.2,0.5],数据包的优先级为2;数据包的剩余时间所在剩余时间区间为(0.5,+∞),数据包的优先级为3。Exemplarily, the mapping relationship between the remaining time interval and the priority of the data packet is as follows: the remaining time interval of the remaining time of the data packet is (0, 0.2), the priority of the data packet is 1; the remaining time of the data packet The remaining time interval is (0.2, 0.5), and the priority of the data packet is 2; the remaining time interval of the remaining time of the data packet is (0.5, +∞), and the priority of the data packet is 3.
基于如图4所示的示例,当终端设备获取到上行资源后,根据该映射关系确定数据包P1、P2、P5、P6的优先级为1,数据包P4、P8、P7的优先级为2,数据包P9的优先级为3。进而终端设备可以基于获取到的上行资源的资源量,按照数据包P1-P9的优先级从高到低的顺序,先为优先级为1的数据包P1、P2、P5、P6分配上行资源,再为优先级为2的数据包P4、P8、P7分配上行资源,最后再为数据包P9分配上行资源。Based on the example shown in FIG. 4, after the terminal device acquires the uplink resource, the priority of the data packets P1, P2, P5, and P6 is determined according to the mapping relationship, and the priority of the data packets P4, P8, and P7 is 2. The priority of packet P9 is 3. Further, the terminal device may allocate uplink resources to the data packets P1, P2, P5, and P6 with priority 1 according to the obtained resource resources of the uplink resources according to the priority of the data packets P1-P9 from high to low. The uplink resources are allocated to the data packets P4, P8, and P7 of the priority level 2, and finally the uplink resources are allocated to the data packet P9.
假设在该示例中,终端按照数据包所在逻辑信道的优先级从高到低的顺序为同一优先级的多个数据包分配上行资源。以优先级为1的数据包P1、P2、P5、P6为例,由于缓存数据包P1和P2的逻辑信道A的优先级,高于缓存数据包P5和P6的逻辑信道B的优先级,因此,终端设备可以先为数据包P1和P2分配上行资源,再为数据包P5和P6。其中,数据包P1和P2之间的先后顺序,以及数据包P5和P6之间的先后顺序可以随机。It is assumed that in this example, the terminal allocates uplink resources for a plurality of data packets of the same priority in descending order of priority of the logical channel in which the data packets are located. Taking the packets P1, P2, P5, and P6 of priority 1 as an example, since the priority of the logical channel A of the buffered data packets P1 and P2 is higher than the priority of the logical channel B of the buffered data packets P5 and P6, The terminal device may first allocate uplink resources for the data packets P1 and P2, and then the data packets P5 and P6. The order between the data packets P1 and P2 and the order between the data packets P5 and P6 may be random.
那么,按照示例二所提供的方式,上行资源分配先后顺序为数据包P1、P2、P5、P6、P4、P8、P7、P9。若终端设备获得的上行资源有限,那么终端设备可以从数据包P1开始, 按照数据包的优先级从高到低的顺序,为数据包P1、P2、P5、P6、P4、P8、P7、P9中的前K(K<9)个数据包分配上行资源,以保证缓存的9个数据包中优先级相对较高的K个数据包优先得到上行资源分配,从而保证缓存的9个数据包中剩余时间相对较小的K个数据包优先得到上行资源分配,从而降低这9个数据包中超时数据包的比率。Then, according to the method provided in the second example, the uplink resource allocation sequence is the data packets P1, P2, P5, P6, P4, P8, P7, and P9. If the uplink resources obtained by the terminal device are limited, the terminal device may start from the data packet P1 according to the priority of the data packet from high to low, and the data packets are P1, P2, P5, P6, P4, P8, P7, and P9. The first K (K<9) data packets in the middle are allocated uplink resources, so as to ensure that the K packets with relatively high priority among the 9 data packets in the cache get the uplink resource allocation preferentially, thereby ensuring the cached 9 data packets. The K packets with relatively small remaining time get the uplink resource allocation preferentially, thereby reducing the ratio of timeout packets in the 9 data packets.
需要说明的是,终端设备在每次获取到上行资源后,都需要重新统计每个数据包的剩余时间,并重新确定数据包的优先级。也就是说,若缓存在逻辑信道中的数据包,在第一次数据传输过程中,未分配到上行资源,那么在下一次数据传输时,终端需要重新确定该数据包的优先级。It should be noted that after acquiring the uplink resource each time, the terminal device needs to re-count the remaining time of each data packet and re-determine the priority of the data packet. That is to say, if the data packet buffered in the logical channel is not allocated to the uplink resource during the first data transmission, the terminal needs to re-determine the priority of the data packet in the next data transmission.
示例三:终端设备可以根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新M个逻辑信道的优先级,最小剩余时间越小的逻辑信道的优先级越高,M个逻辑信道为缓存N个数据包的逻辑信道。然后根据更新后的M个逻辑信道的优先级,采用LCP过程,为K个数据包分配上行资源。Example 3: The terminal device may update the priority of the M logical channels according to the minimum remaining time of the data packet buffered in each of the M logical channels, and the smaller the minimum remaining time, the higher the priority of the logical channel, M The logical channels are logical channels that buffer N packets. Then, according to the priority of the updated M logical channels, the LCP process is used to allocate uplink resources for K data packets.
其中,LCP过程包括终端设备根据各个逻辑信道的优先级,以及允许为每个逻辑信道分配的最大资源量(现有技术中通过PBR值来指示该最大资源量)进行上行资源分配。即终端设备按照逻辑信道优先级从高到低的顺序,先为高优先级的逻辑信道中的数据包分配上行资源,直到为该逻辑信道分配的上行资源满足该逻辑信道的最大资源量,再为低一优先级等级的逻辑信道分配资源。上述过程持续进行直到上行资源被分配完为止,或者所有逻辑信道分配的上行资源满足其最大资源量;当所有逻辑信道分配的上行资源满足其最大资源量时,还有剩余上行资源,则按照逻辑信道优先级由高到低的顺序为逻辑信道中的数据包分配上行资源。The LCP process includes the terminal device performing uplink resource allocation according to the priority of each logical channel and the maximum resource amount allowed to be allocated for each logical channel (the maximum resource amount is indicated by the PBR value in the prior art). That is, the terminal device allocates uplink resources to the data packets in the high priority logical channel in the order of the logical channel priority from high to low, until the uplink resource allocated for the logical channel satisfies the maximum resource amount of the logical channel, and then Allocate resources for logical channels with a lower priority level. The foregoing process continues until the uplink resources are allocated, or the uplink resources allocated by all the logical channels satisfy the maximum resource amount; when all the uplink resources allocated by the logical channel satisfy the maximum resource amount, and there are remaining uplink resources, according to the logic The channel priority is assigned in the order of high to low for allocating uplink resources for packets in the logical channel.
在该示例中,网络设备可以通过系统消息或者专用RRC消息,为终端设备设置逻辑信道中缓存的数据包的最小剩余时间与逻辑信道的优先级之间的映射关系,使得终端设备在获取到上行资源后,能够基于该映射关系,动态调整该M个逻辑信道的优先级。In this example, the network device can set the mapping relationship between the minimum remaining time of the data packet buffered in the logical channel and the priority of the logical channel for the terminal device by using the system message or the dedicated RRC message, so that the terminal device obtains the uplink. After the resource, the priority of the M logical channels can be dynamically adjusted based on the mapping relationship.
示例性的,以优先级的数值越小表示优先级越高的规则为例,假设,逻辑信道中缓存的数据包的最小剩余时间与逻辑信道的优先级之间的映射关系为:若逻辑信道中缓存的数据包的最小剩余时间在0ms-0.2ms内,则该逻辑信道的优先级为1;若逻辑信道中缓存的数据包的最小剩余时间在0.2ms-0.5ms内,则该逻辑信道的优先级为2;若逻辑信道中缓存的数据包的最小剩余时间在0.5ms-1.0ms,则该逻辑信道的优先级为3;若逻辑信道中缓存的数据包的最小剩余时间大于1.0ms,则该逻辑信道的优先级为4。Exemplarily, the smaller the priority value is, the higher the priority is. For example, the mapping between the minimum remaining time of the buffered data packet in the logical channel and the priority of the logical channel is: if the logical channel The minimum remaining time of the buffered data packet is within 0ms-0.2ms, then the priority of the logical channel is 1; if the minimum remaining time of the buffered data packet in the logical channel is within 0.2ms-0.5ms, the logical channel The priority of the packet is 2; if the minimum remaining time of the buffered packet in the logical channel is 0.5ms-1.0ms, the priority of the logical channel is 3; if the minimum remaining time of the buffered packet in the logical channel is greater than 1.0ms , the logical channel has a priority of 4.
基于如图4所示的示例,逻辑信道A和逻辑信道B中缓存的数据包的最小剩余时间为0.1ms,逻辑信道C中缓存的数据包的最小剩余时间为0.5ms,逻辑信道D中缓存的数据包的最小剩余时间为0.6ms。那么,根据该映射关系,逻辑信道A、逻辑信道C和逻辑信道D的优先级更新为原有数值(即优先级保持不变)。而由于逻辑信道B中缓存的数据包的最小剩余时间0.1ms在0ms-0.2ms内,因此,逻辑信道B的优先级从原本的数值2更新为1。Based on the example shown in FIG. 4, the minimum remaining time of the data packet buffered in logical channel A and logical channel B is 0.1 ms, and the minimum remaining time of the data packet buffered in logical channel C is 0.5 ms, which is buffered in logical channel D. The minimum remaining time of the packet is 0.6ms. Then, according to the mapping relationship, the priorities of the logical channel A, the logical channel C, and the logical channel D are updated to the original values (ie, the priority remains unchanged). Since the minimum remaining time of the data packet buffered in the logical channel B is 0.1 ms within 0 ms-0.2 ms, the priority of the logical channel B is updated from the original value 2 to 1.
更新后,终端设备根据更新后的逻辑信道A-D的优先级,采用LCP过程,先为逻辑信道A和B中缓存的数据包分配上资源,再为逻辑信道C中缓存的数据包分配上资源,最后为逻辑信道D中缓存的数据包分配上资源。After the update, the terminal device uses the LCP process according to the priority of the updated logical channel AD, first allocates resources for the data packets buffered in the logical channels A and B, and then allocates resources for the data packets buffered in the logical channel C. Finally, resources are allocated for the data packets buffered in the logical channel D.
也就是说,终端设备逻辑信道B中缓存的数据包的最小剩余时间,临时提高了逻辑信道B的优先级等级,使得逻辑信道B与逻辑信道A具有相同的优先级,因此,逻辑信道B 和逻辑信道A中缓存的数据包具有相同的机会被调度。从而避免了在上行资源有限的情况下,终端设备由于优先为逻辑信道A中缓存的数据包分配上行资源,而导致逻辑信道B中剩余时间较小的数据包无法及时得到资源分配。That is to say, the minimum remaining time of the data packet buffered in the logical channel B of the terminal device temporarily increases the priority level of the logical channel B, so that the logical channel B has the same priority as the logical channel A, and therefore, the logical channel B and Packets buffered in logical channel A have the same opportunity to be scheduled. Therefore, in the case that the uplink resources are limited, the terminal device allocates uplink resources preferentially for the data packets buffered in the logical channel A, and the data packets with less remaining time in the logical channel B cannot be allocated resources in time.
示例四:终端设备根据M个逻辑信道中的每个逻辑信道缓存的数据包的剩余时间确定每个逻辑信道的优先级偏移值(priority delta),并根据M个逻辑信道的优先级偏移值更新M个逻辑信道的优先级,M个逻辑信道为缓存N个数据包的逻辑信道。然后根据更新后的M个逻辑信道的优先级,采用LCP过程,为K个数据包分配上行资源。Example 4: The terminal device determines a priority delta value of each logical channel according to the remaining time of the data packet buffered by each of the M logical channels, and according to the priority offset of the M logical channels The value updates the priority of the M logical channels, and the M logical channels are logical channels that buffer N data packets. Then, according to the priority of the updated M logical channels, the LCP process is used to allocate uplink resources for K data packets.
在该示例中,终端设备可以根据每个逻辑信道缓存的数据包的剩余时间,基于不同的映射规则,确定每个逻辑信道的优先级偏移值。In this example, the terminal device can determine the priority offset value of each logical channel based on different mapping rules according to the remaining time of the data packet buffered by each logical channel.
例如,终端设备可以基于逻辑信道中缓存的数据包的最小剩余时间与逻辑信道的优先级偏移值之间的映射关系,确定优先级偏移值。For example, the terminal device may determine the priority offset value based on a mapping relationship between a minimum remaining time of the buffered data packet in the logical channel and a priority offset value of the logical channel.
示例性的,假设逻辑信道中缓存的数据包的最小剩余时间与逻辑信道的优先级偏移值之间的映射关系为:若逻辑信道中缓存的数据包的最小剩余时间在0ms-0.2ms内,则优先级偏移值为△1;若逻辑信道中缓存的数据包的最小剩余时间在0.2ms-0.5ms内,则优先级偏移值为△2;若逻辑信道中缓存的数据包的最小剩余时间在0.5ms-1.0ms,则优先级偏移值为△3;若逻辑信道中缓存的数据包的最小剩余时间大于1.0ms,则优先级偏移值为△4。Exemplarily, the mapping relationship between the minimum remaining time of the data packet buffered in the logical channel and the priority offset value of the logical channel is as follows: if the minimum remaining time of the buffered data packet in the logical channel is within 0ms-0.2ms , the priority offset value is Δ1; if the minimum remaining time of the buffered data packet in the logical channel is within 0.2ms-0.5ms, the priority offset value is Δ2; if the logical channel buffers the data packet The minimum residual time is 0.5ms-1.0ms, then the priority offset value is Δ3; if the minimum remaining time of the buffered data packet in the logical channel is greater than 1.0ms, the priority offset value is Δ4.
例如,以逻辑信道的优先级的数值越小,逻辑信道的优先级等级越高,且数值为1的优先级表示最高等级的优先级,数据包的最小剩余时间越小,逻辑信道的优先级越高的规则为例,基于该规则,可以设置△1>△2>△3>△4。当终端设备确定逻辑信道的优先级偏移值为△j(1≤j≤4,j为整数)后,可以将逻辑信道的优先级更新为max{m,p-△j},其中,max为取最大值函数,m为大于等于1的整数,m表示逻辑信道允许被动态调整到的最高优先级等级,p表示该逻辑信道原本的优先级。其中,m的取值可以由协议预定义,也可以由网络设备通过系统消息或RRC消息配置给终端设备。For example, the smaller the value of the priority of the logical channel, the higher the priority level of the logical channel, and the priority of the value 1 indicates the highest priority, and the smaller the minimum remaining time of the packet, the priority of the logical channel. The higher the rule is, for example, based on the rule, Δ1>Δ2>Δ3>Δ4 can be set. After the terminal device determines that the priority offset value of the logical channel is Δj (1≤j≤4, j is an integer), the priority of the logical channel may be updated to max{m, p-Δj}, where max To take the maximum value function, m is an integer greater than or equal to 1, m represents the highest priority level to which the logical channel is allowed to be dynamically adjusted, and p represents the original priority of the logical channel. The value of m may be predefined by the protocol, or may be configured by the network device to the terminal device by using a system message or an RRC message.
示例性的,基于如图4所示的示例,假设△1=3,△2=2,△3=1,△4=0,m=1。按照示例四中列举的第一个映射关系,逻辑信道A和逻辑信道B中缓存的数据包的最小剩余时间为0.1ms,则逻辑信道A和逻辑信道B的优先级偏移值为3。那么逻辑信道A的优先级更新后仍为1(即max{1,1-3}),逻辑信道B的优先级更新后也为1(即max{1,2-3})。逻辑信道C中缓存的数据包的最小剩余时间为0.5ms,则逻辑信道C的优先级偏移值为1,逻辑信道C的优先级更新后为2(即max{1,3-1})。逻辑信道D中缓存的数据包的最小剩余时间为0.6ms,则逻辑信道D的优先级偏移值为1,逻辑信道D的优先级更新后为3(即max{1,4-1})。Illustratively, based on the example shown in FIG. 4, it is assumed that Δ1=3, Δ2=2, Δ3=1, Δ4=0, m=1. According to the first mapping relationship listed in the fourth example, the minimum remaining time of the data packet buffered in the logical channel A and the logical channel B is 0.1 ms, and the priority offset value of the logical channel A and the logical channel B is 3. Then, the priority of the logical channel A is still 1 after updating (ie, max{1, 1-3}), and the priority of the logical channel B is also updated after 1 (ie, max{1, 2-3}). The minimum remaining time of the buffered data packet in the logical channel C is 0.5 ms, the priority offset value of the logical channel C is 1, and the priority of the logical channel C is updated to 2 (ie, max{1,3-1}) . The minimum remaining time of the data packet buffered in the logical channel D is 0.6 ms, the priority offset value of the logical channel D is 1, and the priority of the logical channel D is updated to 3 (ie, max{1,4-1}) .
可见,根据缓存的数据包的最小剩余时间,逻辑信道B、C、D的优先级等级均提高了一个等级。以使得逻辑信道B、C、D中缓存的数据包能够在一定程度上提前得到上行资源分配。It can be seen that the priority levels of the logical channels B, C, and D are increased by one level according to the minimum remaining time of the buffered data packets. In order to enable the data packets buffered in the logical channels B, C, and D to obtain uplink resource allocation to a certain extent in advance.
可选的,若逻辑信道原本的优先级等级不低于m所表示的优先级等级,那么终端设备维持该逻辑信道原本的优先级,不进行动态调整。例如,当m=2时,由于逻辑信道A和逻辑信道B的优先级均不低于优先级为2的逻辑信道的优先级,因此终端设备不对逻辑信道A和逻辑信道B的优先级进行调整,仅调整逻辑信道C和逻辑信道D的优先级。Optionally, if the original priority level of the logical channel is not lower than the priority level indicated by m, the terminal device maintains the original priority of the logical channel, and does not perform dynamic adjustment. For example, when m=2, since the priorities of logical channel A and logical channel B are not lower than the priority of the logical channel with priority 2, the terminal device does not adjust the priorities of logical channel A and logical channel B. Only the priorities of logical channel C and logical channel D are adjusted.
可选的,终端设备也可以基于逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量与逻辑信道的优先级偏移值之间的映射关系,确定优先级偏移值。其中,数据包的数据量的单位可以是千字节/字节/比特(kilobyte/byte/bit),对此不作限定。Optionally, the terminal device may also determine the priority offset based on a mapping relationship between the total data volume of the data packet whose remaining time in the logical channel is less than or equal to the third threshold value and the priority offset value of the logical channel. Move the value. The unit of the data volume of the data packet may be kilobytes/byte/bit (kilobyte/byte/bit), which is not limited thereto.
示例性的,假设逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量与逻辑信道的优先级偏移值之间的映射关系为:若逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量在0-200字节内,则优先级偏移值为△5;若逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量在200-500字节内,则优先级偏移值为△6;若逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量在500-1000字节内,则优先级偏移值为△7;若逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量在大于1000字节内,则优先级偏移值为△8。Exemplarily, assuming that the mapping between the total data amount of the data packet whose remaining time of the logical channel is less than or equal to the third threshold value and the priority value of the logical channel is: if the remaining of the buffer in the logical channel If the total data volume of the data packet whose time is less than or equal to the third threshold value is within 0-200 bytes, the priority offset value is Δ5; if the remaining time of the buffer in the logical channel is less than or equal to the third threshold value The total data volume of the data packet is within 200-500 bytes, then the priority offset value is Δ6; if the remaining time of the buffer in the logical channel is less than or equal to the third threshold, the total data volume of the data packet is 500. Within -1000 bytes, the priority offset value is Δ7; if the total data amount of the data packet with the remaining time of the buffer in the logical channel less than or equal to the third threshold is greater than 1000 bytes, the priority is biased The shift value is Δ8.
例如,以逻辑信道的优先级的数值越小,逻辑信道的优先级等级越高,且数值为1的优先级表示最高等级的优先级,逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量越大,逻辑信道的优先级越高的规则为例,基于该规则,可以设置△5<△6<△7<△8。当终端设备确定逻辑信道的优先级偏移值为△i(5≤i≤8,i为整数)后,可以将逻辑信道的优先级更新为max{n,p-△i},其中,n为大于等于1的整数,n表示逻辑信道允许被动态调整到的最高优先级等级。p表示该逻辑信道原本的优先级。其中,n的取值可以由协议预定义,也可以由网络设备通过系统消息或RRC消息配置给终端设备。For example, the smaller the value of the priority of the logical channel, the higher the priority level of the logical channel, and the priority of the value 1 indicates the highest priority, and the remaining time of the buffer in the logical channel is less than or equal to the third threshold. The larger the total data amount of the data packet of the value, the higher the priority of the logical channel is, for example, based on the rule, Δ5 < Δ6 < Δ7 < Δ8 can be set. After the terminal device determines that the priority offset value of the logical channel is Δi (5 ≤ i ≤ 8, i is an integer), the priority of the logical channel may be updated to max{n, p-Δi}, where n For an integer greater than or equal to 1, n represents the highest priority level to which the logical channel is allowed to be dynamically adjusted. p denotes the original priority of the logical channel. The value of n may be predefined by the protocol, or may be configured by the network device to the terminal device by using a system message or an RRC message.
示例性的,基于如图4所示的示例,假设△5=0,△6=1,△7=2,△8=3,n=1,第三门限值为0.3ms。以数据包P1-P9的数据量均为200字节为例,按照示例四中列举的第二个映射关系,逻辑信道A中缓存的剩余时间小于或者等于0.3的数据包的总数据量为800字节,则逻辑信道A的优先级偏移值为2。那么逻辑信道A的优先级更新后仍为1(即max{1,1-2})。逻辑信道B中缓存的剩余时间小于或者等于0.3的数据包的总数据量为400字节,则逻辑信道B的优先级偏移值为1,逻辑信道B的优先级更新后为1(即max{1,2-1})。逻辑信道C中缓存的剩余时间小于或者等于0.3的数据包的总数据量为200字节,则逻辑信道C的优先级偏移值为0,逻辑信道C的优先级更新后仍为3(即max{1,3-0})。逻辑信道D中缓存的剩余时间小于或者等于0.3的数据包的总数据量为0字节,则逻辑信道D的优先级偏移值为0,逻辑信道D的优先级更新后仍为4(即max{1,4-0})。Illustratively, based on the example shown in FIG. 4, it is assumed that Δ5=0, Δ6=1, Δ7=2, Δ8=3, n=1, and the third threshold value is 0.3 ms. Taking the data volume of the data packets P1-P9 as 200 bytes as an example, according to the second mapping relationship listed in the fourth example, the total data volume of the data packet with the remaining time of the logical channel A being less than or equal to 0.3 is 800. Byte, then the logical channel A has a priority offset of 2. Then the priority of logical channel A is still 1 after updating (ie max{1, 1-2}). The total data amount of the data packet whose logical time remaining in the logical channel B is less than or equal to 0.3 is 400 bytes, the priority offset value of the logical channel B is 1, and the priority of the logical channel B is updated to 1 (ie, max) {1,2-1}). If the total data volume of the data packet with the remaining time of the buffer in the logical channel C is less than or equal to 0.3 is 200 bytes, the priority value of the logical channel C is 0, and the priority of the logical channel C is still 3 after the update. Max{1,3-0}). The total data amount of the data packet with the remaining time of the buffer in the logical channel D being less than or equal to 0.3 is 0 bytes, the priority offset value of the logical channel D is 0, and the priority of the logical channel D is still 4 after the update (ie, Max{1,4-0}).
可见,根据逻辑信道中缓存的剩余时间小于或者等于第三门限值的数据包的总数据量,逻辑信道B的优先级等级提高了一个等级。以使得逻辑信道B中缓存的数据包能够在一定程度上提前得到上行资源分配。It can be seen that the priority level of the logical channel B is increased by one level according to the total data amount of the data packet whose remaining time buffered in the logical channel is less than or equal to the third threshold value. In order to enable the data packet buffered in the logical channel B to obtain the uplink resource allocation to a certain extent in advance.
可选的,若逻辑信道原本的优先级等级不低于n所表示的优先级等级,那么终端设备维持该逻辑信道原本的优先级,不进行动态调整。例如,当n=2时,由于逻辑信道A和逻辑信道B的优先级均不低于优先级为2的逻辑信道的优先级,因此终端设备不对逻辑信道A和逻辑信道B的优先级进行调整,仅调整逻辑信道C和逻辑信道D的优先级。Optionally, if the original priority level of the logical channel is not lower than the priority level indicated by n, the terminal device maintains the original priority of the logical channel, and does not perform dynamic adjustment. For example, when n=2, since the priorities of logical channel A and logical channel B are not lower than the priority of the logical channel with priority 2, the terminal device does not adjust the priorities of logical channel A and logical channel B. Only the priorities of logical channel C and logical channel D are adjusted.
在该示例中,网络设备可以通过系统消息或者专用RRC消息,为终端设备设置上述映射关系,而优先级偏移值的个数、各个优先级偏移值之间的大小关系、优先级偏移值的具体数值的设置,以及根据优先级偏移值更新逻辑信道的优先级的算法或规则,可以根据实际实施过程中,逻辑信道的优先级的设置规则、数据包的剩余时间等信息进行设置,对此本申请不作限制。In this example, the network device may set the foregoing mapping relationship for the terminal device by using a system message or a dedicated RRC message, and the number of priority offset values, the size relationship between each priority offset value, and the priority offset The setting of the specific value of the value, and the algorithm or rule for updating the priority of the logical channel according to the priority offset value may be set according to the setting rule of the priority of the logical channel and the remaining time of the data packet in the actual implementation process. This application is not limited.
值得说明的是,示例三和示例四中的方案,均是基于逻辑信道中缓存的数据包的剩余时间,更新逻辑信道的优先级。那么对于逻辑信道优先级的更新时间可以基于实际实例的需要进行设置。例如,终端设备可以在每次获取到上行资源后,执行LCP过程时,根据当前缓存的数据包的最小剩余时间,更新逻辑信道的优先级。或者,当终端设备没有获取到上行资源,或者不执行LCP过程时,终端设备的各个逻辑信道的优先级可以保持为网络设备通过RRC消息配置的优先级,而在终端设备执行LCP过程时,根据当前缓存的数据包的最小剩余时间,临时调整逻辑信道的优先级。或者,终端设备也可以周期性的更新各个逻辑信道的优先级。例如,每1ms更新一次,或者每个传输时间间隔(transmission time interval,TTI)更新一次。对此,本申请不做限制。It is worth noting that the schemes in Example 3 and Example 4 are based on the remaining time of the buffered data packets in the logical channel, and the priority of the logical channel is updated. Then the update time for the logical channel priority can be set based on the needs of the actual instance. For example, the terminal device may update the priority of the logical channel according to the minimum remaining time of the currently buffered data packet when the LCP process is executed after each time the uplink resource is acquired. Or, when the terminal device does not acquire the uplink resource, or does not perform the LCP process, the priority of each logical channel of the terminal device may be maintained as a priority configured by the network device through the RRC message, and when the terminal device performs the LCP process, according to the The minimum remaining time of the currently buffered data packet, temporarily adjusting the priority of the logical channel. Alternatively, the terminal device may also periodically update the priority of each logical channel. For example, it is updated every 1ms, or every transmission time interval (TTI) is updated once. In this regard, this application does not limit.
示例五:终端设备根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为K个数据包分配上行资源。Example 5: The terminal device adopts a logical channel priority LCP process according to the total data amount of the data packet whose remaining time in each of the M logical channels is less than or equal to the preset first threshold value, and is K. The data packets are allocated uplink resources.
示例性的,终端设备在统计每个逻辑信道中缓存的剩余时间小于或者等于第一门限值的数据包的总数据量后,可以根据统计的总数据量,修改对应逻辑信道的PBR值。其中,PBR值限制了在每次LCP过程中,允许为逻辑信道分配的最大资源量。Exemplarily, after the terminal device counts the total data amount of the data packet buffered in each logical channel that is less than or equal to the first threshold value, the PBR value of the corresponding logical channel may be modified according to the total amount of data. Among them, the PBR value limits the maximum amount of resources allowed to be allocated for a logical channel during each LCP.
终端设备可以将逻辑信道的PBR值直接修改为对应的总数据量,或者在该逻辑信道的原本PBR值上叠加对应的总数据量。以使得修改后的PBR值大于或者等于对应的总数据量。从而当终端设备根据各个逻辑信道修改后的PBR值进行LCP过程时,在上行资源充足的情况下,能够保证逻辑信道中的剩余时间小于第一门限值的数据包均能得到上行资源分配。避免出现由于PBR值的限制,导致逻辑信道中部分剩余时间较小的数据包无法得到上行资源分配。从而降低每个逻辑信道中缓存的超时数据包的比率。The terminal device may directly modify the PBR value of the logical channel to the corresponding total data amount, or superimpose the corresponding total data amount on the original PBR value of the logical channel. So that the modified PBR value is greater than or equal to the corresponding total data amount. Therefore, when the terminal device performs the LCP process according to the modified PBR value of each logical channel, when the uplink resource is sufficient, the uplink resource allocation can be obtained for the data packet whose remaining time in the logical channel is less than the first threshold. Avoiding the limitation of the PBR value, the data packet with a small remaining time in the logical channel cannot be allocated uplink resources. Thereby reducing the ratio of timeout packets buffered in each logical channel.
或者,终端设备也可以预定义一个新参数,该参数表示终端设备在执行LCP过程中,当为逻辑信道中数据包分配的上行资源的资源量满足对应的PBR条件后,允许继续分配的资源量。终端设备可以根据统计的总数据量设置对应的逻辑信道的新参数,并根据每个逻辑信道的新参数、PBR值以及优先级执行LCP过程,以保证在上行资源充足的情况下,终端设备为每个逻辑信道中缓存的数据包分配上行资源时,即使已经满足了该逻辑信道的PBR条件,终端设备还可以根据对应的新参数,继续为该逻辑信道中未得到资源分配的剩余时间小于第一门限值的数据包分配上行资源。避免出现由于PBR值的限制,导致逻辑信道中部分剩余时间较小的数据包无法得到上行资源分配,从而降低每个逻辑信道中缓存的超时数据包的比率。Alternatively, the terminal device may also predefine a new parameter, which indicates the amount of resources that the terminal device is allowed to continue to allocate after the resource amount of the uplink resource allocated for the data packet in the logical channel satisfies the corresponding PBR condition in the process of performing the LCP. . The terminal device can set a new parameter of the corresponding logical channel according to the total amount of data, and perform an LCP process according to the new parameter, the PBR value and the priority of each logical channel, so as to ensure that when the uplink resource is sufficient, the terminal device is When the uplink data is allocated to the data packet buffered in each logical channel, even if the PBR condition of the logical channel has been met, the terminal device may continue to allocate less time for the resource that is not allocated in the logical channel according to the corresponding new parameter. A threshold packet allocates uplink resources. It is avoided that due to the limitation of the PBR value, some packets with less remaining time in the logical channel cannot obtain uplink resource allocation, thereby reducing the ratio of timeout packets buffered in each logical channel.
示例六:终端设备可以采用将示例三或示例四中的更新逻辑信道优先级的方式,和示例五中增加允许为逻辑信道中的数据包分配的上行资源的资源量的方式结合的方式,为K个数据包分配上行资源。即终端设备根据示例三或示例四中所述的方式更新逻辑信道的优先级,并根据示例五中所述的方式增加允许为逻辑信道分配的最大资源量,然后按照更新后的逻辑信道的优先级和最大资源量,采用LCP过程,为K个数据包分配上行资源。Example 6: The terminal device may adopt a manner of adding the logical channel priority in Example 3 or Example 4, and a method of adding the resource amount of the uplink resource allowed to allocate the data packet in the logical channel in Example 5, K packets are allocated uplink resources. That is, the terminal device updates the priority of the logical channel according to the manner described in Example 3 or Example 4, and increases the maximum amount of resources allowed to be allocated for the logical channel according to the manner described in Example 5, and then according to the priority of the updated logical channel. Level and maximum resources, using the LCP process to allocate uplink resources for K packets.
需要说明的是,在上述方式三、四、六中,M≥1,M为整数。即N个数据包可以缓存在同一个逻辑信道(M=1)中,也可以缓存都在不同的逻辑信道中(M>1)。It should be noted that in the above modes three, four, and six, M ≥ 1, and M is an integer. That is, N data packets can be buffered in the same logical channel (M=1), or the buffers can all be in different logical channels (M>1).
当M=1时,终端设备可以仅更新该逻辑信道的优先级,并根据更新后的逻辑信道的优先级执行LCP过程,进行上行资源分配。或者,终端设备也可以不执行本申请提供的逻辑 信道的优先级更新方式,直接根据逻辑信道的允许的最大资源量进行上行资源分配。When M=1, the terminal device may only update the priority of the logical channel, and perform an LCP procedure according to the priority of the updated logical channel to perform uplink resource allocation. Alternatively, the terminal device may perform the uplink resource allocation according to the maximum allowed resource amount of the logical channel without performing the priority update manner of the logical channel provided by the present application.
当M>1时,终端设备则可以按照本申请提供的逻辑信道的优先级更新方式,更新各个逻辑信道的优先级,以对该M个逻辑信道重新排序,并按照更新后的逻辑信道的优先级以及允许的最大资源量执行LCP过程,进行上行资源分配。When M>1, the terminal device may update the priority of each logical channel according to the priority update manner of the logical channel provided by the application, to reorder the M logical channels, and according to the priority of the updated logical channel. The level and the maximum amount of resources allowed to perform the LCP process for uplink resource allocation.
还需要指出的是,上述示例中列举的优先级示例,均是按照优先级的数值越小,优先级等级越高,且数值为1的优先级表示最高等级的优先级的规则进行说明。但本申请并不限制优先级的设置规则,可以根据实际实施时的需要进行设置,本申请不再一一列举。It should also be noted that the priority examples listed in the above examples are those in which the value of the priority is smaller, the priority level is higher, and the priority value of 1 indicates the priority of the highest level. However, the application does not limit the setting rules of the priority, and may be set according to the actual implementation requirements, and the application is not listed one by one.
除上述列举的六个示例外,还可以通过其他方式实现基于数据包的剩余时间进行上行资源分配,此处不再一一列举。而上述六个示例,仅为本申请列举的几种实现根据数据包的剩余时间进行上行资源分配的可选方式,并不是全部的实现方式。In addition to the six examples listed above, uplink resource allocation based on the remaining time of the data packet may be implemented in other manners, which are not enumerated here. The above six examples are only optional ways to implement uplink resource allocation according to the remaining time of the data packet, and are not all implemented.
可选的,网络设备还可以为终端设备确定第二门限值,K个数据包为N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包。Optionally, the network device may further determine, by the network device, a second threshold, where the K data packets are data packets in the N data packets whose remaining time is less than or equal to the preset second threshold.
当K<N时,若终端设备在为K个数据包分配上行资源之后,上行资源还有剩余,基于图3,如图5所示,该方法还包括:When K<N, if the terminal device allocates uplink resources for K data packets, the uplink resources still have remaining. According to FIG. 3, as shown in FIG. 5, the method further includes:
步骤304,终端设备采用LCP过程,为N个数据包中剩余的至少一个数据包分配上行资源中剩余的上行资源。Step 304: The terminal device uses an LCP process to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
在本申请中,终端设备还可以将N个数据包划分为两部分,第一部分为剩余时间小于或者等于第二门限值的数据包,第二部分为剩余时间大于第二门限值的数据包。终端设备先按照步骤302中所提到的方式,为第一部分数据包分配上行资源。然后在上行资源有剩余的情况下,按照常规的LCP过程为第二部分中的至少一个数据包分配上行资源。In the present application, the terminal device may further divide the N data packets into two parts, the first part is a data packet whose remaining time is less than or equal to the second threshold value, and the second part is the data whose remaining time is greater than the second threshold value. package. The terminal device first allocates uplink resources for the first part of the data packet in the manner mentioned in step 302. Then, if there is any remaining uplink resources, the uplink resource is allocated to at least one data packet in the second part according to a conventional LCP procedure.
例如,基于如图4所示的示例,假设第二门限值为0.2ms,那么终端设备确定的第一部分数据包为数据包P1、P5、P6以及P2,第二部分数据包为数据包P3、P4、P7、P8以及P9。终端设备按照步骤302中所提到的方式先为数据包P1、P5、P6以及P2分配上行资源。在数据包P1、P5、P6以及P2均得到上行资源分配,且上行资源还有剩余的情况下,再按照常规的LCP过程为数据包P3、P4、P7、P8以及P9分配上行资源。For example, based on the example shown in FIG. 4, assuming that the second threshold is 0.2 ms, the first partial data packet determined by the terminal device is data packets P1, P5, P6, and P2, and the second partial data packet is data packet P3. , P4, P7, P8 and P9. The terminal device first allocates uplink resources for the data packets P1, P5, P6, and P2 in the manner mentioned in step 302. When the uplink resources are allocated in the data packets P1, P5, P6, and P2, and the uplink resources are still remaining, the uplink resources are allocated to the data packets P3, P4, P7, P8, and P9 according to the conventional LCP process.
进一步的,上述步骤303具体可以为:Further, the foregoing step 303 may specifically be:
步骤303a,终端设备在该上行资源上向网络设备发送该K个数据包和该N个数据包中剩余的至少一个数据包。Step 303a: The terminal device sends the K data packets and the remaining one of the N data packets to the network device on the uplink resource.
值的说明的是,上文中涉及到的第一门限值、第二门限值以及第三门限值可以是同一个门限值,也可以是相等的三个门限值,或者是不相等的三个门限值。网络设备可以通过预定义的消息,系统消息,或者专用RRC消息为终端设备配置各个门限值。对此,本申请不作限制。The value indicates that the first threshold value, the second threshold value, and the third threshold value mentioned above may be the same threshold value, or may be equal to three threshold values, or Three equal thresholds. The network device can configure various thresholds for the terminal device through predefined messages, system messages, or dedicated RRC messages. In this regard, the application is not limited.
上述主要从各个网元之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing provides a description of the solution provided by the present application from the perspective of interaction between the various network elements. It can be understood that, in order to implement the above functions, the terminal device includes corresponding hardware structures and/or software modules for executing the respective functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
如图6所示,为本申请提供的一种通信装置一种可能的结构示意图,该通信装置可以是集成在终端设备上的功能模块,也可以是与该终端设备连接的外部装置,当该通信装置运行时,能够使得终端设备实现上述图3-5所述的数据传输方法。该通信装置包括:FIG. 6 is a schematic structural diagram of a communication device provided by the present application. The communication device may be a function module integrated on the terminal device, or may be an external device connected to the terminal device. When the communication device is in operation, the terminal device can be caused to implement the data transmission method described in the above FIGS. 3-5. The communication device includes:
接收单元601,用于接收网络设备发送的上行授权信息,所述上行授权信息用于指示分配给所述通信装置的上行资源。The receiving unit 601 is configured to receive uplink grant information sent by the network device, where the uplink grant information is used to indicate an uplink resource that is allocated to the communications device.
分配单元602,用于根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,N≥K≥1,K、N均为整数。The allocating unit 602 is configured to allocate the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, where N≥K≥1, where K and N are integers.
发送单元603,用于在所述上行资源上向所述网络设备发送所述K个数据包。The sending unit 603 is configured to send the K data packets to the network device on the uplink resource.
可选的,所述分配单元602,具体用于按照所述N个数据包的剩余时间从小到大的顺序,依次为所述K个数据包分配所述上行资源。Optionally, the allocating unit 602 is configured to allocate the uplink resource to the K data packets in sequence according to the remaining time of the N data packets.
可选的,所述分配单元602,具体用于根据所述N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定所述每个数据包的优先级,并按照所述N个数据包的优先级从高到低的顺序,依次为所述K个数据包分配所述上行资源。Optionally, the allocating unit 602 is configured to determine a priority of each data packet according to a remaining time interval in which the remaining time of each of the N data packets is located, and according to the foregoing, The priority of the N data packets is from high to low, and the uplink resources are allocated to the K data packets in turn.
可选的,当所述K个数据包中的多个数据包的剩余时间或者优先级相同时,所述分配单元602根据所述多个数据包所在逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述多个数据包分配所述上行资源。Optionally, when the remaining time or priority of the multiple data packets in the K data packets are the same, the allocating unit 602 adopts a logical channel priority according to a priority of the logical channel where the multiple data packets are located. The LCP process allocates the uplink resource for the multiple data packets.
可选的,所述分配单元602,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新所述M个逻辑信道的优先级,并根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述最小剩余时间越小的逻辑信道的优先级越高,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit 602 is configured to update a priority of the M logical channels according to a minimum remaining time of a data packet buffered in each of the M logical channels, and according to the updated The priority of the M logical channels, the logical channel priority LCP process is used to allocate the uplink resources to the K data packets, and the smaller the minimum remaining time, the higher the priority of the logical channels, the M The logical channel is a logical channel for buffering the N data packets, M≥2, and M is an integer.
可选的,所述分配单元602,具体用于根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定所述每个逻辑信道的优先级偏移值,并根据所述M个逻辑信道的优先级偏移值更新所述M个逻辑信道的优先级,以及根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit 602 is configured to determine a priority offset value of each logical channel according to a minimum remaining time of a data packet buffered by each of the M logical channels, and according to the The priority offset values of the M logical channels update the priorities of the M logical channels, and according to the updated priorities of the M logical channels, adopt a logical channel priority LCP process, for the K data The M logical channels allocated for the uplink resource are buffers for buffering the N data packets, M≥2, and M is an integer.
可选的,所述分配单元602,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the allocating unit 602 is configured to adopt logic according to a total data volume of a data packet whose remaining time in each of the M logical channels is less than or equal to a preset first threshold. The channel priority LCP process allocates the uplink resource to the K data packets, where the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
可选的,所述K个数据包为所述N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N。Optionally, the K data packets are data packets in the N data packets whose remaining time is less than or equal to a preset second threshold, K<N.
所述分配单元602,还用于若在为所述K个数据包分配所述上行资源之后,所述上行资源还有剩余,则采用逻辑信道优先级LCP过程,为所述N个数据包中剩余的至少一个数据包分配所述上行资源中剩余的上行资源。The allocating unit 602 is further configured to: if the uplink resource is still remaining after allocating the uplink resource for the K data packets, adopt a logical channel priority LCP process, where the N data packets are The remaining at least one data packet allocates the remaining uplink resources in the uplink resource.
本申请提供的通信设备,能够根据可以基于数据包的剩余时间进行上行资源分配,在一定程度上保证了剩余时间较小的数据包优先得到资源分配,从而降低了超时数据包的比率。The communication device provided by the present application can perform uplink resource allocation according to the remaining time of the data packet, and ensures that the data packet with less remaining time preferentially obtains resource allocation to a certain extent, thereby reducing the ratio of the timeout data packet.
如图2所示,为本申请提供的一种终端设备一种可能的结构示意图,包括处理器201、 收发器204、总线203和存储器202。As shown in FIG. 2, a possible structural diagram of a terminal device provided by the present application includes a processor 201, a transceiver 204, a bus 203, and a memory 202.
其中,处理器201可以是中央处理器(central processing unit,CPU),通用处理器201,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器201也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 201 can be a central processing unit (CPU), a general-purpose processor 201, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an on-site A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor 201 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
该处理器201通过该收发器204与网络设备进行信号的收发。The processor 201 transmits and receives signals to and from the network device through the transceiver 204.
处理器201、收发器204和存储器202之间通过总线203相互连接;总线203可以是外设部件互连标准(peripheral component interconnect,PCI)总线203或扩展工业标准结构(extended industry standard architecture,EISA)总线203等。所述总线203可以分为地址总线203、数据总线203、控制总线203等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线203或一种类型的总线203。The processor 201, the transceiver 204 and the memory 202 are mutually connected by a bus 203; the bus 203 may be a peripheral component interconnect (PCI) bus 203 or an extended industry standard architecture (EISA). Bus 203, etc. The bus 203 can be divided into an address bus 203, a data bus 203, a control bus 203, and the like. For ease of representation, only one thick line is shown in FIG. 2, but it does not mean that there is only one bus 203 or one type of bus 203.
所述存储器202,用于存储程序指令;The memory 202 is configured to store program instructions;
所述处理器201,用于在所述终端设备运行时,执行所述程序指令,以控制所述收发器204接收所述网络设备发送的上行授权信息,并根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,以及控制所述收发器204在所述上行资源上向所述网络设备发送所述K个数据包,其中,所述上行授权信息用于指示分配给所述终端设备的所述上行资源,N≥K≥1,K、N均为整数。The processor 201 is configured to execute the program instruction when the terminal device is running, to control the transceiver 204 to receive uplink authorization information sent by the network device, and according to the N data packets to be sent. Remaining time, allocating uplink resources for K data packets in the N data packets, and controlling the transceiver 204 to send the K data packets to the network device on the uplink resource, where The uplink grant information is used to indicate the uplink resource allocated to the terminal device, where N≥K≥1, and K and N are integers.
可选的,所述处理器201根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:按照所述N个数据包的剩余时间从小到大的顺序,依次为所述K个数据包分配所述上行资源。Optionally, the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: following the remaining of the N data packets. The order of time is from small to large, and the uplink resources are allocated to the K data packets in turn.
可选的,所述处理器201根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:根据所述N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定所述每个数据包的优先级,并按照所述N个数据包的优先级从高到低的顺序,依次为所述K个数据包分配所述上行资源。Optionally, the processor 201 allocates uplink resources to the K data packets in the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to the N data packets. Determining the priority of each of the data packets in the remaining time interval in which the remaining time of each data packet is located, and sequentially, according to the priority of the N data packets, the K data packets Allocating the uplink resource.
可选的,当所述K个数据包中的多个数据包的剩余时间或者优先级相同时,所述处理器201根据所述多个数据包所在逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述多个数据包分配所述上行资源。Optionally, when the remaining time or priority of the multiple data packets in the K data packets are the same, the processor 201 adopts a logical channel priority according to a priority of the logical channel where the multiple data packets are located. The LCP process allocates the uplink resource for the multiple data packets.
可选的,所述处理器201根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新所述M个逻辑信道的优先级,并根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述最小剩余时间越小的逻辑信道的优先级越高,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels. Updating a priority of the M logical channels by using a minimum remaining time of the buffered data packet in the logical channel, and adopting a logical channel priority LCP process for the K according to the updated priorities of the M logical channels The data packet allocates the uplink resource, and the lower the minimum remaining time, the higher the priority of the logical channel, the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
可选的,所述处理器201根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定所述每个逻辑信道的优先级偏移值,并根据所述M个逻辑信道的优 先级偏移值更新所述M个逻辑信道的优先级,以及根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels. The minimum remaining time of the logical channel buffered data packet determines a priority offset value of each of the logical channels, and updates a priority of the M logical channels according to a priority offset value of the M logical channels, and And assigning, by using the logical channel priority LCP process, the uplink resource, the M logical channels, to the logic for buffering the N data packets, according to the updated priorities of the M logical channels. Channel, M≥2, M is an integer.
可选的,所述处理器201根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Optionally, the processor 201 allocates uplink resources to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, and specifically includes: according to each of the M logical channels. And the total data volume of the data packet in the logical channel is less than or equal to the preset first threshold value, and the uplink resource is allocated to the K data packets by using a logical channel priority LCP process, where the M The logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
可选的,所述K个数据包为所述N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;所述处理器201,还用于若在为所述K个数据包分配所述上行资源之后,所述上行资源还有剩余,则采用逻辑信道优先级LCP过程,为所述N个数据包中剩余的至少一个数据包分配所述上行资源中剩余的上行资源。Optionally, the K data packets are data packets in which all remaining time of the N data packets are less than or equal to a preset second threshold value, K<N; and the processor 201 is further configured to: After allocating the uplink resource for the K data packets, if there is any remaining uplink resource, the logical channel priority LCP process is used to allocate the uplink to at least one of the remaining N data packets. The remaining uplink resources in the resource.
采用本申请提供的终端设备,能够根据可以基于数据包的剩余时间进行上行资源分配,在一定程度上保证了剩余时间较小的数据包优先得到资源分配,从而降低了超时数据包的比率。With the terminal device provided by the present application, the uplink resource allocation can be performed according to the remaining time of the data packet, and the data packet with less remaining time is preferentially obtained to the resource allocation, thereby reducing the ratio of the timeout data packet.
在一个示例中,结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read only memory,ROM)、可擦除可编程只读存储器(erasable programmable ROM,EPROM)、电可擦可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。In one example, the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions. The software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
具体实现中,本申请还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本申请提供的数据传输方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the data transmission method provided by the application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
本申请还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述本申请提供的数据传输方法的各实施例中的部分或全部步骤。The present application also provides a computer program product comprising instructions which, when executed on a computer, cause the computer to perform some or all of the steps of the various embodiments of the data transfer method provided herein.
本申请还提供了一种芯片系统,所述芯片系统中包含至少一个芯片,当该芯片系统运行时,能够实现上述本申请提供的数据传输方法的各实施例中的部分或全部步骤。The present application also provides a chip system including at least one chip capable of implementing some or all of the steps of the embodiments of the data transmission method provided by the present application when the chip system is in operation.
本领域的技术人员可以清楚地了解到本申请中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者VPN网关等)执行本发明各个实施例或者实施例的某些部分所述的方法。Those skilled in the art will clearly understand that the techniques in this application can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solutions in the present application may be embodied in the form of software products in essence or in the form of software products, which may be stored in a storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or VPN gateway, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
以上所述的本发明实施方式并不构成对本发明保护范围的限定。The embodiments of the invention described above are not intended to limit the scope of the invention.

Claims (27)

  1. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    终端设备接收网络设备发送的上行授权信息,所述上行授权信息用于指示分配给所述终端设备的上行资源;Receiving, by the terminal device, uplink authorization information sent by the network device, where the uplink authorization information is used to indicate an uplink resource allocated to the terminal device;
    所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,N≥K≥1,K、N均为整数;The terminal device allocates the uplink resource to K data packets in the N data packets according to the remaining time of the N data packets to be sent, where N≥K≥1, where K and N are integers;
    所述终端设备在所述上行资源上向所述网络设备发送所述K个数据包。The terminal device sends the K data packets to the network device on the uplink resource.
  2. 根据权利要求1所述的方法,其特征在于,所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,包括:The method according to claim 1, wherein the terminal device allocates the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    所述终端设备按照所述N个数据包的剩余时间从小到大的顺序,依次为所述K个数据包分配所述上行资源。The terminal device sequentially allocates the uplink resource to the K data packets according to the remaining time of the N data packets from small to large.
  3. 根据权利要求1所述的方法,其特征在于,所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,包括:The method according to claim 1, wherein the terminal device allocates the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    所述终端设备根据所述N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定所述每个数据包的优先级;Determining, by the terminal device, a priority of each data packet according to a remaining time interval in which the remaining time of each of the N data packets is located;
    所述终端设备按照所述N个数据包的优先级从高到低的顺序,依次为所述K个数据包分配所述上行资源。The terminal device sequentially allocates the uplink resource to the K data packets according to a priority of the N data packets from high to low.
  4. 根据权利要求2或3所述的方法,其特征在于,当所述K个数据包中的多个数据包的剩余时间或者优先级相同时,所述终端设备按照所述多个数据包所在逻辑信道的优先级从高到低的顺序依次为所述多个数据包分配所述上行资源。The method according to claim 2 or 3, wherein when the remaining time or priority of the plurality of data packets in the K data packets are the same, the terminal device follows the logic of the plurality of data packets. The uplink resources are allocated to the plurality of data packets in descending order of priority of the channels.
  5. 根据权利要求1所述的方法,其特征在于,所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,包括:The method according to claim 1, wherein the terminal device allocates the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    所述终端设备根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新所述M个逻辑信道的优先级,所述最小剩余时间越小的逻辑信道的优先级越高,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数;Updating, by the terminal device, a priority of the M logical channels according to a minimum remaining time of a data packet buffered in each of the M logical channels, where a minimum of the minimum remaining time is a higher priority of the logical channel The M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer;
    所述终端设备根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源。And the terminal device allocates the uplink resource to the K data packets by using a logical channel priority LCP process according to the updated priority of the M logical channels.
  6. 根据权利要求1所述的方法,其特征在于,所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,包括:The method according to claim 1, wherein the terminal device allocates the uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    所述终端设备根据M个逻辑信道中的每个逻辑信道缓存的数据包的剩余时间确定所述每个逻辑信道的优先级偏移值,并根据所述M个逻辑信道的优先级偏移值更新所述M个逻辑信道的优先级,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数;Determining, by the terminal device, a priority offset value of each logical channel according to a remaining time of a data packet buffered by each of the M logical channels, and according to a priority offset value of the M logical channels Updating a priority of the M logical channels, where the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer;
    所述终端设备根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源。And the terminal device allocates the uplink resource to the K data packets by using a logical channel priority LCP process according to the updated priority of the M logical channels.
  7. 根据权利要求1、5或6所述的方法,其特征在于,所述终端设备根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,包括:The method according to claim 1, 5 or 6, wherein the terminal device allocates the uplink for K data packets of the N data packets according to remaining time of N data packets to be sent. Resources, including:
    所述终端设备根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等 于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。The terminal device adopts a logical channel priority LCP process according to a total data amount of a data packet whose remaining time in each of the M logical channels is less than or equal to a preset first threshold, The K data packets are allocated to the uplink resource, and the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述K个数据包为所述N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;The method according to any one of claims 1 to 7, wherein the K data packets are data packets in which all remaining time of the N data packets is less than or equal to a preset second threshold value. K<N;
    若所述终端设备在为所述K个数据包分配所述上行资源之后,所述上行资源还有剩余,所述方法还包括:If the terminal device allocates the uplink resource for the K data packets, the uplink resource still has a remaining, the method further includes:
    所述终端设备采用逻辑信道优先级LCP过程,为所述N个数据包中剩余的至少一个数据包分配所述上行资源中剩余的上行资源。The terminal device uses a logical channel priority LCP process to allocate the remaining uplink resources in the uplink resource for at least one of the remaining data packets.
  9. 一种通信装置,其特征在于,包括:A communication device, comprising:
    接收单元,用于接收网络设备发送的上行授权信息,所述上行授权信息用于指示分配给所述通信装置的上行资源;a receiving unit, configured to receive uplink grant information sent by the network device, where the uplink grant information is used to indicate an uplink resource that is allocated to the communications device;
    分配单元,用于根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配所述上行资源,N≥K≥1,K、N均为整数;An allocating unit, configured to allocate the uplink resource to K data packets in the N data packets according to a remaining time of the N data packets to be sent, where N≥K≥1, where K and N are integers;
    发送单元,用于在所述上行资源上向所述网络设备发送所述K个数据包。And a sending unit, configured to send the K data packets to the network device on the uplink resource.
  10. 根据权利要求9所述的通信装置,其特征在于,所述分配单元,具体用于按照所述N个数据包的剩余时间从小到大的顺序,依次为所述K个数据包分配所述上行资源。The communication device according to claim 9, wherein the allocating unit is configured to sequentially allocate the uplink to the K data packets according to an order of remaining time of the N data packets from small to large. Resources.
  11. 根据权利要求9所述的通信装置,其特征在于,所述分配单元,具体用于根据所述N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定所述每个数据包的优先级,并按照所述N个数据包的优先级从高到低的顺序,依次为所述K个数据包分配所述上行资源。The communication device according to claim 9, wherein the allocating unit is configured to determine each of the data according to a remaining time interval in which the remaining time of each of the N data packets is located The priority of the packet, and the uplink resources are allocated to the K data packets in order according to the priority of the N data packets from high to low.
  12. 根据权利要求10或11所述的通信装置,其特征在于,当所述K个数据包中的多个数据包的剩余时间或者优先级相同时,所述分配单元按照所述多个数据包所在逻辑信道的优先级从高到低的顺序依次为所述多个数据包分配所述上行资源。The communication device according to claim 10 or 11, wherein when the remaining time or priority of the plurality of data packets in the K data packets is the same, the allocating unit according to the plurality of data packets The uplink resources are allocated to the plurality of data packets in descending order of priority of the logical channels.
  13. 根据权利要求9所述的通信装置,其特征在于,所述分配单元,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新所述M个逻辑信道的优先级,并根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述最小剩余时间越小的逻辑信道的优先级越高,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。The communication device according to claim 9, wherein the allocating unit is configured to update the M logical channels according to a minimum remaining time of a data packet buffered in each of the M logical channels. a priority channel, and according to the updated priority of the M logical channels, a logical channel priority LCP process is used to allocate the uplink resource to the K data packets, where the minimum remaining time is smaller The higher the priority is, the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
  14. 根据权利要求9所述的通信装置,其特征在于,所述分配单元,具体用于根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定所述每个逻辑信道的优先级偏移值,并根据所述M个逻辑信道的优先级偏移值更新所述M个逻辑信道的优先级,以及根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。The communication device according to claim 9, wherein the allocating unit is configured to determine a priority of each logical channel according to a minimum remaining time of a data packet buffered by each of the M logical channels. a step offset value, and updating a priority of the M logical channels according to a priority offset value of the M logical channels, and adopting a logical channel priority according to the updated priorities of the M logical channels The LCP process allocates the uplink resource to the K data packets, and the M logical channels are logical channels for buffering the N data packets, where M≥2, and M is an integer.
  15. 根据权利要求9、13或14所述的通信装置,其特征在于,所述分配单元,具体用于根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为所述K个数据包分 配所述上行资源,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。The communication device according to claim 9, 13 or 14, wherein the allocating unit is configured to: according to the remaining time of the buffer in each of the M logical channels, being less than or equal to the preset first The total data volume of the data packet of the threshold value is allocated to the K data packets by using a logical channel priority LCP process, where the M logical channels are logical channels for buffering the N data packets. M ≥ 2, M is an integer.
  16. 根据权利要求9-15任一项所述的通信装置,其特征在于,所述K个数据包为所述N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;The communication device according to any one of claims 9-15, wherein the K data packets are data packets in the N data packets whose remaining time is less than or equal to a preset second threshold value. , K<N;
    所述分配单元,还用于若在为所述K个数据包分配所述上行资源之后,所述上行资源还有剩余,则采用逻辑信道优先级LCP过程,为所述N个数据包中剩余的至少一个数据包分配所述上行资源中剩余的上行资源。The allocating unit is further configured to: if the uplink resource is still allocated after allocating the uplink resource for the K data packets, adopt a logical channel priority LCP process, where the remaining N packets are At least one data packet allocates the remaining uplink resources in the uplink resource.
  17. 一种终端设备,其特征在于,包括:处理器、存储器、总线以及收发器,所述处理器通过所述总线与所述存储器和所述收发器连接;A terminal device, comprising: a processor, a memory, a bus, and a transceiver, wherein the processor is connected to the memory and the transceiver through the bus;
    所述存储器,用于存储程序指令;The memory is configured to store program instructions;
    所述处理器,用于在所述终端设备运行时,执行所述程序指令,以控制所述收发器接收所述网络设备发送的上行授权信息,并根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,以及控制所述收发器在所述上行资源上向所述网络设备发送所述K个数据包,其中,所述上行授权信息用于指示分配给所述终端设备的所述上行资源,N≥K≥1,K、N均为整数。The processor, when the terminal device is running, executing the program instruction to control the transceiver to receive uplink authorization information sent by the network device, and according to remaining time of N data packets to be sent Allocating an uplink resource for the K data packets of the N data packets, and controlling the transceiver to send the K data packets to the network device on the uplink resource, where the uplink authorization information For indicating the uplink resource allocated to the terminal device, N≥K≥1, and K and N are integers.
  18. 根据权利要求17所述的终端设备,其特征在于,所述处理器根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:The terminal device according to claim 17, wherein the processor allocates an uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    按照所述N个数据包的剩余时间从小到大的顺序,依次为所述K个数据包分配所述上行资源。The uplink resources are allocated to the K data packets in order according to the remaining time of the N data packets from small to large.
  19. 根据权利要求17所述的终端设备,其特征在于,所述处理器根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:The terminal device according to claim 17, wherein the processor allocates an uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    根据所述N个数据包中的每个数据包的剩余时间所在的剩余时间区间,确定所述每个数据包的优先级,并按照所述N个数据包的优先级从高到低的顺序,依次为所述K个数据包分配所述上行资源。Determining a priority of each of the data packets according to a remaining time interval in which the remaining time of each of the N data packets is located, and following a priority of the N data packets from highest to lowest And allocating the uplink resource to the K data packets in sequence.
  20. 根据权利要求18或19所述的终端设备,其特征在于,当所述K个数据包中的多个数据包的剩余时间或者优先级相同时,所述处理器按照所述多个数据包所在逻辑信道的优先级从高到低的顺序依次为所述多个数据包分配所述上行资源。The terminal device according to claim 18 or 19, wherein when the remaining time or priority of the plurality of data packets in the K data packets is the same, the processor follows the plurality of data packets The uplink resources are allocated to the plurality of data packets in descending order of priority of the logical channels.
  21. 根据权利要求17所述的终端设备,其特征在于,所述处理器根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:The terminal device according to claim 17, wherein the processor allocates an uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    根据M个逻辑信道中的每个逻辑信道中缓存的数据包的最小剩余时间更新所述M个逻辑信道的优先级,并根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述最小剩余时间越小的逻辑信道的优先级越高,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Updating the priority of the M logical channels according to a minimum remaining time of the data packets buffered in each of the M logical channels, and adopting a logical channel priority according to the updated priorities of the M logical channels a level LCP process, where the uplink resource is allocated for the K data packets, the lower the minimum remaining time, the higher the priority of the logical channel, and the M logical channels are logical channels for buffering the N data packets. , M≥2, M is an integer.
  22. 根据权利要求17所述的终端设备,其特征在于,所述处理器根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:The terminal device according to claim 17, wherein the processor allocates an uplink resource to the K data packets of the N data packets according to the remaining time of the N data packets to be sent, including:
    根据M个逻辑信道中的每个逻辑信道缓存的数据包的最小剩余时间确定所述每个逻辑信道的优先级偏移值,并根据所述M个逻辑信道的优先级偏移值更新所述M个逻辑信道的优先级,以及根据更新后的所述M个逻辑信道的优先级,采用逻辑信道优先 级LCP过程,为所述K个数据包分配所述上行资源所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。Determining a priority offset value of each logical channel according to a minimum remaining time of a data packet buffered by each of the M logical channels, and updating the according to a priority offset value of the M logical channels Priority of the M logical channels, and according to the updated priorities of the M logical channels, the logical channel priority LCP process is used to allocate the uplink resources to the K data packets, and the M logical channels are Cache the logical channels of the N data packets, M≥2, and M is an integer.
  23. 根据权利要求17、21或22所述的终端设备,其特征在于,所述处理器根据待发送的N个数据包的剩余时间,为所述N个数据包中的K个数据包分配上行资源,具体包括:The terminal device according to claim 17, 21 or 22, wherein the processor allocates uplink resources for K data packets in the N data packets according to remaining time of N data packets to be sent. Specifically, including:
    根据M个逻辑信道中的每个逻辑信道中缓存的剩余时间小于或者等于预设的第一门限值的数据包的总数据量,采用逻辑信道优先级LCP过程,为所述K个数据包分配所述上行资源,所述M个逻辑信道为缓存所述N个数据包的逻辑信道,M≥2,M为整数。And adopting a logical channel priority LCP process for the K data packets according to a total data volume of a data packet in which each of the M logical channels is less than or equal to a preset first threshold value Allocating the uplink resource, where the M logical channels are logical channels for buffering the N data packets, M≥2, and M is an integer.
  24. 根据权利要求17-23任一项所述的终端设备,其特征在于,所述K个数据包为所述N个数据包中所有剩余时间小于或者等于预设的第二门限值的数据包,K<N;The terminal device according to any one of claims 17 to 23, wherein the K data packets are data packets in the N data packets whose remaining time is less than or equal to a preset second threshold value. , K<N;
    所述处理器,还用于若在为所述K个数据包分配所述上行资源之后,所述上行资源还有剩余,则采用逻辑信道优先级LCP过程,为所述N个数据包中剩余的至少一个数据包分配所述上行资源中剩余的上行资源。The processor is further configured to: if the uplink resource is still remaining after allocating the uplink resource for the K data packets, adopt a logical channel priority LCP process, where the remaining one of the N data packets At least one data packet allocates the remaining uplink resources in the uplink resource.
  25. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机实现如权利要求1-8任一项所述的数据传输方法。A computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are run on a computer, causing the computer to implement the data transmission method according to any one of claims 1-8 .
  26. 一种计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1-8中任一项所述的方法。A computer program product, characterized in that it, when run on a computer, causes the computer to perform the method of any one of claims 1-8.
  27. 一种装置,其特征在于,所述装置包括处理器,所述处理器用于与存储器耦合,并读取存储器中的指令并根据所述指令执行如权利要求1-8中任一一项所述的方法。An apparatus, comprising: a processor, the processor for coupling with a memory, and reading instructions in the memory and performing the instructions according to any one of claims 1-8 according to the instructions Methods.
PCT/CN2019/074098 2018-02-14 2019-01-31 Data transmission method and device WO2019157969A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810152252.4 2018-02-14
CN201810152252.4A CN110167066B (en) 2018-02-14 2018-02-14 Data transmission method and device

Publications (1)

Publication Number Publication Date
WO2019157969A1 true WO2019157969A1 (en) 2019-08-22

Family

ID=67619201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/074098 WO2019157969A1 (en) 2018-02-14 2019-01-31 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN110167066B (en)
WO (1) WO2019157969A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115038126A (en) * 2021-03-08 2022-09-09 华为技术有限公司 Communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052203A (en) * 2006-04-06 2007-10-10 华为技术有限公司 Realizing method for multimedia broadcast multicast service
CN101541099A (en) * 2008-03-21 2009-09-23 中兴通讯股份有限公司 Buffer area state reporting method and device, and data quantity setting method
CN101917769A (en) * 2010-08-20 2010-12-15 浙江大学 Uplink resource allocation and scheduling method of OFDMA (Orthogonal Frequency Division Multiple Access) system based on 802.16m
CN105530705A (en) * 2014-09-28 2016-04-27 成都鼎桥通信技术有限公司 Method and device for allocating downlink control channel resources

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594274B (en) * 2008-05-29 2012-04-18 中兴通讯股份有限公司 Initial access method and transmission method of initial access signaling
US9210717B2 (en) * 2012-11-15 2015-12-08 Qualcomm Incorporated Methods and apparatus for LTE MAC logical channel prioritization based on control data
EP3051736B1 (en) * 2015-01-30 2020-04-29 Panasonic Intellectual Property Corporation of America Prioritization in the logical channel prioritization procedure for sidelink logical channels in ProSe direct communications
EP3244677B1 (en) * 2016-05-13 2020-04-29 Panasonic Intellectual Property Corporation of America Improved mechanism for qos implementation in vehicular communication
CN106961741B (en) * 2017-05-04 2019-11-22 电信科学技术研究院 A kind of uplink resource allocating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052203A (en) * 2006-04-06 2007-10-10 华为技术有限公司 Realizing method for multimedia broadcast multicast service
CN101541099A (en) * 2008-03-21 2009-09-23 中兴通讯股份有限公司 Buffer area state reporting method and device, and data quantity setting method
CN101917769A (en) * 2010-08-20 2010-12-15 浙江大学 Uplink resource allocation and scheduling method of OFDMA (Orthogonal Frequency Division Multiple Access) system based on 802.16m
CN105530705A (en) * 2014-09-28 2016-04-27 成都鼎桥通信技术有限公司 Method and device for allocating downlink control channel resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VODAFONE: "Definition of Charging Control", 3GPP TSG SA WG2, ARCHITECTURE-S2#53, S2-062459, 28 June 2006 (2006-06-28), pages 1 - 27, XP050256474 *

Also Published As

Publication number Publication date
CN110167066A (en) 2019-08-23
CN110167066B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
US11357017B2 (en) Method and apparatus for transmitting a high priority uplink transmission
US11323910B2 (en) Uplink transmission methods based on collision-triggered adaptation
RU2565247C1 (en) Method and assembly for processing scheduling request
JP7367838B2 (en) Sidelink scheduling request triggering method, device and system
US20200204408A1 (en) Sounding reference signal receiving method, apparatus, and system
CN114391235B (en) Method for performing a hybrid automatic repeat request process for non-prioritized uplink grants and related apparatus
WO2019214617A1 (en) Method and apparatus for resource allocation
EP3110089B1 (en) Apparatus, system and method of communication by co-located wireless communication modules
JP2020506590A (en) Data packet transmission method and terminal
WO2020088400A1 (en) Resource scheduling method, apparatus and device
EP3627944B1 (en) Method and device for transmitting data
TW202041072A (en) Communication method, terminal device, and network device
WO2019157969A1 (en) Data transmission method and device
WO2021155604A1 (en) Information processing method and device
US10869314B2 (en) Method and terminal device for allocating logical channel resources
TW202019221A (en) Feedback resource allocation method, terminal device, and network device
WO2022236681A1 (en) Communication method and apparatus
TW201824904A (en) Method for wireless communication, network equipment, and terminal equipment
WO2018094618A1 (en) Method and device for allocating resource and transmitting data packet
WO2020164148A1 (en) Data transmission method and device
WO2020220266A1 (en) Information transmission method and communication device
WO2020056606A1 (en) Method and apparatus for determining number of uplink control information transmission resources, and program
WO2020164149A1 (en) Data transmission method and device
WO2023131067A1 (en) Frequency domain resource configuration method and apparatus, and communication device
CA3064631C (en) Method and device for transmitting data

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: 19754495

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19754495

Country of ref document: EP

Kind code of ref document: A1