Resource allocation method, terminal, and network device

By allocating uplink resources to data with synchronous transmission requirements and/or time delay requirements on a priority basis by the terminal, the problem that the existing resource allocation mechanism cannot meet these requirements is solved, and better transmission effect is achieved.

WO2025195096A1PCT designated stage Publication Date: 2025-09-25DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/078016
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-22
Filing Date
2025-02-19
Publication Date
2025-09-25

AI Technical Summary

Technical Problem

The existing resource allocation mechanism cannot meet the transmission needs of services with synchronous transmission requirements and/or time delay requirements.

Method used

The terminal allocates uplink resources to data with synchronous transmission requirements and/or delay requirements in priority according to the instructions of the network device and/or when specific conditions are met, or allocates uplink resources to the data to be transmitted in the PDU Set to which it belongs.

Benefits of technology

This ensures that the terminal can better meet the data transmission requirements with synchronous transmission requirements and/or time delay requirements when allocating uplink resources, and solves the shortcomings of the existing resource allocation mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025078016_25092025_PF_FP_ABST
    Figure CN2025078016_25092025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of communications, and provides a resource allocation method, a terminal, and a network device. The method comprises: on the basis of first indication information sent by a network device and / or upon determining that first data satisfies a first condition, the terminal performing the following first operation: preferentially allocating an uplink resource to the first data; or preferentially allocating an uplink resource to data to be transmitted in a packet data unit set (PDU Set) to which the first data belongs, wherein the first data comprises data having synchronous transmission requirements and / or data having latency requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Resource allocation method, terminal and network device

[0001] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on March 22, 2024, with application number 202410337092.6 and application name “Resource Allocation Method, Terminal and Network Device,” the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of communication technology, and in particular to a resource allocation method, a terminal, and a network device. Background Art

[0003] For scheduled uplink transmission, the network device allocates uplink scheduling resources to a terminal for a single user. To ensure fairness among different services in the terminal's uplink transmission and prevent some services from being unable to transmit, resource allocation currently uses a logical channel prioritization (LCP) process based on logical channel priority and prioritized bit rate (PBR). However, this current resource allocation mechanism, based on logical channel priority and the PBR LCP process, cannot meet the transmission requirements of services that require synchronous transmission and / or latency. Summary of the Invention

[0004] The present disclosure provides a resource allocation method, a terminal, and a network device, which solve the problem that the current resource allocation mechanism cannot meet the transmission requirements of services with synchronous transmission requirements and / or time delay requirements.

[0005] An embodiment of the present disclosure provides a resource allocation method, including:

[0006] The terminal performs the following first operation according to the first indication information sent by the network device and / or when determining that the first data meets the first condition:

[0007] Prioritizing allocating uplink resources to the first data;

[0008] Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set (PDU Set) to which the first data belongs;

[0009] The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0010] In some embodiments, the terminal determines that the first data includes data requiring synchronous transmission by at least one of the following methods:

[0011] receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0012] receiving second configuration information sent by a network device, wherein the second configuration information configures an association relationship between a first quality of service flow (QoS flow) to which the first data belongs and a second QoS flow other than the first QoS flow;

[0013] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0014] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0015] receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0016] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0017] Determining that a General Packet Radio Service (GPRS) Tunnelling Protocol for the user plane (GTP-U) header corresponding to the first data carries second indication information, wherein the second indication information is used to indicate an association relationship between the first data and second data other than the first data.

[0018] In some embodiments, when the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0019] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0020] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0021] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0022] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0023] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0024] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0025] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0026] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0027] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0028] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0029] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0030] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0031] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0032] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0033] In some embodiments, the association relationship is determined, indicated, or configured based on at least one of the following:

[0034] The first data and the second data carry the same identification information;

[0035] The first data carries identification information of the second QoS flow;

[0036] The first data carries identification information of the second bearer;

[0037] The first data carries identification information of the second data;

[0038] The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following:

[0039] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0040] an allowable synchronization delay difference between the first bearer and the second bearer;

[0041] The allowed synchronization delay difference between the first data and the second data.

[0042] In some embodiments, the terminal determines that the first data includes data with a delay requirement by at least one of the following situations:

[0043] The first data belongs to a PDU Set;

[0044] The first data is configured with a packet data unit set delay budget (PDU Set Delay Budget, PSDB);

[0045] The first data is configured with a packet delay budget (PDB);

[0046] A Packet Data Convergence Protocol (PDCP) layer discard timer of a Packet Data Convergence Protocol Service Data Unit (PDCP SDU) to which the first data belongs is running;

[0047] The first bearer to which the first data belongs is configured with a PDCP layer discard timer (PDCP discard timer).

[0048] In some embodiments, when the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0049] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0050] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0051] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0052] The first data is configured with a PSDB;

[0053] The first data is configured with a PDB;

[0054] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0055] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0056] In some embodiments, the terminal preferentially allocating uplink resources for data to be transmitted in the PDU Set to which the first data belongs, including:

[0057] When the first data satisfies a second condition, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following:

[0058] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0059] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0060] In some embodiments, the terminal performs the first operation, including any one of the following:

[0061] The terminal performs the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device;

[0062] The terminal performs the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of third data, and the third data includes other data except uplink common control channel (Uplink Common Control Channel, UL-CCCH) data and / or cell radio network temporary identity medium access control control element (Cell Radio Network Temporary Identity Medium Access Control Control Channel Element, C-RNTI MAC CE);

[0063] The terminal performs the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data;

[0064] The terminal performs the first operation according to the third indication information carried in the scheduling information sent by the network device; wherein, the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

[0065] In some embodiments, at least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol;

[0066] and / or,

[0067] At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

[0068] In some embodiments, the first MAC CE includes at least one of the following:

[0069] MAC CE for IAB-MT Recommended Beam Indication (MAC CE for IAB-MT Recommended Beam Indication)

[0070] MAC CE for Desired IAB-MT PSDrange;

[0071] MAC CE for Desired DL Tx Power Adjustment (MAC CE for Desired DL Tx Power Adjustment) is used to request downlink transmit power adjustment.

[0072] In some embodiments, when the first data includes: data with synchronous transmission requirements and data with delay requirements, the terminal determines the priority relationship between the data with synchronous transmission requirements and the data with delay requirements in the first data by one of the following methods:

[0073] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0074] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0075] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0076] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0077] Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0078] Fourth configuration information sent by the network device is received, wherein the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0079] In some embodiments, the first indication information is used to indicate whether the terminal performs the first operation;

[0080] Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0081] In some embodiments, the terminal performs the following first operation according to the first indication information sent by the network device and when determining that the first data meets the first condition, including:

[0082] In a case where the first indication information indicates that the terminal allows execution of the first operation, the terminal determines whether the first data meets the first condition;

[0083] If the terminal determines that the first data meets the first condition, the first operation is performed.

[0084] In some embodiments, the resource allocation method further includes:

[0085] If the first indication information instructs the terminal not to perform the first operation, the terminal does not perform the first operation;

[0086] Alternatively, if the first indication information indicates that the terminal is not allowed to perform the first operation, the terminal does not perform the first operation;

[0087] Alternatively, if the first indication information indicates that the terminal allows execution of the first operation, the terminal determines whether the first data meets the first condition; if the terminal determines that the first data does not meet the first condition, the terminal does not perform the first operation.

[0088] In some embodiments, the first indication information indicates based on the terminal;

[0089] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0090] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0091] The present disclosure provides a resource allocation method, including:

[0092] The network device sends first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs the first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0093] The first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0094] In some embodiments, the first indication information indicates based on the terminal;

[0095] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0096] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0097] An embodiment of the present disclosure provides a terminal, including a memory, a transceiver, and a processor;

[0098] The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; and the processor is used to read the computer program in the memory and perform the following operations:

[0099] Perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition:

[0100] Prioritizing allocating uplink resources to the first data;

[0101] Alternatively, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs;

[0102] The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0103] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data requiring synchronous transmission:

[0104] receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0105] receiving second configuration information sent by a network device, where the second configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0106] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0107] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0108] receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0109] Determine that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0110] Determine that the GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0111] In some embodiments, when the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0112] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0113] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0114] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0115] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0116] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0117] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0118] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0119] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0120] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0121] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0122] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0123] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0124] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0125] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0126] In some embodiments, the association relationship is determined, indicated, or configured based on at least one of the following:

[0127] The first data and the second data carry the same identification information;

[0128] The first data carries identification information of the second QoS flow;

[0129] The first data carries identification information of the second bearer;

[0130] The first data carries identification information of the second data;

[0131] The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following:

[0132] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0133] an allowable synchronization delay difference between the first bearer and the second bearer;

[0134] The allowed synchronization delay difference between the first data and the second data.

[0135] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data with a delay requirement:

[0136] The first data belongs to a PDU Set;

[0137] The first data is configured with a PSDB;

[0138] The first data is configured with a PDB;

[0139] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0140] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0141] In some embodiments, when the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0142] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0143] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0144] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0145] The first data is configured with a PSDB;

[0146] The first data is configured with a PDB;

[0147] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0148] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0149] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:

[0150] When the first data satisfies a second condition, uplink resources are preferentially allocated to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following:

[0151] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0152] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0153] In some embodiments, the processor is configured to read the computer program in the memory and perform any one of the following operations:

[0154] Performing the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device;

[0155] Performing the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of third data, and the third data includes other data except UL-CCCH data and / or except C-RNTI MAC CE;

[0156] Performing the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data;

[0157] The first operation is performed according to the third indication information carried in the scheduling information sent by the network device; wherein the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

[0158] In some embodiments, at least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol;

[0159] and / or,

[0160] At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

[0161] In some embodiments, the first MAC CE includes at least one of the following:

[0162] MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT;

[0163] MAC CE for requesting IAB-MT power spectral density range;

[0164] MAC CE used to request downlink transmit power adjustment.

[0165] In some embodiments, when the first data includes: data requiring synchronous transmission and data requiring a delay, the processor is configured to read the computer program in the memory and perform one of the following operations to determine a priority relationship between the data requiring synchronous transmission and the data requiring a delay in the first data:

[0166] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0167] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0168] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0169] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0170] Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0171] The fourth configuration information sent by the network device is received, and the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0172] In some embodiments, the first indication information is used to indicate whether the terminal performs the first operation;

[0173] Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0174] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:

[0175] In a case where the first indication information indicates that the terminal allows execution of the first operation, determining whether the first data meets the first condition;

[0176] If it is determined that the first data meets the first condition, the first operation is performed.

[0177] In some embodiments, the processor is configured to read the computer program in the memory and further perform the following operations:

[0178] If the first instruction information instructs the terminal not to perform the first operation, the first operation is not performed;

[0179] Alternatively, if the first indication information is used to indicate that the terminal is not allowed to perform the first operation, the first operation is not performed;

[0180] Alternatively, if the first indication information is used to instruct the terminal to allow execution of the first operation, it is determined whether the first data meets the first condition; if it is determined that the first data does not meet the first condition, the first operation is not performed.

[0181] In some embodiments, the first indication information indicates based on the terminal;

[0182] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0183] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0184] An embodiment of the present disclosure provides a terminal, including:

