Communication method and device

By adjusting their priority according to the remaining time of the data transmission object, the problem of emergency data packets not being sent in time during the LCP process is solved, and more efficient data transmission and improved service experience are achieved.

CN120224469APending Publication Date: 2025-06-27HONOR DEVICE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311751405.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, data is filled to resources according to the priority configured on the network side during the LCP process, resulting in data packets that require emergency dispatch failing to be sent in a timely manner, affecting the service experience.

Method used

By obtaining the sorting result or priority of the data transmission object based on the remaining time of the data transmission object, and using it as a basis for resource allocation or data transmission, we ensure that emergency data can be sent first.

Benefits of technology

It realizes the timely sending of data packets that require urgent scheduling, meets business needs, and improves the service experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120224469A_ABST
    Figure CN120224469A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and related equipment, and the method comprises the steps: obtaining a sorting result or priority of a data transmission object according to the remaining duration of the data transmission object, and transmitting data in the data transmission object or allocating resources for the data transmission object according to the sorting result or priority of the data transmission object. According to the method, the remaining duration of the data transmission objects is considered, the sorting result or priority of the data transmission objects is obtained based on the remaining duration of the data transmission objects, and resources are allocated to the data transmission objects or data in the data transmission objects are transmitted on the basis, so that the data needing emergency scheduling can be preferentially sent, and the data transmission efficiency is improved. Business requirements are met, and service experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a communication method, an electronic device, a communication system, and a computer-readable storage medium. Background Art

[0002] With the development of mobile communication technologies, especially the continuous development of new-generation mobile communication technologies such as the fifth generation mobile networks (abbreviated as 5G), the functions of communication systems are constantly enhancing. Specifically, a 5G communication system can provide enhanced Mobile Broadband (eMBB), with faster connections, higher throughput, and greater capacity, and provide ultra-reliable low-latency communications (uRLLC), thereby applying the network to critical mission scenarios that require uninterrupted and stable data links, such as Extended Reality (XR) scenarios or Cloud Gaming scenarios, to meet the requirements of ultra-high reliability and low latency of the wireless communication network for the scenarios.

[0003] A communication system may include network devices such as base stations. Each base station can support the communication of multiple terminals, where the terminal can be a user equipment (UE). In many mission scenarios, the UE usually needs to upload data to the network device. The UE usually includes multiple logical channels, and the UE can map the logical channels to an uplink grant (UL grant) according to certain rules. For example, if the sub-carrier space (SCS) associated with the logical channel is the same as the SCS of the uplink grant, then the logical channel can be mapped to the uplink grant, that is, the data of the logical channel can be transmitted on the uplink grant.

[0004] Among them, the logical channels mapped to the uplink grant are usually filled into the corresponding resources for transmission according to the logical channel prioritization (LCP) configured by the network side. In this way, some data packets that need to be urgently scheduled are not sent in time, affecting the service experience. Summary of the Invention

[0005] This application provides a communication method and related devices, aiming to solve the problem that in the LCP process, data is filled into resources according to the priorities configured by the network side, resulting in data packets that need to be urgently scheduled not being sent in time and affecting the service experience.

[0006] To achieve the above object, the present application provides the following technical solutions:

[0007] A first aspect of the present application provides a communication method. This method can be applied to a communication system and is executed by a second device in the communication system. Among them, the second device can be a device accessing the network, usually a terminal, such as a user equipment (UE), a mobile station, or a mobile unit.

[0008] Specifically, the second device can obtain a sorting result or a priority of a data transmission object according to the remaining duration of the data transmission object. Here, the data transmission object is an object for data transmission, such as a logical channel. Then, the second device can transmit the data in the data transmission object or allocate resources for the data transmission object according to the sorting result or the priority of the data transmission object.

[0009] This method takes into account the remaining duration of the data transmission object, obtains the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object, and allocates resources for the data transmission object or transmits the data in the data transmission object based on this, ensuring that the data that needs to be urgently scheduled can be sent first, meeting the service requirements, and improving the service experience.

[0010] In some possible implementation manners, the second device can also obtain a first priority of the data transmission object. Here, the first priority can be a priority configured by the network side. For example, the network side configures the priority according to the service importance or the service quality delay requirement. Correspondingly, when the second device obtains the priority of the data transmission object according to the remaining duration of the data transmission object, it can determine a second priority of the data transmission object according to the remaining duration of the data transmission object and the first priority. The second priority is the priority adjusted based on the remaining duration of the data transmission object, that is, the second priority is the priority determined considering the delay information.

[0011] This method can adjust the priority by combining delay information such as the remaining duration to obtain a more accurate priority, and use this as a basis for resource scheduling or data transmission, which can realize reasonable resource allocation and ensure that the data that needs to be urgently scheduled can be sent in time.

[0012] In some possible implementation manners, when determining the second priority of the data transmission object according to the remaining duration of the data transmission object and the first priority, the second device can adjust the first priority of the data transmission object according to an adjustment parameter to obtain the second priority of the data transmission object.

[0013] Among them, the adjustment parameter can be a fixed value configured by the network side, such as the first value. In some examples, the adjustment parameter can be a variable value related to the remaining duration. For example, the network side can configure information such as an adjustment coefficient, and the second device can determine the adjustment parameter according to the adjustment coefficient and other information configured by the network side and the remaining duration.

[0014] In this method, when it is necessary to adjust the first priority of the data transmission object, a unified paradigm can be adopted for adjustment, which has high availability and can be applied to various scenarios.

[0015] In some possible implementation manners, the priority adjustment amplitude corresponding to different remaining durations can be different. For this reason, the second device can determine the adjustment parameter according to the remaining duration and the mapping relationship between the adjustment parameter and the remaining duration, and then adjust the first priority according to the adjustment parameter to obtain the second priority.

[0016] In this way, it is possible to achieve fine-grained adjustment of the priority of the data transmission object according to different remaining durations. The obtained priority is more valuable for reference. Using this priority for resource allocation or data transmission can enable data that needs to be urgently scheduled to be preferentially sent according to different degrees of urgency, meeting the service requirements.

[0017] In some possible implementation manners, when adjusting the first priority of the data transmission object according to the adjustment parameter to obtain the second priority of the data transmission object, there can be multiple strategies. One strategy is to adjust the priority of some data transmission objects, for example, data transmission objects whose remaining duration meets the condition, and do not adjust the priority of other data transmission objects; another strategy is to adopt a unified adjustment method to adjust the priority of data transmission objects with any remaining duration; there is also a strategy to distinguish data transmission objects with different remaining durations, and use different adjustment parameters or different values of the same type of adjustment parameter to adjust the priority of data transmission objects with different remaining durations. The implementation manners corresponding to the above strategies are described below.

[0018] For the first strategy, when the remaining duration of the data transmission object meets the first condition, the first priority of the data transmission object is adjusted according to the first value or the adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object. Among them, the first condition can be set according to experience. For example, it can be set that the remaining duration is less than the first threshold, or it can be set that the remaining duration is greater than the first threshold. According to different first conditions, the relevant function of the first value or the remaining duration and the adjustment parameter can be different. For example, when the remaining duration is less than the first threshold, the first value can be less than 1, and when the remaining duration is greater than the first threshold, the first value can be greater than 1.

[0019] For the second strategy, the first priority of the data transfer object is adjusted according to the adjustment parameter related to the remaining duration, and the second priority of the data transfer object is obtained. In this way, for data transfer objects with different remaining durations, a unified adjustment method can be adopted to adjust the priority.

[0020] For the third strategy, when the remaining duration of the data transfer object meets the first condition, the first priority is adjusted according to the first value or the first adjustment parameter related to the remaining duration to obtain the second priority of the data transfer object. When the remaining duration of the data transfer object meets the second condition, the first priority is adjusted according to the second value or the second adjustment parameter related to the remaining duration to obtain the second priority of the data transfer object. Among them, the first condition and the second condition can be set according to experience. For example, the first condition can be set that the remaining duration is less than the first threshold, and the second condition can be set that the remaining duration is greater than the first threshold. It should be noted that the second condition can also be set that the remaining duration is greater than the second threshold. This implementation method can include multiple situations: Situation 1, when the remaining duration meets the first condition, the priority is adjusted according to the first value, and when the remaining duration meets the second condition, the priority is adjusted according to the second value; Situation 2, when the remaining duration meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining duration, and when the remaining duration meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining duration; Situation 3: when the remaining duration meets the first condition, the priority is adjusted according to the first value, and when the remaining duration meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining duration; Situation 4: when the remaining duration meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining duration, and when the remaining duration meets the second condition, the priority is adjusted according to the second value.

[0021] This method supports priority adjustment through diversified methods, can meet different service requirements, and has high availability.

[0022] In some possible implementation manners, when performing priority adjustment, the first priority can be arithmetically operated according to the adjustment parameter to obtain the second priority of the data transfer object. Among them, the arithmetic operation refers to the calculation rules of addition, subtraction, multiplication, and division, which are used to combine multiple numbers into one number.

[0023] This method performs priority adjustment through simple arithmetic operations, without complex calculations, has low requirements for device computing power, and is applicable to most devices.

[0024] In some possible implementation manners, in addition to being used to obtain the priority of the data transfer object, the remaining duration can also be used for sorting the data transfer objects. There are various sorting methods for data transfer objects, which will be described in detail below.

[0025] One sorting method is to obtain the priority of the data transmission object according to the remaining duration of the data transmission object, and sort the data transmission objects according to the priority of the data transmission objects to obtain the sorting result of the data transmission objects.

[0026] Another sorting method is to sort the data transmission objects according to the remaining duration of the data transmission objects to obtain the sorting result of the data transmission objects. In this case, it is not necessary to consider the priority of the data transmission objects, and the data transmission objects are directly sorted based on the remaining duration of the data transmission objects.

[0027] There is also another sorting method. When the remaining duration of the data transmission object meets the first condition, sort the data transmission objects according to the remaining duration of the data transmission objects to obtain the sorting result of the data transmission objects. When the remaining duration of the data transmission object meets the second condition, sort the data transmission objects according to the priority of the data transmission objects to obtain the sorting result of the data transmission objects.

[0028] This method supports multiple sorting methods based on the remaining duration. In actual applications, the corresponding sorting method can be selected according to the service requirements, which has strong flexibility.

[0029] In some possible implementation manners, the second device may further obtain the data volume of the delay-sensitive data in the data transmission object. Correspondingly, when allocating resources or transmitting data, resources can be allocated to the data transmission object according to the sorting result or priority of the data transmission object, and the data volume of the delay-sensitive data in the data transmission object. In this way, it can be ensured that the delay-sensitive data can be transmitted preferentially, or resources can be allocated preferentially, reducing the probability of discarding the delay-sensitive data.

[0030] In some possible implementation manners, the second device may further set the token bucket size according to the data volume of the delay-sensitive data in the data transmission object. Correspondingly, when transmitting data or allocating resources, the data in the data transmission object can be transmitted in combination with the token bucket size according to the sorting result or priority of the data transmission object. In this way, short-term data floods can be dealt with.

[0031] In some possible implementation manners, setting the token bucket size according to the data volume of the delay-sensitive data in the data transmission object may include the following situations: when the data volume of the delay-sensitive data is greater than the first data volume, set the token bucket size to the data volume of the delay-sensitive data, where the first data volume is determined according to the priority bit rate and the bucket depth; or, when the data volume of the delay-sensitive data is less than the first data volume, set the token bucket size to the first data volume.

[0032] By setting the token bucket size to the maximum value (or a larger value) among the first data volume and the data volume of delay-sensitive data, short-term data floods can be handled, avoiding the discard of delay-sensitive data due to an overly small token bucket during peak business hours or sudden traffic surges.

