Communication method and device
By adjusting priority according to the remaining time of the data transmission object in the communication system, the problem of emergency data packets not being sent in a timely manner in the prior art is solved, and more efficient resource allocation and data transmission are achieved, and service experience is improved.
Patent Information
- Application Number
- PCT/CN2024/106945
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-18
- Filing Date
- 2024-07-23
- Publication Date
- 2025-06-26
AI Technical Summary
In the prior art, data is filled to resources based on the logical channel priority configured on the network side, resulting in data packets that require emergency scheduling failing to be sent in a timely manner, affecting the service experience.
By introducing a communication method in the communication system, the sorting result or priority is obtained based on the remaining time of the data transmission object, and resource allocation or data transmission is performed based on this to ensure that emergency data can be sent first.
This method adjusts priority by combining delay information such as remaining time and time delay information, achieving more accurate resource scheduling and data transmission, ensuring that data that requires emergency scheduling can be sent in a timely manner, and improving service experience.
Smart Images

Figure CN2024106945_26062025_PF_FP_ABST
Abstract
Description
Communication method and device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on December 18, 2023, with application number 202311751405.4 and invention name “Communication Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a communication method, electronic equipment, a communication system, and a computer-readable storage medium. Background Art
[0003] With the development of mobile communication technologies, especially the fifth-generation mobile networks (5G), the capabilities of communication systems are continuously enhanced. Specifically, 5G communication systems can provide enhanced mobile broadband (eMBB), with faster connections, higher throughput, and greater capacity, as well as ultra-reliable low-latency communications (uRLLC). This enables network applications in mission-critical scenarios that require uninterrupted and stable data links, such as extended reality (XR) and cloud gaming, meeting the ultra-high reliability and low latency requirements of wireless communication networks.
[0004] The communication system may include network equipment such as base stations. Each base station can support communication of multiple terminals, where the terminal may be user equipment (UE). In many mission scenarios, the UE usually needs to upload data to the network equipment. The UE usually includes multiple logical channels, and the UE can map the logical channels to uplink grants (UL grant) according to certain rules. For example, if the sub-carrier space (SCS) associated with the logical channel is consistent with the SCS of the uplink grant, 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.
[0005] The logical channels mapped to the uplink grant are usually filled into the corresponding resources for transmission according to the logical channel priority (LCP) configured on the network side. As a result, some data packets that need to be urgently scheduled are not sent in time, affecting the service experience.
[0006] Summary of the Invention
[0007] The present application provides a communication method and related equipment, the purpose of which is to solve the problem that data packets that need to be urgently scheduled are not sent in time during the LCP process according to the priority configured on the network side, affecting the service experience.
[0008] In order to achieve the above objectives, this application provides the following technical solutions:
[0009] A first aspect of the present application provides a communication method. The method can be applied to a communication system and performed by a second device in the communication system. The second device can be a device that accesses a network, typically a terminal, such as user equipment (UE), a mobile station, or a mobile station.
[0010] In specific implementation, the second device can obtain the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object, where the data transmission object is an object used for data transmission, such as a logical channel. The second device can then transmit data in the data transmission object or allocate resources to the data transmission object according to the sorting result or priority of the data transmission object.
[0011] 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 uses this as a basis to allocate resources to the data transmission object or transmit the data in the data transmission object, ensuring that data that needs urgent scheduling can be sent first, meeting business needs and improving service experience.
[0012] In some possible implementations, the second device may also obtain a first priority of the data transmission object. The first priority may be a priority configured on the network side, such as a priority configured by the network side based on service importance or quality of service latency requirements. Accordingly, when the second device obtains the priority of the data transmission object based on the remaining duration of the data transmission object, it may determine a second priority of the data transmission object based on the remaining duration of the data transmission object and the first priority. The second priority is a priority adjusted based on the remaining duration of the data transmission object, i.e., the second priority is a priority determined by taking latency information into account.
[0013] This method adjusts the priority by combining the remaining time and other delay information to obtain a more accurate priority, which can be used as the basis for resource scheduling or data transmission, so as to achieve reasonable resource allocation and ensure that data that needs urgent scheduling can be sent in time.
[0014] In some possible implementations, when determining the second priority of the data transmission object based on the remaining duration and the first priority of the data transmission object, the second device may adjust the first priority of the data transmission object according to the adjustment parameter to obtain the second priority of the data transmission object.
[0015] The adjustment parameter may be a fixed value configured on the network side, such as the first value. In some examples, the adjustment parameter may be a variable value related to the remaining duration. For example, the network side may configure information such as an adjustment coefficient, and the second device may determine the adjustment parameter based on the information such as the adjustment coefficient configured on the network side and the remaining duration.
[0016] In this method, when the first priority of a data transmission object needs to be adjusted, a unified paradigm can be used for adjustment, which has high availability and can be applied to various scenarios.
[0017] In some possible implementations, the priority adjustment ranges corresponding to different remaining durations may be different. To this end, the second device may determine the adjustment parameter based on 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.
[0018] In this way, the priority of the data transmission object can be finely adjusted according to the different remaining time. The priority obtained in this way is more valuable for reference. Resource allocation or data transmission based on this priority can ensure that data that needs urgent scheduling can be sent first according to the degree of urgency to meet business needs.
[0019] In some possible implementations, there may be multiple strategies for adjusting the first priority of a data transmission object based on an adjustment parameter to obtain the second priority of the data transmission object. One strategy is to adjust the priority of some data transmission objects, such as data transmission objects whose remaining duration meets the conditions, and not to adjust the priority of other data transmission objects; another strategy is to use a unified adjustment method to adjust the priority of data transmission objects with any remaining duration; and another strategy is to distinguish between data transmission objects with different remaining durations, and use different adjustment parameters or different values of the same type of adjustment parameters to adjust the priority of data transmission objects with different remaining durations. The following describes the implementation methods corresponding to the above strategies.
[0020] For the first strategy, when the remaining duration of a data transmission object satisfies a first condition, the first priority of the data transmission object is adjusted based on a first value or an adjustment parameter related to the remaining duration to obtain a second priority of the data transmission object. The first condition can be set based on experience, for example, it can be set to the remaining duration being less than a first threshold, or the remaining duration being greater than the first threshold. Depending on the first condition, the correlation function between the first value or the remaining duration and the adjustment parameter can vary. For example, if the remaining duration is less than the first threshold, the first value can be less than 1, and if the remaining duration is greater than the first threshold, the first value can be greater than 1.
[0021] For the second strategy, the first priority of the data transmission object is adjusted according to the adjustment parameter related to the remaining time to obtain the second priority of the data transmission object. In this way, a unified adjustment method can be used to adjust the priority of data transmission objects with different remaining time.
[0022] For the third strategy, when the remaining duration of the data transmission object meets the first condition, the first priority is adjusted according to the first value or a first adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object. When the remaining duration of the data transmission object meets the second condition, the first priority is adjusted according to the second value or a second adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object. The first and second conditions can be set based on experience. For example, the first condition can be set to the remaining duration being less than the first threshold, and the second condition can be set to the remaining duration being greater than the first threshold. It should be noted that the second condition can also be set to the remaining duration being greater than the second threshold. This implementation method may 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.
[0023] This method supports priority adjustment in a variety of ways, can meet different business needs, and has high availability.
[0024] In some possible implementations, when adjusting the priority, four arithmetic operations may be performed on the first priority according to the adjustment parameter to obtain the second priority of the data transmission object. The four arithmetic operations refer to the calculation rules of addition, subtraction, multiplication, and division, which are used to combine multiple numbers into a single number.
[0025] This method adjusts priorities through simple arithmetic operations, does not require complex calculations, has low requirements on device computing power, and is applicable to most devices.
[0026] In some possible implementations, the remaining time can be used not only to obtain the priority of the data transmission object, but also to sort the data transmission objects. There are many ways to sort the data transmission objects, which are described in detail below.
[0027] One sorting method is to obtain the priority of the data transmission object according to the remaining duration of the data transmission object, sort the data transmission objects according to the priority of the data transmission object, and obtain the sorting result of the data transmission object.
[0028] Another sorting method is to sort the data transmission objects according to the remaining time of the data transmission objects to obtain a sorting result of the data transmission objects. In this case, there is no need to consider the priority of the data transmission objects, and the data transmission objects are sorted directly based on the remaining time of the data transmission objects.
[0029] Another sorting method is that when the remaining duration of the data transmission object meets the first condition, the data transmission object is sorted according to the remaining duration to obtain the sorting result of the data transmission object; when the remaining duration of the data transmission object meets the second condition, the data transmission object is sorted according to the priority of the data transmission object to obtain the sorting result of the data transmission object.
[0030] This method supports multiple sorting methods based on the remaining time. In actual application, the corresponding sorting method can be selected according to business needs, which has strong flexibility.
[0031] In some possible implementations, the second device may also obtain the amount of delay-sensitive data in the data transmission object. Accordingly, when allocating resources or transmitting data, resources may be allocated to the data transmission object based on the ranking result or priority of the data transmission object and the amount of delay-sensitive data in the data transmission object. This ensures that delay-sensitive data is transmitted or allocated resources first, reducing the probability of delay-sensitive data being discarded.
[0032] In some possible implementations, the second device can further set a token bucket size based on the amount of latency-sensitive data in the data transmission object. Accordingly, when transmitting data or allocating resources, the data in the data transmission object can be transmitted based on the sorting result or priority of the data transmission object and the token bucket size. This can help cope with short-term data floods.
[0033] In some possible implementations, setting the token bucket size based on the data volume of delay-sensitive data in the data transmission object may include the following situations: when the data volume of delay-sensitive data is greater than the first data volume, setting the token bucket size to the data volume of the delay-sensitive data, wherein the first data volume is determined based on the priority bit rate and the bucket depth; or, when the data volume of delay-sensitive data is less than the first data volume, setting the token bucket size to the first data volume.
[0034] By setting the token bucket size to the maximum value (or larger value) of the first data volume and the delay-sensitive data volume, it is possible to cope with short-term data floods and avoid delay-sensitive data being discarded due to the small token bucket during business peak hours or sudden traffic increases.
[0035] In some possible implementations, the second device may further obtain first indication information, where the first indication information is used to indicate a sorting result or priority of the data transmission object based on a remaining duration of the data transmission object.
[0036] In this method, when the second device obtains the first indication information, it enables the LCP mechanism based on the remaining duration. 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 adopts the traditional LCP mechanism. In this way, compatibility of different LCP mechanisms (or different devices) can be achieved, with higher availability.
[0037] In some possible implementations, obtaining the first indication information may include the following methods: obtaining a first enabling indication, 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, obtaining an adjustment parameter configured on the network side, the adjustment parameter is a constant (such as a first value) or is related to the remaining duration; or, obtaining the adjustment parameter configured on the network side and the first information of the first data transmission object, 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 that can obtain the sorting result or priority based on the remaining duration; or, obtaining the first information of the first data transmission object configured on the network side, the first information is used to indicate that the first data transmission object is an object that can obtain the sorting result or priority based on the remaining duration.
[0038] The adjustment parameter and the first information of the first data transmission object can also be reused as a first enabling indication to enable obtaining the sorting result or priority of the data transmission object based on the remaining duration of the data transmission object. This can reduce the number of interactions and thus reduce transmission overhead.
[0039] In some possible implementations, the second device may further obtain second indication information, where the second indication information is used to instruct to set the token bucket size according to the amount of delay-sensitive data in the data transmission object.
[0040] 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 data volume of delay-sensitive data in the data transmission 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 data volume of delay-sensitive data in the data transmission 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, with higher availability.
[0041] In some possible implementations, obtaining the second indication information may include the following methods: obtaining 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 data transmission object; or, obtaining the first data volume configured on the network side, the first data volume is determined according to the priority bit rate and the bucket depth; or, obtaining the first data volume configured on the network side and the second information of the second data transmission object, the second information is used to indicate that the second data transmission object is an object that can set the token bucket size according to the data volume of delay-sensitive data; or, obtaining the second information of the second data transmission object configured on the network side, the second information is used to indicate that the second data transmission object is an object that can set the token bucket size according to the data volume of delay-sensitive data.
[0042] The second information of the first data volume and the second data transmission object can also be reused as a second enabling indication to enable a mechanism for setting the token bucket size based on the amount of delay-sensitive data in the data transmission object. This can reduce the number of interactions and thus reduce transmission overhead.
[0043] In some possible implementations, data transmission objects include one or more of a logical channel, a logical channel group, a protocol data unit set, or a data packet. This allows for data transmission objects of varying granularity to be prioritized or prioritized based on their remaining duration, ensuring that data of varying granularity is prioritized for transmission when urgent scheduling is required, thereby improving the service experience.
[0044] In some possible implementations, the remaining duration includes the minimum remaining time of a data packet in the data transmission 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, which is used to determine the remaining time of the data packet, specifically the remaining time until the discard timer expires. Based on the discard timer configured for each data packet in the data transmission object, the remaining time of each data packet can be determined. Based on the remaining time of each data packet, the minimum remaining time, i.e., the remaining duration of the data transmission object, can be determined.
[0045] By sorting or adjusting the priority of data packets based on the minimum remaining time of the data transmission object, it can be ensured that data that needs to be urgently scheduled can be transmitted first or resources are allocated first, avoiding the data being discarded and affecting the service experience.
[0046] In a second aspect, the present application provides a communication method. The method can be applied to a communication system and executed by a first device in the communication system. The first device can be a device on the network side for providing network communication functions, sometimes also referred to as a network device or network element. The network device can generally be a base station (including functional units of a base station, or a combination of functional units of a base station) or a core network unit.
[0047] Specifically, the first device configures first indication information, where the first indication information is used to indicate a data transmission object or a priority for obtaining a sorting result of the data transmission object based on a remaining duration of the data transmission object.
[0048] The method configures first indication information to indicate a device capable of performing LCP processing based on the remaining time, and obtains a sorting result or priority based on the remaining time. If the first indication information is not configured or the first indication information is released, the mechanism for obtaining the sorting result or priority based on the remaining time is not adopted, thereby achieving compatibility with existing mechanisms.
[0049] In some possible implementations, the method of configuring the first indication information includes: configuring a first enable indication, wherein the first enable 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, configuring an adjustment parameter, wherein the adjustment parameter is a constant or related to the remaining duration; or, configuring the adjustment parameter and the first information of the first data transmission object, wherein the first information is used to indicate that the first data transmission object is an object that can obtain the sorting result or priority based on the remaining duration; or, configuring the first information of the first data transmission object, wherein the first information is used to indicate that the first data transmission object is an object that can obtain the sorting result or priority based on the remaining duration.
[0050] This method provides multiple ways to instruct the second device to enable a mechanism for obtaining a priority or sorting result based on the remaining duration, and has high usability.
[0051] In some possible implementations, the remaining time includes a minimum remaining time of a data packet in the data transmission object. The minimum remaining time can be determined by a remaining time of a discard timer of the data packet, where the remaining time of the discard timer refers to the remaining time until the discard timer expires.
[0052] This method sorts or adjusts the priority of data packets in the data transmission object in combination with the minimum remaining time, which can ensure that data that needs to be dispatched urgently can be transmitted first or resources are allocated first, avoiding the data being discarded and affecting the service experience.
[0053] In a third aspect, the present application provides a communication method. The method can be applied to a communication system and executed by a first device in the communication system. The first device can be a device on the network side for providing network communication functions, sometimes also referred to as a network device or network element. The network device can generally be a base station (including a functional unit of a base station, or a combination of functional units of a base station) or a core network unit.
[0054] Specifically, the first device configures second indication information, where the second indication information is used to instruct to set the token bucket size according to the amount of delay-sensitive data in the data transmission object.
[0055] The method configures second indication information to instruct a device capable of setting a token bucket size based on the data volume of delay-sensitive data, and sets the token bucket size based on the data volume of delay-sensitive data. When the second indication information is not configured or the second indication information is 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 existing mechanisms.
[0056] In some possible implementations, the method of configuring the second indication information includes: configuring 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 data transmission object; or, configuring the first data volume, the first data volume is determined according to the priority bit rate and the bucket depth; or, configuring the first data volume and the second information of the second data transmission object, the second information is used to indicate that the second data transmission object is an object that can set the token bucket size according to the data volume of delay-sensitive data in the data transmission object; or, configuring the second information of the second data transmission object, the second information is used to indicate that the second data transmission object is an object that can set the token bucket size according to the data volume of delay-sensitive data in the data transmission object.
[0057] The method provides multiple ways to instruct the second device to enable a mechanism for setting the token bucket size based on the amount of delay-sensitive data, and has high availability.
[0058] A fourth aspect of the present application provides an electronic device, comprising: a memory and at least one processor. The memory is used to store programs, and the at least one processor is used to run the programs, so that the electronic device implements the communication method provided in the first aspect of the present application.
[0059] A fifth aspect of the present application provides an electronic device comprising: a memory and at least one processor. The memory is used to store programs, and the at least one processor is used to run the programs, so that the electronic device implements the communication method provided in the second or third aspect of the present application.
[0060] A 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 configured to execute the communication method provided in the first aspect, the second aspect, or the third aspect of the present application.
[0061] The seventh aspect of the present application is a computer storage medium for storing a computer program. When the computer program is executed, it is used to implement the communication method provided by the first aspect or the second aspect or the third aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] FIG1 is an example diagram of a scenario of communication between a base station and a terminal disclosed in an embodiment of the present application;
[0063] FIG2 is a flow chart of a communication method disclosed in an embodiment of the present application;
[0064] FIG3 is a schematic diagram of a priority adjustment process disclosed in an embodiment of the present application;
[0065] FIG4 is a schematic diagram of a resource allocation process disclosed in an embodiment of the present application;
[0066] FIG5 is a schematic diagram of a data transmission process disclosed in an embodiment of the present application;
[0067] FIG6 is a flow chart of a communication method disclosed in an embodiment of the present application;
[0068] FIG7 is a flow chart of another communication method disclosed in an embodiment of the present application;
[0069] FIG8 is a flow chart of a communication method disclosed in an embodiment of the present application;
[0070] FIG9 is a flow chart of another communication method disclosed in an embodiment of the present application;
[0071] FIG10 is an interactive flow chart of a communication method disclosed in an embodiment of the present application;
[0072] FIG11 is a structural diagram of an electronic device disclosed in an embodiment of the present application;
[0073] FIG12 is a structural diagram illustrating another electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the 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 be limiting of the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship.
[0075] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0076] 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 words "first" and "second" are only used for the purpose of distinguishing the description and cannot be understood as indicating or implying relative importance or order.
[0077] The embodiments of the present application are applied to communication systems, which may be second-generation (2G) communication systems, third-generation (3G) communication systems, LTE systems, fifth-generation (5G) communication systems, LTE and 5G hybrid architectures, 5G New Radio (5G NR) systems, and new communication systems that may emerge in future communication developments.
[0078] The communication system includes a first device and a second device. The first device can be a device on the network side for providing network communication functions, which is sometimes also called a network device or a network element. The network device can generally be a base station (including a functional unit of a base station, or a combination of functional units of a base station) or a core network unit, wherein the core network unit can 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 can be a device for accessing the network, which can generally be a terminal. An example of a communication system is shown in Figure 1, which includes a base station 1 and a terminal 2.
[0079] In the embodiments provided in the present application, the base station can be any device with wireless transceiver functions, including but not limited to: an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in long term evolution (LTE), a base station (gNodeB or gNB) or a transmission receiving point (TRP) in new radio (NR), a base station of subsequent evolution of 3GPP, an access node in a Wi-Fi system, a wireless relay node, a wireless backhaul node, etc. The base station can be: a macro base station, a micro base station, a pico base station, a small station, a relay station, or a balloon station, etc. The base station can include one or more co-site or non-co-site transmission points (Transmission Reception Point, TRP). The base station can also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The base station can communicate with the terminal, or communicate with the terminal through a relay station. The terminal can communicate with multiple base stations of different technologies. For example, the terminal can communicate with a base station supporting the LTE network, and can also communicate with a base station supporting the 5G network. It can also establish dual connections with a base station supporting the LTE network and a base station supporting the 5G network.
[0080] In the embodiments provided herein, the terminal may be in various forms, such as a mobile phone, a tablet computer, 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, etc. The terminal may also be sometimes referred to as a terminal device, user equipment (UE), access terminal device, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, terminal device, wireless communication device, UE agent or UE device, etc. The terminal may also be a fixed terminal or a mobile terminal.
[0081] In a communication system, when uplink traffic arrives, a terminal such as a UE can request an uplink grant (UL grant) from a network device such as a base station to transmit uplink data using the resources (e.g., time-frequency resources) specified by the uplink grant. An uplink grant is also called an uplink scheduling grant or an uplink scheduling grant. Specifically, a UE includes multiple logical channels, and the UE can perform logical channel prioritization (LCP) processing to transmit uplink data. LCP processing can be used when multiple logical channels are multiplexed in a transmission channel.
[0082] Currently, LCP processing maps logical channels to uplink grants according to specific rules, and then fills the data in the logical channels into the resources specified by the uplink grant based on the token bucket size. There are multiple rules for mapping logical channels to uplink grants. One rule may be that if the sub-carrier spacing (SCS) associated with a logical channel matches 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.
[0083] The logical channels mapped to the same uplink authorization may include multiple logical channels. The data in the multiple logical channels can be filled into the resources specified by the uplink authorization 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 authorization, where the priorities of LCH1 to LCH4 are 1, 4, 2, and 3, respectively. In this example, the smaller the value corresponding to the priority, the higher the priority. Accordingly, the UE can first fill the data in LCH1 into the resources specified by the uplink authorization. When there are remaining resources, the UE can fill the data in LCH3 into the resources specified by the uplink authorization, and so on. I will not go into details again.
[0084] However, the above method does not take into account latency-related information, resulting in some data that requires urgent scheduling not being sent in a timely manner, making it difficult to meet business needs and affecting the service experience.
[0085] In view of this, the present application provides a communication method. The 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 to the data transmission object or transmits data in the logical channel according to the sorting result or priority of the data transmission object. Among them, the data transmission object can be an object used for data transmission, including but not limited to a logical channel, a logical channel group (LCG), a protocol data unit (PDU) set or a data packet. For ease of description, the following examples are all taken as logical channels for data transmission objects.
[0086] This method takes into account 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 uses this as a basis to allocate resources to the logical channel or transmit data in the logical channel, ensuring that data that requires urgent scheduling can be sent first, meeting business needs and improving service experience.
[0087] In order to make the technical solution of the present application clearer and easier to understand, the communication method of the embodiment of the present application is introduced below with reference to the accompanying drawings.
[0088] Referring to the flowchart of a communication method shown in FIG2 , the method includes:
[0089] S202: Obtain a ranking result or priority of the logical channel according to the remaining duration of the logical channel.
[0090] In a 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. For example, the logical channels may be sorted according to their priorities.
[0091] Specifically, the second device may obtain the remaining duration of the 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. The second device may be a terminal, such as a UE, a mobile station, or a mobile station.
[0092] The remaining duration of a logical channel may refer to the minimum remaining time of a data packet in the logical channel. The data packet in the logical channel may be a protocol data unit (PDU) or a service data unit (SDU). The minimum remaining time may be determined by the remaining time of a discard timer, which refers to the remaining time until the discard timer expires.
[0093] With respect to the remaining duration of the logical channel described in S202, the logical channel can also be replaced by the concepts 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 logical channel group, DRB, PDU set, or data packet is obtained by the remaining duration of the logical channel group, DRB, PDU set, or data packet. Among them, the remaining duration of the logical channel group can be the minimum remaining time of the data packet in the logical channel group, the remaining duration of the DRB can be the minimum remaining time of the data packet in the DRB, and the remaining duration of the PDU set can be the minimum remaining time of the data packet in the PDU set.
[0094] In some possible implementations, the second device may first obtain the first priority of the logical channel. The first priority may be a priority configured by the first device, for example, a priority configured by the first device according to the importance of the service or the quality of service (QoS) delay requirement. The first device may be a network device, including but not limited to a base station and a core network unit. Accordingly, the second device may determine the second priority of the logical channel based on the remaining duration of the logical channel and the first priority. The second priority is a priority adjusted based on the remaining duration of the logical channel, that is, the second priority is a priority determined by taking into account the delay information.
[0095] In some other possible implementations, the second device may also directly determine the priority of the logical channel based on the remaining duration of the logical channel. For example, the second device may determine the priority of the logical channel based on the remaining duration of the logical channel and configured mapping information or mapping rules between the remaining duration and the priority.
[0096] In addition to being used to determine the priority of a logical channel, the remaining duration of a logical channel can also be used to sort logical channels. This application supports multiple sorting methods. The following examples illustrate each method.
[0097] In a first possible implementation, the second device may 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 channel to obtain a sorting result of the logical channels. For example, the second device may sort the logical channels in descending order of priority (for example, when the smaller the value corresponding to the priority is, the higher the priority is, the order may be from small to large the value corresponding to the priority) to obtain a sorting result of the logical channels.
[0098] In a second possible implementation, the second device may sort the logical channels based on the remaining durations of the logical channels to obtain a sorting result of the logical channels. Alternatively, the second device may sort the logical channels directly based on the remaining durations of the logical channels without considering the priorities of the logical channels (ignoring the priorities of the logical channels).
[0099] In a third possible implementation, when the remaining duration of the logical channels satisfies the first condition, the second device may sort the logical channels based on the remaining duration to obtain a sorting result of the logical channels. That is, when the first condition is met, sorting is performed based only on the remaining duration, ignoring or not considering the priority. When the remaining duration of the logical channels satisfies the second condition, sorting is performed based on the priority of the logical channels to obtain a sorting result of the logical channels.
[0100] The first and second conditions can be set based on experience. For example, the first condition can be that the remaining duration is less than a first threshold, and the second condition can be that the remaining duration is greater than the first threshold. For another example, the first condition can be that the remaining durations are ranked in ascending order by the top m, where m can be less than n and n represents the number of logical channels. The second condition can be that the remaining durations are ranked in descending order by the top k, where k can be less than n, and m+k=n.
[0101] 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, respectively. The remaining durations of LCH1 to LCH4 are 2 milliseconds (ms), 5 ms, 1 ms, and 3 ms, respectively. The first threshold is 2 ms. Only LCH3 meets the first threshold. At this time, although LCH3 has a priority of 3, the priority can be ignored and LCH3 can be ranked first. The remaining LCHs, such as LCH1, LCH2, and LCH4, are still ranked according to their original priorities. Based on this, the ranking result obtained in combination with the above remaining durations can be LCH3, LCH1, LCH2, and LCH4.
[0102] 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.
[0103] Specifically, the second device (such as a UE) may transmit data in the logical channel or allocate resources to the logical channel according to the sorting result or priority of the logical channel. Transmitting data in the logical channel may include allocating resources to the logical channel, for example, allocating resources specified by an uplink grant to the logical channel according to the sorting result or priority of the logical channel, and then filling the data in the logical channel into the resources allocated to the logical channel, thereby transmitting the data in the logical channel by allocating the resources to the logical channel.
[0104] When allocating resources for logical channels, the second device can fill data into the resources specified by the uplink authorization in sequence according to the sorting results of the logical channels. When the resources are filled, the second device can stop filling. The sorting result can be a sorting result from small to large according to the remaining time, or a sorting result from high to low according to the priority determined by the remaining time. For example, the sorting results from LCH1 to LCH4 from small to large according to the remaining time are LCH2, LCH3, LCH4, LCH1, then the second device can first fill the data in LCH2 into the resources specified by the uplink authorization. When the resources are not filled, the second device can continue to fill the data in LCH3 into the resources specified by the uplink authorization, and so on. When the resources specified by the uplink authorization are filled, the filled data can be transmitted to the network side through the resources.
[0105] Alternatively, the second device may fill data into the resources specified by the uplink authorization according to the priority of the logical channel. When the resources are filled, the second device may stop filling. The second device may fill in the logical channels in descending order of priority, or the second device may preferentially fill in the data of the logical channels with a priority higher than a set level. If the data of the logical channels with a priority higher than the set level does not fill up the resources, the second device may select data of at least one logical channel from the remaining logical channels according to the amount of data in the remaining logical channels and continue to fill in the resources until the resources are filled.
[0106] Based on the above description, it can be seen that the communication method of the present application takes into account 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 uses this as a basis to allocate resources to the logical channel or transmit data in the logical channel, ensuring that data that requires urgent scheduling can be sent first, meeting business needs and improving service experience.
[0107] In the embodiment of FIG2 , the second device can determine the second priority of the 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. This is described in detail below with reference to the accompanying drawings.
[0108] FIG3 shows a schematic diagram of a priority adjustment process, which includes the following steps:
[0109] S302: Acquire adjustment parameters.
[0110] The adjustment parameter (denoted as A) can be a constant or a variable related to the remaining time. For example, the adjustment parameter can be a first value. For another example, the adjustment parameter can be a variable that is positively correlated or negatively correlated with the remaining time.
[0111] Specifically, the second device may obtain an adjustment parameter, which may be configured by the first device, and the second device may obtain the adjustment parameter configured by the first device. For example, when the adjustment parameter is a first value, the second device may obtain the 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 based on the remaining duration and a mapping relationship between the remaining duration configured by the first device and the adjustment parameter (such as a function representing the correlation).
[0112] In some possible implementations, the adjustment parameters may also be configured by the second device. The second device (e.g., a UE) may store a predefined table that specifies the adjustment parameters. For example, the table may specify adjustment parameters corresponding to different remaining durations. Upon obtaining the remaining duration of a data transmission object, the second device may query the table based on the remaining duration to obtain the adjustment parameters.
[0113] S304: Adjust the first priority of the logical channel according to the adjustment parameter to obtain the second priority of the logical channel.
[0114] In one possible implementation, a determination is made as to whether the first priority of the logical channel needs to be adjusted based on an adjustment parameter based on the remaining duration of the logical channel. For example, when the remaining duration of the logical channel is less than a threshold (e.g., a first threshold), the first priority of the logical channel is adjusted based on 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. Therefore, the first priority of the logical channel does not need to be adjusted based on the adjustment parameter. That is, the adjustment parameter or step S304 is not applied to a logical channel whose remaining duration is greater than the threshold.
[0115] 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.
[0116] In specific implementation, a unified adjustment method can be used to adjust the priority of any logical channel with any remaining time, or logical channels with different remaining time can be distinguished and different adjustment methods can be used to adjust the priority, or priority can be adjusted for logical channels with part of the remaining time, while no priority adjustment is performed on other logical channels.
[0117] The following describes different implementation methods of priority adjustment.
[0118] The first implementation method is to adjust the first priority of the logical channel according to the adjustment parameters related to the remaining time to obtain the second priority of the logical channel. In this way, a unified adjustment method can be used to adjust the priority of logical channels with different remaining time.
[0119] 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 (for example, a fixed value configured on the network side) or an adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. The first condition can be set based on experience, for example, it can be set to that the remaining duration is less than the first threshold, or it can be set to that the remaining duration is greater than the first threshold. Depending on the first condition, the correlation function between the first value or the remaining duration and the adjustment parameter can be different. For example, if the remaining duration is less than the first threshold, the first value can be less than 1, and if the remaining duration is greater than the first threshold, the first value can be greater than 1.
[0120] A 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 a 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 a second adjustment parameter related to the remaining duration to obtain the second priority of the logical channel. The first condition and the second condition can be set based on experience. For example, the first condition can be set to the remaining duration being less than the first threshold, and the second condition can be set to the remaining duration being greater than the first threshold. In some cases, the second condition can also be set to the remaining duration being greater than the second threshold.
[0121] The above-mentioned third implementation method may include multiple situations: Situation 1, when the remaining time meets the first condition, the priority is adjusted according to the first value, and when the remaining time meets the second condition, the priority is adjusted according to the second value; Situation 2, when the remaining time meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining time, and when the remaining time meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining time; Situation 3: when the remaining time meets the first condition, the priority is adjusted according to the first value, and when the remaining time meets the second condition, the priority is adjusted according to the second adjustment parameter related to the remaining time; Situation 4: when the remaining time meets the first condition, the priority is adjusted according to the first adjustment parameter related to the remaining time, and when the remaining time meets the second condition, the priority is adjusted according to the second value. It can be seen that this application supports distinguishing between data transmission objects with different remaining time lengths, and adopts different adjustment parameters (such as a fixed value and a variable value related to the remaining time) or different values of the same type of adjustment parameters (such as the first value and the second value) to adjust the priority of data transmission objects with different remaining time lengths.
[0122] When adjusting the priority based on the adjustment parameter, it can be achieved through the four arithmetic operations. The four arithmetic operations refer to the calculation rules of addition, subtraction, multiplication, and division, which are used to combine multiple numbers into a single number. In this application, the second device can perform the four arithmetic operations on the first priority based on the adjustment parameter to obtain the second priority of the logical channel.
[0123] In some possible implementations, when the numerical value corresponding to the priority is also set with a constraint, the priority can also be adjusted according to the constraint. Among them, the logical channel can correspond to a highest logical information priority that is allowed to be adjusted, and the priority after adjusting the priority through four arithmetic operations cannot exceed the highest logical channel priority that is allowed to be adjusted for the logical channel. For example, when the smaller the numerical value corresponding to the priority, the higher the priority, the numerical value corresponding to the priority may include the following constraint: the numerical 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. For another example, when the larger the numerical value corresponding to the priority, the higher the priority, the numerical value corresponding to the priority may include the following constraint: the numerical value of the priority is not greater than 10 (it can also be other numerical values, which can be set based on 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.
[0124] The remaining time and the adjustment parameter can be mapped through a table, and one remaining time or remaining time range corresponds to one adjustment parameter.
[0125] The second device may obtain a constraint condition, which may be predefined or configured by the network side, and may adjust the first priority according to the adjustment parameter and the constraint condition to obtain a second priority, where the second priority satisfies the constraint condition.
[0126] The following examples illustrate multiplication, subtraction, addition, and division operations.
[0127] When priority adjustment is performed using a multiplication operation, the second priority can be determined by the following formula:
[0128] Pri 2rd =A.Pri 1st (1)
[0129] Among them, Pri 1st Indicates the first priority of the logical channel, A indicates the adjustment parameter, Pri 2rd Indicates the second priority of the logical channel. The priority of LCH can be the first priority or the adjusted second priority. Furthermore, the value corresponding to the priority can also include constraints, for example, the highest priority allowed for the logical channel to be dynamically adjusted is m, where m is an integer greater than or equal to 0, and the value of m can be predefined by the protocol or configured to the second device by the network side through a system message or a Radio Resource Control (RRC) message. Accordingly, the priority of the logical channel can be updated to max{m, A·Pri 1st}.
[0130] The value of A can be assigned according to the remaining duration of the logical channel.
[0131] 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 on the network side).
[0132] Furthermore, when the remaining duration of the LCH is greater than the first threshold, A is 1 or greater than 1.
[0133] 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, the formula is not applicable to the case when the remaining duration of the LCH is greater than the first threshold.
[0134] 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, A is a first value of 1 or greater than 1 (for example, a fixed value configured on 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.
[0135] For example, if A is 0.5 and the first priorities of LCH1 to LCH4 are 1, 2, 3, and 4, LCH1 has the highest first priority and LCH4 has the lowest first priority. If the remaining durations of LCH2 and LCH4 are less than the first threshold, the second priorities of LCH2 and LCH4 can be 1 and 2, respectively. The priorities of LCH1 and LCH3 do not need to be adjusted, and their second priorities are the same as their first priorities. Based on this, the second priorities of LCH1 to LCH4 are 1, 1, 3, and 2, respectively. LCH1 and LCH2 have the highest priority, followed by LCH4, and LCH3 has the lowest priority.
[0136] Accordingly, when allocating resources, LCH1 and LCH2 may be allocated first, then LCH4, and then LCH3. Similarly, when transmitting data, data in LCH1 and LCH2 may be transmitted first, then data in LCH4, and then data in LCH3.
[0137] Implementation 2: A is proportional to the remaining time of LCH. The smaller the remaining time, the smaller the value of A.
[0138] In one implementation, the first table defines the correspondence 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.
[0139] For example, if the first priorities of LCH1 to LCH4 are 1, 2, 3, and 4, respectively, LCH1 has the highest first priority and LCH4 has the lowest first priority. The remaining durations of LCH1 to LCH4 are 6 milliseconds (ms), 2 ms, 5 ms, and 1 ms, respectively. Based on the remaining durations, the values of A can be determined to be 6 / 10, 2 / 10, 5 / 10, and 1 / 10, respectively. 1 / 10 is an adjustment factor, such as an adjustment factor configured by the network, used to determine the value of A. The UE can determine the value of A for each logical channel based on the adjustment factor and the remaining duration of each logical channel. Based on the first priority and the value of A, the second priority can be determined to be 0.6, 0.4, 1.5, and 0.4, respectively. The logical channels are sorted by second priority as LCH2, LCH4, LCH1, and LCH3, respectively.
[0140] The above implementation 2 is explained by taking 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 time of LCH. When the remaining time is smaller, the value of A is larger. For example, the second table defines the corresponding relationship between the remaining time and A. When the remaining time is less than threshold 1, the value of A can be the first value; when the remaining time is less than threshold 2 and greater than threshold 3, the value of A can be the second value; when the remaining time 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.
[0141] Implementation 3: When the remaining duration of LCH is less than (or equal to) the first threshold, the value of A is greater than or equal to 0 and less than 1, and the value of A is proportional to the remaining duration of LCH. The smaller the remaining duration, the smaller the value of A.
[0142] Furthermore, when the remaining time is greater than the first threshold, the value of A is 1 or greater than 1.
[0143] 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, the formula is not applicable to the case when the remaining duration of the LCH is greater than the first threshold.
[0144] For example, the first priorities of LCH1 through LCH4 are 1, 2, 3, and 4, respectively. LCH1 has the highest first priority, and LCH4 has the lowest. The remaining durations of LCH1 through LCH4 are 6ms, 3ms, 5ms, and 1ms, respectively. The first threshold is 4ms. Therefore, the first priorities of LCH2 and LCH3 can be adjusted, and the values of A used for priority adjustment are 3 / 5 and 1 / 5, respectively. The first priorities of LCH1 and LCH4 do not need to be adjusted, and their second priorities are equal to the first priority. Thus, the second priorities of LCH1 through LCH4 are 1, 1.2, 3, and 0.8, respectively. The resulting order of logical channels by second priority is: LCH4, LCH1, LCH2, and LCH3.
[0145] It should be noted that, in the above implementation 3, when the remaining time is greater than the first threshold, the value of A may also be greater than 1.
[0146] Implementation 3 above is explained by way of example, where the smaller the value corresponding to the priority of a logical channel, the higher the priority. In another implementation, the larger the value corresponding to the priority of a 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 greater than (or equal to) 1, and the value of A is inversely proportional to the remaining duration of the LCH. Furthermore, when the remaining duration of the LCH is greater than the first threshold, the value of A is greater than or equal to 0 and less than 1.
[0147] When priority adjustment is performed using a subtraction operation, the second priority can be determined by the following formula:
[0148] Pri 2rd =Pri 1st -A (2)
[0149] Among them, Pri 1st Indicates the first priority of the logical channel, A indicates the adjustment parameter, Pri 2rd Indicates the second priority of the logical channel. The priority of 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 constraints. For example, the highest priority to which the logical channel is allowed to be dynamically adjusted is m. The value of m can be predefined by the protocol or configured to the second device by the network side through a system message or an RRC message. Accordingly, the priority of the logical channel can be updated to max{m,Pri 1st -A}. For other adjustment methods, the specific implementation of priority adjustment based on constraint conditions can refer to the adjustment method based on multiplication or subtraction, which will not be repeated here.
[0150] The value of A can be assigned according to the remaining duration of the logical channel.
[0151] 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 on the network side).
[0152] Furthermore, when the remaining duration is greater than the first threshold, no priority adjustment may be performed, or the value of A may be 0. In some cases, when the remaining duration is greater than the first threshold, priority adjustment may be performed, and the value of A used for priority adjustment may be less than 0.
[0153] It should be noted that the above implementation 1 is described by way of example in which 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 first value greater than 1. 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.
[0154] Implementation 2: The value of A is inversely proportional to the remaining duration of LCH. The smaller the remaining duration, the larger the value of A.
[0155] Specifically, the correspondence between the remaining time and A can be defined in a table. For example, the table defines that when the remaining time is less than threshold 1, the value of A can be a first value; when the remaining time is less than threshold 2 and greater than threshold 3, the value of A can be a second value; and when the remaining time is greater than threshold 4, the value of A can be a third value. The first value can be greater than the second value, and the second value can be greater than the third value.
[0156] It should be noted that 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, when the value corresponding to the priority of the logical channel is larger, the higher the priority of the logical channel is, 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.
[0157] 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.
[0158] It should be noted that implementation 3 is illustrated by way of example, where the smaller the value corresponding to the priority of the logical channel, the higher the priority. In another implementation, 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 proportional to the remaining duration of the LCH, and the smaller the remaining duration, the smaller the value of A.
[0159] When priority adjustment is performed using addition, the second priority can be determined by the following formula:
[0160] Pri 2rd =Pri 1st +A (3)
[0161] Among them, Pri 1st Indicates the first priority of the logical channel, A indicates the adjustment parameter, Pri 2rd Indicates the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority.
[0162] The following explanations are given for A being greater than 0 and A being less than 0.
[0163] When the value of A is less than 0, the following implementations may be included:
[0164] 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 less than 0 (for example, a fixed value configured on the network side).
[0165] Furthermore, when the remaining duration of the LCH is greater than the first threshold, no priority adjustment may be performed, or the value of A may be 0. The priority of the LCH is the first priority and does not need to be obtained by formula (3), that is, the formula is not applicable to the case when the remaining duration of the LCH is greater than the first threshold.
[0166] 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 LCH is less than (or equal to) the first threshold, no priority adjustment is required. When the remaining duration of LCH is greater than the first threshold, the value of A is the first value less than 0.
[0167] Implementation 2: The value of A is proportional to the remaining duration of LCH. When the remaining duration is smaller, the value of A is smaller (the absolute value of A) and the value of LCH is larger.
[0168] The correspondence between the remaining time and A can be defined in a table. For example, a first table may define: when the remaining time is less than threshold 1, the value of A can be a first value; when the remaining time is less than threshold 2 and greater than threshold 3, the value of A can be a second value; when the remaining time is greater than threshold 4, the value of A can be a third value. The first value is less than the second value, and the second value is less than the third value.
[0169] It should be noted that 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 time of the LCH. When the remaining time is smaller, the value of A is larger.
[0170] 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.
[0171] Furthermore, when the remaining time is greater than the first threshold, the value of A is 0. The priority of the LCH is the first priority and does not need to be obtained by formula (3), that is, the formula is not applicable when the remaining time of the LCH is greater than the first threshold.
[0172] Similarly, when the numerical value corresponding to the priority of the logical channel is larger, the priority is higher, and the remaining duration of the LCH is less than (or equal to) the first threshold, then no priority adjustment is required. If the remaining duration of the LCH is greater than the first threshold, then the value of A is inversely proportional to the remaining duration of the LCH. The shorter the remaining duration, the larger the value of A.
[0173] When the value of A is greater than 0, the following implementations may be included:
[0174] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, 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 a first value greater than 0 (for example, a fixed value configured on the network side).
[0175] When the numerical value corresponding to the priority of the logical channel is larger, 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 a first value greater than 0. If the remaining duration of the LCH is greater than the first threshold, no priority adjustment is required.
[0176] Implementation 2: The value of A is proportional to the remaining duration of LCH. The smaller the remaining duration, the smaller the value of A.
[0177] The correspondence between the remaining time and A can be defined using a table. For example, the first table may define: when the remaining time is less than threshold 1, the value of A can be a first value; when the remaining time is less than threshold 2 and greater than threshold 3, the value of A can be a second value; when the remaining time is greater than threshold 4, the value of A can be a third value. The first value is less than the second value, and the second value is less than the third value.
[0178] It should be noted that 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 time of the LCH. When the remaining time is smaller, the value of A is larger.
[0179] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, 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 proportional to the remaining duration of the LCH.
[0180] It should be noted that the above implementation 3 is illustrated by way of example, where 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. The smaller the remaining duration, the larger the value of A. Furthermore, when the remaining duration of the LCH is greater than the first threshold, no priority adjustment may be performed.
[0181] When the priority is adjusted by division, the second priority can be determined by the following formula:
[0182] Pri 2rd =Pri 1st ÷A (4)
[0183] Among them, Pri 1st Indicates the first priority of the logical channel, A indicates the adjustment parameter, Pri 2rd Indicates the second priority of the logical channel. The priority of the LCH can be the first priority or the adjusted second priority.
[0184] The following explanations are given for A being greater than 1 and A being less than 1.
[0185] When the value of A is greater than 1, the following implementations may be included:
[0186] Implementation 1: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A may be a first value greater than 1, such as a fixed value configured on the network side. Accordingly, the second priority of the LCH may be the first priority ÷ A. When the remaining duration of the LCH is greater than the first threshold, the value of A may be equal to 1, or the priority adjustment may not be performed, and the second priority of the LCH may be equal to the first priority of the LCH1. In this case, the priority of the LCH does not need to be obtained by formula (4), that is, the formula is not applicable to the case when the remaining duration of the LCH is greater than the first threshold.
[0187] Implementation 2: The value of A is inversely proportional to the remaining duration of LCH. The smaller the remaining duration, the larger the value of A.
[0188] The correspondence between the remaining time and A can be defined in a table. The specific implementation process can be referred to the relevant content description above and will not be repeated here.
[0189] Implementation 3: When the remaining duration of the LCH is less than (or equal to) the first threshold, the value of A may be proportional to the remaining duration of the LCH. The smaller the remaining duration, the larger the value of A. Accordingly, the second priority may be the first priority ÷ A. When the remaining duration of the LCH is greater than the first threshold, the value of A may be 1, or the priority may not be adjusted, and the second priority is equal to the first priority. In this case, the priority of the LCH does not need to be obtained by formula (4), that is, this formula is not applicable to the case when the remaining duration of the LCH is greater than the first threshold.
[0190] In the above implementations 1, 2, and 3, 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. The value of A may vary depending on the remaining duration of the LCH.
[0191] When the value of A is less than 1, the following implementations may be included:
[0192] 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, no priority adjustment is required, and the second priority of the LCH can be equal to the first priority of the LCH1. The priority of the LCH does not need to be obtained by formula (4), that is, the formula is not applicable to the case 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 a first value less than 1, such as a fixed value configured on the network side. Accordingly, the second priority can be the first priority ÷ A.
[0193] Implementation 2: The value of A is proportional to the remaining duration of LCH. The smaller the remaining duration, the smaller the value of A.
[0194] Implementation 3: When the remaining duration of LCH is less than (or equal to) the first threshold, the value of A can be equal to 1. In other words, no priority adjustment is required, and the second priority of LCH can be equal to the first priority of LCH1. The priority of LCH does not need to be obtained through formula (4), that is, this formula is not applicable to the case when the remaining duration of LCH is less than (or equal to) the first threshold; when the remaining duration of LCH is greater than the first threshold, the value of A is proportional to the remaining duration of LCH. The smaller the remaining duration, the smaller the value of A. Accordingly, the second priority can be the first priority ÷ A.
[0195] 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 described by exemplifying 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. The value of A may vary depending on the remaining duration of the LCH.
[0196] The above priority adjustment method is mainly based on the residual delay itself. In some possible implementation methods, the total data volume of the data packets whose residual delay meets the conditions can also be obtained, and the priority is obtained based on the total data volume. Among them, the residual delay meeting the conditions includes that the residual delay is less than the first threshold, or the residual delay is greater than the first threshold. Taking the example of the residual delay being less than the first threshold, when formula (2) is used for priority adjustment, the network side can configure the mapping relationship between the total data volume of the data packets whose residual delay is less than the first threshold and the offset A. The second device can obtain the total data volume of the data packets whose residual delay is less than the first threshold in the logical channel, and obtain the value of A based on the total data volume and the above mapping relationship configured by the network side. According to the value of A, the adjusted priority can be obtained.
[0197] Among them, the mapping relationship between the total data volume of the data packets whose residual delay is less than the first threshold and the offset A can be configured through a table. For example, the table can define that if the total data volume is less than 100 bytes, the value of A is 4; if the total data volume is greater than or equal to 100 bytes and less than 200 bytes, the value of A is 3; if the total data volume is greater than or equal to 200 bytes and less than 500 bytes, the value of A is 2; if 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 based on the residual delay of the logical channel, the logical channel can also be sorted based on the total data volume of the data packets whose residual delay meets the conditions in the logical channel to obtain the sorting result. The specific implementation process can refer to the priority adjustment process based on the total data volume, which will not be repeated here.
[0198] Considering that data in logical channels may include delay-sensitive data, if the volume of delay-sensitive data is not considered when allocating resources for logical channel transmission, resource allocation may be based on resource size and the current overall buffer capacity. However, this may not include all delay-sensitive data when allocating resources, resulting in delay-sensitive data not being transmitted and even being discarded. Therefore, resource allocation and data transmission can also be based on the volume of delay-sensitive data. The following example illustrates resource allocation based on the volume of delay-sensitive data.
[0199] Referring to FIG4 , a schematic diagram of a resource allocation process is shown, which specifically includes the following steps:
[0200] S402: Acquire the amount of delay-sensitive data in the logical channel.
[0201] Specifically, the second device (such as UE) needs to determine whether there is delay-sensitive data in the logical channel, and when there is delay-sensitive data in the logical channel, obtain the amount of delay-sensitive data. The delay-sensitive data includes data packets whose remaining time is less than a threshold.
[0202] S404: Allocate resources to the logical channels according to the sorting results or priorities of the logical channels and the amount of delay-sensitive data in the logical channels.
[0203] Specifically, when allocating resources for logical channels, resources can be allocated to the delay-sensitive data of the corresponding logical channels in turn according to the sorting results or priorities of the logical channels. Therefore, in the scenario of allocating resources for logical channels, the amount of delay-sensitive data needs to be considered, and the second device can reasonably allocate resources to the logical channel based on this information. For example, when the logical channel with the highest priority has x kilobits (kbit) of delay-sensitive data 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 turn according to the sorting results or priorities of the logical channels.
[0204] In some possible implementations, a token bucket algorithm can be used when transmitting data. The token bucket algorithm works by maintaining a token bucket for a second device (such as a terminal such as a host) and injecting tokens into the token bucket at a rate R. When the second device sends data to the network, it can first determine whether there are 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 of the token bucket. If the token bucket is empty, the second device cannot send data to the network, and all data packets can be cached in the queue of the second device.
[0205] While the token bucket limits the long-term data rate, it allows for short-term data bursts. Based on this, the token bucket size can be set based on the volume of delay-sensitive data in the logical channel. Data can then be transmitted based on this token bucket size to mitigate short-term data bursts. The following example illustrates data transmission using the token bucket size.
[0206] 5 shows a schematic diagram of a data transmission process, which specifically includes the following steps:
[0207] S502: Set the token bucket size according to the amount of delay-sensitive data in the logical channel.
[0208] Among them, the token bucket size of the jth logical channel can be recorded as B j In other words, the token bucket has at most B j For the jth logical channel, the second device can gradually adjust B j, the adjustment range can be PBR×T, where PBR represents the priority bit rate (PBR) and T represents the adjustment time interval. j The value of is greater than the first data amount, which can be determined according to the priority bit rate PBR and bucket size duration (BSD), for example, PBR×BSD, and B j The first data size is, for example, PBR×BSD.
[0209] Considering the data torrent (burst data flow), the token bucket size B can also be set in combination with the amount of delay-sensitive data. j Specifically, when the amount of delay-sensitive data is greater than the first amount of data, the token bucket size may be set to the amount of delay-sensitive data. When the amount of delay-sensitive data is less than the first amount of data, the token bucket size may be set to the first amount of data.
[0210] In other words, B j It can be set to the maximum value of the first data volume and the data volume of the delay-sensitive data. When the data volume of the delay-sensitive data is greater than the first data volume, when B j The value of is greater than the amount of delay-sensitive data, then set B j is the amount of delay-sensitive data. When the amount of delay-sensitive data is less than or equal to the first amount of data, when B j The value of is greater than the first data amount, then set B j The first data volume.
[0211] S504: Transmit 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.
[0212] Specifically, each logical information is set with a token bucket size, which can place the logical channel in the front of the sorting result, or fill the corresponding amount of data into the resources specified by the uplink authorization according to the token bucket size of the logical channel, so as to transmit data through the resources.
[0213] When the data in a logical channel includes delay-sensitive data, the delay-sensitive data can be prioritized and filled into the resources specified by the uplink grant. If the amount of delay-sensitive data in the logical channel is less than the token bucket size, non-delay-sensitive data can continue to be filled until the amount of data filled into the resources reaches the token bucket size.
[0214] In this embodiment, data on a logical channel is transmitted or resources are allocated to the logical channel based on the logical channel's sorting result or priority, combined with the token bucket size or the amount of delay-sensitive data. This ensures that delay-sensitive data is transmitted first, or that resources are allocated first to the logical channel containing delay-sensitive data.
[0215] In some possible implementations, the network side can also configure indication information of the above mechanism, and the second device such as UE can enable the above mechanism (a mechanism for obtaining the sorting result or priority of the logical channel 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.
[0216] First, referring to the flowchart of a communication method shown in FIG6 , the method specifically includes the following steps:
[0217] S602: Obtain first indication information.
[0218] The first indication information is used to indicate the order or priority of the logical channels based on the remaining duration of the logical channels. The first indication information can be configured by the first device. It should be noted that the first indication information can be configured in a variety of ways, each of which is described in detail below.
[0219] When the second device obtains the first indication information, it can obtain the sorting result or priority of the logical channel based on the remaining duration of the logical channel; when the first indication information is not configured or released, the second device cannot obtain the sorting result or priority of the logical channel based on the remaining duration of the logical channel, wherein the second device can obtain the sorting result or priority of the logical channel according to the logical channel priority configured by the first device.
[0220] In a first possible manner, the first indication information includes a first enabling indication, where the first enabling indication is used to enable obtaining a ranking result or priority of a logical channel based on a remaining duration of the logical channel. For example, the first indication information may include a first field, where, when the value of the first field is true, the first indication information includes the first enabling indication, where the first enabling indication is used to enable a mechanism for obtaining a ranking result or priority of a logical channel based on a remaining duration of the logical channel.
[0221] In a second possible implementation, the first indication information may include an adjustment parameter configured on the network side. The adjustment parameter may be a constant (e.g., 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 further indicates the ranking result or priority of the logical channel based on the remaining duration of the logical channel.
[0222] In a third possible implementation, the first indication information may include an adjustment parameter configured on the network side and first information about the 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 for which a ranking result or priority can be obtained based on the remaining duration. The remaining logical channels (if any) may be referred to as normal logical channels. In this implementation, the adjustment parameter and the first information about the first logical channel also have the function of indicating the ranking result or priority of the logical channel based on the remaining duration of the logical channel.
[0223] 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 that can obtain the 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 the sorting result or priority based on the remaining duration. Or the first information is an identifier of the first logical channel; or the first information is an indicator bit, and the first information corresponds to the first logical channel. When the indicator bit is true or enabled, the first logical channel is a channel that can obtain the sorting result or priority based on the remaining duration. When the indicator bit is false or disabled, the first logical channel cannot obtain the sorting result or priority based on the remaining duration.
[0224] 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 for which a ranking result or priority can be obtained based on the remaining duration. In this implementation, the first information of the first logical channel also indicates that a ranking result or priority of the logical channel can be obtained based on the remaining duration of the logical channel.
[0225] S604: Obtain the sorting result or priority of the logical channel according to the remaining duration of the logical channel.
[0226] In some possible implementations, when there is a first logical channel and a normal logical channel that can obtain a sorting result or priority based on the remaining duration, the sorting result or priority of the logical channel can be obtained for the first logical channel based on the remaining duration of the first logical channel. For the normal logical channel, the priority remains unchanged and is still the priority configured on the network side.
[0227] In other possible implementations, when there is a first logical channel and a normal logical channel that can obtain sorting results or priorities based on the remaining duration, the sorting results or priorities of the logical channels can be obtained for the first logical channel based on the remaining duration of the first logical channel, and the normal logical channel can be sorted after the first logical channel.
[0228] S606: Transmit data in the logical channel or allocate resources for the logical channel according to the sorting result or priority of the logical channel.
[0229] The specific implementation of S604 and S606 can be referred to the above description of the relevant content, which will not be repeated here.
[0230] It should be noted that the acquisition of the first indication information by the second device above indicates that the second device can trigger the mechanism of "obtaining the sorting result or priority of the logical channel based on the remaining duration of the logical channel", and does not mean that the second device will obtain the sorting result or priority of the logical channel based on the remaining duration of the logical channel when it obtains the first indication information. In actual application, when the second device receives the first indication information above, it can obtain the sorting result or priority of the logical channel based on the remaining duration of the logical channel when it obtains the uplink authorization. Before the first indication information is released, if the second device obtains multiple uplink authorizations, it can obtain the sorting result or priority of the logical channel based on the remaining duration of the logical channel each time it obtains the uplink authorization.
[0231] For example, when the second device does not obtain uplink authorization or does not execute the LCP process, the priority of each logical channel of the second device can remain the priority configured by the network side through the RRC message. When the second device executes the LCP process, if the first indication information is received, or the first indication information received previously is not released, the second device can temporarily adjust the priority of the logical channel according to the remaining duration.
[0232] In one case, the first indication information can be a one-time application, indicating only that the first sorting after receiving the first indication information can apply the delay-based LCP process; in one case, the first indication information can be applied for a period of time, which can be achieved by a timer, for example, starting the timer after receiving the first indication information or starting the timer after obtaining the uplink authorization after receiving the first indication information, etc., wherein the timer duration can be configured by the network side; in one case, the first 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 delay-based LCP process is applied; in one case, the first indication information is applied to the first resource (uplink authorization), and when data needs to be transmitted on the first resource, the delay-based LCP process is applied. The delay-based LCP process refers to the token bucket size setting process or the data transmission object sorting process based on delay information in the present invention.
[0233] Next, referring to the flow chart of a communication method shown in FIG7 , the method includes the following steps:
[0234] S702: Obtain second indication information.
[0235] The second indication information is used to indicate that the token bucket size is set based on the amount of delay-sensitive data in the logical channel. The second indication information can be configured by the first device. It should be noted that the second indication information can be configured in multiple ways, each of which is described in detail below.
[0236] When the second device obtains the second indication information, it can set the token bucket size based on the data volume of delay-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 delay-sensitive data in the logical channel, wherein the second device can set the token bucket size according to the priority bit rate PBR and the bucket depth BSD.
[0237] In a first possible manner, the second indication information includes a second enable indication, where the second enable indication is used to enable setting a token bucket size based on the amount of delay-sensitive data in the logical channel. For example, the second indication information may include a second field, where, when the value of the second field is true, the second indication information includes the second enable indication, where the second enable indication is used to instruct setting a token bucket size based on the amount of delay-sensitive data in the logical channel.
[0238] In a second possible implementation, the second indication information includes a first data volume configured by the network. The first data volume is determined based on the prioritized bit rate (PBR) and the bucket depth (BSD), for example, PBR × BSD. In this implementation, the first data volume also indicates that the token bucket size should be set based on the amount of delay-sensitive data in the logical channel.
[0239] In a third possible implementation, the second indication information includes the first data volume and second information about the second logical channel configured on the network side. The second information indicates that the second logical channel is a channel capable of setting a token bucket size based on the volume of delay-sensitive data. In this implementation, the first data volume and the second information about the second logical channel also indicate that the token bucket size should be set based on the volume of delay-sensitive data in the logical channel.
[0240] The second information includes the bit of the second logical channel. When the bit of the second logical channel takes the first value, the second logical channel is a channel that can set the token bucket size based on the data volume of delay-sensitive data. When the bit of the second logical channel takes the 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. Alternatively, the second information is an identifier of the second logical channel; or the second information is an indicator bit, and the second information corresponds to the second logical channel. When the indicator bit is true or enabled, the second logical channel is a channel that can set the token bucket size based on the data volume of delay-sensitive data; when the indicator 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.
[0241] In a fourth possible embodiment, the second indication information includes second information of a second logical channel configured on the network side. The second information indicates that the second logical channel is a channel capable of setting a token bucket size based on the amount of delay-sensitive data. In this implementation, the second information of the second logical channel further indicates that the token bucket size should be set based on the amount of delay-sensitive data in the logical channel.
[0242] S704: Set the token bucket size according to the amount of delay-sensitive data in the logical channel.
[0243] Among them, setting the token bucket size according to the data volume of delay-sensitive data in the logical channel can refer to the above description of the relevant content, which will not be repeated here.
[0244] Similar to the embodiment of Figure 6, 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 amount of delay-sensitive data in the logical channel", but does not mean that the second device sets the token bucket size according to the amount 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 amount of delay-sensitive data in the logical channel when obtaining uplink authorization. Before the second indication information is released, if the second device obtains multiple uplink authorizations, it can set the token bucket size according to the amount of delay-sensitive data in the logical channel each time it obtains uplink authorization.
[0245] For example, when the second device does not obtain an uplink authorization or does not execute the LCP process, the token bucket size of each logical channel of the second device can be maintained at PBR×BSD. When the second device executes the LCP process, if a second indication message is received, or the second indication message received previously is not released, the second device can temporarily adjust the token bucket size of the logical channel to the amount of delay-sensitive data when the amount of delay-sensitive data is greater than PBR×BSD.
[0246] In one case, the second indication information may be a one-time application, indicating only that the delay-based LCP process can be applied to the first sorting after receiving the second indication information; in one case, the second indication information may be applied for a period of time, which may be achieved through a timer, for example, starting the timer after receiving the second indication information or starting the timer after obtaining the uplink authorization after receiving the second indication information, etc., wherein the timer duration may be configured by the network side; in one case, the second indication information may be applied to a data transmission object, and when it is determined that the data transmission object requires data transmission, the delay-based LCP process 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 delay-based LCP process is applied.
[0247] The above embodiments have introduced the communication method of the present application from the perspective of the second device. The following will introduce the communication method of the present application from the perspective of the first device.
[0248] Referring to the flowchart of a communication method shown in FIG8 , the method includes:
[0249] S802: Configure first indication information.
[0250] Specifically, the first device may configure first indication information. The first indication information is used to indicate a logical channel or priority for obtaining a sorting result of a logical channel based on the remaining duration of the logical channel. The first indication information may be device-level or channel-level indication information. The device-level indication information may be a mechanism for instructing all logical channels of the second device to enable a logical channel or priority for obtaining a sorting result of a logical channel based on the remaining duration of the logical channel. The channel-level indication information may be a mechanism for instructing a specific logical channel to enable a logical channel or priority for obtaining a sorting result of a logical channel based on the remaining duration of the logical channel.
[0251] Configuring the first indication information may include multiple implementations, which are described below respectively.
[0252] In a first possible implementation, the first device may configure a first enabling indication. The first enabling indication is used to enable obtaining a ranking result or priority of a logical channel based on the remaining duration of the logical channel. For example, the first indication information includes a first field, and the first device configures the first field value to be true, thereby indicating that a mechanism for obtaining a ranking result or priority of a logical channel based on the remaining duration of the logical channel is enabled.
[0253] In a second possible implementation, the first device may configure an adjustment parameter. The adjustment parameter may be a constant 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 indicates the ranking result or priority of the logical channels based on the remaining duration of the logical channels. In other words, the adjustment parameter may be multiplexed as the first enable indication.
[0254] In a third possible implementation, the first device may configure an adjustment parameter and first information about the first logical channel. The first information indicates that the first logical channel is a channel capable of obtaining a ranking result or priority based on the remaining duration. In this implementation, the adjustment parameter and the first information about the first logical channel further indicate obtaining a ranking result or priority for the logical channel based on the remaining duration of the logical channel. In other words, the adjustment parameter and the identifier of the first logical channel may be reused as the first enable indication.
[0255] In a fourth possible implementation, the first device may configure first information for a first logical channel. The first information is used to indicate that the first logical channel is a channel capable of obtaining a ranking result or priority based on the remaining duration. In this implementation, the first information for the first logical channel also indicates that a ranking result or priority of the logical channel can be obtained based on the remaining duration of the logical channel. In other words, the first information for the first logical channel can be multiplexed into a first enable indication.
[0256] S804: Receive data transmitted by the second device according to the first indication information.
[0257] The data transmission process can be described in the above content and will not be repeated here.
[0258] It should be noted that S804 is an optional step in the embodiment of the present application, and the communication method of the present application may be executed without executing S804. For example, when the logical channel does not include data, S804 may be omitted.
[0259] Referring to the flowchart of a communication method shown in FIG9 , the method includes:
[0260] S902: Configure second indication information.
[0261] Specifically, the first device may configure second indication information. The second indication information is used to instruct that the token bucket size be set based on the amount of delay-sensitive data in the logical channel. The second indication information may be device-level or channel-level indication information. The device-level indication information may indicate that all logical channels of the second device enable a mechanism for setting the token bucket size based on the amount of delay-sensitive data in the logical channel. The channel-level indication information may indicate that a specific logical channel enables a mechanism for setting the token bucket size based on the amount of delay-sensitive data in the logical channel.
[0262] Configuring the second indication information may include multiple implementations, which are described below respectively.
[0263] In a first possible implementation, the first device may configure a second enable indication. The second enable indication is used to enable setting the token bucket size based on the amount of delay-sensitive data in the logical channel. For example, the second indication information includes a second field, and the first device configures the second field to have a value of true, thereby indicating that a mechanism for setting the token bucket size based on the amount of delay-sensitive data in the logical channel is enabled.
[0264] In a second possible implementation, the first device may configure a first data volume. The first data volume may be determined based on the PBR and BSD, for example, PBR × BSD. In this implementation, the first data volume also indicates that the token bucket size should be set based on the amount of delay-sensitive data in the logical channel. In other words, the first data volume may be multiplexed into the second enable indication.
[0265] In a third possible implementation, the first device may configure second information about the first data volume and the second logical channel. The second information indicates that the second logical channel is a channel capable of setting a token bucket size based on the amount of delay-sensitive data in the logical channel. In this implementation, the second information about the first data volume and the second logical channel also indicates that the token bucket size should be set based on the amount of delay-sensitive data in the logical channel. In other words, the second information about the first data volume and the second logical channel can be multiplexed into a second enable indication.
[0266] In a fourth possible implementation, the first device may configure second information for a second logical channel. The second information is used to indicate that the second logical channel is a channel capable of setting a token bucket size based on the amount of delay-sensitive data in the logical channel. In this implementation, the second information for the second logical channel also indicates that the token bucket size is set based on the amount of delay-sensitive data in the logical channel. In other words, the second information for the second logical channel can be multiplexed into a second enable indication.
[0267] S904: Receive data transmitted by the second device according to the second indication information.
[0268] The data transmission process can be described in the above content and will not be repeated here.
[0269] It should be noted that S904 is an optional step in the embodiment of the present application, and the communication method of the present application may be executed without executing S904. For example, the token bucket size of the logical channel may be set to PBR×BSD.
[0270] The above describes the communication method of the present application from the perspective of the terminal and the network. The following describes the communication method of the present application from the perspective of interaction.
[0271] Referring to the flowchart of a communication method shown in FIG10 , the method includes the following steps:
[0272] S1002. The first device configures first indication information.
[0273] S1004. The first device configures second indication information.
[0274] S1002 and S1004 may be executed in parallel or in sequence. The first indication information and the second indication information may be independent indication information or may be combined into one indication information.
[0275] S1006. The second device obtains a sorting result or priority of the logical channel according to the remaining duration of the logical channel.
[0276] S1008. The second device sets a token bucket size according to the amount of delay-sensitive data in the logical channel.
[0277] S1010: The second device transmits data in the logical channel or allocates resources for the logical channel according to the sorting result or priority of the logical channel and the token bucket size.
[0278] The specific implementation of the above S1002 to S1010 can refer to the relevant content description of the aforementioned embodiment, and will not be repeated here.
[0279] The present invention also provides a method in which, upon obtaining data transmission object information, a terminal device preferentially allocates resources to the data transmission objects indicated by the data transmission object information. In one embodiment, resources may be allocated based on data volume information of a multimodal service, and after resources are allocated to these data transmission objects, information other than the data transmission objects indicated by the data transmission object information is transmitted. These data transmission objects belong to a multimodal service.
[0280] The data transmission object information includes bits of the data transmission object. When the bits of the data transmission object take a first value, resources can be allocated preferentially to the data transmission object. When the bits of the data transmission object take a second value, resources cannot be allocated preferentially to the data transmission object. Alternatively, the first information is an identifier of the data transmission object; or the data transmission object information is an indicator bit, and the data transmission object information corresponds to the data transmission object. When the indicator bit is true or enabled, resources can be allocated preferentially to the data transmission object; when the indicator bit is false or disabled, resources cannot be allocated preferentially to the data transmission object.
[0281] The above method can be used in combination with the method of the present invention, for example, allocating resources to data transmission objects based on delay information and the data volume of multimodal services or the total data volume of data transmission objects indicated by data transmission object information.
[0282] Based on the aforementioned communication method, the present application also provides an electronic device for executing the aforementioned communication method, which will be described below in conjunction with embodiments.
[0283] Figure 11 is an example of the composition 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 shows a simplified schematic diagram of the base station structure. The base station includes parts 1110, 1120, and 1130. Part 1110 is mainly used for baseband processing, controlling the base station, etc.; Part 1110 is usually the control center of the base station, which can usually be called a processor, and is used to control the base station to perform the processing operations on the first device side in the above method embodiment. Part 1120 is mainly used to store computer program code and data. Part 1130 is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals into baseband signals; Part 1130 can usually be called a transceiver module, a transceiver, a transceiver circuit, or a transceiver. The transceiver module of part 1130, which can also be called a transceiver or a transceiver, includes an antenna 1133 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Alternatively, the device for implementing the receiving function in section 1130 may be considered a receiver, and the device for implementing the transmitting function may be considered a transmitter, that is, section 1130 includes a receiver 1132 and a transmitter 1131. A receiver may also be referred to as a receiving module, a receiver, or a receiving circuit, and a transmitter may be referred to as a transmitting module, a transmitter, or a transmitting circuit.
[0284] Sections 1110 and 1120 may include one or more boards, each of which may include one or more processors and one or more memories. The processor is used to read and execute programs in the memory to implement baseband processing functions and control the base station. If multiple boards are present, the boards may be interconnected to enhance processing capabilities. As an optional implementation, multiple boards may share one or more processors, multiple boards may share one or more memories, or multiple boards may simultaneously share one or more processors.
[0285] For example, in one implementation, the transceiver module in section 1130 is used to execute the transceiver-related processes executed by the base station (first device) in the aforementioned method embodiment. The processor in section 1110 is used to execute the processing-related processes executed by the base station in the aforementioned method embodiment.
[0286] It should be understood that FIG11 is merely an example and not a limitation, and the network device including the processor, memory, and transceiver may not rely on the structure shown in FIG11 .
[0287] Figure 12 is an example of the composition of another electronic device provided in an embodiment of the present application. The electronic device can be a second device, which can be a terminal, including but not limited to mobile phones, smart wearable devices (such as smart watches), and other electronic devices. Taking a mobile phone as an example, the electronic device can include a processor 310, an external memory interface 320, an internal memory 321, a display 330, a camera 340, an antenna 1, an antenna 2, a mobile communication module 350, and a wireless communication module 360, etc.
[0288] It should 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 some components may be combined or separated, or the components may be arranged differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0289] 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). The different processing units may be independent devices or integrated into one or more processors.
[0290] It is understood that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of 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.
[0291] External memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with processor 310 via external memory interface 320 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0292] The internal memory 321 can be used to store computer executable program code, and the executable program code includes 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 an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a 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.
[0293] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.
[0294] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0295] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to electronic devices. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the same device as at least some of the modules of the processor 310.
[0296] In some embodiments, the electronic device initiates or receives a call request via the mobile communication module 350 and the antenna 1 .
[0297] Furthermore, an operating system runs on the aforementioned components, such as the iOS operating system, the Android operating system, and the Windows operating system. Application programs can be installed and run on the operating system. Those skilled in the art will clearly understand that, for ease of description and brevity, the explanation and beneficial effects of any of the aforementioned electronic devices can be referred to the corresponding method embodiments provided above, and will not be further elaborated here.
[0298] The present application also provides a communication system, which may include a first device as shown in FIG11 (for example, a network device such as a base station) and a second device as shown in FIG12 (for example, a terminal such as a mobile phone).
[0299] In this application, a terminal or network device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0300] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0301] In the 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 merely a logical function division. In actual implementation, there may be other division methods, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or module, which can be electrical, mechanical or other forms.
[0302] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected to achieve the purpose of the present embodiment according to actual needs.
[0303] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0304] If 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 the present application or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the process of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
[0305] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication method, characterized in that: The method comprises: Obtaining a ranking result or priority of the data transmission object according to the remaining duration of the data transmission object; According to the sorting result or the priority of the data transmission object, the data in the data transmission object is transmitted or resources are allocated to the data transmission object.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining a first priority level of the data transmission object; Acquiring the priority of the data transmission object according to the remaining duration of the data transmission object includes: A second priority level of the data transmission object is determined according to a remaining duration of the data transmission object and the first priority level.
3. The method according to claim 2, characterized in that The determining, according to the remaining duration of the data transmission object and the first priority, the second priority of the data transmission object includes: The first priority of the data transmission object is adjusted according to the adjustment parameter to obtain the second priority of the data transmission object.
4. The method according to claim 3, characterized in that The adjusting the first priority of the data transmission object according to the adjustment parameter to obtain the second priority of the data transmission object includes: When the remaining duration of the data transmission object meets the first condition, adjusting the first priority of the data transmission object according to the first value or an adjustment parameter related to the remaining duration to obtain the second priority of the data transmission object; or The first priority of the data transmission object is adjusted according to the adjustment parameter related to the remaining time to obtain the second priority of the data transmission object; or, When the remaining duration of the data transmission object meets the first condition, the first priority is adjusted 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. When the remaining duration of the data transmission object meets the second condition, the first priority is adjusted 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 the adjustment parameter to obtain the second priority of the data transmission object includes: Perform 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 The obtaining, according to the remaining duration of the data transmission object, a sorting result of the data transmission object comprises: According to the remaining time of the data transmission object, the priority of the data transmission object is obtained, and the data transmission objects are sorted according to the priority of the data transmission object to obtain the sorting result of the data transmission objects; or sorting the data transmission objects according to the remaining duration of the data transmission objects to obtain a sorting result of the data transmission objects; or When the remaining duration of the data transmission object meets the first condition, the data transmission object is sorted according to its remaining duration to obtain the sorting result of the data transmission object. When the remaining duration of the data transmission object meets the second condition, the data transmission object is sorted according to its priority 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: The allocating resources to the data transmission objects according to the sorting result or the priority of the data transmission objects includes: Acquire the amount of delay-sensitive data in the data transmission object; Resources are allocated to the data transmission object according to the sorting result or the priority of the data transmission object and the amount of delay-sensitive data in the data transmission object.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Setting a token bucket size according to the amount of delay-sensitive data in the data transmission object; The transmitting the data in the data transmission object according to the sorting result or the priority of the data transmission object includes: The data in the data transmission object is transmitted according to the sorting result or the priority of the data transmission object and in combination with the token bucket size.
9. The method according to claim 8, characterized in that The step of setting the token bucket size according to the amount of delay-sensitive data in the data transmission object comprises: When the amount of the delay-sensitive data is greater than a first amount of data, the token bucket size is set to be the amount of the delay-sensitive data, where the first amount of data is determined according to a priority bit rate PBR and a bucket depth BSD; or When the data volume of the delay-sensitive data is less than the first data volume, the token bucket size is set to the first data volume.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: First indication information is obtained, where the first indication information is used to indicate that a sorting result or priority of the data transmission object is obtained based on a remaining duration of the data transmission object.
11. The method according to claim 10, characterized in that The obtaining of the first indication information includes: Obtaining a first enabling indication, where the first enabling indication is used to enable obtaining a sorting result or a priority of the data transmission object based on a remaining duration of the data transmission object; or, Acquire an adjustment parameter configured on the network side, where the adjustment parameter is a constant or is related to the remaining duration; or, Acquire an adjustment parameter configured on the network side and first information of a first data transmission object, wherein 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 that can obtain a sorting result or priority based on the remaining duration; or, First information of a first data transmission object configured on the network side is obtained, where the first information is used to indicate that the first data transmission object is an object that can obtain a sorting result or priority based on a remaining duration.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: Obtain second indication information, where the second indication information is used to indicate setting a token bucket size according to a data volume of delay-sensitive data in the data transmission object.
13. The method according to claim 12, characterized in that The obtaining of the second indication information includes: Obtaining a second enabling indication, where the second enabling indication is used to enable setting of a token bucket size according to the amount of delay-sensitive data in the data transmission object; or, Acquire a first data volume configured on the network side, where the first data volume is determined according to a priority bit rate PBR and a bucket depth BSD; or, Acquire second information of a first data volume and a second data transmission object configured on the network side, wherein the second information is used to indicate that the second data transmission object is an object capable of setting a token bucket size according to the data volume of delay-sensitive data; or, Second information of a second data transmission object configured on the network side is obtained, where the second information is used to indicate that the second data transmission object is an object capable of setting a token bucket size according to a 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 packets in the data transmission object.
16. A communication method, characterized in that: The method comprises: First indication information is configured, where the first indication information is used to indicate a data transmission object or a priority for obtaining a sorting result of the data transmission object based on a remaining duration of the data transmission object.
17. The method according to claim 16, characterized in that The configuration first indication information includes: configuring a first enabling indication, where the first enabling indication is used to enable obtaining a sorting result or a priority of the data transmission object based on a remaining duration of the data transmission object; or, Configure an adjustment parameter, where the adjustment parameter is a constant or is related to the remaining duration; or, configuring an adjustment parameter and first information of a first data transmission object, wherein the first information is used to indicate that the first data transmission object is an object that can obtain a sorting result or a priority based on a remaining duration; or, First information of a first data transmission object is configured, where the first information is used to indicate that the first data transmission object is an object that can obtain a sorting result or a priority based on a 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 packets in the data transmission object.
19. A communication method, characterized in that: The method further comprises: Configure second indication information, where the second indication information is used to indicate setting a token bucket size according to the amount of delay-sensitive data in the data transmission object.
20. The method according to claim 19, characterized in that The configuring second indication information includes: configuring a second enabling indication, wherein the second enabling indication is used to enable setting of a token bucket size according to the amount of delay-sensitive data in a data transmission object; or, configuring a first data volume, wherein the first data volume is determined according to a priority bit rate PBR and a bucket depth BSD; or, configuring second information of the first data volume and the second data transmission object, wherein the second information is used to indicate that the second data transmission object is an object capable of setting a token bucket size according to the data volume of delay-sensitive data in the data transmission object; or Second information of a second data transmission object is configured, where the second information is used to indicate that the second data transmission object is an object capable of setting a token bucket size according to a data volume of delay-sensitive data in the data transmission object.
21. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer instructions; A processor, configured to execute a 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 comprises: Memory for storing computer programs or computer instructions; A processor, configured to execute a computer program or computer instruction 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 a second device, wherein the first device is used to execute the method according to any one of claims 1 to 15, and the second device is used to execute the method according to any one of claims 16 to 20.
24. A computer storage medium for storing a computer program, wherein when the computer program is executed, it is used to implement the method according to any one of claims 1 to 20.
Citation Information
Patent Citations
Communication method and device
CN120224469A
Processing method and device for logical channel priority
CN103945540A
Resource allocation method and device
CN108093485A
Data transmission method and device
CN110167066A
Uplink resource allocation method and system, intelligent terminal and storage medium
CN114449664A