[0185] The first processing unit is configured to perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition:

[0186] Prioritizing allocating uplink resources to the first data;

[0187] Alternatively, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs;

[0188] The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0189] An embodiment of the present disclosure provides a network device, including a memory, a transceiver, and a processor;

[0190] The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; and the processor is used to read the computer program in the memory and perform the following operations:

[0191] Sending first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0192] The first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0193] In some embodiments, the first indication information indicates based on the terminal;

[0194] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0195] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0196] The present disclosure provides a network device, including

[0197] A sending unit, configured to send first indication information to a terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0198] The first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0199] An embodiment of the present disclosure provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the steps of the resource allocation method described above.

[0200] An embodiment of the present disclosure provides a computer program product, including computer instructions, which implement the steps of the resource allocation method described above when executed by a processor.

[0201] The beneficial effects of the above technical solution disclosed in the present invention are:

[0202] In an embodiment of the present disclosure, for first data with synchronous transmission requirements and / or time delay requirements, the terminal preferentially allocates uplink resources to the first data based on instructions from a network device and / or when it is determined that the first data meets a first condition; or, preferentially allocates uplink resources to the data to be transmitted in the PDU Set to which the first data belongs. This can ensure that the terminal can better meet the transmission requirements of the first data with synchronous transmission requirements and / or time delay requirements when executing uplink resource allocation, thereby solving the problem that the current resource allocation mechanism cannot meet the transmission requirements of services with synchronous transmission requirements and / or time delay requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0203] FIG1 is a schematic diagram showing a user plane protocol stack;

[0204] FIG2 is a schematic diagram showing a data frame;

[0205] FIG3 is a flowchart of a method for allocating resources on a terminal side according to an embodiment of the present disclosure;

[0206] FIG4 is a flowchart showing a method for allocating resources on a network device side according to an embodiment of the present disclosure;

[0207] FIG5 shows one block diagram of a terminal according to an embodiment of the present disclosure;

[0208] FIG6 shows a second block diagram of a terminal according to an embodiment of the present disclosure;

[0209] FIG7 shows a block diagram of a network device according to an embodiment of the present disclosure;

[0210] FIG8 shows a second block diagram of the network device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0211] To make the technical problems, technical solutions, and advantages to be solved by the present disclosure more clear, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present disclosure. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, for the sake of clarity and brevity, descriptions of known functions and configurations have been omitted.

[0212] It should be understood that references throughout this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present disclosure. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout this specification do not necessarily refer to the same embodiment. Furthermore, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0213] In the various embodiments of the present disclosure, it should be understood that the size of the serial numbers of the following 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 disclosure.

[0214] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0215] The technical solutions provided by the embodiments of the present disclosure can be applicable to a variety of systems, such as the 5th Generation mobile communication technology (5G) system, the 6th Generation mobile communication technology (6G) system, etc. For example, applicable systems may be global system of mobile communication (GSM) systems, code division multiple access (CDMA) systems, wideband code division multiple access (WCDMA) general packet radio service (GPRS) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, long term evolution advanced (LTE-A) systems, universal mobile telecommunication systems (UMTS), worldwide interoperability for microwave access (WiMAX) systems, 5G new radio (NR) systems, 6G systems, etc. These various systems include terminals and network devices. The system may also include core network parts, such as the Evolved Packet System (EPS), 5G System (5GS), 6G System, etc.

[0216] Network devices and terminals can each use one or more antennas for Multiple Input Multiple Output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be two-dimensional MIMO (2D-MIMO), three-dimensional MIMO (3D-MIMO), full-dimensional MIMO (FD-MIMO), or massive MIMO. It can also use diversity transmission, precoding transmission, or beamforming transmission.

[0217] In the embodiments of the present disclosure, the term "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0218] In the embodiments of the present disclosure, the term "plurality" refers to two or more than two, and other quantifiers are similar thereto.

[0219] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure and not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0220] The following is an introduction to the relevant technologies involved in this disclosure:

[0221] 1) Basic process of 5G air interface data processing

[0222] The 5G user plane air interface protocol layers include: Service Data Adaptation Protocol (SDAP) layer, PDCP layer, Radio Link Control Protocol (RLC) layer, Media Access Control (MAC) layer and Physical (PHY) layer, as shown in Figure 1.

[0223] When a QoS flow reaches the SDAP layer, it maps the QoS flow to a Data Radio Bearer (DRB), which forms a Service Data Adaptation Protocol Protocol Data Unit (SDAP PDU). The SDAP PDU is the PDCP SDU. The PDCP layer performs header compression and encryption on the PDCP SDU before delivering it to the RLC layer. The RLC layer encapsulates the RLC PDU based on the MAC layer's scheduling information and delivers it to the MAC layer. The MAC layer encapsulates the received RLC PDU into a MAC PDU and delivers it to the physical layer for transmission.

[0224] The principles for the SDAP layer to perform QoS flow to DRB mapping are as follows:

[0225] Since the QoS attributes of data packets in a QoS flow are basically the same, a QoS flow can only be mapped to one DRB.

[0226] DRB transmission is based on MAC layer scheduling. The uplink scheduling resources allocated by the base station (gNB) to the terminal (UE) are for a single user. To ensure fairness between different services in the terminal's uplink transmission and prevent some services from being unable to be transmitted, the LCP mechanism based on logical channel priority and PBR can be adopted. The specific LCP mechanism based on logical channel priority and PBR is as follows:

[0227] When the terminal obtains an uplink resource grant (UL grant), it performs the first round of resource allocation according to the PBR for each logical channel with data transmission requirements in descending order of logical channel priority;

[0228] If the first round of resource allocation is completed and there are remaining resources, resources are allocated to each logical channel in descending order of priority of the logical channels currently requiring data transmission.

[0229] 2) Basic Concepts of Extended Reality (XR)

[0230] The Third Generation Partnership Projects (3GPP) 5G system has introduced XR services, which are categorized as follows:

[0231] Augmented Reality (AR): seamless integration of the real and virtual worlds (i.e., half real, half fake);

[0232] Virtual Reality (VR): uses devices to simulate a virtual world (that is, it is completely fake);

[0233] Mixed Reality (MR): Contains both real physical entities and virtual information.

[0234] XR services are modeled based on data frames. A single data frame can be divided into multiple PDUs. One or more PDUs corresponding to the same information unit constitute a PDU set, as shown in Figure 2. XR services support multimodality. In this scenario, multiple high-level service flows on a user terminal must be coordinated and synchronized during air interface transmission. Furthermore, XR services generally have high transmission latency requirements and are latency-sensitive.

[0235] The present disclosure provides a resource allocation method, terminal, and network device to address the problem that current resource allocation mechanisms cannot meet the transmission needs of services requiring synchronous transmission and / or latency. The method and terminal (or network device) are based on the same patent application concept. Since the principles for solving the problems in the method and terminal (or network device) are similar, the embodiments of the method and terminal (or network device) can refer to each other, and any repetitions will not be repeated.

[0236] As shown in FIG3 , an embodiment of the present disclosure provides a resource allocation method, comprising the following steps:

[0237] Step 31: The terminal performs the following first operation according to the first indication information sent by the network device and / or when determining that the first data meets the first condition:

[0238] Prioritizing allocating uplink resources to the first data;

[0239] Alternatively, uplink resources are preferentially allocated to the data to be transmitted in the PDU set (Set) to which the first data belongs;

[0240] The first data includes data requiring synchronous transmission and / or data requiring time delay. In some embodiments, the first data may be XR service data, or other data requiring synchronous transmission and / or data requiring time delay in addition to XR service data, but the embodiments of the present disclosure are not limited thereto.

[0241] For example, based on the first indication information sent by the network device, the terminal performs the following first operation: preferentially allocating uplink resources to the first data; or preferentially allocating uplink resources to the data to be transmitted in the packet data unit set (PDU Set) to which the first data belongs. That is, for the first data (e.g., data with synchronous transmission requirements and / or data with delay requirements), the terminal preferentially allocates uplink resources to the first data or to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation based on the indication of the network device.

[0242] For another example, when the terminal determines that first data satisfies the first condition, the terminal performs the following first operation: preferentially allocating uplink resources to the first data; or preferentially allocating uplink resources to the data to be transmitted in the packet data unit set (PDU Set) to which the first data belongs. That is, for the first data (such as data with synchronous transmission requirements and / or data with delay requirements), the terminal determines whether the first data satisfies the first condition. If it is determined that the first data satisfies the first condition, the terminal preferentially allocates uplink resources to the first data or to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0243] For another example: based on the first indication information sent by the network device and determining that the first data meets the first condition, the terminal performs the following first operation: preferentially allocating uplink resources to the first data; or preferentially allocating uplink resources to the data to be transmitted in the packet data unit set PDU Set to which the first data belongs. That is, for the first data (such as data with synchronous transmission requirements and / or data with delay requirements), the terminal determines whether the first data meets the first condition based on the indication of the network device, and if it is determined that the first data meets the first condition, preferentially allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0244] In the above scheme, for the first data with synchronous transmission requirements and / or delay requirements, the terminal prioritizes allocating uplink resources to the first data based on the instructions of the network device and / or when it is determined that the first data meets the first condition; or, prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs. This can ensure that the terminal can better meet the transmission requirements of the first data with synchronous transmission requirements and / or delay requirements when executing uplink resource allocation, thereby solving the problem that the current resource allocation mechanism cannot meet the transmission requirements of services with synchronous transmission requirements and / or delay requirements.

[0245] In some embodiments, the terminal determines that the first data includes data requiring synchronous transmission by at least one of the following methods:

[0246] Mode A1: First configuration information sent by a network device is received, where the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer.

[0247] Mode A2: second configuration information sent by the network device is received, where the second configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow.

[0248] Mode A3: Determine first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer.

[0249] Mode A4: Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow.

[0250] Method A5: Third configuration information sent by a higher layer of the terminal is received, wherein the third configuration information configures an association between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow. For example, the third configuration information may be a QoS attribute (QoS profile) corresponding to the QoS flow or other configuration information, but the present embodiment is not limited thereto.

[0251] Mode A6: The terminal determines that there is an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer;

[0252] Method A7: Determine that the GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0253] For example, for the above-mentioned method A1 and method A2, the terminal can determine whether the first data includes data with synchronous transmission requirements based on the configuration information sent by the network device. For example: the terminal receives the first configuration information sent by the network device. If the first configuration information configures the association relationship between the first bearer to which the first data belongs and the second bearer other than the first bearer, the terminal can determine that the first data includes data with synchronous transmission requirements. For another example: the terminal receives the second configuration information sent by the network device. If the second configuration information configures the association relationship between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, the terminal can determine that the first data includes data with synchronous transmission requirements.

[0254] For another example, with respect to the above-mentioned method A3 and method A4, the terminal can determine whether the first data includes data requiring synchronous transmission based on the pre-configuration information. For example: if the terminal determines that the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer, then it is determined that the first data includes data requiring synchronous transmission. For another example: if the terminal determines that the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow, then it is determined that the first data includes data requiring synchronous transmission.