[0033] In some possible implementation manners, the second device may further obtain first indication information, where the first indication information is used to indicate obtaining a sorting result or a priority of a data transmission object based on the remaining duration of the data transmission object.

[0034] In this method, when the second device obtains the first indication information, the LCP mechanism based on the remaining duration is enabled. When the first indication information is not configured or released, the second device does not enable the LCP mechanism based on the remaining duration but instead uses the traditional LCP mechanism. In this way, compatibility between different LCP mechanisms (or different devices) can be achieved, with high availability.

[0035] In some possible implementation manners, obtaining the first indication information may include the following manners: obtaining a first enabling indication, where the first enabling indication is used to enable obtaining a sorting result or a priority of a data transmission object based on the remaining duration of the data transmission object; or, obtaining an adjustment parameter configured by the network side, where the adjustment parameter is a constant (such as a first value) or is related to the remaining duration; or, obtaining an adjustment parameter configured by the network side and first information of a first data transmission object, where the adjustment parameter is a constant or is related to the remaining duration, and the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or a priority based on the remaining duration; or, obtaining first information of the first data transmission object configured by the network side, where the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or a priority based on the remaining duration.

[0036] Among them, the adjustment parameter and the first information of the first data transmission object may also be reused as the first enabling indication for enabling obtaining a sorting result or a priority of a data transmission object based on the remaining duration of the data transmission object. In this way, the number of interactions can be reduced, and thus the transmission overhead can be reduced.

[0037] In some possible implementation manners, the second device may further obtain second indication information, where the second indication information is used to indicate setting the token bucket size according to the data volume of delay-sensitive data in the data transmission object.

[0038] In this method, when the second device obtains the second indication information, it enables the mechanism of setting the token bucket size based on the amount of delay-sensitive data in the data transfer object. When the second indication information is not configured or released, the second device does not enable the mechanism of setting the token bucket size based on the amount of delay-sensitive data in the data transfer object, but adopts the traditional token bucket size setting mechanism. In this way, compatibility of different token bucket size setting mechanisms (or different devices) can be achieved, and high availability can be obtained.

[0039] In some possible implementation manners, obtaining the second indication information may include the following manners: obtaining a second enabling indication for enabling setting the token bucket size according to the amount of delay-sensitive data in the data transfer object; or obtaining a first data amount configured by the network side, where the first data amount is determined according to the priority bit rate and the bucket depth; or obtaining the first data amount configured by the network side and the second information of the second data transfer object, where the second information is used to indicate that the second data transfer object is an object capable of setting the token bucket size according to the amount of delay-sensitive data; or obtaining the second information of the second data transfer object configured by the network side, where the second information is used to indicate that the second data transfer object is an object capable of setting the token bucket size according to the amount of delay-sensitive data.

[0040] Among them, the first data amount and the second information of the second data transfer object may also be reused as the second enabling indication for enabling the mechanism of setting the token bucket size based on the amount of delay-sensitive data in the data transfer object. In this way, the number of interactions can be reduced, and thus the transmission overhead can be reduced.

[0041] In some possible implementation manners, the data transfer object includes one or more of a logical channel, a logical channel group, a protocol data unit set, or a data packet. In this way, for data transfer objects with different granularities, the mechanism of obtaining a sorting result or a priority based on the remaining duration can be adopted, so as to ensure that data with different granularities can be preferentially transmitted when urgent scheduling is required, and the service experience can be improved.

[0042] In some possible implementation manners, the remaining duration includes the minimum remaining time of data packets in the data transfer object. The data packet may be a protocol data unit (PDU) or a service data unit (SDU). Each data packet is configured with a discard timer for determining the remaining time of the data packet, specifically, the remaining time until the discard timer expires. Based on the discard timers configured for the respective data packets in the data transfer object, the remaining time of each data packet can be determined, and based on the remaining time of each data packet, the minimum remaining time, that is, the remaining duration of the data transfer object, can be determined.

[0043] By sorting or adjusting the priority by combining the minimum remaining time of data packets in the data transfer object, it is possible to ensure that data that needs to be urgently scheduled can be preferentially transmitted or preferentially allocated resources, avoiding the data being discarded and affecting the service experience.

[0044] In a second aspect, the present application provides a communication method. This method can be applied to a communication system and is executed by a first device in the communication system. Among them, the first device can be a device on the network side for providing network communication functions, and in some cases is also called a network device or a network element. A network device is usually a base station (including functional units of the base station, or a combination of functional units of the base station) or a core network unit.

[0045] Specifically, the first device configures first indication information, and the first indication information is used to indicate a data transfer object or priority for obtaining a sorting result of the data transfer object based on the remaining duration of the data transfer object.

[0046] This method configures first indication information to instruct a device with the ability to perform LCP processing based on the remaining duration to obtain a sorting result or priority based on the remaining duration. In the case where the first indication information is not configured or the first indication information is released, the mechanism of obtaining a sorting result or priority based on the remaining duration is not adopted, thereby achieving compatibility with the existing mechanism.

[0047] In some possible implementation manners, the manner of configuring the first indication information includes: configuring a first enable indication, and the first enable indication is used to enable obtaining a sorting result or priority of the data transfer object based on the remaining duration of the data transfer object; or, configuring an adjustment parameter, and the adjustment parameter is a constant or related to the remaining duration; or, configuring an adjustment parameter and first information of a first data transfer object, and the first information is used to indicate that the first data transfer object is an object capable of obtaining a sorting result or priority based on the remaining duration; or, configuring first information of a first data transfer object, and the first information is used to indicate that the first data transfer object is an object capable of obtaining a sorting result or priority based on the remaining duration.

[0048] This method provides multiple ways to instruct the second device to enable the mechanism of obtaining a priority or sorting result based on the remaining duration, and has high availability.

[0049] In some possible implementation manners, the remaining time includes the minimum remaining time of data packets in the data transfer object. The minimum remaining time can be determined by the remaining time of the discard timer of the data packet, and the remaining time of the discard timer refers to the remaining time until the discard timer times out.

[0050] By sorting or adjusting priorities by combining the minimum remaining time of data packets in the data transfer object, this method can ensure that data that needs to be urgently scheduled can be preferentially transmitted or preferentially allocated resources, avoiding the data being discarded and affecting the service experience.

[0051] In a third aspect, the present application provides a communication method. This method can be applied to a communication system and is executed by a first device in the communication system. Among them, the first device can be a device on the network side for providing network communication functions, and in some cases is also called a network device or a network element. A network device is usually a base station (including functional units of the base station, or a combination of functional units of the base station) or a core network unit.

[0052] Specifically, the first device configures second indication information, and the second indication information is used to indicate setting the token bucket size according to the data volume of delay-sensitive data in the data transfer object.

[0053] By configuring the second indication information, this method instructs a device with the ability to set the token bucket size based on the data volume of delay-sensitive data to set the token bucket size based on the data volume of delay-sensitive data. In the case where the second indication information is not configured or released, the mechanism of setting the token bucket size based on the data volume of delay-sensitive data is not adopted, thereby achieving compatibility with the existing mechanism.

[0054] In some possible implementation manners, the manner of configuring the second indication information includes: configuring a second enable indication, and the second enable indication is used to enable setting the token bucket size according to the data volume of delay-sensitive data in the data transfer object; or, configuring a first data volume, and the first data volume is determined according to the priority bit rate and the bucket depth; or, configuring the first data volume and second information of a second data transfer object, and the second information is used to indicate that the second data transfer object is an object capable of setting the token bucket size according to the data volume of delay-sensitive data in the data transfer object; or, configuring second information of the second data transfer object, and the second information is used to indicate that the second data transfer object is an object capable of setting the token bucket size according to the data volume of delay-sensitive data in the data transfer object.

[0055] This method provides multiple ways to instruct the second device to enable the mechanism of setting the token bucket size based on the data volume of delay-sensitive data, and has high availability.

[0056] A fourth aspect of the present application provides an electronic device, including: a memory and at least one processor. The memory is used to store a program, and the at least one processor is used to run the program so that the electronic device implements the communication method provided in the first aspect of the present application.

[0057] The fifth aspect of the present application provides an electronic device, including: a memory and at least one processor. The memory is used to store a program, and the at least one processor is used to run the program so that the electronic device implements the communication method provided in the second aspect or the third aspect of the present application.

[0058] The sixth aspect of the present application provides a communication system, including a first device and a second device. The first device and the second device are used to execute the communication method provided in the first aspect, the second aspect, or the third aspect of the present application.

[0059] The seventh aspect of the present application is a computer storage medium, used to store a computer program, and when the computer program is executed, it is used to implement the communication method provided in the first aspect, the second aspect, or the third aspect of the present application. Description of the Drawings

[0060] Figure 1 It is a schematic diagram of a scenario for communication between a base station and a terminal disclosed in an embodiment of the present application;

[0061] Figure 2 It is a flowchart of a communication method disclosed in an embodiment of the present application;

[0062] Figure 3 It is a schematic diagram of a process for priority adjustment disclosed in an embodiment of the present application;

[0063] Figure 4 It is a schematic diagram of a process for resource allocation disclosed in an embodiment of the present application;

[0064] Figure 5 It is a schematic diagram of a process for data transmission disclosed in an embodiment of the present application;

[0065] Figure 6 It is a flowchart of a communication method disclosed in an embodiment of the present application;

[0066] Figure 7 It is a flowchart of another communication method disclosed in an embodiment of the present application;

[0067] Figure 8 It is a flowchart of a communication method disclosed in an embodiment of the present application;

[0068] Figure 9 It is a flowchart of another communication method disclosed in an embodiment of the present application;

[0069] Figure 10 It is an interaction flowchart of a communication method disclosed in an embodiment of the present application;

[0070] Figure 11 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application;

[0071] Figure 12 This is a structural schematic diagram of another electronic device disclosed in the embodiments of the present application. Detailed implementation manners

[0072] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the specification and claims of the present application, the singular forms "a", "an", "the", "above-mentioned", "said", and "this" are also intended to include expressions such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0073] Referring to "one embodiment" or "some embodiments" described in this specification means that specific features, structures, or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Thus, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "include", "comprise", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0074] The "multiple" involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the terms such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0075] The embodiments of the present application are applied to a communication system, which may be a second-generation (2G) communication system, a third-generation (3G) communication system, an LTE system, a fifth-generation (5G) communication system, an LTE and 5G hybrid architecture, a 5G New Radio (5G NR) system, or a new communication system emerging in the future development of communications, etc.

[0076] The communication system includes a first device and a second device. The first device may be a device on the network side for providing network communication functions, and in some cases is also referred to as a network device or a network element. A network device is usually a base station (including the functional units of the base station, or a combination of the functional units of the base station) or a core network unit. Among them, the core network unit may be a functional unit in the core network, including but not limited to an Access and Mobility Management Function (AMF) unit or a Session Management Function (SMF) unit. The second device may be a device accessing the network, usually a terminal. An example of the communication system is as follows Figure 1 shown Figure 1 which includes Base Station 1 and Terminal 2.

[0077] In the embodiments provided in this application, the base station may be any device with wireless transceiver functions, including but not limited to: an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in Long Term Evolution (LTE), a base station (gNodeB or gNB) or a Transmission and Reception Point (TRP) in New Radio (NR), a base station evolved by 3GPP in the future, an access node in a Wi-Fi system, a wireless relay node, a wireless backhaul node, etc. The base station may be: a macro base station, a micro base station, a pico base station, a small cell, a relay station, or a balloon station, etc. The base station may include one or more co-located or non-co-located Transmission Reception Points (TRPs). The base station may also be a radio controller, a Centralized Unit (CU), and / or a Distributed Unit (DU) in a Cloud Radio Access Network (CRAN) scenario. The base station may communicate with the terminal or communicate with the terminal through a relay station. The terminal may communicate with multiple base stations of different technologies. For example, the terminal may communicate with a base station supporting an LTE network, may also communicate with a base station supporting a 5G network, and may also perform dual connection with a base station supporting an LTE network and a 5G network.

