Data transmission methods, devices and storage media
By using token bucket matching, the number of tokens is matched according to the amount of data to be transmitted in the XR service, which solves the problem of data packet transmission delay in the XR service in the 3GPP 5G system and achieves low-latency transmission and fair resource allocation.
Patent Information
- Application Number
- CN202210622339.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-06-02
AI Technical Summary
In 3GPP 5G systems, Extended Display (XR) services experience significant variations in packet size and require low latency, leading to packet transmission delays under the token bucket mechanism. Furthermore, existing methods set the PBR to the maximum packet size, causing XR services to preempt resources and affecting data transmission on other logical channels.
The token bucket matching process is adopted to match the number of tokens according to the amount of data to be transmitted on the specified logical channel, so as to ensure low-latency transmission, while not occupying too much uplink transmission resources and ensuring data transmission on other logical channels.
It achieves low-latency data transmission for XR services without consuming excessive resources, ensuring that data from other logical channels still has resources for transmission, and meeting the network's guaranteed stream bit rate requirements for different logical channels.
Smart Images

Figure CN117221236B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a data transmission method, apparatus and storage medium. Background Technology
[0002] Uplink transmission resources in 3GPP 5G systems are based on scheduling, multi-user, and multi-service sharing. To ensure fairness among different services during terminal uplink transmission, a token bucket mechanism is used for uplink transmission between multiple services after the terminal obtains uplink transmission resources. The token bucket mechanism means that for each logical channel, the token quantity Bj = 0 during initial configuration. Then, the token quantity Bj = PBR * T is accumulated according to the Prioritized Bit Rate (PBR) and time, up to a maximum of PBR * Bucket Size Duration (BSD). When the terminal receives an uplink transmission resource grant (UL grant), uplink transmission resources corresponding to the accumulated token quantity Bj are allocated to each logical channel in descending order of logical channel priority.
[0003] For extended reality (XR) services, due to the large variation in packet size and the requirement for low-latency transmission, insufficient token accumulation may lead to packet transmission delays when extremely large packets arrive. One solution to this is to set the PBR value to the maximum packet size or even infinity. However, this causes XR services to preempt almost all uplink resources, preventing other uplink logical channels from obtaining resources for effective transmission. Summary of the Invention
[0004] This disclosure provides a data transmission method, apparatus, and storage medium that ensures low-latency data transmission without compromising the network's guaranteed bit rate for different logical channels.
[0005] In a first aspect, embodiments of this disclosure provide a data transmission method applied to a terminal, comprising:
[0006] Determine whether to perform token bucket matching for the specified logical channel;
[0007] Acquire the first uplink transmission resource;
[0008] Map the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens Bj corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0009] In one implementation, determining to perform token bucket matching on the specified logical channel includes:
[0010] The initial value of the number of tokens corresponding to the specified logical channel is set to the maximum value of the token bucket PBR*BSD configured by the network device for the specified logical channel.
[0011] In one implementation, mapping the first data to be transmitted corresponding to a specified packet data in the specified logical channel to the first uplink transmission resource includes:
[0012] The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
[0013] In one implementation, mapping the first data to be transmitted corresponding to a specified packet data in the specified logical channel to the first uplink transmission resource includes:
[0014] If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource;
[0015] The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0016] In one implementation, it further includes:
[0017] Acquire second uplink transmission resources;
[0018] The second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, is mapped to the second uplink transmission resource, and the token quantity is updated to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
[0019] In one implementation, it further includes:
[0020] After the second data transmission to be transmitted is completed, if the number of tokens is negative or zero, the data mapping of the specified logical channel on the uplink transmission resources is stopped.
[0021] In one implementation, determining to perform token bucket matching on the specified logical channel includes:
[0022] Receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel;
[0023] Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
[0024] In one implementation, the designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
[0025] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0026] Secondly, embodiments of this disclosure provide a data transmission method applied to a network device, comprising:
[0027] Send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to the specified packet data in the specified logical channel.
[0028] Allocate a first uplink transmission resource to the terminal, and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
[0029] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0030] Thirdly, this disclosure provides a data transmission apparatus, including: a memory, a transceiver, and a processor;
[0031] Memory, used to store computer programs;
[0032] A transceiver is used to send and receive data under the control of a processor.
[0033] A processor is used to read computer programs stored in memory and perform the following operations:
[0034] Determine whether to perform token bucket matching for the specified logical channel;
[0035] Acquire the first uplink transmission resource;
[0036] Map the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0037] In one implementation, the processor is configured to perform:
[0038] The initial value of the number of tokens corresponding to the specified logical channel is set to the maximum value of the token bucket configured by the network device for the specified logical channel.
[0039] In one implementation, the processor is configured to perform:
[0040] The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
[0041] In one implementation, the processor is configured to perform:
[0042] If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource;
[0043] The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0044] In one implementation, the processor is configured to perform:
[0045] Acquire second uplink transmission resources;
[0046] The second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, is mapped to the second uplink transmission resource, and the token quantity is updated to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
[0047] In one implementation, the processor is configured to perform:
[0048] After the second data transmission to be transmitted is completed, if the number of tokens is negative or zero, the data mapping of the specified logical channel on the uplink transmission resources is stopped.
[0049] In one implementation, the processor is configured to perform:
[0050] Receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel;
[0051] Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
[0052] In one implementation, the designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
[0053] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0054] Fourthly, this disclosure provides a data transmission apparatus, including: a memory, a transceiver, and a processor;
[0055] Memory, used to store computer programs;
[0056] A transceiver is used to send and receive data under the control of a processor.
[0057] A processor is used to read computer programs stored in memory and perform the following operations:
[0058] Send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to the specified packet data in the specified logical channel.
[0059] Allocate a first uplink transmission resource to the terminal, and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
[0060] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0061] Fifthly, this disclosure provides a data transmission apparatus, comprising:
[0062] The determining unit is used to determine whether to perform token bucket matching processing on a specified logical channel.
[0063] The acquisition unit is used to acquire the first uplink transmission resource;
[0064] The mapping unit is used to map the first data to be transmitted corresponding to a specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0065] In one implementation, the determining unit is used to:
[0066] The initial value of the number of tokens corresponding to the specified logical channel is set to the maximum value of the token bucket configured by the network device for the specified logical channel.
[0067] In one implementation, the mapping unit is used for:
[0068] The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
[0069] In one implementation, the mapping unit is used for:
[0070] If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource;
[0071] The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0072] In one embodiment, the acquisition unit is used to acquire a second uplink transmission resource;
[0073] The mapping unit is used to map the second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, to the second uplink transmission resource, and update the token quantity to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
[0074] In one implementation, the mapping unit is used for:
[0075] After the second data transmission to be transmitted is completed, if the number of tokens is negative or zero, the data mapping of the specified logical channel on the uplink transmission resources is stopped.
[0076] In one implementation, the determining unit is used to:
[0077] Receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel;
[0078] Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
[0079] In one implementation, the designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
[0080] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0081] Sixthly, this disclosure provides a data transmission apparatus, comprising:
[0082] The sending unit is used to send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to the specified packet data in the specified logical channel.
[0083] The processing unit is configured to allocate a first uplink transmission resource to the terminal and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
[0084] In one implementation, the specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0085] In a seventh aspect, this disclosure provides a computer-readable storage medium storing a computer program for causing a computer to perform the method described in the first or second aspect.
[0086] This disclosure provides a data transmission method, apparatus, and storage medium. In this method, token bucket matching is used for a specified logical channel. When uplink transmission resources are obtained, the number of tokens for the specified logical channel is matched with the amount of data to be transmitted, thereby ensuring that the data to be transmitted can be transmitted with low latency, while not occupying too much uplink transmission resources, ensuring that data on other logical channels still have resources to be transmitted, and not compromising the network's guarantee of the guaranteed bit rate for different logical channels.
[0087] It should be understood that the description in the foregoing summary section is not intended to limit the key or essential features of the embodiments of the present invention, nor is it intended to restrict the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0088] To more clearly illustrate the technical solutions in this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0089] Figure 1 This is a schematic diagram of a data frame for an XR service.
[0090] Figure 2 A diagram illustrating the data frame types for XR services;
[0091] Figure 3 This is a schematic diagram of logical channel data mapping based on token bucket.
[0092] Figure 4 A schematic flowchart illustrating the data transmission method provided in this embodiment of the disclosure;
[0093] Figure 5 A schematic diagram of logical channel data mapping based on token bucket matching processing provided in this embodiment of the disclosure. Figure 1 ;
[0094] Figure 6 A schematic diagram of logical channel data mapping based on token bucket matching processing provided in this embodiment of the disclosure. Figure 2 ;
[0095] Figure 7 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 1 ;
[0096] Figure 8 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 2 ;
[0097] Figure 9 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 3 ;
[0098] Figure 10 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 4 . Detailed Implementation
[0099] In this disclosure, the term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. In the embodiments of this disclosure, the term "multiple" refers to two or more, and other quantifiers are similar.
[0100] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this disclosure.
[0101] This disclosure provides a data transmission method and apparatus that enable low-latency transmission of large data packets for XR services without compromising the network's GFBR (Global Frame Rate) for different logical channels. The method and apparatus are based on the same concept, and since they address similar problems, embodiments of the apparatus and method can be referred to interchangeably; repeated details will not be repeated.
[0102] The technical solutions provided in this disclosure are applicable to a variety of systems, especially 5G systems. For example, applicable systems may include Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (GPRS), Long Term Evolution (LTE), LTE Frequency Division Duplex (FDD), LTE Time Division Duplex (TDD), Long Term Evolution Advanced (LTE-A), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX), and 5G New Radio (NR). All of these systems include terminal equipment and network equipment. The systems may also include a core network component, such as Evolved Packet System (EPS) or 5G system (5GS).
[0103] The terminal devices involved in the embodiments of this disclosure can be devices that provide voice and / or data connectivity to users, handheld devices with wireless connectivity, or other processing devices connected to a wireless modem. The names of the terminal devices may differ in different systems; for example, in a 5G system, a terminal device can be called User Equipment (UE). Wireless terminal devices can communicate with one or more core networks (CNs) via a Radio Access Network (RAN). Wireless terminal devices can be mobile terminal devices, such as mobile phones (or "cellular" phones) and computers with mobile terminal devices, for example, portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile devices that exchange voice and / or data with the RAN. Examples include Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). Wireless terminal equipment can also be referred to as a system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, or user device, but is not limited to these terms in the embodiments disclosed herein.
[0104] The network device disclosed in this embodiment may be a base station, which may include multiple cells providing services to terminals. Depending on the specific application, the base station may also be called an access point, or a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to exchange received air frames with Internet Protocol (IP) packets, acting as a router between the wireless terminal device and the rest of the access network, where the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network equipment involved in the embodiments of this application can be a base transceiver station (BTS) in a Global System for Mobile communications (GSM) or Code Division Multiple Access (CDMA), a NodeB in a Wide-band Code Division Multiple Access (WCDMA) system, an evolved Node B (eNB or e-NodeB) in a long term evolution (LTE) system, a 5G base station (gNB) in a next generation system, a Home evolved Node B (HeNB), a relay node, a femto, a pico, etc., and is not limited in the embodiments of this application. In some network structures, the network equipment may include centralized unit (CU) nodes and distributed unit (DU) nodes, and the centralized unit and distributed unit may be geographically separated.
[0105] Base stations and terminal devices can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multiple-user MIMO (MU-MIMO). Depending on the configuration and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO, or massive-MIMO, and can also be diversity transmission, precoding transmission, or beamforming transmission, etc.
[0106] Extended Reality (XR) services are a collective term for different types of reality, referring to all environments and human-computer interactions that combine real and virtual elements, generated by computer technology and equipment. It includes representative forms such as Augmented Reality (AR), Mixed Reality (MR), and Virtual Reality (VR). XR services require low latency, high throughput, and high reliability, necessitating the transmission of large amounts of data within short periods. This means that burst throughput can be significantly higher than average throughput within a short timeframe. For example, an XR service with an average throughput of 100 Mbps can achieve a burst throughput of 300 Mbps within a short measurement window, while simultaneously maintaining high reliability.
[0107] XR services are modeled based on data frames, with each data frame corresponding to an XR video frame, such as... Figure 1 As shown, a data frame can be divided into multiple slices or tiles, and each slice or tile can contain multiple Packet Data Units (PDUs), for example... Figure 1 A slice / block contains PDU101 and three other PDUs. Each data PDU corresponds to a Service Data Adaptation Protocol (SDAP) Service Data Unit (SDU) of the access network.
[0108] XR services include various data frames, each with its own transmission characteristics and requirements, such as... Figure 2 As shown, an intra-coded frame (I-frame) is intra-frame coded and can represent the complete image; a predicted frame (P-frame) is inter-frame coded and only needs to carry information about its differences from the previous frame; a bidirectional predicted frame (B-frame) is bidirectionally predicted and only needs to carry information about the changes between the preceding and following reference frames. Therefore, I-frames have a large data volume and high reliability requirements; P-frames and B-frames have smaller data volumes and relatively lower reliability requirements compared to I-frames. A Group of Pictures (GOP) typically begins with an I-frame, followed by either a P-frame or a B-frame.
[0109] In XR services, service characteristics requirements are for data frames. For example, for scene and video mixed streams, the service characteristics requirements are: 60 frames per second (fps); data rate 10Mbps / 20Mbps; packet delay budget (PDB) 30ms (mandatory) or 10 / 15 / 60ms (optional).
[0110] In 3GPP 5G systems, uplink transmission resources are based on scheduling and shared by multiple users and services. The uplink transmission resources allocated by the base station to the terminal are for a single user, not a single service. To ensure fairness among different services during uplink transmission and to prevent some services from being starved, the terminal uses a token bucket mechanism for uplink transmission between multiple services after obtaining uplink transmission resources.
[0111] The token bucket mechanism refers to the network device configuring a logical channel priority, prioritized bit rate (PBR), and token bucket duration (BSD) for each logical channel of the terminal. The maximum amount of data that the token bucket can hold, i.e., the token bucket size, is PBR * BSD. For each logical channel, the initial token quantity Bj = 0, and then the token quantity Bj = PBR * T is accumulated according to PBR and time, up to a maximum of PBR * BSD. When the terminal obtains an uplink transmission resource grant (UL grant), uplink transmission resources corresponding to the accumulated token quantity Bj for each logical channel are allocated in descending order of logical channel priority. If the amount of buffered data to be transmitted, i.e., the amount of data to be transmitted, is less than the token quantity Bj, then only the uplink transmission resources corresponding to the amount of data to be transmitted are allocated. If there are remaining resources after all logical channels have had their token quantity Bj satisfied, then the remaining resources are allocated to each logical channel in descending order of logical channel priority. For services with Guaranteed Flow Bit Rate (GFBR), the PBR is equal to the sum of the GFBRs of the QoS flows mapped to the Data Radio Bearer (DRB) of that logical channel. For example, if an XR video stream is mapped to a DRB, then the PBR of the logical channel corresponding to that DRB is equal to the GFBR of the XR video stream, and the GFBR is generally configured as the average bit rate of the service stream.
[0112] Figure 3 This is a schematic diagram illustrating the mapping of different logical channel data to uplink transmission resources based on a token bucket mechanism. For example... Figure 3As shown, logical channel 2 is established at time T0, and logical channel 1 is established at time T1. Logical channel 1 has a higher priority than logical channel 2. At time T2, the number of tokens corresponding to logical channel 1 is Bj1 = PBR1 * (T2 - T1), where PBR1 is configured by the network device for logical channel 1. The number of tokens corresponding to logical channel 2 is Bj2 = PBR2 * (T2 - T0), where PBR2 is configured by the network device for logical channel 2. After the terminal obtains uplink transmission resources at time T2, it prioritizes data mapping for the high-priority logical channel 1. However, because the accumulated number of tokens Bj1 for logical channel 1 is insufficient, not all the data to be transmitted on logical channel 1 can be mapped and transmitted. On the other hand, the accumulated number of tokens Bj2 for the low-priority logical channel 2 is greater, and all the data to be transmitted on logical channel 2 can be mapped and transmitted.
[0113] Statistically, since high-priority logical channel data is mapped preferentially each time it obtains uplink transmission resources, its GFBR (Gateway Buffer Routing) is guaranteed. Therefore, the token bucket mechanism has no problem for most traditional 5G service transmissions. However, for XR services, due to the huge variation in packet size and the requirement for low latency (RTT latency of 8ms or even 2ms), the PBR (Package Buffer Routing) configured based on the average rate GFBR may experience packet transmission delays when very large packets arrive, especially when the service is first established, due to insufficient accumulation of tokens (Bj).
[0114] To address the aforementioned issues, one solution is to set the PBR value of the logical channel corresponding to the XR service to the maximum data packet size or even infinity. This would keep the token quantity Bj = PBR * T corresponding to the logical channel consistently large or even infinite. However, this would cause the XR service to obtain uplink transmission resources far exceeding the GFBR requirement, thus preempting almost all uplink transmission resources and preventing other uplink logical channels from obtaining resources for effective transmission.
[0115] Therefore, this disclosure provides a data transmission method. In this method, for a specified logical channel, instead of using the token bucket processing mechanism in the aforementioned related technologies, a token bucket matching process is used. When uplink transmission resources are obtained, the number of tokens for the specified logical channel is matched with the amount of data to be transmitted, thereby ensuring that the data to be transmitted can be transmitted with low latency, while not occupying too much uplink transmission resources, and ensuring that data on other logical channels still have resources to be transmitted.
[0116] Figure 4 This is a flowchart illustrating the data transmission method provided in an embodiment of this disclosure. Figure 4 As shown, the method includes:
[0117] S401. Determine to perform token bucket matching processing on the specified logical channel.
[0118] The token bucket matching process for a specified logical channel can be instructed by the network device to the terminal, or it can be determined by the terminal itself.
[0119] Optionally, the terminal receives configuration information sent by the network device. The configuration information includes a token bucket matching processing identifier for a specified logical channel, instructing the terminal to perform token bucket matching processing on the specified logical channel. In this case, the specified logical channel is a logical channel configured by the network device that can perform token bucket matching processing.
[0120] Optionally, the terminal determines to perform token bucket matching processing on the specified logical channel based on the service corresponding to the specified logical channel. In this case, the specified logical channel is the logical channel corresponding to the specified service determined by the terminal. For example, if the specified service is an XR service, the specified logical channel is the logical channel corresponding to the XR service determined by the terminal.
[0121] As previously described, the token bucket mechanism of related technologies works by initially configuring each logical channel with a token count Bj = 0. Subsequently, the token count Bj = PBR * T is accumulated according to the PBR and time. Once the terminal obtains uplink transmission resources, it allocates resources equal to the accumulated token count Bj for each logical channel. However, in this embodiment, token bucket matching is performed on specified logical channels. That is, the aforementioned token bucket mechanism is no longer used for specified logical channels; instead, the token count is matched with the data to be transmitted.
[0122] In one implementation, token bucket matching for a specified logical channel in this embodiment of the disclosure can refer to setting the initial value of the token quantity Bj for the specified logical channel to the maximum value of the token bucket configured by the network device for the specified logical channel. That is, setting the initial value of the token quantity Bj to the token bucket size PBR * BSD. Here, PBR can be configured by the network device based on the average bit rate of the service on the specified logical channel, and BSD can be configured by the network device based on the period of data packets, for example, BSD is the duration of one or more periods.
[0123] In another implementation, the token bucket matching process for the specified logical channel in this embodiment of the present disclosure can mean that when the number of tokens Bj is less than the amount of data to be transmitted, the number of tokens to be transmitted in the subsequent transmission is borrowed to satisfy the transmission of the data to be transmitted in this transmission. That is, even when the number of tokens is less than the amount of data to be transmitted, data mapping and transmission can still be performed.
[0124] S402, Obtain the first uplink transmission resource.
[0125] The terminal can obtain the first uplink transmission resource by receiving a dynamic scheduling command from the network device and obtaining the dynamically scheduled first uplink transmission resource, or it can obtain the pre-configured first uplink transmission resource according to the pre-configured resource configuration.
[0126] S403. Map the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0127] The specified packet in the specified logical channel can be the packet corresponding to the specified frame in the specified logical channel. For example, the specified frame can be an I-frame in an XR service. Alternatively, the specified packet in the specified logical channel can be a set of PDUs in the specified logical channel. Or, the specified packet in the specified logical channel can be a task packet in the specified logical channel. In other words, token bucket matching is performed on any packet in the specified logical channel.
[0128] For the first data to be transmitted, token bucket matching is performed to match the number of tokens corresponding to the specified logical channel with the first data to be transmitted, and then the first data to be transmitted is mapped to the first uplink transmission resource.
[0129] The method of this disclosure performs token bucket matching processing on a specified logical channel. For a specified packet of data in the specified logical channel, when uplink transmission resources are obtained, the number of tokens in the specified logical channel is matched with the amount of data in the first data to be transmitted, thereby ensuring that the first data to be transmitted can be transmitted with low latency, while not occupying too much of the first uplink transmission resources, and ensuring that data in other logical channels still have resources to be transmitted.
[0130] The methods of this disclosure embodiment will be described below with reference to specific examples.
[0131] Example 1
[0132] Step 1: The terminal determines to perform token bucket matching processing on the specified logical channel.
[0133] Optionally, when configuring a terminal's designated logical channel, the network device can configure that designated logical channel to perform token bucket matching. For example, the network device sends configuration information to the terminal, which includes a token bucket matching identifier for the designated logical channel. This instructs the terminal to perform token bucket matching on the designated logical channel; that is, the token bucket matching identifier indicates that the number of tokens corresponding to the designated logical channel is a value that matches the first data to be transmitted corresponding to the designated packet in the designated logical channel.
[0134] Understandably, the terminal can also determine whether to perform token bucket matching for a specific logical channel based on service characteristics. In other words, the terminal determines whether to perform token bucket matching for a specific logical channel based on network device configuration or service characteristics.
[0135] Step 2: The terminal sets the initial value of the token quantity Bj to the maximum value of the token bucket.
[0136] The maximum token bucket size is PBR * BSD. Both PBR and BSD are configured by the network device. PBR can be configured by the network device based on the average bit rate of the service on a specified logical channel, while BSD can be configured by the network device based on the period of the data packets. For example, BSD can be the duration of one or more periods.
[0137] It should be noted that this step can also be performed after step 3, and this embodiment of the present disclosure is not limited to this.
[0138] Step 3: The terminal receives the pre-configured resource settings from the network device, or receives a dynamic scheduling command, to obtain the first uplink transmission resource. That is, the network device allocates the first uplink transmission resource to the terminal.
[0139] Step 4: The terminal maps the data to be transmitted on each logical channel to the first uplink transmission resource according to the logical channel priority and the current number of tokens, based on the data volume and token quantity of each logical channel. For each logical channel, the token quantity Bj is subtracted from the data volume mapped to the first uplink transmission resource. Specifically, for the first data to be transmitted corresponding to a specific packet of a specified logical channel, the first data to be transmitted is mapped to the first uplink transmission resource according to the token quantity corresponding to the specified logical channel, and the token quantity is updated to the current token quantity minus the data volume of the first data to be transmitted mapped to the first uplink transmission resource. Since the initial value of the token quantity corresponding to the specified logical channel is the maximum value of the token bucket, it can be guaranteed that the data packets at the beginning of the service establishment can be transmitted with low latency, and subsequent data packets can also be transmitted with low latency as the token quantity continues to accumulate. If there are still remaining uplink transmission resources after all the token quantities of all logical channels have been mapped, the remaining data is mapped to the remaining uplink transmission resources according to the logical channel priority order.
[0140] Step 5: The terminal transmits the first data to be transmitted, mapped to the first uplink transmission resource, to the network device. The network device receives the first data to be transmitted on the first uplink transmission resource allocated to the terminal and parses the first data to be transmitted.
[0141] For example, such as Figure 5As shown, logical channel 2 is established at time T0, and logical channel 1 is established at time T1. Logical channel 1 has a higher priority than logical channel 2, and logical channel 1 is the designated logical channel for token bucket matching. At time T2, the number of tokens Bj1 corresponding to logical channel 1 is the maximum token bucket value PBR1 * BSD, where PBR1 is configured by the network device for logical channel 1. The number of tokens Bj2 corresponding to logical channel 2 is PBR2 * (T2 - T0), where PBR2 is configured by the network device for logical channel 2. After the terminal obtains uplink transmission resources at time T2, it prioritizes data mapping for the high-priority logical channel 1. Since the number of tokens Bj1 corresponding to logical channel 1 is large enough, all the data to be transmitted on logical channel 1 can be mapped and transmitted. At time T2, all uplink transmission resources obtained by the terminal are occupied by logical channel 1, and after mapping, the number of tokens Bj1 corresponding to logical channel 1 is updated to PBR1 * BSD minus the amount of data to be transmitted on the mapped logical channel 1. At time T3, Bj1 and Bj2 continue to accumulate. Bj2 accumulates to PBR2*(T3-T0), and the terminal obtains uplink transmission resources again. At this time, there is no data to be transmitted on the high-priority logical channel 1. The terminal maps the data to be transmitted on the logical channel 2 to the uplink transmission resources.
[0142] Example 2
[0143] Step 1: The terminal determines to perform token bucket matching processing on the specified logical channel.
[0144] Optionally, when configuring a terminal's specified logical channel, the network device may configure that specified logical channel to perform token bucket matching. For example, the network device sends configuration information to the terminal, which includes a token bucket matching identifier for the specified logical channel, instructing the terminal to perform token bucket matching on the specified logical channel.
[0145] Understandably, the terminal can also determine whether to perform token bucket matching for a specific logical channel based on service characteristics. That is, the terminal determines whether to perform token bucket matching for a specific logical channel based on network device configuration or service characteristics, with the initial value of the token bucket set to 0.
[0146] Step 2: The terminal receives the pre-configured resource configuration of the network device or receives a dynamic scheduling command to obtain the first uplink transmission resource.
[0147] Step 3: For the first data to be transmitted corresponding to the specified packet data in the specified logical channel, if the number of tokens corresponding to the specified logical channel is less than the amount of the first data to be transmitted, map the first data to be transmitted to the available uplink transmission resources, and update the token bucket count to the current number of tokens minus the amount of the first data to be transmitted mapped to the available uplink transmission resources; wherein, the available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources obtained by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0148] Optionally, for a specified logical channel, token bucket matching can be performed only on the larger data packets. That is, if the amount of the first data to be transmitted is greater than a preset threshold and the number of tokens corresponding to the specified logical channel is less than the amount of the data to be transmitted, then the first data to be transmitted is mapped to an available uplink transmission resource, and the token bucket count is updated to the current number of tokens minus the amount of the first data to be transmitted mapped to the available uplink transmission resource.
[0149] This token bucket matching process maps as much of the first data to be transmitted as possible to available uplink transmission resources when the number of tokens Bj corresponding to a specified logical channel is insufficient. After that, the number of tokens Bj corresponding to the specified logical channel needs to be reduced by the amount of the first data to be transmitted mapped to available uplink transmission resources. This updates the number of tokens Bj to a negative value, which is equivalent to borrowing tokens from subsequent transmissions. This ensures that the number of tokens corresponding to the specified logical channel always matches the data to be transmitted. After the number of tokens Bj becomes negative, it continues to accumulate over time in subsequent transmissions.
[0150] Optionally, after the first data to be transmitted is transmitted, the terminal can continue to acquire a second uplink transmission resource to transmit subsequent data. It is understood that the second uplink transmission resource and the first uplink transmission resource refer to the uplink transmission resources or sets of uplink resources that the terminal can acquire under different transmission environments, different channel environments, or different times. The terminal acquires the second uplink transmission resource; maps the second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, to the second uplink transmission resource, and updates the token bucket count to the current token count minus the amount of the second data to be transmitted mapped to the second uplink transmission resource. After the second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, is transmitted, if the token count is negative or zero, the data mapping on the specified logical channel on the uplink transmission resource is stopped. Optionally, the terminal can determine whether the data of the current frame has been transmitted completely based on the frame identifier or the frame size; alternatively, the terminal can determine whether the data of the PDU set has been transmitted completely based on the PDU set identifier or the PDU set size.
[0151] In other words, for the second data to be transmitted that belongs to the same frame or the same PDU set as the first data to be transmitted, even if the number of tokens Bj corresponding to the specified logical channel is negative after the first data to be transmitted is transmitted, the second data to be transmitted can still be mapped and transmitted on the available uplink transmission resources in the second uplink transmission resources. The available uplink transmission resources in the second uplink transmission resources refer to the other uplink transmission resources in the second uplink transmission resources other than those occupied by higher priority logical channels. The number of tokens Bj is then reduced by the amount of the second data to be transmitted mapped to the second uplink transmission resources until all the second data to be transmitted that belongs to the same frame or the same PDU set as the first data to be transmitted is transmitted. If the number of tokens Bj is an amplitude or 0, then the data mapping and transmission on the specified logical channel cannot continue on the uplink resources.
[0152] Step 4: The terminal transmits the first data to be transmitted, mapped to the first uplink transmission resource, to the network device. The network device receives the first data to be transmitted on the first uplink transmission resource allocated to the terminal and parses the first data to be transmitted.
[0153] For example, such as Figure 6As shown, logical channel 2 is established at time T0, and logical channel 1 is established at time T1. Logical channel 1 has a higher priority than logical channel 2, and logical channel 1 is the designated logical channel that can undergo token bucket matching. At time T2, the number of tokens corresponding to logical channel 1 is Bj1 = PBR1 * (T2 - T0), where PBR1 is configured by the network device for logical channel 1. The number of tokens corresponding to logical channel 2 is Bj2 = PBR2 * (T2 - T0), where PBR2 is configured by the network device for logical channel 2. After the terminal obtains uplink transmission resources at time T2, it prioritizes data mapping for the high-priority logical channel 1. As shown in the figure, the number of tokens Bj1 corresponding to logical channel 1 is less than the amount of data to be transmitted on logical channel 1. Since logical channel 1 can undergo token bucket matching, the data to be transmitted on logical channel 1 is mapped to all available uplink transmission resources. At time T2, all uplink transmission resources obtained by the terminal are occupied by logical channel 1, and after mapping, the number of tokens Bj1 corresponding to logical channel 1 is also updated to Bj1 minus the amount of data to be transmitted on logical channel 1 that has been mapped. That is, the number of tokens Bj1 corresponding to logical channel 1 is updated to a negative value. At this time, some of the data to be transmitted on logical channel 1 is still unmapped. Bj1 and Bj2 continue to accumulate. At time T3, Bj1 is still negative, and Bj2 accumulates to PBR2*(T3-T0). The terminal obtains uplink transmission resources again and maps all the unmapped data to be transmitted in the high-priority logical channel 1 to the newly obtained uplink transmission resources. Then, it maps the data to be transmitted in the logical channel 2 to the newly obtained uplink transmission resources.
[0154] Figure 7 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 1 .like Figure 7 As shown, the data transmission device includes: a memory 701, a transceiver 702, and a processor 703;
[0155] Memory 701 is used to store computer programs;
[0156] Transceiver 702 is used to send and receive data under the control of the processor;
[0157] Processor 703 is used to read computer programs stored in memory and perform the following operations:
[0158] Determine whether to perform token bucket matching for the specified logical channel;
[0159] Acquire the first uplink transmission resource;
[0160] Map the first data to be transmitted corresponding to a specified packet in a specified logical channel to a first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0161] In one implementation, processor 703 is used to perform:
[0162] Set the initial value of the number of tokens corresponding to the specified logical channel to the maximum value of the token bucket configured by the network device for the specified logical channel.
[0163] In one implementation, processor 703 is used to perform:
[0164] The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
[0165] In one implementation, processor 703 is used to perform:
[0166] If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource.
[0167] The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0168] In one implementation, processor 703 is used to perform:
[0169] Acquire second uplink transmission resources;
[0170] The second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, is mapped to the second uplink transmission resource, and the token quantity is updated to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
[0171] In one implementation, processor 703 is used to perform:
[0172] After the second data transmission is completed, if the number of tokens is negative or zero, stop data mapping of the specified logical channel on the uplink transmission resources.
[0173] In one implementation, processor 703 is used to perform:
[0174] Receive configuration information sent by the network device, including the token bucket matching processing identifier for the specified logical channel;
[0175] Alternatively, based on the services corresponding to the specified logical channel, determine whether to perform token bucket matching processing on the specified logical channel.
[0176] In one implementation, the designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
[0177] In one implementation, the specified packet data is the packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0178] Among them, Figure 7 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 703 and memory represented by memory 701 together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 702 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium, including wireless channels, wired channels, optical fibers, etc. For different user equipment, the user interface can also be an interface capable of connecting external or internal devices, including but not limited to keypads, displays, speakers, microphones, joysticks, etc.
[0179] The processor 703 is responsible for managing the bus architecture and general processing, while the memory 701 can store the data used by the processor 703 when performing operations.
[0180] Optionally, the processor 703 can be a CPU (Central Processing Unit), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), or CPLD (Complex Programmable Logic Device), and the processor can also adopt a multi-core architecture.
[0181] The processor 703 executes any of the methods described in the embodiments of this application by calling a computer program stored in the memory 701, according to the obtained executable instructions. The processor 703 and the memory 701 may also be physically separated.
[0182] It should be noted that the device provided in this disclosure can implement all the method steps implemented by the terminal in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0183] Figure 8 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 2 .like Figure 8 As shown, the data transmission device includes: a memory 801, a transceiver 802, and a processor 803;
[0184] Memory 801 is used to store computer programs;
[0185] Transceiver 802 is used to send and receive data under the control of the processor;
[0186] Processor 803 is used to read computer programs stored in memory and perform the following operations:
[0187] Send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to the specified packet data in the specified logical channel.
[0188] Allocate a first uplink transmission resource to the terminal and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
[0189] In one implementation, the specified packet data is the packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0190] Among them, Figure 8 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 803) and memory (memory 801). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 802 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical fibers, etc. The processor 803 is responsible for managing the bus architecture and general processing, and the memory 801 can store data used by the processor 803 during operation.
[0191] The processor 803 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor can also adopt a multi-core architecture.
[0192] It should be noted that the apparatus provided in this disclosure can implement all the method steps implemented by the network device in the above method embodiments and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiments will not be described in detail here.
[0193] Figure 9 Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 3 .like Figure 9 As shown, the data transmission device includes:
[0194] Determining unit 901 is used to determine whether to perform token bucket matching processing on a specified logical channel;
[0195] Acquisition unit 902 is used to acquire the first uplink transmission resource;
[0196] The mapping unit 903 is used to map the first data to be transmitted corresponding to a specified packet data in a specified logical channel to a first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted.
[0197] In one embodiment, the determining unit 901 is used to:
[0198] Set the initial value of the number of tokens corresponding to the specified logical channel to the maximum value of the token bucket configured by the network device for the specified logical channel.
[0199] In one implementation, the mapping unit 903 is used for:
[0200] The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
[0201] In one implementation, the mapping unit 903 is used for:
[0202] If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource.
[0203] The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
[0204] In one embodiment, the acquisition unit 902 is used to acquire a second uplink transmission resource;
[0205] The mapping unit 903 is used to map the second data to be transmitted, which belongs to the same frame or the same PDU set as the first data to be transmitted, to the second uplink transmission resource, and update the token quantity to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
[0206] In one implementation, the mapping unit 903 is used for:
[0207] After the second data transmission is completed, if the number of tokens is negative or zero, stop data mapping of the specified logical channel on the uplink transmission resources.
[0208] In one embodiment, the determining unit 901 is used to:
[0209] Receive configuration information sent by the network device, including the token bucket matching processing identifier for the specified logical channel;
[0210] Alternatively, based on the services corresponding to the specified logical channel, determine whether to perform token bucket matching processing on the specified logical channel.
[0211] In one implementation, the designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
[0212] In one implementation, the specified packet data is the packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0213] It should be noted that the device provided in this disclosure can implement all the method steps implemented by the terminal in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0214] Figure 10Schematic diagram of the structure of the data transmission device provided in the embodiments of this disclosure Figure 4 .like Figure 10 As shown, the data transmission device includes:
[0215] The sending unit 1001 is used to send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to the specified packet data in the specified logical channel.
[0216] The processing unit 1002 is configured to allocate a first uplink transmission resource to the terminal and receive a first data to be transmitted on the first uplink transmission resource allocated to the terminal.
[0217] In one implementation, the specified packet data is the packet data corresponding to a specified frame, or the specified packet data is a set of PDUs, or the specified packet data is any packet data.
[0218] It should be noted that the apparatus provided in this disclosure can implement all the method steps implemented by the network device in the above method embodiments and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiments will not be described in detail here.
[0219] It should be noted that the division of units in the embodiments of this disclosure is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0220] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0221] This disclosure also provides a computer-readable storage medium storing a computer program for causing a computer to perform the methods executed by a terminal or network device in the above method embodiments.
[0222] Computer-readable storage media can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0223] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the method executed by a terminal or base station in the above method embodiments.
[0224] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0225] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0226] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0227] These processors can execute instructions that can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0228] Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from its spirit and scope. Therefore, if such modifications and variations fall within the scope of the claims of this disclosure and their equivalents, this disclosure is also intended to include such modifications and variations.
Claims
1. A data transmission method applied to a terminal, characterized in that, include: Determine whether to perform token bucket matching for the specified logical channel; Acquire the first uplink transmission resource; Map the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted; The determination of performing token bucket matching processing on the specified logical channel includes: Receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel; Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
2. The method according to claim 1, characterized in that, The determination to perform token bucket matching processing on the specified logical channel includes: The initial value of the number of tokens corresponding to the specified logical channel is set to the maximum value of the token bucket configured by the network device for the specified logical channel.
3. The method according to claim 2, characterized in that, The step of mapping the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource includes: The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
4. The method according to claim 1, characterized in that, The step of mapping the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource includes: If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource; The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
5. The method according to claim 4, characterized in that, Also includes: Acquire second uplink transmission resources; The second data to be transmitted, which belongs to the same frame or the same set of Packet Data Units (PDUs) as the first data to be transmitted, is mapped to the second uplink transmission resource, and the token quantity is updated to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
6. The method according to claim 5, characterized in that, Also includes: After the second data transmission to be transmitted is completed, if the number of tokens is negative or zero, the data mapping of the specified logical channel on the uplink transmission resources is stopped.
7. The method according to any one of claims 1-6, characterized in that, The designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
8. The method according to any one of claims 1-6, characterized in that, The specified packet data is either a packet data corresponding to a specified frame, or a set of PDUs, or any packet data.
9. A data transmission method applied to a network device, characterized in that, include: The terminal sends configuration information, which includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier indicates that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to a specified packet data in the specified logical channel. The token bucket matching processing identifier instructs the terminal to perform token bucket matching processing on the specified logical channel. Allocate a first uplink transmission resource to the terminal, and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
10. The method according to claim 9, characterized in that, The specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of packet data units (PDUs), or the specified packet data is any packet data.
11. A data transmission device, characterized in that, include: Memory, transceiver, and processor; Memory, used to store computer programs; A transceiver is used to send and receive data under the control of a processor. A processor is used to read computer programs stored in memory and perform the following operations: Determine whether to perform token bucket matching for the specified logical channel; Acquire the first uplink transmission resource; Map the first data to be transmitted corresponding to the specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted; The processor is used to execute: Receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel; Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
12. The apparatus according to claim 11, characterized in that, The processor is used to execute: The initial value of the number of tokens corresponding to the specified logical channel is set to the maximum value of the token bucket configured by the network device for the specified logical channel.
13. The apparatus according to claim 12, characterized in that, The processor is used to execute: The first data to be transmitted is mapped to the first uplink transmission resource according to the number of tokens corresponding to the specified logical channel, and the number of tokens is updated to the number of tokens minus the amount of the first data to be transmitted mapped to the first uplink transmission resource.
14. The apparatus according to claim 11, characterized in that, The processor is used to execute: If the number of tokens corresponding to the specified logical channel is less than the amount of data of the first data to be transmitted, the first data to be transmitted is mapped to an available uplink transmission resource, and the number of tokens is updated to the number of tokens minus the amount of data of the first data to be transmitted mapped to the available uplink transmission resource; The available uplink transmission resources are used to indicate the other uplink transmission resources in the first uplink transmission resources acquired by the terminal, excluding the uplink transmission resources occupied by higher priority logical channels.
15. The apparatus according to claim 14, characterized in that, The processor is used to execute: Acquire second uplink transmission resources; The second data to be transmitted, which belongs to the same frame or the same set of Packet Data Units (PDUs) as the first data to be transmitted, is mapped to the second uplink transmission resource, and the token quantity is updated to the token quantity minus the amount of the second data to be transmitted mapped to the second uplink transmission resource.
16. The apparatus according to claim 15, characterized in that, The processor is used to execute: After the second data transmission to be transmitted is completed, if the number of tokens is negative or zero, the data mapping of the specified logical channel on the uplink transmission resources is stopped.
17. The apparatus according to any one of claims 11-16, characterized in that, The designated logical channel is a logical channel configured by the network device that can perform token bucket matching, or the designated logical channel is a logical channel corresponding to a designated service determined by the terminal.
18. The apparatus according to any one of claims 11-16, characterized in that, The specified packet data is either a packet data corresponding to a specified frame, or a set of PDUs, or any packet data.
19. A data transmission device, characterized in that, include: Memory, transceiver, and processor; Memory, used to store computer programs; A transceiver is used to send and receive data under the control of a processor. A processor is used to read computer programs stored in memory and perform the following operations: The terminal sends configuration information, which includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier indicates that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to a specified packet data in the specified logical channel. The token bucket matching processing identifier instructs the terminal to perform token bucket matching processing on the specified logical channel. Allocate a first uplink transmission resource to the terminal, and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
20. The apparatus according to claim 19, characterized in that, The specified packet data is a packet data corresponding to a specified frame, or the specified packet data is a set of packet data units (PDUs), or the specified packet data is any packet data.
21. A data transmission device, characterized in that, include: The determining unit is used to determine whether to perform token bucket matching processing on a specified logical channel. The acquisition unit is used to acquire the first uplink transmission resource; A mapping unit is used to map the first data to be transmitted corresponding to a specified packet data in the specified logical channel to the first uplink transmission resource, wherein the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted. The determining unit is specifically used to receive configuration information sent by the network device, the configuration information including the token bucket matching processing identifier of the specified logical channel; Alternatively, based on the service corresponding to the specified logical channel, token bucket matching processing may be performed on the specified logical channel.
22. A data transmission device, characterized in that, include: The sending unit is used to send configuration information to the terminal. The configuration information includes a token bucket matching processing identifier for a specified logical channel. The token bucket matching processing identifier is used to indicate that the number of tokens corresponding to the specified logical channel is a value that matches the first data to be transmitted corresponding to a specified packet data in the specified logical channel. The token bucket matching processing identifier is used to instruct the terminal to perform token bucket matching processing on the specified logical channel. The processing unit is configured to allocate a first uplink transmission resource to the terminal and receive the first data to be transmitted on the first uplink transmission resource allocated to the terminal.
23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that causes a computer to perform the method as described in any one of claims 1-10.
Citation Information
Patent Citations
A logical channel priority resource scheduling method and device
CN109788570A
Method and apparatus for initializing, preserving, and reconfiguring token buckets
US20090196175A1