[0255] For another example, for the above-mentioned method A5, method A6 and method A7, the terminal determines on its own whether the first data includes data with synchronous transmission requirements. For example: if the terminal determines that the third configuration information sent by the terminal high layer configures that there is an association between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, then it is determined that the first data includes data with synchronous transmission requirements. For another example: if the terminal determines that there is an association between the first bearer to which the first data belongs and the second bearer other than the first bearer, then it is determined that the first data includes data with synchronous transmission requirements. For another example: if the terminal learns that the GTP-U header corresponding to the first data carries the second indication information, then it is determined that the first data includes data with synchronous transmission requirements.

[0256] In some embodiments, when the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0257] The difference between the time when the first data arrives in the buffer and the time when the second data is sent is greater than or equal to a first threshold. In some embodiments, the first threshold may be a time length threshold; for example, if the terminal determines that the time interval between the waiting time of the first data in the buffer and the time when the second data is sent is greater than the first threshold, then the terminal determines that the first data meets the first condition; or if the terminal determines that the time interval between the waiting time of the first data in the buffer and the time when the second data is sent is greater than or equal to the first threshold, then the terminal determines that the first data meets the first condition.

[0258] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference. For example, if the terminal determines that the time interval between the waiting time of the first data in the buffer and the sending time of the second data is greater than the configured synchronization delay difference, then the terminal determines that the first data meets the first condition; or if the terminal determines that the time interval between the waiting time of the first data in the buffer and the sending time of the second data is greater than or equal to the configured synchronization delay difference, then the terminal determines that the first data meets the first condition.

[0259] The first data is in the buffer and the difference between the first moment and the sending moment of the second data is greater than or equal to the second threshold; wherein, the first moment may refer to the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives the uplink scheduling, or the moment when the terminal receives the uplink scheduling to execute the LCP process. For example: if the terminal determines that the first data is in the buffer and the difference between the moment when the first data meets the first condition and the sending moment of the second data is greater than the second threshold, then it is determined that the first data meets the first condition; or, if the terminal determines that the first data is in the buffer and the difference between the moment when the first data meets the first condition and the sending moment of the second data is greater than the second threshold, then it is determined that the first data meets the first condition.

[0260] The first data is in the buffer and the difference between the first moment and the sending moment of the second data is greater than or equal to the preconfigured synchronization delay difference; wherein, the first moment may refer to the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives the uplink scheduling, or the moment when the terminal receives the uplink scheduling to execute the LCP process. For example: if the terminal determines that the first data is in the buffer and the difference between the moment when the first data meets the first condition and the sending moment of the second data is greater than the preconfigured synchronization delay difference, then it is determined that the first data meets the first condition; or, if the terminal determines that the first data is in the buffer and the difference between the moment when the first data meets the first condition and the sending moment of the second data is greater than the preconfigured synchronization delay difference, then it is determined that the first data meets the first condition.

[0261] The waiting time of the first data in the buffer is greater than or equal to a third threshold; wherein the first moment may refer to the moment when the terminal determines whether the first data satisfies the first condition, or the moment when the terminal receives an uplink scheduling, or the moment when the terminal receives an uplink scheduling and performs an LCP process. For example: if the waiting time of the first data in the buffer is greater than the third threshold, it is determined that the first data satisfies the first condition; if the waiting time of the first data in the buffer is greater than or equal to the third threshold, it is determined that the first data satisfies the first condition.

[0262] The first configuration information sent by the network device configures an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer. For example: a terminal receives the first configuration information sent by the network device. If the first configuration information configures an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer, the terminal can determine that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A2 to A7, and if the terminal determines that the first configuration information sent by the network device configures an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer, it can determine that the first data meets the first condition.

[0263] The second configuration information sent by the network device configures the association relationship between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow. For example: the terminal receives the second configuration information sent by the network device, and if the second configuration information configures the association relationship between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, the terminal can determine that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1, A3 to A7, and if the terminal determines that the second configuration information sent by the network device configures the association relationship between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, then it can determine that the first data meets the first condition.

[0264] The first pre-configuration information configures an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer. For example: if the terminal determines that the first pre-configuration information configures an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer, it determines that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1 to A2, A4 to A7, and when the terminal determines that the first bearer to which the first data belongs and a second bearer other than the first bearer are configured in the first pre-configuration information, it can be determined that the first data meets the first condition.

[0265] The second pre-configuration information configures an association relationship between the first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow. For example: if the terminal determines that the second pre-configuration information configures an association relationship between the first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow, it determines that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1 to A3, A5 to A7, and if the terminal determines that the second pre-configuration information configures an association relationship between the first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow, it can determine that the first data meets the first condition.

[0266] The third configuration information sent by the terminal high layer configures that there is an association between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow. For example: if the terminal determines that the third configuration information sent by the terminal high layer configures that there is an association between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, then it is determined that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1 to A4, A6 to A7, and if the terminal determines that the third configuration information sent by the terminal high layer configures that there is an association between the first QoS flow to which the first data belongs and the second QoS flow other than the first QoS flow, then it can be determined that the first data meets the first condition.

[0267] The terminal determines that there is an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer. For example: if the terminal determines that there is an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer, it is determined that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1 to A5 and A7, and if the terminal determines that there is an association relationship between the first bearer to which the first data belongs and a second bearer other than the first bearer, it can be determined that the first data meets the first condition.

[0268] The GTP-U header corresponding to the first data carries second indication information; wherein, the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data. For example: if the terminal learns that the GTP-U header corresponding to the first data carries second indication information, it determines that the first data meets the first condition. For example, the terminal can determine that the first data includes data with synchronous transmission requirements based on at least one of the above-mentioned methods A1 to A6, and when the terminal learns that the GTP-U header corresponding to the first data carries second indication information, it can determine that the first data meets the first condition.

[0269] In some embodiments, at least one of the following relationships exists between the first data and the second data:

[0270] There is an association relationship between the first data and the second data;

[0271] There is an association relationship between the first QoS flow to which the first data belongs and the second QoS flow to which the second data belongs;

[0272] The first bearer to which the first data belongs is associated with the second bearer to which the second data belongs.

[0273] In some embodiments, the association relationship is determined, indicated, or configured based on at least one of the following:

[0274] The first data and the second data carry the same identification information; for example: the first data and the second data carry the same service identifier (Common ID); or, the first data and the second data carry the same synchronization identifier, etc., the embodiment of the present disclosure is not limited to this.

[0275] The first data carries identification information of the second QoS flow;

[0276] The first data carries identification information of the second bearer;

[0277] The first data carries identification information of the second data;

[0278] The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following:

[0279] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0280] an allowable synchronization delay difference between the first bearer and the second bearer;

[0281] The allowed synchronization delay difference between the first data and the second data.

[0282] In some embodiments, the terminal determines that the first data includes data with a delay requirement by at least one of the following situations:

[0283] Case B1: the first data is configured with a PSDB; for example, if the terminal determines that the first data is configured with a PSDB, it determines that the first data includes data with a delay requirement.

[0284] Case B2: the first data is configured with a PDB; for example, if the terminal determines that the first data is configured with a PDB, it determines that the first data includes data with a delay requirement.

[0285] Case B3: The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running; for example: if the terminal determines that the PDCP layer discard timer of the PDCP SDU to which the first data belongs is running, it is determined that the first data includes data with delay requirements.

[0286] Case B4: The first bearer to which the first data belongs is configured with a PDCP layer discard timer; for example: if the terminal determines that the first bearer to which the first data belongs is configured with a PDCP layer discard timer, it is determined that the first data includes data with delay requirements.

[0287] Case B5: the first data belongs to a PDU Set.

[0288] In some embodiments, when the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0289] The value of the PSDB to which the first data belongs is less than or equal to the fourth threshold; for example: if the terminal determines that the value of the PSDB to which the first data belongs is less than the fourth threshold, it is determined that the first data meets the first condition; or, if the terminal determines that the value of the PSDB to which the first data belongs is ≤ the fourth threshold, it is determined that the first data meets the first condition.

[0290] The value of the PDB to which the first data belongs is less than or equal to the fifth threshold; for example: if the terminal determines that the value of the PDB to which the first data belongs is less than the fifth threshold, it is determined that the first data meets the first condition; or, if the terminal determines that the value of the PDB to which the first data belongs is ≤ the fifth threshold, it is determined that the first data meets the first condition.

[0291] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to the sixth threshold; for example: if the terminal determines that the value of the remaining running time of the PDCP layer discard timer to which the first data belongs is less than the sixth threshold, it is determined that the first data meets the first condition; or, if the terminal determines that the value of the remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to the sixth threshold, it is determined that the first data meets the first condition. In some embodiments, the PDCP layer discard timer includes: a PDCP discard timer for normal data transmission (such as a non-congested state) (for example, a discard timer (discardTimer)), and / or a PDCP discard timer for congested conditions (for example, a low importance discard timer (discardTimerForLowImportance)), etc., but the embodiments of the present disclosure are not limited to this.

[0292] The first data is configured with a PSDB; for example, if the terminal determines that the first data is configured with a PSDB, then the first data is determined to meet the first condition. For example, based on at least one of the above situations B2 to B5, the terminal may determine that the first data includes data with a delay requirement, and if the terminal determines that the first data is configured with a PSDB, then the first data may be determined to meet the first condition.

[0293] The first data is configured with a PDB; for example, if the terminal determines that the first data is configured with a PDB, then the first data is determined to meet the first condition. For example, the terminal may determine, based on at least one of the above conditions B1, B3, B4, and B5, that the first data includes data with a latency requirement, and if the terminal determines that the first data is configured with a PDB, then the first data is determined to meet the first condition.

[0294] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running; for example, if the terminal determines that the PDCP layer discard timer of the PDCP SDU to which the first data belongs is running, then the terminal determines that the first data meets the first condition. For example, the terminal may determine, based on at least one of the above situations B1, B2, B4, and B5, that the first data includes data with a delay requirement, and if the terminal determines that the PDCP layer discard timer of the PDCP SDU to which the first data belongs is running, then the terminal may determine that the first data meets the first condition.

[0295] The first bearer to which the first data belongs is configured with a PDCP layer discard timer; for example, if the terminal determines that the first bearer to which the first data belongs is configured with a PDCP layer discard timer, then the terminal determines that the first data meets the first condition. For example, based on at least one of the above situations B1 to B3 and B5, the terminal may determine that the first data includes data with a delay requirement, and if the terminal determines that the first bearer to which the first data belongs is configured with a PDCP layer discard timer, then the terminal may determine that the first data meets the first condition.

[0296] In some embodiments, the terminal prioritizes allocating uplink resources for data to be transmitted in the PDU Set to which the first data belongs, which implies the condition that the first data belongs to the PDU Set. That is, the terminal prioritizes allocating uplink resources for data to be transmitted in the PDU Set to which the first data belongs, including:

[0297] In a case where the first data belongs to a PDU Set, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs.

[0298] Alternatively, the terminal preferentially allocates uplink resources to the first data, specifically including: when the first data belongs to a PDU Set, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs.

[0299] For example: when the terminal determines to perform the first operation based on the instruction of the network device, if the terminal determines that the first data belongs to the PDU Set, then when performing uplink resource allocation, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs.

[0300] For another example: when the terminal determines that the first operation is allowed to be performed based on the instruction of the network device, and when the terminal determines to perform the first operation because it determines that the first data meets the first condition, if the terminal determines that the first data belongs to the PDU Set, then when performing uplink resource allocation, uplink resources are allocated preferentially to the data to be transmitted in the PDU Set to which the first data belongs.

[0301] For another example: when the terminal determines to perform the first operation because it determines that the first data meets the first condition, if the terminal determines that the first data belongs to the PDU Set, then when performing uplink resource allocation, uplink resources are allocated preferentially to the data to be transmitted in the PDU Set to which the first data belongs.

[0302] In some embodiments, the terminal preferentially allocates uplink resources to data to be transmitted in a packet data unit set PDU Set to which the first data belongs, including:

[0303] When the first data satisfies a second condition, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following:

[0304] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0305] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0306] It should be noted here that the terminal prioritizes allocating uplink resources for the data to be transmitted in the PDU Set to which the first data belongs, which implicitly implies the condition that the first data belongs to the PDU Set. In other words, the terminal prioritizes allocating uplink resources for the data to be transmitted in the packet data unit set (PDU Set) to which the first data belongs, including: when the first data belongs to the PDU Set and the first data meets the second condition, the terminal prioritizes allocating uplink resources for the data to be transmitted in the PDU Set to which the first data belongs.

[0307] Alternatively, the terminal preferentially allocating uplink resources to the first data includes:

[0308] When the first data belongs to a PDU Set and the first data satisfies the second condition, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs.

[0309] For example: when the terminal determines to perform the first operation based on the instruction of the network device, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated to the data to be transmitted in the PDU Set to which the first data belongs first; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated to the data to be transmitted in the PDU Set to which the first data belongs first; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated to the data to be transmitted in the PDU Set to which the first data belongs first.

[0310] For another example: when the terminal determines that the first operation is allowed to be performed based on the instruction of the network device, and when the terminal determines to perform the first operation because it determines that the first data meets the first condition, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs.

[0311] For another example: when the terminal determines to perform the first operation because it determines that the first data meets the first condition, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs; or, if the terminal determines that the first data belongs to a PDU Set, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs, and the network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs, then when performing uplink resource allocation, uplink resources are allocated first to the data to be transmitted in the PDU Set to which the first data belongs.

[0312] In some embodiments, the terminal performs the first operation, including any one of the following:

[0313] The terminal performs the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resources, and the first specified priority is the highest priority or the priority configured by the network device; the network configuration can be a per cell configuration, a bearer-based configuration, a logical channel-based configuration, etc. For example: based on the first priority rule that the first data uses the first specified priority in the uplink resources, the terminal prioritizes allocating uplink resources to the first data when performing uplink resource allocation; or, based on the first priority rule that the data to be transmitted in the PDU Set to which the first data belongs uses the first specified priority in the uplink resources, the terminal prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0314] The terminal performs the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of the third data, and the third data includes other data except UL-CCCH data and / or C-RNTI MAC CE; for example: the terminal is based on the second priority rule that the priority of the first data is greater than the priority of other data except UL-CCCH data and / or C-RNTI MAC CE, and when performing uplink resource allocation, uplink resources are allocated to the first data on a priority basis; or, the terminal is based on the second priority rule that the priority of the data to be transmitted in the PDU Set to which the first data belongs is greater than the priority of other data except UL-CCCH data and / or C-RNTI MAC CE, and when performing uplink resource allocation, uplink resources are allocated to the data to be transmitted in the PDU Set to which the first data belongs on a priority basis.

[0315] The terminal performs the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data; for example: based on the third priority rule that the priority of other logical channel data except UL-CCCH data is less than the priority of the first data and less than the priority of the first MAC CE, the terminal prioritizes allocating uplink resources to the first data when performing uplink resource allocation; or, based on the third priority rule that the priority of other logical channel data except UL-CCCH data is less than the priority of the data to be transmitted in the PDU Set to which the first data belongs and less than the priority of the first MAC CE, the terminal prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0316] The terminal performs the first operation according to the third indication information carried in the scheduling information sent by the network device; wherein the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs (that is, the uplink transmission resources allocated by the network device to the terminal only allow the transmission of the first data or the data to be transmitted in the PDU Set to which the first data belongs, and do not allow the transmission of other data), or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs (that is, the uplink transmission resources allocated by the network device to the terminal allow the transmission of the first data or the data to be transmitted in the PDU Set to which the first data belongs, and also allow the transmission of other data. For example, the terminal can transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs on the uplink transmission resources allocated by the network device to the terminal, and can also transmit other data or not transmit other data, which is not specifically limited in the embodiments of the present disclosure). For example: when the terminal determines based on the scheduling indication of the network device that the first data or the data to be transmitted in the PDU Set to which the first data belongs can be transmitted on the uplink resources allocated by the network device, when executing uplink resource allocation, uplink resources can be allocated preferentially to the first data or uplink resources can be allocated preferentially to the data to be transmitted in the PDU Set to which the first data belongs.

[0317] In some embodiments, at least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol; and / or, at least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

[0318] For example, the first priority rule, the second priority rule, and the third priority rule are agreed upon in the protocol. Alternatively, the first priority rule is agreed upon in the protocol, while the second priority rule and the third priority rule are configured by the network device. Alternatively, the first priority rule and the second priority rule are agreed upon in the protocol, while the third priority rule is configured by the network device. Alternatively, the first priority rule, the second priority rule, and the third priority rule are all configured by the network device, etc., and the embodiments of the present disclosure are not limited to this.

[0319] In some embodiments, the first MAC CE includes at least one of the following:

[0320] MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT;

[0321] MAC CE for requesting IAB-MT power spectral density range;

[0322] MAC CE used to request downlink transmit power adjustment.

[0323] In some embodiments, when the first data includes: data with synchronous transmission requirements and data with delay requirements, the terminal determines the priority relationship between the data with synchronous transmission requirements and the data with delay requirements in the first data by one of the following methods:

[0324] Data requiring a delay has a higher priority than data requiring synchronous transmission. For example, a protocol may stipulate that data requiring a delay has a higher priority than data requiring synchronous transmission. In this way, when performing uplink resource allocation, the terminal may prioritize allocating uplink resources to the first data or the data to be transmitted within the PDU Set to which the first data belongs, based on the rule that the priority of data requiring a delay is greater than the priority of data requiring synchronous transmission. When allocating uplink resources, the terminal may prioritize allocating uplink resources to the first data or the data to be transmitted within the PDU Set to which the first data belongs.

[0325] Data requiring synchronous transmission has a higher priority than data requiring a delay. For example, the protocol may stipulate that data requiring synchronous transmission has a higher priority than data requiring a delay. Thus, when performing uplink resource allocation, the terminal may prioritize allocating uplink resources to the first data requiring synchronous transmission or the data to be transmitted within the PDU Set to which the first data belongs, based on the rule that the priority of data requiring synchronous transmission is greater than the priority of data requiring a delay. When allocating uplink resources, the terminal may prioritize allocating uplink resources to the first data requiring synchronous transmission or the data to be transmitted within the PDU Set to which the first data belongs.

[0326] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay. For example, the protocol may stipulate that the priority of data requiring synchronous transmission is equal to the priority of data requiring delay. In this way, when performing uplink resource allocation, the terminal may, based on the rule that the priority of data requiring synchronous transmission = the priority of data requiring delay, first allocate uplink resources to the first data requiring synchronous transmission or the data to be transmitted in the PDU Set to which the first data belongs, and then allocate uplink resources to the first data requiring synchronous transmission or the data to be transmitted in the PDU Set to which the first data belongs. Alternatively, uplink resources may be allocated first to the first data requiring delay or the data to be transmitted in the PDU Set to which it belongs, and then allocated uplink resources to the first data requiring synchronous transmission or the data to be transmitted in the PDU Set to which it belongs. Alternatively, uplink resources may be allocated to the first data requiring delay or the data to be transmitted in the PDU Set to which it belongs, and then allocated to the first data requiring synchronous transmission or the data to be transmitted in the PDU Set to which it belongs. Alternatively, uplink resources may be allocated to both the first data requiring delay or the data to be transmitted in the PDU Set to which the first data requiring synchronous transmission and the data to be transmitted in the PDU Set to which the first data requiring synchronous transmission and the data to be transmitted in the PDU Set to which the first data belongs. The embodiments of the present disclosure are not limited to this.

[0327] The priority relationship between data with delay requirements and data with synchronous transmission requirements depends on the terminal implementation; for example: when executing uplink resource allocation, the terminal can decide by itself whether to first allocate uplink resources to the first data with synchronous transmission requirements or the data to be transmitted in the PDU Set to which it belongs, and then allocate uplink resources to the first data with delay requirements or the data to be transmitted in the PDU Set to which it belongs; or, first allocate uplink resources to the first data with delay requirements or the data to be transmitted in the PDU Set to which it belongs, and then allocate uplink resources to the first data with synchronous transmission requirements or the data to be transmitted in the PDU Set to which it belongs; or, uplink resources can be allocated to the first data with delay requirements or the data to be transmitted in the PDU Set to which it belongs, and to the first data with synchronous transmission requirements or the data to be transmitted in the PDU Set to which it belongs, etc. The embodiments of the present disclosure are not limited to this.

[0328] The scheduling information sent by the network device is received, and the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements; for example: the network device can indicate in the scheduling information that the priority of data with delay requirements is higher than the priority of data with synchronous transmission requirements, or the priority of data with synchronous transmission requirements is higher than the priority of data with delay requirements, or the priority of data with delay requirements is equal to the priority of data with synchronous transmission requirements. In this way, when the network device indicates the priority relationship between data with delay requirements and data with synchronous transmission requirements, the terminal can perform uplink resource allocation for the first data with delay requirements and the first data with synchronous transmission requirements based on the indication of the network device (for details, please refer to the embodiment of the priority relationship between data with delay requirements and data with synchronous transmission requirements stipulated in the above-mentioned protocol, which will not be repeated here to avoid repetition).

[0329] The fourth configuration information sent by the network device is received, and the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements; for example: the network device can configure in the configuration information that the priority of data with delay requirements is higher than the priority of data with synchronous transmission requirements, or the priority of data with synchronous transmission requirements is higher than the priority of data with delay requirements, or the priority of data with delay requirements is equal to the priority of data with synchronous transmission requirements. In this way, when the network device is configured with the priority relationship between data with delay requirements and data with synchronous transmission requirements, the terminal can perform uplink resource allocation for the first data with delay requirements and the first data with synchronous transmission requirements based on the configuration of the network device (for details, please refer to the embodiment of the priority relationship between data with delay requirements and data with synchronous transmission requirements stipulated in the above-mentioned protocol, which will not be repeated here to avoid repetition).

[0330] It should be noted here that the fourth indication information is independent of the third indication information. For example, the scheduling information sent by the network device may carry the fourth indication information without carrying the third indication information. Of course, the embodiments of the present disclosure are not limited to this.

[0331] In some embodiments, the first indication information is used to indicate whether the terminal performs the first operation;

[0332] Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation.

