CN114630422A - Sending method and device - Google Patents

Sending method and device Download PDF

Info

Publication number
CN114630422A
CN114630422A CN202011434644.3A CN202011434644A CN114630422A CN 114630422 A CN114630422 A CN 114630422A CN 202011434644 A CN202011434644 A CN 202011434644A CN 114630422 A CN114630422 A CN 114630422A
Authority
CN
China
Prior art keywords
message
data packet
base station
terminal device
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011434644.3A
Other languages
Chinese (zh)
Inventor
贺宁
杨海泉
叶济宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN202011434644.3A priority Critical patent/CN114630422A/en
Priority to PCT/CN2021/129791 priority patent/WO2022121610A1/en
Publication of CN114630422A publication Critical patent/CN114630422A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • H04W72/1268Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows

Abstract

The embodiment of the application discloses a sending method and a sending device, aiming at allocating air interface resources for terminal equipment according to the actual requirements of the terminal equipment and avoiding the waste of the air interface resources on the basis of reducing the sending delay of an uplink data packet. The sending method provided by the embodiment of the application comprises the following steps: the terminal equipment acquires the transmission characteristics of the data packet; the terminal equipment obtains first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is time information of sending the data packet to a base station by the terminal equipment; the terminal device sends a first message to the base station, where the first message includes the first sending 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 sending time information, and the air interface resource corresponding to the air interface resource information is used for the terminal device to send the data packet to the base station.

Description

