A transmitting method and apparatus
By predicting the data packet transmission time of the terminal device and notifying the base station, the base station can allocate air interface resources in advance, which solves the problems of uplink data transmission latency and resource waste of the terminal device, and achieves more efficient resource utilization and power saving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI HUAWEI TECH CO LTD
- Filing Date
- 2020-12-10
- Publication Date
- 2026-05-29
Smart Images

Figure CN114630422B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network communication, and particularly relates to a sending method and device. BACKGROUND
[0002] When uplink data needs to be sent to a base station, a terminal device can apply for air interface resources to the base station and transmit the uplink data by using the air interface resources. Specifically, after detecting that there is uplink data to be sent, the terminal device can send a Buffer State Report (BSR) message to the base station to request air interface resources. After receiving the BSR message, the base station can allocate air interface resources to the terminal device and notify the terminal device through an Uplink Grant (UL grant) message. In this way, the terminal device can transmit the uplink data by using the air interface resources allocated by the base station.
[0003] Since the terminal device requests air interface resources from the base station only after detecting that there is uplink data to be sent, there is a certain time delay between the generation and sending of the uplink data. Therefore, the conventional air interface resource request method is not suitable for services such as games, videos, Virtual Reality (VR) or Augmented Reality (AR) that have high requirements on time delay.
[0004] To this end, the current base station can reserve air interface resources for the terminal device, that is, allocate air interface resources to the terminal device without determining whether the terminal device has uplink data to be sent. In this way, when the uplink data to be sent is generated, the allocated air interface resources can be used for transmission. In this way, the time delay of uplink data transmission can be reduced. However, this technical solution wastes the air interface resources of the base station when the terminal device does not send uplink data to the base station. SUMMARY
[0005] Embodiments of the present application provide a sending method and device, which aims to allocate air interface resources to a terminal device according to the actual needs of the terminal device, and avoid the waste of air interface resources on the basis of the sending time delay of uplink data packets.
[0006] Firstly, embodiments of this application provide a transmission method applied to a terminal device, such as a mobile terminal device like a mobile phone or tablet. The method includes the following steps: First, the terminal device acquires the transmission characteristics of a data packet, which may include features such as the historical time the terminal device transmitted the data packet. Next, the terminal device can predict the time information for transmitting the data packet to a base station based on the transmission characteristics of the data packet, obtaining first transmission time information. After determining the first transmission time information, the terminal device can send a first message to the base station, the first message carrying the first transmission time information, to instruct the base station to send allocated air interface resource information to the terminal device according to the first transmission time information, so that the terminal device can use the air interface resources corresponding to the air interface resource information to transmit the data packet to the base station when the data packet is generated. In this way, the terminal device can determine the time information for transmitting the data packet to the base station before transmitting the data packet and notify the base station, so that the base station allocates air interface resources for the terminal device and sends the air interface resource information at the corresponding time. Thus, the base station allocates air interface resources only when the terminal device needs to transmit data packets, and does not allocate air interface resources when the terminal device does not need to transmit data packets. Simultaneously, since the base station pre-allocates air interface resources for transmitting data packets to the terminal device... When data packets need to be sent, the terminal device can utilize pre-allocated air interface resources to transmit them. Compared to traditional technologies, this reduces uplink data packet transmission latency and avoids wasting air interface resources. Furthermore, since the base station does not allocate air interface resources when the terminal device is not transmitting data packets, the terminal device does not need to send data packets without uplink data to the base station, thus saving power consumption.
[0007] Optionally, after sending the first message to the base station, the terminal device may also send a second message to the base station. This second message notifies the base station that the terminal device is about to send a data packet. The first transmission time information may include the interval between the terminal device sending the second message and the terminal device sending the data packet, i.e., the time between the terminal device sending the second message and sending the data packet. Accordingly, based on the interval included in the first transmission time information, the base station can determine how long after the base station receives the second message will the terminal device send the data packet, thereby allocating air interface resources to the terminal device and sending air interface resource information at the corresponding time, so that the terminal device can send the data packet according to the air interface resource information.
[0008] Optionally, the terminal device can also estimate the size of the data packet to be transmitted and notify the base station via a second message. The terminal device can predict the size of the data packet based on its transmission characteristics, such as predicting the size of the data packet to be transmitted based on the size of historically transmitted data packets. The terminal device can send the predicted data packet size to the base station in the second message so that the base station can allocate air interface resources to the terminal device based on the determination of the data packet size.
[0009] Optionally, when the second message includes the size of the data packet, the second message may be a Buffer Status Report (BSR) message.
[0010] Optionally, the first message may be a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
[0011] Optionally, when the first message is an RCC message, the data content portion of the first message may include the aforementioned first transmission time information.
[0012] Optionally, when the first message is a MAC message, the first message may include an index field and a logical channel identifier (LCID) field. The index field can indicate that the LCID field includes first transmission time information, and the LCID field may include the first transmission time information. For example, the first transmission time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier for that reserved field. In this way, the base station can determine that the LCID field includes the first transmission time information based on the index field of the first message, and thus determine the first transmission time information based on the LCID field.
[0013] Optionally, the terminal device may also include both the first transmission time information and the data packet size in the first message. The first transmission time information includes a first interval time, which is the time interval between the terminal device sending the first message to the base station and sending the data packet to the base station; that is, the time interval between the terminal device sending the first message and the data packet. The terminal device can predict the data packet size based on the data packet transmission characteristics and send the data packet size and the first transmission time information to the base station in the first message. Thus, after receiving the first message, the base station can determine how long after the terminal device will send the data packet to the base station based on the first interval time, and determine the air interface resources to allocate to the terminal device based on the data packet size. In this way, before the terminal device sends the data packet to the base station, it can receive the air interface resource information sent by the base station, and thus use the air interface resources corresponding to the air interface resource information to send the data packet to the base station.
[0014] Optionally, when the first message includes the first transmission time information and the size of the data packet, the first message can be a BSR message, such as a MAC message.
[0015] Optionally, when the first message is a BSR message, the first message may include an index field and an LCID field. The LCID field carries the first transmission time information and the size of the data packet, while the index field indicates that the LCID field includes the first transmission time information and the size of the data packet.
[0016] Optionally, if the first message is a BSR message, the terminal device needs to first send a Scheduling Request (SR) message to the base station and receive an uplink grant message from the base station. Then, the terminal device can predict the second transmission time information, which is the interval between the terminal device sending the SR message to the base station and sending a data packet to the base station. This second transmission time information is equal to the sum of the first time interval and the second time interval, which is the interval between the terminal device sending the SR message and sending the BSR message. The terminal device can also predict the second time interval. Based on the second time interval and the second transmission time information, the terminal device can determine the first time interval and obtain the first transmission time information. When sending the first message, the terminal device can send the first message to the base station according to the second transmission time information. Thus, considering the impact of the time difference between the terminal device sending the SR message and sending the BSR message, the prediction accuracy is improved, further saving air interface resources.
[0017] Secondly, embodiments of this application provide a transmission method applied to a base station, comprising the following steps: First, the base station receives a first message from a terminal device. This first message includes first transmission time information for a data packet, i.e., the time information at which the terminal device sends a data packet to the base station. This first transmission time information can be obtained by the terminal device based on the transmission characteristics of the data packet. The size of the data packet can be predicted by the terminal device based on the transmission characteristics of the data packet. Based on the first transmission time information, the base station can determine when the terminal device will send a data packet to the base station, thereby allocating air interface resources to the terminal device at the corresponding time and sending air interface resource information to the terminal device. The air interface resources corresponding to this air interface resource information are used by the terminal device to send data packets to the base station. Before sending the data packet, the terminal device can receive the air interface resource information sent by the base station, thereby using the air interface resources corresponding to the air interface resource information to send the data packet to the base station. In this way, the base station allocates air interface resources to the terminal device based on the time the terminal device sends the data packet, i.e., air interface resources are allocated only when the terminal device needs to send data packets, and not when the terminal device does not need to send data packets, thus saving air interface resources.
[0018] Optionally, the base station can also receive a second message from the terminal device, indicating that the terminal device is about to send a data packet to the base station. The first transmission time information can then include the interval between the terminal device sending the second message and sending the data packet, i.e., the time interval between the terminal device sending the second message and sending the data packet. Accordingly, after receiving the second message, the base station can determine, based on the first transmission time information, how long after the terminal device will send the data packet, and allocate air interface resources to the terminal device at the corresponding time and send air interface resource information so that the terminal device can send the data packet according to the air interface resource information.
[0019] Optionally, the second message may include the size of the data packet, which can be predicted by the terminal device based on the transmission characteristics of the data packet. Therefore, before sending the allocated air interface resource information to the terminal device, the base station can also determine the air interface resources required for the terminal device to send the data packet based on the data packet size, thereby determining the corresponding air interface resource information.
[0020] Optionally, when the second message includes the size of the data packet, the second message may be a Buffer Status Report (BSR) message.
[0021] Optionally, the first message can be an RRC message or a MAC message.
[0022] Optionally, when the first message is an RCC message, the data content portion of the first message may include the aforementioned first transmission time information.
[0023] Optionally, when the first message is a MAC message, the first message may include an index field and an LCID field. The index field can be used to indicate that the LCID field includes first transmission time information, and the LCID field may include the first transmission time information. For example, the first transmission time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier of that reserved field. In this way, the base station can determine that the LCID field includes the first transmission time information based on the index field of the first message, and thus determine the first transmission time information based on the LCID field.
[0024] Optionally, the first transmission time information may include a first interval time, which is the interval between the terminal device sending the first message to the base station and sending a data packet to the base station, i.e., the time interval between the terminal device sending the first message and sending the data packet. Then, based on the first transmission time information and the time when the terminal device sent the first message, the base station can determine how long afterward the terminal device will send a data packet to the base station, and thus allocate air interface resource information to the terminal device after receiving the first message from the terminal device within the first interval time.
[0025] Optionally, the first message may also include the size of the data packet. In this way, upon receiving the first message, the base station can not only determine the time when the terminal device sends the data packet, but also determine how much air interface resources the terminal device needs to send the data packet, thereby determining the corresponding air interface resource information.
[0026] Optionally, when the first message includes the first transmission time information and the size of the data packet, the first message can be a BSR message, such as a MAC message.
[0027] Optionally, when the first message is a BSR message, the first message may include an index field and an LCID field. The LCID field carries the first transmission time information and the size of the data packet, while the index field indicates that the LCID field includes the first transmission time information and the size of the data packet.
[0028] Thirdly, this application provides a transmission method applied to a terminal device, such as a mobile terminal device like a mobile phone or tablet. The method includes the following steps: First, the terminal device acquires the transmission characteristics of a data packet, which may include features such as the historical time of the data packet transmission. Next, the terminal device obtains the transmission time information of the data packet based on the transmission characteristics. This transmission time information is the time information when the terminal device sends the data packet to the base station, for example, the moment the terminal device sends the data packet to the base station. Based on the transmission time information of the data packet, the terminal device can determine the transmission time of a first message. The first message is used to acquire air interface resource information. The base station can allocate air interface resources to the terminal device and send the air interface resource information based on the first message. In response to the arrival of the transmission time of the first message, the terminal device can send the first message to the base station so that the base station can allocate air interface resources to the terminal device. Thus, before sending the data packet, the terminal device can predict the time of transmission and determine the transmission time of the first message based on the time of transmission of the data packet. Before the arrival of the transmission time of the first message, the terminal device does not request the allocation of air interface resources from the base station. Only after the arrival of the first message does the terminal device request the allocation of air interface resources from the base station. In this way, the terminal device requests air interface resources from the base station only before sending data packets, and the base station allocates air interface resources only when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets. Compared with traditional technologies, this saves air interface resources. In addition, since the base station can determine the air interface resource information after receiving the first message without waiting, this method reduces modifications to the base station.
[0029] Optionally, the terminal device may also predict the size of the data packet based on the transmission characteristics of the data packet, and send the size of the data packet to the base station in the first message, so that the base station can determine the air interface resource information based on the size of the data packet to be transmitted.
[0030] Optionally, when the first message includes the size of the data packet, the first message is a Buffer Status Report (BSR) message.
[0031] Fourthly, embodiments of this application provide a transmitting apparatus that can be applied to a terminal device, comprising: a processing unit, configured to acquire transmission characteristics of a data packet; and to obtain first transmission time information of the data packet based on the transmission characteristics, wherein the first transmission time information is the time information at which the terminal device sends the data packet to a base station; and a transmitting unit, configured to send a first message to the base station, wherein the first message includes the first transmission time information, and the first message is configured to instruct the base station to send allocated air interface resource information to the terminal device based on the first transmission time information, wherein the air interface resource information corresponds to the air interface resources used by the terminal device to send the data packet to the base station.
[0032] Optionally, the first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; the transmission unit is further configured to send the second message to the base station.
[0033] Optionally, the processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, wherein the second message includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information.
[0034] Optionally, when the second message includes the size of the data packet, the second message is a Buffer Status Report (BSR) message.
[0035] Optionally, the first message is a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
[0036] Optionally, the data content of the RRC message includes the first sending time information.
[0037] Optionally, the MAC message includes an index field and an LCID field, wherein the value of the index field is used to indicate that the LCID field includes the first transmission time information.
[0038] Optionally, the first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station; the processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, the first message also includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information.
[0039] Optionally, the first message is a Buffer Status Report (BSR) message.
[0040] Optionally, the BSR message includes an index field and an LCID field, wherein the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
[0041] Optionally, the processing unit is further configured to predict second transmission time information of the data packet based on the transmission characteristics of the data packet, wherein the second transmission time information is the sum of the first interval time and the second interval time, and the second interval time is the interval time between the terminal device sending the scheduling request (SR) message to the base station and sending the BSR message; obtain the first transmission time information based on the second transmission time information and the second interval time; and the sending unit is configured to send a first message to the base station based on the second transmission time information.
[0042] Fifthly, embodiments of this application provide a transmitting apparatus that can be applied to a base station, comprising: a receiving unit for receiving a first message from a terminal device, the first message including first transmission time information of a data packet, wherein the first transmission time information of the data packet is the time information of the terminal device sending the data packet to the base station; and a processing unit for sending allocated air interface resource information to the terminal device according to the first transmission time information, wherein the air interface resource information corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station.
[0043] Optionally, the first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; the receiving unit is further configured to receive the second message from the terminal device; and the processing unit is further configured to send allocated air interface resource information to the terminal device after the interval.
[0044] Optionally, the second message includes the size of the data packet predicted by the terminal device; the processing unit is configured to determine the air interface resource information based on the size of the data packet.
[0045] Optionally, the second message is a Buffer Status Report (BSR) message.
[0046] Optionally, the first message is a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
[0047] Optionally, the data content of the RRC message includes the first sending time information.
[0048] Optionally, the MAC message includes an index field and an LCID field, wherein the value of the index field is used to indicate that the LCID field includes the first transmission time information.
[0049] Optionally, the first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station.
[0050] The processing unit is configured to send allocated air interface resource information to the terminal device after the interval time following the receipt of the first message from the terminal device.
[0051] Optionally, the first message may also include the size of the data packet predicted by the terminal device;
[0052] The processing unit is used to determine the air interface resource information based on the size of the data packet.
[0053] Optionally, the first message is a Buffer Status Report (BSR) message.
[0054] Optionally, the BSR message includes an index field and an LCID field, wherein the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
[0055] Sixthly, embodiments of this application provide a transmitting apparatus located in a terminal device, comprising: a processing unit configured to acquire transmission characteristics of a data packet; obtain transmission time information of the data packet based on the transmission characteristics, wherein the transmission time information is the time information at which the terminal device sends the data packet to a base station; and determine the transmission time of a first message based on the transmission time information of the data packet; and a transmitting unit configured to transmit the first message in response to the arrival of the transmission time of the first message, wherein the first message is used to acquire air interface resource information, wherein the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
[0056] Optionally, the processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, wherein the first message includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information.
[0057] Optionally, the first message is a Buffer Status Report (BSR) message.
[0058] In a seventh aspect, embodiments of this application provide a communication system including a terminal device, which can be used to execute the transmission method described in the first or third aspect above.
[0059] Eighthly, embodiments of this application provide a communication system including a base station, which can be used to execute the transmission method described in the second aspect above.
[0060] Ninthly, embodiments of this application provide a terminal device including at least one processor coupled to at least one memory: the at least one processor is configured to execute a computer program or instructions stored in the at least one memory, causing the terminal device to perform the transmission method described in the first or third aspect above.
[0061] In a tenth aspect, embodiments of this application provide a base station device, including at least one processor coupled to at least one memory: the at least one processor is configured to execute a computer program or instructions stored in the at least one memory, causing the base station to perform the transmission method described in the second aspect above.
[0062] Eleventhly, embodiments of this application provide a computer-readable storage medium including a computer program that, when run on a computer, causes the computer to perform the message sending method described in the first aspect.
[0063] In a twelfth aspect, embodiments of this application provide a computer-readable storage medium including a computer program that, when run on a computer, causes the computer to perform the message sending method described in the first aspect or the message processing method described in the second aspect.
[0064] In a thirteenth aspect, embodiments of this application provide a chip located in a terminal device, the chip including a processor and an interface circuit; the interface circuit is used to receive instructions and transmit them to the processor; the processor is used to execute the transmission method described in the first or third aspect above. Attached Figure Description
[0065] Figure 1 This is a schematic diagram of the network architecture of system 10 provided in an embodiment of this application;
[0066] Figure 2 An interactive schematic diagram of a sending method provided in an embodiment of this application;
[0067] Figure 3 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0068] Figure 4 This is a schematic diagram of the network architecture of system 400 provided in an embodiment of this application;
[0069] Figure 5 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0070] Figure 6 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0071] Figure 7 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0072] Figure 8 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0073] Figure 9 Another interactive schematic diagram of a sending method provided in an embodiment of this application;
[0074] Figure 10 This is a schematic diagram of the structure of the transmitting device 1000 provided in the embodiments of this application;
[0075] Figure 11 This is a schematic diagram of the structure of the transmitting device 1100 provided in the embodiments of this application;
[0076] Figure 12 This is a schematic diagram of the structure of the transmitting device 1200 provided in the embodiments of this application;
[0077] Figure 13 This is a schematic diagram of the structure of a terminal device 1300 provided in an embodiment of this application;
[0078] Figure 14 This is a schematic diagram of the structure of a terminal device 1400 provided in an embodiment of this application;
[0079] Figure 15 This is a schematic diagram of the structure of a base station 1500 provided in an embodiment of this application;
[0080] Figure 16 This is a schematic diagram of the structure of a base station 1600 provided in an embodiment of this application. Detailed Implementation
[0081] The following description, in conjunction with the accompanying drawings, introduces the conventional techniques and the transmission methods and apparatus provided by the embodiments of this application.
[0082] In wireless communication networks, terminal devices send uplink data to servers via base stations. Specifically, terminal devices can send uplink data to the base station in the form of data packets. The base station can receive data packets and forward them to the corresponding server. After receiving the data packets from the base station, the server can send an acknowledgment message to the base station, so that the base station can forward the acknowledgment message to the terminal device. In enhanced mobile broadband (eMBB) services such as gaming, VR, and AR, the interaction between terminal devices and servers is more frequent, requiring high round-trip time (RTT). RTT refers to the total time required from when the terminal device sends uplink data to when the terminal device receives the acknowledgment message from the server. Obviously, for eMBB services, the lower the RTT, the better the user experience.
[0083] Therefore, in traditional air interface resource allocation methods, base stations can reserve air interface resources for terminal devices, allocating resources even when it's uncertain whether the terminal device has uplink data to send. If the terminal device generates uplink data, it can use the allocated air interface resources to send that data to the base station. Since the terminal device doesn't need to send a BSR message to request air interface resource allocation after uplink data is generated, nor wait for a ULgrant message reply, it can send uplink data earlier, and the base station can receive it earlier, reducing uplink data transmission latency. Due to the reduced uplink latency, the server can receive and respond to the terminal device's uplink data more quickly, and the terminal device can receive the server's response data faster. Thus, by pre-allocating air interface resources to the terminal device, data transmission latency can be reduced, thereby reducing RTT and improving user experience.
[0084] However, even when the terminal device does not need to send uplink data, the base station still allocates air interface resources to it. These air interface resources are not fully utilized, resulting in waste. Furthermore, in some scenarios, if the base station allocates air interface resources to the terminal device, even if the terminal device does not need to send uplink data, it will still send data packets without uplink data to the base station through the air interface resources, increasing the terminal device's power consumption.
[0085] To address the aforementioned issues of wasted air interface resources, embodiments of this application provide a transmission method and apparatus that can allocate air interface resources to terminal devices according to their actual needs, thereby avoiding waste of air interface resources.
[0086] Figure 1 This is a schematic diagram of the architecture of system 10 provided in an embodiment of this application. Figure 1As shown, the system 10 includes a terminal device 11 and a base station 12. The terminal device 11 is connected to the base station 12 and can transmit data to each other.
[0087] In the embodiments of this application, the terminal device 11, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), terminal, etc., is a device that provides voice and / or data connectivity to a user, or a chip set in the device, such as a handheld device or vehicle-mounted device with wireless connectivity. Examples of current terminal devices include: mobile phones, desktop computers, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and 5G-residential gateways (5G-RG) that support 5G access.
[0088] Base station 12 can be an evolved Nobe B (eNobeB) or a next-generation Nobe B (NG NobeB) base station. Accordingly, the transmission method provided in this application embodiment can be applied to fourth-generation mobile communication technology (4G) networks or 5G networks.
[0089] Figure 2 This is an interactive schematic diagram of a sending method provided in an embodiment of this application. The sending method provided in this embodiment includes the following steps:
[0090] S201: Transmission characteristics of data packets obtained by the terminal device.
[0091] Before sending data packets, the terminal device can first obtain the transmission characteristics of the data packets. These data packets can be uplink data packets sent by the terminal device to the base station, such as video data packets uploaded by the terminal device, or data packets generated by the terminal device based on user actions such as clicks or swipes. The transmission characteristics of the data packets represent the historical patterns of data packet transmission by the terminal device; for example, they can include the timestamps of the terminal device sending the previous N data packets (N being a positive integer greater than 1).
[0092] In this embodiment, the terminal device can record the time when a data packet is sent each time it is sent. Therefore, before sending the (N+1)th data packet, the terminal device can query the times of sending the previous N data packets to determine the transmission characteristics of the (N+1)th data packet.
[0093] In some possible implementations, the terminal device includes a processor and a modem. The processor can be a central processing unit (CPU) or similar device, used to process data it generates or receives. The modem can be a baseband chip or similar device, used to communicate with the base station or other external devices. During the process of the terminal device sending data packets to the base station, the processor can transmit the data packets to the network layer device, and the modem can send data packets to the base station. The network layer device of the terminal device can then record the data packets it receives from the application layer device, including the time information of the received data packets, to obtain the transmission characteristics of the data packets.
[0094] S202: The terminal device obtains the first transmission time information of the data packet based on the transmission characteristics.
[0095] After acquiring the transmission characteristics of the data packet, the terminal device can determine the first transmission time information of the data packet based on the transmission characteristics. This first transmission time information is the time information at which the terminal device sends the data packet to the base station. When determining the first transmission time information, the terminal device can determine the time interval between sending two adjacent data packets based on the transmission characteristics, and then determine the first transmission time information based on this time interval; alternatively, it can determine the time interval between the current moment and the time the terminal device sends the data packet based on the transmission characteristics, and then determine the first transmission time information based on this time interval.
[0096] The following sections will provide a detailed introduction to these two methods for determining the first transmission time information.
[0097] For services with regular uplink data transmission, such as uplink video services, terminal devices can send data packets to the base station at equal intervals; that is, the time interval between two data packet transmissions by the terminal device is relatively fixed. Therefore, by analyzing the timing of data packet transmissions, the terminal device can determine the time interval between two adjacent data packets, thus obtaining the first transmission time information.
[0098] For example, suppose a terminal device sends video data to a base station, and the video has 30 frames per second. The terminal device sends 30 data packets per second at equal intervals, each data packet corresponding to one data frame of the video. That is, the terminal device sends one data packet to the base station every 1 / 30 = 33.33 ms, and the time interval between data packet transmissions is 33.33 ms. Therefore, by analyzing the transmission characteristics, the terminal device can determine that the time interval between the first N data packets is 33.33 ms, thus determining that the (N+1)th data packet will be sent 33.33 ms after the Nth data packet, thereby obtaining the first transmission time information.
[0099] Optionally, after determining the time interval for sending two adjacent data packets, the terminal device can determine the first transmission time information based on this time interval and the time of sending the second message, using the interval between sending the second message and sending the data packet as the first transmission time information. For details on sending the second message and the specific calculation method, please refer to [link to relevant documentation]. Figure 3 The description of the corresponding embodiments will not be repeated here.
[0100] For services like upstream gaming where upstream data transmission lacks regularity, while the transmission of data packets is irregular, their generation is largely predictable. Therefore, by analyzing the data packet generation process, the terminal device can determine the time interval between the current moment and the transmission of the data packet, thus obtaining the first transmission time information.
[0101] Taking gaming as an example, after detecting a user tapping the screen or performing other operations, the terminal device can parse the user's action, generate corresponding operation instructions, and generate data packets. In other words, the terminal device generates data packets after detecting a user action. Thus, after detecting a user action, the terminal device can use the time interval between detecting the user action and sending the data packet from historical data as the transmission characteristic of the data packet. By analyzing this transmission characteristic, the terminal device can determine the time interval between detecting the user action and sending the data packet, that is, the time interval from the current moment until the user sends the data packet.
[0102] Optionally, after the time interval between the current moment and the user sending the data packet, the terminal device can determine the first sending time information based on this time interval and the time required to send the first message, using the time between sending the first message and sending the data packet as the first sending time information. For specific calculation methods, please refer to [link to relevant documentation]. Figure 6 The description of the corresponding embodiments will not be repeated here.
[0103] In some possible implementations, the terminal device can predict the timing of the data packet based on the transmission characteristics of the data packet, and directly use the timing of sending the data packet as the first transmission time information.
[0104] In the embodiments of this application, the methods for determining the first transmission time information described above can all be implemented through a model. The terminal device can pre-establish a prediction model, the input of which is the transmission characteristics of the data packet, and the output is the first transmission time information. Thus, when it is necessary to determine the first transmission time information, the terminal device can input the transmission characteristics of the data packet into the prediction model to obtain the first transmission time information.
[0105] S203: The terminal device sends a first message to the base station, the first message including first transmission time information.
[0106] After determining the first transmission time information, the terminal device can send a first message to the base station. This first message carries the first transmission time information, allowing the base station to allocate air interface resources to the terminal device based on this information. In one possible implementation, the terminal device can send the first message to the base station via a wireless connection.
[0107] S204: The base station allocates air interface resources to the terminal device based on the first transmission time information.
[0108] A base station can receive a first message sent by a terminal device using a physical antenna or a virtual antenna, and obtain first transmission time information from the first message. Based on the first transmission time information, the base station can determine the time when the terminal device sends data packets to the base station, and thus allocate air interface resources to the terminal device. For example, assuming the first transmission time information indicates that the terminal device will send data packets to the base station at the first moment, the base station can allocate air interface resources to the terminal device at that first moment.
[0109] S205: The base station sends the allocated air interface resource information to the terminal equipment.
[0110] After allocating air interface resources to a terminal device, the base station can send the allocated air interface resource information to the terminal device, allowing the terminal device to determine the allocated air interface resources based on this information. The air interface resources corresponding to the air interface resource information are used by the terminal device to send data packets to the base station; that is, the air interface resources allocated by the base station to the terminal device. Based on the air interface resource information, the terminal device can utilize the allocated air interface resources to send data packets. For example, assuming the base station allocates air interface resources for frequency band A to the terminal device, the air interface resource information can carry information related to frequency band A. The terminal device can determine that frequency band A is the air interface resource allocated to it by the base station based on the air interface resource information, and thus use frequency band A to send data packets to the base station.
[0111] This application provides a transmission method. Before sending a data packet, the terminal device can first obtain the transmission characteristics of the data packet and predict the time to send the data packet based on the transmission characteristics. Then, it sends a first message including first transmission time information to the base station, notifying the base station of the time to send the data packet. After receiving the first message, the base station can determine the time to allocate air interface resources to the terminal device based on the first transmission time information, thereby allocating air interface resources to the terminal device and notifying the terminal device through air interface resource information. Allocating air interface resources to the terminal device based on the first transmission time information is equivalent to allocating air interface resources to the terminal device based on the time the terminal device sends the data packet. In this way, the base station only allocates air interface resources when the terminal device needs to send a data packet. Compared to traditional technologies, this application saves air interface resources because the base station does not allocate air interface resources to the terminal device when the terminal device does not need to send data packets. Simultaneously, since the base station pre-allocates air interface resources for sending data packets to the terminal device, when there is a data packet to be sent, the terminal device can use the pre-allocated air interface resources to send the data packet, reducing the uplink data packet transmission latency. In addition, since the base station does not allocate air interface resources when the terminal device is not sending data packets, the terminal device does not need to send data packets that do not contain uplink data to the base station, thus saving the terminal device's power consumption.
[0112] by Figure 1The system shown is illustrated below. Terminal device 11 sends a video to base station 12. The video has 30 frames per second, a resolution of 480P, and a fixed bitrate. Terminal device 11 sends a data packet to base station 12 every 33.33ms. Before sending the Xth data packet (X is a positive integer greater than 1), terminal device 12 can obtain the timestamps of the previous X-1 data packets as the transmission characteristics of the Xth data packet. By analyzing the transmission characteristics of the Xth data packet, terminal device 11 can determine that the time of sending the Xth data packet is 33.33ms after sending the X-1 data packet; that is, the first transmission time information is 33.33ms after sending the X-1 data packet. Terminal device 11 can then send a first message to base station 12, notifying base station 12 of this first transmission time information. Based on the first transmission time information, base station 12 can determine that the Xth data packet will be transmitted 33.33ms after the (X-1)th data packet is transmitted. Therefore, 33.33ms after terminal device 11 transmits the (X-1)th data packet, base station 12 allocates air interface resources to terminal device 11 and sends air interface resource information to terminal device 11. Terminal device 11 can determine the air interface resources allocated by base station 12 based on the air interface resource information, and thus use the air interface resources to transmit the Xth data packet to base station 12. In this way, from the time terminal device 11 transmits the (X-1)th data packet until it transmits the Xth data packet, base station 12 does not allocate air interface resources to terminal device 11. This is equivalent to base station 12 not allocating air interface resources to terminal device 11 when it is not transmitting data packets, thus avoiding waste of air interface resources.
[0113] In this embodiment, considering the time required for sending and transmitting air interface resource information, the base station can send the air interface resource information to the terminal device in advance, thereby ensuring that the terminal device receives the air interface resource information before sending data packets. For example, assuming the terminal device needs to send data packets to the base station at a first moment, and the total time required for the base station to send air interface resource information and for the terminal device to receive the air interface resource information is a first time interval, then the base station can determine a second moment based on the first moment and the first time interval, and allocate air interface resources to the terminal device and send the air interface resource information at the second moment. This ensures that the terminal device receives the air interface resource information before sending data packets, thereby determining the air interface resources used for sending data packets.
[0114] In practical applications, the terminal device can also predict the size of the data packet and send it to the base station, so that the base station can determine the air interface resources allocated to the terminal device based on the size of the data packet. In the embodiments of this application, the terminal device can notify the base station of the size of the data packet to be sent by sending a second message, or it can carry the size of the data packet in the first message. The two implementation methods are described below.
[0115] First, we will introduce the method by which the terminal device sends the second message to the base station. (See also...) Figure 3 , Figure 3 This is an interactive schematic diagram of a sending method provided in an embodiment of this application. The sending method includes the following steps:
[0116] S301: Transmission characteristics of data packets acquired by the terminal device.
[0117] Before sending a data packet, the terminal device can obtain the transmission characteristics of the data packet. The definitions of the data packet and the transmission characteristics are shown in step S201, and will not be repeated here.
[0118] Considering the need to predict the size of data packets, in this embodiment of the application, the transmission characteristics of data packets may also include the size of the data packets, for example, the size of each data packet in the first N data packets (N is a positive integer greater than 1) sent by the terminal device.
[0119] S302: The terminal device obtains the first transmission time information of the data packet based on the transmission characteristics of the data packet.
[0120] In this embodiment, the first transmission time information may include the interval between the terminal device sending the second message to the base station and the time it sends the data packet to the base station, i.e., the time difference between the moment the terminal device sends the second message and the moment it sends the data packet. For example, assuming the terminal device sends a data packet to the base station every 33.33 ms, and sends the second message to the base station 1 ms before sending each data packet, then the interval time can be (T-1)-(T+33.33-1)=33.33 ms. Here, T represents the moment the terminal device transmitted the previous data packet.
[0121] The specific method for predicting the first transmission time information based on the transmission characteristics of the data packet in step S302 can be found in [reference needed]. Figure 2 The description of S202 in the corresponding embodiment will not be repeated here.
[0122] S303: The terminal device sends a first message to the base station, the first message including first transmission time information.
[0123] Please refer to the relevant content of step S303. Figure 2 The description of S203 in the corresponding embodiment will not be repeated here.
[0124] In this embodiment, the first message can be a Radio Resource Control (RRC) message or a Media Access Control (MAC) message, etc. When the first message is an RRC message, the terminal device can carry the first transmission time information in the data content portion of the first message. When the first message is a MAC message, the first message can include an index field and a logical channel identifier (LCID) field. The LCID field can carry the first transmission time information, and the value of the index field is used to indicate that the LCID field includes the first transmission time information.
[0125] Optionally, when the first message is a MAC message, the terminal device can carry the first transmission time information in the reserved field of the LCID field. For example, the first transmission time information can be carried using the LCID field with index 33. The terminal device can set the value of the LCID field with index 33 of the first message to the first transmission time information. In this way, after receiving the first message, the base station can determine from the index field that the LCID field with index 33 includes the first transmission time information, and then extract the first transmission time information from the first message.
[0126] S304: The terminal device predicts the size of the data packet based on the transmission characteristics of the data packet.
[0127] When the transmission characteristics of a data packet also include the size of data packets previously transmitted by the terminal device, the terminal device can predict the size of the data packet based on these transmission characteristics. The size of the data packet represents the amount of information carried within it, and its unit can be bits (b), bytes (B), or kilobytes (kB), etc. For example, assuming the first N data packets transmitted by the terminal device are of the same size, the terminal device can determine that the size of the current data packet is consistent with the first N data packets. Similar to step S202, the terminal device can also determine the size of the data packet using a prediction model.
[0128] Let's take the example of a terminal device sending video data packets to a base station. Assume the terminal device is sending video to the base station, and the video has 30 frames per second (fps) and a bitrate of 3000 kB per second (kbps). This means the video has 30 frames per second, and the total data transmitted per second is 3000 kB. Therefore, the terminal device will send a data packet to the base station every 1 / 30 = 33.33 milliseconds (ms). The size of this data packet is 3000 ÷ 30 = 100 kB. By analyzing the transmission characteristics of the data packets, the prediction model can determine that the terminal device sends a 100 kB data packet to the base station every 33.33 ms. That is, the time interval between data packet transmissions by the terminal device is 33.33 ms, and the size of the data packet is 100 kB.
[0129] In some possible implementations, the size of the data packet can also be the average or maximum size of the first N data packets sent by the terminal device.
[0130] It should be noted that, in the embodiments of this application, step S304 can be executed after step S303 or before step S303.
[0131] S305: The terminal device sends a second message to the base station, the second message including the size of the data packet.
[0132] After sending the first message to the base station, the terminal device can send a second message to the base station. This second message includes the size of the data packet, so that the base station can allocate air interface resources to the terminal device based on the data packet size. Optionally, the second message is a BSR message, which the terminal device sends to the base station through the wireless connection with the base station.
[0133] S306: The base station allocates air interface resources to the terminal device based on the first transmission time information and the size of the data packet.
[0134] A base station can receive a first message sent by a terminal device using a physical antenna or a virtual antenna, and obtain first transmission time information from the first message. Based on the first transmission time information, the base station can determine the time when the terminal device sends a data packet to the base station, and thus determine the time to allocate air interface resources to the terminal device. Based on the size of the data packet, the base station can determine the frequency band required for the terminal device to send the data packet to the base station, and thus determine the frequency band of the air interface resources allocated to the terminal device. In this way, when the terminal device sends a data packet, the base station can allocate air interface resources corresponding to the data packet for the terminal device.
[0135] S307: The base station sends the allocated air interface resource information to the terminal equipment.
[0136] Please refer to the relevant content of step S307. Figure 2 The description of S205 in the corresponding embodiment will not be repeated here.
[0137] When a terminal device needs to send multiple data packets of similar size to the base station at equal intervals, the terminal device can first send a first message to the base station, and then send a second message before each data packet transmission to inform the base station of the size of the data packet to be sent. Correspondingly, after receiving the first message, the base station can determine the time interval between the terminal device sending the second message and the terminal device sending the data packet. Thus, upon receiving the second message, the base station can determine that the terminal device is sending a data packet and allocate air interface resources to it. In this way, the base station does not allocate air interface resources to the terminal device when it is not sending data packets, saving base station air interface resources. Furthermore, when the terminal device needs to send N data packets, it only needs to send a first message to the base station before sending the first data packet and a second message before sending each data packet, without needing to send a first message with each data packet transmission. This reduces the amount of data interaction between the terminal device and the base station for services with regular uplink data, alleviating the pressure on both the terminal device and the base station.
[0138] by Figure 4 The system 400 shown is used as an example for illustration. See also... Figure 4 The system 400 includes a terminal device 410 and a base station 420. The terminal device 410 includes a processor 411 and a baseband chip 412. The processor 411 is used to run applications and generate uplink data packets. The baseband chip 412 is used to send the uplink data packets generated by the processor 411 to the base station 420.
[0139] exist Figure 4 The system 400 shown is executing Figure 3 In the transmission method shown, the signaling interaction between the processor 411, the baseband chip 412, and the base station 420 can be as follows: Figure 5 As shown, it includes the following steps:
[0140] S501: Processor 411 acquires the transmission characteristics of data packets.
[0141] The processor 411 in the terminal device 410 can generate data packets and send them to the base station 420 via the baseband chip 412. Before generating the data packets, the processor 411 can acquire the transmission characteristics of the data packets. For a detailed description of the transmission characteristics of the data packets, please refer to [link to relevant documentation]. Figure 3 The description of S301 in the corresponding embodiment will not be repeated here.
[0142] S502: The processor 411 obtains the first transmission time information of the data packet based on the transmission characteristics of the data packet.
[0143] In this embodiment, the processor 411 can predict the transmission time of the data packet based on its transmission characteristics, thereby obtaining first transmission time information of the data packet. This first transmission time information is the interval between the baseband chip 412 sending the second message to the base station 420 and the terminal device 410 sending the data packet to the base station 420. For example, it can be the time interval between the baseband chip 412 sending the second message and sending the data packet, i.e., the interval between step S507 and step S512. In one example, the content of the first transmission time information can be: 10ms after sending the second message, the baseband chip 412 sends the data packet to the base station 420.
[0144] Of course, in some possible implementations, the first transmission time can also be the interval between the baseband chip 412 sending the second message to the base station 420 and the processor 411 sending a data packet to the baseband chip 412, that is, the interval between steps S507 and S511. For example, the content of the first transmission time information can be: 10ms after the baseband chip 412 sends the second message to the base station 420, the processor 411 sends a data packet to the baseband chip 412. Alternatively, it can also be the interval between the baseband chip 412 sending the second message to the base station 420 and the baseband chip 412 receiving the data packet sent by the processor 411.
[0145] For a detailed description of determining the first sending time, please refer to [link / reference needed]. Figure 3 The description of S302 in the corresponding embodiment will not be repeated here.
[0146] S503: The processor 411 notifies the baseband chip 412 of the first transmission time information.
[0147] After determining the first transmission time information, the processor 411 can notify the baseband chip 412 of the first transmission time information so that the baseband chip 412 can send the first message to the base station 420.
[0148] S504: Baseband chip 412 sends the first message to base station 420.
[0149] After receiving the first transmission time information, the baseband chip 412 can send a first message to the base station 420. For a detailed description of sending the first message, please refer to [link to relevant documentation]. Figure 3 The description of S304 in the corresponding embodiment will not be repeated here.
[0150] S505: The processor 411 predicts the size of the data packet based on the transmission characteristics of the data packet.
[0151] When it is determined that a data packet is about to be generated, the processor 411 can predict the size of the data packet based on its transmission characteristics. For a detailed description of determining the data packet size, please refer to [link to relevant documentation]. Figure 3 The description of S303 in the corresponding embodiment will not be repeated here.
[0152] S506: The processor 411 notifies the baseband chip 412 of the size of the data packet.
[0153] After determining the size of the data packet to be sent, the processor 411 can notify the baseband chip 412 of the size of the data packet so that the baseband chip 412 can send a second message to the base station 420.
[0154] S507: Baseband chip 412 sends a second message to base station 420.
[0155] After receiving the data packet size, the baseband chip 412 can send a second message to the base station 420. For a detailed description of sending the second message, please refer to [link to relevant documentation]. Figure 3 The description of S305 in the corresponding embodiment will not be repeated here.
[0156] S508: Base station 420 allocates air interface resources to terminal device 410 based on the first transmission time information and the size of the data packet.
[0157] After receiving the second message, the base station 420 can first determine the time when the baseband chip 412 sends the second message based on the second message. Optionally, the baseband chip 412 can add the time of sending the second message to the second message. In this embodiment, the base station 420 can determine the time when the baseband chip 412 sends the second message based on the second message, or it can determine the time when the baseband chip 412 sends the second message based on the time of receiving the second message and the time delay value between the terminal device 410 and the base station 420, or it can use the time of receiving the second message as the time when the baseband chip 412 sends the second message.
[0158] For example, suppose base station 420 receives the second message sent by baseband chip 412 in the 1.001st second (s), and the latency between terminal device 410 and base station 420 is 0.001s (1ms). Then base station 420 can determine that the time when baseband chip 412 sent the second message is 1.001 - 0.001 = 1, that is, baseband chip 412 sent the second message in the first second. Therefore, base station 420 can determine that the first second is the time when baseband chip 412 sent the second message.
[0159] After determining the time when the baseband chip 412 sends the second message, the base station 420 can determine the time to allocate air interface resources to the terminal device 410 based on the first transmission time information and the time when the baseband chip 412 sends the second message. For example, the base station 420 can determine the time after the baseband chip sends the second message and then after the aforementioned interval as the time to allocate air interface resources and send air interface resource information to the terminal device 410.
[0160] For example, suppose the first transmission time information is as follows: 10ms after sending the second message, the baseband chip 412 sends a data packet to the base station 420, and the baseband chip 412 sends the second message in the first second. The base station 420 can determine that the time to allocate air interface resources to the terminal device 410 is 10ms after the baseband chip 412 sends the second message, that is, the 1.01st second. This time is determined as the time to allocate air interface resources and send air interface resource information to the terminal device 410.
[0161] Optionally, considering that transmitting air interface resource information requires a certain amount of time, the base station 420 can also allocate air interface resources and transmit air interface resource information to the terminal device 410 in advance. For example, the base station 420 can allocate air interface resources to the terminal device 410 1ms in advance, that is, allocate air interface resources to the terminal device 410 and transmit air interface resource information at 1.009 seconds.
[0162] In addition, base station 420 can also determine the amount of air interface resources to allocate to terminal devices based on the size of the data packets. For a description of this part, please refer to [link to relevant documentation]. Figure 3 The description of S306 in the corresponding embodiment will not be repeated here.
[0163] S509: Base station 420 sends the allocated air interface resource information to baseband chip 412.
[0164] When allocating air interface resources to terminal device 410, base station 420 can send air interface resource information to baseband chip 412. For a description of sending air interface resource information, please refer to [link to relevant documentation]. Figure 3 The description of S307 in the corresponding embodiment will not be repeated here.
[0165] S510: Processor 411 generates data packets to be sent.
[0166] In this embodiment, the processor 411 can generate a data packet to be sent. This data packet carries uplink data from the terminal device 410, such as video data frames.
[0167] S511: The processor 411 sends the data packet to be sent to the baseband chip 412.
[0168] After generating the data packet to be sent, the processor 411 can send the data packet to the baseband chip 412 so that the baseband chip 412 can send the data packet to the base station.
[0169] It should be noted that steps S510 and S508 are logically separate, meaning they do not have a clear sequential relationship. However, considering that the baseband chip 412 needs to utilize the allocated air interface resources to send data packets, step S511 is executed before step S509. This ensures that the baseband chip 412 has already determined the allocated air interface resource information before receiving the data packet to be sent. In other words, depending on the actual application, step S510 can be executed before step S508, or after step S508 and before step S511.
[0170] S512: Baseband chip 412 uses the allocated air interface resources to send data packets to base station 420.
[0171] Based on the air interface resource information, the baseband chip 412 can determine the air interface resources allocated by the base station 420 to the terminal device 410, and then use the air interface resources to send data packets to the base station 420.
[0172] In this embodiment, by analyzing the transmission characteristics of data packets, the processor 411 can predict the size of the data packet before sending it and send the data packet size to the base station 420 via a second message. It can also predict the time interval between sending the second message and sending the data packet. That is, the processor 411 can not only determine the size of the data packet in advance, but also predict how far in advance it can determine the size. Thus, before sending the second message, the terminal device 410 can notify the base station 420 baseband chip 412 of the time interval between sending the second message and sending the data packet via a first message. After receiving the second message, the base station 420 can determine the time required to allocate air interface resources to the terminal device 410 based on this time interval, and determine the frequency band of the air interface resources allocated to the terminal device 410 based on the second message, thereby allocating the corresponding air interface resources to the terminal device 410 at the corresponding time, saving the base station's air interface resources. When the terminal device 410 needs to send multiple data packets at equal intervals, such as when transmitting video, steps S506-S512 can be executed repeatedly. Each message sent by the terminal device 410 can carry only the data packet size, without needing to include the first transmission time information. This reduces the amount of data interaction between the terminal device and the base station, alleviating the pressure on the equipment.
[0173] It should be noted that the second message may not carry the size of the data packet; it may only be used to trigger the base station to allocate air interface resources. Specifically, the terminal device can send the second message to the base station after predicting the generation of the data packet. Upon receiving the second message, the base station can determine the time when the terminal device sent the second message, and determine the time when the terminal device sent the data packet based on the interval between the time when the terminal device sent the second message and the time when it sent the data packet (i.e., the first transmission time information), thereby allocating a fixed amount of air interface resources to the terminal device at the corresponding time.
[0174] The above describes how the terminal device notifies the base station of the data packet size via a second message. The following describes how the terminal device notifies the base station of the data packet size in the first message. See also... Figure 6 In this embodiment, the terminal device notifies the base station of the size of the data packet to be sent by sending a second message, or by including the size of the data packet in a first message. These two implementation methods are described below. Figure 2 This is an interactive schematic diagram of a sending method provided in an embodiment of this application. The sending method includes the following steps:
[0175] S601: Transmission characteristics of data packets acquired by terminal devices.
[0176] Please refer to the relevant content of step S601. Figure 3 The description of S201 in the corresponding embodiment will not be repeated here.
[0177] S602: The terminal device obtains the first transmission time information and the size of the data packet based on the transmission characteristics of the data packet.
[0178] After obtaining the transmission characteristics of the data packet, the terminal device can predict the time of sending the data packet based on the transmission characteristics, thus obtaining the first transmission time information and the size of the data packet. In this embodiment, the first transmission time information may include a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station, i.e., the time difference between the time the terminal device sends the first message and the time the terminal device sends the data packet. For example, suppose the terminal device determines that it will send the data packet in 20ms, and it takes 1ms to generate and send the first message. Then, the terminal device can determine the first interval time as (T+20)-(T+1)=19ms (where T represents the current time), that is, the terminal device will send the data packet 19ms after sending the first message.
[0179] In some possible implementations, the first message is a BSR message. Therefore, the terminal device needs to first send a Scheduling Request (SR) message to the base station, and can only send the first message after confirming receipt of the UL grant message from the base station. Clearly, sending the SR message, the base station processing the SR message, and sending the UL grant message all consume time, resulting in a time interval between when the terminal device determines the first transmission time information and when the first message is sent. The terminal device cannot determine this first time interval.
[0180] In this scenario, the terminal device can first determine a second time interval. The second time interval is the time between the terminal device sending an SR message to the base station and sending a BSR message. That is, after sending an SR message to the base station, the terminal device receives a UL grant message from the base station and sends a BSR message to the base station. The length of time between sending the SR message and sending the BSR message is the second time interval. In this embodiment, the terminal device can record the time interval between sending the SR message and sending the BSR message when sending the SR message, and calculate the average value of historical time intervals, using this average value as the second time interval. Optionally, the terminal device can also select the maximum value of historical time intervals as the second time interval.
[0181] The terminal device can predict the timing of sending data packets based on the transmission characteristics of the data packets and set the timing of sending SR messages. For example, the terminal device can arbitrarily set the timing of sending SR messages. After determining the timing of sending data packets and the timing of sending SR messages, the terminal device can determine the time difference between the two as the second transmission time information. That is, the second transmission time information is the interval between the terminal device sending SR messages to the base station and sending data packets to the base station.
[0182] It should be noted that the terminal device may determine the second transmission time information first and then determine the second time interval, or it may determine the second time interval first and then determine the second transmission time information. This application does not limit this approach.
[0183] Since the second transmission time information is the interval between the terminal device sending the SR message to the base station and sending the data packet to the base station, it is equivalent to the interval between sending the SR message and sending the first message (BSR message), and then the interval between sending the first message and sending the data packet, i.e., the sum of the first interval and the second interval. Therefore, based on the second transmission time information and the second interval, the terminal device can determine the first interval and obtain the first transmission time information.
[0184] For a description of determining the size of a data packet, please refer to [link / reference].Figure 3 The description of S304 in the corresponding embodiment will not be repeated here.
[0185] S603: The terminal device sends a first message to the base station, the first message including first transmission time information and the size of the data packet.
[0186] After determining the first transmission time information and the size of the data packet, the terminal device can send a first message to the base station. This first message includes the first transmission time information and the size of the data packet, so that the base station can allocate air interface resources to the terminal device based on the first transmission time information. In one possible implementation, the terminal device can send the first message to the base station via a wireless connection.
[0187] In this embodiment, the first message may be a BSR message. Before sending the first message, the terminal device may first send an SR message to the base station so that the base station can allocate air interface resources for the terminal device to send the BSR message. After receiving the UL grant message returned by the base station, the terminal device may send the first message to the base station.
[0188] In some possible implementations, the first message can be a BSR message in MAC message format, including an index field and an LCID field. The LCID field may include the first transmission time information and the size of the data packet. The index field indicates that the LCID field includes the first transmission time information and the size of the data packet. Figure 3 Similar to step S303 in the corresponding embodiment, the terminal device can carry the first transmission time information and the size of the data packet in the reserved field of the LCID. The terminal device can expand the LCID field with index 33 to carry the first transmission time information and the size of the data packet. For example, the terminal device can expand the LCID field with index 33 into two rows, with the first row carrying the first transmission time information and the second row carrying the size of the data packet. Of course, the terminal device can also use two LCID fields to carry the first transmission time information and the size of the data packet respectively.
[0189] Optionally, when the terminal device determines the first transmission time information based on the second time interval and the second transmission time information, the terminal device can send the first message to the base station based on the second transmission time information. Specifically, the terminal device can determine the time to send the SR message based on the second transmission time information, and send the first message to the base station after the second time interval following that time.
[0190] S604: The base station allocates air interface resources to the terminal device based on the first transmission time information and the size of the data packet.
[0191] Please refer to the relevant content of step S604. Figure 2The description of S306 in the corresponding embodiment will not be repeated here.
[0192] S605: The base station sends the allocated air interface resource information to the terminal equipment.
[0193] Please refer to the relevant content of step S605. Figure 4 The description of S205 in the corresponding embodiment will not be repeated here.
[0194] In this embodiment, the terminal device can first predict the first transmission time information and the size of the data packet based on the transmission characteristics of the data packet, and then notify the base station of the time and size of the data packet transmission through a first message. After receiving the first message, the base station can determine the time to allocate air interface resources to the terminal device based on the first transmission time information, and determine the amount of air interface resources allocated to the terminal device based on the size of the data packet. In this way, the base station does not allocate air interface resources to the terminal device when it is not transmitting data packets, thus saving the base station's air interface resources. In addition, for services such as uplink gaming services where uplink data is irregular, even if the time when the terminal device transmits data packets changes continuously, the base station can still allocate air interface resources to the terminal device based on the first message, since the first message carries both the first transmission time information and the size of the data packet.
[0195] Let's take a mobile phone as an example, where the terminal device runs a game and sends operation data packets to the base station. When running the game, the terminal device can collect operation signals at a fixed frequency, such as 50 Hz for touchscreen operation signals. When the user performs an operation, the terminal generates 50 operation data packets per second and sends them to the base station. When the user does not perform an operation, the terminal device does not generate operation data packets. In this case, the terminal device can predict the transmission time and size of each data packet based on its transmission characteristics. Thus, for any given data packet, the terminal device predicts the transmission time and notifies the base station. By adjusting the first time interval for different data packets, even if the generation of data packets is irregular, the base station can still allocate corresponding air interface resources to the terminal device at the appropriate time. This reduces data packet transmission latency and conserves the base station's air interface resources.
[0196] Still with Figure 4 The system 400 shown is used as an example for explanation. Figure 6 The system 400 shown is executing Figure 7 In the transmission method shown, the signaling interaction between the processor 411, the baseband chip 412, and the base station 420 can be as follows: Figure 5 As shown, it includes the following steps:
[0197] S701: Processor 411 acquires the transmission characteristics of data packets.
[0198] Please refer to the relevant content of step S701. Figure 5 The description of S501 in the corresponding embodiment will not be repeated here.
[0199] S702: The processor 411 obtains the first transmission time information and the size of the data packet based on the transmission characteristics of the data packet.
[0200] In this embodiment, the processor 411 can predict the timing of data packet transmission based on the transmission characteristics of the data packet, thereby obtaining first transmission time information. For example, the processor 411 can first predict the timing of baseband chip 412 transmitting data packets based on the transmission characteristics of the data packets, and determine a second time interval. Then, the processor 411 can set the timing of transmitting the SR message, and determine the second transmission time information based on the timing of baseband chip 412 transmitting data packets. Subtracting the second transmission time information from the second time interval yields the first time interval. The processor 411 can then determine the first time interval as the first transmission time information.
[0201] For example, suppose that after receiving the first transmission time information and size of the data packet, the baseband chip 412 immediately sends an SR message to the base station, and after receiving the data packet, it immediately sends the data packet to the base station. Then, the second time interval can be considered as the time interval between steps S703 and S704, and the second transmission time information can be considered as the time interval between steps S703 and S708. Thus, subtracting the second transmission time information from the second time interval yields the time interval between steps S704 and S708, which is equivalent to the time interval between the baseband chip 412 sending the first message and the baseband chip 412 sending the data packet—that is, the first time interval. Therefore, the terminal device can determine the first transmission time information through the second transmission time information and the second time interval.
[0202] For a detailed description of determining the data packet size, please refer to [link / reference]. Figure 5 The description of S505 in the corresponding embodiment will not be repeated here.
[0203] S703: The processor 411 notifies the baseband chip 412 of the first transmission time information and the size of the data packet.
[0204] Please refer to the relevant content of step S701. Figure 6 The descriptions of S503 and S506 in the corresponding embodiments will not be repeated here.
[0205] S704: Baseband chip 412 sends the first message to base station 420.
[0206] The baseband chip 412 can send a first message to the base station, which may carry first transmission time information and the size of the data packet. Taking the first message as a BSR message as an example, the baseband chip 412 can first send an SR message to the base station 420 according to the second transmission time information. The base station 420 can receive the SR message, allocate air interface resources for the terminal device 410 to send BSR messages, and return a UL grant message to the baseband chip 412 of the terminal device 410. After receiving the UL grant message, the baseband chip 412 can generate a first message according to the first transmission time information and the size of the data packet and send it to the base station 420. For example, the baseband chip 412 can add the first transmission time information and the size of the data packet to the reserved field of the first message.
[0207] S705: Base station 420 allocates air interface resources to terminal device 410 based on the first transmission time information and the size of the data packet.
[0208] Upon receiving the first message, base station 420 can first determine the timing for baseband chip 412 to send the first message based on the first message. For specific determination methods, please refer to [link to relevant documentation]. Figure 3 The description of S602 in the corresponding embodiment will not be repeated here.
[0209] After determining the time when the baseband chip 412 sends the first message, the base station 420 can determine the time to allocate air interface resources to the terminal device 410 based on the first transmission time information and the time when the baseband chip 412 sends the first message. For example, the base station 420 can determine the time after the baseband chip sends the first message and then after a first interval as the time to allocate air interface resources and send air interface resource information to the terminal device.
[0210] Optionally, considering that transmitting air interface resource information requires a certain amount of time, the base station 420 can also allocate air interface resources and transmit air interface resource information to the terminal device 410 in advance. For example, the base station 420 can allocate air interface resources to the terminal device 410 1ms in advance, that is, allocate air interface resources to the terminal device 410 and transmit air interface resource information at 1.009 seconds.
[0211] In addition, base station 420 can also determine the amount of air interface resources to allocate to terminal devices based on the size of the data packets. For a description of this part, please refer to [link to relevant documentation]. Figure 5 The description of S306 in the corresponding embodiment will not be repeated here.
[0212] S706: Base station 420 sends the allocated air interface resource information to baseband chip 412.
[0213] Please refer to the relevant content of step S706. Figure 5 The description of S509 in the corresponding embodiment will not be repeated here.
[0214] S707: Processor 411 generates data packets to be sent.
[0215] Please refer to the relevant content of step S707. Figure 5 The description of S510 in the corresponding embodiment will not be repeated here.
[0216] S708: The processor 411 sends the data packet to be sent to the baseband chip 412.
[0217] Please refer to the relevant content of step S708. Figure 5 The description of S511 in the corresponding embodiment will not be repeated here.
[0218] S709: Baseband chip 412 uses the allocated air interface resources to send data packets to base station 420.
[0219] Please refer to the relevant content of step S708. Figure 8 The description of S512 in the corresponding embodiment will not be repeated here.
[0220] In this embodiment, by analyzing the transmission characteristics of data packets, the processor 411 can predict the size of the data packets and the first transmission time information before sending the data packets. Thus, the base station 420 can determine the time when air interface resources need to be allocated to the terminal device 410 based on the first transmission time information, and determine the frequency band of the air interface resources allocated to the terminal device 410 based on the size of the data packets, thereby allocating the corresponding air interface resources to the terminal device 410 at the corresponding time, saving the base station's air interface resources.
[0221] Furthermore, when a terminal device needs to send multiple data packets to the base station at irregular intervals, the method provided in this application can predict each data packet, determine the first time interval corresponding to each data packet, and specify the first time interval and data packet size for the base station to send each data packet. This allows the first time interval to be adjusted for different data packets, ensuring that even if data packet generation is irregular, the base station can still allocate corresponding air interface resources to the terminal device at the appropriate time. This reduces data packet transmission latency and conserves base station air interface resources.
[0222] In the transmission method provided in the above embodiments, the base station can determine the time to allocate air interface resources to the terminal device based on the first transmission time information. Although this saves air interface resources, the base station needs to wait for a certain period of time before allocating air interface resources to the terminal device. This requires modifications not only to the base station's software program but also to the interface between the base station and the terminal device. To reduce modifications to the base station, this application also provides another transmission method. See [link to documentation]. Figure 8 , Figure 2This is an interactive schematic diagram of another sending method provided in an embodiment of this application. The sending method includes the following steps:
[0223] S801: Transmission characteristics of data packets acquired by terminal devices.
[0224] Please refer to the relevant content of step S801. Figure 2 The description of S201 in the corresponding embodiment will not be repeated here.
[0225] S802: The terminal device obtains the data packet transmission time information based on the transmission characteristics.
[0226] After acquiring the transmission characteristics of the data packets, the terminal device can obtain the data packet transmission time information based on these characteristics. This transmission time information refers to the time when the terminal device sends the data packet to the base station; for example, it could be the time when the terminal device generates the data packet to be sent, or the time when the terminal device sends the data packet to the base station. Figure 5 In the corresponding embodiment, step S202 is similar, and the terminal device can also predict the data packet sending time information through the model.
[0227] In some possible implementations, the terminal device can also predict the size of data packets based on their transmission characteristics. For a detailed description of predicting data packet size, please refer to [link to relevant documentation]. Figure 2 - Figure 7 The description of S505 in the corresponding embodiment will not be repeated here.
[0228] S803: The terminal device determines the sending time of the first message based on the data packet sending time information.
[0229] After determining the data packet transmission time information, the terminal device can determine the transmission time of the first message, i.e., the moment when the terminal device sends the first message, based on the data packet transmission time information. For example, the terminal device can determine the total time required from the base station receiving the first message, the base station allocating air interface resources to the terminal device, the terminal device receiving air interface resource information, to the terminal device receiving the air interface resource information. This total time is used as the time interval between the terminal device sending the first message and sending the data packet. The terminal device can also use the moment before sending the data packet, and the time from the moment of sending the data packet being the aforementioned interval, as the transmission time of the first message. In this way, the total time required from the terminal device sending the first message to the terminal device receiving the air interface resource information is this short time interval, and the time from the terminal device sending the first message to the terminal device sending the data packet is also this shortest time interval. That is to say, just as the data packet is about to be sent, the terminal device receives the air interface resource information, thereby using the air interface resource information to send the data packet to the base station.
[0230] For example, suppose the terminal device predicts it will send a data packet to the base station in 10ms, and the total time required for the base station to receive the first message, allocate air interface resources to the terminal device, send air interface resource information, and for the terminal device to receive the air interface resource information is 1.5ms. Then, the terminal device can determine that the first message will be sent 8.5ms later. Thus, the terminal device sends the first message after 8.5ms and the data packet after 10ms. After the terminal device sends the first message, the base station can allocate air interface resources to the terminal device based on the first message and send air interface resource information. The total time from the terminal device sending the first message to the terminal device receiving the air interface resource information is 1.5ms. Therefore, the terminal device will receive the air interface resource information at 8.5 + 1.5 = 10ms. That is, it receives the air interface resource information at the moment it sends the data packet, and thus uses the air interface resources carried in the air interface resource information to send the data packet to the base station.
[0231] In this embodiment of the application, considering that the terminal device may need time to determine the air interface resources based on the air interface resource information, the terminal device can correspondingly advance the sending time of the first message, thereby ensuring that the terminal device can receive the air interface resource information before sending the data packet.
[0232] Let's continue with the example where the terminal device predicts it will send a data packet to the base station in 10ms, and the total time required for the base station to receive the first message, allocate air interface resources to the terminal device, send air interface resource information, and receive the air interface resource information is 1.5ms. Considering the time the terminal device needs to determine the air interface resources based on the information, the terminal device can advance the sending time of the first message by 0.1ms, i.e., sending the first message after 8.4ms. In this way, the terminal device will receive the air interface resource information after 9.9ms, parse it, determine the air interface resources allocated by the base station, and then use those resources to send the data packet after 10ms.
[0233] S804: In response to the arrival of the first message transmission time, the terminal device sends the first message to the base station.
[0234] After determining the transmission time of the first message, the terminal device does not immediately send the first message to the base station. Instead, it sends the first message only when the transmission time of the first message arrives. For example, assuming the transmission time of the first message is 8.5ms, the terminal device can start timing after determining the transmission time of the first message and send the first message to the base station when the timer records 8.5ms.
[0235] and Figure 2 - Figure 7 The corresponding embodiments differ. In this application embodiment, the first message does not carry the first sending time information and is only used to request air interface resources from the base station.
[0236] In some possible implementations, the first message may also include the size of the data packet, which is used to determine air interface resource information. Optionally, the first message may be a BSR message, and the terminal device may include the data packet size in the LCID field of the BSR message. Before sending the first message, the terminal device may also send an SR message to the base station.
[0237] S805: The base station allocates air interface resources to the terminal equipment based on the first message.
[0238] Upon receiving the first message, the base station can allocate air interface resources to the terminal device based on the first message. Figure 2 Unlike the corresponding embodiments, in this application embodiment, the base station does not determine the time to allocate air interface resources to the terminal device based on the first message. Instead, after receiving the first message, it allocates air interface resources to the terminal device according to the traditional air interface resource scheduling method. Since the base station does not need to determine the time to allocate air interface resources to the terminal device based on the first message, nor does it need to allocate air interface resources to the terminal at a specific time, in this application embodiment, it is not necessary to modify the base station's software program or the interface between the base station and the terminal device.
[0239] S806: The base station sends the allocated air interface resource information to the terminal equipment.
[0240] Please refer to the relevant content of step S806. Figure 4 The description of S205 in the corresponding embodiment will not be repeated here.
[0241] Still with Figure 4 The system 400 shown is used as an example for explanation. Figure 8 The system 400 shown is executing Figure 9 In the transmission method shown, the signaling interaction between the processor 411, the baseband chip 412, and the base station 420 can be as follows: Figure 5 As shown, it includes the following steps:
[0242] S901: Processor 411 acquires the transmission characteristics of data packets.
[0243] Please refer to the relevant content of step S901. Figure 5 The description of S501 in the corresponding embodiment will not be repeated here.
[0244] S902: The processor 411 obtains the transmission time information and the size of the data packet based on the transmission characteristics of the data packet.
[0245] After acquiring the transmission characteristics of the data packet, the processor 411 can obtain the transmission time information and the size of the data packet based on the transmission characteristics. The transmission time information can be the time when the baseband chip 412 receives the data packet, or the time when the processor 411 generates the data packet.
[0246] For a detailed description of the predicted packet size, please refer to [link / reference]. Figure 5 The description of S505 in the corresponding embodiment will not be repeated here.
[0247] S903: The processor 411 notifies the baseband chip 412 of the data packet transmission time information and the size of the data packet.
[0248] After determining the transmission time and size of the data packet, the processor 411 can notify the baseband chip 412 of the transmission time and size of the data packet.
[0249] S904: Baseband chip 412 determines the sending time of the first message based on the data packet sending time information.
[0250] In this embodiment, the baseband chip 412 can determine the transmission time of the first message based on the transmission time information of the data packets. The baseband chip 412 can determine the transmission time of the first message based on the time required for the base station 420 to receive the first message, the time required for the base station 420 to allocate air interface resources to the terminal device 410, the time required for the base station 420 to send air interface resource information to the terminal device 410, and the time required for the terminal device 410 to receive the air interface resource information. That is, the baseband chip 412 can predict the interval between sending the first message and receiving the air interface resource information sent by the base station 420. The baseband chip 412 can then subtract the time of sending the data packets from the aforementioned interval to obtain the transmission time of the first message.
[0251] For example, suppose the data packet sending time information is the time when processor 411 executes step S509. Then, processor 412 can predict the total time required for steps S905-S907 (hereinafter referred to as the first time), and take the time corresponding to the first time before processor 411 executes step S509 as the sending time of the first message, that is, the time of executing step S905.
[0252] After determining the transmission time of the first message, the baseband chip 412 can detect whether the transmission time of the first message has arrived. If the current time is not the transmission time of the first message, the baseband chip 412 can remain in a waiting state and not send the first message to the base station 420.
[0253] S905: In response to the arrival of the first message transmission time, the baseband chip 412 sends the first message to the base station 420.
[0254] After the first message transmission time is reached, the baseband chip 412 can send the first message to the base station 420. The first message may include the size of the data packet, but does not include the data packet transmission time or the first message transmission time. That is, in this embodiment, the first message can be a BSR message in traditional air interface resource scheduling technology.
[0255] S906: Base station 420 allocates air interface resources to terminal device 410 according to the size of the data packet.
[0256] After receiving the first message, the base station 420 can allocate air interface resources to the terminal device 410 according to the size of the data packet. Optionally, the base station 420 can allocate air interface resources immediately after receiving the first message.
[0257] S907: Base station 420 sends the allocated air interface resource information to baseband chip 412.
[0258] Please refer to the relevant content of step S907. Figure 5 The description of S509 in the corresponding embodiment will not be repeated here.
[0259] S908: Processor 411 generates data packets to be sent.
[0260] Please refer to the relevant content of step S908. Figure 5 The description of S510 in the corresponding embodiment will not be repeated here.
[0261] S909: The processor 411 sends the data packet to be sent to the baseband chip 412.
[0262] Please refer to the relevant content of step S909. Figure 5 The description of S511 in the corresponding embodiment will not be repeated here.
[0263] S910: Baseband chip 412 uses allocated air interface resources to send data packets to base station 420.
[0264] Please refer to the relevant content of step S910. Figure 5 The description of S512 in the corresponding embodiment will not be repeated here.
[0265] and Figure 7 or Figure 10Compared to the corresponding embodiments, in this embodiment, the baseband chip 412 can determine the transmission time of the first message based on the transmission time information of the data packet, and waits until the transmission time of the first message arrives before sending the first message to the base station 420. Upon receiving the first message, the base station 420 does not wait, but instead allocates air interface resources to the terminal device 410, executing a traditional air interface resource allocation method. That is, in this embodiment, no improvements to the base station's software or hardware are required. Furthermore, since the first message does not carry predicted time information such as the first transmission time information, the interface between the base station 420 and the baseband chip 412 does not need modification. Additionally, since the transmission time of the first message is obtained based on the predicted transmission time information of the data packet, the base station does not allocate air interface resources to the terminal device 410 when the terminal device 410 does not send data packets, avoiding waste of air interface resources. Therefore, in this embodiment, no improvements to the base station are required; only modifications to the terminal device are needed to avoid wasting air interface resources.
[0266] Accordingly, see Figure 2 This application also provides a transmitting device 1000, which is applied to a terminal device. The device 1000 includes a processing unit 1001 and a transmitting unit 1002. The processing unit 1001 can be used to perform... Figure 2 In the illustrated embodiment, steps S201 and S202, the sending unit 1002 can be used to perform... Figure 11 Step S203 in the illustrated embodiment.
[0267] For example, processing unit 1001 is used to acquire the transmission characteristics of a data packet; and obtain first transmission time information of the data packet based on the transmission characteristics, wherein the first transmission time information is the time information when the terminal device sends the data packet to the base station. Sending unit 1002 is used to send a first message to the base station, the first message including the first transmission time information, the first message instructing the base station to send allocated air interface resource information to the terminal device according to the first transmission time information, wherein the air interface resource information corresponds to the air interface resources used by the terminal device to send the data packet to the base station.
[0268] For further details regarding the transmitting device 1000, please refer to the above text; they will not be repeated here.
[0269] Accordingly, see Figure 2 This application also provides a transmitting device 1100, which is applied to a base station. The device 1100 includes a receiving unit 1101 and a transmitting unit 1102. The receiving unit 1101 can be used to receive a first message from a terminal device, and the transmitting unit 1102 can be used to perform... Figure 2Step S205 in the illustrated embodiment. Optionally, Figure 11 Step S201 in the illustrated embodiment can be executed by the receiving unit 1101 or the sending unit 1102, or by the processing unit 1103. Figure 12 (Not shown in the text) Execute.
[0270] For example, processing unit 1101 is configured to receive a first message from a terminal device, the first message including first transmission time information of a data packet, wherein the first transmission time information of the data packet is the time information at which the terminal device sends the data packet to the base station. Transmission unit 1102 is configured to send allocated air interface resource information to the terminal device according to the first transmission time information, wherein the air interface resource information corresponds to the air interface resources used by the terminal device to send the data packet to the base station.
[0271] For further details regarding the transmitting device 1100, please refer to the above text; they will not be repeated here.
[0272] Accordingly, see Figure 8 This application also provides a transmitting device 1200, which is applied to a terminal device. The device 1200 includes a processing unit 1201 and a transmitting unit 1202. The processing unit 1201 can be used to perform... Figure 2 In the illustrated embodiment, steps S801, S208, and S802, the sending unit 1202 can be used to perform... Figure 13 Step S804 in the illustrated embodiment.
[0273] For example, processing unit 1201 is used to acquire the transmission characteristics of a data packet; obtain the transmission time information of the data packet based on the transmission characteristics, wherein the transmission time information is the time information when the terminal device sends the data packet to the base station; and determine the transmission time of a first message based on the transmission time information of the data packet. Sending unit 1202 is used to send the first message in response to the arrival of the transmission time of the first message, wherein the first message is used to acquire air interface resource information, and the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
[0274] For further details regarding the transmitting device 1200, please refer to the above text; they will not be repeated here.
[0275] See Figure 10This application also provides a terminal device 1300, which includes at least one processor 1302 and at least one communication interface 1303. Further, the terminal device may also include at least one memory 1301 for storing computer programs or instructions. The memory 1301 can be either in-processor memory or external memory. The functions of device 1000 can be implemented on the terminal device 1300. Figure 10 In the case of the illustrated embodiment, and Figure 10 When the units described in the embodiments are implemented in software, they perform... Figure 12 The software or program code required for the functions of the processing unit 1001 and the sending unit 1002 are stored in the memory 1301. Additionally, the functions of the device 1200 can be implemented on the terminal device 1300. Figure 12 In the case of the illustrated embodiment, and Figure 12 When the units described in the embodiments are implemented in software, they perform... Figure 2 The software or program code required for the functions of the processing unit 1201 and the sending unit 1202 are stored in the memory 1301. The processor 1302 executes the instructions stored in the memory 1301, causing the terminal device 1300 to perform the aforementioned operations. Figure 8 In the illustrated embodiment, any one or more of steps S201, S202, or S203 may be performed, or the terminal device 1300 may be caused to execute the above-described steps. Figure 13 In the embodiment, any one or more of steps S801, S802, S803, or S804 are included; the communication interface 1303 is used for communicating with other base stations.
[0276] The memory 1301, processor 1302, and communication interface 1303 are interconnected via bus 1304. Bus 1304 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0277] In a specific embodiment, the processor 1302 can be used to acquire the transmission characteristics of a data packet; obtain first transmission time information of the data packet based on the transmission characteristics, wherein the first transmission time information is the time information when the terminal device sends the data packet to the base station; and send a first message to the base station, wherein the first message includes the first transmission time information, and the first message is used to instruct the base station to send allocated air interface resource information to the terminal device based on the first transmission time information, wherein the air interface resource information corresponds to the air interface resources used by the terminal device to send the data packet to the base station. For detailed processing of the processor 1302, please refer to the above. Figure 14 The detailed descriptions of the embodiments shown and others are not repeated here.
[0278] The communication interface 1303 is used to interact with other devices. For details on the process, please refer to the foregoing embodiments for a detailed description; it will not be repeated here.
[0279] The aforementioned memory 1301 may be random-access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), register, hard disk, portable hard disk, CD-ROM, or any other form of storage medium known to those skilled in the art.
[0280] The processor 1302 described above may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0281] The aforementioned communication interface 1303 may be, for example, an interface card, and may be an Ethernet interface or an asynchronous transfer mode (ATM) interface.
[0282] Figure 2 This is a schematic diagram of the structure of a terminal device 1400 provided in an embodiment of this application. Figure 14 The terminal devices shown in the embodiments and other embodiments can all be accessed through... Figure 14 This is achieved using the device shown. See also Figure 2The diagram shows the device structure. Device 1400 includes a main control board and one or more interface boards, which are communicatively connected. The main control board, also known as a main processing unit (MPU) or route processor card, is responsible for controlling and managing the various components in device 1400, including route calculation, device management, and maintenance functions. The interface boards, also known as line processing units (LPUs) or line cards, are used for forwarding data. In some embodiments, device 1400 may also include a switching network board, which is communicatively connected to the main control board and interface boards. The switching network board is used to forward data between the interface boards and can also be called a switch fabric unit (SFU). The interface board includes a central processing unit (CPU), a memory, a forwarding chip, and a physical interface card (PIC). The CPU is communicatively connected to the memory, network processor, and physical interface card, respectively. The memory is used to store the forwarding table. The forwarding chip is used to forward received data packets based on the forwarding table stored in memory. If the destination address of the data packet is the address of device 1400, the data packet is sent to the central processing unit (CPU), such as CPU 1431, for processing. If the destination address of the data packet is not the address of device 1400, the next hop and outgoing interface corresponding to the destination address are found in the forwarding table, and the data packet is forwarded to the outgoing interface corresponding to the destination address. The forwarding chip can be a network processor (NP). The PIC, also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets and performing validity checks on the data packets before forwarding them to the forwarding chip for processing. In some embodiments, the CPU can also perform the functions of the forwarding chip, such as implementing software forwarding based on a general-purpose CPU, thus eliminating the need for a forwarding chip on the interface board. Communication connections between the main control board, interface board, and switching network board can be achieved through a bus. In some embodiments, the forwarding chip can be implemented using an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).
[0283] Logically, device 1400 includes a control plane and a forwarding plane. The control plane includes a main control board and a central processing unit, while the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP. The control plane performs functions such as routing, generating forwarding tables, processing signaling and protocol messages, and configuring and maintaining the device's status. The control plane distributes the generated forwarding tables to the forwarding plane. In the forwarding plane, the NP uses the forwarding tables distributed by the control plane to look up and forward messages received by the PIC of device 1400. The forwarding tables distributed by the control plane can be stored in memory. In some embodiments, the control plane and the forwarding plane can be completely separated and not on the same device. The following will combine... Figure 2 The embodiments shown and other embodiments briefly illustrate the above process.
[0284] like Figure 2 As shown in the method, the CPU 1431 of device 1400 can acquire the transmission characteristics of data packets; obtain the transmission time information of the data packets based on the transmission characteristics, wherein the transmission time information is the time information when the terminal device sends data packets to the base station; determine the transmission time of a first message based on the transmission time information of the data packets; and send the first message in response to the arrival of the transmission time of the first message, wherein the first message is used to acquire air interface resource information, wherein the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
[0285] The terminal device provided in this embodiment of the invention can correspond to the above. Figure 8 The method embodiment or Figure 15 The terminal device in the method embodiments described above can implement the functions and / or various steps and methods of the terminal device in the above method embodiments. The above is only a brief exemplary description, and for the sake of brevity, it will not be elaborated further here.
[0286] It's worth noting that there may be one or more main control boards, including a primary and a backup main control board. There may also be one or more interface boards; the stronger the data processing capability of the terminal device, the more interface boards it can provide. Each interface board may also have one or more physical interface cards. There may be no switching network board, or one or more; multiple boards can share the load and provide redundancy. In a centralized forwarding architecture, the terminal device may not need a switching network board, as the interface boards handle the entire system's business data processing. In a distributed forwarding architecture, the terminal device can have at least one switching network board, which enables data exchange between multiple interface boards, providing high-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of a distributed architecture terminal device are greater than those of a centralized architecture device. Alternatively, the terminal device can also be a single board, without a switching network board. The functions of the interface board and the main control board are integrated on this one board. In this case, the central processing unit on the interface board and the central processing unit on the main control board can be combined into a single central processing unit to execute the combined functions. This type of device has lower data exchange and processing capabilities (e.g., low-end switches or routers). The specific architecture adopted depends on the specific network deployment scenario, and no restrictions are imposed here.
[0287] See Figure 11 This application embodiment also provides a base station 1500, which includes at least one processor 1502 and at least one communication interface 1503; further, the base station may also include at least one memory 1501 for storing computer programs or instructions. The memory 1501 can be either in-processor memory or external memory. The functions of device 1100 can be implemented on the base station 1500. Figure 11 In the case of the illustrated embodiment, and Figure 11 When the units described in the embodiments are implemented in software, they perform... Figure 2 The software or program code required for the functions of the receiving unit 1101 and the transmitting unit 1102 are stored in the memory 1501. The processor 1502 executes the instructions in the memory 1501, causing the base station 1500 to perform the aforementioned operations. Figure 15 In the illustrated embodiment, any one or more of steps S204 or S205; communication interface 1503, used for communicating with terminal devices or other devices.
[0288] The memory 1501, processor 1502, and communication interface 1503 are interconnected via bus 1504. Bus 1504 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0289] In a specific embodiment, the processor 1502 can receive a first message from a terminal device, the first message including first transmission time information of a data packet, wherein the first transmission time information of the data packet is the time information when the terminal device sends the data packet to the base station; and send allocated air interface resource information to the terminal device according to the first transmission time information, wherein the air interface resource information corresponding to the air interface resource information is used by the terminal device to send the data to the base station. For detailed processing procedures of the processor 1502, please refer to the above. Figure 16 The detailed descriptions of the embodiments shown and others are not repeated here.
[0290] The communication interface 1503 is used to interact with other devices. For details on the process, please refer to the detailed description in the foregoing embodiments; it will not be repeated here.
[0291] The aforementioned memory 1501 may be random-access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), register, hard disk, portable hard disk, CD-ROM, or any other form of storage medium known to those skilled in the art.
[0292] The processor 1502 described above may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0293] The aforementioned communication interface 1503 can be, for example, an interface card, and can be an Ethernet interface or an asynchronous transfer mode (ATM) interface.
[0294] Figure 2 This is a schematic diagram of the structure of a base station 1600 provided in an embodiment of this application. Figure 16 The base stations shown in the embodiments and other embodiments can all be accessed through... Figure 16 This is achieved using the device shown. See also Figure 2The diagram shows the device structure. Device 1600 includes a main control board and one or more interface boards, which are communicatively connected. The main control board, also called a main processing unit (MPU) or route processor card, is responsible for controlling and managing the various components in device 1600, including routing calculation, device management, and maintenance functions. The interface boards, also called line processing units (LPUs) or line cards, are used for forwarding data. In some embodiments, device 1600 may also include a switching network board, which is communicatively connected to the main control board and interface boards. The switching network board is used to forward data between the interface boards and can also be called a switch fabric unit (SFU). The interface board includes a central processing unit (CPU), a memory, a forwarding chip, and a physical interface card (PIC). The CPU is communicatively connected to the memory, network processor, and physical interface card, respectively. The memory is used to store the forwarding table. The forwarding chip is used to forward received data packets based on the forwarding table stored in memory. If the destination address of the data packet is the address of device 1600, the data packet is sent to the central processing unit (CPU), such as CPU 1631, for processing. If the destination address of the data packet is not the address of device 1600, the next hop and outgoing interface corresponding to the destination address are found in the forwarding table, and the data packet is forwarded to the outgoing interface corresponding to the destination address. The forwarding chip can be a network processor (NP). The PIC, also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets and performing validity checks on the data packets before forwarding them to the forwarding chip for processing. In some embodiments, the CPU can also perform the functions of the forwarding chip, such as implementing software forwarding based on a general-purpose CPU, thus eliminating the need for a forwarding chip on the interface board. Communication between the main control board, interface board, and switching network board can be achieved through a bus. In some embodiments, the forwarding chip can be implemented using an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).
[0295] Logically, device 1600 includes a control plane and a forwarding plane. The control plane includes a main control board and a central processing unit, while the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP. The control plane performs functions such as routing, generating forwarding tables, processing signaling and protocol messages, and configuring and maintaining the device's status. The control plane distributes the generated forwarding tables to the forwarding plane. In the forwarding plane, the NP looks up and forwards messages received by the PIC of device 1600 based on the forwarding tables distributed by the control plane. The forwarding tables distributed by the control plane can be stored in memory. In some embodiments, the control plane and the forwarding plane can be completely separated and not on the same device. The following will combine... Figure 2 The embodiments shown and other embodiments briefly illustrate the above process.
[0296] like Figure 2 As shown in the method, the CPU 1631 of the base station 1600 can receive a first message from the terminal device. The first message includes first transmission time information of the data packet, which is the time information when the terminal device sends the data packet to the base station. According to the first transmission time information, the CPU 1631 of the base station 1600 can send allocated air interface resource information to the terminal device. The air interface resource corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station.
[0297] The base station provided in this embodiment of the invention can correspond to the above. The base station in the described method embodiments or other method embodiments can implement the functions and / or various steps and methods implemented by the base station in the above-described method embodiments. The above is only a brief exemplary description, and for the sake of brevity, it will not be elaborated further here.
[0298] It's worth noting that a base station may have one or more main control boards, including a primary and a backup main control board. It may also have one or more interface boards; the stronger the base station's data processing capability, the more interface boards it provides. Each interface board may also have one or more physical interface cards. A switching network board may or may not exist; multiple boards can share the load and provide redundancy. In a centralized forwarding architecture, the base station may not need a switching network board, as the interface boards handle the entire system's service data processing. In a distributed forwarding architecture, the base station can have at least one switching network board, which enables data exchange between multiple interface boards, providing high-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of a distributed architecture base station are greater than those of a centralized architecture. Alternatively, the base station can also be a single board, without a switching network board. The functions of the interface board and the main control board are integrated on this one board. In this case, the central processing unit (CPU) on the interface board and the CPU on the main control board can be combined into a single CPU to perform the combined functions. This type of device has lower data exchange and processing capabilities (e.g., low-end switches or routers). The specific architecture adopted depends on the specific network deployment scenario, and no restrictions are imposed here.
[0299] Furthermore, embodiments of this application also provide a computer-readable storage medium including a computer program that, when run on a computer, causes the computer to perform the aforementioned transmission method applied to terminal device 1300 or base station 1400.
[0300] This application also provides a chip system that can be located in a terminal device, including: a processor coupled to a memory for storing programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.
[0301] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0302] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application does not specifically limit the type of memory or the arrangement of the memory and processor.
[0303] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0304] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0305] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0306] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. In this application, "A and / or B" is considered to include a single A, a single B, and A+B.
[0307] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0308] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical module division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0309] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be obtained according to actual needs to achieve the purpose of this embodiment.
[0310] Furthermore, the module units in the various embodiments of this application 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 unit can be implemented in hardware or as a software module unit.
[0311] If the integrated unit is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, 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.) to execute all or part of the steps of the methods described in the various embodiments of this application. 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.
[0312] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0313] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention.
[0314] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for transmitting data, characterized in that, The method includes: The terminal device acquires the transmission characteristics of the data packets, which include the historical time when the terminal device sent the first N data packets to the base station, where N is a positive integer greater than 1. The terminal device predicts the first transmission time information of the data packet based on the transmission characteristics, and the first transmission time information is the time information when the terminal device sends the data packet to the base station. The terminal device sends a first message to the base station. The first message includes the first transmission time information. The first message is used to instruct the base station to send allocated air interface resource information to the terminal device according to the first transmission time information. The air interface resources corresponding to the air interface resource information are used by the terminal device to send the data packet to the base station.
2. The method according to claim 1, characterized in that, The first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; After the terminal device sends the first message to the base station, the method further includes: The terminal device sends the second message to the base station.
3. The method according to claim 2, characterized in that, The method further includes: The terminal device predicts the size of the data packet based on the transmission characteristics of the data packet, and the second message includes the size of the data packet. The size of the data packet is used by the base station to determine the air interface resource information.
4. The method according to claim 3, characterized in that, The second message is the Buffer Status Report (BSR) message.
5. The method according to any one of claims 2-4, characterized in that, The first message is either a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
6. The method according to claim 5, characterized in that, The data content of the RRC message includes the first sending time information.
7. The method according to claim 5, characterized in that, The MAC message includes an index field and a logical channel identifier (LCID) field, the value of which indicates that the LCID field includes the first transmission time information.
8. The method according to claim 1, characterized in that, The first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station; The method further includes: The terminal device predicts the size of the data packet based on the transmission characteristics of the data packet. The first message also includes the size of the data packet, which is used by the base station to determine the air interface resource information.
9. The method according to claim 8, characterized in that, The first message is a Buffer Status Report (BSR) message.
10. The method according to claim 9, characterized in that, The BSR message includes an index field and an LCID field. The value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
11. The method according to claim 9 or 10, characterized in that, The terminal device predicts the first transmission time information of the data packet based on the transmission characteristics, including: The terminal device predicts the second transmission time information of the data packet based on the transmission characteristics of the data packet. The second transmission time information is the sum of the first interval time and the second interval time. The second interval time is the interval between when the terminal device sends the scheduling request (SR) message to the base station and when it sends the BSR message. The terminal device obtains the first transmission time information based on the second transmission time information and the second interval time; The terminal device sends a first message to the base station, including: The terminal device sends a first message to the base station based on the second transmission time information.
12. A method for transmitting data, characterized in that, The method includes: The base station receives a first message from the terminal device. The first message includes first transmission time information of the data packet. The first transmission time information of the data packet is the time information when the terminal device sends the data packet to the base station. The first transmission time information is predicted by the terminal device based on the transmission characteristics of the data packet. The transmission characteristics of the data packet include the historical time when the terminal device sends the previous N data packets to the base station, where N is a positive integer greater than 1. The base station sends allocated air interface resource information to the terminal device according to the first transmission time information, and the air interface resources corresponding to the air interface resource information are used by the terminal device to send the data packet to the base station.
13. The method according to claim 12, characterized in that, The first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; The base station sends the allocated air interface resource information to the terminal device according to the first transmission time information, including: The base station receives a second message from the terminal device and sends allocated air interface resource information to the terminal device after the interval.
14. The method according to claim 13, characterized in that, The second message includes the size of the data packet predicted by the terminal device; Before the base station sends the allocated air interface resource information to the terminal device according to the first transmission time information, the method further includes: The base station determines the air interface resource information based on the size of the data packet.
15. The method according to claim 14, characterized in that, The second message is the Buffer Status Report (BSR) message.
16. The method according to any one of claims 13-15, characterized in that, The first message is either a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
17. The method according to claim 16, characterized in that, The data content of the RRC message includes the first sending time information.
18. The method according to claim 16, characterized in that, The MAC message includes an index field and an LCID field, the value of which indicates that the LCID field includes the first transmission time information.
19. The method according to claim 12, characterized in that, The first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station. The base station sends the allocated air interface resource information to the terminal device according to the first transmission time information, including: After receiving the first message from the terminal device within the specified interval, the base station sends the allocated air interface resource information to the terminal device.
20. The method according to claim 19, characterized in that, The first message also includes the size of the data packet predicted by the terminal device; Before the base station sends the allocated air interface resource information to the terminal device, the method further includes: The base station determines the air interface resource information based on the size of the data packet.
21. The method according to claim 20, characterized in that, The first message is a Buffer Status Report (BSR) message.
22. The method according to claim 21, characterized in that, The BSR message includes an index field and an LCID field. The value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
23. A method for transmitting data, characterized in that, The method includes: The terminal device acquires the transmission characteristics of the data packets, which include the historical time when the terminal device sent the first N data packets to the base station, where N is a positive integer greater than 1. The terminal device predicts the transmission time information of the data packet based on the transmission characteristics, and the transmission time information is the time information when the terminal device sends the data packet to the base station; The terminal device determines the sending time of the first message based on the sending time information of the data packet; In response to the arrival of the first message's transmission time, the terminal device sends the first message, which is used to obtain air interface resource information. The air interface resources corresponding to the air interface resource information are the air interface resources allocated by the base station to the terminal device.
24. The method according to claim 23, characterized in that, The method further includes: The terminal device predicts the size of the data packet based on the transmission characteristics of the data packet, the first message includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information.
25. The method according to claim 24, characterized in that, The first message is a Buffer Status Report (BSR) message.
26. A transmitting device, characterized in that, The device is located in the terminal equipment and includes: The processing unit is configured to acquire the transmission characteristics of the data packets, the transmission characteristics of which include the historical time of the first N data packets sent by the terminal device to the base station, where N is a positive integer greater than 1; and to predict the first transmission time information of the data packets based on the transmission characteristics, the first transmission time information being the time information of the terminal device sending the data packets to the base station. The sending unit is configured to send a first message to the base station. The first message includes the first sending time information. The first message is configured to instruct the base station to send allocated air interface resource information to the terminal device according to the first sending time information. The air interface resources corresponding to the air interface resource information are used by the terminal device to send the data packet to the base station.
27. The apparatus according to claim 26, characterized in that, The first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; The sending unit is further configured to send the second message to the base station.
28. The apparatus according to claim 27, characterized in that, The processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, the second message including the size of the data packet, and the size of the data packet being used by the base station to determine the air interface resource information.
29. The apparatus according to claim 27, characterized in that, The second message is the Buffer Status Report (BSR) message.
30. The apparatus according to any one of claims 27-29, characterized in that, The first message is either a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
31. The apparatus according to claim 30, characterized in that, The data content of the RRC message includes the first sending time information.
32. The apparatus according to claim 30, characterized in that, The MAC message includes an index field and an LCID field, the value of which indicates that the LCID field includes the first transmission time information.
33. The apparatus according to claim 26, characterized in that, The first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station; The processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, and the first message also includes the size of the data packet, the size of the data packet being used by the base station to determine the air interface resource information.
34. The apparatus according to claim 33, characterized in that, The first message is a Buffer Status Report (BSR) message.
35. The apparatus according to claim 34, characterized in that, The BSR message includes an index field and an LCID field. The value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
36. The apparatus according to claim 34 or 35, characterized in that, The processing unit is further configured to predict second transmission time information of the data packet based on the transmission characteristics of the data packet, wherein the second transmission time information is the sum of the first interval time and the second interval time, and the second interval time is the interval time between the terminal device sending the scheduling request SR message to the base station and sending the BSR message; The first transmission time information is obtained based on the second transmission time information and the second interval time; The sending unit is used to send a first message to the base station according to the second sending time information.
37. A transmitting device, characterized in that, The device is located at the base station and includes: The receiving unit is configured to receive a first message from a terminal device. The first message includes first transmission time information of a data packet. The first transmission time information of the data packet is the time information of the terminal device sending the data packet to the base station. The first transmission time information is predicted by the terminal device based on the transmission characteristics of the data packet. The transmission characteristics of the data packet include the historical time of the terminal device sending the previous N data packets to the base station, where N is a positive integer greater than 1. The sending unit is configured to send allocated air interface resource information to the terminal device according to the first sending time information, wherein the air interface resource corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station.
38. The apparatus according to claim 37, characterized in that, The first transmission time information includes the interval between the terminal device sending the second message to the base station and sending the data packet to the base station; The receiving unit is also configured to receive a second message from the terminal device; The sending unit is further configured to send allocated air interface resource information to the terminal device after the interval.
39. The apparatus according to claim 38, characterized in that, The second message includes the size of the data packet predicted by the terminal device; the apparatus further includes a processing unit. The processing unit is used to determine the air interface resource information based on the size of the data packet.
40. The apparatus according to claim 39, characterized in that, The second message is the Buffer Status Report (BSR) message.
41. The apparatus according to any one of claims 38-40, characterized in that, The first message is either a Radio Resource Control (RRC) message or a Media Access Control (MAC) message.
42. The apparatus according to claim 41, characterized in that, The data content of the RRC message includes the first sending time information.
43. The apparatus according to claim 41, characterized in that, The MAC message includes an index field and an LCID field, the value of which indicates that the LCID field includes the first transmission time information.
44. The apparatus according to claim 37, characterized in that, The first transmission time information includes a first interval time, which is the interval between the terminal device sending the first message to the base station and sending the data packet to the base station. The sending unit is configured to send allocated air interface resource information to the terminal device after the interval time following the receipt of the first message from the terminal device.
45. The apparatus according to claim 40, characterized in that, The first message also includes the size of the data packet predicted by the terminal device; The processing unit is used to determine the air interface resource information based on the size of the data packet.
46. The apparatus according to claim 45, characterized in that, The first message is a Buffer Status Report (BSR) message.
47. The apparatus according to claim 46, characterized in that, The BSR message includes an index field and an LCID field. The value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
48. A transmitting device, characterized in that, The device is located in the terminal equipment and includes: The processing unit is configured to acquire the transmission characteristics of data packets, the transmission characteristics of which include the historical time of the first N data packets sent by the terminal device to the base station, where N is a positive integer greater than 1; predict the transmission time information of the data packets based on the transmission characteristics, the transmission time information being the time information of the terminal device sending data packets to the base station; and determine the transmission time of the first message based on the transmission time information of the data packets. The sending unit is configured to send the first message in response to the arrival of the first message's sending time. The first message is used to obtain air interface resource information, and the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
49. The apparatus according to claim 48, characterized in that, The processing unit is further configured to predict the size of the data packet based on the transmission characteristics of the data packet, wherein the first message includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information.
50. The apparatus according to claim 49, characterized in that, The first message is a Buffer Status Report (BSR) message.
51. A terminal device, characterized in that, The terminal device includes at least one processor, the at least one processor being coupled to at least one memory: The at least one processor is configured to execute a computer program or instructions stored in the at least one memory, causing the terminal device to perform the transmission method according to any one of claims 1-11 or 23-25.
52. A base station, characterized in that, The base station includes at least one processor, and the at least one processor is coupled to at least one memory: The at least one processor is configured to execute a computer program or instructions stored in the at least one memory, causing the base station to perform the transmission method according to any one of claims 12-22.
53. A computer-readable storage medium, characterized in that, Includes instructions that, when executed on a computer, cause the computer to perform the sending method described in any one of claims 1-25.
54. A chip, characterized in that, The chip is located in the terminal device and includes a processor and interface circuitry; The interface circuit is used to receive instructions and transmit them to the processor; The processor is configured to perform the transmission method according to any one of claims 1-11 or 23-25.