[0078] In the embodiments provided in this application, the terminal can be in various forms. For example, a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal device, and so on. Sometimes the terminal can also be referred to as a terminal device, a user equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile platform, a remote station, a remote terminal device, a mobile device, a UE terminal device, a terminal device, a wireless communication device, a UE agent, or a UE device, etc. The terminal can also be a fixed terminal or a mobile terminal.

[0079] In a communication system, when uplink services arrive, terminals such as UEs can request uplink grants from network devices such as base stations to transmit uplink data through the resources (such as time-frequency resources) specified by the uplink grants. Among them, the uplink grant is also called uplink scheduling permission, uplink scheduling authorization. Specifically, the UE includes multiple logical channels, and the UE can perform logical channel prioritization (LCP) processing to transmit uplink data. The LCP processing can be the processing when multiplexing multiple logical channels in one transport channel.

[0080] Currently, the LCP processing maps the logical channels to the uplink grant according to certain rules, and then fills the data in the logical channels into the resources specified by the uplink grant according to the token bucket size. Among them, the rules for mapping the logical channels to the uplink grant include various types. One rule can be that if the sub-carrier space (SCS) associated with the logical channel is the same as the SCS of the uplink grant (denoted as allowedSCS-List), then the logical channel can be mapped to the uplink grant, or the data in the logical channel can be transmitted on the resources specified by the uplink grant.

[0081] Logical channels mapped to the same uplink grant may include multiple logical channels. Data in the multiple logical channels may be filled into the resources specified by the uplink grant according to the priority. For ease of understanding, an example is given below. In this example, four logical channels (denoted as LCH1 to LCH4) are mapped to the same uplink grant, where the priorities of LCH1 to LCH4 are in turn: 1, 4, 2, 3. In this example, the smaller the value corresponding to the priority, the higher the priority. Correspondingly, the UE can first fill the data in LCH1 into the resources specified by the uplink grant. When there are still remaining resources, the UE can fill the data in LCH3 into the resources specified by the uplink grant, and so on. This will not be elaborated again here.

[0082] However, the above method does not consider delay-related information, resulting in some data that needs to be urgently scheduled not being sent in time, making it difficult to meet service requirements and affecting the service experience.

[0083] In view of this, the present application provides a communication method. This method obtains the sorting result or priority of the data transmission object according to the remaining duration of the data transmission object, and then allocates resources for the data transmission object or transmits the data in the transmission logical channel according to the sorting result or priority of the data transmission object. Among them, the data transmission object may be an object used for data transmission, including but not limited to logical channels, logical channel groups (LCGs), protocol data unit (PDU) sets, or data packets. For ease of description, the following will take the data transmission object as a logical channel as an example for illustration.

[0084] This method considers the remaining duration of the logical channel, obtains the sorting result or priority of the logical channel based on the remaining duration of the logical channel, and allocates resources for the logical channel or transmits the data in the logical channel based on this, ensuring that the data that needs to be urgently scheduled can be sent first, meeting service requirements, and improving the service experience.

[0085] To make the technical solution of the present application clearer and easier to understand, the communication method of the embodiments of the present application will be introduced below with reference to the accompanying drawings.

[0086] See Figure 2 The flowchart of a communication method shown in the figure, this method includes:

[0087] S202. Obtain the sorting result or priority of the logical channel according to the remaining duration of the logical channel.

[0088] In specific implementation, the logical channels may be sorted according to the remaining duration of the logical channels, and the sorting result of the logical channels may be obtained. Exemplarily, the logical channels may be sorted according to the priority of the logical channels.

[0089] Specifically, the second device may obtain the remaining duration of a logical channel, and then obtain the sorting result of the logical channel according to the remaining duration of the logical channel, or obtain the priority of the logical channel according to the remaining duration of the logical channel. Among them, the second device may be a terminal, such as a UE, a mobile station, or a mobile station.

[0090] The remaining duration of a logical channel may refer to the minimum remaining time of the data packets in the logical channel. Among them, the data packets in the logical channel may be protocol data units (PDUs) or service data units (SDUs), and the minimum remaining time may be determined by the remaining time of a discard timer, and the remaining time of the discard timer refers to the remaining time until the discard timer expires.

[0091] Regarding the remaining duration of the logical channel described in S202, the logical channel may also be replaced with the concept of a logical channel group (LCG), a data radio bearer (DRB), a PDU set, or a data packet. The sorting result or priority of the LCG, DRB, PDU set, or data packet is obtained through the remaining duration of the LCG, DRB, PDU set, or data packet. Among them, the remaining duration of the LCG may be the minimum remaining time of the data packets in the LCG, the remaining duration of the DRB may be the minimum remaining time of the data packets in the DRB, and the remaining duration of the PDU set may be the minimum remaining time of the data packets in the PDU set.

[0092] In some possible implementation manners, the second device may first obtain the first priority of the logical channel. The first priority may be the priority configured by the first device. For example, it is the priority configured by the first device according to the service importance or the quality of service (QoS) delay requirement. Among them, the first device may be a network device, including but not limited to a base station or a core network unit. Correspondingly, the second device may determine the second priority of the logical channel according to the remaining duration of the logical channel and the first priority. The second priority is the priority adjusted based on the remaining duration of the logical channel, that is, the second priority is the priority determined considering the delay information.

[0093] In some other possible implementation manners, the second device may also directly determine the priority of the logical channel according to the remaining duration of the logical channel. For example, the second device may determine the priority of the logical channel according to the remaining duration of the logical channel and the mapped information or mapping rule of the configured remaining duration and priority.

[0094] The remaining duration of a logical channel can be used not only to obtain the priority of the logical channel, but also to sort the logical channels. This application supports multiple sorting methods. Examples are given below.

[0095] In the first possible implementation, the second device can obtain the priority of the logical channel based on the remaining duration of the logical channel, and then sort the logical channels according to the priority of the logical channels to obtain the sorting result of the logical channels. For example, the second device can sort the logical channels in descending order of priority (for example, when the smaller the value corresponding to the priority, the higher the priority, this order can be the order of the values corresponding to the priority from small to large), and obtain the sorting result of the logical channels.

[0096] In the second possible implementation, the second device can sort the logical channels based on the remaining duration of the logical channel to obtain the sorting result of the logical channels. Alternatively, the second device can directly sort the logical channels based on the remaining duration of the logical channel without considering the priority of the logical channel (ignoring the priority of the logical channel).

[0097] In the third possible implementation, when the remaining duration of the logical channel meets the first condition, the second device can sort according to the remaining duration of the logical channel to obtain the sorting result of the logical channels, that is, when the first condition is met, only sort according to the remaining duration, ignoring the priority or not considering the priority. When the remaining duration of the logical channel meets the second condition, sort according to the priority of the logical channel to obtain the sorting result of the logical channels.

[0098] Among them, the first condition and the second condition can be set according to experience. For example, the first condition can be that the remaining duration is less than the first threshold, and the second condition can be that the remaining duration is greater than the first threshold. Another example is that the first condition can be that the remaining duration ranks among the top m in ascending order, where m can be less than n, and n represents the number of logical channels, and the second condition can be that the remaining duration ranks among the top k in descending order, where k can be less than n, and m + k = n.

[0099] For ease of understanding, this application provides an example for illustration. In this example, the first priorities of LCH1 to LCH4 are 1 to 4 in sequence, the remaining durations of LCH1 to LCH4 are 2 milliseconds (ms), 5 ms, 1 ms, and 3 ms in sequence, the first threshold is 2 ms, and only LCH3 meets the first threshold. At this time, although the priority of LCH3 is 3, the priority can be ignored and the sorting of LCH3 can be set to the first, and the remaining LCHs such as LCH1, LCH2, and LCH4 are still sorted according to the original priority. Based on this, the sorting result obtained by combining the above remaining duration can be LCH3, LCH1, LCH2, LCH4.

[0100] S204. Transmit data in the logical channel or allocate resources for the logical channel according to the sorting result or priority of the logical channel.

[0101] Specifically, the second device (such as a UE) can transmit data in the logical channel or allocate resources for the logical channel according to the sorting result or priority of the logical channel. Among them, transmitting data in the logical channel may include allocating resources for the logical channel. For example, the resources specified by the uplink grant are allocated to the logical channel according to the sorting result or priority of the logical channel, and then the data in the logical channel is filled into the resources allocated to the logical channel, so as to transmit the data in the logical channel by allocating the resources of the logical channel.

[0102] When allocating resources for the logical channel, the second device can sequentially fill data into the resources specified by the uplink grant according to the sorting result of the logical channel. When the resources are filled, the second device can stop filling. Among them, the sorting result can be the sorting result from small to large according to the remaining duration, or the sorting result from high to low according to the priority determined by the remaining duration. For example, if the sorting result of LCH1 to LCH4 from small to large according to the remaining duration is LCH2, LCH3, LCH4, LCH1, the second device can first fill the data in LCH2 into the resources specified by the uplink grant. When the resources are not filled, the second device can continue to fill the data in LCH3 into the resources specified by the uplink grant, and so on. When the resources specified by the uplink grant are filled, the filled data can be transmitted to the network side through the resources.

[0103] Alternatively, the second device can fill data into the resources specified by the uplink grant according to the priority of the logical channel. When the resources are filled, the second device can stop filling. Among them, the second device can fill in sequence according to the priority of the logical channel from high to low, or the second device can first fill the data of the logical channel with a priority higher than the set level. If the data of the logical channel with a priority higher than the set level does not fill the resources, the second device can select the data of at least one logical channel from the remaining logical channels according to the data volume of the data in the remaining logical channels and continue to fill it into the resources until the resources are filled.

[0104] Based on the foregoing description, it can be seen that the communication method of this application considers the remaining duration of the logical channel, obtains the sorting result or priority of the logical channel based on the remaining duration of the logical channel, and allocates resources for the logical channel or transmits the data in the logical channel based on this, ensuring that the data that needs to be urgently scheduled can be preferentially sent, meeting the service requirements, and improving the service experience.

[0105] Figure 2In an embodiment, the second device may determine the second priority of a logical channel based on the remaining duration of the logical channel and the first priority. The second device supports multiple adjustment methods for priority adjustment. A detailed description is given below with reference to the accompanying drawings.

[0106] Refer to Figure 3 A schematic flowchart of a priority adjustment method is shown as follows, including the following steps:

[0107] S302. Obtain adjustment parameters.

[0108] Among them, the adjustment parameter (denoted as A) may be a constant or a variable related to the remaining duration. For example, the adjustment parameter may be a first value. For another example, the adjustment parameter may be a variable that is positively or negatively correlated with the remaining duration.

[0109] Specifically, the second device may obtain the adjustment parameter, which may be configured by the first device, and the second device may obtain the above adjustment parameter configured by the first device. For example, when the adjustment parameter is the first value, the second device may obtain the above first value configured by the first device. For another example, when the adjustment parameter is related to the remaining duration, the second device may obtain the remaining duration, and then determine the adjustment parameter according to the remaining duration and the mapping relationship (such as a function representing the correlation) between the remaining duration and the adjustment parameter configured by the first device.