Sending method and device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a sending method and a sending device.
Background
When uplink data needs to be sent to the base station, the terminal device may apply for an air interface resource from the base station and transmit the uplink data by using the air interface resource. Specifically, after detecting that there is uplink data to be sent, the terminal device may request an air interface resource from the base station by sending a Buffer State Report (BSR) message. After receiving the BSR message, the base station may 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 may transmit uplink data by using the air interface resource allocated by the base station.
Since the terminal device will request the air interface resource from the base station after detecting that there is uplink data to be sent, a certain time delay exists between the generation and sending of the uplink data. Therefore, the conventional air interface resource request method is not suitable for services with high delay requirements, such as games, videos, Virtual Reality (VR) or Augmented Reality (AR).
Therefore, the current base station may reserve air interface resources for the terminal device, that is, allocate the air interface resources to the terminal device without determining whether the terminal device has uplink data to be sent. Thus, when generating uplink data to be sent, the uplink data can be transmitted by using the allocated air interface resources. Thus, the time delay of uplink data transmission can be reduced. However, according to the technical scheme, when the terminal device does not send uplink data to the base station, air interface resources of the base station are wasted.
Disclosure of Invention
The embodiment of the application provides a sending method and a sending device, aiming at allocating air interface resources for terminal equipment according to the actual requirements of the terminal equipment and avoiding the waste of the air interface resources on the basis of the sending delay of an uplink data packet.
In a first aspect, an embodiment of the present application provides a sending method, where the method is applied to a terminal device, such as a mobile terminal device like a mobile phone and a tablet computer. The method comprises the following steps: first, the terminal device obtains the transmission characteristics of the data packet, which may include the historical time of the terminal device sending the data packet. Then, the terminal device may predict time information of the terminal device transmitting the data packet to the base station according to the transmission characteristics of the data packet, to obtain the first transmission time information. After determining the first sending time information, the terminal device may send a first message to the base station, where the first message carries the first sending time information, and is used to instruct the base station to send the allocated air interface resource information to the terminal device according to the first sending time information, so that when a data packet is generated, the terminal device may send the data packet to the base station by using an air interface resource corresponding to the air interface resource information. In this way, the terminal device may determine time information for the terminal device to send the data packet to the base station and notify the base station before sending the data packet, so that the base station allocates air interface resources for the terminal device at a corresponding time and sends the air interface resource information. Therefore, the base station allocates the air interface resource when the terminal equipment needs to send the data packet, and does not allocate the air interface resource when the terminal equipment does not need to send the data packet. Meanwhile, the base station allocates air interface resources for sending data packets to the terminal equipment in advance. When a data packet needs to be sent, the terminal device may send the data packet by using the pre-allocated air interface resource, and compared with the conventional technology, on the basis of reducing the sending delay of the uplink data packet, waste of the air interface resource is avoided. In addition, because the base station does not allocate air interface resources when the terminal device does not send the data packet, the terminal device does not need to send the data packet containing no uplink data to the base station, and thus the electric quantity overhead of the terminal device is saved.
Optionally, after sending the first message to the base station, the terminal device may also send a second message to the base station, where the second message is used to notify the base station that the terminal device is to send a data packet. The first transmission time information may include an interval time after the terminal device transmits the second message to the base station, which is a time between the terminal device transmitting the second message and transmitting the data packet, and the interval time is after the terminal device transmits the second message to the base station. Accordingly, according to the interval time included in the first sending time information, the base station may determine how long the terminal device will send the data packet after the base station receives the second message, so as to allocate air interface resources for the terminal device at a corresponding time and send air interface resource information, so that the terminal device sends the data packet according to the air interface resource information.
Optionally, the terminal device may further estimate the size of the data packet to be transmitted, and notify the base station through the second message. The terminal device may predict the size of the data packet based on the transmission characteristics of the data packet, for example, predict the size of the data packet to be transmitted based on the size of the data packet transmitted in history. The terminal device may send the second message carrying the predicted size of the data packet to the base station, so that the base station may allocate an air interface resource to the terminal device according to the determination of the data packet.
Optionally, when the size of the data packet is included in the second message, the second message may be a buffer status report BSR message.
Alternatively, the first message may be a Radio Resource Control (RRC) message or a Medium Access Control (MAC) message.
Alternatively, when the first message is an RCC message, the data content part of the first message may include the aforementioned first transmission time information.
Alternatively, when the first message is a MAC message, the first message may include an index (index) field and a Logical Channel Identification (LCID) field. Wherein the index field may 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 (reserved) field of an LCID field of the first message, and the index field of the first message may include an identification of the reserved field. In this way, the base station may determine that the LCID field includes the first transmission time information according to the index field of the first message, thereby determining the first transmission time information according to the LCID field.
Optionally, the terminal device may also carry both the first transmission time information and the size of the data packet in the first message. Then, the first sending time information includes a first interval time, which is an interval time after the terminal device sends the first message to the base station and after the terminal device sends the data packet to the base station, that is, a time interval between the terminal device sending the first message and the data packet. The terminal device may predict the size of the data packet according to the transmission characteristics of the data packet, and carry the size of the data packet and the first transmission time information in the first message to transmit to the base station. Thus, after receiving the first message, the base station may determine how long the terminal device will send the data packet to the base station according to the first interval time, and determine the air interface resource to be allocated to the terminal device according to the size of the data packet. Therefore, before the terminal device sends the data packet to the base station, the terminal device may receive the air interface resource information sent by the base station, so as to send the data packet to the base station by using the air interface resource corresponding to the air interface resource information.
Optionally, when the first transmission time information and the size of the data packet are included in the first message, the first message may be a BSR message, for example, a MAC message.
Optionally, when the first message is a BSR message, the first message may include an index field and an LCID field. The LCID field is used to carry the first sending time information and the size of the data packet, and the index field is used to indicate that the LCID field includes the first sending time information and the size of the data packet.
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 sent by the base station. Then, the terminal device may predict second transmission time information, where the second transmission time information is an interval between the terminal device transmitting the SR message to the base station and the data packet being transmitted to the base station, and is equal to a sum of the first time interval and a second time interval, where the second time interval is an interval between the terminal device transmitting the SR message to the base station and the BSR message being transmitted. The terminal device may also predict a second time interval, and according to the second time interval and the second sending time information, the terminal device may determine the first time interval to obtain the first sending time information. When transmitting the first message, the terminal device may transmit the first message to the base station according to the second transmission time information. Therefore, the influence of the time difference between the SR message sending and the BSR message sending of the terminal equipment is considered, the accuracy of prediction is improved, and air interface resources are further saved.
In a second aspect, an embodiment of the present application provides a transmission method, where the method is applied to a base station, and includes the following steps: first, the base station receives a first message from the terminal device, where the first message includes first transmission time information of a data packet, that is, time information of the data packet transmitted by the terminal device to the base station, and the first transmission time information may be size of the data packet predicted by the terminal device according to transmission characteristics of the data packet, and may be predicted by the terminal device according to the transmission characteristics of the data packet. According to the first sending time information, the base station may determine when the terminal device will send the data packet to the base station, so as to allocate an air interface resource to the terminal device at a corresponding time and send air interface resource information to the terminal device, where the air interface resource corresponding to the air interface resource information is used for the terminal device to send the data packet to the base station. Before sending the data packet, the terminal device may receive the air interface resource information sent by the base station, so as to send the data packet to the base station by using the air interface resource corresponding to the air interface resource information. In this way, the base station allocates the air interface resource to the terminal device according to the time when the terminal device sends the data packet, that is, the air interface resource is allocated when the terminal device needs to send the data packet, and the air interface resource is not allocated when the terminal device does not need to send the data packet, thereby saving the air interface resource.
Optionally, the base station may further receive a second message from the terminal device, the second message indicating that the terminal device is to transmit a data packet to the base station. Then, the first transmission time information may include an interval time after the terminal device transmits the second message to the base station, which is a time interval between the terminal device transmitting the second message and transmitting the data packet, and the interval time is from the terminal device transmitting the packet to the base station. Accordingly, after receiving the second message, the base station may determine, according to the first sending time information, how long the terminal device is to send the data packet, so as to allocate an air interface resource to the terminal device at a corresponding time and send air interface resource information, so that the terminal device sends the data packet according to the air interface resource information.
Alternatively, the second message may include the size of the data packet, which may be predicted by the terminal device according to the transmission characteristics of the data packet. Then, before sending the allocated air interface resource information to the terminal device, the base station may also determine, according to the size of the data packet, the air interface resource required by the terminal device to send the data packet, so as to determine the corresponding air interface resource information.
Alternatively, when the size of the data packet is included in the second message, the second message may be a buffer status report BSR message.
Alternatively, the first message may be an RRC message or a MAC message.
Alternatively, when the first message is an RCC message, the data content part of the first message may include the aforementioned first transmission time information.
Optionally, when the first message is a MAC message, the first message may include an index field and an LCID field. Wherein the index field may 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 an LCID field of the first message, and the index field of the first message may include an identification of the reserved field. In this way, the base station may determine that the LCID field includes the first transmission time information according to the index field of the first message, thereby determining the first transmission time information according to the LCID field.
Alternatively, the first sending time information may include a first interval time, which is an interval time after the terminal device sends the first message to the base station and after the terminal device sends the data packet to the base station, that is, a time interval between the terminal device sending the first message and sending the data packet. Then, according to the first sending time information and the time for the terminal device to send the first message, the base station may determine how long the terminal device will send the data packet to the base station, so as to allocate air interface resource information to the terminal device after receiving the first interval time of the first message from the terminal device.
Optionally, the first message may further include a size of the data packet. Thus, after receiving the first message, the base station may determine not only the time for the terminal device to send the data packet, but also how many air interface resources are required for the terminal device to send the data packet, thereby determining corresponding air interface resource information.
Alternatively, when the first transmission time information and the size of the data packet are included in the first message, the first message may be a BSR message, for example, a MAC message.
Optionally, when the first message is a BSR message, the first message may include an index field and an LCID field. The LCID field is used to carry the first sending time information and the size of the data packet, and the index field is used to indicate that the LCID field includes the first sending time information and the size of the data packet.
In a third aspect, an embodiment of the present application provides a sending method, where the method is applied to a terminal device, such as a mobile terminal device like a mobile phone and a tablet computer. The method comprises the following steps: first, the terminal device obtains the transmission characteristics of the data packet, which may include the historical time of the terminal device sending the data packet. Then, the terminal device may obtain, according to the transmission characteristics of the data packet, transmission time information of the data packet, where the transmission time information is time information of the data packet transmitted by the terminal device to the base station, for example, a time when the terminal device transmits the data packet to the base station. The terminal device may determine a transmission time of the first message according to the time information of the transmission data packet. The first message is used for acquiring air interface resource information. The base station may allocate air interface resources to the terminal device according to the first message and send air interface resource information. In response to the arrival of the sending time of the first message, the terminal device may send the first message to the base station, so that the base station allocates air interface resources for the terminal device. In this way, before transmitting the data packet, the terminal device can predict the time of transmitting the data packet and determine the transmission time of the first message according to the time of transmitting the data packet. And before the sending time of the first message is reached, the terminal equipment does not request the base station to allocate air interface resources. After the first message is received, the terminal equipment requests the base station to allocate air interface resources. Therefore, the terminal equipment requests the base station to allocate the air interface resource before sending the data packet, the base station allocates the air interface resource when the terminal equipment needs to send the data packet, and the air interface resource is not allocated when the terminal equipment does not need to send the data packet. In addition, the base station can determine the air interface resource information after receiving the first message without waiting, so that the method reduces the modification of the base station.
Optionally, the terminal device may also predict the size of the data packet according to the transmission characteristics of the data packet, and send the size of the data packet to the base station by carrying the size of the data packet in the first message, so that the base station determines the air interface resource information according to the size of the data packet to be transmitted.
Optionally, when the first message includes the size of a data packet, the first message is a buffer status report BSR message.
In a fourth aspect, an embodiment of the present application provides a transmitting apparatus, which may be applied to a terminal device, and includes: the processing unit is used for acquiring the transmission characteristics of the data packet; obtaining first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is time information of sending the data packet to a base station by the terminal equipment; a sending unit, configured to send a first message to the base station, where the first message includes the first sending 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 sending time information, and an 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.
Optionally, the first sending time information includes an interval time from the terminal device sending the data packet to the base station after sending the second message to the base station; the sending unit is further configured to send the second message to the base station.
Optionally, the processing unit is further configured to predict a size of the data packet according to a transmission characteristic of the data packet, where 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.
Optionally, when the second message includes the size of the data packet, the second message is a buffer status report BSR message.
Optionally, the first message is a radio resource control RRC message or a medium access control MAC message.
Optionally, the data content of the RRC message includes the first transmission time information.
Optionally, the MAC message includes an index field and an LCID field, and a value of the index field is used to indicate that the LCID field includes the first transmission time information.
Optionally, the first sending time information includes a first interval time, where the first interval time is an interval time from the terminal device sending the first message to the base station; the processing unit is further configured to predict a size of the data packet according to a transmission characteristic of the data packet, where the first message further 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.
Optionally, the first message is a buffer status report BSR message.
Optionally, the BSR message includes an index field and an LCID field, and a 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.
Optionally, the processing unit is further configured to predict second sending time information of the data packet according to the transmission characteristic of the data packet, where the second sending time information is a sum of the first interval time and a second interval time, and the second interval time is an interval time between when the terminal device sends a scheduling request SR message to the base station and when the BSR message is sent; obtaining the first sending time information according to the second sending time information and the second interval time; and the sending unit is used for sending a first message to the base station according to the second sending time information.
In a fifth aspect, an embodiment of the present application provides a transmitting apparatus, which may be applied to a base station, and includes: a receiving unit, configured to receive a first message from a terminal device, where the first message includes first sending time information of a data packet, and the first sending time information of the data packet is time information of sending the data packet to the base station by the terminal device; and a processing unit, configured to send, to the terminal device, allocated air interface resource information according to the first sending time information, where an 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.
Optionally, the first sending time information includes an interval time from the terminal device sending the data packet to the base station after sending the second message to the base station; the receiving unit is also used for receiving a second message from the terminal equipment; the processing unit is further configured to send the allocated air interface resource information to the terminal device after the interval time.
Optionally, the second message includes the size of the data packet predicted by the terminal device; and the processing unit is configured to determine the air interface resource information according to the size of the data packet.
Optionally, the second message is a buffer status report BSR message.
Optionally, the first message is a radio resource control RRC message or a media access control MAC message.
Optionally, the data content of the RRC message includes the first transmission time information.
Optionally, the MAC message includes an index field and an LCID field, and a value of the index field is used to indicate that the LCID field includes the first transmission time information.
Optionally, the first sending time information includes a first interval time, where the first interval time is an interval time after the terminal device sends the first message to the base station and before the terminal device sends the data packet to the base station,
the processing unit is configured to send the allocated air interface resource information to the terminal device after receiving the interval time of the first message from the terminal device.
Optionally, the first message further includes a size of the data packet predicted by the terminal device;
and the processing unit is configured to determine the air interface resource information according to the size of the data packet.
Optionally, the first message is a buffer status report BSR message.
Optionally, the BSR message includes an index field and an LCID field, and a 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.
In a sixth aspect, an embodiment of the present application provides a sending apparatus, where the apparatus is located in a terminal device, and the sending apparatus includes: the processing unit is used for acquiring the transmission characteristics of the data packet; obtaining sending time information of the data packet according to the transmission characteristics, wherein the sending time information is the time information of sending the data packet to a base station by the terminal equipment; determining the sending time of a first message according to the sending time information of the data packet; a sending unit, configured to send the first message in response to a sending time of the first message, where the first message is used to obtain air interface resource information, and an air interface resource corresponding to the air interface resource information is an air interface resource allocated by the base station to the terminal device.
Optionally, the processing unit is further configured to predict a size of the data packet according to a transmission characteristic of the data packet, where 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.
Optionally, the first message is a buffer status report BSR message.
In a seventh aspect, an embodiment of the present application provides a communication system, which includes a terminal device, where the terminal device may be configured to execute the sending method in the foregoing first aspect or third aspect.
In an eighth aspect, an embodiment of the present application provides a communication system, which includes a base station, where the base station may be configured to perform the transmission method described in the foregoing second aspect.
In a ninth aspect, an embodiment of the present application provides a terminal device, including at least one processor, coupled with at least one memory: the at least one processor is configured to execute the computer program or the instructions stored in the at least one memory, so that the terminal device performs the transmission method according to the foregoing first aspect or third aspect.
In a tenth aspect, an embodiment of the present application provides a base station device, including at least one processor coupled with at least one memory: the at least one processor is configured to execute the computer program or instructions stored in the at least one memory to cause the base station to perform the transmission method according to the second aspect.
In an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a computer program and when the computer program runs on a computer, the computer program causes the computer to execute the message sending method according to the first aspect.
In a twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a computer program, and when the computer program runs on a computer, the computer program causes the computer to execute the message sending method according to the first aspect or the message processing method according to the second aspect.
In a thirteenth aspect, an embodiment of the present application provides a chip, where the chip is located in a terminal device, and includes a processor and an interface circuit; the interface circuit is used for receiving instructions and transmitting the instructions to the processor; the processor is configured to execute the transmission method according to the first aspect or the third aspect.
Drawings
Fig. 1 is a schematic network architecture diagram of a system 10 according to an embodiment of the present application;
fig. 2 is an interaction diagram of a transmission method according to an embodiment of the present application;
fig. 3 is another interaction diagram of a transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a network architecture of a system 400 according to an embodiment of the present application;
fig. 5 is a schematic interaction diagram of a sending method according to an embodiment of the present application;
fig. 6 is a schematic interaction diagram of a sending method according to an embodiment of the present application;
fig. 7 is a schematic interaction diagram of a sending method according to an embodiment of the present application;
fig. 8 is a schematic interaction diagram of a sending method according to an embodiment of the present application;
fig. 9 is a schematic interaction diagram of a sending method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a transmitting apparatus 1000 according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a transmitting apparatus 1100 according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a transmitting apparatus 1200 according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a terminal device 1300 according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a terminal device 1400 according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of a base station 1500 according to an embodiment of the present disclosure;
fig. 16 is a schematic structural diagram of a base station 1600 according to an embodiment of the present application.
Detailed Description
The following describes a transmission method and apparatus provided by the conventional technology and embodiments of the present application with reference to the drawings.
In a wireless communication network, a terminal device transmits uplink data to a server through a base station. Specifically, the terminal device may transmit uplink data to the base station in the form of a data packet. The base station may receive the data packets and forward the data packets to the corresponding server. After receiving the data packet sent by the base station, the server may send acknowledgement information to the base station, so that the base station forwards the acknowledgement information to the terminal device. In enhanced Mobile Broadband (eMBB) services such as games, VR, AR and the like, interaction between a terminal device and a server is frequent, and a requirement for round-trip time (RTT) is high. The RTT refers to a total time required from when the terminal device transmits uplink data to when the terminal device receives the acknowledgement information from the server. Obviously, for the eMMB service, the smaller the RTT, the better the user experience.
Therefore, in the conventional air interface resource allocation method, the base station may reserve air interface resources for the terminal device, that is, allocate air interface resources for the terminal device when it is not determined whether the terminal device has uplink data to be sent. If the terminal device generates uplink data, the uplink data can be sent to the base station by using the allocated air interface resource. After the uplink data is generated, the terminal device does not need to send a BSR message to the base station to request the base station to allocate air interface resources, and does not need to wait for the base station to reply a UL grant message. Due to the fact that the time delay of the uplink data is reduced, the server can receive the uplink data of the terminal device more quickly and respond, and the terminal device can receive the response data of the server more quickly. Therefore, air interface resources are allocated to the terminal equipment in advance, so that the time delay of data transmission can be reduced, the RTT is reduced, and the user experience is improved.
However, when the terminal device does not need to send uplink data, the base station still allocates air interface resources for the terminal device. This part of air interface resources is not fully utilized, resulting in waste of air interface resources. In addition, in some scenarios, if the base station allocates an air interface resource to the terminal device, even if the terminal device does not have uplink data that needs to be sent, the terminal device sends a data packet that does not include the uplink data to the base station through the air interface resource, which increases the power consumption of the terminal device.
In order to solve the above-mentioned problem of air interface resource waste, embodiments of the present application provide a sending method and apparatus, which can allocate air interface resources to a terminal device according to an actual requirement of the terminal device, thereby avoiding waste of the air interface resources.
Fig. 1 is a schematic architecture diagram of a system 10 according to an embodiment of the present disclosure. As shown in fig. 1, the system 10 includes a terminal device 11 and a base station 12. Terminal equipment 11 is connected to base station 12 and can transmit data to each other.
In the embodiment of the present application, the terminal device 11, which may also be referred to as a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), a terminal, etc., is a device for providing voice and/or data connectivity to a user, or a chip disposed in the device, for example, a handheld device with a wireless connection function, a vehicle-mounted device, etc. Currently, some examples of terminal devices are: a mobile phone, a desktop computer, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety, a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a home gateway device (5G-gateway, 5G-RG) supporting a fifth Generation mobile communication technology (5th-Generation, 5G) access, and the like.
The base station 12 may be an evolved nodeb (enobe B) or a next generation nodeb (NG NobeB) base station. Accordingly, the transmission method provided in the embodiment of the present application may be applied to the 4th generation mobile communication technology (4G) network or a 5G network.
Fig. 2 is an interaction schematic diagram of a transmission method provided in an embodiment of the present application, where the transmission method provided in the embodiment of the present application includes the following steps:
s201: the terminal equipment acquires the transmission characteristics of the data packet.
Before sending a data packet, the terminal device may first obtain transmission characteristics of the data packet. The data packet may be an uplink data packet sent by the terminal device to the base station, for example, a video data packet uploaded by the terminal device, or a data packet generated by the terminal device according to operations such as clicking or sliding of a user. The transmission characteristics of the data packets represent the historical rule of the data packets transmitted by the terminal device, and may include, for example, the time when the terminal device transmits the first N (N is a positive integer greater than 1) data packets.
In the embodiment of the present application, the terminal device may record the time when the data packet is transmitted each time the data packet is transmitted. Then, before sending the (N +1) th data packet, the terminal device may query the time when the first N data packets are sent, and determine the transmission characteristics of the (N +1) th data packet.
In some possible implementations, the terminal device includes a processor and a Modem (Modem). The processor may be a Central Processing Unit (CPU) or other device, and is configured to process data generated by the processor or received data. The modem may be a baseband chip or other device for communicating with a base station or other external devices. In the process that the terminal device sends the data packet to the base station, the processor may transmit the data packet to the network layer device, and the modem may send the data packet to the base station, so that the network layer device of the terminal device may record when receiving the data packet sent by the application layer device, and record time information of receiving the data packet, to obtain transmission characteristics of the data packet.
S202: and the terminal equipment obtains the first sending time information of the data packet according to the transmission characteristics.
After obtaining the transmission characteristics of the data packet, the terminal device may determine the first sending time information of the data packet according to the transmission characteristics of the data packet. The first sending time information is the time information of sending the data packet to the base station by the terminal equipment. When the first sending time information is determined, the terminal device may determine, according to the transmission characteristics, a time interval at which the terminal device sends two adjacent data packets, and then determine the first sending time information according to the time interval; or determining the time interval between the current moment and the terminal equipment for sending the data packet according to the transmission characteristics, and then determining the first sending time information according to the time interval.
These two ways of determining the first transmission time information are described in detail below.
For the uplink data regular service such as the uplink video service, the terminal device may send the data packets to the base station at equal intervals, i.e. the time interval between two times of sending the data packets by the terminal device is relatively fixed. Then, by analyzing the time of sending the data packet, the terminal device may determine the time interval between sending two adjacent data packets, and further obtain the first sending time information.
For example, assume that a terminal device transmits video data to a base station, and the video has 30 frames per second. The terminal equipment sends 30 data packets to the base station at equal intervals every second, and each data packet corresponds to one data frame of the video. That is, the terminal device transmits one packet to the base station every 1/30.33 ms, and the transmission time interval of the packet is 33.33 ms. Then, by analyzing the transmission characteristics, the terminal device may determine that the transmission time interval of the first N data packets is 33.33ms, and thus determine that the (N +1) th data packet is to be transmitted 33.33ms after the nth data packet is transmitted, thereby obtaining the first transmission time information.
Alternatively, after determining the time interval between the transmission of two adjacent data packets, the terminal device may determine the first transmission time information according to the time interval and the time for transmitting the second message, and use the interval time after the second message is transmitted from the transmission of the data packets as the first transmission time information. For sending the second message and the specific calculation method, reference may be made to the description of the embodiment in fig. 3, which is not described herein again.
In the case of an upstream data irregular service such as an upstream game service, although the transmission of packets is irregular, the generation of packets is often regular. Then, by analyzing the generation process of the data packet, the terminal device may determine the time interval from the current time to the data packet transmission, and further obtain the first transmission time information.
Taking the game service as an example, after detecting that the user clicks the screen or performs other operations, the terminal device may analyze the operations of the user, generate a corresponding operation instruction, and generate a data packet, that is, the terminal device may generate the data packet after detecting the user operation. In this way, after detecting the user operation, the terminal device can take the time interval from the detection of the user operation to the transmission of the data packet in the history data as the transmission characteristic of the data packet. In this way, by analyzing the transmission characteristics, the terminal device can determine the time interval from the detection of the user operation to the transmission of the data packet, that is, the time interval from the current time to the transmission of the data packet by the user.
Optionally, after a time interval from the current time to the user to send the data packet, the terminal device may determine the first sending time information according to the time interval and the time required to send the first message, and use the time from the time to send the data packet after sending the first message as the first sending time information. For a specific calculation method, reference may be made to the description of the embodiment in fig. 6, which is not described herein again.
In some possible implementations, the terminal device may predict a time of the data packet according to a transmission characteristic of the data packet, and directly use the time of transmitting the data packet as the first transmission time information.
In the embodiment of the present application, the above methods for determining the first sending time information may all be implemented by a model. The terminal device may pre-establish a prediction model, where an input of the model is a transmission characteristic of the data packet and an output of the model is the first transmission time information. In this way, when the first sending time information needs to be determined, the terminal device may input the transmission characteristics of the data packet into the prediction model to obtain the first sending time information.
S203: the terminal equipment sends a first message to the base station, wherein the first message comprises first sending time information.
After determining the first transmission time information, the terminal device may transmit a first message to the base station. The first message carries first sending time information, so that the base station allocates air interface resources to the terminal equipment according to the first sending time information. In one possible implementation, the terminal device may send the first message to the base station over a wireless connection with the base station.
S204: and the base station allocates air interface resources for the terminal equipment according to the first sending time information.
The base station may receive a first message sent by the terminal device through an entity antenna or a virtual antenna, and obtain first sending time information from the first message. According to the first sending time information, the base station may determine a time when the terminal device sends the data packet to the base station, so as to allocate air interface resources to the terminal device. For example, assuming that the first transmission time information indicates that the terminal device will transmit the data packet to the base station at the first time, the base station may allocate air interface resources to the terminal device at the first time.
S205: and the base station sends the allocated air interface resource information to the terminal equipment.
After allocating the air interface resource to the terminal device, the base station may send the allocated air interface resource information to the terminal device, so that the terminal device determines the allocated air interface resource according to the air interface resource information. The air interface resource corresponding to the air interface resource information is used for the terminal device to send a data packet to the base station, that is, the air interface resource allocated by the base station to the terminal device. According to the air interface resource information, the terminal equipment can utilize the allocated air interface resource to send the data packet. For example, if the base station allocates an air interface resource of the frequency band a to the terminal device, the air interface resource information may carry related information of the frequency band a. The terminal device may determine, according to the air interface resource information, that the frequency band a is an air interface resource allocated to itself by the base station, and thus send a data packet to the base station by using the frequency band a.
The embodiment of the application provides a sending method, before sending a data packet, a terminal device may first obtain transmission characteristics of the data packet, and predict a time for sending the data packet according to the transmission characteristics of the data packet, so as to send a first message including first sending time information to a base station, and notify the base station of the time for sending the data packet. After receiving the first message, the base station may determine, according to the first sending time information, a time at which to allocate an air interface resource to the terminal device, so as to allocate the air interface resource to the terminal device and notify the terminal device through the air interface resource information. And allocating air interface resources to the terminal equipment according to the first sending time information, which is equivalent to allocating the air interface resources to the terminal equipment according to the moment of sending the data packet by the terminal equipment. Thus, the base station allocates air interface resources when the terminal equipment needs to send the data packet. Compared with the prior art, according to the embodiment of the application, when the terminal equipment does not need to send the data packet, the base station does not allocate the air interface resource to the terminal equipment, so that the air interface resource is saved. Meanwhile, the base station allocates air interface resources for sending data packets to the terminal equipment in advance. When there is a data packet to be sent, the terminal device may send the data packet by using the pre-allocated air interface resource, thereby reducing the sending delay of the uplink data packet. In addition, because the base station does not allocate air interface resources when the terminal device does not send the data packet, the terminal device does not need to send the data packet containing no uplink data to the base station, and thus the electric quantity overhead of the terminal device is saved.
The system shown in fig. 1 will be described as an example. The terminal device 11 sends the video to the base station 12, and the number of frames per second of the video is 30 frames, the resolution is 480P, and the video code rate is fixed. Then terminal device 11 will send a data packet to base station 12 every 33.33 ms. Before sending the xth data packet (X is a positive integer greater than 1), the terminal device 12 may obtain the time when the xth data packet is sent, as the transmission characteristic of the xth data packet. By analyzing the transmission characteristics of the xth data packet, the terminal device 11 may determine that the time for sending the xth data packet is 33.33ms after sending the xth-1 data packet, that is, the first sending time information is 33.33ms after sending the xth-1 data packet. Terminal device 11 may transmit a first message to base station 12 informing base station 12 of the first transmission time information. According to the first sending time information, the base station 12 may determine that the xth data packet is to be sent 33.33ms after the xth-1 data packet is sent, so that air interface resources are allocated to the terminal device 11 33.33ms after the terminal device 11 sends the xth-1 data packet, and air interface resource information is sent to the terminal device 11. Terminal device 11 may determine, according to the air interface resource information, an air interface resource allocated by base station 12 to terminal device 11, so as to send the xth data packet to base station 12 by using the air interface resource. Thus, after the terminal device 11 sends the X-1 th data packet and before the terminal device 11 sends the X-th data packet, the base station 12 does not allocate air interface resources to the terminal device 11. Equivalently, when the terminal device 11 does not send the data packet, the base station 12 does not allocate air interface resources to the terminal device 11, thereby avoiding waste of air interface resources.
In this embodiment, in consideration of the time consumption for sending and transmitting the air interface resource information, the base station may correspondingly advance the time for sending the air interface resource information to the terminal device, so as to ensure that the terminal device receives the air interface resource information before sending the data packet. For example, assuming that the terminal device needs to send a data packet to the base station at a first time, and the total duration required for the base station to send the air interface resource information and the first terminal device to receive the air interface resource information is a first time interval, the base station may determine to determine a second time according to the first time and the first time interval, and allocate the air interface resource to the terminal device and send the air interface resource information at the second time. Thus, it can be ensured that the terminal device can receive the air interface resource information before sending the data packet, thereby determining the air interface resource for sending the data packet.
In an actual application scenario, the terminal device may also predict the size of the data packet and send the data packet to the base station, so that the base station determines an air interface resource allocated to the terminal device according to the size of the data packet. In this embodiment of the application, the terminal device may notify the base station of the size of the data packet to be sent by sending the second message to the base station, or may carry the size of the data packet in the first message. These two implementations are described separately below.
First, a manner in which the terminal device transmits the second message to the base station will be described. Referring to fig. 3, fig. 3 is an interaction schematic diagram of a transmission method provided in an embodiment of the present application, where the transmission method includes the following steps:
s301: the terminal equipment acquires the transmission characteristics of the data packet.
Before sending a data packet, the terminal device may obtain transmission characteristics of the data packet. The definition of the data packet and the transmission characteristics may be shown in step S201, and is not described herein again.
In consideration of the need to predict the size of the data packet, in the embodiment of the present application, the transmission characteristic of the data packet may further include the size of the data packet, for example, the size of each of the first N (N is a positive integer greater than 1) data packets sent by the terminal device may be included.
S302: and the terminal equipment obtains the first sending time information of the data packet according to the transmission characteristics of the data packet.
In this embodiment, the first sending time information may include an interval time from the terminal device sending the second message to the base station, that is, a time difference between a time when the terminal device sends the second message and a time when the terminal device sends the data packet. For example, suppose that the terminal device sends a data packet to the base station every 33.33ms, and the second message is sent to the base station 1ms before each data packet is sent. Then, the interval may be (T-1) - (T +33.33-1) ═ 33.33 ms. Wherein T represents the time when the terminal device transmits the last data packet.
The specific method for predicting the first sending time information according to the transmission characteristics of the data packet in step S302 may refer to the description of S202 in the corresponding embodiment of fig. 2, and is not described herein again.
S303: the terminal equipment sends a first message to the base station, wherein the first message comprises first sending time information.
For the related content of step S303, please refer to the description of step S203 in the corresponding embodiment of fig. 2, which is not repeated herein.
In this embodiment, the first message may be a Radio Resource Control (RRC) message or a medium access Control (medium access Control) message. When the first message is an RRC message, the terminal device may carry the first transmission time information in a data content part of the first message. When the first message is a MAC message, the first message may include an index (index) field and a Logical Channel Identification (LCID) field. The LCID field may carry first transmission time information, and a value of the index field is used to indicate that the LCID field includes the first transmission time information.
Optionally, when the first message is a MAC message, the terminal device may carry the first transmission time information in a reserved (reserved) field of the LCID field. For example, the LCID field with index 33 may be used to carry the first transmission time information. The terminal device may set a value of an LCID field of the first message with an index of 33 to the first transmission time information. Thus, after receiving the first message, the base station may determine that the LCID field with the index of 33 includes the first transmission time information according to the index field, and further extract the first transmission time information from the first message.
S304: and the terminal equipment predicts the size of the data packet according to the transmission characteristics of the data packet.
When the transmission characteristics of the data packet further include the size of the data packet that the terminal device has historically transmitted, the terminal device may predict the size of the data packet based on the transmission characteristics of the data packet. The size of the data packet indicates how much information is carried in the data packet, and the unit of the size of the data packet may be bits (B), bytes (B), or kilobytes (kB). For example, assuming that the first N data packets transmitted by the terminal device are the same size, the terminal device may determine that the size of the data packet is consistent with the first N data packets. Similar to step S202, the terminal device may also determine the size of the data packet through a prediction model.
The description will be given taking an example in which the terminal device transmits a video packet to the base station. Suppose that a terminal device sends a video to a base station, the number of frames per second of the video is 30 frames, and the code rate is 3000 kilobytes per second (kbps), which means that the video has 30 frames of images per second, and the total amount of data transmitted per second is 3000 kB. Then the process is repeated. The terminal device sends a packet to the base station every 1/30-33.33 milliseconds (ms), and the size of the packet is 3000/30-100 kB. Then, by analyzing the transmission characteristics of the data packets, the prediction model may determine that the terminal device will send a data packet with a size of 100kB to the base station every 33.33ms, that is, the time interval for sending the data packet by the terminal device is 33.33ms, and the size of the data packet is 100 kB.
In some possible implementations, the size of the data packet may also be an average or a maximum of the sizes of the first N data packets transmitted by the terminal device.
It should be noted that, in the embodiment of the present application, step S304 may be executed after step S303, or may be executed before step S303.
S305: and the terminal equipment sends a second message to the base station, wherein the second message comprises the size of the data packet.
After sending the first message to the base station, the terminal device may send a second message to the base station, where the second message includes the size of the data packet, so that the base station allocates an air interface resource to the terminal device according to the size of the data packet. Optionally, the second message is a BSR message, and the terminal device sends the second message to the base station through a wireless connection with the base station.
S306: and the base station allocates air interface resources for the terminal equipment according to the first sending time information and the size of the data packet.
The base station may receive a first message sent by the terminal device through an entity antenna or a virtual antenna, and obtain first sending time information from the first message. According to the first sending time information, the base station may determine a time when the terminal device sends the data packet to the base station, thereby determining a time when air interface resources are allocated to the terminal device. According to the size of the data packet, the base station may determine a frequency band required for the terminal device to send the data packet to the base station, thereby determining a frequency band of an air interface resource allocated to the terminal device. Thus, when the terminal device sends the data packet, the base station may allocate an air interface resource corresponding to the data packet for the terminal data.
S307: and the base station sends the allocated air interface resource information to the terminal equipment.
For the related content of step S307, please refer to the description of S205 in the corresponding embodiment of fig. 2, which is not repeated herein.
When the terminal device needs to send a plurality of data packets with similar sizes to the base station at equal intervals, the terminal device may first send a first message to the base station, and send a second message to the base station before sending the data packet each time, so as to notify the base station of the size of the data packet sent this time. Accordingly, the base station, upon receiving the first message, may determine a time interval between the transmission of the second message from the terminal device and the transmission of the data packet by the terminal device. Thus, after receiving the second message, the base station may determine that the terminal device sends the data packet, thereby allocating air interface resources to the terminal device. Therefore, the base station does not allocate air interface resources for the terminal equipment when the terminal equipment does not send the data packet, and the air interface resources of the base station are saved. In addition, 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 send a second message to the base station before sending each data packet, and it does not need to send the first message to the base station when sending each data packet. Therefore, aiming at the regular service of the uplink data, the data interaction amount between the terminal equipment and the base station is reduced, and the pressure of the terminal equipment and the base station is relieved.
The system 400 shown in fig. 4 is taken as an example for explanation. Referring to fig. 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 an application and generate an upstream packet. The baseband chip 412 is used to transmit the uplink data packet generated by the processor 411 to the base station 420.
When the system 400 shown in fig. 4 performs the transmission method shown in fig. 3, signaling interaction among the processor 411, the baseband chip 412 and the base station 420 may be as shown in fig. 5, including the following steps:
s501: the processor 411 obtains the transmission characteristics of the data packet.
The processor 411 in the terminal device 410 may generate and transmit data packets to the base station 420 through the baseband chip 412. Before generating the data packet, the processor 411 may obtain transmission characteristics of the data packet. For a detailed description of the transmission characteristics of the data packet, please refer to the description of S301 in the corresponding embodiment of fig. 3, which is not described herein again.
S502: the processor 411 obtains the first sending time information of the data packet according to the transmission characteristics of the data packet.
In this embodiment, the processor 411 may predict the transmission time of the data packet according to the transmission characteristics of the data packet, so as to obtain the first transmission time information of the data packet, where the first transmission time information is the interval time between the terminal device 410 and the base station 420 after the baseband chip 412 transmits the second message to the base station 420. For example, the time interval between the baseband chip 412 sending the second message and sending the data packet, that is, the interval between step S507 and step S512 may be used. In one example, the content of the first transmission time information may be: 10ms after the second message is sent, the baseband chip 412 sends a data packet to the base station 420.
Of course, in some possible implementations, the first sending time may also be an interval time between the processor 411 sending the data packet to the baseband chip 412 after the baseband chip 412 sends the second message to the base station 420, that is, an interval time between step S507 and step S511. For example, the content of the first transmission time information may 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. It may 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.
For a specific description of determining the first sending time, reference may be made to the description of S302 in the corresponding embodiment of fig. 3, which is not described herein again.
S503: the processor 411 notifies the baseband chip 412 of the first transmission time information.
After determining the first transmission time information, the processor 411 may notify the baseband chip 412 of the first transmission time information so that the baseband chip 412 transmits the first message to the base station 420.
S504: the baseband chip 412 sends a first message to the base station 420.
After receiving the first transmission time information, the baseband chip 412 may transmit a first message to the base station 420. For a detailed description about sending the first message, reference may be made to the description of S304 in the corresponding embodiment of fig. 3, which is not described herein again.
S505: the processor 411 predicts the size of the data packet according to the transmission characteristics of the data packet.
Upon determining that a data packet is to be generated, the processor 411 may predict the size of the data packet based on transmission characteristics of the data packet. For a specific description on determining the size of the data packet, reference may be made to the description of S303 in the corresponding embodiment of fig. 3, which is not described herein again.
S506: the processor 411 informs the baseband chip 412 of the size of the data packet.
After determining the size of the data packet to be transmitted, the processor 411 may notify the baseband chip 412 of the size of the data packet, so that the baseband chip 412 transmits a second message to the base station 420.
S507: the baseband chip 412 sends a second message to the base station 420.
Upon receiving the size of the data packet, the baseband chip 412 may send a second message to the base station 420. For a detailed description about sending the second message, reference may be made to the description of S305 in the corresponding embodiment of fig. 3, which is not described herein again.
S508: the base station 420 allocates air interface resources to the terminal device 410 according to the first sending time information and the size of the data packet.
After receiving the second message, the base station 420 may determine the time when the baseband chip 412 sends the second message according to the second message. Alternatively, the baseband chip 412 may add the time at which the second message is transmitted to the second message. In this embodiment of the application, the base station 420 may determine, according to the second message, a time at which the baseband chip 412 sends the second message, may also determine, according to a time at which the second message is received and a time delay value between the terminal device 410 and the base station 420, a time at which the baseband chip 412 sends the second message, and may also use the time at which the second message is received as the time at which the baseband chip 412 sends the second message.
For example. Assuming that the base station 420 receives the second message transmitted by the baseband chip 412 in the 1.001 (second, s) th second and the time delay value between the terminal device 410 and the base station 420 is 0.001s (1ms), the base station 420 may determine that the time when the baseband chip 412 transmits the second message is 1.001-0.001 ═ 1, i.e., the baseband chip 412 transmits the second message in the first second. Then the base station 420 may determine the time of day 1 second at which the second message is sent for the baseband chip 412.
After determining the time when the baseband 412 sends the second message, the base station 420 may determine, according to the first sending time information and the time when the baseband chip 412 sends the second message, the time when the air interface resource is allocated to the terminal device 410. For example, the base station 420 may determine, after the baseband chip sends the second message, a time when the aforementioned interval time elapses, as a time when the air interface resource is allocated to the terminal device 410 and the air interface resource information is sent.
For example. Assume that the first transmission time information is: 10ms after the second message is sent, the baseband chip 412 sends a data packet to the base station 420, and the baseband chip 412 sends the second message at 1 second. The base station 420 may determine that the time for allocating the air interface resource to the terminal device 410 is 10ms, that is, 1.01 second after the baseband chip 412 sends the second message, and determine that the time for allocating the air interface resource to the terminal device 410 and sending the air interface resource information is the time.
Optionally, in consideration of a certain time required for sending the air interface resource information, the base station 420 may also allocate air interface resources and send the air interface resource information to the terminal device 410 in advance. For example, the base station 420 may allocate air interface resources to the terminal device 410 in advance by 1ms, that is, allocate air interface resources to the terminal device 410 at the 1.009 seconds and send air interface resource information.
In addition, the base station 420 may also determine how much air interface resources are allocated to the terminal device according to the size of the data packet, and for the description of this part, reference may be made to the description of S306 in the embodiment corresponding to fig. 3, which is not described herein again.
S509: the base station 420 sends the allocated air interface resource information to the baseband chip 412.
When allocating air interface resources for the terminal device 410, the base station 420 may send air interface resource information to the baseband chip 412. For a description on sending the air interface resource information, reference may be made to the description of S307 in the embodiment corresponding to fig. 3, which is not described herein again.
S510: the processor 411 generates a data packet to be transmitted.
In this embodiment, the processor 411 may generate a data packet to be transmitted. The data packet to be transmitted is used to carry uplink data of the terminal device 410, and may be, for example, a data frame of a video.
S511: the processor 411 sends the data packet to be sent to the baseband chip 412.
After generating the data packet to be transmitted, the processor 411 may transmit the data packet to the baseband chip 412, so that the baseband chip 412 transmits the data packet to be transmitted to the base station.
It should be noted that step S510 and step S508 are logically separated, that is, they do not have an explicit precedence relationship. However, step S511 is performed before step S09, considering that the baseband chip 412 needs to transmit a data packet using the allocated air interface resource. In this way, it can be ensured that the baseband chip 412 has already specified the allocated air interface resource information before receiving the data packet to be sent. That is, step S510 may be executed before step S508, or after step S508 and before step S511, depending on the actual application.
S512: the baseband chip 412 sends the data packet to the base station 420 using the allocated air interface resource.
According to the air interface resource information, the baseband chip 412 may determine the air interface resource allocated by the base station 420 for the terminal device 410, and thus send the data packet to the base station 420 using the air interface resource.
In this embodiment, by analyzing the transmission characteristics of the data packet, the processor 411 may predict the size of the data packet before sending the data packet and send the data packet to the base station 420 through the second message, and may predict the time interval between sending the second message and sending the data packet before sending the second message. That is, the processor 411 can not only determine the size of the packet in advance, but also predict how long in advance the processor 411 can determine the size of the packet. In this way, the terminal device 410 can inform the base station 420 of the time interval between the transmission of the second message and the transmission of the data packet by the baseband chip 412 via the first message before the transmission of the second message. Thus, after receiving the second message, the base station 420 may determine, according to the time interval, the time required to allocate the air interface resource to the terminal device 410, and determine, according to the second message, the frequency band of the air interface resource allocated to the terminal device 410, so as to allocate the corresponding air interface resource to the terminal device 410 at the corresponding time, thereby saving the air interface resource of the base station. When the terminal device 410 needs to transmit a plurality of packets at equal intervals, for example, when transmitting a video, steps S506 to S512 may be repeatedly executed. The message sent by the terminal device 410 at each time may only carry the size of the data packet, and does not need to carry the first sending time information. Therefore, the data interaction amount between the terminal equipment and the base station is reduced, and the pressure of the equipment is relieved.
It should be noted that the second message may not carry the size of the data packet, and is only used to trigger the action of allocating the air interface resource by the base station. Specifically, the terminal device may transmit the second message to the base station after generation of the data packet is predicted. After receiving the second message, the base station may determine a time when the terminal device sends the second message, and determine a time when the terminal device sends the data packet according to an interval between the time when the terminal device sends the second message and the time when the terminal device sends the data packet (i.e., the first sending time information), so as to allocate air interface resources of a fixed size to the terminal device at the corresponding time.
The above describes a manner in which the terminal device notifies the base station of the size of the data packet through the second message, and the following describes a manner in which the terminal device notifies the base station of the size of the data packet carried in the first message. Referring to fig. 3, in the embodiment of the present application, the terminal device notifies the base station of the size of the data packet to be sent by sending the second message to the base station, or carries the size of the data packet in the first message. The two implementation manners are introduced below respectively 6, and fig. 6 is an interaction schematic diagram of a transmission method provided in an embodiment of the present application, where the transmission method includes the following steps:
s601: the terminal equipment acquires the transmission characteristics of the data packet.
For the related content of step S601, please refer to the description of S201 in the corresponding embodiment of fig. 2, which is not repeated herein.
S602: and the terminal equipment obtains the first sending time information of the data packet and the size of the data packet according to the transmission characteristics of the data packet.
After the transmission characteristics of the data packet are obtained, the terminal device may predict a time for sending the data packet according to the transmission characteristics, and obtain the first sending time information and the size of the data packet. In this embodiment, the first sending time information may include a first interval time, which is an interval time after the terminal device sends the first message to the base station and before the terminal device sends the data packet to the base station, that is, a time difference between a time when the terminal device sends the first message and a time when the terminal device sends the data packet. For example, assume that the terminal device determines that the data packet will be sent 20ms later, and that it takes 1ms to generate and send the first message. Then, the terminal device may determine that the first interval is (T +20) - (T +1) ═ 19ms (where T denotes the current time), that is, the terminal device will transmit the data packet 19ms after transmitting the first message.
In some possible implementations, the first message is a BSR message. Then, the terminal device needs to first send a Scheduling Request (SR) message to the base station, and can send the first message after confirming that the UL grant message sent by the base station is received. Obviously, it takes time for the terminal device to transmit the SR message, the base station to process the SR message, and transmit the UL grant message, so that a certain time interval exists between the time when the terminal device determines the first transmission time information and the time when the first message is transmitted, and the terminal device cannot determine the first time interval.
For this case, the terminal device may first determine the second time interval. The second time interval is the interval between the terminal equipment sending the SR message to the base station and sending the BSR message. That is, after sending the SR message to the base station, the terminal device receives the UL grant message sent by the base station and sends a BSR message to the base station. The length of time from the sending of the SR message to the sending of the BSR message is the second time interval. In this embodiment, the terminal device may record the time interval from the SR message to the BSR message when sending the SR message, and count an average value of the historical time intervals, and use the average value as the second time interval. Optionally, the terminal device may further select a maximum value of the historical time interval as the second time interval. The maximum value of the historical time interval is selected as the second time interval.
The terminal device may predict a time when the terminal device transmits the data packet according to the transmission characteristics of the data packet, and set a time when the SR message is transmitted. For example, the terminal device may arbitrarily set the timing of transmitting the SR message. After determining the time of transmitting the data packet and the time of transmitting the SR message, the terminal device may determine a time difference between the two as the second transmission time information, and obtain the second transmission time information. That is, the second transmission time information is an interval time from when the terminal device transmits the SR message to the base station to when the terminal device transmits the data packet to the base station.
It should be noted that the terminal device may determine the second transmission time information first and then determine the second time interval, or may determine the second time interval first and then determine the second transmission time information. The examples of this application do not limit this
Since the second transmission time information is the interval time from the terminal device to the base station to transmit the data packet after transmitting the SR message to the base station, the interval time is equivalent to the interval time from the SR message transmission to the first message (BSR message) transmission and then from the first message transmission to the data packet transmission, that is, the sum of the first interval time and the second interval time. Then, the terminal device may determine the first interval time according to the second sending time information and the second interval time, and obtain the first sending time information.
For a description of determining the size of the data packet, reference may be made to the description of S304 in the corresponding embodiment of fig. 3, which is not described herein again.
S603: the terminal equipment sends a first message to the base station, wherein the first message comprises first sending time information and the size of a data packet.
After determining the first sending time information and the size of the data packet, the terminal device may send a first message to the base station, where the first message includes the first sending time information and the size of the data packet, so that the base station allocates air interface resources to the terminal device according to the first sending time information. In one possible implementation, the terminal device may send the first message to the base station over a wireless connection with the base station.
In an embodiment of the present application, the first message may be a BSR message. Before sending the first message, the terminal device may send an SR message to the base station, so that the base station allocates an air interface resource for sending the BSR message to the terminal device. After receiving the UL grant message returned by the base station, the terminal device may send a first message to the base station.
In some possible implementations, the first message may be a BSR message in a MAC message format, including an index field and an LCID field. Wherein the LCID field may include first transmission time information and a size of the data packet. The index field is used to indicate that the LCID field includes first transmission time information and a size of the packet. Similar to step S303 in the corresponding embodiment of fig. 3, the terminal device may carry the first transmission time information and the size of the data packet in the reserved field of the LCID. The terminal device may expand the LCID field with index 33, and use this field to carry the first transmission time information and the size of the data packet. For example, the terminal device may expand the LCID field with index 33 into two rows, 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 may also use the two LCID fields to carry the first transmission time information and the size of the data packet, respectively.
Optionally, when the terminal device determines the first transmission time information according to the second time interval and the second transmission time information, the terminal device may transmit the first message to the base station according to the second transmission time information. Specifically, the terminal device may determine a time to transmit the SR message according to the second transmission time information, and transmit the first message to the base station at a second time interval after the time.
S604: and the base station allocates air interface resources for the terminal equipment according to the first sending time information and the size of the data packet.
For the related content of step S604, please refer to the description of S306 in the corresponding embodiment of fig. 3, which is not repeated herein.
S605: and the base station sends the allocated air interface resource information to the terminal equipment.
For the related content of step S605, please refer to the description of S205 in the corresponding embodiment of fig. 2, which is not repeated herein.
In this embodiment, the terminal device may predict the first sending time information and the size of the data packet according to the transmission characteristics of the data packet, and notify the base station of the time of sending the data packet and the size of the data packet through the first message. After receiving the first message, the base station may determine, according to the first sending time information, a time at which an air interface resource is allocated to the terminal device, and determine, according to the size of the data packet, how much air interface resource is allocated to the terminal device. Therefore, the base station does not allocate air interface resources to the terminal equipment when the terminal equipment does not send the data packet, so that the air interface resources of the base station are saved. In addition, for the services with irregular uplink data, such as the uplink game service, even if the time for the terminal device to send the data packet changes constantly, since the first message carries both the first sending time information and the size of the data packet, the base station can still allocate air interface resources to the terminal device according to the first message.
An application scenario in which the terminal device is a mobile phone and the terminal device runs game software and sends an operation data packet to the base station is taken as an example for explanation. While running the game software, the terminal device may acquire the operation signal at a fixed frequency, for example, at a frequency of 50 hz. Then, when the user performs an operation, the terminal signal generates 50 operation data packets per second and transmits the operation data packets to the base station. When the user does not perform an operation, the terminal device does not generate an operation packet. For this case, the terminal device may perform prediction for each of a plurality of data packets, and determine the first transmission time information and the size of the data packet according to the transmission characteristics of the data packet. In this way, for any packet, the terminal device predicts the time at which the packet is transmitted and notifies the base station. The first time interval is adjusted according to different data packets, and even if the generation of the data packets lacks regularity, the base station can allocate corresponding air interface resources to the terminal equipment at corresponding moments. This is done. The transmission delay of the data packet is reduced, and the air interface resource of the base station is saved.
The system 400 shown in fig. 4 is used as an example for illustration. When the system 400 shown in fig. 4 performs the transmission method shown in fig. 6, the signaling interaction between the processor 411, the baseband chip 412 and the base station 420 may be as shown in fig. 7, and includes the following steps:
s701: the processor 411 obtains the transmission characteristics of the data packet.
For the related content of step S701, refer to the description of S501 in the corresponding embodiment of fig. 5, which is not repeated here.
S702: the processor 411 obtains the first sending time information of the data packet and the size of the data packet according to the transmission characteristics of the data packet.
In this embodiment, the processor 411 may obtain the first sending time information by sending the time of predicting the data packet according to the transmission characteristic of the data packet. For example, the processor 411 may predict the time when the baseband chip 412 sends the data packet according to the transmission characteristics of the data packet, and determine the second time interval. The processor 411 may then set a time at which the SR message is transmitted and determine the second transmission time information according to a time at which the baseband chip 412 transmits the data packet. And subtracting the second sending time information from the second time interval to obtain a result, namely the first time interval. The processor 411 may determine the first time interval as the first transmission time information.
For example. It is assumed that the baseband chip 412 sends the SR message to the base station immediately after receiving the first transmission time information and size of the data packet, and the baseband chip 412 sends the data packet to the base station immediately after receiving the data packet. The second time interval may be regarded as the time interval between step S703 and step S704, and the second transmission time information may be regarded as the time interval between step S703 and step S708. In this way, the second sending time information is differentiated from the second time interval, and the obtained result is the time interval between step S704 and step S708, which is equivalent to the time interval between the sending of the first message by the baseband chip 412 and the sending of the data packet by the baseband chip 412, i.e. the first time interval. As can be seen, the terminal device may determine the first transmission time information through the second transmission time information and the second time interval.
For a specific description of determining the packet size, reference may be made to the description of S505 in the embodiment corresponding to fig. 5, which is not described herein again.
S703: the processor 411 notifies the baseband chip 412 of the first transmission time information and the size of the data packet.
For the related content of step S701, please refer to the description of S503 and S506 in the corresponding embodiment of fig. 5, which is not repeated herein.
S704: the baseband chip 412 sends a first message to the base station 420.
The baseband chip 412 may send a first message to the base station, where the first message may carry first sending time information and a size of a data packet. Taking the first message as the BSR message as an example, the baseband chip 412 may first send the SR message to the base station 420 according to the second sending time information. The base station 420 may receive the SR message, allocate air interface resources for sending the BSR message to the terminal device 410, and return an UL grant message to the baseband chip 412 of the terminal device 410. After receiving the UL grant message, the baseband chip 412 may generate a first message according to the first transmission time information and the size of the data packet and transmit the first message to the base station 420. For example, the baseband chip 412 may add the first transmission time information and the size of the data packet to a reserved field of the first message.
S705: the base station 420 allocates air interface resources to the terminal device 410 according to the first sending time information and the size of the data packet.
After receiving the first message, the base station 420 may determine the time when the baseband chip 412 sends the first message according to the first message. For a specific determination method, reference may be made to the description of S602 in the embodiment corresponding to fig. 6, which is not described herein again.
After determining the time when the baseband 412 sends the first message, the base station 420 may determine, according to the first sending time information and the time when the baseband chip 412 sends the first message, the time when air interface resources are allocated to the terminal device 410. For example, the base station 420 may determine, as the time when the air interface resource is allocated to the terminal device and the air interface resource information is sent, the time after the first interval time elapses after the baseband chip sends the first message.
Optionally, in consideration of a certain time required for sending the air interface resource information, the base station 420 may also allocate air interface resources and send the air interface resource information to the terminal device 410 in advance. For example, the base station 420 may allocate air interface resources to the terminal device 410 in advance by 1ms, that is, allocate air interface resources to the terminal device 410 at the 1.009 seconds and send air interface resource information.
In addition, the base station 420 may also determine how much air interface resources are allocated to the terminal device according to the size of the data packet, and for the description of this part, reference may be made to the description of S306 in the embodiment corresponding to fig. 3, which is not described herein again.
S706: the base station 420 sends the allocated air interface resource information to the baseband chip 412.
For the related content of step S706, please refer to the description of S509 in the corresponding embodiment of fig. 5, which is not repeated herein.
S707: the processor 411 generates a data packet to be transmitted.
For the related content of step S707, refer to the description of S510 in the corresponding embodiment of fig. 5, which is not repeated here.
S708: the processor 411 sends the data packet to be sent to the baseband chip 412.
For the related content of step S708, please refer to the description of S511 in the corresponding embodiment of fig. 5, which is not repeated herein.
S709: the baseband chip 412 sends the data packet to the base station 420 using the allocated air interface resource.
For the related content of step S708, please refer to the description of S512 in the corresponding embodiment of fig. 5, which is not repeated herein.
In the embodiment of the present application, by analyzing the transmission characteristics of the data packet, the processor 411 may predict the size of the data packet and the first transmission time information before transmitting the data packet. Thus, the base station 420 may determine, according to the first sending time information, a time at which an air interface resource needs to be allocated to the terminal device 410, and determine, according to the size of the data packet, a frequency band of the air interface resource allocated to the terminal device 410, so as to allocate the corresponding air interface resource to the terminal device 410 at the corresponding time, thereby saving the air interface resource of the base station.
In addition, when the terminal device needs to send a plurality of data packets to the base station at irregular time, the method provided by the embodiment of the application can predict each data packet, determine the first time interval corresponding to each data packet, and send the first time interval corresponding to each data packet and the size of the data packet to the base station. Therefore, the first time interval can be adjusted for different data packets, and even if the generation of the data packets lacks regularity, the base station can allocate corresponding air interface resources to the terminal equipment at corresponding time. Therefore, the transmission delay of the data packet is reduced, and the air interface resource of the base station is saved.
In the sending method provided in the foregoing embodiment, the base station may determine, according to the first sending time information, a time at which an air interface resource is allocated to the terminal device. Although air interface resources can be saved, the base station needs to wait for a time interval before allocating the air interface resources to the terminal device. Thus, not only the software program of the base station needs to be modified, but also the interface between the base station and the terminal equipment needs to be modified. In order to reduce modifications to the base station, the embodiment of the present application further provides another transmission method. Referring to fig. 8, fig. 8 is an interaction schematic diagram of another transmission method provided in the embodiment of the present application, where the transmission method includes the following steps:
s801: the terminal equipment acquires the transmission characteristics of the data packet.
For the related content of step S801, please refer to the description of S201 in the corresponding embodiment of fig. 2, which is not repeated herein.
S802: and the terminal equipment obtains the sending time information of the data packet according to the transmission characteristics.
After obtaining the transmission characteristics of the data packet, the terminal device may obtain the sending time information of the data packet according to the transmission characteristics of the data packet. The sending time information is time information of sending a data packet to the base station by the terminal device, and may be, for example, a time when the terminal device generates the data packet to be sent, or a time when the terminal device sends the data packet to the base station. Similar to step S202 in the corresponding embodiment of fig. 2, the terminal device may also predict the transmission time information of the data packet through the model.
In some possible implementations, the terminal device may also predict the size of the data packet according to the transmission characteristics of the data packet. For a detailed description of the predicted packet size, reference may be made to the description of S505 in the corresponding embodiment of fig. 5, which is not described herein again.
S803: and the terminal equipment determines the sending time of the first message according to the sending time information of the data packet.
After determining the transmission time information of the data packet, the terminal device may determine the transmission time of the first message, that is, the time when the terminal device transmits the first message, according to the transmission time information of the data packet. For example, the terminal device may determine that the base station receives the first message, the base station allocates air interface resources for the terminal device, the terminal device receives air interface resource information, and a total duration required by the terminal device to receive the air interface resource information. And taking the total time length as the time interval between the terminal equipment sending the first message and sending the data packet. The terminal device may be before transmitting the data packet, and a time which is the aforementioned interval time from the time of transmitting the data packet is taken 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 the short time interval, and the time from the terminal device sending the first message to the terminal device sending the data packet is also the shortest time interval. That is, when a data packet is to be sent, the terminal device just receives the air interface resource information, so that the data packet is sent to the base station by using the air interface resource information.
For example, suppose that the terminal device predicts that 10ms later sends a data packet to the base station, and the total time required for the base station to receive the first message, the base station to allocate air interface resources to the terminal device, the base station to send air interface resource information, and the terminal device to receive air interface resource information is 1.5 ms. Then the terminal device may determine that the transmission time of the first message is 8.5ms later. Thus, the terminal device sends the first message after 8.5ms and sends the data packet after 10 ms. After the terminal device sends the first message, the base station may allocate an air interface resource to the terminal device according to the first message and send air interface resource information. The total time from the transmission of the first message by the terminal equipment to the reception of the air interface resource information by the terminal equipment is 1.5 ms. Then, the terminal device receives the air interface resource information when 8.5+1.5 ═ 10 ms. That is, the air interface resource information is received at the time of sending the data packet, so that the data packet is sent to the base station by using the air interface resource carried in the air interface resource information.
In this embodiment of the present application, considering that the terminal device determines that air interface resources may need to consume time according to the air interface resource information, the terminal device may correspondingly advance the sending time of the first message, thereby ensuring that the terminal device may receive the air interface resource information before sending the data packet.
Still take the example that the terminal device sends the data packet to the base station after predicting 10ms, and the total time length required for the base station to receive the first message, the base station to allocate the air interface resource for the terminal device, the base station to send the air interface resource information, and the terminal device to receive the air interface resource information is 1.5 ms. Considering that the terminal device determines the time consumed by the air interface resource according to the air interface resource information, the terminal device may advance the sending time of the first message by 0.1ms, that is, send the first message after 8.4 ms. Thus, the terminal device receives the air interface resource information after 9.9ms, analyzes the air interface resource information, determines the air interface resource allocated by the base station for the terminal device, and transmits the data packet by using the air interface resource after 10 ms.
S804: in response to reaching the transmission time of the first message, the terminal device transmits the first message to the base station.
After the sending time of the first message is determined, the terminal device does not send the first message to the base station immediately, but sends the first message to the base station when the sending time of the first message is reached. For example, assuming that the transmission time of the first message is 8.5ms later, the terminal device may start timing after determining the transmission time of the first message, and transmit the first message to the base station when the time recorded by the timer is 8.5 ms.
Different from the embodiments corresponding to fig. 2 to fig. 7, in the embodiment of the present application, the first message does not carry the first sending time information, and is only used to request an air interface resource from the base station.
In some possible implementations, the first message further includes a size of a data packet, where the size of the data packet is used to determine the air interface resource information. Optionally, the first message is a BSR message, and the terminal device may carry the size of the data packet in an LCID field of the BSR message. The terminal device may also send an SR message to the base station before sending the first message.
S805: and the base station allocates air interface resources for the terminal equipment according to the first message.
After receiving the first message, the base station may allocate air interface resources to the terminal device according to the first message. Different from the embodiments corresponding to fig. 2 to fig. 7, in this embodiment of the present application, the base station does not determine, according to the first message, a time for allocating air interface resources to the terminal device, but allocates air interface resources to the terminal device according to a conventional air interface resource scheduling method after receiving the first message. Since the base station does not need to determine the time for allocating the air interface resource to the terminal device according to the first message, and does not need to allocate the air interface resource to the terminal device at a specific time, in this embodiment of the present application, it is not necessary to modify neither the software program of the base station nor the interface between the base station and the terminal device.
S806: and the base station sends the allocated air interface resource information to the terminal equipment.
For the related content of step S806, please refer to the description of S205 in the corresponding embodiment of fig. 2, which is not repeated herein.
The system 400 shown in fig. 4 is used as an example for illustration. When the system 400 shown in fig. 4 executes the transmission method shown in fig. 8, signaling interaction among the processor 411, the baseband chip 412 and the base station 420 may be as shown in fig. 9, including the following steps:
s901: the processor 411 obtains the transmission characteristics of the data packet.
For the related content of step S901, please refer to the description of S501 in the corresponding embodiment of fig. 5, which is not repeated here.
S902: the processor 411 obtains the sending time information of the data packet and the size of the data packet according to the transmission characteristics of the data packet.
After acquiring the transmission characteristics of the data packet, the processor 411 may obtain the sending time information of the data packet and the size of the data packet according to the transmission characteristics of the data packet. The transmission time information of the data packet may be the time when the baseband chip 412 receives the data packet, or the time when the processor 411 generates the data packet.
For a detailed description of the predicted packet size, reference may be made to the description of S505 in the corresponding embodiment of fig. 5, which is not described herein again.
S903: the processor 411 notifies the baseband chip 412 of transmission time information of the packet and the size of the packet.
After determining the transmission time information of the data packet and the size of the data packet, the processor 411 may notify the baseband chip 412 of the transmission time information of the data packet and the size of the data packet.
S904: the baseband chip 412 determines the transmission time of the first message according to the transmission time information of the data packet.
In this embodiment, the baseband chip 412 may determine the transmission time of the first message according to the transmission time information of the data packet. The baseband chip 412 may determine the sending time of the first message according to the time required by the base station 420 to receive the first message, the time required by the base station 420 to allocate air interface resources to the terminal device 410, the time required by the base station 420 to send air interface resource information to the terminal device 410, and the time required by the terminal device 410 to receive air interface resource information. That is, the baseband chip 412 may predict the interval time from receiving the air interface resource information sent by the base station 420 after sending the first message. The baseband chip 412 may obtain the sending time of the first message by subtracting the time when the data packet is sent from the interval time.
For example, it is assumed that the transmission time information of the data packet is the time when the processor 411 executes step S509. Then, the processor 412 may predict the total time length (hereinafter referred to as the first time length) required by steps S905 to S907, and take the time corresponding to the first time length before the processor 411 performs step S509 as the sending time of the first message, i.e., the time for performing step S905.
After determining the transmission time of the first message, the baseband chip 412 may detect whether the transmission time of the first message is reached. If the current time is not the sending time of the first message, the baseband chip 412 may keep the waiting state and does not send the first message to the base station 420.
S905: in response to reaching the time of transmission of the first message, the baseband chip 412 transmits the first message to the base station 420.
After the transmission time of the first message is reached, the baseband chip 412 may transmit the first message to the base station 420. The first message may include the size of the data packet, and does not include the transmission time of the data packet or the transmission time of the first message. That is to say, the first message in this embodiment may be a BSR message in a conventional air interface resource scheduling technology.
S906: the base station 420 allocates air interface resources to the terminal device 410 according to the size of the data packet.
After receiving the first message, the base station 420 may allocate an air interface resource to the terminal device 410 according to the size of the data packet, and optionally, the base station 420 may allocate the air interface resource immediately after receiving the first message.
S907: the base station 420 sends the allocated air interface resource information to the baseband chip 412.
For the related content of step S907, please refer to the description of S509 in the corresponding embodiment of fig. 5, which is not repeated here.
S908: processor 411 generates a data packet to be transmitted.
For the related content of step S908, please refer to the description of S510 in the corresponding embodiment of fig. 5, which is not repeated herein.
S909: the processor 411 sends the data packet to be sent to the baseband chip 412.
For the related content of step S909, please refer to the description of S511 in the corresponding embodiment of fig. 5, which is not described herein again.
S910: the baseband chip 412 sends the data packet to the base station 420 using the allocated air interface resource.
For the related content of step S910, please refer to the description of S512 in the corresponding embodiment of fig. 5, which is not repeated herein.
Compared with the corresponding embodiments of fig. 5 or fig. 7, in the embodiment of the present application, the baseband chip 412 may determine the sending time of the first message according to the sending time information of the data packet, and send the first message to the base station 420 after the sending time of the first message is reached. The base station 420 does not wait after receiving the first message, but allocates air interface resources to the terminal device 410 and executes a conventional air interface resource allocation method. That is, in the embodiment of the present application, no improvement is required to the software program or the hardware device of the base station. In addition, 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 to be modified. In addition, since the sending time of the first message is obtained according to the predicted sending time information of the data packet, when the terminal device 410 does not send the data packet, the base station does not allocate air interface resources to the terminal device 410, thereby avoiding waste of the air interface resources. Therefore, in the embodiment of the application, the base station is not required to be improved, and only the terminal equipment is required to be reconstructed, so that the waste of air interface resources can be avoided.
Correspondingly, referring to fig. 10, the embodiment of the present application further provides a sending apparatus 1000, where the apparatus 1000 is applied to a terminal device. The apparatus 1000 comprises a processing unit 1001 and a transmitting unit 1002. The processing unit 1001 may be configured to execute step S201 and step S202 in the embodiment shown in fig. 2, and the sending unit 1002 may be configured to execute step S203 in the embodiment shown in fig. 2.
For example, the processing unit 1001 is configured to obtain transmission characteristics of a data packet; and obtaining first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is the time information of sending the data packet to a base station by the terminal equipment. A sending unit 1002, configured to send a first message to the base station, where the first message includes the first sending time information, where 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 sending time information, and an air interface resource corresponding to the air interface resource information is used for the terminal device to send the data packet to the base station.
For other contents of the transmitting device 1000, please refer to the above, and detailed description thereof is omitted.
Correspondingly, referring to fig. 11, the embodiment of the present application further provides a transmitting apparatus 1100, where the apparatus 1100 is applied to a base station. The apparatus 1100 includes a receiving unit 1101 and a transmitting unit 1102. The receiving unit 1101 may be configured to receive a first message from the terminal device, and the sending unit 1102 may be configured to execute step S205 in the embodiment shown in fig. 2. Alternatively, step S201 in the embodiment shown in fig. 2 may be executed by the receiving unit 1101 or the sending unit 1102, or may be executed by the processing unit 1103 (not shown in fig. 11).
For example, the processing unit 1101 is configured to receive a first message from a terminal device, where the first message includes first transmission time information of a data packet, and the first transmission time information of the data packet is time information when the terminal device transmits the data packet to the base station. A sending unit 1102, configured to send, to the terminal device, allocated air interface resource information according to the first sending time information, where an 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.
For other contents of the transmitting device 1100, please refer to the above, and further description is omitted here.
Correspondingly, referring to fig. 12, an embodiment of the present application further provides a sending apparatus 1200, where the apparatus 1200 is applied to a terminal device. The apparatus 1200 comprises a processing unit 1201 and a transmitting unit 1202. The processing unit 1201 may be configured to execute step S801, step S208, and step S802 in the embodiment shown in fig. 8, and the transmitting unit 1202 may be configured to execute step S804 in the embodiment shown in fig. 2.
For example, the processing unit 1201 is configured to obtain a transmission characteristic of a data packet; obtaining sending time information of the data packet according to the transmission characteristics, wherein the sending time information is the time information of sending the data packet to a base station by the terminal equipment; and determining the sending time of the first message according to the sending time information of the data packet. A sending unit 1202, configured to send the first message in response to a sending time of the first message, where the first message is used to obtain air interface resource information, and an air interface resource corresponding to the air interface resource information is an air interface resource allocated by the base station to the terminal device.
For other contents of the transmitting device 1200, please refer to the above, and further description is omitted here.
Referring to fig. 13, an embodiment of the present application further provides a terminal device 1300, where the terminal device 1300 includes: at least one processor 1302 and at least one communication interface 1303; further, the terminal device may further include at least one memory 1301, where the memory 1301 is used for storing computer programs or instructions. The memory 1301 may be an internal memory of the processor or an external memory. The functionality of apparatus 1000 can be implemented on terminal device 1300. In the case of implementing the embodiment shown in fig. 10, and in the case where each unit described in the embodiment of fig. 10 is implemented by software, software or program codes necessary for executing the functions of the processing unit 1001 and the transmitting unit 1002 in fig. 10 are stored in the memory 1301. In addition, the functionality of apparatus 1200 can be implemented on terminal device 1300. In the case of implementing the embodiment shown in fig. 12, and in the case where each unit described in the embodiment of fig. 12 is implemented by software, software or program codes necessary for executing the functions of the processing unit 1201 and the transmitting unit 1202 in fig. 12 are stored in the memory 1301. A processor 1302, configured to execute the instructions in the memory 1301, to enable the terminal device 1300 to execute any one or more of step S201, step S202, or step S203 in the embodiment shown in fig. 2, or to enable the terminal device 1300 to execute any one or more of step S801, step S802, step S803, or step S804 in the embodiment shown in fig. 8; and a communication interface 1303 for communicating with other base stations.
The memory 1301, the processor 1302, and the communication interface 1303 are connected to each other by a bus 1304; the bus 1304 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 13, but this is not intended to represent only one bus or type of bus.
In particular embodiments, processor 1302 may be configured to obtain transmission characteristics of a data packet; obtaining first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is time information of sending the data packet to a base station by the terminal equipment; and sending a first message to the base station, where the first message includes the first sending 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 sending time information, and an 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. For details of the processing procedure of the processor 1302, reference is made to the embodiment shown in fig. 2 and other detailed descriptions, which are not repeated herein.
Communication interface 1303 is used to interact with other devices. For a specific process, please refer to the detailed description of the foregoing embodiments, which is not repeated herein.
The memory 1301 may be a random-access memory (RAM), a flash memory (flash), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register (register), a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known to those skilled in the art.
The processor 1302 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), other programmable logic devices (FPGAs), a transistor logic device, a hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
The communication interface 1303 may be an interface card, and may be an ethernet (ethernet) interface or an Asynchronous Transfer Mode (ATM) interface.
Fig. 14 is a schematic structural diagram of a terminal device 1400 according to an embodiment of the present application. The terminal device shown in the embodiment of fig. 2 and other embodiments can be implemented by the device shown in fig. 14. See fig. 14 for a schematic diagram of the device configuration. The device 1400 includes a main control board and one or more interface boards, the main control board being communicatively connected to the interface boards. The main control board is also called a Main Processing Unit (MPU) or a route processor card (route processor card), and is responsible for controlling and managing various components in the device 1400, including routing computation, device management, and maintenance functions. An interface board is also called a Line Processing Unit (LPU) or a line card (line card) and is used to forward data. In some embodiments, the device 1400 may also include a switch network board, where the switch network board is communicatively connected to the main control board and the interface board, the switch network board is used to forward data between the interface boards, and the switch network board may also be referred to as a Switch Fabric Unit (SFU). The interface board includes a central processing unit, a memory, a forwarding chip, and a Physical Interface Card (PIC). The central processor is in communication connection with the memory, the network processor and the physical interface card respectively. The memory is used for storing a forwarding table. The forwarding chip is configured to forward the received data packet based on a forwarding table stored in the memory, and if a destination address of the data packet is an address of the device 1400, send the data packet to a Central Processing Unit (CPU), for example, the CPU1431 processes the data packet; if the destination address of the data packet is not the address of the device 1400, the next hop and the egress interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data packet is forwarded to the egress interface corresponding to the destination address. The forwarding chip may be a Network Processor (NP). The PIC is also called a daughter card and can be installed on an interface board to convert the photoelectric signal into a data message, and forward the data message to a forwarding chip for processing after validity check of the data message. In some embodiments, the central processing unit may also perform the functions of a forwarding chip, such as implementing software forwarding based on a general purpose CPU, so that no forwarding chip is needed in the interface board. The communication connection among the main control board, the interface board and the exchange network board can be realized through a bus. In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a Field Programmable Gate Array (FPGA).
Logically, the device 1400 includes a control plane including a main control board and a central processor, and a forwarding plane including various components performing forwarding, such as a memory, a PIC, and an NP. The control plane executes the functions of the router, generating a forwarding table, processing signaling and protocol messages, configuring and maintaining the state of the device, and the like, and the control plane issues the generated forwarding table to the forwarding plane, and in the forwarding plane, the NP looks up the table of the message received by the PIC of the device 1400 based on the forwarding table issued by the control plane and forwards the message. The forwarding table issued by the control plane may be stored in a memory. In some embodiments, the control plane and the forwarding plane may be completely separate and not on the same device. The above process will be briefly described with reference to the embodiment shown in fig. 2 and other embodiments.
As shown in the method illustrated in fig. 2, CPU1431 of device 1400 may obtain transmission characteristics of the data packet; obtaining sending time information of the data packet according to the transmission characteristics, wherein the sending time information is the time information of sending the data packet to a base station by the terminal equipment; determining the sending time of the first message according to the sending time information of the data packet; and sending the first message in response to the sending time of the first message, where the first message is used to acquire air interface resource information, and the air interface resource corresponding to the air interface resource information is an air interface resource allocated by the base station to the terminal device.
The terminal device provided in the embodiment of the present invention may correspond to the terminal device in the method embodiment described in fig. 2 or the method embodiment described in fig. 8, and may implement the functions of the terminal device and/or various steps and methods implemented in the terminal device in each of the above method embodiments. The above is only a brief exemplary description, and for brevity, will not be described again.
It should be noted that there may be one or more main control boards, and when there are more main control boards, the main control boards may include a main control board and a standby main control board. The interface board may have one or more blocks, and the stronger the data processing capability of the terminal device, the more interface boards are provided. There may also be one or more physical interface cards on an interface board. The exchange network board may not have one or more blocks, and when there are more blocks, the load sharing redundancy backup can be realized together. Under the centralized forwarding architecture, the terminal device does not need to exchange the network board, and the interface board undertakes the processing function of the service data of the whole system. Under the distributed forwarding architecture, the terminal device can have at least one switching network board, and the data exchange among a plurality of interface boards is realized through the switching network board, so that the high-capacity data exchange and processing capacity is provided. Therefore, the data access and processing capabilities of the terminal devices in the distributed architecture are greater than those of the devices in the centralized architecture. Optionally, the terminal device may also be in the form of only one board card, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on the one board card, at this time, the central processing unit on the interface board and the central processing unit on the main control board may be combined into one central processing unit on the one board card to execute the function after the two are superimposed, and the data switching and processing capability of the device in this form is low (for example, network devices such as a low-end switch or a router, etc.). Which architecture is specifically adopted depends on the specific networking deployment scenario, and is not limited herein.
Referring to fig. 15, an embodiment of the present application further provides a base station 1500, where the base station 1500 includes: at least one processor 1502 and at least one communication interface 1503; further, the base station may also comprise at least one memory 1501, said memory 1501 being used for storing computer programs or instructions. The memory 1501 may be an internal memory of the processor or an external memory of the processor. The functionality of the apparatus 1100 may be implemented at the base station 1500. In the case where the embodiment shown in fig. 11 is implemented and the units described in the embodiment of fig. 11 are implemented by software, software or program codes necessary for executing the functions of the receiving unit 1101 and the transmitting unit 1102 in fig. 11 are stored in the memory 1501. A processor 1502 configured to execute the instructions in the memory 1501, so that the base station 1500 executes any one or more of the steps S204 or S205 in the embodiment shown in fig. 2; a communication interface 1503 for communicating with a terminal device or other devices.
The memory 1501, processor 1502, and communication interface 1503 are interconnected by a bus 1504; the bus 1504 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 15, but this is not intended to represent only one bus or type of bus.
In a specific embodiment, the processor 1502 may receive a first message from a terminal device, where the first message includes first transmission time information of a data packet, and the first transmission time information of the data packet is time information of a data packet transmitted by the terminal device to the base station; and sending the allocated air interface resource information to the terminal equipment according to the first sending time information, wherein the air interface resource corresponding to the air interface resource information is used for sending the data to the base station by the terminal equipment. For details of the processing procedure of the processor 1502, reference is made to the embodiment shown in fig. 2 and other detailed descriptions, which are not repeated herein.
Communication interface 1503 is used to interact with other devices. For a specific process, please refer to the detailed description of the foregoing embodiments, which is not repeated herein.
The memory 1501 may be a random-access memory (RAM), a flash memory (flash), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register (register), a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known to those skilled in the art.
The processor 1502 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), other programmable logic devices (FPGAs), a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
The communication interface 1503 may be an interface card or the like, and may be an ethernet (ethernet) interface or an Asynchronous Transfer Mode (ATM) interface.
Fig. 16 is a schematic structural diagram of a base station 1600 according to an embodiment of the present application. The base station shown in the embodiment of fig. 2 and other embodiments can be implemented by the apparatus shown in fig. 16. See the schematic diagram of the device structure shown in fig. 16. The device 1600 includes a main control board and one or more interface boards, the main control board communicatively connected to the interface boards. The main control board, also referred to as a Main Processing Unit (MPU) or a route processor card (route processor card), is responsible for controlling and managing various components in the device 1600, including routing computation, device management, and maintenance functions. An interface board is also called a Line Processing Unit (LPU) or a line card (line card) and is used to forward data. In some embodiments, the device 1600 may also include a switch network board, where the switch network board is communicatively connected to the main control board and an interface board, the switch network board is used to forward data between the interface boards, and the switch network board may also be referred to as a Switch Fabric Unit (SFU). The interface board includes a central processing unit, a memory, a forwarding chip and a Physical Interface Card (PIC). The central processor is in communication connection with the memory, the network processor and the physical interface card respectively. The memory is used for storing a forwarding table. The forwarding chip is configured to forward the received data packet based on a forwarding table stored in the memory, and if a destination address of the data packet is an address of the device 1600, send the data packet to a Central Processing Unit (CPU), for example, the CPU1631 processes the data packet; if the destination address of the data packet is not the address of the device 1600, the next hop and the outbound interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data packet is forwarded to the outbound interface corresponding to the destination address. The forwarding chip may be a Network Processor (NP). The PIC is also called a daughter card and can be installed on an interface board to convert the photoelectric signal into a data message, and forward the data message to a forwarding chip for processing after validity check of the data message. In some embodiments, the central processing unit may also perform the function of a forwarding chip, such as implementing software forwarding based on a general purpose CPU, so that no forwarding chip is needed in the interface board. The communication connection among the main control board, the interface board and the exchange network board can be realized through a bus. In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a Field Programmable Gate Array (FPGA).
Logically, the device 1600 includes a control plane including a main control board and a central processor, and a forwarding plane including various components performing forwarding, such as a memory, a PIC, and an NP. The control plane executes the functions of the router, generating a forwarding table, processing signaling and protocol messages, configuring and maintaining the state of the device, and the like, the control plane issues the generated forwarding table to the forwarding plane, and in the forwarding plane, the NP looks up the table of the message received by the PIC of the device 1600 and forwards the table based on the forwarding table issued by the control plane. The forwarding table issued by the control plane may be stored in a memory. In some embodiments, the control plane and the forwarding plane may be completely separate and not on the same device. The above process will be briefly described with reference to the embodiment shown in fig. 2 and other embodiments.
As shown in the method of fig. 2, the CPU1631 of the base station 1600 may receive a first message from the terminal device, where the first message includes first transmission time information of a data packet, and the first transmission time information of the data packet is time information for the terminal device to transmit the data packet to the base station; and sending the allocated air interface resource information to the terminal equipment according to the first sending time information, wherein the air interface resource corresponding to the air interface resource information is used for sending the data packet to the base station by the terminal equipment.
The base station provided in the embodiment of the present invention may correspond to the base station in the embodiment of the method illustrated in fig. 2 or in other embodiments of the method, and may implement the functions of the base station and/or various steps and methods implemented in the foregoing embodiments of the method. The above is only a brief exemplary description, and for brevity, will not be described again.
It should be noted that there may be one or more main control boards, and when there are more main control boards, the main control boards may include a main control board and a standby main control board. The interface board may have one or more blocks, and the stronger the data processing capability of the base station, the more interface boards are provided. There may also be one or more physical interface cards on an interface board. The exchange network board may not have one or more blocks, and when there are more blocks, the load sharing redundancy backup can be realized together. Under the centralized forwarding architecture, the base station does not need a switching network board, and an interface board bears the processing function of the service data of the whole system. Under the distributed forwarding architecture, the base station can have at least one switching network board, and the data exchange among a plurality of interface boards is realized through the switching network board, so that the high-capacity data exchange and processing capacity is provided. Therefore, the data access and processing capabilities of the base station in the distributed architecture are greater than those of the devices in the centralized architecture. Optionally, the base station may also be in a form of only one board card, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on the one board card, at this time, the central processing unit on the interface board and the central processing unit on the main control board may be combined into one central processing unit on the one board card to perform the function after the two are superimposed, and the data switching and processing capability of the device in this form is low (for example, network devices such as a low-end switch or a router, etc.). Which architecture is specifically adopted depends on the specific networking deployment scenario, and is not limited herein.
Furthermore, an embodiment of the present application also provides a computer-readable storage medium, which includes a computer program and when the computer program runs on a computer, the computer is caused to execute the above-mentioned transmission method applied to the terminal device 1300 or the base station 1400.
An embodiment of the present application further provides a chip system, where the chip system may be located in a terminal device, and the chip system includes: a processor coupled to a memory for storing a program or instructions that, when executed by the processor, cause the system-on-chip to implement the method of any of the above method embodiments.
Optionally, the system on a chip may have one or more processors. The processor may be implemented by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
Optionally, the memory in the system-on-chip may also be one or more. The memory may be integrated with the processor or may be separate from the processor, which is not limited in this application. For example, the memory may be a non-transitory processor, such as a read only memory ROM, which may be integrated with the processor on the same chip or separately disposed on different chips, and the type of the memory and the arrangement of the memory and the processor are not particularly limited in this application.
The system-on-chip may be, for example, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit (DSP), a Microcontroller (MCU), a Programmable Logic Device (PLD), or other integrated chips.
It should be understood that the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present application, "at least one item(s)" means one or more, "a plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple. In the present application "A and/or B" is considered to comprise A alone, B alone, and A + B.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical module division, and other division manners may be available in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be obtained according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each module unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware form, and can also be realized in a software module unit form.
The integrated unit, if implemented as a software module unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-described embodiments are intended to illustrate the objects, aspects and advantages of the present invention in further detail, and it should be understood that the above-described embodiments are merely exemplary embodiments of the present invention.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (54)