[0333] For example, the terminal receives a first indication message sent by a network device; if the first indication message instructs the terminal to perform the first operation, the terminal preferentially allocates uplink resources for the first data according to the first indication message, or allocates uplink resources for the data to be transmitted in the PDU Set to which the first data belongs.

[0334] In some embodiments, the resource allocation method also includes: if the first indication information indicates that the terminal does not perform the first operation, the terminal does not perform the first operation, that is, the terminal does not need to prioritize allocating uplink resources for the first data or the data to be transmitted in the PDU Set to which the first data belongs according to the first indication information. For example, the terminal can perform uplink resource allocation according to the existing resource allocation mechanism, etc. The embodiments of the present disclosure are not limited to this.

[0335] For another example, the terminal receives first indication information sent by the network device. The terminal performs the following first operation according to the first indication information sent by the network device and when determining that the first data meets the first condition, including:

[0336] In a case where the first indication information indicates that the terminal allows execution of the first operation, the terminal determines whether the first data meets the first condition;

[0337] If the terminal determines that the first data meets the first condition, the first operation is performed, that is, when performing uplink resource allocation, the terminal preferentially allocates uplink resources to the first data, or allocates uplink resources to the data to be transmitted in the PDU Set to which the first data belongs.

[0338] In some embodiments, the resource allocation method also includes: if the first indication information indicates that the terminal is allowed to perform the first operation, the terminal determines whether the first data meets the first condition; if the terminal determines that the first data does not meet the first condition, the terminal does not perform the first operation, that is, the terminal does not have to prioritize allocating uplink resources for the first data or the data to be transmitted in the PDU Set to which the first data belongs. For example, the terminal can perform uplink resource allocation according to the existing resource allocation mechanism, etc. The embodiments of the present disclosure are not limited to this.

[0339] In some embodiments, the resource allocation method also includes: if the first indication information indicates that the terminal is not allowed to perform the first operation, the terminal does not perform the first operation, that is, the terminal does not need to determine whether the first data meets the first condition, or the terminal does not need to prioritize allocating uplink resources for the first data or the data to be transmitted in the PDU Set to which the first data belongs. For example, the terminal can perform uplink resource allocation according to the existing resource allocation mechanism, etc. The embodiments of the present disclosure are not limited to this.

[0340] In some embodiments, the first indication information indicates based on the terminal;

[0341] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0342] Alternatively, the first indication information is indicated based on an uplink scheduling grant (UL grant), for example, based on a UL grant configured in scheduling information (such as downlink scheduling information (Downlink Control Information, DCI)).

[0343] The terminal involved in the embodiments of the present disclosure may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal may also be different. For example, in a 5G system, the terminal may be called User Equipment (UE). A wireless terminal can communicate with one or more core networks (CN) via a radio access network (RAN). A wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal. For example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a radio access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and other devices. A wireless terminal may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent, or a user device, but is not limited in the embodiments of the present disclosure.

[0344] As shown in FIG4 , an embodiment of the present disclosure provides a resource allocation method, comprising the following steps:

[0345] Step 41: The network device sends first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0346] Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the PDU set (Set) to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0347] In some embodiments, the first indication information indicates based on the terminal;

[0348] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0349] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0350] It should be noted that the above-mentioned method of the embodiment of the present disclosure and the above-mentioned resource allocation method on the terminal side are based on the same inventive concept. The two embodiments can refer to each other and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0351] The network device involved in the embodiments of the present disclosure may be a base station, which may include multiple cells providing services to terminals. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in an access network that communicates with a wireless terminal through one or more sectors on an air interface, or may be called another name. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, acting as a router between the wireless terminal and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present disclosure may be a base transceiver station (BTS) in the Global System for Mobile communications (GSM) or code division multiple access (CDMA), a network device (NodeB) in wide-band code division multiple access (WCDMA), an evolutionary Node B (eNB or e-NodeB) in the long term evolution (LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), a home evolved Node B (HeNB), a relay node, a femto, a pico, etc., and is not limited in the embodiments of the present disclosure. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be geographically separated.

[0352] The resource allocation method disclosed in the present invention is described below with reference to specific embodiments:

[0353] Example 1: The protocol stipulates that first data or data to be transmitted within a PDU Set to which the first data belongs uses a first specified priority in uplink resources. The first specified priority is the highest priority or a priority configured by a network device. The network configuration may be a per-cell configuration, a bearer-based configuration, a logical channel-based configuration, etc. The first data includes but is not limited to at least one of the following:

[0354] Data requiring synchronous transmission;

[0355] Data with latency requirements.

[0356] Step 1: Receive configuration information sent by the network device (optional step).

[0357] In step 1, the network device may configure the terminal based on the bearer and / or channel whether to use the following resource allocation method:

[0358] For the first data, the terminal determines whether the first data meets the first condition. If the first condition is met, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0359] Step 2: The terminal receives an uplink scheduling grant (UL grant) from the network device.

[0360] UL grant refers to the uplink transmission resources allocated by the network device to the terminal.

[0361] In some embodiments, the network device may configure in the scheduling information corresponding to the UL grant (such as DCI) whether the UL grant uses the following resource allocation method:

[0362] For the first data, the terminal determines whether the first data meets the first condition. If the first condition is met, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0363] Step 3: The terminal performs uplink resource allocation.

[0364] If the network device in step 1 allows the use of the resource allocation method mentioned in step 1 for the bearer or logical channel configuration, or if the network device in step 2 allows the use of the resource allocation method mentioned in step 2 for the UL grant configuration, the terminal determines whether there is first data with synchronous transmission requirements and / or delay requirements.

[0365] Specifically, the terminal determines that the first data includes data requiring synchronous transmission through at least one of the following situations:

[0366] receiving first configuration information sent by a network device, where the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0367] receiving second configuration information sent by a network device, where the second configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0368] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0369] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0370] receiving third configuration information from a high-level layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0371] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0372] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0373] The terminal determines that the above association relationship exists through at least one of the following situations:

[0374] The first data and the second data carry the same identification information; for example, a service identifier or a synchronization identifier;

[0375] The first data carries identification information of a second QoS flow other than the first QoS flow to which the first data belongs;

[0376] The first data carries identification information of a second bearer other than the first bearer to which the first data belongs;

[0377] The first data carries identification information of second data other than the first data;

[0378] The first data carries a first synchronization delay difference value; wherein the first synchronization delay difference value includes at least one of the following:

[0379] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0380] an allowable synchronization delay difference between the first bearer and the second bearer;

[0381] The allowed synchronization delay difference between the first data and the second data.

[0382] Specifically, the terminal determines that the first data includes data with a delay requirement through at least one of the following situations:

[0383] The first data belongs to the PDU Set;

[0384] The first data configuration has PSDB;

[0385] The first data is configured with a PDB;

[0386] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0387] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0388] If the terminal determines that there is first data, the terminal determines whether the first data meets the first condition for the first data; if the terminal determines that the first data meets the first condition, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when executing uplink resource allocation.

[0389] If the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0390] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0391] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0392] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0393] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0394] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0395] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0396] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0397] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0398] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0399] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0400] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0401] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0402] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0403] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0404] Specifically, when performing uplink resource allocation, the terminal preferentially allocates uplink resources to the data to be transmitted in the PDU Set to which the first data belongs, including:

[0405] If the first data belongs to a PDU Set, the terminal prioritizes allocating uplink resources for the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation;

[0406] Alternatively, if the first data belongs to a PDU Set and satisfies a second condition, the terminal prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation. The second condition includes at least one of the following:

[0407] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0408] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0409] The specific implementation method of allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when the terminal performs uplink resource allocation can be: it is agreed in the protocol that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resources, and the first specified priority is the highest priority or the priority configured by the network device. The network configuration can be per cell configuration, bearer-based configuration, logical channel-based configuration, etc. That is, for UL grant, resources are allocated to the first data first. If there are remaining resources, the terminal allocates resources to other MAC CEs and / or data to be transmitted.

[0410] Furthermore, if the first data includes both data requiring synchronous transmission and data requiring delay, the priority relationship between the data requiring synchronous transmission and the data requiring delay may be any of the following:

[0411] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0412] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0413] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0414] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0415] Fourth indication information carried in the scheduling information sent by the network device; wherein the fourth indication information is used to indicate the priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0416] The fifth indication information is carried in the fourth configuration information sent by the network device; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0417] Embodiment 2: During the LCP process, the priority of first data or data to be transmitted in the PDU Set to which the first data belongs is increased. The first data includes but is not limited to at least one of the following:

[0418] Data requiring synchronous transmission;

[0419] Data with latency requirements.

[0420] Step 1: Receive configuration information sent by the network device (optional step).

[0421] In step 1, the network device may configure the terminal based on the bearer and / or channel whether to use the following resource allocation method:

[0422] For the first data, the terminal determines whether the first data meets the first condition. If the first condition is met, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0423] Step 2: The terminal receives a UL grant from the network device, that is, uplink transmission resources allocated by the network device to the terminal.

[0424] In some embodiments, the network device may configure in the scheduling information corresponding to the UL grant (such as DCI) whether the UL grant uses the following resource allocation method:

[0425] For the first data, the terminal determines whether the first data meets the first condition. If the first condition is met, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation.

[0426] Step 3: The terminal performs uplink resource allocation.

[0427] If the network device in step 1 allows the use of the resource allocation method mentioned in step 1 for the bearer or logical channel configuration, or if the network device in step 2 allows the use of the resource allocation method mentioned in step 2 for the UL grant configuration, the terminal determines whether there is first data with synchronous transmission requirements and / or delay requirements.

[0428] Specifically, the terminal determines that the first data includes data requiring synchronous transmission through at least one of the following situations:

[0429] receiving first configuration information sent by a network device, where the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0430] receiving second configuration information sent by a network device, where the second configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0431] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0432] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0433] receiving third configuration information from a high-level layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0434] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0435] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0436] The terminal determines that the above association relationship exists through at least one of the following situations:

[0437] The first data and the second data carry the same identification information; for example, a service identifier or a synchronization identifier;

[0438] The first data carries identification information of a second QoS flow other than the first QoS flow to which the first data belongs;

[0439] The first data carries identification information of a second bearer other than the first bearer to which the first data belongs;

[0440] The first data carries identification information of second data other than the first data;

[0441] The first data carries a first synchronization delay difference value; wherein the first synchronization delay difference value includes at least one of the following:

[0442] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0443] an allowable synchronization delay difference between the first bearer and the second bearer;

[0444] The allowed synchronization delay difference between the first data and the second data.

[0445] Specifically, the terminal determines that the first data includes data with a delay requirement through at least one of the following situations:

[0446] The first data belongs to the PDU Set;

[0447] The first data configuration has PSDB;

[0448] The first data is configured with a PDB;

[0449] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0450] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0451] If the terminal determines that there is first data with synchronous transmission requirements and / or delay requirements, the terminal determines whether the first data meets the first condition for the first data; if the terminal determines that the first data meets the first condition, the terminal gives priority to allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when executing uplink resource allocation.

[0452] If the terminal determines that there is first data, the terminal determines whether the first data meets the first condition for the first data; if the first condition is met, the terminal gives priority to allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when executing uplink resource allocation.

[0453] If the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0454] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0455] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0456] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0457] The first data is configured with a PSDB;

[0458] The first data is configured with a PDB;

[0459] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0460] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0461] Specifically, when performing uplink resource allocation, the terminal preferentially allocates uplink resources to the data to be transmitted in the PDU Set to which the first data belongs, including:

[0462] If the first data belongs to a PDU Set, the terminal prioritizes allocating uplink resources for the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation;

[0463] Alternatively, if the first data belongs to a PDU Set and satisfies a second condition, the terminal prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation. The second condition includes at least one of the following:

[0464] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0465] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0466] The specific implementation method of allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when the terminal performs uplink resource allocation may be: during LCP processing, it is agreed that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other data except UL-CCCH data and / or C-RNTI MAC CE.

[0467] In some embodiments, the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs may be limited to be lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs may be higher than the priority of other logical channel data except UL-CCCH data; wherein, the first MAC CE may include but is not limited to at least one of the following:

[0468] MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT;

[0469] MAC CE for requesting IAB-MT power spectral density range;

[0470] MAC CE used to request downlink transmit power adjustment.

[0471] Furthermore, if the first data includes both data requiring synchronous transmission and data requiring delay, the priority relationship between the data requiring synchronous transmission and the data requiring delay may be any of the following:

[0472] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0473] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0474] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0475] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0476] Fourth indication information carried in the scheduling information sent by the network device; wherein the fourth indication information is used to indicate the priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0477] The fifth indication information is carried in the fourth configuration information sent by the network device; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0478] Embodiment 3: The scheduling signaling indicates that the UL grant only allows the transmission of first data; wherein the first data includes but is not limited to at least one of the following:

[0479] Data requiring synchronous transmission;

[0480] Data with latency requirements.

[0481] Step 1: The terminal receives a UL grant from a network device, that is, uplink transmission resources allocated by the network device to the terminal.

[0482] Receive scheduling information sent by a network device, wherein the scheduling information carries third indication information, wherein the third indication information is used to indicate that the UL grant is exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs (that is, the third indication information is an exclusive indication signal), or the third indication information is used to indicate that the UL grant can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

[0483] Step 2: The terminal performs uplink resource allocation.

[0484] The terminal determines whether there is first data with synchronous transmission requirement and / or delay requirement.

[0485] Specifically, the terminal determines that the first data includes data requiring synchronous transmission through at least one of the following situations:

[0486] receiving first configuration information sent by a network device, where the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0487] receiving second configuration information sent by a network device, where the second configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0488] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0489] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0490] receiving third configuration information from a high-level layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0491] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0492] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0493] The terminal determines that the above association relationship exists through at least one of the following situations:

[0494] The first data and the second data carry the same identification information; for example, a service identifier or a synchronization identifier;

[0495] The first data carries identification information of a second QoS flow other than the first QoS flow to which the first data belongs;

[0496] The first data carries identification information of a second bearer other than the first bearer to which the first data belongs;

[0497] The first data carries identification information of second data other than the first data;

[0498] The first data carries a first synchronization delay difference value; wherein the first synchronization delay difference value includes at least one of the following:

[0499] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0500] an allowable synchronization delay difference between the first bearer and the second bearer;

[0501] The allowed synchronization delay difference between the first data and the second data.

[0502] Specifically, the terminal determines that the first data includes data with a delay requirement through at least one of the following situations:

[0503] The first data belongs to the PDU Set;

[0504] The first data configuration has PSDB;

[0505] The first data is configured with a PDB;

[0506] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0507] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0508] If the terminal determines that there is first data, the terminal determines whether the first data meets the first condition for the first data; if the terminal determines that the first data meets the first condition, the terminal prioritizes allocating uplink resources to the first data or the data to be transmitted in the PDU Set to which the first data belongs when executing uplink resource allocation.

[0509] If the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0510] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0511] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0512] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0513] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0514] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0515] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0516] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0517] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0518] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0519] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0520] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0521] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0522] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0523] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0524] If the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0525] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0526] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0527] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0528] The first data is configured with a PSDB;

[0529] The first data is configured with a PDB;

[0530] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0531] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0532] Specifically, when performing uplink resource allocation, the terminal preferentially allocates uplink resources to the data to be transmitted in the PDU Set to which the first data belongs, including:

[0533] If the first data belongs to a PDU Set, the terminal prioritizes allocating uplink resources for the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation;

[0534] Alternatively, if the first data belongs to a PDU Set and satisfies a second condition, the terminal prioritizes allocating uplink resources to the data to be transmitted in the PDU Set to which the first data belongs when performing uplink resource allocation. The second condition includes at least one of the following:

[0535] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0536] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0537] A specific implementation manner of allocating uplink resources preferentially to the first data or the data to be transmitted in the PDU Set to which the first data belongs when the terminal performs uplink resource allocation may be: only the first data that meets the first condition is carried in the UL grant.

[0538] Furthermore, if the first data includes both data requiring synchronous transmission and data requiring delay, the priority relationship between the data requiring synchronous transmission and the data requiring delay may be any of the following:

[0539] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0540] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0541] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0542] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0543] Fourth indication information carried in the scheduling information sent by the network device; wherein the fourth indication information is used to indicate the priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0544] The fifth indication information is carried in the fourth configuration information sent by the network device; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0545] The above embodiments have introduced the resource allocation method disclosed herein. The following embodiments will further illustrate the corresponding terminals and network devices with reference to the accompanying drawings.

[0546] As shown in FIG5 , this embodiment provides a terminal including a memory 51, a transceiver 52, and a processor 53. The memory 51 is used to store computer programs; the transceiver 52 is used to send and receive data under the control of the processor 53. For example, the transceiver 52 is used to receive and send data under the control of the processor 53; the processor 53 is used to read the computer program in the memory 51 and perform the following operations:

[0547] Perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition:

[0548] Prioritizing allocating uplink resources to the first data;

[0549] Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set PDU Set to which the first data belongs;

[0550] The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0551] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data requiring synchronous transmission:

[0552] receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0553] receiving second configuration information sent by a network device, wherein the second configuration information configures an association relationship between a first quality of service flow QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0554] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0555] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0556] receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0557] Determine that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0558] Determine that the GPRS Tunneling Protocol User Plane GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0559] In some embodiments, when the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0560] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0561] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0562] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0563] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0564] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0565] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0566] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0567] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0568] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0569] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0570] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0571] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0572] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0573] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0574] In some embodiments, the association relationship is determined, indicated, or configured based on at least one of the following:

[0575] The first data and the second data carry the same identification information;

[0576] The first data carries identification information of the second QoS flow;

[0577] The first data carries identification information of the second bearer;

[0578] The first data carries identification information of the second data;

[0579] The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following:

[0580] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0581] an allowable synchronization delay difference between the first bearer and the second bearer;

[0582] The allowed synchronization delay difference between the first data and the second data.

[0583] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data with a delay requirement:

[0584] The first data belongs to a PDU Set;

[0585] The first data is configured with a packet data unit set delay budget PSDB;

[0586] The first data is configured with a packet delay budget PDB;

[0587] A packet data convergence protocol (PDCP) layer discard timer of a packet data convergence protocol (PDCP) service data unit (PDCP SDU) to which the first data belongs is running;

[0588] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0589] In some embodiments, when the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0590] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0591] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0592] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0593] The first data is configured with a PSDB;

[0594] The first data is configured with a PDB;

[0595] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0596] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0597] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:

[0598] In a case where the first data belongs to a PDU Set, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs.

[0599] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:

[0600] When the first data satisfies the second condition, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs; or

[0601] When the first data belongs to a PDU Set and the first data satisfies a second condition, uplink resources are preferentially allocated to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following:

[0602] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0603] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0604] In some embodiments, the processor is configured to read the computer program in the memory and perform any one of the following operations:

[0605] Performing the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device;

[0606] Performing the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of third data, and the third data includes other data except uplink common control channel UL-CCCH data and / or cell radio network temporary identifier media access control control element C-RNTI MAC CE;

[0607] Performing the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data;

[0608] The first operation is performed according to the third indication information carried in the scheduling information sent by the network device; wherein the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

[0609] In some embodiments, at least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol;

[0610] and / or,

[0611] At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

[0612] In some embodiments, the first MAC CE includes at least one of the following:

[0613] MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT;

[0614] MAC CE for requesting IAB-MT power spectral density range;

[0615] MAC CE used to request downlink transmit power adjustment.

[0616] In some embodiments, when the first data includes: data requiring synchronous transmission and data requiring a delay, the processor is configured to read the computer program in the memory and perform one of the following operations to determine a priority relationship between the data requiring synchronous transmission and the data requiring a delay in the first data:

[0617] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0618] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0619] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0620] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0621] Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0622] Fourth configuration information sent by the network device is received, wherein the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0623] In some embodiments, the first indication information is used to indicate whether the terminal performs the first operation;

[0624] Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0625] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:

[0626] In a case where the first indication information indicates that the terminal allows execution of the first operation, determining whether the first data meets the first condition;

[0627] If it is determined that the first data meets the first condition, the first operation is performed.

[0628] In some embodiments, the processor is configured to read the computer program in the memory and further perform the following operations:

[0629] If the first instruction information instructs the terminal not to perform the first operation, the first operation is not performed;

[0630] Alternatively, if the first indication information is used to indicate that the terminal is not allowed to perform the first operation, the first operation is not performed;

[0631] Alternatively, if the first indication information is used to instruct the terminal to allow execution of the first operation, it is determined whether the first data meets the first condition; if it is determined that the first data does not meet the first condition, the first operation is not performed.

[0632] In some embodiments, the first indication information indicates based on the terminal;

[0633] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0634] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0635] In FIG5 , the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 53 and memory represented by memory 51. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 52 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, such as a wireless channel, a wired channel, an optical cable, and the like. For different user devices, the user interface 54 may also be an interface capable of connecting to external or internal devices as required, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0636] The processor 53 is responsible for managing the bus architecture and general processing, and the memory 51 can store data used by the processor 53 when performing operations.

[0637] In some embodiments, the processor 53 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.

[0638] The processor calls the computer program stored in the memory to execute any of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0639] It should be noted here that the above-mentioned terminal provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned terminal-side resource allocation method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0640] As shown in FIG6 , an embodiment of the present disclosure provides a terminal 600, which includes:

[0641] The first processing unit 610 is configured to perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition:

[0642] Prioritizing allocating uplink resources to the first data;

[0643] Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set PDU Set to which the first data belongs;

[0644] The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0645] In some embodiments, the first processing unit 610 is further configured to determine that the first data includes data requiring synchronous transmission by at least one of the following methods:

[0646] receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0647] receiving second configuration information sent by a network device, wherein the second configuration information configures an association relationship between a first quality of service flow QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0648] Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0649] Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0650] receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0651] Determine that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0652] Determine that the GPRS Tunneling Protocol User Plane GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

[0653] In some embodiments, when the first data includes data requiring synchronous transmission, the first condition includes at least one of the following:

[0654] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold;

[0655] The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference;

[0656] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold;

[0657] The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference;

[0658] The waiting time of the first data in the buffer is greater than or equal to a third threshold;