[0110] In some possible implementation manners, the adjustment parameter may also be configured by the second device. The second device (such as a UE) may store a predefined table, and the adjustment parameter is specified in the table. For example, the table may specify the adjustment parameters corresponding to different remaining durations. When the remaining duration of the data transmission object is obtained, the second device may look up the table according to the remaining duration to obtain the adjustment parameter.

[0111] S304. Adjust the first priority of the logical channel according to the adjustment parameter to obtain the second priority of the logical channel.

[0112] In a possible implementation manner, it is determined whether to adjust the first priority of the logical channel according to the adjustment parameter according to the size of the remaining duration of the logical channel. For example, when the remaining duration of the logical channel is less than a threshold (such as a first threshold), the first priority of the logical channel is adjusted according to the adjustment parameter to obtain the second priority of the logical channel. In this case, the priority of the logical channel is the second priority; when the remaining duration of the logical channel is greater than the threshold, the priority of the logical channel is the first priority, and the first priority of the logical channel does not need to be adjusted according to the adjustment parameter, that is, the adjustment parameter or the step of S304 is not applied to the logical channel with a remaining duration greater than the threshold.

[0113] In another possible implementation, regardless of the remaining duration of the logical channel, all configured logical channels need to adjust the first priority of the logical channel according to the adjustment parameter. In this case, the value of the adjustment parameter can be determined according to the remaining duration of the logical channel.

[0114] During specific implementation, for logical channels with any remaining duration, a unified adjustment method can be adopted to adjust the priority, or logical channels with different remaining durations can be distinguished and different adjustment methods can be used to adjust the priority, or the priority of logical channels with partial remaining durations can be adjusted while the priority of other logical channels is not adjusted.

[0115] The following separately describes different implementation methods of priority adjustment.

[0116] The first implementation method is to adjust the first priority of the logical channel according to the adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. In this way, a unified adjustment method can be adopted to adjust the priority for logical channels with different remaining durations.

[0117] The second implementation method is that when the remaining duration of the logical channel meets the first condition, the first priority of the logical channel is adjusted according to the first value (such as a fixed value configured by the network side) or the adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. Among them, the first condition can be set according to experience. For example, it can be set that the remaining duration is less than the first threshold, or it can be set that the remaining duration is greater than the first threshold. According to different first conditions, the first value or the correlation function between the remaining duration and the adjustment parameter can be different. For example, when the remaining duration is less than the first threshold, the first value can be less than 1, and when the remaining duration is greater than the first threshold, the first value can be greater than 1.

[0118] The third implementation method is that when the remaining duration of the logical channel meets the first condition, the first priority is adjusted according to the first value or the first adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. When the remaining duration of the logical channel meets the second condition, the first priority is adjusted according to the second value or the second adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. Among them, the first condition and the second condition can be set according to experience. For example, the first condition can be set that the remaining duration is less than the first threshold, and the second condition can be set that the remaining duration is greater than the first threshold. In some cases, the second condition can also be set that the remaining duration is greater than the second threshold.

[0119] The above third implementation method may include multiple cases: Case 1, when the remaining duration meets the first condition, the priority is adjusted according to the first value, and when the remaining duration meets the second condition, the priority is adjusted according to the second value; Case 2, when the remaining duration meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining duration, and when the remaining duration meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining duration; Case 3: when the remaining duration meets the first condition, the priority is adjusted according to the first value, and when the remaining duration meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining duration; Case 4: when the remaining duration meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining duration, and when the remaining duration meets the second condition, the priority is adjusted according to the second value. It can be seen that this application supports distinguishing data transmission objects with different remaining durations, and using different adjustment parameters (such as fixed values and variable values related to the remaining duration) or different values of the same type of adjustment parameter (such as the first value, the second value) to adjust the priority of data transmission objects with different remaining durations.

[0120] When adjusting the priority according to the adjustment parameter, it can be achieved through four arithmetic operations. Among them, the four arithmetic operations refer to the calculation rules of addition, subtraction, multiplication, and division, which are used to combine multiple numbers into one number. In this application, the second device can perform four arithmetic operations on the first priority according to the adjustment parameter to obtain the second priority of the logical channel.

[0121] In some possible implementation manners, when there are also constraint conditions set for the value corresponding to the priority, the priority can also be adjusted according to the constraint conditions. Among them, the logical channel can correspond to a highest logical information priority allowed to be adjusted, and the priority after adjusting the priority through four arithmetic operations cannot exceed the highest logical channel priority allowed to be adjusted for this logical channel. For example, when the smaller the value corresponding to the priority, the higher the priority, the value corresponding to the priority can include the following constraint conditions: the value of the priority is not less than 0. In this way, when the second priority obtained by adjusting the first priority based on the adjustment parameter is less than 0, the second priority can be set to 0. Another example, when the larger the value corresponding to the priority, the higher the priority, the value corresponding to the priority can include the following constraint conditions: the value of the priority is not greater than 10 (it can also be other values, which can be set according to experience). In this way, when the second priority obtained by adjusting the first priority based on the adjustment parameter is greater than 10, the second priority can be set to 10.

[0122] Among them, the remaining duration and the adjustment parameter can be mapped through a table, and one remaining duration or remaining duration range corresponds to one adjustment parameter.

[0123] Among them, the second device can obtain a constraint condition, which can be predefined or configured by the network side. The second device can adjust the first priority according to the adjustment parameter in combination with the constraint condition to obtain a second priority. The second priority satisfies the above constraint condition.

[0124] Examples of multiplication, subtraction, addition, and division operations are described below.

[0125] When adjusting the priority by multiplication operation, the second priority can be determined by the following formula:

[0126] Pri 2rd = A·Pri 1st (1)

[0127] Among them, Pri 1st represents the first priority of the logical channel, A represents the adjustment parameter, and Pri 2rd represents the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority. Further, the value corresponding to the priority can also include a constraint condition. For example, the highest priority that the logical channel is allowed to be dynamically adjusted to is m, where m is an integer greater than or equal to 0. The value of m can be predefined by the protocol or configured by the network side to the second device through a system message or a Radio Resource Control (RRC) message. Correspondingly, the priority of the logical channel can be updated to max{m, A·Pri 1st}.

[0128] The value of A can be assigned according to the remaining duration of the logical channel. Examples are described below.

[0129] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, A is a first value greater than or equal to 0 and less than 1 (for example, a fixed value configured by the network side).

[0130] Further, when the remaining duration of the LCH is greater than the first threshold, A is 1 or greater than 1.

[0131] In one case, when the remaining duration of the LCH is greater than the first threshold, the priority of the LCH is the first priority and does not need to be obtained through formula (1), that is, this formula does not apply to the case where the remaining duration of the LCH is greater than the first threshold.

[0132] It should be noted that the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel. When the remaining duration of the LCH is less than (or equal to) the first threshold, A is 1 or a first value greater than 1 (for example, a fixed value configured by the network side). When the remaining duration of the LCH is greater than the first threshold, A is greater than or equal to 0 and less than 1.

[0133] For example, A is 0.5. When the first priorities of LCH1 to LCH4 are 1, 2, 3, 4 respectively, LCH1 has the highest first priority and LCH4 has the lowest first priority. Among them, the remaining durations of LCH2 and LCH4 are less than the first threshold, then the second priorities of LCH2 and LCH4 can be 1 and 2, and the priorities of LCH1 and LCH3 can remain unchanged. The second priority is the same as the first priority. Based on this, the second priorities of LCH1 to LCH4 are 1, 1, 3, 2 in sequence. The LCH1 and LCH2 with the highest priorities, followed by LCH4, and the lowest priority is LCH3.

[0134] Correspondingly, when allocating resources, LCH1 and LCH2 can be allocated preferentially, then LCH4, and then LCH3. Similarly, when transmitting data, the data in LCH1 and LCH2 can be transmitted preferentially, then the data in LCH4, and then the data in LCH3.

[0135] Implementation 2: A is proportional to the remaining duration of the LCH. When the remaining duration is smaller, the value of A is smaller.

[0136] In one implementation, the first table defines the corresponding relationship between the remaining duration and A. When the remaining duration is less than threshold 1, the value of A can be the first value; when the remaining duration is less than threshold 2 and greater than threshold 3, the value of A can be the second value; when the remaining duration is greater than threshold 4, the value of A can be the third value.

[0137] For example, when the first priorities of LCH1 to LCH4 are 1, 2, 3, 4 in sequence, LCH1 has the highest first priority and LCH4 has the lowest first priority. Among them, the remaining durations of LCH1 to LCH4 are 6 milliseconds (ms), 2 ms, 5 ms, 1 ms respectively; according to the remaining durations, the values of A can be determined as 6 / 10, 2 / 10, 5 / 10, 1 / 10 in sequence, where 1 / 10 is the adjustment coefficient, for example, an adjustment coefficient configured by the network side, used to determine the value of A. The UE can determine the values of A corresponding to each logical channel according to the above adjustment coefficient and the remaining durations of each logical channel. Based on the above first priority and the value of A, the second priorities can be determined as 0.6, 0.4, 1.5, 0.4 in sequence. The sorting result of the logical channels according to the second priority is LCH2, LCH4, LCH1, LCH3 in sequence.

[0138] The above implementation 2 is illustrated by the example that the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel. In this case, A is inversely proportional to the remaining duration of the LCH. When the remaining duration is smaller, the value of A is larger. For example, the second table defines the corresponding relationship between the remaining duration and A. When the remaining duration is less than threshold 1, the value of A can be the first value; when the remaining duration is less than threshold 2 and greater than threshold 3, the value of A can be the second value; when the remaining duration is greater than threshold 4, the value of A can be the third value. Among them, the first value can be greater than the second value, and the second value can be greater than the third value.

[0139] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is a value greater than or equal to 0 and less than 1, and the value of A is proportional to the remaining duration of the LCH. When the remaining duration is smaller, the value of A is smaller.

[0140] Furthermore, when the remaining duration is greater than the first threshold, the value of A is 1 or greater than 1.

[0141] In one case, when the remaining duration of the LCH is greater than the first threshold, the priority of the LCH is the first priority and does not need to be obtained through formula (1), that is, this formula is not applicable to the case where the remaining duration of the LCH is greater than the first threshold.

[0142] For example, the first priorities of LCH1 to LCH4 are 1, 2, 3, 4 in sequence. The highest first priority is LCH1, and the lowest first priority is LCH4. Among them, the remaining durations of LCH1 to LCH4 are 6ms, 3ms, 5ms, 1ms; the first threshold is 4ms. Then it can be determined that the first priorities of LCH2 and LCH3 are adjusted, and the values of A for priority adjustment are 3 / 5 and 1 / 5 in sequence. The first priorities of LCH1 and LCH4 can not be adjusted, and the second priorities of LCH1 and LCH4 are equal to the first priorities. Thus, the second priorities of LCH1 to LCH4 are 1, 1.2, 3, 0.8 in sequence. According to the second priority, the sorting results of the logical channels are: LCH4, LCH1, LCH2, LCH3.

[0143] It should be noted that in the above implementation 3, when the remaining duration is greater than the first threshold, the value of A can also be greater than 1.

[0144] The above implementation 3 is illustrated by the example that the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel. In this case, when the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is a value greater than (or equal to) 1, and the value of A is inversely proportional to the remaining duration of the LCH. Further, when the remaining duration of the LCH is greater than the first threshold, the value of A is a value greater than or equal to 0 and less than 1.

[0145] When the priority adjustment is performed by subtraction operation, the second priority can be determined by the following formula:

[0146] Pri 2rd =Pri 1st -A (2)

[0147] Wherein, Pri 1st represents the first priority of the logical channel, A represents the adjustment parameter, and Pri 2rd represents the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority. Similar to the adjustment method based on multiplication, the value corresponding to the priority can also include constraint conditions. For example, the highest priority that the logical channel is allowed to be dynamically adjusted to is m, and the value of m can be predefined by the protocol or configured by the network side to the second device through a system message or an RRC message. Correspondingly, the priority of the logical channel can be updated to max{m, Pri 1st -A}. In other adjustment methods, the specific implementation of priority adjustment in combination with constraint conditions can refer to the adjustment methods based on multiplication or subtraction, which will not be elaborated here.

[0148] The value of A can be assigned according to the remaining duration of the logical channel. The following are examples for illustration respectively.

[0149] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is a first value greater than 0 (for example, a fixed value configured by the network side).

[0150] Further, when the remaining duration is greater than the first threshold, the priority adjustment may not be performed, or the value of A is 0. In some cases, when the remaining duration is greater than the first threshold, the priority adjustment can also be performed, and the value of A used for priority adjustment can be less than 0.

[0151] It should be noted that the above implementation 1 is illustrated by taking the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel. In this case, when the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is the first value greater than 1. When the remaining duration of the LCH is greater than the first threshold, then A is greater than or equal to 0 and less than 1.

[0152] Implementation 2: The value of A is inversely proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A.

[0153] Specifically, the corresponding relationship between the remaining duration and A can be defined through a table. For example, in the table, it is defined that when the remaining duration is less than threshold 1, the value of A can be the first value; when the remaining duration is less than threshold 2 and greater than threshold 3, the value of A can be the second value; when the remaining duration is greater than threshold 4, the value of A can be the third value. Among them, the first value can be greater than the second value, and the second value can be greater than the third value.

[0154] It should be noted that implementation 2 is illustrated by taking the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, in the case where the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel, the value of A is directly proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A.

[0155] Implementation 3: When the remaining duration is less than (or equal to) the first threshold, the value of A is inversely proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A.

[0156] It should be noted that implementation 3 is illustrated by taking the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, in the case where the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel, when the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is directly proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A.

[0157] When the priority is adjusted by addition operation, the second priority can be determined by the following formula:

[0158] Pri 2rd =Pri 1st +A (3)

[0159] Among them, Pri 1st represents the first priority of the logical channel, A represents the adjustment parameter, and Pri 2rd represents the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority.

[0160] The following will be described separately for the cases where A is greater than 0 and A is less than 0.

[0161] When the value of A is less than 0, the following implementation methods may be included:

[0162] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is the first value less than 0 (for example, a fixed value configured by the network side).

[0163] Furthermore, when the remaining duration of the LCH is greater than the first threshold, priority adjustment may not be performed, or the value of A may be 0. The priority of this LCH is the first priority and does not need to be obtained through formula (3), that is, this formula is not applicable to the case where the remaining duration of the LCH is greater than the first threshold.

[0164] It should be noted that the larger the numerical value corresponding to the priority of the logical channel, the higher the priority of the logical channel. When the remaining duration of the LCH is less than (or equal to) the first threshold, priority adjustment may not be performed. When the remaining duration of the LCH is greater than the first threshold, the value of A is the first value less than 0.

[0165] Implementation 2: The value of A is proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A (the absolute value of A).

[0166] Among them, the corresponding relationship between the remaining duration and A can be defined by a table. For example, the first table can define that when the remaining duration is less than threshold 1, the value of A can be the first value; when the remaining duration is less than threshold 2 and greater than threshold 3, the value of A can be the second value; when the remaining duration is greater than threshold 4, the value of A can be the third value. Among them, the first value is less than the second value, and the second value is less than the third value.

[0167] It should be noted that the above Implementation 2 is illustrated by the example where the smaller the numerical value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the numerical value corresponding to the priority of the logical channel, the higher the priority of the logical channel. In this case, A is inversely proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A.

[0168] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A.

[0169] Furthermore, when the remaining duration is greater than the first threshold, the value of A is 0. The priority of this LCH is the first priority and does not need to be obtained through formula (3), that is, this formula is not applicable to the case where the remaining duration of the LCH is greater than the first threshold.

[0170] Similarly, when the value corresponding to the priority of the logical channel is larger and the priority is higher, if the remaining duration of the LCH is less than (or equal to) the first threshold, the priority adjustment may not be performed. If the remaining duration of the LCH is greater than the first threshold, the value of A is inversely proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A.

[0171] When the value of A is greater than 0, the following implementation manners may be included:

[0172] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the priority adjustment may not be performed, that is, the above formula (3) is not applicable, or the value of A in formula (3) is 0. When the remaining duration of the LCH is greater than the first threshold, the value of A is the first value greater than 0 (for example, a fixed value configured by the network side).

[0173] When the value corresponding to the priority of the logical channel is larger and the priority is higher, if the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A is the first value greater than 0. If the remaining duration of the LCH is greater than the first threshold, the priority adjustment may not be performed.

[0174] Implementation 2: The value of A is directly proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A.

[0175] The corresponding relationship between the remaining duration and A can be defined by a table. For example, the first table may define that when the remaining duration is less than threshold 1, the value of A may be the first value; when the remaining duration is less than threshold 2 and greater than threshold 3, the value of A may be the second value; when the remaining duration is greater than threshold 4, the value of A may be the third value. Among them, the first value is less than the second value, and the second value is less than the third value.

[0176] It should be noted that the above Implementation 2 is illustrated by taking the case where the value corresponding to the priority of the logical channel is smaller and the priority is higher. In another implementation, the value corresponding to the priority of the logical channel is larger and the priority of the logical channel is higher. In this case, A is inversely proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A.

[0177] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the priority adjustment may not be performed, that is, the above formula (3) is not applicable, or the value of A in formula (3) is 0. When the remaining duration of the LCH is greater than the first threshold, the value of A is greater than 0, and the value of A is directly proportional to the remaining duration of the LCH.

[0178] It should be noted that the above implementation 3 takes the example that the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel. In this case, when the remaining duration of the LCH is less than (or equal to) the first threshold, A is inversely proportional to the remaining duration of the LCH. When the remaining duration is smaller, the value of A is larger. Further, when the remaining duration of the LCH is greater than the first threshold, the priority adjustment may not be performed.

[0179] When the priority adjustment is performed by division operation, the second priority can be determined by the following formula:

[0180] Pri 2rd = Pri 1st ÷ A (4)

[0181] Wherein, Pri 1st represents the first priority of the logical channel, A represents the adjustment parameter, and Pri 2rd represents the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority.

[0182] The following is an explanation for A > 1 and A < 1 respectively.

[0183] When the value of A is greater than 1, the following implementation methods may be included:

[0184] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A can be a first value greater than 1, for example, a fixed value configured by the network side. Correspondingly, the second priority of the LCH can be the first priority ÷ A; when the remaining duration of the LCH is greater than the first threshold, the value of A can be equal to 1, or the priority adjustment may not be performed, and the second priority of the LCH can be equal to the first priority of LCH1. In this case, the priority of the LCH does not need to be obtained through formula (4), that is, this formula is not applicable to the case where the remaining duration of the LCH is greater than the first threshold.

[0185] Implementation 2: The value of A is inversely proportional to the remaining duration of the LCH. When the remaining duration is smaller, the value of A is larger.

[0186] Wherein, the corresponding relationship between the remaining duration and A can be defined by a table. The specific implementation process can refer to the relevant content described above and will not be elaborated here.

[0187] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A can be proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A. Correspondingly, the second priority can be the first priority divided by A. When the remaining duration of the LCH is greater than the first threshold, the value of A can be 1, or the priority adjustment may not be performed, and the second priority is equal to the first priority. In this case, the priority of the LCH does not need to be obtained through formula (4), that is, this formula is not applicable when the remaining duration of the LCH is greater than the first threshold.

[0188] The above Implementations 1, 2, and 3 are illustrated by the example that the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel, and the value of A can vary according to the remaining duration of the LCH.

[0189] When the value of A is less than 1, the following implementation methods may be included:

[0190] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A can be equal to 1. In other words, the priority adjustment may not be performed, and the second priority of the LCH can be equal to the first priority of LCH1. The priority of the LCH does not need to be obtained through formula (4), that is, this formula is not applicable when the remaining duration of the LCH is less than (or equal to) the first threshold. When the remaining duration of the LCH is greater than the first threshold, the value of A can be the first value less than 1, for example, a fixed value configured by the network side. Correspondingly, the second priority can be the first priority divided by A.

[0191] Implementation 2: The value of A is proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A.

[0192] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A can be equal to 1. In other words, the priority adjustment may not be performed, and the second priority of the LCH can be equal to the first priority of LCH1. The priority of the LCH does not need to be obtained through formula (4), that is, this formula is not applicable when the remaining duration of the LCH is less than (or equal to) the first threshold. When the remaining duration of the LCH is greater than the first threshold, the value of A is proportional to the remaining duration of the LCH. The smaller the remaining duration, the smaller the value of A. Correspondingly, the second priority can be the first priority divided by A.

[0193] Similar to Implementations 1, 2, and 3 when the value of A is greater than 1, Implementations 1, 2, and 3 when the value of A is less than 1 are also illustrated by the example that the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of the logical channel, the higher the priority of the logical channel, and the value of A can vary according to the remaining duration of the LCH.

[0194] The above priority adjustment method is mainly implemented based on the remaining delay itself. In some possible implementation methods, the total data volume of data packets whose remaining delay meets the conditions can also be obtained, and the priority can be obtained according to this total data volume. Among them, the remaining delay meeting the conditions includes that the remaining delay is less than the first threshold, or the remaining delay is greater than the first threshold. Taking the example that the remaining delay is less than the first threshold, when the priority is adjusted using formula (2), the network side can configure the mapping relationship between the total data volume of data packets with a remaining delay less than the first threshold and the offset A. The second device can obtain the total data volume of data packets with a remaining delay less than the first threshold in the logical channel, and obtain the value of A according to the total data volume and the above mapping relationship configured by the network side. The adjusted priority can be obtained according to the value of A.

[0195] Among them, the mapping relationship between the total data volume of data packets with a remaining delay less than the first threshold and the offset A can be configured through a table. For example, in the table, it can be defined that when the total data volume is less than 100 bytes, the value of A is 4; when the total data volume is greater than or equal to 100 bytes and less than 200 bytes, the value of A is 3; when the total data volume is greater than or equal to 200 bytes and less than 500 bytes, the value of A is 2; when the total data volume is greater than or equal to 500 bytes, the value of A is 4. Similarly, when obtaining the sorting result of the logical channel according to the remaining delay of the logical channel, the logical channel can also be sorted based on the total data volume of data packets whose remaining delay in the logical channel meets the conditions to obtain the sorting result. The specific implementation process can refer to the priority adjustment process based on the total data volume, and will not be elaborated here.

[0196] Considering that the data in the logical channel may include delay-sensitive data, if the data volume of the delay-sensitive data is not considered when allocating resources to transmit the data in the logical channel, then when allocating resources, the resources may be allocated according to the resource size and the current overall cache volume. However, it is possible that not all delay-sensitive data is included when allocating resources, which may cause the delay-sensitive data not to be transmitted and thus be discarded. Therefore, the data volume of the delay-sensitive data can also be combined for resource allocation and data transmission. The following takes the example of resource allocation by combining the data volume of the delay-sensitive data for illustration.

[0197] See Figure 4 The schematic flow diagram of a resource allocation shown, which specifically includes the following steps:

[0198] S402. Obtain the data volume of the delay-sensitive data in the logical channel.

[0199] Specifically, the second device (such as a UE) needs to determine whether there is delay-sensitive data in the logical channel. When there is delay-sensitive data in the logical channel, the amount of delay-sensitive data is obtained. The delay-sensitive data includes data packets with a remaining duration less than a threshold value.