1. A method of transmitting, the method comprising:
the terminal equipment acquires the transmission characteristics of the data packet;
the terminal equipment obtains first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is time information of sending the data packet to a base station by the terminal equipment;
the terminal device sends a first message to the base station, where the first message includes the first sending 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 sending time information, and the air interface resource corresponding to the air interface resource information is used for the terminal device to send the data packet to the base station.
2. The method of claim 1, wherein the first sending time information comprises an interval time from the terminal device sending the data packet to the base station after sending the second message to the base station;
after the terminal device sends the first message to the base station, the method further comprises:
and the terminal equipment sends the second message to the base station.
3. The method of claim 2, further comprising:
the terminal equipment predicts the size of the data packet according to the transmission characteristics of the data packet, the second message comprises the size of the data packet, and the size of the data packet is used for the base station to determine the air interface resource information.
4. The method of claim 3, wherein the second message is a Buffer Status Report (BSR) message.
5. The method according to any of claims 2-4, wherein the first message is a radio resource control, RRC, message or a Medium Access control, MAC, message.
6. The method of claim 5, wherein the data content of the RRC message comprises the first transmission time information.
7. The method of claim 5, wherein the MAC message comprises an index field and a Logical Channel Identification (LCID) field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information.
8. The method of claim 1, wherein the first sending time information comprises a first interval time, and the first interval time is an interval time from the terminal device sending the data packet to the base station after sending the first message to the base station;
the method further comprises the following steps:
the terminal equipment predicts the size of the data packet according to the transmission characteristics of the data packet, and the first message further comprises the size of the data packet, wherein the size of the data packet is used for the base station to determine the air interface resource information.
9. The method of claim 8, wherein the first message is a Buffer Status Report (BSR) message.
10. The method of claim 9, wherein the BSR message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information and a size of the data packet.
11. The method according to claim 9 or 10, wherein the obtaining, by the terminal device, the first sending time information of the data packet according to the transmission characteristic comprises:
the terminal device predicts second sending time information of the data packet according to the transmission characteristics of the data packet, wherein the second sending time information is the sum of the first interval time and a second interval time, and the second interval time is the interval time between the terminal device sending a Scheduling Request (SR) message to the base station and sending the BSR message;
the terminal equipment obtains the first sending time information according to the second sending time information and the second interval time;
the sending, by the terminal device, the first message to the base station includes:
and the terminal equipment sends a first message to the base station according to the second sending time information.
12. A method of transmitting, the method comprising:
a base station receives a first message from a terminal device, wherein the first message comprises first sending time information of a data packet, and the first sending time information of the data packet is time information for the terminal device to send the data packet to the base station;
and the base station sends the allocated air interface resource information to the terminal equipment according to the first sending time information, wherein the air interface resource corresponding to the air interface resource information is used for the terminal equipment to send the data packet to the base station.
13. The method of claim 12, wherein the first sending time information comprises an interval time between the terminal device sending the data packet to the base station after sending the second message to the base station;
the base station sending the allocated air interface resource information to the terminal equipment according to the first sending time information comprises:
and the base station receives the second message from the terminal equipment and sends the allocated air interface resource information to the terminal equipment after the interval time.
14. The method of claim 13, wherein the second message comprises a 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 sending time information, the method further includes:
and the base station determines the air interface resource information according to the size of the data packet.
15. The method of claim 14, wherein the second message is a Buffer Status Report (BSR) message.
16. The method according to any of claims 13-15, wherein the first message is a radio resource control, RRC, message or a medium access control, MAC, message.
17. The method of claim 16, wherein the data content of the RRC message comprises the first transmission time information.
18. The method of claim 16, wherein the MAC message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information.
19. The method of claim 12, wherein the first sending time information comprises a first interval time, and wherein the first interval time is an interval time after the terminal device sends the first message to the base station and before the terminal device sends the data packet to the base station,
the base station sending the allocated air interface resource information to the terminal equipment according to the first sending time information comprises:
and the base station sends the allocated air interface resource information to the terminal equipment after receiving the interval time of the first message from the terminal equipment.
20. The method of claim 19, wherein the first message further comprises a 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:
and the base station determines the air interface resource information according to the size of the data packet.
21. The method of claim 20, wherein the first message is a Buffer Status Report (BSR) message.
22. The method of claim 21, wherein the BSR message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information and a size of the data packet.
23. A method of transmitting, the method comprising:
the terminal equipment acquires the transmission characteristics of the data packet;
the terminal equipment obtains sending time information of the data packet according to the transmission characteristics, wherein the sending time information is the time information of sending the data packet to a base station by the terminal equipment;
the terminal equipment determines the sending time of the first message according to the sending time information of the data packet;
and in response to the time for sending the first message, the terminal device sends the first message, where the first message is used to obtain air interface resource information, and the air interface resource corresponding to the air interface resource information is an air interface resource allocated by the base station to the terminal device.
24. The method of claim 23, further comprising:
the terminal equipment predicts the size of the data packet according to the transmission characteristics of the data packet, the first message comprises the size of the data packet, and the size of the data packet is used for the base station to determine the air interface resource information.
25. The method of claim 24, wherein the first message is a Buffer Status Report (BSR) message.
26. A transmitting apparatus, wherein the apparatus is located in a terminal device, comprising:
the processing unit is used for acquiring the transmission characteristics of the data packet; obtaining first sending time information of the data packet according to the transmission characteristics, wherein the first sending time information is time information of sending the data packet to a base station by the terminal equipment;
a sending unit, configured to send a first message to the base station, where the first message includes the first sending 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 sending time information, and an 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.
27. The apparatus of claim 26, wherein the first sending time information comprises an interval between the terminal device sending the data packet to the base station after sending the second message to the base station;
the sending unit is further configured to send the second message to the base station.
28. The method of claim 27,
the processing unit is further configured to predict a size of the data packet according to the transmission characteristic of the data packet, where 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.
29. The apparatus of claim 27, wherein the second message is a Buffer Status Report (BSR) message.
30. The apparatus according to any of claims 27-29, wherein the first message is a radio resource control, RRC, message or a medium access control, MAC, message.
31. The apparatus of claim 30, wherein the data content of the RRC message comprises the first transmission time information.
32. The apparatus of claim 30, wherein the MAC message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmit time information.
33. The apparatus of claim 26, wherein the first sending time information comprises a first interval time, and wherein the first interval time is an interval time after the terminal device sends the first message to the base station and before the terminal device sends the data packet to the base station;
the processing unit is further configured to predict a size of the data packet according to a transmission characteristic of the data packet, where the first message further 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.
34. The apparatus of claim 33, wherein the first message is a Buffer Status Report (BSR) message.
35. The apparatus of claim 34, wherein the BSR message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information and a size of the data packet.
36. The apparatus of claim 34 or 35,
the processing unit is further configured to predict second sending time information of the data packet according to the transmission characteristic of the data packet, where the second sending time information is a sum of the first interval time and a second interval time, and the second interval time is an interval time between when the terminal device sends a scheduling request SR message to the base station and sends the BSR message; obtaining the first sending time information according to the second sending time information and the second interval time;
and the sending unit is used for sending a first message to the base station according to the second sending time information.
37. A transmitting apparatus, the apparatus located at a base station, comprising:
a receiving unit, configured to receive a first message from a terminal device, where the first message includes first sending time information of a data packet, and the first sending time information of the data packet is time information of sending the data packet to the base station by the terminal device;
a sending unit, configured to send, to the terminal device according to the first sending time information, allocated air interface resource information, where an 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 of claim 37, wherein the first sending time information comprises an interval between the terminal device sending the data packet to the base station after sending the second message to the base station;
the receiving unit is also used for receiving a second message from the terminal equipment;
the sending unit is further configured to send the allocated air interface resource information to the terminal device after the interval time.
39. The apparatus of claim 37, wherein the second message comprises a size of the data packet predicted by the terminal device; the apparatus further comprises a processing unit for processing the data,
and the processing unit is configured to determine the air interface resource information according to the size of the data packet.
40. The apparatus of claim 39, wherein the second message is a Buffer Status Report (BSR) message.
41. The apparatus according to any of claims 38-40, wherein the first message is a radio resource control, RRC, message or a Medium Access control, MAC, message.
42. The apparatus of claim 41, wherein the data content of the RRC message comprises the first transmit time information.
43. The apparatus of claim 40, wherein the MAC message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information.
44. The apparatus of claim 37, wherein the first sending time information comprises a first interval time, and wherein the first interval time is an interval time after the terminal device sends the first message to the base station and before the terminal device sends the data packet to the base station,
the sending unit is configured to send the allocated air interface resource information to the terminal device after receiving the interval time of the first message from the terminal device.
45. The apparatus of claim 44, wherein the first message further comprises a size of the data packet predicted by the terminal device;
and the processing unit is configured to determine the air interface resource information according to the size of the data packet.
46. The apparatus of claim 45, wherein the first message is a Buffer Status Report (BSR) message.
47. The apparatus of claim 46, wherein the BSR message comprises an index field and an LCID field, and wherein a value of the index field is used to indicate that the LCID field comprises the first transmission time information and a size of the data packet.
48. A transmitting apparatus, wherein the apparatus is located in a terminal device, comprising:
the processing unit is used for acquiring the transmission characteristics of the data packet; obtaining sending time information of the data packet according to the transmission characteristics, wherein the sending time information is the time information of sending the data packet to a base station by the terminal equipment; determining the sending time of the first message according to the sending time information of the data packet;
a sending unit, configured to send the first message in response to a sending time of the first message, where the first message is used to obtain air interface resource information, and an air interface resource corresponding to the air interface resource information is an air interface resource allocated by the base station to the terminal device.
49. The apparatus of claim 48,
the processing unit is further configured to predict a size of the data packet according to a transmission characteristic of the data packet, where 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 of claim 49, wherein the first message is a Buffer Status Report (BSR) message.
51. A terminal device, comprising at least one processor coupled with at least one memory to:
the at least one processor configured to execute the computer program or instructions stored in the at least one memory to cause the terminal device to perform the transmission method of any one of claims 1-11 or claims 23-25.
52. A base station, comprising at least one processor coupled with at least one memory:
the at least one processor configured to execute the computer program or instructions stored in the at least one memory to cause the base station to perform the transmission method of any one of claims 12-22.
53. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the transmission method of any one of claims 1 to 25.
54. A chip is located in a terminal device and comprises a processor and an interface circuit;
the interface circuit is used for receiving instructions and transmitting the instructions to the processor;
the processor configured to perform the transmission method of any one of claims 1-11 or claims 23-25.
CN202011434644.3A 2020-12-10 2020-12-10 Sending method and device Pending CN114630422A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011434644.3A CN114630422A (en) 2020-12-10 2020-12-10 Sending method and device
PCT/CN2021/129791 WO2022121610A1 (en) 2020-12-10 2021-11-10 Sending method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011434644.3A CN114630422A (en) 2020-12-10 2020-12-10 Sending method and device