[0659] The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0660] The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0661] The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0662] The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0663] The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow;

[0664] The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer;

[0665] The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data;

[0666] The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other;

[0667] The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

[0668] In some embodiments, the association relationship is determined, indicated, or configured based on at least one of the following:

[0669] The first data and the second data carry the same identification information;

[0670] The first data carries identification information of the second QoS flow;

[0671] The first data carries identification information of the second bearer;

[0672] The first data carries identification information of the second data;

[0673] The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following:

[0674] The allowed synchronization delay difference between the first QoS flow and the second QoS flow;

[0675] an allowable synchronization delay difference between the first bearer and the second bearer;

[0676] The allowed synchronization delay difference between the first data and the second data.

[0677] In some embodiments, the first processing unit 610 is further configured to determine that the first data includes data with a delay requirement by at least one of the following situations:

[0678] The first data belongs to a PDU Set;

[0679] The first data is configured with a packet data unit set delay budget PSDB;

[0680] The first data is configured with a packet delay budget PDB;

[0681] A packet data convergence protocol (PDCP) layer discard timer of a packet data convergence protocol (PDCP) service data unit (PDCP SDU) to which the first data belongs is running;

[0682] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0683] In some embodiments, when the first data includes data with a delay requirement, the first condition includes at least one of the following:

[0684] The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold;

[0685] The value of the PDB to which the first data belongs is less than or equal to a fifth threshold;

[0686] The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold;

[0687] The first data is configured with a PSDB;

[0688] The first data is configured with a PDB;

[0689] The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running;

[0690] The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

[0691] In some embodiments, the first processing unit 610 is further configured to:

[0692] In a case where the first data belongs to a PDU Set, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs.

[0693] In some embodiments, the first processing unit 610 is further configured to:

[0694] When the first data satisfies the second condition, uplink resources are preferentially allocated to the data to be transmitted in the PDU Set to which the first data belongs; or

[0695] When the first data belongs to a PDU Set and the first data satisfies a second condition, uplink resources are preferentially allocated to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following:

[0696] The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs;

[0697] The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

[0698] In some embodiments, the first processing unit 610 is further configured to:

[0699] Performing the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device;

[0700] Performing the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of third data, and the third data includes other data except uplink common control channel UL-CCCH data and / or cell radio network temporary identifier media access control control element C-RNTI MAC CE;

[0701] Performing the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data;

[0702] The first operation is performed according to the third indication information carried in the scheduling information sent by the network device; wherein the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

[0703] In some embodiments, at least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol;

[0704] and / or,

[0705] At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

[0706] In some embodiments, the first MAC CE includes at least one of the following:

[0707] MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT;

[0708] MAC CE for requesting IAB-MT power spectral density range;

[0709] MAC CE used to request downlink transmit power adjustment.

[0710] In some embodiments, when the first data includes: data requiring synchronous transmission and data requiring a delay, the first processing unit 610 is further configured to determine a priority relationship between the data requiring synchronous transmission and the data requiring a delay in the first data by one of the following methods:

[0711] The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement;

[0712] The priority of data requiring synchronous transmission is higher than the priority of data requiring delay;

[0713] The priority of data requiring synchronous transmission is equal to the priority of data requiring delay;

[0714] The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation;

[0715] Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement;

[0716] Fourth configuration information sent by the network device is received, wherein the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

[0717] In some embodiments, the first indication information is used to indicate whether the terminal performs the first operation;

[0718] Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0719] In some embodiments, the first processing unit 610 is further configured to:

[0720] In a case where the first indication information indicates that the terminal allows execution of the first operation, determining whether the first data meets the first condition;

[0721] If the terminal determines that the first data meets the first condition, the first operation is performed.

[0722] In some embodiments, the terminal 600 further includes:

[0723] a second processing unit, configured to, if the first indication information instructs the terminal not to perform the first operation, cause the terminal not to perform the first operation;

[0724] or,

[0725] a third processing unit, configured to, if the first indication information indicates that the terminal is not allowed to perform the first operation, cause the terminal not to perform the first operation;

[0726] or,

[0727] The fourth processing unit is configured to determine, if the first indication information indicates that the terminal allows the first operation to be performed, whether the first data satisfies the first condition; and if the terminal determines that the first data does not satisfy the first condition, not perform the first operation.

[0728] In some embodiments, the first indication information indicates based on the terminal;

[0729] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0730] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0731] It should be noted here that the above-mentioned terminal provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned terminal-side resource allocation method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0732] As shown in FIG7 , an embodiment of the present disclosure provides a network device, including a memory 71, a transceiver 72, and a processor 73. The memory 71 is used to store computer programs; the transceiver 72 is used to send and receive data under the control of the processor 73; for example, the transceiver 72 is used to receive and send data under the control of the processor 73; and the processor 73 is used to read the computer program in the memory 71 and perform the following operations:

[0733] Sending first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0734] Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the packet data unit set PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0735] In some embodiments, the first indication information indicates based on the terminal;

[0736] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0737] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0738] In FIG7 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 73 and various circuits of memory represented by memory 71. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 72 may be a plurality of components, i.e., a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium, such as a wireless channel, a wired channel, an optical cable, or the like. The processor 73 is responsible for managing the bus architecture and general processing, and the memory 71 may store data used by the processor 73 when performing operations.

[0739] The processor 73 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.

[0740] It should be noted here that the above-mentioned network device provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned network device side resource allocation method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0741] As shown in FIG8 , an embodiment of the present disclosure provides a network device 800, including:

[0742] The sending unit 810 is configured to send first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation;

[0743] Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the packet data unit set PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

[0744] In some embodiments, the first indication information indicates based on the terminal;

[0745] Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal;

[0746] Alternatively, the first indication information is indicated based on the uplink scheduling permission.

[0747] It should be noted here that the above-mentioned network device provided in the embodiment of the present disclosure can implement all the method steps implemented in the resource allocation method embodiment on the above-mentioned network device side, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0748] It should be noted that the division of units in the embodiments of the present disclosure is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0749] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present disclosure. 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.

[0750] An embodiment of the present disclosure also provides a processor-readable storage medium, which stores a computer program. The computer program is used to enable the processor to execute the steps of the resource allocation method on the terminal side, or the computer program is used to enable the processor to execute the steps of the resource allocation method on the network device side, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0751] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as compact disks (CD), digital video discs (DVD), Blu-ray discs (BD), high-definition versatile discs (HVD), etc.), and semiconductor memory (read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), non-volatile memory (NAND FLASH), solid-state disks (SSD), etc.).

[0752] The embodiments of the present disclosure also provide a computer program product, including computer instructions, which, when executed by a processor, implement the various processes of the resource allocation method embodiment on the terminal side, or implement the various processes of the resource allocation method embodiment on the network device side when the computer instructions are executed by a processor, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0753] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.

[0754] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0755] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0756] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0757] In addition, it should be noted that, in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it will be understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0758] In addition, it should be noted that, in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it will be understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0759] It should be noted that it should be understood that the division of the above modules is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. Moreover, these modules can all be implemented in the form of software called by a processing element; or they can all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. For example, a module can be a separately established processing element, or it can be integrated into a chip of the above-mentioned device. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called by a processing element of the above-mentioned device to perform the functions of the above-mentioned module. The implementation of other modules is similar. In addition, these modules can all or partly be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0760] For example, each module, unit, sub-unit or sub-module can be one or more integrated circuits configured to implement the above method, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented by scheduling program code through a processing element, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0761] The terms "first," "second," and the like in the specification and claims of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present disclosure described herein may be implemented in a sequence other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units need not be limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or devices. In addition, the use of "and / or" in the specification and claims to indicate at least one of the connected objects, for example, A and / or B and / or C, means that seven situations are included: A alone, B alone, C alone, both A and B present, both B and C present, both A and C present, and all A, B, and C present. Similarly, the use of "at least one of A and B" in the specification and claims should be understood to mean "A alone, B alone, or both A and B present."

[0762] Obviously, those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.

Claims

1. A resource allocation method, comprising: The terminal performs the following first operation according to the first indication information sent by the network device and / or when determining that the first data meets the first condition: Prioritizing allocating uplink resources to the first data; Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set PDU Set to which the first data belongs; The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

2. The resource allocation method according to claim 1, wherein: The terminal determines, by at least one of the following methods, that the first data includes data requiring synchronous transmission: receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; receiving second configuration information sent by a network device, wherein the second configuration information configures an association relationship between a first quality of service flow QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; Determine that the General Packet Radio Service GPRS Tunneling Protocol User Plane GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

3. The resource allocation method according to claim 1, wherein: In the case where the first data includes data requiring synchronous transmission, the first condition includes at least one of the following: The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold; The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference; The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold; The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference; The waiting time of the first data in the buffer is greater than or equal to a third threshold; The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data; The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other; The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

4. The resource allocation method according to claim 2 or 3, wherein: The association relationship is determined, indicated, or configured based on at least one of the following situations: The first data and the second data carry the same identification information; The first data carries identification information of the second QoS flow; The first data carries identification information of the second bearer; The first data carries identification information of the second data; The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following: The allowed synchronization delay difference between the first QoS flow and the second QoS flow; an allowable synchronization delay difference between the first bearer and the second bearer; The allowed synchronization delay difference between the first data and the second data.

5. The resource allocation method according to claim 1, wherein: The terminal determines that the first data includes data with a delay requirement through at least one of the following situations: The first data belongs to a PDU Set; The first data is configured with a packet data unit set delay budget PSDB; The first data is configured with a packet delay budget PDB; A packet data convergence protocol (PDCP) layer discard timer of a packet data convergence protocol (PDCP) service data unit (PDCP SDU) to which the first data belongs is running; The first bearer to which the first data belongs is configured with a PDCP layer discard timer. The resource allocation method according to claim 1 , wherein: In the case where the first data includes data with a delay requirement, the first condition includes at least one of the following: The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold; The value of the PDB to which the first data belongs is less than or equal to a fifth threshold; The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold; The first data is configured with a PSDB; The first data is configured with a PDB; The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running; The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

7. The resource allocation method according to claim 1, wherein: The terminal preferentially allocating uplink resources for data to be transmitted in a packet data unit set (PDU Set) to which the first data belongs, including: When the first data satisfies a second condition, the terminal preferentially allocates uplink resources to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following: The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs; The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

8. The resource allocation method according to claim 1, wherein: The terminal performing the first operation includes any one of the following: The terminal performs the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device; The terminal performs the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of the third data, and the third data includes other data except the uplink common control channel UL-CCCH data and / or the cell radio network temporary identifier media access control control element C-RNTI MAC CE; The terminal performs the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first media access control control element MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data; The terminal performs the first operation according to the third indication information carried in the scheduling information sent by the network device; wherein, the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

9. The resource allocation method according to claim 8, wherein: At least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol; and / or, At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device.

10. The resource allocation method according to claim 8, wherein: The first MAC CE includes at least one of the following: MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT; MAC CE for requesting IAB-MT power spectral density range; MAC CE used to request downlink transmit power adjustment.

11. The resource allocation method according to claim 8, wherein: In a case where the first data includes data requiring synchronous transmission and data requiring a delay, the terminal determines a priority relationship between the data requiring synchronous transmission and the data requiring a delay in the first data by one of the following methods: The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement; The priority of data requiring synchronous transmission is higher than the priority of data requiring delay; The priority of data requiring synchronous transmission is equal to the priority of data requiring delay; The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation; Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement; Fourth configuration information sent by the network device is received, wherein the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

12. The resource allocation method according to claim 1, wherein: The first indication information is used to indicate whether the terminal performs the first operation; Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation.

13. The resource allocation method according to claim 1 or 12, wherein: The terminal performs the following first operation according to the first indication information sent by the network device and when determining that the first data meets the first condition, including: In a case where the first indication information indicates that the terminal allows execution of the first operation, the terminal determines whether the first data meets the first condition; If the terminal determines that the first data meets the first condition, the first operation is performed.

14. The resource allocation method according to claim 1 or 12, further comprising: If the first indication information instructs the terminal not to perform the first operation, the terminal does not perform the first operation; Alternatively, if the first indication information indicates that the terminal is not allowed to perform the first operation, the terminal does not perform the first operation; Alternatively, if the first indication information indicates that the terminal allows execution of the first operation, the terminal determines whether the first data meets the first condition; if the terminal determines that the first data does not meet the first condition, the terminal does not perform the first operation.

15. The resource allocation method according to claim 1 or 12, wherein: The first indication information is based on the terminal for indication; Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal; Alternatively, the first indication information is indicated based on the uplink scheduling permission.

16. A resource allocation method, comprising: The network device sends first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs the first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation; Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the packet data unit set PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

17. The resource allocation method according to claim 16, wherein: The first indication information is based on the terminal for indication; Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal; Alternatively, the first indication information is indicated based on the uplink scheduling permission.

18. A terminal comprising a memory, a transceiver, and a processor; in, The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: Perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition: Prioritizing allocating uplink resources to the first data; Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set PDU Set to which the first data belongs; The first data includes: data with synchronous transmission requirements and / or data with delay requirements. The terminal according to claim 18 , wherein: The processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data requiring synchronous transmission: receiving first configuration information sent by a network device, wherein the first configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; receiving second configuration information sent by a network device, wherein the second configuration information configures an association relationship between a first quality of service flow QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; Determining first pre-configuration information, where the first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; Determine second pre-configuration information, where the second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; receiving third configuration information sent by a higher layer of the terminal, wherein the third configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; Determine that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; Determine that the GPRS Tunneling Protocol User Plane GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data.

20. The terminal according to claim 18, wherein In the case where the first data includes data requiring synchronous transmission, the first condition includes at least one of the following: The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to a first threshold; The difference between the time when the first data arrives at the buffer and the time when the second data is sent is greater than or equal to the configured synchronization delay difference; The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to a second threshold; The first data is in the buffer and the difference between the first time and the sending time of the second data is greater than or equal to the preconfigured synchronization delay difference; The waiting time of the first data in the buffer is greater than or equal to a third threshold; The first configuration information sent by the network device configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The second configuration information sent by the network device configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The first pre-configuration information configures an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The second pre-configuration information configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The third configuration information sent by the terminal high layer configures an association relationship between a first QoS flow to which the first data belongs and a second QoS flow other than the first QoS flow; The terminal determines that there is an association relationship between a first bearer to which the first data belongs and a second bearer other than the first bearer; The GTP-U header corresponding to the first data carries second indication information; wherein the second indication information is used to indicate that there is an association relationship between the first data and second data other than the first data; The first data and the second data are associated with each other, or a first QoS flow to which the first data belongs and a second QoS flow to which the second data belongs are associated with each other, or a first bearer to which the first data belongs and a second bearer to which the second data belongs are associated with each other; The first moment is the moment when the terminal determines whether the first data meets the first condition, or the moment when the terminal receives uplink scheduling, or the moment when the terminal performs a logical channel priority LCP process based on uplink scheduling.

21. The terminal according to claim 19 or 20, wherein: The association relationship is determined, indicated, or configured based on at least one of the following situations: The first data and the second data carry the same identification information; The first data carries identification information of the second QoS flow; The first data carries identification information of the second bearer; The first data carries identification information of the second data; The first data carries a first synchronization delay difference; wherein the first synchronization delay difference includes at least one of the following: The allowed synchronization delay difference between the first QoS flow and the second QoS flow; an allowable synchronization delay difference between the first bearer and the second bearer; The allowed synchronization delay difference between the first data and the second data.

22. The terminal according to claim 18, wherein The processor is configured to read the computer program in the memory and perform at least one of the following operations to determine that the first data includes data with a delay requirement: The first data belongs to a PDU Set; The first data is configured with a packet data unit set delay budget PSDB; The first data is configured with a packet delay budget PDB; A packet data convergence protocol (PDCP) layer discard timer of a packet data convergence protocol (PDCP) service data unit (PDCP SDU) to which the first data belongs is running; The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

23. The terminal according to claim 18, wherein: In the case where the first data includes data with a delay requirement, the first condition includes at least one of the following: The value of the PSDB to which the first data belongs is less than or equal to a fourth threshold; The value of the PDB to which the first data belongs is less than or equal to a fifth threshold; The remaining running time of the PDCP layer discard timer to which the first data belongs is less than or equal to a sixth threshold; The first data is configured with a PSDB; The first data is configured with a PDB; The PDCP layer discard timer of the PDCP SDU to which the first data belongs is running; The first bearer to which the first data belongs is configured with a PDCP layer discard timer.

24. The terminal according to claim 18, wherein The processor is configured to read the computer program in the memory and perform the following operations: When the first data satisfies a second condition, uplink resources are preferentially allocated to data to be transmitted in the PDU Set to which the first data belongs; wherein the second condition includes at least one of the following: The network device configures PDU Set-based discarding for the bearer or logical channel to which the first data belongs; The network device configures PDU Set-based discarding for the bearer or logical channel to which the PDU Set to which the first data belongs belongs.

25. The terminal according to claim 18, wherein The processor is configured to read the computer program in the memory and perform any one of the following operations: Performing the first operation based on a first priority rule; wherein the first priority rule is that the first data or the data to be transmitted in the PDU Set to which the first data belongs uses a first specified priority in the uplink resource, and the first specified priority is the highest priority or the priority configured by the network device; Performing the first operation based on a second priority rule; wherein the second priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of third data, and the third data includes other data except uplink common control channel UL-CCCH data and / or cell radio network temporary identifier media access control control element C-RNTI MAC CE; Performing the first operation based on a third priority rule; wherein the third priority rule is that the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is lower than the priority of the first MAC CE, and the priority of the first data or the data to be transmitted in the PDU Set to which the first data belongs is higher than the priority of other logical channel data except UL-CCCH data; The first operation is performed according to the third indication information carried in the scheduling information sent by the network device; wherein the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal are exclusively used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs, or the third indication information is used to indicate that the uplink resources allocated by the network device to the terminal can be used to transmit the first data or the data to be transmitted in the PDU Set to which the first data belongs.

26. The terminal according to claim 25, wherein: At least one of the first priority rule, the second priority rule, and the third priority rule is agreed upon by a protocol; and / or, At least one of the first priority rule, the second priority rule, and the third priority rule is configured by a network device. The terminal according to claim 25 , wherein: The first MAC CE includes at least one of the following: MAC CE used to indicate the recommended beam to the integrated access backhaul mobile terminal IAB-MT; MAC CE for requesting IAB-MT power spectral density range; MAC CE used to request downlink transmit power adjustment.

28. The terminal according to claim 25, wherein: In a case where the first data includes data requiring synchronous transmission and data requiring a delay, the processor is configured to read the computer program in the memory and perform one of the following operations to determine a priority relationship between the data requiring synchronous transmission and the data requiring a delay in the first data: The priority of data with time delay requirement is higher than the priority of data with synchronous transmission requirement; The priority of data requiring synchronous transmission is higher than the priority of data requiring delay; The priority of data requiring synchronous transmission is equal to the priority of data requiring delay; The priority relationship between data with time delay requirements and data with synchronous transmission requirements depends on the terminal implementation; Receiving scheduling information sent by a network device, wherein the scheduling information carries fourth indication information; wherein the fourth indication information is used to indicate a priority relationship between data with a delay requirement and data with a synchronous transmission requirement; Fourth configuration information sent by the network device is received, wherein the fourth configuration information carries five indication information; wherein the fifth indication information is used to indicate the priority relationship between data with delay requirements and data with synchronous transmission requirements.

29. The terminal according to claim 18, wherein The first indication information is used to indicate whether the terminal performs the first operation; Alternatively, the first indication information is used to indicate whether the terminal is allowed to perform the first operation.

30. The terminal according to claim 18 or 29, wherein: The processor is configured to read the computer program in the memory and perform the following operations: In a case where the first indication information indicates that the terminal allows execution of the first operation, determining whether the first data meets the first condition; If it is determined that the first data meets the first condition, the first operation is performed.

31. The terminal according to claim 18 or 29, wherein: The processor is configured to read the computer program in the memory and further perform the following operations: If the first instruction information instructs the terminal not to perform the first operation, the first operation is not performed; Alternatively, if the first indication information indicates that the terminal is not allowed to perform the first operation, the first operation is not performed; Alternatively, if the first indication information indicates that the terminal allows execution of the first operation, it is determined whether the first data meets the first condition; if it is determined that the first data does not meet the first condition, the first operation is not performed.

32. The terminal according to claim 18 or 29, wherein: The first indication information is based on the terminal for indication; Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal; Alternatively, the first indication information is indicated based on the uplink scheduling permission.

33. A terminal comprising: The first processing unit is configured to perform the following first operation according to the first indication information sent by the network device and / or when it is determined that the first data meets the first condition: Prioritizing allocating uplink resources to the first data; Alternatively, uplink resources are preferentially allocated to data to be transmitted in a packet data unit set PDU Set to which the first data belongs; The first data includes: data with synchronous transmission requirements and / or data with delay requirements.

34. A network device comprising a memory, a transceiver, and a processor; in, The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: Sending first indication information to the terminal; wherein the first indication information is used to indicate whether the terminal performs a first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation; Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the packet data unit set PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

35. The network device according to claim 34, wherein: The first indication information is based on the terminal for indication; Alternatively, the first indication information is indicated based on the bearer and / or logical channel of the terminal; Alternatively, the first indication information is indicated based on the uplink scheduling permission.

36. A network device comprising A sending unit, configured to send first indication information to a terminal; wherein, The first indication information is used to indicate whether the terminal performs the first operation, or the first indication information is used to indicate whether the terminal is allowed to perform the first operation; Among them, the first operation includes: prioritizing the allocation of uplink resources for the first data, or prioritizing the allocation of uplink resources for the data to be transmitted in the packet data unit set PDU Set to which the first data belongs; the first data includes: data with synchronous transmission requirements and / or data with delay requirements.

37. A processor-readable storage medium, wherein: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the steps of the resource allocation method according to any one of claims 1 to 17.

38. A computer program product, wherein The method comprises computer instructions, which, when executed by a processor, implement the steps of the resource allocation method according to any one of claims 1 to 17.