[0200] S404. Allocate resources for the logical channel according to the sorting result or priority of the logical channel, and the amount of delay-sensitive data in the logical channel.

[0201] Specifically, when allocating resources for the logical channel, resources can be allocated to the delay-sensitive data of the corresponding logical channel in sequence according to the sorting result or priority of the logical channel. Therefore, in the scenario of allocating resources for the logical channel, the amount of delay-sensitive data needs to be considered, and the second device can allocate resources for the logical channel reasonably according to this information. For example, when there are x kilobits (kbit) of delay-sensitive data in the logical channel with the highest priority that needs to be transmitted, y resource blocks can be allocated to the logical channel with the highest priority first for transmitting the corresponding delay-sensitive data. When the resources are not filled, resources can be allocated to the non-delay-sensitive data of the corresponding logical channel in sequence according to the sorting result or priority of the logical channel.

[0202] In some possible implementation manners, when transmitting data, the token bucket algorithm can be adopted. The working process of the token bucket algorithm can be that the second device (such as a terminal such as a host) maintains a token bucket and injects tokens into the token bucket at a rate R. When the second device sends data to the network side, it can first determine whether there are still tokens in the token bucket. If there are tokens in the token bucket, the second device can send data, and the amount of data sent can be positively correlated with the number of tokens taken out from the token bucket. If the token bucket is empty, the second device cannot send data to the network side, and all data packets can be cached in the queue of the second device.

[0203] Although the token bucket limits the long-term rate of the data stream, it allows short-term data bursts. Based on this, the size of the token bucket can also be set according to the amount of delay-sensitive data in the logical channel, and data can be transmitted in combination with the size of the token bucket to cope with short-term data bursts. The following takes an example of data transmission in combination with the size of the token bucket for illustration.

[0204] See Figure 5 As shown in the schematic diagram of a data transmission process, the specific steps are as follows:

[0205] S502. Set the size of the token bucket according to the amount of delay-sensitive data in the logical channel.

[0206] Among them, the size of the token bucket for the j-th logical channel can be denoted as Bj , in other words, the token bucket can have at most B j tokens. For the j-th logical channel, the second device can gradually adjust B j , and the adjustment amplitude can be PBR×T, where PBR represents the priority bit rate, and T represents the adjustment time interval. When the adjusted value of B j is greater than the first data volume, which can be determined according to the priority bit rate PBR and the bucket size duration (BSD), for example, it can be PBR×BSD, B j can be set to the above first data volume, for example, it is pBR×BSD.

[0207] Considering the case of data floods (burst data streams), the token bucket size B j can also be set in combination with the data volume of delay-sensitive data. Specifically, when the data volume of delay-sensitive data is greater than the first data volume, the token bucket size can be set to the data volume of delay-sensitive data. When the data volume of delay-sensitive data is less than the first data volume, the token bucket size can be set to the first data volume.

[0208] In other words, B j can be set to the maximum value of the first data volume and the data volume of delay-sensitive data. In the case where the data volume of delay-sensitive data is greater than the first data volume, when the value of B j is greater than the data volume of delay-sensitive data, then B j is set to the data volume of delay-sensitive data. In the case where the data volume of delay-sensitive data is less than or equal to the first data volume, when the value of B j is greater than the first data volume, then B j is set to the first data volume.

[0209] S504. Transmit the data in the logical channel or allocate resources for the logical channel according to the sorting result or priority of the logical channel and in combination with the token bucket size.

[0210] Specifically, each logical information is set with a token bucket size. The logical channel with a higher sorting result or higher priority among the logical channels can fill the corresponding amount of data to the resources specified by the uplink grant according to the token bucket size of the logical channel for data transmission through the resources.

[0211] Among them, when the data in the logical channel includes delay-sensitive data, the delay-sensitive data can be preferentially filled into the resources specified by the uplink grant. When the data volume of the delay-sensitive data in the logical channel is less than the token bucket size, non-delay-sensitive data can be continuously filled until the data volume filled into the resources of the logical channel reaches the token bucket size of the logical channel.

[0212] In this embodiment, according to the sorting result or priority of the logical channels, combined with the token bucket size or the amount of delay-sensitive data, the data in the logical channels is transmitted or resources are allocated for the logical channels. In this way, it can be ensured that the delay-sensitive data can be transmitted preferentially, or the logical channel where the delay-sensitive data is located can be allocated resources preferentially.

[0213] In some possible implementation manners, the network side may further configure indication information of the above mechanism, and a second device such as a UE may enable the above mechanism (a mechanism for obtaining the sorting result or priority of the logical channels based on the remaining delay, or a mechanism for setting the token bucket size based on the amount of delay-sensitive data) according to the indication information of the above mechanism.

[0214] First, refer to Figure 6 the flowchart of a communication method shown in

[0215] S602. Obtain first indication information.

[0216] The first indication information is used to indicate obtaining the sorting result or priority of the logical channels based on the remaining duration of the logical channels. Among them, the first indication information may be configured by a first device. It should be noted that there are various configuration manners for the first indication information, which will be described in detail below.

[0217] When the second device obtains the first indication information, it may obtain the sorting result or priority of the logical channels based on the remaining duration of the logical channels; when the first indication information is not configured or released, the second device cannot obtain the sorting result or priority of the logical channels based on the remaining duration of the logical channels. Among them, the second device may obtain the sorting result or priority of the logical channels according to the logical channel priority configured by the first device.

[0218] In the first possible manner, the first indication information includes a first enabling indication, and the first enabling indication is used to enable obtaining the sorting result or priority of the logical channels based on the remaining duration of the logical channels. For example, the first indication information may include a first field. When the value of the first field is true, the first indication information includes the first enabling indication, and the first enabling indication is used to enable the mechanism for obtaining the sorting result or priority of the logical channels based on the remaining duration of the logical channels.

[0219] In a second possible implementation, the first indication information may include adjustment parameters configured by the network side. The adjustment parameters may be constants (such as a first value) or related to the remaining duration. When the adjustment parameter is related to the remaining duration, the adjustment parameter may be represented by a function expression. In this implementation, the adjustment parameter also has the function of indicating the sorting result or priority of the logical channel based on the remaining duration of the logical channel.

[0220] In a third possible implementation, the first indication information may include adjustment parameters configured by the network side and first information of a first logical channel. The adjustment parameter is a constant or related to the remaining duration. The first information is used to indicate that the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. The remaining logical channels (if any) may be referred to as ordinary logical channels. In this implementation, the adjustment parameter and the first information of the first logical channel also have the function of indicating the sorting result or priority of the logical channel based on the remaining duration of the logical channel.

[0221] Among them, the first information includes the bit of the first logical channel. When the bit of the first logical channel takes the first value, the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. When the bit of the first logical channel takes the second value, the first logical channel is a channel that cannot obtain a sorting result or priority based on the remaining duration. Or the first information is the identifier of the first logical channel; or the first information is an indication bit. The first information corresponds to the first logical channel. When the indication bit is true or enabled, the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. When the indication bit is false or disabled, the first logical channel cannot obtain a sorting result or priority based on the remaining duration.

[0222] In a fourth possible implementation, the first indication information may include first information of a first logical channel configured by the network side. The first information is used to indicate that the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. In this implementation, the first information of the first logical channel also has the function of indicating the sorting result or priority of the logical channel based on the remaining duration of the logical channel.

[0223] S604. Obtain the sorting result or priority of the logical channel according to the remaining duration of the logical channel.

[0224] In some possible implementations, when there is a first logical channel and an ordinary logical channel that can obtain a sorting result or priority based on the remaining duration, the sorting result or priority of the logical channel may be obtained according to the remaining duration of the first logical channel for the first logical channel, and the priority of the ordinary logical channel remains unchanged and is still the priority configured by the network side.

[0225] In some other possible implementation manners, when there is a first logical channel and a normal logical channel that can obtain a sorting result or a priority based on the remaining duration, for the first logical channel, the sorting result or the priority of the logical channel can be obtained according to the remaining duration of the first logical channel, and for the normal logical channel, it can be sorted after the first logical channel.

[0226] S606. Transmit the data in the logical channel or allocate resources for the logical channel according to the sorting result or the priority of the logical channel.

[0227] Among them, the specific implementation of S604 and S606 can refer to the relevant content described above and will not be elaborated here.

[0228] It should be noted that the second device obtaining the first indication information indicates that the second device can trigger the mechanism of "obtaining the sorting result or the priority of the logical channel according to the remaining duration of the logical channel", but it does not mean that when the second device obtains the first indication information, it will obtain the sorting result or the priority of the logical channel according to the remaining duration of the logical channel. In actual application, when the second device receives the above first indication information, it can obtain the sorting result or the priority of the logical channel according to the remaining duration of the logical channel when obtaining the uplink grant. Before the first indication information is released, if the second device obtains multiple uplink grants, it can obtain the sorting result or the priority of the logical channel according to the remaining duration of the logical channel each time it obtains the uplink grant.

[0229] For example, when the second device does not obtain the uplink grant or does not execute the LCP process, the priorities of the respective logical channels of the second device can remain the priorities configured by the network side through the RRC message. When the second device executes the LCP process, if it receives the first indication information or the previously received first indication information has not been released, the second device can temporarily adjust the priorities of the logical channels according to the remaining duration.

[0230] In one case, the first indication information can be a one-time application, only indicating that the first sorting after receiving the first indication information can apply the latency-based LCP process; in one case, the first indication information can be applied for a period of time, which can be implemented by a timer. For example, the timer is started after receiving the first indication information or the timer is started after receiving the first indication information when an uplink grant is obtained, etc. Among them, the duration of the timer can be configured by the network side; in one case, the first indication information can be applied to a data transmission object, and when it is determined that the data transmission object needs to perform data transmission, the latency-based LCP process is applied; in one case, the first indication information is applied to the first resource (uplink grant), and when data needs to be transmitted on the first resource, the latency-based LCP process is applied. The latency-based LCP process refers to the token bucket size setting process or the data transmission object sorting process based on latency information in the present invention.

[0231] Secondly, refer to Figure 7 the flowchart of a communication method shown in the figure, and the method includes the following steps:

[0232] S702. Obtain second indication information.

[0233] The second indication information is used to indicate setting the token bucket size according to the data volume of latency-sensitive data in the logical channel. Among them, the second indication information can be configured by the first device. It should be noted that there are various configuration methods for the second indication information, which will be described in detail below.

[0234] When the second device obtains the second indication information, it can set the token bucket size based on the data volume of latency-sensitive data in the logical channel; when the second indication information is not configured or released, the second device cannot set the token bucket size based on the data volume of latency-sensitive data in the logical channel. Among them, the second device can set the token bucket size according to the priority bit rate PBR and the bucket depth BSD.

[0235] In the first possible manner, the second indication information includes a second enable indication, and the second enable indication is used to enable setting the token bucket size according to the data volume of the latency-sensitive data in the logical channel. For example, the second indication information can include a second field. When the value of the second field is true, the second indication information includes the second enable indication, and the second enable indication is used to indicate setting the token bucket size according to the data volume of the latency-sensitive data in the logical channel.

[0236] In the second possible manner, the second indication information includes a first data volume configured by the network side. The first data volume is determined according to the priority bit rate PBR and the bucket depth BSD, and can be, for example, PBR×BSD. In this implementation manner, the first data volume also has the function of indicating setting the token bucket size according to the data volume of the latency-sensitive data in the logical channel.

[0237] In a third possible manner, the second indication information includes a first data volume configured by the network side and second information of a second logical channel. The second information is used to indicate that the second logical channel is a channel capable of setting the token bucket size according to the data volume of delay-sensitive data. In this implementation manner, the first data volume and the second information of the second logical channel also have the function of indicating to set the token bucket size according to the data volume of delay-sensitive data in the logical channel.

[0238] The second information includes the bit of the second logical channel. When the bit of the second logical channel takes a first value, the second logical channel is a channel capable of setting the token bucket size based on the data volume of delay-sensitive data. When the bit of the second logical channel takes a second value, the second logical channel is a channel that cannot set the token bucket size based on the data volume of delay-sensitive data. Or the second information is the identifier of the second logical channel; or the second information is an indication bit. The second information corresponds to the second logical channel. When the indication bit is true or enabled, the second logical channel is a channel capable of setting the token bucket size based on the data volume of delay-sensitive data. When the indication bit is false or disabled, the second logical channel is a channel that cannot set the token bucket size based on the data volume of delay-sensitive data.

[0239] In a fourth possible manner, the second indication information includes the second information of the second logical channel configured by the network side. The second information is used to indicate that the second logical channel is a channel capable of setting the token bucket size according to the data volume of delay-sensitive data. In this implementation manner, the second information of the second logical channel also has the function of indicating to set the token bucket size according to the data volume of delay-sensitive data in the logical channel.

[0240] S704. Set the token bucket size according to the data volume of delay-sensitive data in the logical channel.

[0241] Among them, setting the token bucket size according to the data volume of delay-sensitive data in the logical channel can refer to the relevant content described above and will not be elaborated here.

[0242] Similar to Figure 6 the embodiment, the second device obtaining the second indication information indicates that the second device can trigger the mechanism of "setting the token bucket size according to the data volume of delay-sensitive data in the logical channel", but it does not mean that the second device will set the token bucket size according to the data volume of delay-sensitive data in the logical channel when obtaining the second indication information. In actual application, when the second device receives the second indication information, it can set the token bucket size according to the data volume of delay-sensitive data in the logical channel when obtaining the uplink grant. Before the release of the second indication information, if the second device obtains multiple uplink grants, it can set the token bucket size according to the data volume of delay-sensitive data in the logical channel each time it obtains the uplink grant.

[0243] For example, when the second device does not obtain uplink authorization or does not execute the LCP process, the token bucket size of each logical channel of the second device can be maintained as PBR×BSD. When the second device executes the LCP process, if the second indication information is received or the previously received second indication information has not been released, the second device can temporarily adjust the token bucket size of the logical channel to the data volume of the delay-sensitive data when the data volume of the delay-sensitive data is greater than PBR×BSD.

[0244] In one case, the second indication information can be a one-time application, only indicating that the first sorting after receiving the second indication information can apply the LCP process based on delay; in one case, the second indication information can be applied for a period of time, and this period of time can be implemented by a timer. For example, the timer is started after receiving the second indication information or the timer is started after receiving the second indication information and obtaining uplink authorization, etc. Among them, the duration of the timer can be configured by the network side; in one case, the second indication information can be applied to the data transmission object, and when it is determined that the data transmission object needs to perform data transmission, the LCP process based on delay is applied; in one case, the second indication information is applied to the first resource (uplink authorization), and when data needs to be transmitted on the first resource, the LCP process based on delay is applied.

[0245] The foregoing embodiments introduce the communication method of the present application from the perspective of the second device. Next, the communication method of the present application will be introduced from the perspective of the first device.

[0246] See Figure 8 The flowchart of a communication method shown in the figure, the method includes:

[0247] S802. Configure the first indication information.

[0248] Specifically, the first device can configure the first indication information. The first indication information is used to indicate the remaining duration based on the logical channel, the logical channel or priority for obtaining the sorting result of the logical channel. Among them, the first indication information can be device-level or channel-level indication information. The device-level indication information can be a mechanism for indicating that the logical channels of the second device all enable the remaining duration based on the logical channel to obtain the sorting result of the logical channel or priority. The channel-level indication information can be a mechanism for indicating that a specific logical channel enables the remaining duration based on the logical channel to obtain the sorting result of the logical channel or priority.

[0249] Configuring the first indication information can include various implementation manners, which will be described separately below.

[0250] In a first possible implementation, the first device may configure a first enabling indication. The first enabling indication is used to enable the remaining duration based on the logical channel, and obtain the sorting result or priority of the logical channel. For example, the first indication information includes a first field, and the first device configures the field value of the first field to be true, thereby indicating a mechanism for enabling the remaining duration based on the logical channel and obtaining the sorting result or priority of the logical channel.

[0251] In a second possible implementation, the first device may configure an adjustment parameter. The adjustment parameter is a constant or related to the remaining duration. When the adjustment parameter is related to the remaining duration, the adjustment parameter can be represented by a function expression. In this implementation, the adjustment parameter also has the function of indicating the remaining duration based on the logical channel and obtaining the sorting result or priority of the logical channel. In other words, the adjustment parameter can be reused as the first enabling indication.

[0252] In a third possible implementation, the first device may configure an adjustment parameter and first information of a first logical channel. The first information is used to indicate that the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. In this implementation, the adjustment parameter and the first information of the first logical channel also have the function of indicating the remaining duration based on the logical channel and obtaining the sorting result or priority of the logical channel. In other words, the adjustment parameter and the identifier of the first logical channel can be reused as the first enabling indication.

[0253] In a fourth possible implementation, the first device may configure first information of a first logical channel. The first information is used to indicate that the first logical channel is a channel capable of obtaining a sorting result or priority based on the remaining duration. In this implementation, the first information of the first logical channel also has the function of indicating the remaining duration based on the logical channel and obtaining the sorting result or priority of the logical channel. In other words, the first information of the first logical channel can be reused as the first enabling indication.

[0254] S804. Receive data transmitted by the second device according to the first indication information.

[0255] Among them, the data transmission process can refer to the foregoing description and will not be elaborated here.

[0256] It should be noted that S804 is an optional step in the embodiments of the present application. The communication method of the present application may not perform the above S804. For example, when there is no data in the logical channel, the above S804 may not be performed.

[0257] See Figure 9 The flowchart of a communication method shown, the method includes:

[0258] S902. Configure second indication information.

[0259] Specifically, the first device may configure second indication information. The second indication information is used to indicate setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. Among them, the second indication information may be device-level or channel-level indication information. The device-level indication information may be to indicate that the logical channels of the second device all enable the mechanism of setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. The channel-level indication information may be to indicate that a specific logical channel enables the mechanism of setting the token bucket size according to the data volume of delay-sensitive data in the logical channel.

[0260] Configuring the second indication information may include multiple implementation manners, which are described separately below.

[0261] In the first possible implementation manner, the first device may configure a second enable indication. The second enable indication is used to enable setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. For example, the second indication information includes a second field, and the first device configures the field value of the second field to be true, so as to indicate enabling the mechanism of setting the token bucket size according to the data volume of delay-sensitive data in the logical channel.

[0262] In the second possible implementation manner, the first device may configure a first data volume. The first data volume may be determined according to PBR and BSD, for example, it may be PBR×BSD. In this implementation manner, the first data volume also has the function of indicating setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. In other words, the first data volume may be reused as the second enable indication.

[0263] In the third possible implementation manner, the first device may configure a first data volume and second information of a second logical channel. The second information is used to indicate that the second logical channel is a channel capable of setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. In this implementation manner, the first data volume and the second information of the second logical channel also have the function of indicating setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. In other words, the first data volume and the second information of the second logical channel may be reused as the second enable indication.

[0264] In the fourth possible implementation manner, the first device may configure second information of a second logical channel. The second information is used to indicate that the second logical channel is a channel capable of setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. In this implementation manner, the second information of the second logical channel also has the function of indicating setting the token bucket size according to the data volume of delay-sensitive data in the logical channel. In other words, the second information of the second logical channel may be reused as the second enable indication.

[0265] S904. Receive the data transmitted by the second device according to the second indication information.

[0266] Among them, the data transmission process can be described with reference to the foregoing content and will not be elaborated herein.

[0267] It should be noted that S904 is an optional step of the embodiment of the present application, and the communication method of the present application may not execute the above S904. For example, the token bucket size of the logical channel can be set to PBR×BSD.

[0268] The above introduces the communication method of the present application from the perspectives of the terminal and the network side respectively. The following will explain the communication method of the present application from the perspective of interaction.

[0269] See Figure 10 The flowchart of a communication method shown includes the following steps:

[0270] S1002. The first device configures first indication information.

[0271] S1004. The first device configures second indication information.

[0272] Among them, S1002 and S1004 can be executed in parallel or sequentially. The first indication information and the second indication information can be independent indication information or combined into one indication information.

[0273] S1006. The second device obtains the sorting result or priority of the logical channel according to the remaining duration of the logical channel.

[0274] S1008. The second device sets the token bucket size according to the data volume of the delay-sensitive data in the logical channel.

[0275] S1010. The second device transmits the data in the logical channel or allocates resources for the logical channel according to the sorting result or priority of the logical channel in combination with the token bucket size.

[0276] The specific implementation of the above S1002 to S1010 can be described with reference to the relevant content of the foregoing embodiments and will not be elaborated herein one by one.

[0277] The present invention also provides a method. When the terminal device obtains data transmission object information, resources are preferentially allocated to the data transmission object indicated by the data transmission object information. In one case, resources can be allocated according to the data volume information of the multimodal service. After resources are allocated to these data transmission objects, information other than the data transmission object indicated by the data transmission object information is transmitted. Among them, these data transmission objects belong to a multimodal service.

[0278] Among them, the data transfer object information includes the bit positions of the data transfer object. When the bit positions of the data transfer object take the first value, resources can be preferentially allocated to the data transfer object. When the bit positions of the data transfer object take the second value, resources cannot be preferentially allocated to the data transfer object. Alternatively, the first information is the identifier of the data transfer object; or the data transfer object information is an indication bit, and the data transfer object information corresponds to the data transfer object. When the indication bit is true or enabled, resources can be preferentially allocated to the data transfer object. When the indication bit is false or disabled, resources cannot be preferentially allocated to the data transfer object.

[0279] The above method can be used in combination with the method in the present invention. For example, resources are allocated to the data transfer object based on the delay information and the data volume of the multimodal service or the total data volume of the data transfer object indicated by the data transfer object information.

[0280] Based on the foregoing communication method, the present application also provides an electronic device for executing the foregoing communication method. This will be described below in conjunction with embodiments.

[0281] Figure 11 This is a composition example of an electronic device provided in an embodiment of the present application. The electronic device may be a first device, including but not limited to a base station and a core network unit. Figure 11 A simplified schematic diagram of the base station structure is shown. The base station includes a part 1110, a part 1120, and a part 1130. The part 1110 is mainly used for baseband processing and controlling the base station, etc.; the part 1110 is usually the control center of the base station and can usually be called a processor, which is used to control the base station to execute the processing operations on the first device side in the above method embodiments. The part 1120 is mainly used for storing computer program codes and data. The part 1130 is mainly used for the transceiver of radio frequency signals and the conversion between radio frequency signals and baseband signals; the part 1130 can usually be called a transceiver module, a transceiver, a transceiver circuit, or a transceiver, etc. The transceiver module of the part 1130 can also be called a transceiver or a transceiver, etc., and it includes an antenna 1133 and a radio frequency circuit (not shown in the figure), where the radio frequency circuit is mainly used for radio frequency processing. Optionally, the devices used to implement the receiving function in the part 1130 can be regarded as a receiver, and the devices used to implement the sending function can be regarded as a transmitter, that is, the part 1130 includes a receiver 1132 and a transmitter 1131. The receiver can also be called a receiving module, a receiver, or a receiving circuit, etc., and the transmitter can be called a transmitting module, a transmitter, or a transmitting circuit, etc.