Publications (1)

Publication Number Publication Date
CN114630422A true CN114630422A (en) 2022-06-14

Family

ID=81894872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011434644.3A Pending CN114630422A (en) 2020-12-10 2020-12-10 Sending method and device

Country Status (2)

Country Link
CN (1) CN114630422A (en)
WO (1) WO2022121610A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995985A (en) * 2022-08-02 2022-09-02 阿里巴巴(中国)有限公司 Resource scheduling method, device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291835B (en) * 2010-06-21 2016-05-25 中兴通讯股份有限公司 A kind of scheduling method for wireless resource, access network elements and terminal
EP3493493A4 (en) * 2016-08-12 2019-06-26 Huawei Technologies Co., Ltd. Service data transmission method, network device, and terminal device
CN111867073B (en) * 2019-04-30 2023-09-19 中国移动通信有限公司研究院 Time information processing method, timing advance determining method and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995985A (en) * 2022-08-02 2022-09-02 阿里巴巴(中国)有限公司 Resource scheduling method, device and storage medium
CN114995985B (en) * 2022-08-02 2023-01-17 阿里巴巴(中国)有限公司 Resource scheduling method, device and storage medium

Also Published As

Publication number Publication date
WO2022121610A1 (en) 2022-06-16

Similar Documents

Publication Publication Date Title
CN106941724B (en) Data processing method and device
CN107395572B (en) Data processing method and Internet of things gateway
CN110417650A (en) Multilink data distribution method, device and electronic equipment
KR101752822B1 (en) Timing adjustment method and apparatus
CN107872308A (en) Data transmission method for uplink, method of reseptance and equipment
KR20180126401A (en) Method and apparatus for data processing based on multicore
KR102519631B1 (en) Resource allocation method, apparatus, and system, and storage medium
JP2018007171A (en) Communication device and radio resource allocation method
WO2022121610A1 (en) Sending method and apparatus
US20190357245A1 (en) Scheduling Request Sending Method and Terminal Device
US10098177B2 (en) Data transmission method and terminal
EP3010303A1 (en) Data packet transmission method, access point, and wireless communication system
CN114698088A (en) Method, device and equipment for determining transmission delay and storage medium
CN113473612B (en) Communication transmission method and equipment
CN107666718B (en) Transmission resource confirmation method, user terminal, base station and system
CN115801102A (en) Method, device and storage medium for downlink data
CN107005991B (en) Transmission method, terminal device, base station and the communication system of upstream data packet
CN114503467B (en) Data transmission method and device
CN108882203B (en) Information processing method and device
US9480070B1 (en) Bearer data power boosting in a wireless communication system
WO2019015049A1 (en) Method and device for exception handling in wireless sensor network
CN112004269B (en) Data transmission processing method, device, base station and storage medium
CN115334472A (en) Resource processing method and device
CN114158069A (en) Method and device for data transmission in private network
CN115174411A (en) Cross-region bandwidth determination method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination