Method and terminal device for allocating resources for uplink logical channels
By determining the resource allocation priority in the terminal device according to the logical channel bearer type and prioritizing the allocation of resources for the RLC status report, the problem of large RLC retransmission delay in the NTN system is solved, and the efficiency and reliability of data transmission are improved.
Patent Information
- Application Number
- CN201980099037.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-31
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2039-10-31
AI Technical Summary
In non-terrestrial communication network (NTN) systems, the wireless signal transmission delay between the terminal and the satellite is relatively large, and the prior art is difficult to effectively reduce the delay of RLC retransmission, especially after introducing the HARQ function, How to reasonably allocate uplink logical channel resources to improve transmission efficiency.
The terminal device determines the resource allocation priority according to the logical channel bearer type, and prioritizes the allocation of resources for the RLC status report, thereby reducing the scheduling delay of the RLC status report and realizing rapid retransmission of RLC.
It effectively reduces the scheduling delay of RLC status reports, improves the reliability and efficiency of data transmission, and realizes the rapid retransmission of RLC.
Smart Images

Figure CN114223296B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method and terminal device for allocating resources for an uplink logical channel. Background Art
[0002] In view of the large delay in wireless signal transmission between terminals and satellites in non-terrestrial network (NTN) systems, the introduction of disabling the Hybrid Automatic Repeat Request (HARQ) function to reduce data transmission delay is being discussed in the process of NTN standardization. When the HARQ function is disabled, transmission reliability can be guaranteed through Radio Link Control (RLC) Automatic Repeat Request (ARQ) retransmission. Therefore, it is necessary to study how to reduce the delay of RLC retransmission.
[0003] RLC retransmission is triggered by an RLC status report, which is transmitted on a physical uplink shared channel (Physical Uplink Shared Channel, PUSCH) or a physical downlink shared channel (Physical Downlink Shared Channel, PDSCH).
[0004] For downlink transmission, the network can increase the priority of the RLC status report during scheduling and give priority to transmitting the RLC status report, thereby reducing the scheduling delay of the RLC status report and triggering RLC retransmission as early as possible.
[0005] For uplink transmission, since the network allocates PUSCH resources based on the terminal, and which logical channels are transmitted on the resources allocated by the network is determined by the terminal, how the terminal can reasonably multiplex logical channels is a problem that needs to be solved urgently. Summary of the invention
[0006] The embodiments of the present application provide a method and terminal device for allocating resources to an uplink logical channel, which can reasonably determine the resource allocation priorities of different logical channels and improve transmission efficiency.
[0007] In a first aspect, a method for allocating resources to an uplink logical channel is provided, comprising: a terminal device determines a resource allocation priority of at least one uplink logical channel according to a bearer type of the at least one uplink logical channel, the bearer type indicating that the bearer of the uplink logical channel includes a radio link control RLC status report and / or data; the terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel.
[0008] In a second aspect, a terminal device is provided, which is used to execute the method in the first aspect or its implementations. Specifically, the terminal device includes a functional module for executing the method in the first aspect or its implementations.
[0009] In a third aspect, a terminal device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the first aspect or its implementations.
[0010] In a fourth aspect, a chip is provided for implementing the method in the first aspect or its various implementations. Specifically, the chip includes: a processor for calling and running a computer program from a memory so that a device equipped with the chip executes the method in the first aspect or its various implementations.
[0011] In a fifth aspect, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the method in the above-mentioned first aspect or its various implementations.
[0012] In a sixth aspect, a computer program product is provided, comprising computer program instructions, which enable a computer to execute the method in the above-mentioned first aspect or its various implementations.
[0013] In a seventh aspect, a computer program is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect or its various implementations.
[0014] Through the above technical solution, the terminal device prioritizes allocating resources for the RLC status report according to the different logical channel bearer types while completing the uplink logical channel multiplexing according to the uplink transmission resources allocated by the network device. This can reduce the scheduling delay of the RLC status report and achieve RLC express retransmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of a communication system architecture provided in an embodiment of the present application.
[0016] Figure 2It is a schematic diagram of the format of an RLC status PDU provided in an embodiment of the present application.
[0017] Figure 3 It is a schematic diagram of the format of another RLC status PDU provided in an embodiment of the present application.
[0018] Figure 4 It is a schematic diagram of a method for allocating resources to an uplink logical channel provided in an embodiment of the present application.
[0019] Figure 5 It is a schematic diagram of a method for uplink logical channel multiplexing provided in an embodiment of the present application.
[0020] Figure 6 It is a schematic diagram of another uplink logical channel multiplexing method provided in an embodiment of the present application.
[0021] Figure 7 It is a schematic diagram of another uplink logical channel multiplexing method provided in an embodiment of the present application.
[0022] Figure 8 It is a schematic diagram of another uplink logical channel multiplexing method provided in an embodiment of the present application.
[0023] Fig. 9 It is a schematic diagram of another uplink logical channel multiplexing method provided in an embodiment of the present application.
[0024] Fig.10 It is a schematic block diagram of a terminal device provided in an embodiment of the present application.
[0025] Fig.11 It is a schematic block diagram of a communication device provided in an embodiment of the present application.
[0026] Fig.12 It is a schematic block diagram of a chip provided in an embodiment of the present application.
[0027] Fig.13 It is a schematic diagram of a communication system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system, etc.
[0030] For example, the communication system 100 used in the embodiment of the present application is as follows: Figure 1 As shown. The communication system 100 may include a network device 110, which may be a device that communicates with a terminal device 120 (or referred to as a communication terminal or terminal). The network device 110 may provide communication coverage for a specific geographical area, and may communicate with terminal devices located in the coverage area. Optionally, the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc.
[0031] The communication system 100 also includes at least one terminal device 120 located within the coverage of the network device 110. As used herein, "terminal device" includes but is not limited to connection via a wired line, such as via a Public Switched Telephone Networks (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as, for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device of another terminal device configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine cellular radiotelephones with data processing, fax, and data communications capabilities; PDAs that may include radiotelephones, pagers, Internet / Intranet access, Web browsers, notepads, calendars, and / or Global Positioning System (GPS) receivers; and conventional laptop and / or palmtop receivers or other electronic devices that include radiotelephone transceivers. A terminal device may refer to an access terminal, user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved PLMN, etc.
[0032] Optionally, terminal devices 120 may perform device-to-device (D2D) communication with each other.
[0033] Optionally, the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.
[0034] Figure 1 One network device and two terminal devices are shown exemplarily. Optionally, the communication system 100 may include multiple network devices and each network device may include another number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.
[0035] Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
[0036] It should be understood that the device with communication function in the network / system in the embodiment of the present application can be referred to as a communication device. Figure 1 Taking the communication system 100 shown as an example, the communication equipment may include a network device 110 and a terminal device 120 with communication functions. The network device 110 and the terminal device 120 may be the specific devices described above and will not be repeated here. The communication equipment may also include other devices in the communication system 100, such as a network controller, a mobile management entity and other network entities, which is not limited in the embodiments of the present application.
[0037] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0038] At present, the 3rd Generation Partnership Project (3GPP) is studying NTN technology. NTN generally uses satellite communication to provide communication services to ground users. Compared with ground cellular network communication, satellite communication has many unique advantages. First, satellite communication is not limited by the user's geographical location. For example, general land communication cannot cover areas such as oceans, mountains, deserts, etc. where communication equipment cannot be set up or where communication coverage is not provided due to sparse population. For satellite communication, since one satellite can cover a large area of land, and the satellite can orbit around the earth, in theory, every corner of the earth can be covered by satellite communication. Secondly, satellite communication has great social value. Satellite communication can cover remote mountainous areas, poor and backward countries or regions at a low cost, so that people in these areas can enjoy advanced voice communication and mobile Internet technology, which is conducive to narrowing the digital divide with developed areas and promoting the development of these areas. Thirdly, satellite communication has a long distance, and the cost of communication does not increase significantly as the communication distance increases; finally, satellite communication has high stability and is not restricted by natural disasters.
[0039] According to the different orbital altitudes, communication satellites can usually be divided into low-Earth orbit (LEO) satellites, medium-Earth orbit (MEO) satellites, geostationary Earth orbit (GEO) satellites, high elliptical orbit (HEO) satellites, etc. At present, the main research is on LEO and GEO.
[0040] The LEO satellite altitude ranges from 500km to 1500km, and the corresponding orbital period is about 1.5 hours to 2 hours. The signal propagation delay of single-hop communication between users is generally less than 20ms. The maximum satellite visibility time is 20 minutes. The signal propagation distance is short, the link loss is small, and the transmission power requirement for the user terminal is not high.
[0041] GEO satellites have an orbital altitude of 35786km and a rotation period around the earth of 24 hours. The signal propagation delay of single-hop communication between users is generally 250ms.
[0042] In order to ensure satellite coverage and improve the system capacity of the entire satellite communication system, satellites use multiple beams to cover the ground. A satellite can form dozens or even hundreds of beams to cover the ground; a satellite beam can cover a ground area with a diameter of tens to hundreds of kilometers.
[0043] The NR HARQ mechanism is introduced below.
[0044] NR is equipped with two levels of retransmission mechanisms: the HARQ mechanism of the Media Access Control (MAC) layer and the ARQ mechanism of the RLC layer. The retransmission of lost or erroneous data is mainly handled by the HARQ mechanism of the MAC layer, and supplemented by the retransmission function of the RLC layer. The HARQ mechanism of the MAC layer can provide fast retransmission, and the ARQ mechanism of the RLC layer can provide reliable data transmission.
[0045] HARQ uses a stop-and-wait protocol to send data. In the stop-and-wait protocol, after the sender sends a transport block (TB), it stops and waits for confirmation information. In this way, the sender stops and waits for confirmation after each transmission, which will result in very low user throughput. Therefore, NR uses multiple parallel HARQ processes. When a HARQ process is waiting for confirmation information, the sender can use another HARQ process to continue sending data. These HARQ processes together form a HARQ entity, which combines the stop-and-wait protocol to allow continuous data transmission. HARQ is divided into uplink HARQ and downlink HARQ. Uplink HARQ is for uplink data transmission, and downlink HARQ is for downlink data transmission. The two are independent of each other.
[0046] Based on the current NR protocol regulations, the terminal has its own HARQ entity for each service cell. Each HARQ entity maintains a set of parallel downlink HARQ processes and a set of parallel uplink HARQ processes. Currently, each uplink and downlink carrier supports a maximum of 16 HARQ processes. The base station can indicate the maximum number of HARQ processes to the UE through the semi-static configuration of the radio resource control (RRC) signaling according to the network deployment. If the network does not provide the corresponding configuration parameters, the default number of HARQ processes for the downlink is 8, and the maximum number of HARQ processes supported by each uplink carrier is always 16. Each HARQ process corresponds to a HARQ process identifier (Identity, ID). For the downlink, the broadcast control channel (BCCH) uses a dedicated broadcast HARQ process. For the uplink, the Msg3 transmission in the random process uses HARQ ID 0.
[0047] For terminals that do not support downlink spatial division multiplexing, each downlink HARQ process can only process 1 TB at a time; for terminals that support downlink spatial division multiplexing, each downlink HARQ process can process 1 or 2 TBs at a time. Each uplink HARQ process of the terminal processes 1 TB at a time.
[0048] HARQ is divided into two categories in the time domain: synchronous and asynchronous, and in the frequency domain: non-adaptive and adaptive. NR uses asynchronous adaptive HARQ mechanism for both uplink and downlink. Asynchronous HARQ means that retransmission can occur at any time, and the time interval between the retransmission of the same TB and the last transmission is not fixed. Adaptive HARQ means that the frequency domain resources and modulation and coding scheme (MCS) used for retransmission can be changed.
[0049] The NR ARQ mechanism is introduced below.
[0050] Each logical channel of the UE has an RLC entity. An RLC entity can be configured in one of three modes: Transparent Mode (TM), Unacknowledged Mode (UM) and Acknowledged Mode (AM). Among them, only AM mode can support error detection and ARQ retransmission.
[0051] On the gNB side or UE side, an AM entity includes both the receiving side and the transmitting side, that is, it can send and receive data at the same time. The AM entity provides a two-way data transmission service.
[0052] The AM entity sends / receives two types of Protocol Data Units (PDUs), namely, RLC data PDUs and RLC control PDUs, wherein the RLC data PDUs are used to transmit data, and the RLC control PDUs are used to transmit status reports.
[0053] For the AM RLC entity, by detecting the sequence number (SN) of the received RLC data PDU, the receiving end can know which PDUs (or their segments) are lost and request the sending end to retransmit the lost PDUs (or their segments). The receiving end will tell the sending end which AMD PDUs have been successfully received and which AMD PDUs or segments have not been successfully received by sending a status report. After receiving the status report, the sending end will initiate an ARQ retransmission.
[0054] Specifically, there are two scenarios that can trigger a status report: Scenario 1: The sender initiates polling; Scenario 2: The re-assembly timer (t-Reassembly) times out, which means that an acknowledged mode data (AM Data, AMD) PDU has not been correctly received. If an AMD PDU segment is received from the MAC layer, and at least one byte of the corresponding service data unit (SDU) is lost, and t-Reassembly is not currently running, then t-Reassembly is started.
[0055] Figure 2 and Figure 3 shows two different formats of RLC control PDUs. The RLC control PDU (or it can also be called the RLC status PDU) consists of a status report PDU payload and an RLC status PDU header, as Figure 2 and Figure 3 shown, each line represents an octet. The RLC status PDU header consists of a data / control (D / C) indication field and a control PDU type (CPT) indication field. Among them, the D / C field is used to indicate whether the PDU is a data PDU or a control PDU; the CPT field is used to indicate the category of the RLC PDU.
[0056] The status PDU payload can include: an "acknowledge (ACK)_SN + E1", zero or more "non-acknowledge (NACK)_SN + E1 + E2 + E3" combinations and their possible SOstart (start) and SOend (end) or NACKrange (range) fields. Among them, "ACK_SN" corresponds to the SN value of the next RLC data PDU that has not been reported as lost in the status PDU and has not been received yet. When the sender receives a status PDU, except for those AMD PDUs indicated by NACK_SN and AMD PDU segments indicated by NACK_SN + E1 + E2 + E3, the sender considers that AMD PDUs with SN < ACK_SN have been successfully received by the peer.
[0057] It should be understood that ACK_SN is set to the SN of the next RLC data PDU that has not been received and is not indicated as lost in the status PDU. The value of ACK_SN is related to the resource size indicated by the MAC layer. When the resource size indicated by the MAC layer is not sufficient to accommodate the NACK information of all RLC data PDUs lost within the receive window, ACK_SN will be set to a value less than or equal to the upper boundary of the receive window.
[0058] "NACK_SN" corresponds to the SN value of the AMD PDU or AMD PDU segment that is considered lost by the receiving end. NACK_SN may correspond to a lost AMD PDU or a lost AMD PDU segment. If an AMD PDU is lost, there will be a corresponding "NACK_SN+E1+E2+E3" combination in the status PDU; if an AMD PDU segment is lost, there will be a corresponding "NACK_SN+E1+E2+E3+SOstart+SOend" combination in the status PDU. "SOstart" and "SOend" together indicate which part of the AMD PDU with SN=NACK_SN is lost. Among them, "SOstart" corresponds to the position of the first byte of the lost segment in the Data field of the original AMD PDU, and "SOend" corresponds to the position of the last byte of the lost segment in the Data field of the original AMD PDU.
[0059] The following is an introduction to NR logical channel priority (LCP) processing.
[0060] Similar to LTE, in NR, the network allocates uplink transmission resources on a per-UE basis rather than a per-bearer basis. The UE determines which radio bearer data can be placed in the allocated uplink transmission resources for transmission.
[0061] Based on the uplink transmission resources configured by the network, the UE needs to determine the amount of data to be transmitted for each logical channel in the initial MAC protocol data unit (PDU). In some cases, the UE also needs to allocate resources for the MACCE. In order to achieve multiplexing of uplink logical channels, a priority needs to be assigned to each uplink logical channel. For a MAC PDU of a given size, when there are multiple uplink logical channels with data transmission requirements at the same time, the resources of the MAC PDU are allocated in descending order according to the logical channel priorities corresponding to each uplink logical channel. At the same time, in order to take into account the fairness between different logical channels, the probability of the Prioritized Bit Rate (PBR) is introduced. When the UE performs logical channel multiplexing, it is necessary to first ensure the minimum data rate requirements of each logical channel, so as to avoid the situation where other uplink logical channels with low priority of the UE are "starved" because the uplink logical channels with high priority always occupy the uplink resources allocated to the UE by the network.
[0062] In order to achieve the multiplexing of uplink logical channels, the network usually configures the following parameters for each uplink logical channel through RRC: logical channel priority: the smaller the priority value, the higher the corresponding priority; PBR, indicating the minimum rate that the logical channel needs to guarantee; token bucket capacity (Bucket Size Duration, BSD): This parameter determines the depth of the token bucket.
[0063] The UE's MAC uses a token bucket mechanism to implement uplink logical channel multiplexing. Specifically, the UE maintains a variable Bj for each uplink logical channel j, which indicates the number of tokens currently available in the token bucket, as follows: when the UE establishes logical channel j, it initializes Bj to 0; before each LCP process, the UE increases Bj by PBR*T, where T is the time interval from the last time Bj was increased to the current time; if the updated Bj according to step 2 is greater than the maximum capacity of the token bucket (i.e., PBR*BSD), then Bj is set to the maximum capacity of the token bucket.
[0064] When the UE receives an uplink (UL) grant indicating a new transmission, the UE performs LCP processing according to the following steps.
[0065] Step 1: For all logical channels with Bj>0, resources are allocated in descending order of priority. The resources allocated to each logical channel can only meet the PBR requirements, that is, resources are allocated to the logical channel according to the number of tokens in the PBR token bucket corresponding to the logical channel. When the PBR of a logical channel is set to infinity, only when the resources of this logical channel are met will other logical channels with lower priority be considered.
[0066] Step 2: Subtract the size of all MAC service data units (SDUs) of logical channel j multiplexed into the MAC PDU in step 1 from Bj.
[0067] Step 3: If there are still uplink resources left after executing steps 1 and 2, the remaining resources are allocated to each logical channel in order of logical channel priority from high to low, regardless of the size of Bj of each logical channel (i.e., whether greater than 0, equal to 0, or less than 0). Only when the data of the high-priority logical channel has been sent and the ULgrant has not been exhausted, the low-priority logical channel can be served. That is, at this time, the UE maximizes the data transmission of the high-priority logical channel.
[0068] At the same time, the UE should also follow the following principles: if the entire RLC SDU can be filled into the remaining resources, the RLC SDU should not be segmented; if the UE segments the RLC SDU in the logical channel, it should try to fill the largest segment according to the size of the remaining resources; the UE should maximize data transmission; if the UL grant size is greater than or equal to 8 bytes and the UE has a data transmission requirement, the UE cannot send only padding Buffer Status Report (BSR) or only padding.
[0069] For different signals and / or logical channels, when the UE performs LCP processing, it is also necessary to follow the following priority order (arranged in order from high to low priority): Cell-Radio Network Temporary Identifier (C-RNTI) MAC control element (Control Element, CE) or data from the UL common control channel (common control channel, CCCH); Configured Grant Confirmation (Configured Grant Confirmation) MAC CE; BSR MAC CE used for other than padding BSR; Single Entry (Single Entry) Power Headroom Report (Power Headroom Report, PHR) MAC CE or multiple entry (Multiple Entry) PHR MAC CE; data from any logical channel except UL-CCCH; MAC CE for recommended bit rate query (Recommended bitratequery); BSR MAC CE for padding BSR.
[0070] In view of the large delay in wireless signal transmission between the terminal and the satellite in the NTN system, 3GPP is discussing the introduction of disabling the HARQ function to reduce data transmission delay during the NTN standardization process. When the HARQ function is disabled, RLC retransmission can be used to ensure transmission reliability. Therefore, it is necessary to study how to reduce the delay of RLC retransmission.
[0071] RLC retransmission is triggered by RLC status report, which is transmitted on PUSCH or PDSCH.
[0072] For downlink transmission, the network can increase the priority of the RLC status report during scheduling and give priority to transmitting the RLC status report, thereby reducing the scheduling delay of the RLC status report and triggering RLC retransmission as early as possible.
[0073] For uplink transmission, since the network allocates PUSCH resources based on the UE, which logical channels are transmitted on the resources allocated by the network is determined by the UE. Based on the current standard regulations, the UE multiplexes logical channels based on the logical channel priorities configured by the network. The main consideration for the priority configuration of logical channels is the service (Quality of Service, QoS) requirements. For each logical channel, whether it is the RLC status PDU or the RLC data PDU that needs to be transmitted is not distinguished during the logical channel multiplexing process. How to achieve fast transmission of the RLC status PDU requires a set of rules to be formulated at the standard level.
[0074] Therefore, an embodiment of the present application proposes a method for allocating resources to an uplink logical channel, which can solve the above problem.
[0075] Figure 4 The present invention provides a schematic flow chart of a method 200 for allocating resources for an uplink logical channel. The method 200 may be executed by a terminal device, for example, the terminal device may be Figure 1 The terminal equipment shown. Figure 2 As shown, the method 200 includes: S210, the terminal device determines the resource allocation priority of at least one uplink logical channel according to the bearer type of at least one uplink logical channel, and the bearer type indicates that the bearer of the uplink logical channel includes RLC status report and / or data.
[0076] Optionally, the method 200 may further include: the terminal device determines the bearer type of at least one uplink logical channel. Specifically, the AM entity can send / receive two types of PDUs, namely RLC data PDU and RLC control PDU, wherein the RLC data PDU is used to transmit data and the RLC control PDU is used to transmit status reports. Correspondingly, for any uplink logical channel, the uplink logical channel can be used to carry RLC status reports; or, the uplink logical channel can also be used to carry data; or, the uplink logical channel can also be used to carry RLC status reports and data. Therefore, the terminal device determines the bearer type of each logical channel, that is, determines that each logical channel is used to carry RLC status reports and / or data.
[0077] In S210, the terminal device may determine the resource allocation priority of each logical channel according to the bearer type of each logical channel, and the resource allocation priority is used to indicate the order of resource allocation for each logical channel.
[0078] like Figure 2 As shown, the method 200 also includes: S220, the terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel. Specifically, the terminal device determines the resource allocation priority of different logical channels according to the different bearer types of different logical channels; and allocates uplink resources to different logical channels in sequence according to the different resource allocation priorities. The uplink resource can be any uplink resource, for example, it can be a UL grant indicated by a network device received by the terminal device, or it can also be other uplink resources. The following will be described in detail in combination with several different situations.
[0079] Optionally, as a first embodiment, the terminal device may set the resource allocation priority of the uplink logical channel corresponding to the RLC status report to be greater than or equal to the resource allocation priority of the uplink logical channel corresponding to the data; in addition, when allocating uplink resources, it is roughly completed in two rounds. For each round of resource allocation, resources are first allocated to each uplink logical channel corresponding to the RLC status report, and then resources are allocated to each uplink logical channel corresponding to the data.
[0080] Specifically, S210 in the embodiment of the present application may include: the terminal device determines a first uplink logical channel set and a second uplink logical channel set in the at least one uplink logical channel according to the bearer type of the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the second uplink logical channel set includes data; the terminal device determines that the resource allocation priority of the uplink logical channel in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channel in the second uplink logical channel set.
[0081] That is to say, the terminal device divides the logical channels into two sets. For any uplink logical channel in at least one uplink logical channel, if the uplink logical channel corresponds to an RLC status report to be transmitted, then the uplink logical channel belongs to the first uplink logical channel set; if the uplink logical channel corresponds to data to be transmitted, then the uplink logical channel belongs to the second uplink logical channel set; if the uplink logical channel has both an RLC status report to be transmitted and data to be transmitted, then the uplink logical channel belongs to both the first uplink logical channel set and the second uplink logical channel set. That is, there may be uplink logical channels in the at least one uplink logical channel that belong to both the first uplink logical channel set and the second uplink logical channel set.
[0082] If the terminal device determines that the resource allocation priority of the uplink logical channel in the first uplink logical channel set is higher than or equal to the resource allocation priority of the uplink logical channel in the second uplink logical channel set, the terminal device can allocate uplink resources to at least one uplink logical channel according to the order of resource allocation priority.
[0083] Specifically, the uplink resource allocation process can be roughly divided into two rounds, and each round can be further divided into two stages. First, the first round of resource allocation process is introduced, and the process can further include a first stage and a second stage. For the first stage, the terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set, wherein, when allocating the uplink resources to any uplink logical channel in the first uplink logical channel set, for example, any uplink logical channel in the first uplink logical channel set is referred to as the first uplink logical channel, and the resources allocated to the first uplink logical channel meet the first requirement, which is: the resources allocated to the first uplink logical channel meet the requirement of the size of the minimum PDU of the RLC status report included in the first uplink logical channel.
[0084] It should be understood that for any uplink logical channel of the terminal device, the network device can configure a logical channel priority for it. For example, the smaller the value of the priority, the higher the priority of the corresponding logical channel. In order to distinguish it from the resource allocation priority, the priority configured by the network device is referred to as the configuration priority of the logical channel.
[0085] Optionally, the method 200 may also include: the terminal device receives RRC information sent by the network device, the RRC information including at least one of the following parameters: the configuration priority of the at least one uplink logical channel, the PBR of the at least one uplink logical channel, and the token bucket capacity BSD of the at least one uplink logical channel.
[0086] For the second stage, after completing the resource allocation of the first stage, that is, after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in turn according to the first requirement, if there are remaining resources, the first round of resource allocation for the logical channel data is continued, that is, for all uplink logical channels with Bj>0 in the second uplink logical channel set, resources are allocated in order from high to low priority, and the resources allocated to each uplink logical channel can only meet the PBR requirements.
[0087] Specifically, the remaining resources in the uplink resources are referred to as the first uplink resources. In the second stage, the terminal device allocates the first uplink resources to the uplink logical channels in the second uplink logical channel set whose token number Bj is greater than 0 in the second uplink logical channel set in order of configuration priority from high to low and in accordance with the PBR requirement. The PBR requirement is that the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0.
[0088] For the uplink logical channel j allocated resources in the second stage of the first round of resource allocation, its token number Bj is subtracted from the size of all MAC SDUs multiplexed into the MAC PDU by the logical channel j in the first round of resource allocation.
[0089] After completing the two stages of the first round of resource allocation, that is, after allocating the first uplink resource to each uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set in accordance with the PBR requirement, if there are still remaining resources, then continue to execute the second round of resource allocation process, which may further include a third stage and a fourth stage. For the third stage, the second round of resource allocation for the RLC status report will continue to be executed. Specifically, the resources remaining after the above allocation of the first uplink resources are referred to as second uplink resources, and the terminal device allocates the second uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set. Only when the RLC status PDUs of the uplink logical channels with high configuration priority have been sent and the uplink resources have not been exhausted, can resources be allocated to the RLC status PDUs of the uplink logical channels with low configuration priority. That is, at this time, the terminal device will maximize the transmission of the RLC status PDUs of the uplink logical channels with high configuration priority.
[0090] After completing the resource allocation of the third stage, that is, after allocating the second uplink resource to each uplink logical channel in the first uplink logical channel set in turn, if there are still remaining uplink resources, then regardless of the size of Bj, the remaining resources are allocated to each uplink logical channel in order from high to low in accordance with the configuration priority of the uplink logical channel. Specifically, the resources remaining after the above allocation of the second uplink resources are referred to as the third uplink resources. If there are remaining third uplink resources in the second uplink resources, the terminal device allocates the third uplink resources to the uplink logical channels in the second uplink logical channel set in order from high to low in accordance with the configuration priority of each uplink logical channel in the second uplink logical channel set.
[0091] The first embodiment described above will be described below by way of example with reference to the accompanying drawings.
[0092] Figure 5 FIG. 1 is a schematic diagram showing a method for uplink logical channel multiplexing according to an embodiment of the present application. Figure 5 As shown, it is assumed here that the UE has established four uplink logical channels (Logical Channel, LC), which are called LC1, LC2, LC3 and LC4 respectively. In addition, the UE receives the RRC configuration sent by the network device. According to the RRC configuration, the terminal device determines the configuration priority of the four logical channels in the order of LC1>LC2>LC3>LC4. At the same time, the terminal device can also determine the PBR and BSD of each uplink logical channel.
[0093] When the UE receives an UL grant from the network indicating an initial uplink transmission, such as Figure 5As shown, the UE completes logical channel multiplexing according to the following steps.
[0094] Step 1: Determine the candidate logical channels for this uplink transmission.
[0095] Assuming that LC2 and LC3 currently have RLC status reports to be transmitted, the first uplink logical channel set for this uplink transmission includes LC2 and LC3; assuming that LC1, LC2 and LC4 currently have data to be transmitted, the second uplink logical channel set for this uplink transmission includes LC1, LC2 and LC4. Among them, the resource allocation priority of LC2 and LC3 in the first uplink logical channel set is higher than the resource allocation priority of LC1, LC2 and LC4 in the second uplink logical channel set.
[0096] Step 2: Perform a first round of resource allocation according to the resource allocation priority and configuration priority of the four uplink logical channels. Step 2 may specifically include step 2.1 and step 2.2.
[0097] Step 2.1, firstly allocate resources for the RLC status reports of LC2 and LC3 in turn according to the size of the minimum RLC status PDU.
[0098] Step 2.2, after completing step 2.1, if there are still remaining resources, and assuming that the token numbers Bj of LC1, LC2 and LC4 are all greater than 0, then allocate resources that meet PBR to LC1, LC2 and LC4 in turn, and update the token numbers in the PBR token buckets of LC1, LC2 and LC4 according to the resource allocation results.
[0099] Step 3: After the first round of resource allocation is completed, if there are remaining resources, the second round of resource allocation is continued. Step 3 may specifically include step 3.1 and step 3.2.
[0100] Step 3.1, allocate resources for the RLC status reports of LC2 and LC3 in turn according to the actual RLC status PDU size requirements.
[0101] Step 3.2: After completing step 3.1, if there are any remaining resources, the remaining resources are allocated to LC1, LC2, and LC4 in turn according to the remaining data volume and the remaining resource volume. Figure 5 As shown, after the resource allocation to LC1 and LC2 is completed, assuming that there are no remaining resources, resources will no longer be allocated to LC4; but on the contrary, if the resources are sufficient, resources can continue to be allocated to LC4.
[0102] Optionally, as a second embodiment, similar to the first embodiment, the terminal device may set the resource allocation priority of the RLC status report corresponding to the uplink logical channel to be greater than or equal to the resource allocation priority of the data corresponding to the uplink logical channel; however, when allocating uplink resources, the terminal device will allocate resources to the data corresponding to each uplink logical channel after completing the resource allocation for the RLC status reports corresponding to all uplink logical channels.
[0103] Specifically, the same as the first embodiment is that: the terminal device determines a first uplink logical channel set and a second uplink logical channel set in the at least one uplink logical channel, and determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the second uplink logical channel set, which will not be repeated here for the sake of brevity.
[0104] The second embodiment is different from the first embodiment in the resource allocation process. Specifically, in the second embodiment, the uplink resource allocation process is roughly divided into two rounds, the first round is to allocate resources to the first uplink logical channel set, that is, the terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set; the second round is to allocate resources to the second uplink logical channel set, that is, after executing the first round of resource allocation, if there are still remaining uplink resources, the terminal device allocates uplink resources to the uplink logical channels in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
[0105] First, the first round of resource allocation process is introduced, which may further include a first stage and a second stage. For the first stage, according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low, resources are allocated to the RLC status report of each uplink logical channel in turn according to the size of the minimum RLC status PDU. Specifically, the first stage is the same as the first stage in the first round of resource allocation process described in the first embodiment, and for the sake of brevity, it will not be repeated here.
[0106] For the second stage, after completing the resource allocation of the first stage, that is, after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in turn according to the first requirement, if there are still remaining resources, then according to the remaining RLC status PDU to be transmitted and the remaining resources, the remaining resources are allocated to the RLC status PDU of each logical channel in order from high to low according to the configuration priority of the logical channel. Specifically, the remaining resources in the uplink resources are referred to as the first uplink resources here. Then, in the second stage, if there are remaining first uplink resources in the uplink resources, the terminal device allocates the first uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low according to the configuration priority of each uplink logical channel in the first uplink logical channel set.
[0107] After completing the two stages of the first round of resource allocation, that is, after allocating uplink resources to each uplink logical channel in the first uplink logical channel set, if there are remaining resources in the uplink resources, continue to execute the second round of resource allocation, that is, resource allocation for logical channel data.
[0108] Specifically, the second round of resource allocation process can also be further divided into two stages, which are referred to as the third stage and the fourth stage. In the third stage, that is, after allocating uplink resources to each uplink logical channel in the first uplink logical channel set, the resources remaining after the first round of resource allocation are referred to as the fourth uplink resources. If there are remaining fourth uplink resources in the uplink resources, the terminal device allocates the fourth uplink resources to the uplink logical channels with a token number Bj greater than 0 in the second uplink logical channel set in order of the configuration priority of each uplink logical channel in the second uplink logical channel set from high to low, and in accordance with the PBR requirement, wherein the PBR requirement is: the resources allocated to the second uplink logical channel only meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set, that is, resources are allocated to the uplink logical channel j according to the token number Bj in the PBR token bucket corresponding to the uplink logical channel j in the second uplink logical channel set.
[0109] For the uplink logical channel j allocated resources in the third stage, its token number Bj is subtracted from the size of all MAC SDUs multiplexed into the MAC PDU by the logical channel j during this resource allocation process.
[0110] After completing the resource allocation of the third stage, that is, after allocating the fourth uplink resource to each uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0 in accordance with the PBR requirements, the remaining resources are allocated to each logical channel in order from high to low according to the configuration priority of the logical channel, regardless of the size of Bj. Specifically, the resources remaining after the above allocation of the fourth uplink resource are referred to as the fifth uplink resource. If there are remaining fifth uplink resources in the fourth uplink resource, the terminal device allocates the fifth uplink resource to the uplink logical channels in the second uplink logical channel set in order from high to low according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
[0111] The second embodiment described above will be described below by way of example with reference to the accompanying drawings.
[0112] Figure 6 FIG. 2 is a schematic diagram showing another method for uplink logical channel multiplexing according to an embodiment of the present application. Figure 6 As shown, Figure 5 The embodiment shown is similar, and it is still assumed here that the UE establishes four uplink logical channels, which are called LC1, LC2, LC3 and LC4 respectively. In addition, the UE receives the RRC configuration sent by the network device, and according to the RRC configuration, the terminal device determines the configuration priority of the four logical channels in the order of LC1>LC2>LC3>LC4, and at the same time, the terminal device can also determine the PBR and BSD of each uplink logical channel.
[0113] When the UE receives an UL grant from the network indicating an initial uplink transmission, such as Figure 6 As shown, the UE completes logical channel multiplexing according to the following steps.
[0114] Step 1: Determine the candidate logical channels for this uplink transmission.
[0115] and Figure 5 The embodiment shown is similar, and it is still assumed that LC2 and LC3 currently have RLC status reports to be transmitted, then the first uplink logical channel set of this uplink transmission includes LC2 and LC3; and it is assumed that LC1, LC2 and LC4 currently have data to be transmitted, then the second uplink logical channel set of this uplink transmission includes LC1, LC2 and LC4. Among them, the resource allocation priority of LC2 and LC3 in the first uplink logical channel set is higher than the resource allocation priority of LC1, LC2 and LC4 in the second uplink logical channel set.
[0116] Step 2: Execute the first round of resource allocation to allocate resources for uplink logical channels corresponding to RLC status reports, namely, LC2 and LC3 in the first uplink logical channel set. Step 2 may specifically include step 2.1 and step 2.2.
[0117] Step 2.1, allocate resources for the RLC status reports of LC2 and LC3 in turn according to the size of the minimum RLC status PDU.
[0118] Step 2.2, after completing the resource allocation in step 2.1, if there are remaining resources, resources are allocated to the RLC status reports of LC2 and LC3 in turn according to the actual RLC status PDU size requirements.
[0119] Step 3: After completing the resource allocation for the RLC status report in step 2, if there are remaining resources, continue to perform the second round of resource allocation to allocate resources for the uplink logical channel data, that is, allocate resources for LC1, LC2 and LC4 in the second uplink logical channel set. Step 3 may specifically include step 3.1 and step 3.2.
[0120] In step 3.1, assuming that the token numbers Bj of LC1, LC2, and LC4 are all greater than 0, resources that meet the PBR are allocated to LC1, LC2, and LC4 in turn, and the token numbers in the PBR token buckets of LC1, LC2, and LC4 are updated according to the resource allocation results.
[0121] Step 3.2: After completing the resource allocation in step 3.1, if there are any remaining resources, the remaining resources are allocated to LC1, LC2, and LC4 in turn according to the remaining data amount and the remaining resource amount. Figure 6 As shown, after the resource allocation to LC1 and LC2 is completed, assuming that there are no remaining resources, resources will no longer be allocated to LC4; but on the contrary, if the resources are sufficient, resources can continue to be allocated to LC4.
[0122] Optionally, as a third embodiment, similar to the second embodiment, the terminal device may set the resource allocation priority of the RLC status report corresponding to the uplink logical channel to be greater than or equal to the resource allocation priority of the data corresponding to the uplink logical channel; when allocating uplink resources, the terminal device will allocate resources for the data corresponding to each uplink logical channel after completing the resource allocation for the RLC status report corresponding to all uplink logical channels. However, in this third embodiment, the way in which the terminal device allocates resources for the RLC status report corresponding to the uplink logical channel is different from that in the second embodiment.
[0123] Specifically, the same as the first and second embodiments is that: the terminal device determines a first uplink logical channel set and a second uplink logical channel set in the at least one uplink logical channel, and determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the second uplink logical channel set, which will not be repeated here for the sake of brevity.
[0124] The third embodiment is different from the second embodiment in the resource allocation process. Specifically, in the third embodiment, the uplink resource allocation process is roughly divided into two rounds, the first round is to allocate resources to the first uplink logical channel set, that is, the terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set; the second round is to allocate resources to the second uplink logical channel set, that is, after executing the first round of resource allocation, if there are still uplink resources remaining, the terminal device allocates uplink resources to the uplink logical channels in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
[0125] The third embodiment is different from the first round of resource allocation process in the second embodiment when performing the first round of resource allocation, but the second round of resource allocation process in the third embodiment is the same as the second round of resource allocation process in the second embodiment. Therefore, the first round of resource allocation process in the third embodiment will be described below, and for the sake of brevity, the second round of resource allocation process in the third embodiment will not be described in detail.
[0126] In the first round of resource allocation process, the terminal device allocates resources for the RLC status report of each logical channel in the first uplink logical channel set in order of configuration priority from high to low according to the size requirement of the RLC status PDU. Specifically, the terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set in order of configuration priority from high to low for each uplink logical channel in the first uplink logical channel set and in accordance with the second requirement. Wherein, when allocating the uplink resources to any one of the uplink logical channels in the first uplink logical channel set, for example, any one of the uplink logical channels in the first uplink logical channel set is referred to as the first uplink logical channel, and the resources allocated to the first uplink logical channel meet the second requirement, which is: the resources allocated to the first uplink logical channel meet the size requirement of the RLC status report included in the first uplink logical channel.
[0127] That is to say, only when the RLC status PDUs of the high-priority logical channels have been sent and the uplink resources have not been exhausted, can the RLC status PDUs of the low-priority logical channels be allocated resources, that is, at this time, the terminal device can maximize the transmission of the RLC status PDUs of the high-priority logical channels.
[0128] The third embodiment described above will be described below by way of example with reference to the accompanying drawings.
[0129] Figure 7 FIG. 2 is a schematic diagram showing another method for uplink logical channel multiplexing according to an embodiment of the present application. Figure 7 As shown, Figure 6 The embodiment shown is similar, and it is still assumed here that the UE establishes four uplink logical channels, which are called LC1, LC2, LC3 and LC4 respectively. In addition, the UE receives the RRC configuration sent by the network device, and according to the RRC configuration, the terminal device determines the configuration priority of the four logical channels in the order of LC1>LC2>LC3>LC4, and at the same time, the terminal device can also determine the PBR and BSD of each uplink logical channel.
[0130] When the UE receives an UL grant from the network indicating an initial uplink transmission, such as Figure 7 As shown, the UE completes logical channel multiplexing according to the following steps.
[0131] Step 1: Determine the candidate logical channels for this uplink transmission.
[0132] and Figure 6 The embodiment shown is similar, and it is still assumed that LC2 and LC3 currently have RLC status reports to be transmitted, then the first uplink logical channel set of this uplink transmission includes LC2 and LC3; and it is assumed that LC1, LC2 and LC4 currently have data to be transmitted, then the second uplink logical channel set of this uplink transmission includes LC1, LC2 and LC4. Among them, the resource allocation priority of LC2 and LC3 in the first uplink logical channel set is higher than the resource allocation priority of LC1, LC2 and LC4 in the second uplink logical channel set.
[0133] Step 2: Perform the first round of resource allocation to allocate resources for the RLC status reports corresponding to the uplink logical channels, i.e., LC2 and LC3 in the first uplink logical channel set. Specifically, in the order of configuration priorities of LC2 and LC3, resources are allocated to the RLC status reports of LC2 and LC3 in turn according to the actual RLC status PDU size requirements.
[0134] Step 3: After completing the resource allocation for the RLC status report in step 2, if there are remaining resources, continue to perform the second round of resource allocation to allocate resources for the uplink logical channel data, that is, allocate resources for LC1, LC2 and LC4 in the second uplink logical channel set. Step 3 may specifically include step 3.1 and step 3.2.
[0135] In step 3.1, assuming that the token numbers Bj of LC1, LC2, and LC4 are all greater than 0, resources that meet the PBR are allocated to LC1, LC2, and LC4 in turn, and the token numbers in the PBR token buckets of LC1, LC2, and LC4 are updated according to the resource allocation results.
[0136] Step 3.2: After completing the resource allocation in step 3.1, if there are any remaining resources, the remaining resources are allocated to LC1, LC2, and LC4 in turn according to the remaining data amount and the remaining resource amount. Figure 7 As shown, after the resource allocation to LC1 and LC2 is completed, assuming that there are no remaining resources, resources will no longer be allocated to LC4; but on the contrary, if the resources are sufficient, resources can continue to be allocated to LC4.
[0137] Optionally, as a fourth embodiment, the terminal device may set the resource allocation priority of the uplink logical channel to which the RLC status report is to be transmitted to be greater than or equal to the resource allocation priority of the uplink logical channel to which no RLC status report is to be transmitted. In addition, when allocating uplink resources, it is roughly completed in two rounds, and for each round of resource allocation, resources are allocated in sequence according to the resource allocation priority of the logical channel. The first round allocates resources that meet the PBR, and the second round allocates resources according to the remaining amount of data to be transmitted.
[0138] Specifically, different from the previous three embodiments, in the fourth embodiment, S210 in method 200 may specifically include: the terminal device determines a first uplink logical channel set and a third uplink logical channel set in at least one uplink logical channel according to the bearer type of the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the third uplink logical channel set does not include an RLC status report; the terminal device determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the third uplink logical channel set.
[0139] That is to say, the terminal device divides the logical channels into two sets, wherein the first uplink logical channel set is consistent with the concept of the first uplink logical channel set in the previous three embodiments, and for any uplink logical channel of at least one uplink logical channel, if the uplink logical channel corresponds to an RLC status report to be transmitted, then the uplink logical channel belongs to the first uplink logical channel set; if the uplink logical channel has no RLC status report to be transmitted but has data to be transmitted, for example, the uplink logical channel is only used to carry data, then the uplink logical channel belongs to the third uplink logical channel set. That is to say, each uplink logical channel belongs to at most one uplink logical channel set. If an uplink logical channel has both an RLC status report to be transmitted and data to be transmitted, then the uplink logical channel belongs to the first uplink logical channel set, and does not belong to the second uplink logical channel set.
[0140] In addition, the terminal device determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than or equal to the resource allocation priority of the uplink logical channels in the third uplink logical channel set; and for the uplink logical channels in the same uplink logical channel set, the configuration priority can be determined as the resource allocation priority, that is, the terminal device determines the configuration priority of each uplink logical channel in the first uplink logical channel set as the resource allocation priority; the terminal device determines the configuration priority of each uplink logical channel in the third uplink logical channel set as the resource allocation priority.
[0141] The terminal device can allocate uplink resources to at least one uplink logical channel according to the order of resource allocation priority of each uplink logical channel. Specifically, the uplink resource allocation process can be roughly divided into two rounds. First, the first round of resource allocation process is introduced, and the terminal device allocates resources that meet the PBR to the uplink logical channel. For the first uplink logical channel set and all uplink logical channels with Bj>0 in the third uplink logical channel, resources are allocated in order from high to low in resource allocation priority. The resources allocated to each uplink logical channel can only meet the PBR requirements, that is, resources are allocated to the logical channel according to the number of tokens Bj in the PBR token bucket corresponding to the logical channel j.
[0142] Specifically, the terminal device allocates the uplink resources to the uplink logical channels with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in order of the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set from high to low, and in accordance with the PBR requirement, wherein the PBR requirement is: the resources allocated to the third uplink logical channel meet the PBR requirement of the third uplink logical channel, and the third uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set.
[0143] For the uplink logical channel j allocated resources in the first round of resource allocation process, its token number Bj is subtracted from the size of all MAC SDUs multiplexed into the MAC PDU by the logical channel j in the first round of resource allocation process.
[0144] After completing the above-mentioned first round of resource allocation, that is, after allocating the uplink resources to each uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in turn according to the PBR requirement, if there are any remaining uplink resources, regardless of the size of Bj, the remaining resources are allocated to each logical channel in turn according to the resource allocation priority of the logical channel from high to low.
[0145] Specifically, the resources remaining after the first round of resource allocation is executed are referred to as the sixth uplink resources. If there are remaining sixth uplink resources in the uplink resources, the terminal device allocates the sixth uplink resources to the uplink logical channels in the first uplink logical channel set and the third uplink logical channel set in order of the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set from high to low.
[0146] The fourth embodiment described above will be described below by way of example with reference to the accompanying drawings.
[0147] Figure 8 FIG. 2 is a schematic diagram showing another method for uplink logical channel multiplexing according to an embodiment of the present application. Figure 8 As shown, it is assumed here that the UE has established four uplink logical channels, namely LC1, LC2, LC3 and LC4. In addition, the UE receives the RRC configuration sent by the network device. According to the RRC configuration, the terminal device determines the configuration priority of the four logical channels in the order of LC1>LC2>LC3>LC4. At the same time, the terminal device can also determine the PBR and BSD of each uplink logical channel.
[0148] When the UE receives an UL grant from the network indicating an initial uplink transmission, such as Figure 8 As shown, the UE completes logical channel multiplexing according to the following steps.
[0149] Step 1: Determine the candidate logical channels and resource allocation priorities for this uplink transmission.
[0150] Assuming that LC2 and LC3 currently have RLC status reports to be transmitted, and LC1, LC2 and LC4 currently have uplink data to be transmitted, that is, LC2 and LC3 have RLC status reports to be transmitted, and LC1 and LC4 have no RLC status reports to be transmitted, it is determined that the first uplink logical channel set of this uplink transmission includes LC2 and LC3, and the third uplink logical channel set includes LC1 and LC4. The resource allocation priority of LC2 and LC3 in the first uplink logical channel set is higher than the resource allocation priority of LC1 and LC4 in the third uplink logical channel set. Therefore, the resource allocation priority of the four uplink logical channels is LC2>LC3>LC1>LC4.
[0151] Step 2: Perform the first round of resource allocation according to the resource allocation priority of the four uplink logical channels from high to low. Specifically, assuming that the token numbers Bj of the four logical channels are all greater than 0, allocate resources that meet the PBR to LC2, LC3, LC1 and LC4 in turn, and update the token numbers in the PBR token buckets of the four logical channels according to the resource allocation results.
[0152] Step 3: After the first round of resource allocation is completed, if there are any remaining resources, the second round of resource allocation is continued, that is, the remaining resources are allocated to LC2, LC3, LC1 and LC4 in turn according to the remaining data amount and the remaining resource amount.
[0153] Optionally, in the case of determining the first uplink logical channel set and the third uplink logical channel set as described in the fourth embodiment, according to the principle that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than that of the uplink logical channels in the third uplink logical channel set, in addition to allocating uplink resources in the manner described in the fourth embodiment, other methods may also be used for resource allocation, but the embodiments of the present application are not limited to this.
[0154] For example, in the first round of resource allocation process, uplink resources may be allocated only to the uplink logical channels in the first uplink logical channel set, and the second round of resource allocation process is the same as that of the fourth embodiment. Fig. 9 FIG. 2 is a schematic diagram showing another method for uplink logical channel multiplexing according to an embodiment of the present application. Fig. 9 As shown, Figure 8 Similarly, it is still assumed here that the UE has established four uplink logical channels, namely LC1, LC2, LC3 and LC4. In addition, the UE receives the RRC configuration sent by the network device. According to the RRC configuration, the terminal device determines the configuration priority of the four logical channels in the order of LC1>LC2>LC3>LC4. At the same time, the terminal device can also determine the PBR and BSD of each uplink logical channel.
[0155] When the UE receives an UL grant from the network indicating an initial uplink transmission, such as Fig. 9 As shown, the UE completes logical channel multiplexing according to the following steps.
[0156] Step 1: Determine the candidate logical channels and resource allocation priorities for this uplink transmission.
[0157] Assuming that currently LC2 and LC3 have RLC status reports to be transmitted, and currently LC1, LC2 and LC4 have uplink data to be transmitted, that is, LC2 and LC3 have RLC status reports to be transmitted, and LC1 and LC4 have no RLC status reports to be transmitted, it is determined that the first uplink logical channel set of this uplink transmission includes LC2 and LC3, and the third uplink logical channel set includes LC1 and LC4. The resource allocation priority of LC2 and LC3 in the first uplink logical channel set is higher than the resource allocation priority of LC1 and LC4 in the third uplink logical channel set.
[0158] Step 2: Perform the first round of resource allocation according to the configuration priority of the uplink logical channels in the first uplink logical channel set from high to low. Specifically, assuming that the token numbers Bj of LC2 and LC3 are both greater than 0, allocate resources that meet the PBR to LC2 and LC3 in turn, and update the token numbers in the PBR token buckets of the two logical channels according to the resource allocation results.
[0159] Step 3: After the first round of resource allocation is completed, if there are any remaining resources, the second round of resource allocation is continued, that is, the remaining resources are allocated to LC2, LC3, LC1 and LC4 in turn according to the remaining data amount and the remaining resource amount.
[0160] It should be understood that the size of the minimum PDU of the RLC status report in each embodiment of the present application can be a predefined value, for example, it can be a fixed value specified by the standard; or, the size of the minimum PDU of the RLC status report can also be sent by the terminal device from the RLC layer to the MAC layer, that is, the RLC entity notifies the MAC entity, for example, it can be implemented through the interface between the RLC and MAC layers.
[0161] Therefore, in the method for allocating resources for the uplink logical channel in an embodiment of the present application, the terminal device, based on the different logical channel bearer types, prioritizes allocating resources for the RLC status report in the process of completing uplink logical channel multiplexing according to the uplink transmission resources allocated by the network device. This can reduce the scheduling delay of the RLC status report and achieve RLC express retransmission.
[0162] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0163] Combined with the above Figures 1 to 9 , describes in detail the method for allocating resources for an uplink logical channel according to an embodiment of the present application, and will now be combined with Figures 10 to 13 , describing a communication device according to an embodiment of the present application.
[0164] like Fig.10 As shown, the terminal device 300 according to the embodiment of the present application includes: a processing unit 310; optionally, the terminal device 300 may also include a transceiver unit 320. Specifically, the processing unit 310 is used to: determine the resource allocation priority of at least one uplink logical channel according to the bearer type of at least one uplink logical channel, the bearer type indicating that the bearer of the uplink logical channel includes an RLC status report and / or data; and allocate uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel.
[0165] Optionally, as an embodiment, the processing unit 310 is used to: determine a first uplink logical channel set and a second uplink logical channel set in at least one uplink logical channel according to the bearer type of the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the second uplink logical channel set includes data; determine that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the second uplink logical channel set.
[0166] Optionally, as an embodiment, the processing unit 310 is used to: allocate the uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set and in accordance with a first requirement, wherein the first requirement is that the resources allocated to the first uplink logical channel meet the size requirement of the minimum protocol data unit PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set.
[0167] The processing unit 310 is also used to: after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in turn according to the first requirement, if there are remaining first uplink resources in the uplink resources, allocate the first uplink resources to the uplink logical channels in the second uplink logical channel set whose token number Bj is greater than 0 in turn according to the configuration priority of each uplink logical channel in the second uplink logical channel set from high to low and according to the priority bit rate PBR requirement, wherein the PBR requirement is: the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0.
[0168] The processing unit 310 is also used to: after allocating the first uplink resources to each uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0 in accordance with the PBR requirement, if there are remaining second uplink resources in the first uplink resources, allocate the second uplink resources to the uplink logical channels in the first uplink logical channel set in descending order of the configuration priority of each uplink logical channel in the first uplink logical channel set.
[0169] The processing unit 310 is also used to: after allocating the second uplink resources to each uplink logical channel in the first uplink logical channel set in turn, if there are remaining third uplink resources in the second uplink resources, allocate the third uplink resources to the uplink logical channels in the second uplink logical channel set in turn according to the configuration priority of each uplink logical channel in the second uplink logical channel set from high to low.
[0170] Optionally, as an embodiment, the processing unit 310 is used to: allocate the uplink resources to the uplink logical channels in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set; after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set, if there are remaining fourth uplink resources in the uplink resources, allocate the fourth uplink resources to the uplink logical channels in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
[0171] Optionally, as an embodiment, the processing unit 310 is used to: allocate the uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set and in accordance with a first requirement, wherein the first requirement is: the resources allocated to the first uplink logical channel meet the requirement of the size of the minimum PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set; after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in order according to the first requirement, if there are remaining first uplink resources in the uplink resources, allocate the first uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set.
[0172] Optionally, as an embodiment, the processing unit 310 is used to: allocate the uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set and in accordance with a second requirement, wherein the second requirement is that the resources allocated to the first uplink logical channel meet the size requirement of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set.
[0173] Optionally, as an embodiment, the processing unit 310 is used to: allocate the fourth uplink resource to the uplink logical channels with a token number Bj greater than 0 in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set and in accordance with a priority bit rate PBR requirement, wherein the PBR requirement is: the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set; after allocating the fourth uplink resource to each uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set in accordance with the PBR requirement, if there are remaining fifth uplink resources in the fourth uplink resources, allocate the fifth uplink resource to the uplink logical channels in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set.
[0174] Optionally, as an embodiment, the size of the minimum PDU of the RLC status report is a preset value; or the size of the minimum PDU of the RLC status report is sent by the terminal device from the RLC layer to the medium access control MAC layer.
[0175] Optionally, as an embodiment, there is an uplink logical channel in the at least one uplink logical channel that belongs to both the first uplink logical channel set and the second uplink logical channel set.
[0176] Optionally, as an embodiment, the processing unit 310 is used to: determine a first uplink logical channel set and a third uplink logical channel set in at least one uplink logical channel according to the bearer type of the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the third uplink logical channel set does not include an RLC status report; and determine that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the third uplink logical channel set.
[0177] Optionally, as an embodiment, each uplink logical channel in the third uplink logical channel set carries data.
[0178] Optionally, as an embodiment, the processing unit 310 is used to: determine the configuration priority of each uplink logical channel in the first uplink logical channel set as the resource allocation priority; determine the configuration priority of each uplink logical channel in the third uplink logical channel set as the resource allocation priority.
[0179] Optionally, as an embodiment, the processing unit 310 is used to: allocate the uplink resources to the uplink logical channels with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in order of resource allocation priority from high to low, and in accordance with the PBR requirement, wherein the PBR requirement is: the resources allocated to the third uplink logical channel meet the PBR requirement of the third uplink logical channel, and the third uplink logical channel is the first uplink logical channel set and the third uplink logical channel set. any uplink logical channel in the logical channel set whose token number Bj is greater than 0; after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set in turn according to the PBR requirement, if there are remaining sixth uplink resources in the uplink resources, allocate the sixth uplink resources to the uplink logical channels in the first uplink logical channel set and the third uplink logical channel set in turn according to the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set from high to low.
[0180] Optionally, as an embodiment, the transceiver unit 320 is used to: receive wireless resource control RRC information sent by a network device, the RRC information including at least one of the following parameters: the configuration priority of the at least one uplink logical channel, the PBR of the at least one uplink logical channel, and the token bucket capacity BSD of the at least one uplink logical channel.
[0181] It should be understood that the above and other operations and / or functions of each unit in the terminal device 300 of the embodiment of the present application are respectively to achieve Figures 1 to 9 For the sake of brevity, the corresponding processes of the terminal device in each method are not repeated here.
[0182] Therefore, the terminal device of the embodiment of the present application, according to the different logical channel bearer types, prioritizes the allocation of resources for the RLC status report in the process of completing uplink logical channel multiplexing according to the uplink transmission resources allocated by the network device. This can reduce the scheduling delay of the RLC status report and achieve RLC express retransmission.
[0183] Fig.11 It is a schematic structural diagram of a communication device 400 provided in an embodiment of the present application. Fig.11 The communication device 400 shown includes a processor 410, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0184] Alternatively, if Fig.11 As shown, the communication device 400 may further include a memory 420. The processor 410 may call and run a computer program from the memory 420 to implement the method in the embodiment of the present application.
[0185] The memory 420 may be a separate device independent of the processor 410 , or may be integrated into the processor 410 .
[0186] Alternatively, if Fig.11 As shown, the communication device 400 may further include a transceiver 430, and the processor 410 may control the transceiver 430 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0187] The transceiver 430 may include a transmitter and a receiver. The transceiver 430 may further include an antenna, and the number of the antennas may be one or more.
[0188] Optionally, the communication device 400 may specifically be a network device of an embodiment of the present application, and the communication device 400 may implement corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0189] Optionally, the communication device 400 may specifically be a mobile terminal / terminal device of an embodiment of the present application, and the communication device 400 may implement the corresponding processes implemented by the mobile terminal / terminal device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0190] Fig.12 It is a schematic structural diagram of the chip of an embodiment of the present application. Fig.12 The chip 500 shown includes a processor 510, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0191] Alternatively, if Fig.12 As shown, the chip 500 may further include a memory 520. The processor 510 may call and run a computer program from the memory 520 to implement the method in the embodiment of the present application.
[0192] The memory 520 may be a separate device independent of the processor 510 , or may be integrated into the processor 510 .
[0193] Optionally, the chip 500 may further include an input interface 530. The processor 510 may control the input interface 530 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0194] Optionally, the chip 500 may further include an output interface 540. The processor 510 may control the output interface 540 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0195] Optionally, the chip can be applied to the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0196] Optionally, the chip can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0197] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0198] Fig.13 600 is a schematic block diagram of a communication system 600 provided in an embodiment of the present application. Fig.13 As shown, the communication system 600 includes a terminal device 610 and a network device 620 .
[0199] Among them, the terminal device 610 can be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 620 can be used to implement the corresponding functions implemented by the network device in the above method. For the sake of brevity, they will not be repeated here.
[0200] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0201] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0202] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
[0203] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
[0204] Optionally, the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0205] Optionally, the computer-readable storage medium can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0206] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0207] Optionally, the computer program product can be applied to the network device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0208] Optionally, the computer program product can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0209] The embodiment of the present application also provides a computer program.
[0210] Optionally, the computer program can be applied to the network device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in the various methods in the embodiments of the present application. For the sake of brevity, they are not described here.
[0211] Optionally, the computer program can be applied to the mobile terminal / terminal device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0212] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0213] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0214] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0215] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0216] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0217] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0218] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for allocating resources for an uplink logical channel, characterized in that: include: The terminal device determines, according to a bearer type of at least one uplink logical channel, a resource allocation priority of the at least one uplink logical channel, wherein the bearer type indicates that the bearer of the uplink logical channel includes a radio link control RLC status report and / or data; the terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel; The terminal device determines the resource allocation priority of at least one uplink logical channel according to the bearer type of at least one uplink logical channel, including: the terminal device determines a first uplink logical channel set and a second uplink logical channel set in the at least one uplink logical channel according to the bearer type of the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the second uplink logical channel set includes data; and the terminal device determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the second uplink logical channel set; and The terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel, including: the terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set and in accordance with a first requirement, wherein the first requirement is: the resources allocated to the first uplink logical channel meet the size requirement of the minimum protocol data unit PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set; after allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in accordance with the first requirement, if there are remaining first uplink resources in the uplink resources, the terminal device allocates the uplink resources to the uplink logical channels in the second uplink logical channel set whose token number Bj is greater than 0 in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set and in accordance with a priority bit rate PBR requirement. Allocate the first uplink resource, wherein the PBR requirement is: the resource allocated to the second uplink logical channel meets the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0; after allocating the first uplink resource to each uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0 in accordance with the PBR requirement, if there are remaining second uplink resources in the first uplink resources, the terminal device allocates the second uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set; and after allocating the second uplink resource to each uplink logical channel in the first uplink logical channel set in order, if there are remaining third uplink resources in the second uplink resources, the terminal device allocates the third uplink resources to the uplink logical channels in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set.
2. The method according to claim 1, characterized in that The terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel, including: The terminal device allocates the uplink resource to the uplink logical channel in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set; After allocating the uplink resources to each uplink logical channel in the first uplink logical channel set, if there are remaining fourth uplink resources in the uplink resources, the terminal device allocates the fourth uplink resources to the uplink logical channels in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
3. The method according to claim 2, characterized in that The terminal device allocating the uplink resource to the uplink logical channel in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set, including: The terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set in sequence according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low, and according to the first requirement, wherein the first requirement is: the resources allocated to the first uplink logical channel meet the requirement of the size of the minimum PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set; After allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in accordance with the first requirement, if there are remaining first uplink resources in the uplink resources, the terminal device allocates the first uplink resources to the uplink logical channels in the first uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the first uplink logical channel set.
4. The method according to claim 2, characterized in that: The terminal device allocating the uplink resource to the uplink logical channel in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set, including: The terminal device allocates the uplink resources to the uplink logical channels in the first uplink logical channel set in sequence according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low and according to the second requirement, wherein the second requirement is that the resources allocated to the first uplink logical channel meet the size requirement of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set.
5. The method according to claim 2, characterized in that: The terminal device allocating the fourth uplink resource to the uplink logical channel in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set, including: The terminal device allocates the fourth uplink resource to the uplink logical channels with a token number Bj greater than 0 in the second uplink logical channel set in order from high to low according to the configuration priority of each uplink logical channel in the second uplink logical channel set and according to the priority bit rate PBR requirement, wherein the PBR requirement is: the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set; After allocating the fourth uplink resources to each uplink logical channel in the second uplink logical channel set whose token number Bj is greater than O in accordance with the PBR requirement, if there are remaining fifth uplink resources in the fourth uplink resources, the terminal device allocates the fifth uplink resources to the uplink logical channels in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set.
6. The method according to claim 1, characterized in that The size of the minimum PDU of the RLC status report is a preset value; or, The minimum PDU size of the RLC status report is sent by the terminal device from the RLC layer to the medium access control MAC layer.
7. The method according to claim 1, characterized in that Among the at least one uplink logical channel, there is an uplink logical channel that belongs to both the first uplink logical channel set and the second uplink logical channel set.
8. The method according to claim 1, characterized in that The terminal device determines, according to the bearer type of at least one uplink logical channel, a resource allocation priority of the at least one uplink logical channel, including: The terminal device determines, according to the bearer type of at least one uplink logical channel, a first uplink logical channel set and a third uplink logical channel set in the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the third uplink logical channel set does not include an RLC status report; The terminal device determines that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the third uplink logical channel set.
9. The method according to claim 8, characterized in that Each uplink logical channel in the third uplink logical channel set carries data.
10. The method according to claim 8, characterized in that The terminal device determines, according to the bearer type of at least one uplink logical channel, a resource allocation priority of the at least one uplink logical channel, including: The terminal device determines the configuration priority of each uplink logical channel in the first uplink logical channel set as the resource allocation priority; The terminal device determines the configuration priority of each uplink logical channel in the third uplink logical channel set as the resource allocation priority.
11. The method according to claim 10, characterized in that The terminal device allocates uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel, including: The terminal device allocates the uplink resources to the uplink logical channels with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in order of resource allocation priority from high to low, and in accordance with the PBR requirement, wherein the PBR requirement is: the resources allocated to the third uplink logical channel meet the PBR requirement of the third uplink logical channel, and the third uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set; After allocating the uplink resources to each uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in accordance with the PBR requirement, if there is a remaining sixth uplink resource in the uplink resources, the terminal device allocates the sixth uplink resource to the uplink logical channels in the first uplink logical channel set and the third uplink logical channel set in order from high to low in terms of the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set.
12. The method according to claim 1, characterized in that The method further comprises: The terminal device receives radio resource control RRC information sent by a network device, and the RRC information includes at least one of the following parameters: a configuration priority of the at least one uplink logical channel, a PBR of the at least one uplink logical channel, and a token bucket capacity BSD of the at least one uplink logical channel.
13. A terminal device, characterized in that: include: a processing unit, configured to determine a resource allocation priority of at least one uplink logical channel according to a bearer type of at least one uplink logical channel, wherein the bearer type indicates that the bearer of the uplink logical channel includes a radio link control RLC status report and / or data, wherein the processing unit is configured to: Allocate uplink resources to the at least one uplink logical channel according to the resource allocation priority of the at least one uplink logical channel; Determine, according to the bearer type of at least one uplink logical channel, a first uplink logical channel set and a second uplink logical channel set in the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the second uplink logical channel set includes data; determining that a resource allocation priority of an uplink logical channel in the first uplink logical channel set is higher than a resource allocation priority of an uplink logical channel in the second uplink logical channel set; According to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low, and according to the first requirement, the uplink resources are sequentially allocated to the uplink logical channels in the first uplink logical channel set, wherein the first requirement is that the resources allocated to the first uplink logical channel meet the size requirement of the minimum protocol data unit PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set; After allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in sequence according to the first requirement, if there are remaining first uplink resources in the uplink resources, in descending order of the configuration priority of each uplink logical channel in the second uplink logical channel set and in accordance with a priority bit rate PBR requirement, allocate the first uplink resources to the uplink logical channels in the second uplink logical channel set whose token number Bj is greater than 0, wherein the PBR requirement is: the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0; After allocating the first uplink resource in sequence to each uplink logical channel in the second uplink logical channel set whose token number Bj is greater than 0 according to the PBR requirement, if there are remaining second uplink resources in the first uplink resources, allocate the second uplink resources to the uplink logical channels in the first uplink logical channel set in sequence according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low; and After allocating the second uplink resources to each uplink logical channel in the first uplink logical channel set in turn, if there are remaining third uplink resources in the second uplink resources, allocate the third uplink resources to the uplink logical channels in the second uplink logical channel set in turn in descending order of the configuration priority of each uplink logical channel in the second uplink logical channel set.
14. The terminal device according to claim 13, characterized in that: The processing unit is used for: Allocating the uplink resource to the uplink logical channels in the first uplink logical channel set according to the configuration priority of each uplink logical channel in the first uplink logical channel set; After allocating the uplink resources to each uplink logical channel in the first uplink logical channel set, if there are remaining fourth uplink resources in the uplink resources, allocate the fourth uplink resources to the uplink logical channels in the second uplink logical channel set according to the configuration priority of each uplink logical channel in the second uplink logical channel set.
15. The terminal device according to claim 14, characterized in that: The processing unit is used for: According to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low, and according to the first requirement, the uplink resources are sequentially allocated to the uplink logical channels in the first uplink logical channel set, wherein the first requirement is that the resources allocated to the first uplink logical channel meet the requirement of the size of the minimum PDU of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set; After allocating the uplink resources to each uplink logical channel in the first uplink logical channel set in turn according to the first requirement, if there are remaining first uplink resources in the uplink resources, allocate the first uplink resources to the uplink logical channels in the first uplink logical channel set in turn according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low.
16. The terminal device according to claim 14, characterized in that: The processing unit is used for: The uplink resources are allocated to the uplink logical channels in the first uplink logical channel set in sequence according to the configuration priority of each uplink logical channel in the first uplink logical channel set from high to low, and according to the second requirement, wherein the second requirement is: the resources allocated to the first uplink logical channel meet the size requirement of the RLC status report included in the first uplink logical channel, and the first uplink logical channel is any uplink logical channel in the first uplink logical channel set.
17. The terminal device according to any one of claims 14 to 16, characterized in that: The processing unit is used for: The fourth uplink resources are allocated to the uplink logical channels with a token number Bj greater than 0 in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set and in accordance with the priority bit rate PBR requirement, wherein the PBR requirement is: the resources allocated to the second uplink logical channel meet the PBR requirement of the second uplink logical channel, and the second uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set; after the fourth uplink resources are allocated to each uplink logical channel with a token number Bj greater than 0 in the second uplink logical channel set in accordance with the PBR requirement, if there are remaining fifth uplink resources in the fourth uplink resources, the fifth uplink resources are allocated to the uplink logical channels in the second uplink logical channel set in order from high to low configuration priority of each uplink logical channel in the second uplink logical channel set.
18. The terminal device according to claim 13 or 15, characterized in that: The size of the minimum PDU of the RLC status report is a preset value; or, The minimum PDU size of the RLC status report is sent by the terminal device from the RLC layer to the medium access control MAC layer.
19. The terminal device according to any one of claims 14 to 18, characterized in that: Among the at least one uplink logical channel, there is an uplink logical channel that belongs to both the first uplink logical channel set and the second uplink logical channel set.
20. The terminal device according to claim 13, characterized in that: The processing unit is used for: Determine, according to the bearer type of at least one uplink logical channel, a first uplink logical channel set and a third uplink logical channel set in the at least one uplink logical channel, wherein the bearer of each uplink logical channel in the first uplink logical channel set includes an RLC status report, and the bearer of each uplink logical channel in the third uplink logical channel set does not include an RLC status report; It is determined that the resource allocation priority of the uplink logical channels in the first uplink logical channel set is higher than the resource allocation priority of the uplink logical channels in the third uplink logical channel set.
21. The terminal device according to claim 20, characterized in that: Each uplink logical channel in the third uplink logical channel set carries data.
22. The terminal device according to claim 20 or 21, characterized in that: The processing unit is used for: Determine the configuration priority of each uplink logical channel in the first uplink logical channel set as the resource allocation priority; The configuration priority of each uplink logical channel in the third uplink logical channel set is determined as the resource allocation priority.
23. The terminal device according to claim 22, characterized in that: The processing unit is used for: According to the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set from high to low, and according to the PBR requirement, the uplink resources are allocated to the uplink logical channels with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set, wherein the PBR requirement is: the resources allocated to the third uplink logical channel meet the PBR requirement of the third uplink logical channel, and the third uplink logical channel is any uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set; After allocating the uplink resources to each uplink logical channel with a token number Bj greater than 0 in the first uplink logical channel set and the third uplink logical channel set in accordance with the PBR requirement, if there are remaining sixth uplink resources in the uplink resources, allocate the sixth uplink resources to the uplink logical channels in the first uplink logical channel set and the third uplink logical channel set in order from high to low in terms of the resource allocation priority of each uplink logical channel in the first uplink logical channel set and the third uplink logical channel set.
24. The terminal device according to any one of claims 13 to 23, characterized in that: The terminal device further includes: A transceiver unit is used to receive radio resource control RRC information sent by a network device, wherein the RRC information includes at least one of the following parameters: a configuration priority of the at least one uplink logical channel, a PBR of the at least one uplink logical channel, and a token bucket capacity BSD of the at least one uplink logical channel.
25. A terminal device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 12.
26. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 12.
27. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program causing a computer to execute the method according to any one of claims 1 to 12.
28. A computer program product, characterized in that The method comprises computer program instructions which cause a computer to execute the method as claimed in any one of claims 1 to 12.