[0282] The 1110 part and the 1120 part may include one or more single boards, and each single board may include one or more processors and one or more memories. The processor is used to read and execute the programs in the memory to implement baseband processing functions and the control of the base station. If there are multiple single boards, they can be interconnected to enhance the processing capacity. As an alternative implementation, it can also be that multiple single boards share one or more processors, or multiple single boards share one or more memories, or multiple single boards simultaneously share one or more processors.

[0283] For example, in one implementation, the transceiver module of the 1130 part is used to execute the transceiver-related processes performed by the base station (the first device) in the foregoing method embodiments. The processor of the 1110 part is used to execute the processing-related processes performed by the base station in the foregoing method embodiments.

[0284] It should be understood that Figure 11 merely for example and not limitation, the above network device including a processor, a memory, and a transceiver may not depend on Figure 11 the structure shown.

[0285] Figure 12 This is another example of the composition of the electronic device provided by the embodiments of the present application. The electronic device may be the second device, and the second device may be a terminal, including but not limited to electronic devices such as mobile phones and smart wearable devices (such as smart watches). Taking a mobile phone as an example, the electronic device may include a processor 310, an external memory interface 320, an internal memory 321, a display screen 330, a camera 340, antenna 1, antenna 2, a mobile communication module 350, and a wireless communication module 360, etc.

[0286] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0287] The processor 310 may include one or more processing units. For example, the processor 310 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0288] It can be understood that the interface connection relationships between the modules illustrated in this embodiment are only illustrative and do not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0289] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the electronic device. The external memory card communicates with the processor 310 through the external memory interface 320 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0290] The internal memory 321 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device (such as audio data, phone book, etc.). In addition, the internal memory 321 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321, and / or the instructions stored in the memory provided in the processor.

[0291] The wireless communication function of the electronic device can be implemented by Antenna 1, Antenna 2, Mobile Communication Module 350, Wireless Communication Module 360, Modulation and Demodulation Processor, and Baseband Processor, etc.

[0292] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, Antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0293] Mobile Communication Module 350 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device. Mobile Communication Module 350 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. Mobile Communication Module 350 can receive electromagnetic waves by Antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the Modulation and Demodulation Processor for demodulation. Mobile Communication Module 350 can also amplify the signal modulated by the Modulation and Demodulation Processor and convert it into electromagnetic waves through Antenna 1 for radiation. In some embodiments, at least some functional modules of Mobile Communication Module 350 can be provided in Processor 310. In some embodiments, at least some functional modules of Mobile Communication Module 350 and at least some modules of Processor 310 can be provided in the same device.

[0294] In some embodiments, the electronic device initiates or receives a call request through Mobile Communication Module 350 and Antenna 1.

[0295] In addition, an operating system runs on the above components. For example, iOS operating system, Android operating system, Windows operating system, etc. Application programs can be installed and run on the operating system. Those skilled in the art can clearly understand that for the sake of convenience and conciseness of description, the explanations and beneficial effects of the relevant content in any of the above-mentioned electronic devices can refer to the corresponding method embodiments provided above, and will not be elaborated here.

[0296] This application also provides a communication system, which can include a first device (such as a network device like a base station) as shown in Figure 11 and a second device (such as a terminal like a mobile phone) as shown in Figure 12 .

[0297] In this application, a terminal or a network device may include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system layer. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also known as main memory). The operating system in the operating system layer may be any one or more computer operating systems that implement service processing through processes. For example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system, etc. The application layer may include applications such as a browser, an address book, a word processing software, and an instant messaging software.

[0298] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices, and modules described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated here.

[0299] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, indirect couplings or communication connections of devices or modules, and can be in electrical, mechanical or other forms.

[0300] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0301] In addition, each functional module in various embodiments of this application can be integrated in a processing module, or each module can exist physically alone, or two or more modules can be integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0302] When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the part that essentially contributes to the technical solution of this application, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the processes of the methods described in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories, random access memories, magnetic disks, or optical discs.

[0303] As described above, the above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of various embodiments of this application.

Claims

1. A communication method, characterized in that, The method includes: Obtaining a sorting result or a priority of the data transmission object according to the remaining duration of the data transmission object; Transmitting the data in the data transmission object or allocating resources for the data transmission object according to the sorting result of the data transmission object or the priority.

2. The method according to claim 1, wherein The method further includes: Obtaining a first priority of the data transmission object; Obtaining the priority of the data transmission object according to the remaining duration of the data transmission object includes: Determining a second priority of the data transmission object according to the remaining duration of the data transmission object and the first priority.

3. The method according to claim 2, wherein The determining the second priority of the data transmission object according to the remaining duration of the data transmission object and the first priority includes: Adjusting the first priority of the data transmission object according to an adjustment parameter to obtain the second priority of the data transmission object.

4. The method according to claim 3, wherein The adjusting the first priority of the data transmission object according to an adjustment parameter to obtain the second priority of the data transmission object includes: When the remaining duration of the data transmission object meets a first condition, adjusting the first priority of the data transmission object according to a first value or an adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object; or, Adjusting the first priority of the data transmission object according to an adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object; or, When the remaining duration of the data transmission object meets a first condition, adjusting the first priority according to a first value or a first adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object, and when the remaining duration of the data transmission object meets a second condition, adjusting the first priority according to a second value or a second adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object.

5. The method according to claim 3 or 4, characterized in that, The adjusting the first priority of the data transmission object according to an adjustment parameter to obtain the second priority of the data transmission object includes: Performing four arithmetic operations on the first priority according to the adjustment parameter to obtain the second priority of the data transmission object.

6. The method according to claim 1, characterized in that Obtaining the sorting result of the data transmission object according to the remaining duration of the data transmission object includes: Obtaining the priority of the data transmission object according to the remaining duration of the data transmission object, and sorting the data transmission object according to the priority of the data transmission object to obtain the sorting result of the data transmission object; or, Sorting the data transmission object according to the remaining duration of the data transmission object to obtain the sorting result of the data transmission object; or, When the remaining duration of the data transmission object meets a first condition, sorting the data transmission object according to the remaining duration of the data transmission object to obtain the sorting result of the data transmission object, and when the remaining duration of the data transmission object meets a second condition, sorting the data transmission object according to the priority of the data transmission object to obtain the sorting result of the data transmission object.

7. The method according to any one of claims 1 to 6, characterized in that Allocating resources for the data transmission objects according to the sorting result or the priority of the data transmission objects includes: Obtaining the data volume of the latency-sensitive data in the data transmission objects; Allocating resources for the data transmission objects according to the sorting result or the priority of the data transmission objects and the data volume of the latency-sensitive data in the data transmission objects.

8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: Setting the token bucket size according to the data volume of the latency-sensitive data in the data transmission objects; Transmitting the data in the data transmission objects according to the sorting result or the priority of the data transmission objects includes: Transmitting the data in the data transmission objects according to the sorting result or the priority of the data transmission objects in combination with the token bucket size.

9. The method according to claim 8, wherein The setting the token bucket size according to the data volume of the latency-sensitive data in the data transmission objects includes: When the data volume of the latency-sensitive data is greater than a first data volume, setting the token bucket size to the data volume of the latency-sensitive data, where the first data volume is determined according to the priority bit rate PBR and the bucket depth BSD; or, When the data volume of the latency-sensitive data is less than the first data volume, setting the token bucket size to the first data volume.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: Obtaining first indication information for indicating obtaining the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object.

11. The method according to claim 10, wherein The obtaining the first indication information includes Obtaining a first enabling indication for enabling obtaining the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object; or, Obtaining an adjustment parameter configured by the network side, where the adjustment parameter is a constant or related to the remaining duration; or, Obtaining an adjustment parameter configured by the network side and first information of a first data transmission object, where the adjustment parameter is a constant or related to the remaining duration, and the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or priority based on the remaining duration; or, Obtaining first information of a first data transmission object configured by the network side, where the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or priority based on the remaining duration.

12. The method according to any one of claims 1 to 11, characterized in that, The method further includes: Obtaining second indication information for indicating setting the token bucket size according to the data volume of the latency-sensitive data in the data transmission objects.

13. The method according to claim 12, characterized in that The obtaining the second indication information includes: Obtaining a second enabling indication for enabling setting the token bucket size according to the data volume of the latency-sensitive data in the data transmission objects; or, Obtaining a first data volume configured by the network side, where the first data volume is determined according to the priority bit rate PBR and the bucket depth BSD; or, Obtaining a first data volume configured by the network side and second information of a second data transmission object, where the second information is used to indicate that the second data transmission object is an object capable of setting the token bucket size according to the data volume of the latency-sensitive data; or, Obtain second information of a second data transmission object configured by the network side, where the second information is used to indicate that the second data transmission object is an object capable of setting the token bucket size according to the data volume of delay-sensitive data.

14. The method according to any one of claims 1 to 13, characterized in that, The data transmission object includes one or more of a logical channel, a logical channel group, a protocol data unit (PDU) set, or a data packet.

15. The method according to any one of claims 1 to 14, characterized in that, The remaining duration includes the minimum remaining time of the data packet in the data transmission object.

16. A communication method, characterized in that, The method includes: Configure first indication information, where the first indication information is used to indicate a data transmission object or priority for obtaining a sorting result of a data transmission object based on the remaining duration of the data transmission object.

17. The method according to claim 16, wherein The configuring of the first indication information includes: Configure a first enabling indication, where the first enabling indication is used to enable obtaining the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object; or, Configure an adjustment parameter, where the adjustment parameter is a constant or related to the remaining duration; or, Configure an adjustment parameter and first information of a first data transmission object, where the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or priority based on the remaining duration; or, Configure first information of a first data transmission object, where the first information is used to indicate that the first data transmission object is an object capable of obtaining a sorting result or priority based on the remaining duration.

18. The method according to claim 16 or 17, characterized in that, The remaining duration includes the minimum remaining time of the data packet in the data transmission object.

19. A communication method, characterized in that, The method further includes: Configure second indication information, where the second indication information is used to indicate setting the token bucket size according to the data volume of delay-sensitive data in the data transmission object.

20. The method according to claim 19, wherein The configuring of the second indication information includes: Configure a second enabling indication, where the second enabling indication is used to enable setting the token bucket size according to the data volume of delay-sensitive data in the data transmission object; or, Configure a first data volume, where the first data volume is determined according to a priority bit rate (PBR) and a bucket depth (BSD); or, Configure a first data volume and second information of a second data transmission object, where the second information is used to indicate that the second data transmission object is an object capable of setting the token bucket size according to the data volume of delay-sensitive data in the data transmission object; or, Configure second information of a second data transmission object, where the second information is used to indicate that the second data transmission object is an object capable of setting the token bucket size according to the data volume of delay-sensitive data in the data transmission object.

21. An electronic device, characterized in that, The electronic device includes: A memory for storing a computer program or computer instructions; A processor for executing the computer program or computer instructions stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 15.

22. An electronic device, characterized in that, The electronic device includes: A memory for storing a computer program or computer instructions; A processor for executing the computer program or computer instructions stored in the memory, so that the electronic device executes the method according to any one of claims 16 to 20.

23. A communication system, characterized in that, The system includes a first device and the second device, the first device is configured to execute the method according to any one of claims 1 to 15, and the second device is configured to execute the method according to any one of claims 16 to 20.

24. A computer storage medium for storing a computer program, which when executed, is configured to implement the method according to any one of claims 1 to 20.

Citation Information

Cited By

  • Communication method and device

    EP4773710A1

  • Communication method and device

    WO2025130020A1