WO2022121610A1 - Sending method and apparatus - Google Patents

Sending method and apparatus Download PDF

Info

Publication number
WO2022121610A1
WO2022121610A1 PCT/CN2021/129791 CN2021129791W WO2022121610A1 WO 2022121610 A1 WO2022121610 A1 WO 2022121610A1 CN 2021129791 W CN2021129791 W CN 2021129791W WO 2022121610 A1 WO2022121610 A1 WO 2022121610A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal device
data packet
base station
sending
Prior art date
Application number
PCT/CN2021/129791
Other languages
French (fr)
Chinese (zh)
Inventor
贺宁
杨海泉
叶济宇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022121610A1 publication Critical patent/WO2022121610A1/en

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

Definitions

  • the present application relates to the field of network communication technologies, and in particular, to a sending method and device.
  • the terminal device can apply to the base station for air interface resources and use the air interface resources to transmit uplink data. Specifically, after detecting that there is uplink data to be sent, the terminal device may request air interface resources from the base station by sending a buffer state report (Buffer State Report, BSR) message. After receiving the BSR message, the base station can allocate air interface resources to the terminal equipment, and notify the terminal equipment through an uplink grant (Uplink Grant, UL grant) message. In this way, the terminal device can use the air interface resources allocated by the base station to transmit uplink data.
  • BSR Buffer State Report
  • the terminal device Since the terminal device requests air interface resources from the base station only after detecting that there is uplink data to be sent, there is a certain delay between the generation and transmission of the uplink data. Therefore, the traditional air interface resource request method is not suitable for games, videos, virtual reality (VR) or augmented reality (AR) and other services that require high latency.
  • VR virtual reality
  • AR augmented reality
  • the current base station can reserve air interface resources for the terminal device, that is, allocate air interface resources to the terminal device under the condition that it is uncertain whether the terminal device has uplink data to be sent. In this way, when the uplink data to be sent is generated, the allocated air interface resources can be used for transmission. In this way, the delay of uplink data transmission can be reduced.
  • the air interface resources of the base station will be wasted.
  • the embodiments of the present application provide a sending method and apparatus, aiming at allocating air interface resources to terminal equipment according to the actual needs of the terminal equipment, and avoiding the waste of air interface resources on the basis of the sending delay of uplink data packets.
  • an embodiment of the present application provides a sending method, and the method is applied to a terminal device, such as a mobile terminal device such as a mobile phone and a tablet computer.
  • the method includes the following steps: firstly, the terminal device acquires the transmission characteristics of the data packets, and the transmission characteristics of the data packets may include characteristics such as the historical time of the terminal equipment sending the data packets. Next, the terminal device can predict the time information at which the terminal device sends the data packet to the base station according to the transmission characteristic of the data packet, and obtain the first transmission 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 the data packet is generated, the terminal device can use the air interface resource corresponding to the air interface resource information to send the data packet to the base station.
  • the terminal device can determine the time information when the terminal device sends 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 to the terminal device and sends the air interface resource information at the corresponding time.
  • the base station allocates air interface resources only when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets.
  • the base station pre-allocates the terminal equipment with air interface resources for sending data packets.
  • the terminal device can use the pre-allocated air interface resources to send the data packets.
  • the waste of air interface resources is avoided.
  • the base station since the base station does not allocate air interface resources when the terminal device does not send data packets, the terminal device does not need to send data packets that do not contain uplink data to the base station, thus saving the power consumption of the terminal device.
  • 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 will send a data packet.
  • the first sending time information may include the interval between the terminal device sending the data packet to the base station after the terminal device sends the second message to the base station, that is, the time between the terminal device sending the second message and sending the data packet.
  • the base station can 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 to the terminal device and send the air interface at the corresponding time. resource information, so that the terminal device can send data packets according to the air interface resource information.
  • the terminal device may also estimate the size of the data packet to be sent, and notify the base station through a second message.
  • the terminal device can predict the size of the data packet according to the transmission characteristics of the data packet, for example, predict the size of the data packet to be transmitted according to the size of the historically transmitted data packet.
  • the terminal device may send the predicted size of the data packet to the base station in the second message, so that the base station allocates air interface resources to the terminal device according to the determination of the data packet.
  • the second message when the second message includes the size of the data packet, the second message may be a buffer status report BSR message.
  • the first message may be a radio resource control (Radio Resource Control, RRC) message or a medium access control (medium access control, MAC) message.
  • RRC Radio Resource Control
  • MAC medium access control
  • the data content part of the first message may include the foregoing first sending time information.
  • 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 (logical channel identification, LCID) field.
  • the index field may be used to indicate that the LCID field includes the first sending time information, and the LCID field may include the first sending time information.
  • the first sending time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier of the reserved field.
  • the base station may determine that the LCID field includes the first transmission time information according to the index field of the first message, so as to determine the first transmission time information according to the LCID field.
  • the terminal device may also carry both the first sending time information and the size of the data packet in the first message.
  • the first sending time information includes the first interval, which is the interval between the terminal device sending the first message to the base station and the data packet to the base station, that is, the time between the terminal device sending the first message and the data packet. time interval between.
  • the terminal device can predict the size of the data packet according to the transmission characteristics of the data packet, and send the size of the data packet and the first sending time information in the first message to the base station.
  • the base station can determine, according to the first interval, how long before the terminal device will send the data packet to the base station, and determine the air interface resources to be allocated to the terminal device according to the size of the data packet.
  • the terminal device before the terminal device sends the data packet to the base station, the terminal device can receive the air interface resource information sent by the base station, and thus use the air interface resource corresponding to the air interface resource information to send the data packet to the base station.
  • the first message when the first message includes the first sending time information and the size of the data packet, the first message may be a BSR message, such as a MAC message.
  • the first message 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
  • the index field is used to indicate that the LCID field includes the first sending time information and the size of the data packet.
  • 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 can predict the second sending time information, the second sending time information is the interval time between the terminal device sending the SR message to the base station and the data packet to the base station, which is equal to the sum of the first time interval and the second time interval.
  • the second time interval is the interval time between when the terminal device sends the SR message to the base station and when it sends the BSR message.
  • the terminal device may also predict the second time interval, and according to the second time interval and the second transmission time information, the terminal device may determine the first time interval to obtain the first transmission time information.
  • the terminal device may send the first message to the base station according to the second sending time information. In this way, considering the influence of the time difference between the terminal device sending the SR message and the BSR message, the prediction accuracy is improved, and the air interface resources are further saved.
  • an embodiment of the present application provides a sending method, which is applied to a base station and includes the following steps: first, the base station receives a first message from a terminal device, where the first message includes first sending time information of a data packet , that is, the time information when the terminal device sends the data packet to the base station.
  • the first sending time information may be the size of the data packet predicted by the terminal device according to the transmission characteristics of the data packet.
  • the size of the data packet may be predicted by the terminal device according to the transmission characteristics of the data packet. .
  • the base station can determine when the terminal device will send the data packet to the base station, so as to allocate air interface resources to the terminal device at the corresponding time and send the air interface resource information to the terminal device.
  • the air interface corresponding to the air interface resource information The resources are used by the terminal equipment to send data packets to the base station.
  • the terminal device may receive the air interface resource information sent by the base station, and thus send the data packet to the base station by using the air interface resource corresponding to the air interface resource information.
  • the base station allocates air interface resources to the terminal device according to the time when the terminal device sends data packets, that is, it allocates air interface resources when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets, saving air interface resources. .
  • the base station may also receive a second message from the terminal device, where the second message indicates that the terminal device will send a data packet to the base station.
  • the first sending time information may include the interval time from the terminal device sending the packet to the base station after the terminal device sends the second message to the base station, that is, the time interval between the terminal device sending the second message and sending the data packet.
  • the base station can determine how long the terminal device will send the data packet according to the first transmission time information, so as to allocate air interface resources for the terminal device and send the air interface resource information at the corresponding time, so that The terminal device sends data packets according to the air interface resource information.
  • the second message may include the size of the data packet, and the size of the data packet may be predicted by the terminal device according to transmission characteristics of the data packet. Then, before sending the allocated air interface resource information to the terminal device, the base station can also determine the air interface resource required by the terminal device to send the data packet according to the size of the data packet, so as to determine the corresponding air interface resource information.
  • the second message when the second message includes the size of the data packet, the second message may be a buffer status report BSR message.
  • the first message may be an RRC message or a MAC message.
  • the data content part of the first message may include the aforementioned first sending time information.
  • the first message when the first message is a MAC message, the first message may include an index field and an LCID field.
  • the index field may be used to indicate that the LCID field includes the first sending time information, and the LCID field may include the first sending time information.
  • the first sending time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier of the reserved field.
  • the base station may determine that the LCID field includes the first transmission time information according to the index field of the first message, so as to determine the first transmission time information according to the LCID field.
  • the first sending time information may include a first interval, where the first interval is the interval between the terminal device sending the data packet to the base station after sending the first message to the base station, that is, the terminal device sending the first message and The time interval between sending packets. Then, according to the first sending time information and the time when the terminal device sends the first message, the base station can determine how long it will take the terminal device to send the data packet to the base station, so that after receiving the first message from the terminal device After the interval time, the air interface resource information is allocated to the terminal device.
  • the first message may further include the size of the data packet.
  • the base station can not only determine the time when the terminal device sends the data packet, but also determine how many air interface resources the terminal device needs to send the data packet, so as to determine the corresponding air interface resource information.
  • the first message when the first message includes the first sending time information and the size of the data packet, the first message may be a BSR message, such as a MAC message.
  • the first message 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
  • the index field is used to indicate that the LCID field includes the first sending time information and the size of the data packet.
  • an embodiment of the present application provides a sending method, and the method is applied to a terminal device, such as a mobile terminal device such as a mobile phone and a tablet computer.
  • the method includes the following steps: firstly, the terminal device acquires the transmission characteristics of the data packets, and the transmission characteristics of the data packets may include characteristics such as the historical time of the terminal equipment sending the data packets. Then, the terminal device can obtain the transmission time information of the data packet according to the transmission characteristics of the data packet, and the transmission time information is the time information of the terminal device sending the data packet to the base station, for example, the time when the terminal device sends the data packet to the base station. According to the time information of sending the data packet, the terminal device can determine the sending time of the first message.
  • the first message is used to obtain 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.
  • the terminal device may send the first message to the base station, so that the base station allocates air interface resources to the terminal device.
  • the terminal device can predict the time when the data packet is sent, and determine the sending time of the first message according to the time when the data packet is sent.
  • the terminal device does not request the base station to allocate air interface resources. Only after the first message arrives, the terminal device requests the base station to allocate air interface resources. In this way, the terminal device requests the base station to allocate air interface resources before sending data packets.
  • the base station allocates air interface resources when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets. , saving air interface resources.
  • the base station can determine the air interface resource information after receiving the first message, there is no need to wait, and the method reduces the modification to the base station.
  • the terminal device can also predict the size of the data packet according to the transmission characteristics of the data packet, and carry the size of the data packet in the first message and send it to the base station, so that the base station can determine the air interface according to the size of the data packet to be transmitted. resource information.
  • the first message when the first message includes the size of the data packet, the first message is a buffer status report BSR message.
  • an embodiment of the present application provides a sending apparatus, which can be applied to a terminal device, and includes: a processing unit configured to acquire a transmission characteristic of a data packet; and obtaining a first transmission characteristic of the data packet according to the transmission characteristic sending time information, where the first sending time information is the time information when the terminal device sends a data packet to the base station; 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 the 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 by the terminal device to send The base station sends the data packet.
  • the first sending time information includes the interval time 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 data packet to the base station.
  • the base station sends the second message.
  • the processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the second message includes the size of the data packet, and the size of the data packet is used for the data packet.
  • the base station determines the air interface resource information.
  • the second message when the second message includes the size of the data packet, the second message is a buffer status report BSR message.
  • the first message is a radio resource control RRC message or a medium access control MAC message.
  • the data content of the RRC message includes the first sending time information.
  • 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.
  • the first sending time information includes a first interval time
  • the first interval time is the distance from which the terminal device sends the data packet to the base station after sending the first message to the base station.
  • the processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the first message further includes the size of the data packet, and the size of the data packet is used for The base station determines the air interface resource information.
  • the first message is a buffer status report BSR message.
  • the BSR message includes an index field and an LCID field, and the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
  • the processing unit is further configured to predict the second transmission time information of the data packet according to the transmission characteristics of the data packet, where the second transmission time information is the first interval time and the second interval. sum of time, the second interval is the interval between the terminal device sending the scheduling request SR message to the base station and sending the BSR message; according to the second sending time information and the second interval time to obtain the first sending time information; the sending unit is configured to send a first message to the base station according to the second sending time information.
  • an embodiment of the present application provides a sending apparatus, which can 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 a first sending of a data packet time information, the first sending time information of the data packet is the time information when the terminal device sends the data packet to the base station; the processing unit is configured to send the allocated data to the terminal device according to the first sending time information Air interface resource information, where the air interface resource corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station.
  • the first sending time information includes the interval time 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 further configured to receive data from the base station. The second message of the terminal device; the processing unit is further configured to send the allocated air interface resource information to the terminal device after the interval time.
  • the second message includes the size of the data packet predicted by the terminal device; the processing unit is configured to determine the air interface resource information according to the size of the data packet.
  • the second message is a buffer status report BSR message.
  • the first message is a radio resource control RRC message or a medium access control MAC message.
  • the data content of the RRC message includes the first sending time information.
  • 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.
  • the first sending time information includes a first interval time
  • the first interval time is the distance from which the terminal device sends the data packet to the base station after sending the first message to the base station.
  • the processing unit is configured to send the allocated air interface resource information to the terminal device after the interval time of receiving the first message from the terminal device.
  • the first message further includes the size of the data packet predicted by the terminal device
  • the processing unit is configured to determine the air interface resource information according to the size of the data packet.
  • the first message is a buffer status report BSR message.
  • the BSR message includes an index field and an LCID field, and the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
  • an embodiment of the present application provides a sending apparatus, the apparatus is located in a terminal device, and includes: a processing unit configured to acquire transmission characteristics of a data packet; and obtaining transmission time information of the data packet according to the transmission characteristics , the sending time information is the time information when the terminal device sends the data packet to the base station; the sending time of the first message is determined according to the sending time information of the data packet; the sending unit is used to respond to the arrival of the first message The first message is used to obtain air interface resource information, and the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
  • the processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the first message includes the size of the data packet, and the size of the data packet is used for the data packet.
  • the base station determines the air interface resource information.
  • the first message is a buffer status report BSR message.
  • an embodiment of the present application provides a communication system, including a terminal device, where the terminal device can be configured to execute the sending method described in the first aspect or the third aspect.
  • an embodiment of the present application provides a communication system, including a base station, where the base station can be configured to execute the sending method described in the foregoing second aspect.
  • an embodiment of the present application provides a terminal device, including at least one processor, wherein the at least one processor is coupled with at least one memory: the at least one processor is configured to execute the storage in the at least one memory
  • the computer program or instruction of the terminal device enables the terminal device to execute the sending method described in the first aspect or the third aspect.
  • an embodiment of the present application provides a base station device, including at least one processor, the at least one processor is coupled with at least one memory: the at least one processor is configured to execute the storage in the at least one memory
  • the computer program or instruction of the base station causes the base station to execute the sending method described in the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including a computer program, which, when run on a computer, causes the computer to execute the message sending method described in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including a computer program, which, when run on a computer, causes the computer to execute the message sending method described in the first aspect or the message sending method described in the second aspect. message processing method.
  • 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 configured to receive instructions and transmit them to the processor; the processor , which is used to execute the sending method described in the first aspect or the third aspect.
  • FIG. 1 is a schematic diagram of a network architecture of a system 10 according to an embodiment of the present application
  • FIG. 2 is an interactive schematic diagram of a sending method provided by an embodiment of the present application
  • FIG. 3 is another schematic diagram of interaction of a sending method provided by 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 still another schematic diagram of interaction of a sending method provided by an embodiment of the present application.
  • FIG. 6 is yet another schematic diagram of interaction of a sending method provided by an embodiment of the present application.
  • FIG. 7 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application.
  • FIG. 8 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application.
  • FIG. 9 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a sending apparatus 1000 provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a sending apparatus 1100 provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a sending apparatus 1200 provided by 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 application.
  • FIG. 15 is a schematic structural diagram of a base station 1500 according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a base station 1600 according to an embodiment of the present application.
  • a terminal device sends uplink data to a server through a base station.
  • the terminal device may send the uplink data to the base station in the form of data packets.
  • the base station can receive the data packet and forward the data packet to the corresponding server.
  • the server can send confirmation information to the base station, so that the base station can forward the confirmation information to the terminal device.
  • eMBB enhanced Mobile Broadband
  • RTT round-trip time
  • the base station can reserve air interface resources for the terminal equipment, that is, allocate air interface resources to the terminal equipment when it is uncertain whether the terminal equipment has uplink data to be sent. If the terminal device generates uplink data, it can send the uplink data to the base station by using the allocated air interface resources. 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, nor does it need to wait for the base station to reply with a UL grant message. The terminal device can send the uplink data earlier, and the base station can also receive the terminal earlier. The uplink data sent by the device reduces the delay in transmitting the uplink data.
  • the server can receive and respond to the uplink data of the terminal device more quickly, and the terminal device can also receive the response data from the server more quickly. In this way, by pre-allocating air interface resources to terminal devices, the delay of data transmission can be reduced, thereby reducing RTT and improving user experience.
  • the base station still allocates air interface resources for the terminal equipment. This part of air interface resources is not fully utilized, resulting in waste of air interface resources.
  • the base station allocates air interface resources to the terminal device, even if the terminal device has no uplink data to send, the terminal device will send data packets that do not contain uplink data to the base station through the air interface resources, increasing the number of terminal devices. power consumption.
  • embodiments of the present application provide a sending method and apparatus, which can allocate air interface resources to terminal devices according to their actual needs, thereby avoiding waste of air interface resources.
  • FIG. 1 is a schematic structural diagram of a system 10 according to an embodiment of the present application.
  • the system 10 includes a terminal device 11 and a base station 12 .
  • the terminal device 11 is connected to the base station 12 and can transmit data to each other.
  • the terminal device 11 which may also be called user equipment (UE), mobile station (MS), mobile terminal (MT), terminal, etc.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • a device that provides voice and/or data connectivity, or a chip provided in the device such as a handheld device with wireless connectivity, a vehicle-mounted device, and the like.
  • terminal devices are: mobile phone, desktop computer, tablet computer, notebook computer, PDA, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, supporting the fifth-generation mobile communication technology (5th-Generation, 5G) ) connected home gateway equipment (5G-residential gateway, 5G-RG), etc.
  • MID mobile internet device
  • VR virtual reality
  • AR augmented reality
  • wireless terminals in industrial control wireless terminals in self-driving
  • wireless terminals in remote medical surgery and smart grids wireless terminals
  • wireless terminals in transportation safety wireless terminals in smart cities, wireless terminals in smart homes, supporting the fifth-generation mobile communication technology (5th-Generation, 5G) connected home gateway equipment (5G-residential gateway, 5G-RG), etc.
  • the base station 12 may be a base station such as an evolved base station (enhanced Nobe B, eNobeB) or a next generation base station (next generation NobeB, NG NobeB).
  • the sending method provided by the embodiments of the present application may be applied to a fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G) network or a 5G network.
  • FIG. 2 is an interactive schematic diagram of a sending method provided by an embodiment of the present application.
  • the sending method provided by the embodiment of the present application includes the following steps:
  • S201 The terminal device acquires the transmission characteristic of the data packet.
  • the terminal device Before sending the data packet, the terminal device can obtain the transmission characteristics of the data packet.
  • the data packet can be an uplink data packet sent by the terminal device to the base station, for example, it can be 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 the user.
  • the transmission characteristics of the data packets represent the historical regularity of the terminal device sending data packets, for example, it may include the time when the terminal device sends the first N (N is a positive integer greater than 1) data packets.
  • the terminal device may record the moment of sending the data packet each time it sends the data packet. Then, before sending the N+1 th data packet, the terminal device may query the time of sending the first N data packets, and determine the transmission characteristics of the N+1 th data packet.
  • the terminal device includes a processor and a modem (Modem).
  • the processor may be a device such as a central processing unit (CPU), which is used to process data generated by itself or data received.
  • a modem can be a device such as a baseband chip that communicates with a base station or other devices outside.
  • the processor can transmit the data packet to the network layer device, and the modem can send the data packet to the base station.
  • the network layer device of the terminal device can receive the data sent by the application layer device. Record when the packet is received, and record the time information of the received packet to obtain the transmission characteristics of the packet.
  • S202 The terminal device obtains the first sending time information of the data packet according to the transmission feature.
  • the terminal device may determine the first sending time information of the data packet according to the transmission characteristic of the data packet.
  • the first sending time information is time information when the terminal device sends the data packet to the base station.
  • the terminal device can determine the time interval at which the terminal device sends two adjacent data packets according to the transmission characteristics, and then determine the first sending time information according to the time interval; it can also determine the current time according to the transmission characteristics. The time interval from the terminal device to send the data packet, and then determine the first sending time information according to the time interval.
  • the terminal device can send data packets to the base station at equal intervals, that is, the time interval between the terminal device sending the data packets twice is relatively fixed. Then, by analyzing the moment of sending the data packet, the terminal device can determine the time interval for sending two adjacent data packets, and then obtain the first sending time information.
  • the terminal device sends video data to the base station, and the video has 30 frames per second.
  • the terminal device can determine that the sending time interval of the first N data packets is 33.33ms, thereby determining that the N+1th data packet will be sent 33.33ms after the Nth data packet is sent, thus obtaining First send time information.
  • the terminal device can determine the first sending time information according to the time interval and the time of sending the second message, and will send the data within the distance after sending the second message.
  • the interval time of the packets is used as the first transmission time information.
  • the terminal device can determine the time interval from the current moment to sending the data packet, and then obtain the first sending time information.
  • the terminal device can parse the user's operation, generate corresponding operation instructions and generate data packets, that is, the terminal device will generate data after detecting the user's operation. Bag.
  • the terminal device can take the time interval between the detection of the user operation and the sending of the data packet in the historical 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 between detecting the user operation and sending the data packet, that is, the time interval between the current moment and the user sending the data packet.
  • the terminal device can determine the first sending time information according to the time interval and the time required to send the first message, and will send the data packet after the first message is sent. time as the first sending time information.
  • the terminal device can determine the first sending time information according to the time interval and the time required to send the first message, and will send the data packet after the first message is sent. time as the first sending time information.
  • the terminal device may predict the time of the data packet according to the transmission characteristics of the data packet, and directly use the time of sending the data packet as the first sending time information.
  • the above method for determining the first sending time information can be implemented by a model.
  • the terminal device may establish a prediction model in advance, the input of the model is the transmission characteristics of the data packet, and the output is the first sending time information. In this way, when the first sending time information needs to be determined, the terminal device can input the transmission characteristics of the data packet into the prediction model to obtain the first sending time information.
  • S203 The terminal device sends a first message to the base station, where the first message includes first sending time information.
  • the terminal device may send the first message to the base station.
  • the first message carries the first sending time information, so that the base station allocates air interface resources to the terminal device according to the first sending time information.
  • the terminal device may send the first message to the base station through a wireless connection with the base station.
  • S204 The base station allocates air interface resources to the terminal device according to the first transmission time information.
  • the base station may receive the first message sent by the terminal device through a physical antenna or a virtual antenna, etc., and obtain the first sending time information from the first message. According to the first sending time information, the base station can determine the time when the terminal device sends the data packet to the base station, thereby allocating air interface resources to the terminal device. For example, assuming that the first sending time information indicates that the terminal device will send a 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 The base station sends the allocated air interface resource information 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 resources corresponding to the air interface resource information are used for the terminal equipment to send data packets to the base station, that is, the air interface resources allocated by the base station to the terminal equipment.
  • the terminal device can use the allocated air interface resources to send data packets. For example, assuming that the base station allocates air interface resources of frequency band A to the terminal device, the air interface resource information may carry relevant information of frequency band A.
  • the terminal device can determine that the frequency band A is the air interface resource allocated to itself by the base station according to the air interface resource information, so as to use the frequency band A to send data packets to the base station.
  • An embodiment of the present application provides a sending method.
  • a terminal device Before sending a data packet, a terminal device can first obtain the transmission characteristics of the data packet, and predict the time of sending the data packet according to the transmission characteristics of the data packet, so as to send the data packet to the base station including the first The first message of time information is sent to notify the base station of the time when the data packet is sent.
  • the base station After receiving the first message, the base station may determine the time to allocate air interface resources to the terminal device according to the first transmission time information, so as to allocate air interface resources to the terminal device and notify the terminal device through the air interface resource information. Allocating air interface resources to the terminal device according to the first sending time information is equivalent to allocating air interface resources to the terminal device according to the moment when the terminal device sends a data packet.
  • the base station allocates air interface resources only when the terminal equipment needs to send data packets.
  • the base station since the base station does not allocate air interface resources to the terminal device when the terminal device does not need to send data packets in the embodiment of the present application, the air interface resource is saved.
  • the base station pre-allocates the terminal equipment with air interface resources for sending data packets.
  • the terminal device can use the pre-allocated air interface resources to send the data packets, which reduces the transmission delay of the uplink data packets.
  • the base station since the base station does not allocate air interface resources when the terminal device does not send data packets, the terminal device does not need to send data packets that do not contain uplink data to the base station, thus saving the power consumption of the terminal device.
  • the system shown in FIG. 1 is taken as an example for description.
  • the video sent by the terminal device 11 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 bit rate is fixed.
  • the terminal device 11 will send a data packet to the base station 12 every 33.33 ms.
  • the terminal device 12 Before sending the Xth data packet (X is a positive integer greater than 1), the terminal device 12 can obtain the time of sending the first X-1 data packets as the transmission feature of the Xth data packet.
  • the terminal device 11 can determine that the moment of sending the Xth data packet is 33.33ms after sending the X-1th data packet, that is, the first sending time information is the transmission time of the X-th data packet. 33.33ms after 1 packet.
  • the terminal device 11 may send a first message to the base station 12 to notify the base station 12 of the first sending time information.
  • the base station 12 can determine that the Xth data packet will be sent 33.33ms after the X-1th data packet is sent, so that the terminal device 11 sends the X-1th data packet 33.33ms after the terminal device is the terminal device.
  • the device 11 allocates air interface resources, and sends the air interface resource information to the terminal device 11 .
  • the terminal device 11 may determine the air interface resource allocated by the base station 12 for the terminal device 11 according to the air interface resource information, so as to send the Xth data packet to the base station 12 by using the air interface resource. In this way, after the terminal device 11 sends the X-1 th data packet, before the terminal device 11 sends the X th data packet, the base station 12 does not allocate air interface resources for the terminal device 11. It is equivalent to that when the terminal device 11 does not send data packets, the base station 12 does not allocate air interface resources to the terminal device 11, thereby avoiding waste of air interface resources.
  • the base station can correspondingly advance the time when the air interface resource information is sent to the terminal device, so as to ensure that the terminal device receives the air interface resource information before sending data packets. For example, assuming that the terminal device needs to send a data packet to the base station at the first moment, and the total time 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 the first time interval, then the base station can determine according to the first moment. and the first time interval to determine a second time, and in the second time, allocate air interface resources to the terminal device and send air interface resource information. In this way, it can be ensured that the terminal device can receive the air interface resource information before sending the data packet, so as to determine the air interface resource for sending the data packet.
  • the terminal device can also predict the size of the data packet and send it to the base station, so that the base station determines the air interface resource allocated to the terminal device according to the size of the data packet.
  • 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.
  • FIG. 3 is an interactive schematic diagram of a sending method provided by an embodiment of the present application.
  • the sending method includes the following steps:
  • S301 The terminal device acquires the transmission characteristic of the data packet.
  • the terminal device Before sending the data packet, the terminal device can obtain the transmission characteristics of the data packet.
  • the definition of the data packet and the transmission feature may refer to step S201, which will not be repeated here.
  • the transmission characteristic of the data packet may also include the size of the data packet, for example, may include the first N (N is a positive integer greater than 1) data sent by the terminal device.
  • the size of each packet in the packet may include the first N (N is a positive integer greater than 1) data sent by the terminal device. The size of each packet in the packet.
  • the terminal device obtains the first sending time information of the data packet according to the transmission characteristic of the data packet.
  • step S302 For the specific method of predicting the first sending time information according to the transmission characteristics of the data packet in step S302, reference may be made to the description of S202 in the corresponding embodiment of FIG. 2, and details are not repeated here.
  • the terminal device sends a first message to the base station, where the first message includes first sending time information.
  • step S303 For the related content of step S303, please refer to the description of S203 in the corresponding embodiment of FIG. 2, which will not be repeated here.
  • the first message may be a radio resource control (Radio Resource Control, RRC) message or a medium access control (medium access control,) message or the like.
  • RRC Radio Resource Control
  • the terminal device may carry the first sending time information in the data content part of the first message.
  • the first message may include an index (index) field and a logical channel identification (logical channel identification, LCID) field.
  • the LCID field may carry the first sending time information, and the value of the index field is used to indicate that the LCID field includes the first sending time information.
  • the terminal device may carry the first transmission time information in a reserved field of the LCID field.
  • the LCID field with an index of 33 may be used to carry the first transmission time information.
  • the terminal device may set the value of the LCID field with an index of 33 of the first message as the first transmission time information.
  • the base station may determine, according to the index field, that the LCID field with an index of 33 includes the first sending time information, and then extract the first sending time information from the first message.
  • S304 The terminal device predicts the size of the data packet according to the transmission characteristics of the data packet.
  • the terminal device may predict the size of the data packet according to the transmission characteristic of the data packet.
  • the size of the data packet indicates the amount of information carried in the data packet, and the unit may be bits (bit, b), bytes (byte, B), kilobytes (kilobytes, kB), and the like. For example, assuming that the size of the first N data packets transmitted by the terminal device is the same, the terminal device can determine that the size of the data packet is consistent with the first N data packets. Similar to step S202, the terminal device can also determine the size of the data packet through the prediction model.
  • the prediction model can 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 the terminal device to send a data packet is 33.33ms, and the duration of the data packet is 33.33ms.
  • the size is 100kB.
  • the size of the data packet may also be an average value or a maximum value of the sizes of the first N data packets sent by the terminal device.
  • step S304 may be performed after step S303, or may be performed before step S303.
  • S305 The terminal device sends a second message to the base station, where the second message includes the size of the data packet.
  • 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 air interface resources to the terminal device according to the size of the data packet.
  • 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.
  • the base station allocates air interface resources to the terminal device according to the first transmission time information and the size of the data packet.
  • the base station may receive the first message sent by the terminal device through a physical antenna or a virtual antenna, etc., and obtain the first sending time information from the first message. According to the first sending time information, the base station can determine the time when the terminal device sends the data packet to the base station, so as to determine the time when the air interface resource is allocated to the terminal device. According to the size of the data packet, the base station can determine the frequency band required by the terminal device to send the data packet to the base station, thereby determining the frequency band of the air interface resources allocated to the terminal device. In this way, when the terminal device sends the data packet, the base station can allocate air interface resources corresponding to the data packet for the terminal data.
  • the base station sends the allocated air interface resource information to the terminal device.
  • step S307 For the related content of step S307, please refer to the description of S205 in the corresponding embodiment of FIG. 2, and details are not repeated here.
  • the terminal device can first send a first message to the base station, and send a second message to the base station before each data packet is sent to notify the base station of the local The size of the packet sent at once.
  • the base station may determine the time interval between sending the second message by the terminal device and sending the data packet by the terminal device. In this way, after receiving the second message, the base station can determine that the terminal device sends a data packet, thereby allocating air interface resources to the terminal device. In this way, the base station does not allocate air interface resources to the terminal equipment when the terminal equipment does not send data packets, which saves the air interface resources of the base station.
  • the terminal device when the terminal device needs to send N data packets, it only needs to send the first message to the base station before sending the first data packet, and send the second message to the base station before sending each data packet, without sending each data packet.
  • the first message is sent to the base station when the data packet is present. In this way, for services with regular uplink data, the amount of data interaction between the terminal equipment and the base station is reduced, and the pressure on the terminal equipment and the base station is relieved.
  • the system 400 shown in FIG. 4 is taken as an example for description.
  • 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 for running application programs and generating uplink data packets.
  • the baseband chip 412 is used for sending the uplink data packets generated by the processor 411 to the base station 420 .
  • the signaling interaction between 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 acquires the transmission characteristics of the data packet.
  • the processor 411 in the terminal device 410 can generate data packets and send the data packets to the base station 420 through the baseband chip 412 . Before generating the data packet, the processor 411 may obtain the transmission characteristics of the data packet. For the specific description of the transmission feature of the data packet, please refer to the description of S301 in the corresponding embodiment of FIG. 3 , and details are not repeated here.
  • the processor 411 obtains the first sending time information of the data packet according to the transmission characteristic of the data packet.
  • the processor 411 can 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 first transmission time sent by the baseband chip 412 to the base station 420
  • the interval time between the terminal device 410 sending the data packet to the base station 420 may be the time interval between the baseband chip 412 sending the second message and sending the data packet, that is, the interval time between step S507 and step S512.
  • the content of the first sending time information may be: 10 ms after sending the second message, the baseband chip 412 sends a data packet to the base station 420 .
  • the first sending time may also be the interval time between when the baseband chip 412 sends the second message to the base station 420 and when the processor 411 sends the data packet to the baseband chip 412, that is, step S507 and the interval between step S511.
  • the content of the first sending time information may be: 10 ms 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 can also be the interval time between when the baseband chip 412 receives the data packet sent by the processor 411 after the baseband chip 412 sends the second message to the base station 420 .
  • S503 The processor 411 notifies the baseband chip 412 of the first sending time information.
  • the processor 411 may notify the baseband chip 412 of the first sending time information, so that the baseband chip 412 sends the first message to the base station 420 .
  • the baseband chip 412 sends the first message to the base station 420.
  • the baseband chip 412 may send the first message to the base station 420 .
  • the baseband chip 412 may send the first message to the base station 420 .
  • S304 the description of S304 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
  • S505 The processor 411 predicts the size of the data packet according to the transmission characteristics of the data packet.
  • the processor 411 may predict the size of the data packet according to the transmission characteristics of the data packet. For the specific description of determining the size of the data packet, reference may be made to the description of S303 in the corresponding embodiment of FIG. 3 , and details are not repeated here.
  • S506 The processor 411 notifies the baseband chip 412 of the size of the data packet.
  • the processor 411 may notify the baseband chip 412 of the size of the data packet, so that the baseband chip 412 sends the second message to the base station 420 .
  • the baseband chip 412 sends the second message to the base station 420.
  • the baseband chip 412 may send the second message to the base station 420 .
  • the baseband chip 412 may send the second message to the base station 420 .
  • S305 the description of S305 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
  • the base station 420 allocates air interface resources to the terminal device 410 according to the first transmission time information and the size of the data packet.
  • the base station 420 may first determine the time when the baseband chip 412 sends the second message according to the second message.
  • the baseband chip 412 may add the moment of sending the second message to the second message.
  • the base station 420 may determine the time at which the baseband chip 412 sends the second message according to the second message, or may determine the baseband according to the time at which the second message is received and the delay value between the terminal device 410 and the base station 420
  • the moment when the chip 412 sends the second message may also take the moment when the second message is received as the moment when the baseband chip 412 sends the second message.
  • the base station 420 may determine the time to allocate air interface resources to the terminal device 410 according to the first sending time information and the time when the baseband chip 412 sends the second message. For example, the base station 420 may determine the time after the baseband chip sends the second message and after the aforementioned interval time as the time to allocate air interface resources to the terminal device 410 and send air interface resource information.
  • the first sending time information is: 10 ms after sending the second message
  • the baseband chip 412 sends a data packet to the base station 420
  • the baseband chip 412 sends the second message in the first second.
  • the base station 420 may determine that the time to allocate air interface resources to the terminal device 410 is 10 ms after the baseband chip 412 sends the second message, that is, 1.01 seconds, and determine the time to allocate air interface resources to the terminal device 410 and send 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 1 ms in advance, that is, allocate air interface resources to the terminal device 410 and send the air interface resource information at the 1.009th second.
  • 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. For the description of this part, refer to the description of S306 in the corresponding embodiment of FIG. 3 , which will not be repeated here.
  • the base station 420 sends the allocated air interface resource information to the baseband chip 412.
  • the base station 420 may send air interface resource information to the baseband chip 412 .
  • the baseband chip 412 For the description of sending the air interface resource information, reference may be made to the description of S307 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
  • S510 The processor 411 generates a data packet to be sent.
  • the processor 411 may generate a data packet to be sent.
  • the to-be-sent data packet is used to carry the uplink data of the terminal device 410, and may be, for example, a video data frame or the like.
  • the processor 411 sends the data packet to be sent to the baseband chip 412.
  • the processor 411 may send the data packet to the baseband chip 412, so that the baseband chip 412 sends the data packet to be sent to the base station.
  • step S510 and step S508 are logically separated, that is, the two do not have a clear sequence relationship.
  • step S511 is performed before step S09. In this way, it can be ensured that the baseband chip 412 has specified the allocated air interface resource information before receiving the data packet to be sent. That is to say, depending on the actual application situation, step S510 may be performed before step S508, or may be performed after step S508 and before step S511.
  • the baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
  • the baseband chip 412 can determine the air interface resources allocated by the base station 420 for the terminal device 410, and thus send data packets to the base station 420 by using the air interface resources.
  • the processor 411 can predict the size of the data packet before sending the data packet, and send the size of the data packet to the base station 420 through the second message, and can also send the first
  • the time interval between sending the second message and sending the data packet is predicted before the second message. That is, the processor 411 can not only determine the size of the data packet in advance, but can also predict how long in advance the processor 411 can determine the size of the data packet.
  • the terminal device 410 before sending the second message, the terminal device 410 can notify the base station 420 of the time interval between sending the second message and sending the data packet by the baseband chip 412 through the first message.
  • the base station 420 can determine the time when the air interface resources need to be allocated to the terminal device 410 according to the time interval, and determine the frequency band of the air interface resources allocated to the terminal device 410 according to the second message. Corresponding air interface resources are allocated to the terminal device 410 at all times, which saves the air interface resources of the base station.
  • steps S506 to S512 may be repeatedly performed.
  • the message sent by the terminal device 410 each time may only carry the data packet size, and does not need to carry the first sending time information. In this way, the amount of data interaction between the terminal device and the base station is reduced, and the pressure on the device is relieved.
  • the second message may not carry the size of the data packet, and is only used to trigger the action of the base station to allocate air interface resources.
  • the terminal device may send the second message to the base station after predicting the generation of the data packet.
  • the base station can determine the time when the terminal device sends the second message, and determine the time interval between the time when the terminal device sends the second message and the time when the data packet is sent (ie, the first sending time information) The time when the terminal device sends the data packet, so as to allocate air interface resources of a fixed size to the terminal device at the corresponding time.
  • FIG. 6 is an interactive schematic diagram of a sending method provided by an embodiment of the present application, and the sending method includes the following steps:
  • S601 The terminal device acquires the transmission characteristic of the data packet.
  • step S601 For the related content of step S601, please refer to the description of S201 in the corresponding embodiment of FIG. 2, and details are not repeated here.
  • the terminal device obtains the first sending time information of the data packet and the size of the data packet according to the transmission characteristic of the data packet.
  • the terminal device After acquiring the transmission characteristics of the data packets, the terminal device can predict the moment of sending the data packets according to the transmission characteristics, and obtain the first transmission time information and the size of the data packets.
  • the first sending time information may include a first interval time, where the first interval time is the interval time after the terminal device sends the first message to the base station to send a data packet to the base station, that is, the terminal device sends the first message to the base station.
  • the first message is a BSR message.
  • the terminal device needs to send a scheduling (Scheduling request, SR) message to the base station first, and can send the first message after confirming receipt of the UL grant message sent by the base station.
  • SR scheduling request
  • the terminal device may first determine the second time interval.
  • the second time interval is the interval time between when the terminal device sends the SR message to the base station and when it sends the BSR message. That is, after sending the SR message to the base station, the terminal device will receive the UL grant message sent by the base station and send a BSR message to the base station.
  • the length of time between sending the SR message and sending the BSR message is the second time interval.
  • the terminal device may record the time interval from the SR message to the sending of the BSR message when sending the SR message, collect statistics on the average value of the historical time interval, and use the average value as the second time interval.
  • the terminal device may also select the 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 can predict the time at which the terminal device sends the data packet according to the transmission characteristics of the data packet, and set the time at which the SR message is sent. For example, the terminal device can arbitrarily set the time for sending the SR message. After determining the time of sending the data packet and the time of sending the SR message, the terminal device may determine the time difference between the two as the second sending time information, and obtain the second sending time information. That is, the second sending time information is the interval time between when the terminal device sends the SR message to the base station and sends the data packet to the base station.
  • the terminal device may first determine the second transmission time information, and then determine the second time interval, or may first determine the second time interval, and then determine the second transmission time information. This embodiment of the present application does not limit this
  • the second sending time information is the interval time from the terminal device to sending the data packet to the base station after sending the SR message to the base station, it is equivalent to the time from sending the SR message to sending the first message (BSR message), and then from sending the first message to The interval for sending data packets, that is, the sum of the first interval and the second interval. Then, according to the second sending time information and the second interval time, the terminal device can determine the first interval time and obtain the first sending time information.
  • the terminal device sends a first message to the base station, where the first message includes 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 can, according to the first sending time information, be Terminal equipment allocates air interface resources.
  • the terminal device may send the first message to the base station through a wireless connection with the base station.
  • the first message may be a BSR message.
  • the terminal device Before sending the first message, the terminal device may first send an SR message to the base station, so that the base station allocates air interface resources 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 the first message to the base station.
  • the first message may be a BSR message in a MAC message format, including an index field and an LCID field.
  • the LCID field may include the first sending time information and the size of the data packet.
  • the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
  • the terminal device may carry the first sending 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 an index of 33, and use this field to carry the first sending time information and the size of the data packet.
  • the terminal device may expand the LCID field with an index of 33 into two lines, the first line carrying the first sending time information, and the second line carrying the size of the data packet.
  • the terminal device may also use two LCID fields to carry the first sending time information and the size of the data packet respectively.
  • the terminal device may send the first message to the base station according to the second transmission time information.
  • the terminal device may determine the time of sending the SR message according to the second sending time information, and send the first message to the base station at a second time interval after the time.
  • the base station allocates air interface resources to the terminal device according to the first sending time information and the size of the data packet.
  • step S604 For the related content of step S604, please refer to the description of S306 in the corresponding embodiment of FIG. 3, and details are not repeated here.
  • the base station sends the allocated air interface resource information to the terminal device.
  • step S605 For the related content of step S605, please refer to the description of S205 in the corresponding embodiment of FIG. 2, which will not be repeated here.
  • the terminal device may first 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 and size of the data packet sent this time through the first message.
  • the base station may determine the time to allocate air interface resources to the terminal device according to the first sending time information, and determine the amount of air interface resources allocated to the terminal device according to the size of the data packet. In this way, the base station does not allocate air interface resources to the terminal equipment when the terminal equipment does not send data packets, which saves the air interface resources of the base station.
  • the base station still has The air interface resource can be allocated to the terminal device according to the first message.
  • 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 description.
  • the terminal device can collect the operation signal at a fixed frequency, for example, collect the operation signal of the touch screen at a frequency of 50 Hz. Then, when the user operates, the terminal signal will generate 50 operation data packets per second and send them to the base station. When the user does not operate, the terminal device will not generate operation data packets.
  • the terminal device can separately perform prediction for each data packet in the multiple data packets, and determine the first sending time information and size of the data packet according to the transmission characteristics of the data packet.
  • the terminal device will predict the time of sending the data packet and notify the base station.
  • the first time interval is adjusted for different data packets, and even if the generation of the data packets is irregular, the base station can allocate corresponding air interface resources to the terminal device at the corresponding moment. in this way. It not only reduces the transmission delay of the data packet, but also saves the air interface resources of the base station.
  • the system 400 shown in FIG. 4 is still taken as an example for description.
  • the signaling interaction between the processor 411, the baseband chip 412 and the base station 420 may be as shown in FIG. 7, including the following steps:
  • the processor 411 acquires the transmission characteristics of the data packet.
  • step S701 For the related content of step S701, please refer to the description of S501 in the corresponding embodiment of FIG. 5, and details are not repeated here.
  • 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.
  • the processor 411 may send the predicted time of the data packet according to the transmission characteristics of the data packet, so as to obtain the first sending time information. For example, the processor 411 may first 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. Next, the processor 411 can set the time for sending the SR message, and determine the second sending time information according to the time when the baseband chip 412 sends the data packet. The second transmission time information is subtracted from the second time interval, and the obtained result is the first time interval. The processor 411 may determine the first time interval as the first transmission time information.
  • the baseband chip 412 sends the SR message to the base station immediately after receiving the first sending 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 can be regarded as the time interval between step S703 and step S704
  • the second sending time information can be regarded as the time interval between step S703 and step S708.
  • the difference between the second sending time information and the second time interval is obtained, and the obtained result is the time interval between steps S704 and S708, which is equivalent to the time between the baseband chip 412 sending the first message and the baseband chip 412 sending the data packet time interval, that is, the first time interval.
  • the terminal device can determine the first sending time information.
  • the processor 411 notifies the baseband chip 412 of the first sending time information and the size of the data packet.
  • step S701 For the related content of step S701, please refer to the description of S503 and S506 in the corresponding embodiment of FIG. 5, and details are not repeated here.
  • the baseband chip 412 sends the 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 the first sending time information and the size of the data packet. Taking the first message as a 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 the terminal device 410 for sending the BSR message, and return a UL grant message to the baseband chip 412 of the terminal device 410. After receiving the UL grant message, the baseband chip 412 may generate a first message according to the first transmission time information and the size of the data packet and send it to the base station 420. For example, the baseband chip 412 may add the first transmission time information and the size of the data packet to the reserved field of the first message.
  • the base station 420 allocates air interface resources to the terminal device 410 according to the first transmission time information and the size of the data packet.
  • the base station 420 may first 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 corresponding embodiment of FIG. 6 , and details are not repeated here.
  • the base station 420 may determine the time to allocate air interface resources to the terminal device 410 according to the first sending time information and the time when the baseband chip 412 sends the first message. For example, the base station 420 may determine the time after the baseband chip sends the first message and then after the first interval time as the time for allocating air interface resources to the terminal device and sending 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 1 ms in advance, that is, allocate air interface resources to the terminal device 410 and send the air interface resource information at the 1.009th second.
  • the base station 420 can also determine how much air interface resources are allocated to the terminal device according to the size of the data packet. For the description of this part, please refer to the description of S306 in the corresponding embodiment of FIG. 3 , which will not be repeated here.
  • the base station 420 sends the allocated air interface resource information to the baseband chip 412.
  • step S706 For the related content of step S706, please refer to the description of S509 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • S707 The processor 411 generates a data packet to be sent.
  • step S707 For related content of step S707, please refer to the description of S510 in the corresponding embodiment of FIG. 5, and details are not repeated here.
  • the processor 411 sends the data packet to be sent to the baseband chip 412.
  • step S708 For the related content of step S708, please refer to the description of S511 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • the baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
  • step S708 For the related content of step S708, please refer to the description of S512 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • the processor 411 can predict the size of the data packets and the first sending time information before sending the data packets.
  • the base station 420 can determine the time when the air interface resources need to be allocated to the terminal device 410 according to the first transmission time information, and determine the frequency band of the air interface resources allocated for the terminal device 410 according to the size of the data packet, so as to provide the terminal device 410 at the corresponding time. Allocating the corresponding air interface resources saves the air interface resources of the base station.
  • the method provided by the embodiment of the present application can predict each data packet, determine the first time interval corresponding to each data packet, and send the base station to the base station.
  • the first time interval and the size of the data packet corresponding to each data packet are sent.
  • the base station can allocate corresponding air interface resources to the terminal device at the corresponding time. In this way, the transmission delay of the data packet is reduced, and the air interface resources of the base station are saved.
  • the base station may determine the time to allocate air interface resources to the terminal device according to the first sending time information. Although air interface resources can be saved, the base station needs to wait for a period of time before allocating air interface resources to terminal devices. In this way, 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.
  • the embodiment of the present application further provides another sending method. Referring to FIG. 8, FIG. 8 is an interactive schematic diagram of another sending method provided by an embodiment of the present application. The sending method includes the following steps:
  • S801 The terminal device acquires the transmission characteristic of the data packet.
  • step S801 For the related content of step S801, please refer to the description of S201 in the corresponding embodiment of FIG. 2, which will not be repeated here.
  • S802 The terminal device obtains the sending time information of the data packet according to the transmission feature.
  • the terminal device After acquiring the transmission characteristics of the data packets, the terminal device can obtain the transmission time information of the data packets according to the transmission characteristics of the data packets.
  • the sending time information is the time information when the terminal device sends the data packet to the base station, for example, the time when the terminal device generates the data packet to be sent, or the time when the terminal device sends the data packet to the base station. Similar to step S202 in the embodiment corresponding to FIG. 2 , the terminal device can also predict the sending time information of the data packet through the model.
  • the terminal device may also predict the size of the data packet according to the transmission characteristics of the data packet. For a specific description of the predicted data packet size, reference may be made to the description of S505 in the embodiment corresponding to FIG. 5 , and details are not repeated here.
  • S803 The terminal device determines the sending time of the first message according to the sending time information of the data packet.
  • the terminal device may determine the sending time of the first message according to the sending time information of the data packet, that is, the time when the terminal device sends the first message. For example, the terminal device may determine 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 terminal device to receive air interface resource information, and the terminal device to receive air interface resource information. The total duration is taken as the time interval between the terminal device sending the first message and sending the data packet. The terminal device may take the time for sending the first message before sending the data packet and the time from the time when the data packet is sent is the aforementioned interval time.
  • the total time required for the terminal device to send the first message to the terminal device to receive the air interface resource information is the short time interval, and the time from the terminal device to send the first message to the terminal device to send the data packet is also the shortest time interval. That is to say, when the data packet is about to be sent, the terminal device just receives the air interface resource information, so as to send the data packet to the base station by using the air interface resource information.
  • the terminal device sends a data packet to the base station after 10ms, 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 the air interface resource information, and the terminal device to receive the air interface resource information is 1.5ms. . Then, the terminal device can determine that the sending time of the first message is after 8.5 ms. In this way, the terminal device sends the first message after 8.5ms, and sends the data packet after 10ms. After the terminal device sends the first message, the base station may allocate air interface resources to the terminal device according to the first message and send air interface resource information.
  • the terminal device considering that it may take time for the terminal device to determine the air interface resource according to the air interface resource information, the terminal device can correspondingly advance the sending time of the first message, thereby ensuring that the terminal device can receive the air interface resource before sending the data packet information.
  • the terminal equipment sends a data packet to the base station after 10ms, and the base station receives the first message, the base station allocates air interface resources to the terminal equipment, the base station sends the air interface resource information and the terminal equipment receives the air interface resource information.
  • the total time required is 1.5ms as example to illustrate.
  • the terminal device may advance the sending time of the first message by 0.1 ms, that is, send the first message after 8.4 ms. In this way, the terminal device will receive the air interface resource information after 9.9ms, analyze the air interface resource information, determine the air interface resources allocated by the base station for the terminal device, and then use the air interface resources to send data packets after 10ms.
  • the terminal device After determining the sending time of the first message, the terminal device does not send the first message to the base station immediately, but only sends the first message to the base station when the sending time of the first message arrives. For example, assuming that the sending time of the first message is 8.5ms, the terminal device may start timing after determining the sending time of the first message, and send the first message to the base station when the time recorded by the timer is 8.5ms.
  • the first message does not carry the first sending time information, and is only used to request air interface resources from the base station.
  • the first message further includes the size of the data packet, where the size of the data packet is used to determine the air interface resource information.
  • the first message is a BSR message
  • the terminal device may carry the size of the data packet in the LCID field of the BSR message.
  • the terminal device may also send an SR message to the base station.
  • S805 The base station allocates air interface resources to the terminal device according to 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 the time to allocate air interface resources to the terminal device according to the first message, but schedules the time according to the traditional air interface resource scheduling after receiving the first message.
  • the method allocates air interface resources to terminal equipment. Since the base station does not need to determine the time to allocate air interface resources to the terminal device according to the first message, nor does it need to allocate air interface resources to the terminal at a specific time, in this embodiment of the present application, neither the software program of the base station needs to be modified, nor the There is no need to modify the interface between the base station and the terminal equipment.
  • S806 The base station sends the allocated air interface resource information to the terminal device.
  • step S806 For the related content of step S806, please refer to the description of S205 in the corresponding embodiment of FIG. 2, which will not be repeated here.
  • the system 400 shown in FIG. 4 is still taken as an example for description.
  • the system 400 shown in FIG. 4 executes the sending method shown in FIG. 8
  • the signaling interaction between the processor 411, the baseband chip 412 and the base station 420 can be as shown in FIG. 9 , including the following steps:
  • the processor 411 acquires the transmission characteristics of the data packet.
  • step S901 For the related content of step S901, please refer to the description of S501 in the corresponding embodiment of FIG. 5, and details are not repeated here.
  • 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.
  • the processor 411 can obtain the transmission time information of the data packets and the size of the data packets according to the transmission characteristics of the data packets.
  • the sending 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.
  • the processor 411 notifies the baseband chip 412 of the sending 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.
  • the baseband chip 412 determines the sending time of the first message according to the sending time information of the data packet.
  • the baseband chip 412 may determine the sending time of the first message according to the sending time information of the data packet.
  • the baseband chip 412 can be based on 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 the air interface resource information to the terminal device 410, and the time required by the terminal device 410 to receive the air interface
  • the time required for the resource information determines the sending time of the first message. That is, the baseband chip 412 can 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 make the difference between the time of sending the data packet and the aforementioned interval time to obtain the sending time of the first message.
  • the transmission time information of the data packet is the time when the processor 411 executes step S509. Then, the processor 412 can predict the total duration (hereinafter referred to as the first duration) required from steps S905 to S907, and use the time corresponding to the first duration before the processor 411 executes step S509 as the sending time of the first message, that is, execute time of step S905.
  • the first duration the total duration required from steps S905 to S907
  • the processor 412 can predict the total duration (hereinafter referred to as the first duration) required from steps S905 to S907, and use the time corresponding to the first duration before the processor 411 executes step S509 as the sending time of the first message, that is, execute time of step S905.
  • the baseband chip 412 can detect whether the sending 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 maintain a waiting state and not send the first message to the base station 420 .
  • the baseband chip 412 In response to reaching the sending time of the first message, the baseband chip 412 sends the first message to the base station 420.
  • the baseband chip 412 may send the first message to the base station 420 .
  • the first message may include the size of the data packet, but does not include the sending time of the data packet or the sending time of the first message. That is to say, the first message in this embodiment of the present application may be a BSR message in a conventional air interface resource scheduling technology.
  • the base station 420 allocates air interface resources to the terminal device 410 according to the size of the data packet.
  • the base station 420 may allocate air interface resources to the terminal device 410 according to the size of the data packet. Optionally, the base station 420 may allocate air interface resources immediately after receiving the first message.
  • the base station 420 sends the allocated air interface resource information to the baseband chip 412.
  • step S907 For the related content of step S907, please refer to the description of S509 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • S908 The processor 411 generates a data packet to be sent.
  • step S908 For the related content of step S908, please refer to the description of S510 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • the processor 411 sends the data packet to be sent to the baseband chip 412.
  • step S909 For the related content of step S909, please refer to the description of S511 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • the baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
  • step S910 For the relevant content of step S910, please refer to the description of S512 in the corresponding embodiment of FIG. 5, which will not be repeated here.
  • the baseband chip 412 may determine the sending time of the first message according to the sending time information of the data packet, and wait for the sending time of the first message to arrive before sending the message to the baseband chip 412 .
  • the base station 420 sends the first message.
  • the base station 420 does not wait after receiving the first message, but allocates air interface resources to the terminal device 410, and executes the traditional air interface resource allocation method. That is, in this embodiment of the present application, there is no need to improve the software program or hardware device of the base station.
  • the interface between the base station 420 and the baseband chip 412 does not need to be modified.
  • 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 a data packet, the base station does not allocate air interface resources to the terminal device 410, thereby avoiding waste of air interface resources. It can be seen that in the embodiment of the present application, the base station does not need to be improved, and only the terminal equipment needs to be rebuilt to avoid waste of air interface resources.
  • an embodiment of the present application further provides a sending apparatus 1000, where the apparatus 1000 is applied to a terminal device.
  • the apparatus 1000 includes a processing unit 1001 and a sending unit 1002 .
  • the processing unit 1001 may be configured to perform step S201 and step S202 in the embodiment shown in FIG. 2
  • the sending unit 1002 may be configured to perform step S203 in the embodiment shown in FIG. 2 .
  • the processing unit 1001 is configured to acquire transmission characteristics of data packets; obtain first transmission time information of the data packets according to the transmission characteristics, where the first transmission time information is the time when the terminal device sends the data packets to the base station. time information.
  • the sending unit 1002 is configured to send a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send the base station to the base station according to the first sending time information.
  • the terminal device sends the allocated air interface resource 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.
  • an embodiment of the present application further provides a sending apparatus 1100, where the apparatus 1100 is applied to a base station.
  • the apparatus 1100 includes a receiving unit 1101 and a sending unit 1102 .
  • the receiving unit 1101 may be configured to receive the first message from the terminal device, and the sending unit 1102 may be configured to perform step S205 in the embodiment shown in FIG. 2 .
  • step S201 in the embodiment shown in FIG. 2 may be performed by the receiving unit 1101 or the sending unit 1102, or may be performed by the processing unit 1103 (not shown in FIG. 11 ).
  • the processing unit 1101 is 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 a message sent by the terminal device to the The time information when the base station sends the data packet.
  • 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 includes a processing unit 1201 and a sending unit 1202 .
  • the processing unit 1201 may be configured to perform step S801 , step S208 and step S802 in the embodiment shown in FIG. 8
  • the sending unit 1202 may be configured to perform step S804 in the embodiment shown in FIG. 2 .
  • the processing unit 1201 is configured to acquire the transmission characteristics of the data packets; obtain the transmission time information of the data packets according to the transmission characteristics, where the transmission time information is the time information when the terminal device sends the data packets to the base station;
  • the sending time information of the data packet determines the sending time of the first message.
  • an embodiment of the present application further provides a terminal device 1300.
  • 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 , the memory 1301 is used to store computer programs or instructions.
  • the memory 1301 may be a memory inside the processor or a memory outside the processor.
  • the functions of the apparatus 1000 may be implemented on the terminal device 1300 . In the case where the embodiment shown in FIG. 10 is implemented, and each unit described in the embodiment in FIG. 10 is implemented by software, the software or program required to execute the functions of the processing unit 1001 and the sending unit 1002 in FIG. 10 The code is stored in memory 1301.
  • the functions of the apparatus 1200 may be implemented on the terminal device 1300 .
  • each unit described in the embodiment in FIG. 12 is implemented by software, the software or programs required to execute the functions of the processing unit 1201 and the sending unit 1202 in FIG. 12
  • the code is stored in memory 1301.
  • the processor 1302 is configured to execute the instructions in the memory 1301, so that the terminal device 1300 executes any one or more of step S201, step S202 or step S203 in the embodiment shown in FIG. 8. Any one or more of step S801, step S802, step S803 or step S804 in the described embodiment; the communication interface 1303 is used to communicate with other base stations.
  • the memory 1301, the processor 1302 and the communication interface 1303 are connected to each other through a bus 1304; the bus 1304 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus Wait.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the processor 1302 may be configured to acquire transmission characteristics of the data packets; obtain first transmission time information of the data packets according to the transmission characteristics, where the first transmission time information is the transmission time from the terminal device to the base station time information for sending the data packet; sending a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send a message to the base station according to the first sending time information
  • the terminal device sends the allocated air interface resource 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.
  • the communication interface 1303 is used to interact with other devices. For the specific process, please refer to the detailed description of the foregoing embodiments, which will not be repeated here.
  • the above-mentioned memory 1301 can be random-access memory (random-access memory, RAM), flash memory (flash), read only memory (read only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM) ), electrically erasable programmable read only memory (electrically erasable programmable read only memory, EEPROM), register (register), hard disk, removable hard disk, CD-ROM or any other form of storage medium known to those skilled in the art.
  • RAM random-access memory
  • flash memory flash memory
  • read only memory read only memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • EEPROM electrically erasable programmable read only memory
  • register register
  • hard disk removable hard disk
  • CD-ROM any other form of storage medium known to those skilled in the art.
  • the above-mentioned processor 1302 may be, for example, a central processing unit (central processing unit, CPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application-specific integrated circuit, ASIC), field programmable A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • a processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the above-mentioned communication interface 1303 can be, for example, an interface card, etc., and can be an Ethernet (ethernet) interface or an asynchronous transfer mode (Asynchronous transfer mode, ATM) interface.
  • Ethernet Ethernet
  • ATM asynchronous transfer mode
  • FIG. 14 is a schematic structural diagram of a terminal device 1400 provided by an embodiment of the present application.
  • the terminal devices shown in the embodiment of FIG. 2 and other embodiments may be implemented by the devices shown in FIG. 14 .
  • the device 1400 includes a main control board and one or more interface boards, and the main control board is communicatively connected to the interface boards.
  • the main control board is also called the main processing unit (MPU) or the route processing card (route processor card).
  • the main control board is responsible for the control and management of each component in the device 1400, including routing calculation, device management and maintenance functions.
  • Interface boards also known as line processing units (LPUs) or line cards, are used to forward data.
  • LPUs line processing units
  • the device 1400 may also include a switch fabric board, the switch fabric board is communicatively connected to the main control board and the interface board, the switch fabric board is used to forward data between the interface boards, and the switch fabric board may also be referred to as a switch fabric Board unit (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 processing unit is connected in communication with the memory, the network processor and the physical interface card, respectively.
  • the memory is used to store the forwarding table.
  • the forwarding chip is used to forward the received data message based on the forwarding table stored in the memory.
  • the data message is sent to the central processing unit (CPU). ), as processed by the central processing unit 1431; if the destination address of the data message is not the address of the device 1400, the next hop and outgoing interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data message Forwarding to the outbound interface corresponding to the destination address.
  • the forwarding chip may be a network processor (NP).
  • NP network processor
  • the PIC also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets and forwarding the data packets to the forwarding chip for processing after checking the validity of the data packets.
  • the central processing unit can also perform the function of a forwarding chip, for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board.
  • a forwarding chip for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board.
  • the communication connection between the main control board, the interface board, and the switching network board can be realized through the bus.
  • the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • the device 1400 includes a control plane and a forwarding plane
  • the control plane includes a main control board and a central processing unit
  • the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP.
  • the control plane performs functions such as routers, generating forwarding tables, processing signaling and protocol packets, and configuring and maintaining device status.
  • the control plane delivers the generated forwarding tables to the forwarding plane.
  • the NP is based on the The forwarding table forwards the packets received by the PIC of the device 1400 by looking up the table.
  • the forwarding table issued by the control plane can be stored in the memory.
  • the control plane and forwarding plane may be completely separate and not on the same device. The above process will be briefly described below with reference to the embodiment shown in FIG. 2 and other embodiments.
  • the CPU 1431 of the device 1400 can obtain the transmission characteristics of the data packets; and obtain the transmission time information of the data packets according to the transmission characteristics, and the transmission time information is the transmission time information sent by the terminal device to the base station.
  • time information of the data packet determining the sending time of the first message according to the sending time information of the data packet; sending the first message in response to reaching the sending time of the first message, and the first message is used to obtain Air interface resource information, where the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
  • the terminal device provided in this 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 and/or functions of the terminal device in the above method embodiments. or the various steps and methods implemented.
  • the above is only a brief exemplary description, and for the sake of brevity, details are not repeated here.
  • main control boards there may be one or more main control boards, and when there are multiple main control boards, they may include the main main control board and the backup main control board.
  • a terminal device can have at least one switching network board, and the switching network board realizes data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of terminal devices in a distributed architecture are greater than those in a centralized architecture.
  • the terminal device can also be in the form of only one board, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on this board.
  • the central processing unit and the main control board on the interface board The central processing unit on the board can be combined into a central processing unit on this board to perform the functions of the two superimposed, the data exchange and processing capacity of this form of equipment is low (for example, low-end switches or routers and other networks. equipment).
  • the specific architecture used depends on the specific networking deployment scenario, and there is no restriction here.
  • 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 further include at least one memory 1501, the Memory 1501 is used to store computer programs or instructions.
  • the memory 1501 may be a memory inside the processor or a memory outside the processor.
  • the functions of the apparatus 1100 may be implemented on the base station 1500 . In the case where the embodiment shown in FIG. 11 is implemented, and each unit described in the embodiment in FIG. 11 is implemented by software, the software or program required to execute the functions of the receiving unit 1101 and the transmitting unit 1102 in FIG. 11 The code is stored in memory 1501.
  • the processor 1502 is used to execute the instructions in the memory 1501, so that the base station 1500 executes any one or more of step S204 or step S205 in the above-mentioned embodiment shown in FIG. 2; the communication interface 1503 is used to communicate with terminal equipment or other equipment to communicate.
  • the memory 1501, the processor 1502 and the communication interface 1503 are connected to each other through a bus 1504; the bus 1504 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus Wait.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
  • the processor 1502 may 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 a message sent by the terminal device to The time information of the data packet sent by the base station; according to the first sending time information, the allocated air interface resource information is sent to the terminal device, and the air interface resource corresponding to the air interface resource information is used for the terminal device to send to the base station. the data.
  • the processor 1502 please refer to the above-mentioned embodiment shown in FIG. 2 and other detailed descriptions, which will not be repeated here.
  • Communication interface 1503 is used to interact with other devices. For the specific process, please refer to the detailed description of the foregoing embodiments, which will not be repeated here.
  • the above-mentioned memory 1501 can be random-access memory (random-access memory, RAM), flash memory (flash), read only memory (read only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM) ), electrically erasable programmable read only memory (electrically erasable programmable read only memory, EEPROM), register (register), hard disk, removable hard disk, CD-ROM or any other form of storage medium known to those skilled in the art.
  • RAM random-access memory
  • flash memory flash memory
  • read only memory read only memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • EEPROM electrically erasable programmable read only memory
  • register register
  • hard disk removable hard disk
  • CD-ROM any other form of storage medium known to those skilled in the art.
  • the processor 1502 can 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 A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • a processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the above-mentioned communication interface 1503 may be, for example, an interface card, etc., and may be an Ethernet (ethernet) interface or an asynchronous transfer mode (Asynchronous transfer mode, ATM) interface.
  • Ethernet Ethernet
  • ATM asynchronous transfer mode
  • FIG. 16 is a schematic structural diagram of a base station 1600 provided by an embodiment of the present application.
  • the base stations shown in the embodiment of FIG. 2 and other embodiments may be implemented by the device shown in FIG. 16 .
  • the device 1600 includes a main control board and one or more interface boards, and the main control board is communicatively connected to the interface boards.
  • the main control board is also called the main processing unit (MPU) or route processor card.
  • the main control board is responsible for the control and management of each component in the device 1600, including routing calculation, device management and maintenance functions .
  • Interface boards also known as line processing units (LPUs) or line cards, are used to forward data.
  • LPUs line processing units
  • the device 1600 may also include a switch fabric board, the switch fabric board is communicatively connected to the main control board and the interface board, the switch fabric board is used to forward data between the interface boards, and the switch fabric board may also be referred to as a switch fabric Board unit (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 processing unit is connected in communication with the memory, the network processor and the physical interface card, respectively.
  • the memory is used to store the forwarding table.
  • the forwarding chip is used to forward the received data message based on the forwarding table stored in the memory.
  • the data message is sent to the central processing unit (CPU). ), as processed by the central processing unit 1631; if the destination address of the data message is not the address of the device 1600, the next hop and the outgoing interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data message Forwarding to the outbound interface corresponding to the destination address.
  • the forwarding chip may be a network processor (NP).
  • NP network processor
  • the PIC also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets, checking the validity of the data packets, and then forwarding them to the forwarding chip for processing.
  • the central processing unit can also perform the function of a forwarding chip, for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board.
  • a forwarding chip for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board.
  • the communication connection between the main control board, the interface board, and the switching network board can be realized through the bus.
  • the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • the device 1600 includes a control plane and a forwarding plane
  • the control plane includes a main control board and a central processing unit
  • the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP.
  • the control plane performs functions such as routers, generating forwarding tables, processing signaling and protocol packets, and configuring and maintaining device status.
  • the control plane delivers the generated forwarding tables to the forwarding plane.
  • the forwarding table looks up and forwards the packets received by the PIC of the device 1600.
  • the forwarding table issued by the control plane can be stored in the memory.
  • the control plane and forwarding plane may be completely separate and not on the same device. The above process will be briefly described below with reference to the embodiment shown in FIG. 2 and other embodiments.
  • the CPU 1631 of the base station 1600 may receive a first message from the terminal device, where the first message includes the first sending time information of the data packet, and the first sending time information of the data packet is:
  • the terminal device sends the time information of the data packet to the base station; according to the first sending time information, the allocated air interface resource information is sent to the terminal device, and the air interface resource corresponding to the air interface resource information is used for the terminal device
  • the data packet is sent to the base station.
  • the base station provided in this embodiment of the present invention may correspond to the base station in the method embodiment described in FIG. 2 or other method embodiments, and may implement the functions and/or various steps performed by the base station in the above method embodiments. and method.
  • the above is only a brief exemplary description, and for the sake of brevity, details are not repeated here.
  • main control boards there may be one or more main control boards, and when there are multiple main control boards, they may include the main main control board and the backup main control board.
  • the base station can have at least one switching network board, and the switching network board realizes data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the base stations in the distributed architecture are greater than those in the centralized architecture.
  • the form of the base station can also be that there is only one board, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on this board.
  • the central processing unit and the main control board on the interface board are The central processing unit on the board can be combined into a central processing unit on this board to perform the superimposed functions of the two.
  • the data exchange and processing capacity of this form of equipment is low (for example, network equipment such as low-end switches or routers) ).
  • the specific architecture used depends on the specific networking deployment scenario, and there is no restriction here.
  • the embodiments of the present application also provide a computer-readable storage medium, including a computer program, which, when running on a computer, enables the computer to execute the above-mentioned sending method applied to the terminal device 1300 or the base station 1400 .
  • An embodiment of the present application further provides a chip system, which may be located in a terminal device, and includes: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is stored When executed by the processor, the chip system is made to implement the method in any of the above method embodiments.
  • the number of processors in the chip system may be one or more.
  • the processor can be implemented by hardware or by software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application.
  • the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips.
  • the setting method of the processor is not particularly limited.
  • the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller).
  • controller unit, MCU it can also be a programmable logic device (PLD) or other integrated chips.
  • each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • At least one item (piece) refers to one or more, and “multiple” refers to two or more.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • at least one item (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
  • “A and/or B” is considered to include A alone, B alone, and A+B.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical module division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be acquired according to actual needs to achieve the purpose of the solution in this embodiment.
  • each module unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of software module units.
  • the integrated unit if implemented in the form of a software module unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
  • the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof.
  • 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 medium can be any available medium that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in embodiments of the present application are a sending method and apparatus, aimed at allocating air interface resources to a terminal device according to actual requirements of the terminal device, so as to reduce transmission delay for an uplink data packet and avoid waste of air interface resources. The sending method provided in the embodiments of the present application comprises: the terminal device acquires transmission features of a data packet; the terminal device obtains first sending time information of the data packet according to the transmission features, the first sending time information being time information when the terminal device sends the data packet to a base station; and the terminal device sends a first message to the base station, the first message comprising the first sending time information, the first message being used for instructing the base station to send allocated air interface resource information to the terminal device according to the first sending time information, and air interface resources corresponding to the air interface resource information being used by the terminal device to send the data packet to the base station.

Description

一种发送方法及装置A transmission method and device
本申请要求于2020年12月10日提交中国专利局、申请号为202011434644.3、发明名称为“一种发送方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 10, 2020 with the application number 202011434644.3 and titled "A Sending Method and Device", the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及网络通信技术领域,尤其涉及一种发送方法及装置。The present application relates to the field of network communication technologies, and in particular, to a sending method and device.
背景技术Background technique
在需要向基站发送上行数据时,终端设备可以向基站申请空口资源并利用空口资源进行上行数据的传输。具体地,在检测到存在待发送的上行数据后,终端设备可以通过发送缓冲区状态报告(Buffer State Report,BSR)消息向基站请求空口资源。在接收到BSR消息后,基站可以为终端设备分配空口资源,并通过上行授权(Uplink Grant,UL grant)消息通知终端设备。这样,终端设备可以利用基站分配的空口资源进行上行数据的传输。When the uplink data needs to be sent to the base station, the terminal device can apply to the base station for air interface resources and use the air interface resources to transmit uplink data. Specifically, after detecting that there is uplink data to be sent, the terminal device may request air interface resources from the base station by sending a buffer state report (Buffer State Report, BSR) message. After receiving the BSR message, the base station can allocate air interface resources to the terminal equipment, and notify the terminal equipment through an uplink grant (Uplink Grant, UL grant) message. In this way, the terminal device can use the air interface resources allocated by the base station to transmit uplink data.
由于终端设备在检测到存在待发送的上行数据后才会向基站请求空口资源,导致上行数据的产生和发送之间存在一定的时延。因此,传统的空口资源请求方法不适用于游戏、视频、虚拟现实(Virtual Reality,VR)或增强现实(Augmented Reality,AR)等对时延要求较高的业务。Since the terminal device requests air interface resources from the base station only after detecting that there is uplink data to be sent, there is a certain delay between the generation and transmission of the uplink data. Therefore, the traditional air interface resource request method is not suitable for games, videos, virtual reality (VR) or augmented reality (AR) and other services that require high latency.
为此,目前的基站可以为终端设备预留空口资源,即在不确定终端设备是否存在待发送的上行数据的情况下为终端设备分配空口资源。这样,在生成待发送的上行数据时,可以利用分配的空口资源进行传输。如此,可以降低上行数据传输的时延。但是,这种技术方案在终端设备不向基站发送上行数据时,会浪费基站的空口资源。To this end, the current base station can reserve air interface resources for the terminal device, that is, allocate air interface resources to the terminal device under the condition that it is uncertain whether the terminal device has uplink data to be sent. In this way, when the uplink data to be sent is generated, the allocated air interface resources can be used for transmission. In this way, the delay of uplink data transmission can be reduced. However, in this technical solution, when the terminal device does not send uplink data to the base station, the air interface resources of the base station will be wasted.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种发送方法及装置,旨在根据终端设备的实际需求为终端设备分配空口资源,在上行数据包的发送时延的基础上,避免了空口资源的浪费。The embodiments of the present application provide a sending method and apparatus, aiming at allocating air interface resources to terminal equipment according to the actual needs of the terminal equipment, and avoiding the waste of air interface resources on the basis of the sending delay of uplink data packets.
第一方面,本申请实施例提供了一种发送方法,该方法应用于终端设备,例如手机、平板电脑等移动终端设备。该方法包括如下步骤:首先,终端设备获取数据包的传输特征,该数据包的传输特征可以包括终端设备发送数据包的历史时间等特征。接着,终端设备可以根据数据包的传输特征预测终端设备向基站发送数据包的时间信息,得到第一发送时间信息。在确定第一发送时间信息后,终端设备可以向基站发送第一消息,该第一消息携带有第一发送时间信息,用于指示基站根据第一发送时间信息向终端设备发送分配的空口资源信息,以便在数据包产生时终端设备可以利用空口资源信息对应的空口资源向基站发送数据包。这样,终端设备可以在发送数据包前确定终端设备向基站发送数据包的时间信息并通知给基站,使得基站在对应的时间为终端设备分配空口资源并发送空口资源信息。如此,基站在终端设备需要发送数据包时才分配空口资源,在终端设备不需要发送数据包时不分配空口资源。同时,由于基站预先为终端设备分配了用于发送数据包的空口资源。当 有需要发送的数据包时,终端设备可以利用预先分配的空口资源发送数据包,相较于传统技术,在降低上行数据包的发送时延的基础上,避免了空口资源的浪费。另外,由于基站在终端设备不发送数据包时不分配空口资源,所以该终端设备也不需要向基站发送不包含上行数据的数据包,因而节约了终端设备的电量开销。In a first aspect, an embodiment of the present application provides a sending method, and the method is applied to a terminal device, such as a mobile terminal device such as a mobile phone and a tablet computer. The method includes the following steps: firstly, the terminal device acquires the transmission characteristics of the data packets, and the transmission characteristics of the data packets may include characteristics such as the historical time of the terminal equipment sending the data packets. Next, the terminal device can predict the time information at which the terminal device sends the data packet to the base station according to the transmission characteristic of the data packet, and 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 the data packet is generated, the terminal device can use the air interface resource corresponding to the air interface resource information to send the data packet to the base station. In this way, the terminal device can determine the time information when the terminal device sends 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 to the terminal device and sends the air interface resource information at the corresponding time. In this way, the base station allocates air interface resources only when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets. At the same time, because the base station pre-allocates the terminal equipment with air interface resources for sending data packets. When there are data packets that need to be sent, the terminal device can use the pre-allocated air interface resources to send the data packets. Compared with the traditional technology, on the basis of reducing the transmission delay of uplink data packets, the waste of air interface resources is avoided. In addition, since the base station does not allocate air interface resources when the terminal device does not send data packets, the terminal device does not need to send data packets that do not contain uplink data to the base station, thus saving the power consumption of the terminal device.
可选地,在向基站发送第一消息后,终端设备还可以向基站发送第二消息,该第二消息用于通知基站终端设备将要发送数据包。第一发送时间信息可以包括终端设备在向基站发送第二消息之后,距离终端设备向基站发送数据包的间隔时间,即终端设备发送第二消息和发送数据包之间的时间。相应地,根据第一发送时间信息中包括的间隔时间,基站可以确定终端设备会在基站接收到第二消息后多长时间发送数据包,从而在对应的时间为终端设备分配空口资源并发送空口资源信息,以便终端设备根据空口资源信息发送数据包。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 will send a data packet. The first sending time information may include the interval between the terminal device sending the data packet to the base station after the terminal device sends the second message to the base station, that is, the time between the terminal device sending the second message and sending the data packet. Correspondingly, according to the interval time included in the first sending time information, the base station can 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 to the terminal device and send the air interface at the corresponding time. resource information, so that the terminal device can send data packets according to the air interface resource information.
可选地,终端设备还可以估算待发送的数据包的大小,并通过第二消息通知基站。终端设备可以根据数据包的传输特征预测数据包的大小,例如根据历史传输的数据包的大小预测将要传输的数据包的大小。终端设备可以将预测出的数据包的大小携带在的第二消息中发送给基站,以便基站根据该数据包的确定为终端设备分配的空口资源。Optionally, the terminal device may also estimate the size of the data packet to be sent, and notify the base station through a second message. The terminal device can predict the size of the data packet according to the transmission characteristics of the data packet, for example, predict the size of the data packet to be transmitted according to the size of the historically transmitted data packet. The terminal device may send the predicted size of the data packet to the base station in the second message, so that the base station allocates air interface resources to the terminal device according to the determination of the data packet.
可选地,当第二消息中包括数据包的大小时,该第二消息可以是缓冲状态报告BSR消息。Optionally, when the second message includes the size of the data packet, the second message may be a buffer status report BSR message.
可选地,第一消息可以是无线资源控制(Radio Resource Control,RRC)消息或媒体访问控制(medium access control,MAC)消息。Optionally, the first message may be a radio resource control (Radio Resource Control, RRC) message or a medium access control (medium access control, MAC) message.
可选地,当第一消息为RCC消息时,第一消息的数据内容部分可以包括前述第一发送时间信息。Optionally, when the first message is an RCC message, the data content part of the first message may include the foregoing first sending time information.
可选地,当第一消息为MAC消息时,第一消息可以包括索引(index)字段和逻辑信道标识(logical channel identify,LCID)字段。其中,索引字段可以用于指示LCID字段包括第一发送时间信息,LCID字段可以包括第一发送时间信息。例如,第一发送时间信息可以携带在第一消息的LCID字段的保留(reserved)字段中,第一消息的索引字段可以包括该保留字段的标识。这样,基站可以根据第一消息的索引字段确定LCID字段包括第一发送时间信息,从而根据LCID字段确定第一发送时间信息。Optionally, when the first message is a MAC message, the first message may include an index (index) field and a logical channel identification (logical channel identification, LCID) field. The index field may be used to indicate that the LCID field includes the first sending time information, and the LCID field may include the first sending time information. For example, the first sending time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier of 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, so as to determine the first transmission time information according to the LCID field.
可选地,终端设备也可以将第一发送时间信息和数据包的大小都携带在第一消息中。那么,第一发送时间信息包括第一间隔时间,该第一间隔时间为终端设备在向基站发送第一消息之后距离向基站发送数据包的间隔时间,即终端设备发送第一消息和数据包之间的时间间隔。终端设备可以根据数据包的传输特征预测数据包的大小,并将数据包的大小和第一发送时间信息携带在第一消息中发送给基站。这样,在接收到第一消息后,基站可以根据第一间隔时间确定终端设备在多长时间后会向基站发送数据包,根据数据包的大小确定要为终端设备分配的空口资源。如此,在终端设备向基站发送数据包前,终端设备可以接收到基站发送的空口资源信息,从而利用空口资源信息对应的空口资源向基站发送数据包。Optionally, the terminal device may also carry both the first sending time information and the size of the data packet in the first message. Then, the first sending time information includes the first interval, which is the interval between the terminal device sending the first message to the base station and the data packet to the base station, that is, the time between the terminal device sending the first message and the data packet. time interval between. The terminal device can predict the size of the data packet according to the transmission characteristics of the data packet, and send the size of the data packet and the first sending time information in the first message to the base station. In this way, after receiving the first message, the base station can determine, according to the first interval, how long before the terminal device will send the data packet to the base station, and determine the air interface resources to be allocated to the terminal device according to the size of the data packet. In this way, before the terminal device sends the data packet to the base station, the terminal device can receive the air interface resource information sent by the base station, and thus use the air interface resource corresponding to the air interface resource information to send the data packet to the base station.
可选地,当第一消息中包括第一发送时间信息和数据包的大小时,第一消息可以是BSR消息,例如可以是MAC消息。Optionally, when the first message includes the first sending time information and the size of the data packet, the first message may be a BSR message, such as a MAC message.
可选地,当第一消息为BSR消息时,第一消息可以包括索引字段和LCID字段。其中,LCID字段用于携带第一发送时间信息和数据包的大小,索引字段用于指示该LCID字段包括第一发送时间信息和数据包的大小。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.
可选地,若第一消息为BSR消息,终端设备需要先向基站发送调度(Scheduling request,SR)消息,并接收基站发送的上行授权消息。那么,终端设备可以预测第二发送时间信息,该第二发送时间信息为终端设备向基站发送SR消息距离向基站发送数据包的间隔时间,等于第一时间间隔与第二时间间隔之和,该第二时间间隔为终端设备向基站发送SR消息到发送BSR消息之间的间隔时间。终端设备还可以预测第二时间间隔,根据第二时间间隔和第二发送时间信息,终端设备可以确定第一时间间隔,得到第一发送时间信息。在发送第一消息时,终端设备可以根据第二发送时间信息向基站发送第一消息。如此,考虑到终端设备发送SR消息和发送BSR消息之间的时间差的影响,提高了预测的准确率,进一步节省了空口资源。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 can predict the second sending time information, the second sending time information is the interval time between the terminal device sending the SR message to the base station and the data packet to the base station, which is equal to the sum of the first time interval and the second time interval. The second time interval is the interval time between when the terminal device sends the SR message to the base station and when it sends the BSR message. The terminal device may also predict the second time interval, and according to the second time interval and the second transmission time information, the terminal device may determine the first time interval to obtain the first transmission time information. When sending the first message, the terminal device may send the first message to the base station according to the second sending time information. In this way, considering the influence of the time difference between the terminal device sending the SR message and the BSR message, the prediction accuracy is improved, and the air interface resources are further saved.
第二方面,本申请实施例提供了一种发送方法,该方法应用于基站,包括如下步骤:首先,基站接收来自终端设备的第一消息,该第一消息包括数据包的第一发送时间信息,即终端设备向基站发送数据包的时间信息,该第一发送时间信息可以是终端设备根据数据包的传输特征预测得到的该数据包的大小可以是终端设备根据数据包的传输特征预测得到的。根据第一发送时间信息,基站可以确定终端设备将会在何时向基站发送数据包,从而在对应的时间为终端设备分配空口资源并向终端设备发送空口资源信息,该空口资源信息对应的空口资源用于终端设备向基站发送数据包。在发送数据包前,终端设备可以接收到基站发送的空口资源信息,从而利用空口资源信息对应的空口资源向基站发送数据包。这样,基站根据终端设备发送数据包的时间为终端设备分配空口资源,即在终端设备需要发送数据包时才分配空口资源,在终端设备不需要发送数据包时不分配空口资源,节省了空口资源。In a second aspect, an embodiment of the present application provides a sending method, which is applied to a base station and includes the following steps: first, the base station receives a first message from a terminal device, where the first message includes first sending time information of a data packet , that is, the time information when the terminal device sends the data packet to the base station. The first sending time information may be the size of the data packet predicted by the terminal device according to the transmission characteristics of the data packet. The size of the data packet 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 can determine when the terminal device will send the data packet to the base station, so as to allocate air interface resources to the terminal device at the corresponding time and send the air interface resource information to the terminal device. The air interface corresponding to the air interface resource information The resources are used by the terminal equipment to send data packets to the base station. Before sending the data packet, the terminal device may receive the air interface resource information sent by the base station, and thus 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 air interface resources to the terminal device according to the time when the terminal device sends data packets, that is, it allocates air interface resources when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets, saving air interface resources. .
可选地,基站还可以接收来自终端设备的第二消息,该第二消息表示终端设备将要向基站发送数据包。那么,第一发送时间信息可以包括终端设备在向基站发送第二消息之后距离终端设备向基站发送包的间隔时间,即终端设备发送第二消息与发送数据包之间的时间间隔。相应地,在接收到第二消息后,基站可以根据第一发送时间信息确定终端设备将要在多长时间以后发送数据包,从而在对应的时间为终端设备分配空口资源并发送空口资源信息,以便终端设备根据空口资源信息发送数据包。Optionally, the base station may also receive a second message from the terminal device, where the second message indicates that the terminal device will send a data packet to the base station. Then, the first sending time information may include the interval time from the terminal device sending the packet to the base station after the terminal device sends the second message to the base station, that is, the time interval between the terminal device sending the second message and sending the data packet. Correspondingly, after receiving the second message, the base station can determine how long the terminal device will send the data packet according to the first transmission time information, so as to allocate air interface resources for the terminal device and send the air interface resource information at the corresponding time, so that The terminal device sends data packets according to the air interface resource information.
可选地,第二消息可以包括数据包的大小,该数据包的大小可以是终端设备根据数据包的传输特征预测得到的。那么,在向终端设备发送分配的空口资源信息之前,基站还可以根据数据包的大小确定终端设备发送数据包所需的空口资源,从而确定对应的空口资源信息。Optionally, the second message may include the size of the data packet, and the size of the data packet may be predicted by the terminal device according to transmission characteristics of the data packet. Then, before sending the allocated air interface resource information to the terminal device, the base station can also determine the air interface resource required by the terminal device to send the data packet according to the size of the data packet, so as to determine the corresponding air interface resource information.
可选地,当第二消息中包括数据包的大小时,该第二消息可以是缓冲状态报告BSR消息。Optionally, when the second message includes the size of the data packet, the second message may be a buffer status report BSR message.
可选地,第一消息可以是RRC消息或MAC消息。Optionally, the first message may be an RRC message or a MAC message.
可选地,当第一消息为RCC消息时,第一消息的数据内容部分可以包括前述第一发送 时间信息。Optionally, when the first message is an RCC message, the data content part of the first message may include the aforementioned first sending time information.
可选地,当第一消息为MAC消息时,第一消息可以包括索引字段和LCID字段。其中,索引字段可以用于指示LCID字段包括第一发送时间信息,LCID字段可以包括第一发送时间信息。例如,第一发送时间信息可以携带在第一消息的LCID字段的保留字段中,第一消息的索引字段可以包括该保留字段的标识。这样,基站可以根据第一消息的索引字段确定LCID字段包括第一发送时间信息,从而根据LCID字段确定第一发送时间信息。Optionally, when the first message is a MAC message, the first message may include an index field and an LCID field. The index field may be used to indicate that the LCID field includes the first sending time information, and the LCID field may include the first sending time information. For example, the first sending time information may be carried in a reserved field of the LCID field of the first message, and the index field of the first message may include an identifier of 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, so as to determine the first transmission time information according to the LCID field.
可选地,第一发送时间信息可以包括第一间隔时间,该第一间隔时间为终端设备在向基站发送第一消息之后距离向基站发送数据包的间隔时间,即终端设备发送第一消息和发送数据包之间的时间间隔。那么,根据第一发送时间信息和终端设备发送第一消息的时间,基站可以确定终端设备在多长之间后会向基站发送数据包,从而在接收到来自终端设备的第一消息的第一间隔时间之后向终端设备分配空口资源信息。Optionally, the first sending time information may include a first interval, where the first interval is the interval between the terminal device sending the data packet to the base station after sending the first message to the base station, that is, the terminal device sending the first message and The time interval between sending packets. Then, according to the first sending time information and the time when the terminal device sends the first message, the base station can determine how long it will take the terminal device to send the data packet to the base station, so that after receiving the first message from the terminal device After the interval time, the air interface resource information is allocated to the terminal device.
可选地,第一消息还可以包括数据包的大小。这样,在接收到第一消息后,基站不但可以确定终端设备发送数据包的时间,还可以确定终端设备发送数据包需要多少空口资源,从而确定对应的空口资源信息。Optionally, the first message may further include the size of the data packet. In this way, after receiving the first message, the base station can not only determine the time when the terminal device sends the data packet, but also determine how many air interface resources the terminal device needs to send the data packet, so as to determine the corresponding air interface resource information.
可选地,当第一消息中包括第一发送时间信息和数据包的大小时,第一消息可以是BSR消息,例如可以是MAC消息。Optionally, when the first message includes the first sending time information and the size of the data packet, the first message may be a BSR message, such as a MAC message.
可选地,当第一消息为BSR消息时,第一消息可以包括索引字段和LCID字段。其中,LCID字段用于携带第一发送时间信息和数据包的大小,索引字段用于指示该LCID字段包括第一发送时间信息和数据包的大小。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, and the method is applied to a terminal device, such as a mobile terminal device such as a mobile phone and a tablet computer. The method includes the following steps: firstly, the terminal device acquires the transmission characteristics of the data packets, and the transmission characteristics of the data packets may include characteristics such as the historical time of the terminal equipment sending the data packets. Then, the terminal device can obtain the transmission time information of the data packet according to the transmission characteristics of the data packet, and the transmission time information is the time information of the terminal device sending the data packet to the base station, for example, the time when the terminal device sends the data packet to the base station. According to the time information of sending the data packet, the terminal device can determine the sending time of the first message. The first message is used to obtain 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 reaching 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 to the terminal device. In this way, before sending the data packet, the terminal device can predict the time when the data packet is sent, and determine the sending time of the first message according to the time when the data packet is sent. Before reaching the sending time of the first message, the terminal device does not request the base station to allocate air interface resources. Only after the first message arrives, the terminal device requests the base station to allocate air interface resources. In this way, the terminal device requests the base station to allocate air interface resources before sending data packets. The base station allocates air interface resources when the terminal device needs to send data packets, and does not allocate air interface resources when the terminal device does not need to send data packets. , saving air interface resources. In addition, since the base station can determine the air interface resource information after receiving the first message, there is no need to wait, and the method reduces the modification to the base station.
可选地,终端设备还可以根据数据包的传输特征预测所述数据包的大小,并将数据包的大小携带在第一消息中发送给基站,以便基站根据待传输的数据包的大小确定空口资源信息。Optionally, the terminal device can also predict the size of the data packet according to the transmission characteristics of the data packet, and carry the size of the data packet in the first message and send it to the base station, so that the base station can determine the air interface according to the size of the data packet to be transmitted. resource information.
可选地,当第一消息包括数据包的大小时,该第一消息为缓冲状态报告BSR消息。Optionally, when the first message includes the size of the data packet, the first message is a buffer status report BSR message.
第四方面,本申请实施例提供了一种发送装置,该装置可以应用于终端设备,包括:处理单元,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的第一发送时间信息,所述第一发送时间信息为所述终端设备向基站发送数据包的时间信息;发送单元,用于向所述基站发送第一消息,所述第一消息包括所述第一发送时间信息,所述第一消息用于指示所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。In a fourth aspect, an embodiment of the present application provides a sending apparatus, which can be applied to a terminal device, and includes: a processing unit configured to acquire a transmission characteristic of a data packet; and obtaining a first transmission characteristic of the data packet according to the transmission characteristic sending time information, where the first sending time information is the time information when the terminal device sends a data packet to the base station; 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 the 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 by the terminal device to send The base station sends the data packet.
可选地,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;所述发送单元,还用于向所述基站发送所述第二消息。Optionally, the first sending time information includes the interval time 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 data packet to the base station. The base station sends the second message.
可选地,所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的大小,所述第二消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。Optionally, the processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the second message includes the size of the data packet, and the size of the data packet is used for the data packet. The base station determines the air interface resource information.
可选地,当第二消息包括数据包的大小时,所述第二消息为缓冲状态报告BSR消息。Optionally, when the second message includes the size of the data packet, the second message is a buffer status report BSR message.
可选地,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。Optionally, the first message is a radio resource control RRC message or a medium access control MAC message.
可选地,所述RRC消息的数据内容包括所述第一发送时间信息。Optionally, the data content of the RRC message includes the first sending time information.
可选地,所述MAC消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。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, and the first interval time is the distance from which the terminal device sends the data packet to the base station after sending the first message to the base station. The processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the first message further includes the size of the data packet, and the size of the data packet is used for The base station determines the air interface resource information.
可选地,所述第一消息为缓冲状态报告BSR消息。Optionally, the first message is a buffer status report BSR message.
可选地,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。Optionally, the BSR message includes an index field and an LCID field, and the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
可选地,所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的第二发送时间信息,所述第二发送时间信息为所述第一间隔时间与第二间隔时间之和,所述第二间隔时间为所述终端设备向所述基站发送调度请求SR消息到发送所述BSR消息之间的间隔时间;根据所述第二发送时间信息和所述第二间隔时间得到所述第一发送时间信息;所述发送单元,用于根据所述第二发送时间信息向所述基站发送第一消息。Optionally, the processing unit is further configured to predict the second transmission time information of the data packet according to the transmission characteristics of the data packet, where the second transmission time information is the first interval time and the second interval. sum of time, the second interval is the interval between the terminal device sending the scheduling request SR message to the base station and sending the BSR message; according to the second sending time information and the second interval time to obtain the first sending time information; the sending unit is configured to send 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 sending apparatus, which can 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 a first sending of a data packet time information, the first sending time information of the data packet is the time information when the terminal device sends the data packet to the base station; the processing unit is configured to send the allocated data to the terminal device according to the first sending time information Air interface resource information, where the air interface resource corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station.
可选地,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;接收单元,还用于接收来自所述终端设备的第 二消息;所述处理单元,还用于在所述间隔时间之后向所述终端设备发送分配的空口资源信息。Optionally, the first sending time information includes the interval time 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 further configured to receive data from the base station. The second message of the terminal device; 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; the processing unit is configured to determine the air interface resource information according to the size of the data packet.
可选地,所述第二消息为缓冲状态报告BSR消息。Optionally, the second message is a buffer status report BSR message.
可选地,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。Optionally, the first message is a radio resource control RRC message or a medium access control MAC message.
可选地,所述RRC消息的数据内容包括所述第一发送时间信息。Optionally, the data content of the RRC message includes the first sending time information.
可选地,所述MAC消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。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, and the first interval time is the distance from which the terminal device sends the data packet to the base station after sending the first message to the base station. interval time,
所述处理单元,用于在接收到来自所述终端设备的第一消息的所述间隔时间之后向所述终端设备发送分配的空口资源信息。The processing unit is configured to send the allocated air interface resource information to the terminal device after the interval time of receiving the first message from the terminal device.
可选地,所述第一消息还包括所述终端设备预测的所述数据包的大小;Optionally, the first message further includes the size of the data packet predicted by the terminal device;
所述处理单元,用于根据所述数据包的大小确定所述空口资源信息。The processing unit is configured to determine the air interface resource information according to the size of the data packet.
可选地,所述第一消息为缓冲状态报告BSR消息。Optionally, the first message is a buffer status report BSR message.
可选地,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。Optionally, the BSR message includes an index field and an LCID field, and the value of the index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet.
第六方面,本申请实施例提供了一种发送装置,所述装置位于终端设备,包括:处理单元,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的发送时间信息,所述发送时间信息为所述终端设备向基站发送数据包的时间信息;根据所述数据包的发送时间信息确定第一消息的发送时间;发送单元,用于响应于到达所述第一消息的发送时间,发送所述第一消息,所述第一消息用于获取空口资源信息,所述空口资源信息对应的空口资源是所述基站为所述终端设备分配的空口资源。In a sixth aspect, an embodiment of the present application provides a sending apparatus, the apparatus is located in a terminal device, and includes: a processing unit configured to acquire transmission characteristics of a data packet; and obtaining transmission time information of the data packet according to the transmission characteristics , the sending time information is the time information when the terminal device sends the data packet to the base station; the sending time of the first message is determined according to the sending time information of the data packet; the sending unit is used to respond to the arrival of the first message The first message is used to obtain air interface resource information, and the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
可选地,所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的大小,所述第一消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。Optionally, the processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the first message includes the size of the data packet, and the size of the data packet is used for the data packet. The base station determines the air interface resource information.
可选地,所述第一消息为缓冲状态报告BSR消息。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, including a terminal device, where the terminal device can be configured to execute the sending method described in the first aspect or the third aspect.
第八方面,本申请实施例提供了一种通信系统,包括基站,所述基站可以用于执行前述第二方面所述的发送方法。In an eighth aspect, an embodiment of the present application provides a communication system, including a base station, where the base station can be configured to execute the sending 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, wherein the at least one processor is coupled with at least one memory: the at least one processor is configured to execute the storage in the at least one memory The computer program or instruction of the terminal device enables the terminal device to execute the sending method described in the first aspect or the third aspect.
第十方面,本申请实施例提供了一种基站设备,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:所述至少一个处理器,用于执行所述至少一个存储器中存 储的计算机程序或指令,使得所述基站执行前述第二方面所述的发送方法。In a tenth aspect, an embodiment of the present application provides a base station device, including at least one processor, the at least one processor is coupled with at least one memory: the at least one processor is configured to execute the storage in the at least one memory The computer program or instruction of the base station causes the base station to execute the sending method described in the second aspect.
第十一方面,本申请实施例提供了一种计算机可读存储介质,包括计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面所述的消息发送方法。In an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, including a computer program, which, when run on a computer, causes the computer to execute the message sending method described in the first aspect.
第十二方面,本申请实施例提供了一种计算机可读存储介质,包括计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面所述的消息发送方法或第二方面所述的消息处理方法。In a twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, including a computer program, which, when run on a computer, causes the computer to execute the message sending method described in the first aspect or the message sending method described in the second aspect. message processing method.
第十三方面,本申请实施例提供了一种芯片,所述芯片位于终端设备,包括处理器和接口电路;所述接口电路,用于接收指令并传输至所述处理器;所述处理器,用于执行前述第一方面或第三方面所述的发送方法。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 configured to receive instructions and transmit them to the processor; the processor , which is used to execute the sending method described in the first aspect or the third aspect.
附图说明Description of drawings
图1为本申请实施例提供的系统10的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture of a system 10 according to an embodiment of the present application;
图2为本申请实施例提供的一种发送方法的一种交互示意图;FIG. 2 is an interactive schematic diagram of a sending method provided by an embodiment of the present application;
图3为本申请实施例提供的一种发送方法的另一种交互示意图;3 is another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图4为本申请实施例提供的系统400的网络架构示意图;FIG. 4 is a schematic diagram of a network architecture of a system 400 according to an embodiment of the present application;
图5为本申请实施例提供的一种发送方法的再一种交互示意图;FIG. 5 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图6为本申请实施例提供的一种发送方法的再一种交互示意图;FIG. 6 is yet another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图7为本申请实施例提供的一种发送方法的再一种交互示意图;FIG. 7 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图8为本申请实施例提供的一种发送方法的再一种交互示意图;FIG. 8 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图9为本申请实施例提供的一种发送方法的再一种交互示意图;FIG. 9 is still another schematic diagram of interaction of a sending method provided by an embodiment of the present application;
图10为本申请实施例提供的发送装置1000的结构示意图;FIG. 10 is a schematic structural diagram of a sending apparatus 1000 provided by an embodiment of the present application;
图11为本申请实施例提供的发送装置1100的结构示意图;FIG. 11 is a schematic structural diagram of a sending apparatus 1100 provided by an embodiment of the present application;
图12为本申请实施例提供的发送装置1200的结构示意图;FIG. 12 is a schematic structural diagram of a sending apparatus 1200 provided by an embodiment of the present application;
图13为本申请实施例提供的一种终端设备1300的结构示意图;FIG. 13 is a schematic structural diagram of a terminal device 1300 according to an embodiment of the present application;
图14为本申请实施例提供的一种终端设备1400的结构示意图;FIG. 14 is a schematic structural diagram of a terminal device 1400 according to an embodiment of the present application;
图15为本申请实施例提供的一种基站1500的结构示意图;FIG. 15 is a schematic structural diagram of a base station 1500 according to an embodiment of the present application;
图16为本申请实施例提供的一种基站1600的结构示意图。FIG. 16 is a schematic structural diagram of a base station 1600 according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图对传统技术和本申请实施例提供发送方法及装置进行介绍。The conventional technology and the sending method and apparatus provided by the embodiments of the present application will be introduced below with reference to the accompanying drawings.
在无线通信网络中,终端设备通过基站将上行数据发送给服务器。具体地,终端设备可以将上行数据以数据包的形式发送给基站。基站可以接收数据包并将数据包转发给对应的服务器。在接收到基站发送的数据包后,服务器可以向基站发送确认信息,以便基站将确认信息转发给终端设备。在游戏、VR、和AR等增强移动宽带(enhanced Mobile Broadband,eMBB)业务中,终端设备与服务器的交互较为频繁,对环回时延(round-trip time,RTT)的要求较高。其中,RTT指的是从终端设备发送上行数据开始,到终端设备接收到来自服务器的确认信息所需的总时间。显然,对于eMMB业务,RTT越小,用户的体验也就越好。In a wireless communication network, a terminal device sends uplink data to a server through a base station. Specifically, the terminal device may send the uplink data to the base station in the form of data packets. The base station can receive the data packet and forward the data packet to the corresponding server. After receiving the data packet sent by the base station, the server can send confirmation information to the base station, so that the base station can forward the confirmation information to the terminal device. In enhanced Mobile Broadband (eMBB) services such as games, VR, and AR, the interaction between terminal devices and servers is relatively frequent, and the requirements for round-trip time (RTT) are relatively high. The RTT refers to the total time required from the time when the terminal device sends the uplink data to the time when the terminal device receives the acknowledgment information from the server. Obviously, for eMMB services, the smaller the RTT, the better the user experience.
为此,在传统的空口资源分配方法中,基站可以为终端设备预留空口资源,即在不确定终端设备是否存在待发送的上行数据时为终端设备分配空口资源。如果终端设备生成了上行数据,就可以利用分配的空口资源向基站发送该上行数据。由于上行数据在生成之后,终端设备不需要再向基站发送BSR消息请求基站分配空口资源,也无需等待基站回复UL grant消息,终端设备可以更早的发送上行数据,基站也可以更早接收到终端设备发送的上行数据,降低了传输上行数据的时延。由于上行数据的时延降低,服务器可以更快地接收到终端设备的上行数据并进行响应,终端设备也就能够更快地接收到服务器的响应数据。如此,通过预先为终端设备分配空口资源,可以降低数据传输的时延,从而降低RTT,提升用户体验。To this end, in the traditional air interface resource allocation method, the base station can reserve air interface resources for the terminal equipment, that is, allocate air interface resources to the terminal equipment when it is uncertain whether the terminal equipment has uplink data to be sent. If the terminal device generates uplink data, it can send the uplink data to the base station by using the allocated air interface resources. 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, nor does it need to wait for the base station to reply with a UL grant message. The terminal device can send the uplink data earlier, and the base station can also receive the terminal earlier. The uplink data sent by the device reduces the delay in transmitting the uplink data. Since the delay of the uplink data is reduced, the server can receive and respond to the uplink data of the terminal device more quickly, and the terminal device can also receive the response data from the server more quickly. In this way, by pre-allocating air interface resources to terminal devices, the delay of data transmission can be reduced, thereby reducing RTT and improving user experience.
但是,当终端设备不需要发送上行数据时,基站仍然为终端设备分配空口资源。这部分空口资源没有得到充分的利用,造成了空口资源的浪费。另外,在一些场景中,如果基站为终端设备分配了空口资源,即使终端设备没有需要发送的上行数据,该终端设备也会通过空口资源向基站发送不包含上行数据的数据包,增加了终端设备的电量开销。However, when the terminal equipment does not need to send uplink data, the base station still allocates air interface resources for the terminal equipment. 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 air interface resources to the terminal device, even if the terminal device has no uplink data to send, the terminal device will send data packets that do not contain uplink data to the base station through the air interface resources, increasing the number of terminal devices. power consumption.
为了解决上述提及的空口资源浪费等问题,本申请实施例提供了一种发送方法及装置,能够根据终端设备的实际需求为终端设备分配空口资源,从而避免空口资源的浪费。In order to solve the above-mentioned problems such as waste of air interface resources, embodiments of the present application provide a sending method and apparatus, which can allocate air interface resources to terminal devices according to their actual needs, thereby avoiding waste of air interface resources.
图1为本申请实施例提供的系统10的架构示意图。如图1所示,该系统10包括终端设备11和基站12。其中,终端设备11与基站12连接,能够相互传输数据。FIG. 1 is a schematic structural diagram of a system 10 according to an embodiment of the present application. As shown in FIG. 1 , the system 10 includes a terminal device 11 and a base station 12 . The terminal device 11 is connected to the base station 12 and can transmit data to each other.
在本申请实施例中,终端设备11,又可以称为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、终端等,是一种向用户提供语音和/或数据连通性的设备,或,设置于该设备内的芯片,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端设备的举例为:手机、台式电脑、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、支持第五代移动通信技术(5th-Generation,5G)接入的家庭网关设备(5G-residential gateway,5G-RG)等。In the embodiments of the present application, the terminal device 11, which may also be called user equipment (UE), mobile station (MS), mobile terminal (MT), terminal, etc. A device that provides voice and/or data connectivity, or a chip provided in the device, such as a handheld device with wireless connectivity, a vehicle-mounted device, and the like. At present, some examples of terminal devices are: mobile phone, desktop computer, tablet computer, notebook computer, PDA, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, supporting the fifth-generation mobile communication technology (5th-Generation, 5G) ) connected home gateway equipment (5G-residential gateway, 5G-RG), etc.
基站12可以是演进型基站(enhanced Nobe B,eNobeB)或下一代基站(next generation NobeB,NG NobeB)等基站。相应地,本申请实施例提供的发送方法可以应用于第四代移动通信技术(the 4th generation mobile communication technology,4G)网络或5G网络。The base station 12 may be a base station such as an evolved base station (enhanced Nobe B, eNobeB) or a next generation base station (next generation NobeB, NG NobeB). Correspondingly, the sending method provided by the embodiments of the present application may be applied to a fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G) network or a 5G network.
图2为本申请实施例提供的一种发送方法的交互示意图,本申请实施例提供的发送方法包括如下步骤:FIG. 2 is an interactive schematic diagram of a sending method provided by an embodiment of the present application. The sending method provided by the embodiment of the present application includes the following steps:
S201:终端设备获取数据包的传输特征。S201: The terminal device acquires the transmission characteristic of the data packet.
在发送数据包前,终端设备可以先获取数据包的传输特征。其中,数据包可以为终端 设备向基站发送的上行数据包,例如可以是终端设备上传的视频数据包,或终端设备根据用户的点击或滑动等操作产生的数据包。数据包的传输特征表示终端设备发送数据包的历史规律,例如可以包括终端设备发送前N个(N为大于1的正整数)数据包的时刻。Before sending the data packet, the terminal device can obtain the transmission characteristics of the data packet. Wherein, the data packet can be an uplink data packet sent by the terminal device to the base station, for example, it can be 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 the user. The transmission characteristics of the data packets represent the historical regularity of the terminal device sending data packets, for example, it may include the time when the terminal device sends the first N (N is a positive integer greater than 1) data packets.
在本申请实施例中,终端设备可以在每次发送数据包时记录发送该数据包的时刻。那么,在发送第N+1个数据包前,终端设备可以查询发送前N个数据包的时刻,确定该第N+1个数据包的传输特征。In this embodiment of the present application, the terminal device may record the moment of sending the data packet each time it sends the data packet. Then, before sending the N+1 th data packet, the terminal device may query the time of sending the first N data packets, and determine the transmission characteristics of the N+1 th data packet.
在一些可能的实现方式中,终端设备包括处理器和调制解调器(Modem)。其中,处理器可以是中央处理器(central processing unit,CPU)等设备,用于对自身产生的数据或接收到的数据进行处理。调制解调器可以是基带芯片等设备,用于与基站或外界其他设备进行通信。在终端设备在向基站发送数据包的过程中,处理器可以将数据包传输至网络层设备,调制解调器可以向基站发送数据包那么,终端设备的网络层设备可以在接收到应用层设备发送的数据包时进行记录,并记录接收到数据包的时间信息,得到数据包的传输特征。In some possible implementations, the terminal device includes a processor and a modem (Modem). The processor may be a device such as a central processing unit (CPU), which is used to process data generated by itself or data received. A modem can be a device such as a baseband chip that communicates with a base station or other devices outside. In the process of the terminal device sending the data packet to the base station, the processor can transmit the data packet to the network layer device, and the modem can send the data packet to the base station. Then, the network layer device of the terminal device can receive the data sent by the application layer device. Record when the packet is received, and record the time information of the received packet to obtain the transmission characteristics of the packet.
S202:终端设备根据传输特征得到所述数据包的第一发送时间信息。S202: The terminal device obtains the first sending time information of the data packet according to the transmission feature.
在获取到数据包的传输特征后,终端设备可以根据数据包的传输特征确定该数据包的第一发送时间信息。该第一发送时间信息为终端设备向基站发送数据包的时间信息。在确定第一发送时间信息时,终端设备可以根据传输特征确定终端设备发送相邻的两个数据包的时间间隔,再根据该时间间隔确定第一发送时间信息;也可以根据传输特征确定当前时刻距离终端设备发送数据包的时间间隔,再根据该时间间隔确定第一发送时间信息。After acquiring the transmission characteristic of the data packet, the terminal device may determine the first sending time information of the data packet according to the transmission characteristic of the data packet. The first sending time information is time information when the terminal device sends the data packet to the base station. When determining the first sending time information, the terminal device can determine the time interval at which the terminal device sends two adjacent data packets according to the transmission characteristics, and then determine the first sending time information according to the time interval; it can also determine the current time according to the transmission characteristics. The time interval from the terminal device to send the data packet, and then determine the first sending time information according to the time interval.
下面分别对这两种确定第一发送时间信息的方式进行详细介绍。The two manners for determining the first sending time information will be described in detail below.
对于上行视频业务等上行数据有规律的业务,终端设备可以等间隔地向基站发送数据包,即终端设备两次发送数据包之间的时间间隔是相对固定的。那么,通过对发送数据包的时刻进行分析,终端设备可以确定发送相邻两个数据包的时间间隔,进而得到第一发送时间信息。For services with regular uplink data such as uplink video services, the terminal device can send data packets to the base station at equal intervals, that is, the time interval between the terminal device sending the data packets twice is relatively fixed. Then, by analyzing the moment of sending the data packet, the terminal device can determine the time interval for sending two adjacent data packets, and then obtain the first sending time information.
例如,假设终端设备向基站发送视频数据,且该视频每秒有30帧画面。终端设备每秒会等间隔第向基站发送30个数据包,每个数据包对应视屏的一个数据帧。即,终端设备会每隔1/30=33.33ms向基站发送一个数据包,数据包的发送时间间隔为33.33ms。那么,通过对传输特征进行分析,终端设备可以确定前N个数据包的发送时间间隔为33.33ms,从而确定第N+1个数据包将在第N个数据包发送后33.33ms发送,从而得到第一发送时间信息。For example, it is assumed that the terminal device sends video data to the base station, and the video has 30 frames per second. The terminal device will send 30 data packets to the base station at equal intervals every second, and each data packet corresponds to a data frame of the video screen. That is, the terminal device will send a data packet to the base station every 1/30=33.33ms, and the transmission time interval of the data packet is 33.33ms. Then, by analyzing the transmission characteristics, the terminal device can determine that the sending time interval of the first N data packets is 33.33ms, thereby determining that the N+1th data packet will be sent 33.33ms after the Nth data packet is sent, thus obtaining First send time information.
可选地,在确定发送向相邻的两个数据包的时间间隔后,终端设备可以根据该时间间隔和发送第二消息的时间确定第一发送时间信息,将发送第二消息之后距离发送数据包的间隔时间作为第一发送时间信息。关于发送第二消息和具体的计算方法可以参见图3对应实施例的描述,此处不再赘述。Optionally, after determining the time interval for sending two adjacent data packets, the terminal device can determine the first sending time information according to the time interval and the time of sending the second message, and will send the data within the distance after sending the second message. The interval time of the packets is used as the first transmission time information. Regarding the sending of the second message and the specific calculation method, reference may be made to the description of the corresponding embodiment in FIG. 3 , and details are not repeated here.
对于上行游戏业务等上行数据缺乏规律的业务,虽然数据包的发送缺乏规律,但是数据包的生成大多是有规律的。那么,通过对数据包的生成过程进行分析,终端设备可以确定当前时刻距离发送数据包的时间间隔,进而得到第一发送时间信息。For services such as uplink game services that lack regular uplink data, although data packets are sent irregularly, most of the data packets are generated regularly. Then, by analyzing the generation process of the data packet, the terminal device can determine the time interval from the current moment to sending the data packet, and then obtain the first sending time information.
以游戏业务为例,在检测到用户点击屏幕或进行其他操作后,终端设备可以对用户的 操作进行解析,生成对应的操作指令并生成数据包,即终端设备会在检测到用户操作后生成数据包。这样,在检测到用户操作后,终端设备可以将历史数据中从检测到用户操作到发送数据包之间的时间间隔作为数据包的传输特征。如此,通过对传输特征进行分析,终端设备可以确定从检测到用户操作到发送数据包之间的时间间隔,即当前时刻距离用户发送数据包的时间间隔。Taking the game business as an example, after detecting that the user clicks on the screen or performs other operations, the terminal device can parse the user's operation, generate corresponding operation instructions and generate data packets, that is, the terminal device will generate data after detecting the user's operation. Bag. In this way, after detecting the user operation, the terminal device can take the time interval between the detection of the user operation and the sending of the data packet in the historical 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 between detecting the user operation and sending the data packet, that is, the time interval between the current moment and the user sending the data packet.
可选地,在当前时刻距离用户发送数据包的时间间隔后,终端设备可以根据该时间间隔和发送第一消息所需的时间确定第一发送时间信息,将发送第一消息之后距离发送数据包的时间作为第一发送时间信息。具体的计算方法可以参见图6对应实施例的描述,此处不再赘述。Optionally, after the time interval between the current moment and the time when the user sends the data packet, the terminal device can determine the first sending time information according to the time interval and the time required to send the first message, and will send the data packet after the first message is sent. time as the first sending time information. For a specific calculation method, reference may be made to the description of the corresponding embodiment in FIG. 6 , which will not be repeated here.
在一些可能的实现方式中,终端设备可以根据数据包的传输特征预测数据包的时刻,并直接该发送数据包的时刻作为第一发送时间信息。In some possible implementations, the terminal device may predict the time of the data packet according to the transmission characteristics of the data packet, and directly use the time of sending the data packet as the first sending time information.
在本申请实施例中,以上确定第一发送时间信息的方法均可通过模型实现。终端设备可以预先建立预测模型,该模型的输入为数据包的传输特征,输出为第一发送时间信息。这样,在需要确定第一发送时间信息时,终端设备可以将数据包的传输特征输入预测模型,得到第一发送时间信息。In this embodiment of the present application, the above method for determining the first sending time information can be implemented by a model. The terminal device may establish a prediction model in advance, the input of the model is the transmission characteristics of the data packet, and the output is the first sending time information. In this way, when the first sending time information needs to be determined, the terminal device can input the transmission characteristics of the data packet into the prediction model to obtain the first sending time information.
S203:终端设备向基站发送第一消息,所述第一消息包括第一发送时间信息。S203: The terminal device sends a first message to the base station, where the first message includes first sending time information.
在确定第一发送时间信息后,终端设备可以将向基站发送第一消息。该第一消息携带有第一发送时间信息,以便基站根据第一发送时间信息为终端设备分配空口资源。在一种可能的实现方式中,终端设备可以通过与基站之间的无线连接向基站发送第一消息。After determining the first sending time information, the terminal device may send the first message to the base station. The first message carries the first sending time information, so that the base station allocates air interface resources to the terminal device according to the first sending time information. In a possible implementation manner, the terminal device may send the first message to the base station through a wireless connection with the base station.
S204:基站根据第一发送时间信息为终端设备分配空口资源。S204: The base station allocates air interface resources to the terminal device according to the first transmission time information.
基站可以通过实体天线或虚拟天线等方式接收终端设备发送的第一消息,从第一消息中获取第一发送时间信息。根据第一发送时间信息,基站可以确定终端设备向基站发送数据包的时刻,从而为终端设备分配空口资源。例如,假设第一发送时间信息表示终端设备将在第一时间向基站发送数据包,基站可以在第一时刻为终端设备分配空口资源。The base station may receive the first message sent by the terminal device through a physical antenna or a virtual antenna, etc., and obtain the first sending time information from the first message. According to the first sending time information, the base station can determine the time when the terminal device sends the data packet to the base station, thereby allocating air interface resources to the terminal device. For example, assuming that the first sending time information indicates that the terminal device will send a 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:基站向终端设备发送分配的空口资源信息。S205: The base station sends the allocated air interface resource information to the terminal device.
在为终端设备分配空口资源后,基站可以向终端设备发送分配的空口资源信息,以便终端设备根据空口资源信息确定分配到的空口资源。其中,空口资源信息对应的空口资源用于终端设备向基站发送数据包,即基站为终端设备分配的空口资源。根据空口资源信息,终端设备可以利用被分配的空口资源发送数据包。例如,假设基站为终端设备分配了频段A的空口资源,那么空口资源信息中可以携带有频段A的相关信息。终端设备可以根据空口资源信息确定频段A为基站分配给自身的空口资源,从而利用频段A向基站发送数据包。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 resources corresponding to the air interface resource information are used for the terminal equipment to send data packets to the base station, that is, the air interface resources allocated by the base station to the terminal equipment. According to the air interface resource information, the terminal device can use the allocated air interface resources to send data packets. For example, assuming that the base station allocates air interface resources of frequency band A to the terminal device, the air interface resource information may carry relevant information of frequency band A. The terminal device can determine that the frequency band A is the air interface resource allocated to itself by the base station according to the air interface resource information, so as to use the frequency band A to send data packets to the base station.
本申请实施例提供了一种发送方法,在发送数据包前,终端设备可以先获取数据包的传输特征,并根据数据包的传输特征预测发送该数据包的时刻,从而向基站发送包括第一发送时间信息的第一消息,通知基站发送该数据包的时刻。在接收到第一消息后,基站可以根据第一发送时间信息确定为终端设备分配空口资源的时刻,从而为终端设备分配空口资源并通过空口资源信息通知终端设备。根据第一发送时间信息为终端设备分配空口资源,相当于根据终端设备发送数据包的时刻为终端设备分配空口资源。这样,基站在终端设备 需要发送数据包时才分配空口资源。相较于传统技术,由于本申请实施例在终端设备不需要发送数据包时,基站不为终端设备分配空口资源,所以节省了空口资源。同时,由于基站预先为终端设备分配了用于发送数据包的空口资源。当有需要发送的数据包时,终端设备可以利用预先分配的空口资源发送数据包,降低了上行数据包的发送时延。另外,由于基站在终端设备不发送数据包时不分配空口资源,所以该终端设备也不需要向基站发送不包含上行数据的数据包,因而节约了终端设备的电量开销。An embodiment of the present application provides a sending method. Before sending a data packet, a terminal device can first obtain the transmission characteristics of the data packet, and predict the time of sending the data packet according to the transmission characteristics of the data packet, so as to send the data packet to the base station including the first The first message of time information is sent to notify the base station of the time when the data packet is sent. After receiving the first message, the base station may determine the time to allocate air interface resources to the terminal device according to the first transmission time information, so as to allocate air interface resources to the terminal device and notify the terminal device through the air interface resource information. Allocating air interface resources to the terminal device according to the first sending time information is equivalent to allocating air interface resources to the terminal device according to the moment when the terminal device sends a data packet. In this way, the base station allocates air interface resources only when the terminal equipment needs to send data packets. Compared with the traditional technology, since the base station does not allocate air interface resources to the terminal device when the terminal device does not need to send data packets in the embodiment of the present application, the air interface resource is saved. At the same time, because the base station pre-allocates the terminal equipment with air interface resources for sending data packets. When there are data packets to be sent, the terminal device can use the pre-allocated air interface resources to send the data packets, which reduces the transmission delay of the uplink data packets. In addition, since the base station does not allocate air interface resources when the terminal device does not send data packets, the terminal device does not need to send data packets that do not contain uplink data to the base station, thus saving the power consumption of the terminal device.
以图1所示的系统为例进行说明。终端设备11向基站12发送的视频,且该视频每秒的帧数为30帧,解析度为480P,且视频码率固定。那么终端设备11会每隔33.33ms向基站12发送一个数据包。在发送第X个数据包前(X为大于1的正整数),终端设备12可以获取发送前X-1个数据包的时刻,作为第X个数据包的传输特征。通过对第X个数据包的传输特征进行分析,终端设备11可以确定发送第X个数据包的时刻为发送第X-1个数据包33.33ms后,即第一发送时间信息为发送第X-1个数据包之后33.33ms。终端设备11可以向基站12发送第一消息,通知基站12该第一发送时间信息。根据第一发送时间信息,基站12可以确定第X个数据包将在发送第X-1个数据包33.33ms后发送,从而在终端设备11发送第X-1个数据包后33.33ms后为终端设备11分配空口资源,并向终端设备11发送空口资源信息。终端设备11可以根据空口资源信息确定基站12为终端设备11分配的空口资源,从而利用空口资源向基站12发送该第X个数据包。这样,在终端设备11发送第X-1个数据包后,到终端设备11发送第X个数据包前,基站12没有为终端设备11分配空口资源。相当于在终端设备11不发送数据包时,基站12不为终端设备11分配空口资源,避免了空口资源的浪费。The system shown in FIG. 1 is taken as an example for description. The video sent by the terminal device 11 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 bit rate is fixed. Then the terminal device 11 will send a data packet to the 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 can obtain the time of sending the first X-1 data packets as the transmission feature of the Xth data packet. By analyzing the transmission characteristics of the Xth data packet, the terminal device 11 can determine that the moment of sending the Xth data packet is 33.33ms after sending the X-1th data packet, that is, the first sending time information is the transmission time of the X-th data packet. 33.33ms after 1 packet. The terminal device 11 may send a first message to the base station 12 to notify the base station 12 of the first sending time information. According to the first sending time information, the base station 12 can determine that the Xth data packet will be sent 33.33ms after the X-1th data packet is sent, so that the terminal device 11 sends the X-1th data packet 33.33ms after the terminal device is the terminal device. The device 11 allocates air interface resources, and sends the air interface resource information to the terminal device 11 . The terminal device 11 may determine the air interface resource allocated by the base station 12 for the terminal device 11 according to the air interface resource information, so as to send the Xth data packet to the base station 12 by using the air interface resource. In this way, after the terminal device 11 sends the X-1 th data packet, before the terminal device 11 sends the X th data packet, the base station 12 does not allocate air interface resources for the terminal device 11. It is equivalent to that when the terminal device 11 does not send data packets, 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 of the present application, considering that it takes time to send and transmit air interface resource information, the base station can correspondingly advance the time when the air interface resource information is sent to the terminal device, so as to ensure that the terminal device receives the air interface resource information before sending data packets. For example, assuming that the terminal device needs to send a data packet to the base station at the first moment, and the total time 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 the first time interval, then the base station can determine according to the first moment. and the first time interval to determine a second time, and in the second time, allocate air interface resources to the terminal device and send air interface resource information. In this way, it can be ensured that the terminal device can receive the air interface resource information before sending the data packet, so as to determine the air interface resource for sending the data packet.
在实际的应用场景中,终端设备还可以预测数据包的大小并发送给基站,以便基站根据数据包的大小确定为终端设备分配的空口资源。在本申请实施例中,终端设备可以通过向基站发送第二消息通知基站待发送数据包的大小,也可以将数据包的大小携带在第一消息中。下面分别对这两种实现方式进行介绍。In an actual application scenario, the terminal device can also predict the size of the data packet and send it to the base station, so that the base station determines the air interface resource allocated to the terminal device according to the size of the data packet. In this embodiment of the present 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. The two implementations are described below.
首先对终端设备向基站发送第二消息的方式进行介绍。参见图3,图3为本申请实施例提供的一种发送方法的交互示意图,该发送方法包括如下步骤:First, the manner in which the terminal device sends the second message to the base station is introduced. Referring to FIG. 3, FIG. 3 is an interactive schematic diagram of a sending method provided by an embodiment of the present application. The sending method includes the following steps:
S301:终端设备获取数据包的传输特征。S301: The terminal device acquires the transmission characteristic of the data packet.
在发送数据包前,终端设备可以获取数据包的传输特征。其中,数据包和传输特征的定义可以参见步骤S201所示,此处不再赘述。Before sending the data packet, the terminal device can obtain the transmission characteristics of the data packet. The definition of the data packet and the transmission feature may refer to step S201, which will not be repeated here.
考虑到需要对数据包的大小进行预测,在本申请实施例中,数据包的传输特征还可以包括数据包的大小,例如可以包括终端设备发送前N个(N为大于1的正整数)数据包中每个数据包的大小。Considering that it is necessary to predict the size of the data packet, in this embodiment of the present application, the transmission characteristic of the data packet may also include the size of the data packet, for example, may include the first N (N is a positive integer greater than 1) data sent by the terminal device. The size of each packet in the packet.
S302:终端设备根据所述数据包的传输特征得到所述数据包的第一发送时间信息。S302: The terminal device obtains the first sending time information of the data packet according to the transmission characteristic of the data packet.
在本申请实施例中,第一发送时间信息可以是包括终端设备向基站发送第二消息之后,距离向基站发送数据包的间隔时间,即终端设备发送第二消息的时刻与终端设备发送数据包的时刻之间的时间差。例如,假设终端设备每隔33.33ms向基站发送一个数据包,且发送每一个数据包前1ms都会向基站发送第二消息。那么,该间隔时间可以为(T-1)-(T+33.33-1)=33.33ms。其中,T表示终端设备传输上一个数据包的时刻。In this embodiment of the present application, the first sending time information may include the interval between the time when the terminal device sends the second message to the base station, and the interval between sending the data packet to the base station, that is, the moment when the terminal device sends the second message and the time when the terminal device sends the data packet. the time difference between the moments. For example, it is assumed that the terminal device sends a data packet to the base station every 33.33 ms, and sends a second message to the base station 1 ms before sending each data packet. Then, the interval time may be (T-1)-(T+33.33-1)=33.33ms. Among them, T represents the moment when the terminal device transmits the last data packet.
步骤S302中根据数据包的传输特征预测第一发送时间信息的具体方法可以参见图2对应实施例中的S202的描述,这里不再赘述。For the specific method of predicting the first sending time information according to the transmission characteristics of the data packet in step S302, reference may be made to the description of S202 in the corresponding embodiment of FIG. 2, and details are not repeated here.
S303:终端设备向基站发送第一消息,所述第一消息包括第一发送时间信息。S303: The terminal device sends a first message to the base station, where the first message includes first sending time information.
步骤S303的相关内容请参见图2对应实施例中的S203的描述,这里不再赘述。For the related content of step S303, please refer to the description of S203 in the corresponding embodiment of FIG. 2, which will not be repeated here.
在本申请实施例中第一消息可以是无线资源控制(Radio Resource Control,RRC)消息或媒体访问控制(medium access control,)消息等。当第一消息为RRC消息时,终端设备可以将第一发送时间信息携带在第一消息的数据内容部分。当第一消息为MAC消息时,该第一消息可以包括索引(index)字段和逻辑信道标识(logical channel identify,LCID)字段。其中,LCID字段可以携带有第一发送时间信息,索引字段的值用于指示该LCID字段包括第一发送时间信息。In this embodiment of the present application, the first message may be a radio resource control (Radio Resource Control, RRC) message or a medium access control (medium access control,) message or the like. When the first message is an RRC message, the terminal device may carry the first sending time information in the 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 (logical channel identification, LCID) field. The LCID field may carry the first sending time information, and the value of the index field is used to indicate that the LCID field includes the first sending time information.
可选地,当第一消息为MAC消息时,终端设备可以将第一发送时间信息携带在LCID字段的保留(reserved)字段中。例如,可以利用索引为33的LCID字段携带第一发送时间信息。终端设备可以将第一消息的索引为33的LCID字段的值设置为第一发送时间信息。如此,在接收到第一消息后,基站可以根据索引字段确定索引为33的LCID字段包括第一发送时间信息,进而从第一消息中提取第一发送时间信息。Optionally, when the first message is a MAC message, the terminal device may carry the first transmission time information in a reserved field of the LCID field. For example, the LCID field with an index of 33 may be used to carry the first transmission time information. The terminal device may set the value of the LCID field with an index of 33 of the first message as the first transmission time information. In this way, after receiving the first message, the base station may determine, according to the index field, that the LCID field with an index of 33 includes the first sending time information, and then extract the first sending time information from the first message.
S304:终端设备根据所述数据包的传输特征预测所述数据包的大小。S304: The terminal device predicts the size of the data packet according to the transmission characteristics of the data packet.
当数据包的传输特征还包括终端设备历史传输的数据包的大小时,终端设备可以根据数据包的传输特征预测数据包的大小。其中,数据包的大小表示数据包中携带信息量的多少,其单位可以是比特(bit,b)、字节(byte,B)或千字节(kilobytes,kB)等。例如,假设终端设备传输的前N个数据包大小相同,终端设备可以确定数据包的大小与前N个数据包一致。与步骤S202类似,终端设备也可以通过预测模型确定数据包的大小。When the transmission characteristic of the data packet further includes the size of the data packet historically transmitted by the terminal device, the terminal device may predict the size of the data packet according to the transmission characteristic of the data packet. The size of the data packet indicates the amount of information carried in the data packet, and the unit may be bits (bit, b), bytes (byte, B), kilobytes (kilobytes, kB), and the like. For example, assuming that the size of the first N data packets transmitted by the terminal device is the same, the terminal device can determine that the size of the data packet is consistent with the first N data packets. Similar to step S202, the terminal device can also determine the size of the data packet through the prediction model.
以终端设备向基站发送视频数据包为例进行说明。假设终端设备向基站发送视频,且该视频每秒的帧数为30帧,码率为3000千字节每秒(kB per second,kbps),表示该视频每秒有30帧图像,且每秒钟传输的数据总量为3000kB。那么。终端设备会每隔1/30=33.33毫秒(millisecond,ms)向基站发送一个数据包,该数据包的大小为3000÷30=100kB。那么,通过对数据包的传输特征进行分析,预测模型可以确定终端设备每33.33ms就会向基站发送一个大小为100kB的数据包,即终端设备发送数据包的时间间隔为33.33ms,数据包的大小为100kB。The description is given by taking the terminal device sending video data packets to the base station as an example. Assuming that the terminal device sends a video to the base station, and the frame rate of the video is 30 frames per second and the bit rate is 3000 kilobytes per second (kB per second, kbps), it means that the video has 30 frames per second, and The total amount of data transferred by the clock is 3000kB. So. The terminal device will send a data packet to the base station every 1/30=33.33 milliseconds (millisecond, ms), and the size of the data packet is 3000÷30=100kB. Then, by analyzing the transmission characteristics of the data packets, the prediction model can 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 the terminal device to send a data packet is 33.33ms, and the duration of the data packet is 33.33ms. The size is 100kB.
在一些可能的实现方式中,该数据包的大小还可以是终端设备发送的前N个数据包的大小的平均值或最大值。In some possible implementation manners, the size of the data packet may also be an average value or a maximum value of the sizes of the first N data packets sent by the terminal device.
需要说明的是,在本申请实施例中,步骤S304可以在步骤S303之后执行,也可以在步骤S303之前执行。It should be noted that, in this embodiment of the present application, step S304 may be performed after step S303, or may be performed before step S303.
S305:终端设备向基站发送第二消息,所述第二消息包括数据包的大小。S305: The terminal device sends a second message to the base station, where the second message includes the size of the data packet.
向基站发送第一消息后,终端设备可以向基站发送第二消息,该第二消息中包括数据包的大小,以便基站根据数据包的大小为终端设备分配空口资源。可选地,第二消息为BSR消息,终端设备通过与基站之间的无线连接向基站发送该第二消息。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 air interface resources 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:基站根据第一发送时间信息和所述数据包的大小为终端设备分配空口资源。S306: The base station allocates air interface resources to the terminal device according to the first transmission time information and the size of the data packet.
基站可以通过实体天线或虚拟天线等方式接收终端设备发送的第一消息,从第一消息中获取第一发送时间信息。根据第一发送时间信息,基站可以确定终端设备向基站发送数据包的时刻,从而确定为终端设备分配空口资源的时刻。根据数据包的大小,基站可以确定终端设备向基站发送数据包所需的频段,从而确定为终端设备分配的空口资源的频段。如此,在终端设备发送数据包时,基站可以为终端数据分配与数据包对应的空口资源。The base station may receive the first message sent by the terminal device through a physical antenna or a virtual antenna, etc., and obtain the first sending time information from the first message. According to the first sending time information, the base station can determine the time when the terminal device sends the data packet to the base station, so as to determine the time when the air interface resource is allocated to the terminal device. According to the size of the data packet, the base station can determine the frequency band required by the terminal device to send the data packet to the base station, thereby determining the frequency band of the air interface resources allocated to the terminal device. In this way, when the terminal device sends the data packet, the base station can allocate air interface resources corresponding to the data packet for the terminal data.
S307:基站向终端设备发送分配的空口资源信息。S307: The base station sends the allocated air interface resource information to the terminal device.
步骤S307的相关内容请参见图2对应实施例中的S205的描述,这里不再赘述。For the related content of step S307, please refer to the description of S205 in the corresponding embodiment of FIG. 2, and details are not repeated here.
当终端设备需要等间隔地向基站发送多个大小相近的数据包时,终端设备可以先向基站发送第一消息,并在每次发送数据包前向基站发送第二消息,用于通知基站本次发送的数据包的大小。相应地,基站在接收到第一消息后,可以确定从终端设备发送第二消息到终端设备发送数据包之间的时间间隔。这样,接收到第二消息后,基站可以确定终端设备发送数据包,从而为终端设备分配空口资源。如此,基站在终端设备不发送数据包时不为终端设备分配空口资源,节省了基站的空口资源。另外,当终端设备需要发送N个数据包时,仅需在发送第一个数据包前向基站发送第一消息,并在发送每个数据包前向基站发送第二消息,无需在发送每个数据包时向基站发送第一消息。如此,针对上行数据有规律的业务,减少了终端设备和基站之间的数据交互量,减轻了终端设备和基站的压力。When the terminal device needs to send multiple data packets of similar size to the base station at equal intervals, the terminal device can first send a first message to the base station, and send a second message to the base station before each data packet is sent to notify the base station of the local The size of the packet sent at once. Correspondingly, after receiving the first message, the base station may determine the time interval between sending the second message by the terminal device and sending the data packet by the terminal device. In this way, after receiving the second message, the base station can determine that the terminal device sends a data packet, thereby allocating air interface resources to the terminal device. In this way, the base station does not allocate air interface resources to the terminal equipment when the terminal equipment does not send data packets, which saves the air interface resources of the base station. In addition, when the terminal device needs to send N data packets, it only needs to send the first message to the base station before sending the first data packet, and send the second message to the base station before sending each data packet, without sending each data packet. The first message is sent to the base station when the data packet is present. In this way, for services with regular uplink data, the amount of data interaction between the terminal equipment and the base station is reduced, and the pressure on the terminal equipment and the base station is relieved.
以图4所示的系统400为例进行说明。参见图4,该系统400包括终端设备410和基站420。其中,终端设备410包括处理器411和基带芯片412。该处理器411用于运行应用程序并生成上行数据包。基带芯片412用于向基站420发送处理器411产生的上行数据包。The system 400 shown in FIG. 4 is taken as an example for description. 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 for running application programs and generating uplink data packets. The baseband chip 412 is used for sending the uplink data packets generated by the processor 411 to the base station 420 .
在图4所示的系统400执行图3所示的发送方法时,处理器411、基带芯片412和基站420之间的信令交互可以如图5所示,包括如下步骤:When the system 400 shown in FIG. 4 executes the sending method shown in FIG. 3 , the signaling interaction between the processor 411, the baseband chip 412 and the base station 420 may be as shown in FIG. 5, including the following steps:
S501:处理器411获取数据包的传输特征。S501: The processor 411 acquires the transmission characteristics of the data packet.
终端设备410中的处理器411可以生成数据包并通过基带芯片412向基站420发送数据包。在生成数据包前,处理器411可以获取数据包的传输特征。关于数据包的传输特征的具体描述可以请参见图3对应实施例中的S301的描述,这里不再赘述。The processor 411 in the terminal device 410 can generate data packets and send the data packets to the base station 420 through the baseband chip 412 . Before generating the data packet, the processor 411 may obtain the transmission characteristics of the data packet. For the specific description of the transmission feature of the data packet, please refer to the description of S301 in the corresponding embodiment of FIG. 3 , and details are not repeated here.
S502:处理器411根据所述数据包的传输特征得到所述数据包的第一发送时间信息。S502: The processor 411 obtains the first sending time information of the data packet according to the transmission characteristic of the data packet.
在本申请实施例中,处理器411可以根据数据包的传输特征预测数据包的发送时间,从而得到数据包的第一发送时间信息,该第一发送时间信息为基带芯片412向基站420发 送第二消息之后,距离终端设备410向基站420发送数据包之间的间隔时间。例如可以是基带芯片412发送第二消息和发送数据包之间的时间间隔,即步骤S507和步骤S512之间的间隔时间。在一个示例中,该第一发送时间信息的内容可以为:在发送第二消息后10ms,基带芯片412向基站420发送数据包。In this embodiment of the present application, the processor 411 can 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 first transmission time sent by the baseband chip 412 to the base station 420 After two messages, the interval time between the terminal device 410 sending the data packet to the base station 420. For example, it may be the time interval between the baseband chip 412 sending the second message and sending the data packet, that is, the interval time between step S507 and step S512. In an example, the content of the first sending time information may be: 10 ms after sending the second message, the baseband chip 412 sends a data packet to the base station 420 .
当然,在一些可能的实现方式中,该第一发送时间还可以是基带芯片412向基站420发送第二消息之后,到处理器411向基带芯片412发送数据包之间的间隔时间,即步骤S507和步骤S511之间的间隔时间。例如,该第一发送时间信息的内容可以为:在基带芯片412向基站420发送第二消息后10ms,处理器411向基带芯片412发送数据包。还可以是还可以是基带芯片412向基站420发送第二消息之后,到基带芯片412接收到处理器411发送的数据包之间的间隔时间。Of course, in some possible implementations, the first sending time may also be the interval time between when the baseband chip 412 sends the second message to the base station 420 and when the processor 411 sends the data packet to the baseband chip 412, that is, step S507 and the interval between step S511. For example, the content of the first sending time information may be: 10 ms 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 can also be the interval time between when the baseband chip 412 receives the data packet sent by the processor 411 after the baseband chip 412 sends the second message to the base station 420 .
关于确定第一发送时间的具体描述可以参见图3对应实施例中S302的描述,这里不再赘述。For a specific description of determining the first sending time, reference may be made to the description of S302 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
S503:处理器411向基带芯片412通告第一发送时间信息。S503: The processor 411 notifies the baseband chip 412 of the first sending time information.
在确定第一发送时间信息后,处理器411可以向基带芯片412通告该第一发送时间信息,以便基带芯片412向基站420发送第一消息。After determining the first sending time information, the processor 411 may notify the baseband chip 412 of the first sending time information, so that the baseband chip 412 sends the first message to the base station 420 .
S504:基带芯片412向基站420发送第一消息。S504: The baseband chip 412 sends the first message to the base station 420.
在接收到第一发送时间信息后,基带芯片412可以向基站420发送第一消息。关于发送第一消息的具体描述可以参见图3对应实施例中S304的描述,这里不再赘述。After receiving the first sending time information, the baseband chip 412 may send the first message to the base station 420 . For a specific description of sending the first message, reference may be made to the description of S304 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
S505:处理器411根据所述数据包的传输特征预测所述数据包的大小。S505: The processor 411 predicts the size of the data packet according to the transmission characteristics of the data packet.
在确定即将生成数据包时,处理器411可以根据数据包的传输特征预测数据包的大小。关于确定数据包的大小的具体描述可以参见图3对应实施例中S303的描述,这里不再赘述。When determining that a data packet is about to be generated, the processor 411 may predict the size of the data packet according to the transmission characteristics of the data packet. For the specific description of determining the size of the data packet, reference may be made to the description of S303 in the corresponding embodiment of FIG. 3 , and details are not repeated here.
S506:处理器411向基带芯片412通告所述数据包的大小。S506: The processor 411 notifies the baseband chip 412 of the size of the data packet.
在确定待发送的数据包的大小后,处理器411可以向基带芯片412通告该数据包的大小,以便基带芯片412向基站420发送第二消息。After determining the size of the data packet to be sent, the processor 411 may notify the baseband chip 412 of the size of the data packet, so that the baseband chip 412 sends the second message to the base station 420 .
S507:基带芯片412向基站420发送第二消息。S507: The baseband chip 412 sends the second message to the base station 420.
在接收到数据包的大小后,基带芯片412可以向基站420发送第二消息。关于发送第二消息的具体描述可以参见图3对应实施例中S305的描述,这里不再赘述。After receiving the size of the data packet, the baseband chip 412 may send the second message to the base station 420 . For a specific description of sending the second message, reference may be made to the description of S305 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
S508:基站420根据第一发送时间信息和所述数据包的大小为终端设备410分配空口资源。S508: The base station 420 allocates air interface resources to the terminal device 410 according to the first transmission time information and the size of the data packet.
在接收到第二消息后,基站420可以先根据第二消息确定基带芯片412发送该第二消息的时刻。可选地,基带芯片412可以将发送第二消息的时刻添加到第二消息中。在本申请实施例中,基站420可以根据第二消息确定基带芯片412发送该第二消息的时刻,也可以根据接收第二消息的时刻和终端设备410与基站420之间的时延值确定基带芯片412发送该第二消息的时刻,还可以将接收第二消息的时刻作为基带芯片412发送第二消息的时刻。After receiving the second message, the base station 420 may first determine the time when the baseband chip 412 sends the second message according to the second message. Optionally, the baseband chip 412 may add the moment of sending the second message to the second message. In this embodiment of the present application, the base station 420 may determine the time at which the baseband chip 412 sends the second message according to the second message, or may determine the baseband according to the time at which the second message is received and the delay value between the terminal device 410 and the base station 420 The moment when the chip 412 sends the second message may also take the moment when the second message is received as the moment when the baseband chip 412 sends the second message.
举例说明。假设基站420在第1.001秒(second,s)接收到了基带芯片412发送的第二消息,且终端设备410与基站420之间的时延值为0.001s(1ms),那么基站420可以确 定基带芯片412发送第二消息的时刻为1.001-0.001=1,即基带芯片412在第一秒发送了第二消息。那么,基站420可以确定第1秒为基带芯片412发送第二消息的时刻。for example. Assuming that the base station 420 receives the second message sent by the baseband chip 412 at the 1.001 second (second, s), and the delay value between the terminal device 410 and the base station 420 is 0.001s (1 ms), then the base station 420 can determine that the baseband chip The moment when 412 sends the second message is 1.001-0.001=1, that is, the baseband chip 412 sends the second message in the first second. Then, the base station 420 can determine that the first second is the moment when the baseband chip 412 sends the second message.
在确定基带412发送第二消息的时刻后,基站420可以根据第一发送时间信息和该基带芯片412发送第二消息的时刻确定为终端设备410分配空口资源的时刻。例如,基站420可以将基带芯片发送第二消息之后,再经过前述间隔时间后的时刻确定为为终端设备410分配空口资源和发送空口资源信息的时刻。After determining the time when the baseband 412 sends the second message, the base station 420 may determine the time to allocate air interface resources to the terminal device 410 according to the first sending time information and the time when the baseband chip 412 sends the second message. For example, the base station 420 may determine the time after the baseband chip sends the second message and after the aforementioned interval time as the time to allocate air interface resources to the terminal device 410 and send air interface resource information.
举例说明。假设第一发送时间信息为:在发送第二消息后10ms,基带芯片412向基站420发送数据包,且基带芯片412在第1秒发送了第二消息。基站420可以确定为终端设备410分配空口资源的时刻为基带芯片412发送第二消息后10ms,即第1.01秒,确定为为终端设备410分配空口资源和发送空口资源信息的时刻。for example. It is assumed that the first sending time information is: 10 ms after sending the second message, the baseband chip 412 sends a data packet to the base station 420, and the baseband chip 412 sends the second message in the first second. The base station 420 may determine that the time to allocate air interface resources to the terminal device 410 is 10 ms after the baseband chip 412 sends the second message, that is, 1.01 seconds, and determine the time to allocate air interface resources to the terminal device 410 and send air interface resource information.
可选地,考虑到发送空口资源信息需要一定的时间,基站420还可以提前为终端设备410分配空口资源和发送空口资源信息。例如,基站420可以提前1ms为终端设备410分配空口资源,即在第1.009秒为终端设备410分配空口资源并发送空口资源信息。Optionally, considering that it takes a certain time to send 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 1 ms in advance, that is, allocate air interface resources to the terminal device 410 and send the air interface resource information at the 1.009th second.
另外,基站420还可以根据数据包的大小确定为终端设备分配空口资源的多少,关于这部分的描述可以参见图3对应实施例中S306的描述,这里不再赘述。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. For the description of this part, refer to the description of S306 in the corresponding embodiment of FIG. 3 , which will not be repeated here.
S509:基站420向基带芯片412发送分配的空口资源信息。S509: The base station 420 sends the allocated air interface resource information to the baseband chip 412.
在为终端设备410分配空口资源时,基站420可以向基带芯片412发送空口资源信息。关于发送空口资源信息的描述可以参见图3对应实施例中S307的描述,这里不再赘述。When allocating air interface resources to the terminal device 410 , the base station 420 may send air interface resource information to the baseband chip 412 . For the description of sending the air interface resource information, reference may be made to the description of S307 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
S510:处理器411生成待发送的数据包。S510: The processor 411 generates a data packet to be sent.
在本申请实施例中,处理器411可以生成待发送的数据包。该待发送的数据包用于携带终端设备410的上行数据,例如可以是视频的数据帧等。In this embodiment of the present application, the processor 411 may generate a data packet to be sent. The to-be-sent data packet is used to carry the uplink data of the terminal device 410, and may be, for example, a video data frame or the like.
S511:处理器411向基带芯片412发送所述待发送的数据包。S511: The processor 411 sends the data packet to be sent to the baseband chip 412.
在生成待发送的数据包后,处理器411可以将该数据包发送给基带芯片412,以便基带芯片412向基站发送该待发送的数据包。After generating the data packet to be sent, the processor 411 may send the data packet to the baseband chip 412, so that the baseband chip 412 sends the data packet to be sent to the base station.
需要说明的是,步骤S510与步骤S508在逻辑上是分离的,即二者不具有明确地先后关系。但是,考虑到基带芯片412需要利用分配的空口资源发送数据包,步骤S511在步骤S09之前执行。如此,可以确保在接收到待发送的数据包前,基带芯片412已经明确了分配的空口资源信息。也就是说,根据实际应用情况的不同,步骤S510可以在步骤S508前执行,也可以在步骤S508之后、步骤S511之前。It should be noted that step S510 and step S508 are logically separated, that is, the two do not have a clear sequence relationship. However, considering that the baseband chip 412 needs to use the allocated air interface resources to send data packets, step S511 is performed before step S09. In this way, it can be ensured that the baseband chip 412 has specified the allocated air interface resource information before receiving the data packet to be sent. That is to say, depending on the actual application situation, step S510 may be performed before step S508, or may be performed after step S508 and before step S511.
S512:基带芯片412利用分配的空口资源向基站420发送数据包。S512: The baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
根据空口资源信息,基带芯片412可以确定基站420为终端设备410分配的空口资源,从而利用该空口资源向基站420发送数据包。According to the air interface resource information, the baseband chip 412 can determine the air interface resources allocated by the base station 420 for the terminal device 410, and thus send data packets to the base station 420 by using the air interface resources.
在本申请实施例中,通过对数据包的传输特征进行分析,处理器411可以在发送数据包前预测数据包的大小并通过第二消息向基站420发送数据包的大小,还可以在发送第二消息前预测发送第二消息到发送数据包之间的时间间隔。即处理器411不但能够提前确定该数据包的大小,还可以预测处理器411能够提前多长时间确定数据包的大小。这样,在发送第二消息前,终端设备410可以通过第一消息通知基站420基带芯片412发送第二消 息和发送数据包之间的时间间隔。如此,在接收到第二消息后,基站420就可以根据该时间间隔确定需要为终端设备410分配空口资源的时间,根据第二消息确定为终端设备410分配的空口资源的频段,从而在对应的时刻为终端设备410分配对应的空口资源,节省了基站的空口资源。当终端设备410需要等间隔地发送多个数据包时,例如在传输视频时,可以反复执行步骤S506-步骤S512即可。终端设备410每次发送的消息可以仅携带数据包大小,无需携带第一发送时间信息。如此,减少了终端设备和基站之间的数据交互量,减轻了设备的压力。In this embodiment of the present application, by analyzing the transmission characteristics of the data packet, the processor 411 can predict the size of the data packet before sending the data packet, and send the size of the data packet to the base station 420 through the second message, and can also send the first The time interval between sending the second message and sending the data packet is predicted before the second message. That is, the processor 411 can not only determine the size of the data packet in advance, but can also predict how long in advance the processor 411 can determine the size of the data packet. In this way, before sending the second message, the terminal device 410 can notify the base station 420 of the time interval between sending the second message and sending the data packet by the baseband chip 412 through the first message. In this way, after receiving the second message, the base station 420 can determine the time when the air interface resources need to be allocated to the terminal device 410 according to the time interval, and determine the frequency band of the air interface resources allocated to the terminal device 410 according to the second message. Corresponding air interface resources are allocated to the terminal device 410 at all times, which saves the air interface resources of the base station. When the terminal device 410 needs to send multiple data packets at equal intervals, for example, when transmitting a video, steps S506 to S512 may be repeatedly performed. The message sent by the terminal device 410 each time may only carry the data packet size, and does not need to carry the first sending time information. In this way, the amount of data interaction between the terminal device and the base station is reduced, and the pressure on the device 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 the base station to allocate air interface resources. Specifically, the terminal device may send the second message to the base station after predicting the generation of the data packet. After receiving the second message, the base station can determine the time when the terminal device sends the second message, and determine the time interval between the time when the terminal device sends the second message and the time when the data packet is sent (ie, the first sending time information) The time when the terminal device sends the data packet, so as to allocate air interface resources of a fixed size to the terminal device at the corresponding time.
上面介绍了终端设备通过第二消息通知基站数据包的大小的方式,下面介绍终端设备将数据包的大小携带在第一消息中通知基站的方式进行介绍。参见图3在本申请实施例中,终端设备通过向基站发送第二消息通知基站待发送数据包的大小,或将数据包的大小携带在第一消息中。下面分别对这两种实现方式进行介绍6,图6为本申请实施例提供的一种发送方法的交互示意图,该发送方法包括如下步骤:The manner in which the terminal device notifies the base station of the size of the data packet through the second message is described above, and the manner in which the terminal device notifies the base station by carrying the size of the data packet in the first message is described below. 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 a second message to the base station, or carries the size of the data packet in the first message. The two implementations will be introduced separately below. FIG. 6 is an interactive schematic diagram of a sending method provided by an embodiment of the present application, and the sending method includes the following steps:
S601:终端设备获取数据包的传输特征。S601: The terminal device acquires the transmission characteristic of the data packet.
步骤S601的相关内容请参见图2对应实施例中的S201的描述,这里不再赘述。For the related content of step S601, please refer to the description of S201 in the corresponding embodiment of FIG. 2, and details are not repeated here.
S602:终端设备根据所述数据包的传输特征得到所述数据包的第一发送时间信息和数据包的大小。S602: The terminal device obtains the first sending time information of the data packet and the size of the data packet according to the transmission characteristic of the data packet.
在获取到数据包的传输特征后,终端设备可以根据传输特征预测发送数据包的时刻,得到第一发送时间信息和数据包的大小。在本申请实施例中,第一发送时间信息可以包括第一间隔时间,该第一间隔时间为终端设备向基站发送第一消息之后距离向基站发送数据包的间隔时间,即终端设备发送第一消息的时刻与终端设备发送数据包的时刻之间的时间差。例如,假设终端设备确定将在20ms后发送数据包,且生成并发送第一消息需要1ms。那么,终端设备可以确定第一间隔时间为(T+20)-(T+1)=19ms(其中T表示当前时刻),即终端设备将在发送第一消息后19ms发送数据包。After acquiring the transmission characteristics of the data packets, the terminal device can predict the moment of sending the data packets according to the transmission characteristics, and obtain the first transmission time information and the size of the data packets. In this embodiment of the present application, the first sending time information may include a first interval time, where the first interval time is the interval time after the terminal device sends the first message to the base station to send a data packet to the base station, that is, the terminal device sends the first message to the base station. The time difference between the moment of the message and the moment when the terminal device sends the data packet. For example, it is assumed that the terminal device determines that the data packet will be sent after 20ms, and it takes 1ms to generate and send the first message. Then, the terminal device can determine that the first interval is (T+20)-(T+1)=19ms (where T represents the current moment), that is, the terminal device will send the data packet 19ms after sending the first message.
在一些可能的实现方式中,第一消息为BSR消息。那么,终端设备需要先向基站发送调度(Scheduling request,SR)消息,并在确认收到基站发送的UL grant消息后才能发送第一消息。显然,终端设备发送SR消息、基站处理SR消息和发送UL grant消息都需要消耗时间,导致终端设备确定第一发送时间信息的时刻与发送第一消息的时刻之间存在一定的时间间隔,终端设备无法确定第一时间间隔。In some possible implementations, the first message is a BSR message. Then, the terminal device needs to send a scheduling (Scheduling request, SR) message to the base station first, and can send the first message after confirming receipt of the UL grant message sent by the base station. Obviously, it takes time for the terminal device to send the SR message, the base station to process the SR message, and to send the UL grant message. As a result, there is a certain time interval between the time when the terminal device determines the first sending time information and the time when the first message is sent. The first time interval could not be determined.
对于这种情况,终端设备可以先确定第二时间间隔。第二时间间隔为终端设备向基站发送SR消息到发送BSR消息之间的间隔时间。即,在向基站发送SR消息后,终端设备会接收到基站发送的UL grant消息并向基站发送BSR消息。从发送SR消息到发送BSR消 息之间的时间长度即为第二时间间隔。在本申请实施例中,终端设备可以在发送SR消息时记录SR消息到发送BSR消息的时间间隔,并统计历史时间间隔的平均值,将该平均值作为第二时间间隔。可选地,终端设备还可以选择历史时间间隔的最大值作为第二时间间隔。选择历史时间间隔的最大值作为第二时间间隔。In this case, the terminal device may first determine the second time interval. The second time interval is the interval time between when the terminal device sends the SR message to the base station and when it sends the BSR message. That is, after sending the SR message to the base station, the terminal device will receive the UL grant message sent by the base station and send a BSR message to the base station. The length of time between sending the SR message and sending the BSR message is the second time interval. In this embodiment of the present application, the terminal device may record the time interval from the SR message to the sending of the BSR message when sending the SR message, collect statistics on the average value of the historical time interval, and use the average value as the second time interval. Optionally, the terminal device may also select the 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.
终端设备可以根据数据包的传输特征预测终端设备发送数据包的时刻,并设置发送SR消息的时刻。例如,终端设备可以任意设置发送SR消息的时刻。在确定发送数据包的时刻以及发送SR消息的时刻后,终端设备可以将二者的时间差确定为第二发送时间信息,得到的第二发送时间信息。即,第二发送时间信息为终端设备向基站发送SR消息距离向基站发送数据包的间隔时间。The terminal device can predict the time at which the terminal device sends the data packet according to the transmission characteristics of the data packet, and set the time at which the SR message is sent. For example, the terminal device can arbitrarily set the time for sending the SR message. After determining the time of sending the data packet and the time of sending the SR message, the terminal device may determine the time difference between the two as the second sending time information, and obtain the second sending time information. That is, the second sending time information is the interval time between when the terminal device sends the SR message to the base station and sends the data packet to the base station.
需要说明的是,终端设备可以先确定第二发送时间信息,再确定第二时间间隔,也可以先确定第二时间间隔,再确定第二发送时间信息。本申请实施例对此不作限定It should be noted that, the terminal device may first determine the second transmission time information, and then determine the second time interval, or may first determine the second time interval, and then determine the second transmission time information. This embodiment of the present application does not limit this
由于第二发送时间信息为从终端设备在向基站发送SR消息之后距离向基站发送数据包的间隔时间,相当于从发送SR消息到发送第一消息(BSR消息),再从发送第一消息到发送数据包的间隔时间,即第一间隔时间与第二间隔时间之和。那么,根据第二发送时间信息和第二间隔时间,终端设备可以确定第一间隔时间,得到第一发送时间信息。Since the second sending time information is the interval time from the terminal device to sending the data packet to the base station after sending the SR message to the base station, it is equivalent to the time from sending the SR message to sending the first message (BSR message), and then from sending the first message to The interval for sending data packets, that is, the sum of the first interval and the second interval. Then, according to the second sending time information and the second interval time, the terminal device can determine the first interval time and obtain the first sending time information.
关于确定数据包的大小的描述可以参见图3对应实施例中S304的描述,这里不再赘述。For the description of determining the size of the data packet, reference may be made to the description of S304 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
S603:终端设备向基站发送第一消息,所述第一消息包括第一发送时间信息和数据包的大小。S603: The terminal device sends a first message to the base station, where the first message includes the first sending time information and the size of the 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 can, according to the first sending time information, be Terminal equipment allocates air interface resources. In a possible implementation manner, the terminal device may send the first message to the base station through a wireless connection with the base station.
在本申请实施例中,第一消息可以是BSR消息。在发送第一消息前,终端设备可以先向基站发送SR消息,以便基站为终端设备分配用于发送BSR消息的空口资源。在接收到基站返回的UL grant消息后,终端设备可以向基站发送第一消息。In this embodiment of the present application, the first message may be a BSR message. Before sending the first message, the terminal device may first send an SR message to the base station, so that the base station allocates air interface resources 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 the first message to the base station.
在一些可能的实现方式中,第一消息可以是MAC消息格式的BSR消息,包括索引字段和LCID字段。其中,LCID字段可以包括第一发送时间信息和数据包的大小。索引字段用于指示该LCID字段包括第一发送时间信息和数据包的大小。与图3对应实施例中步骤S303类似,终端设备可以将第一发送时间信息和数据包的大小携带在LCID的保留字段中。终端设备可以将索引为33的LCID字段进行扩充,利用该字段携带第一发送时间信息和数据包的大小。例如,终端设备可以将索引为33的LCID字段扩充为两行,第一行携带第一发送时间信息,第二行携带数据包的大小。当然,终端设备还可以利用两个LCID字段分别携带第一发送时间信息和数据包的大小。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 the first sending time information and the size of the data packet. The index field is used to indicate that the LCID field includes the first transmission time information and the size of the data packet. Similar to step S303 in the embodiment corresponding to FIG. 3 , the terminal device may carry the first sending 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 an index of 33, and use this field to carry the first sending time information and the size of the data packet. For example, the terminal device may expand the LCID field with an index of 33 into two lines, the first line carrying the first sending time information, and the second line carrying the size of the data packet. Of course, the terminal device may also use two LCID fields to carry the first sending time information and the size of the data packet respectively.
可选地,当终端设备根据第二时间间隔和第二发送时间信息确定第一发送时间信息时,终端设备可以根据第二发送时间信息向基站发送第一消息。具体地,终端设备可以根据第二发送时间信息确定发送SR消息的时刻,并在该时刻后第二时间间隔向基站发送第一消息。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 send the first message to the base station according to the second transmission time information. Specifically, the terminal device may determine the time of sending the SR message according to the second sending time information, and send the first message to the base station at a second time interval after the time.
S604:基站根据第一发送时间信息和所述数据包的大小为终端设备分配空口资源。S604: The base station allocates air interface resources to the terminal device according to the first sending time information and the size of the data packet.
步骤S604的相关内容请参见图3对应实施例中的S306的描述,这里不再赘述。For the related content of step S604, please refer to the description of S306 in the corresponding embodiment of FIG. 3, and details are not repeated here.
S605:基站向终端设备发送分配的空口资源信息。S605: The base station sends the allocated air interface resource information to the terminal device.
步骤S605的相关内容请参见图2对应实施例中的S205的描述,这里不再赘述。For the related content of step S605, please refer to the description of S205 in the corresponding embodiment of FIG. 2, which will not be repeated here.
在本申请实施例中,终端设备可以先根据数据包的传输特征预测第一发送时间信息和数据包的大小,并通过第一消息通知基站本次发送数据包的时刻和数据包的大小。基站在接收到第一消息后,可以根据第一发送时间信息确定为终端设备分配空口资源的时刻,根据数据包的大小确定为终端设备分配的空口资源的多少。如此,基站在终端设备不发送数据包时不为终端设备分配空口资源,节省了基站的空口资源。另外,对于上行游戏业务等上行数据缺乏规律的业务,即使终端设备发送数据包的时间不断变化时,由于第一消息中既携带了第一发送时间信息,又携带了数据包的大小,基站仍然能够根据第一消息即可为终端设备分配空口资源。In this embodiment of the present application, the terminal device may first 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 and size of the data packet sent this time through the first message. After receiving the first message, the base station may determine the time to allocate air interface resources to the terminal device according to the first sending time information, and determine the amount of air interface resources allocated to the terminal device according to the size of the data packet. In this way, the base station does not allocate air interface resources to the terminal equipment when the terminal equipment does not send data packets, which saves the air interface resources of the base station. In addition, for services such as uplink game services that lack regular uplink data, even if the time when the terminal device sends data packets keeps changing, since the first message carries both the first sending time information and the size of the data packet, the base station still has The air interface resource can be allocated to the terminal device according to the first message.
以终端设备为手机,终端设备运行游戏软件并向基站发送操作数据包的应用场景为例进行说明。在运行游戏软件时,终端设备可以以固定频率采集操作信号,例如以50赫兹的频率采集触摸屏的操作信号。那么,在用户进行操作时,终端信号每秒会生成50个操作数据包并发送给基站。在用户不进行操作时,终端设备不会生成操作数据包。对于这种情况,终端设备可以分别针对多个数据包中行每个数据包进行预测,根据数据包的传输特征确定该数据包的第一发送时间信息和大小。这样,针对任意一个数据包,终端设备都会预测发送该数据包的时刻并通知基站。针对不同数据包调整第一时间间隔,即使数据包的生成缺乏规律,基站也能够在对应的时刻为终端设备分配对应的空口资源。如此。既降低了数据包的传输时延,又节约了基站的空口资源。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 description. When running the game software, the terminal device can collect the operation signal at a fixed frequency, for example, collect the operation signal of the touch screen at a frequency of 50 Hz. Then, when the user operates, the terminal signal will generate 50 operation data packets per second and send them to the base station. When the user does not operate, the terminal device will not generate operation data packets. In this case, the terminal device can separately perform prediction for each data packet in the multiple data packets, and determine the first sending time information and size of the data packet according to the transmission characteristics of the data packet. In this way, for any data packet, the terminal device will predict the time of sending the data packet and notify the base station. The first time interval is adjusted for different data packets, and even if the generation of the data packets is irregular, the base station can allocate corresponding air interface resources to the terminal device at the corresponding moment. in this way. It not only reduces the transmission delay of the data packet, but also saves the air interface resources of the base station.
仍以图4所示的系统400为例进行说明。在图4所示的系统400执行图6所示的发送方法时,处理器411、基带芯片412和基站420之间的信令交互可以如图7所示,包括如下步骤:The system 400 shown in FIG. 4 is still taken as an example for description. When the system 400 shown in FIG. 4 executes the sending 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, including the following steps:
S701:处理器411获取数据包的传输特征。S701: The processor 411 acquires the transmission characteristics of the data packet.
步骤S701的相关内容请参见图5对应实施例中的S501的描述,这里不再赘述。For the related content of step S701, please refer to the description of S501 in the corresponding embodiment of FIG. 5, and details are not repeated here.
S702:处理器411根据所述数据包的传输特征得到所述数据包的第一发送时间信息和数据包的大小。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.
本申请实施例中,处理器411可以根据数据包的传输特征发送预测数据包的时刻,从而得到第一发送时间信息。例如,处理器411可以先根据数据包的传输特征预测基带芯片412发送数据包的时刻,并确定第二时间间隔。接着处理器411可以设置发送SR消息的时刻,并根据基带芯片412发送数据包的时刻确定第二发送时间信息。将第二发送时间信息与第二时间间隔相减,得到的结果即为第一时间间隔。处理器411可以将第一时间间隔确定为第一发送时间信息。In this embodiment of the present application, the processor 411 may send the predicted time of the data packet according to the transmission characteristics of the data packet, so as to obtain the first sending time information. For example, the processor 411 may first 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. Next, the processor 411 can set the time for sending the SR message, and determine the second sending time information according to the time when the baseband chip 412 sends the data packet. The second transmission time information is subtracted from the second time interval, and the obtained result is the first time interval. The processor 411 may determine the first time interval as the first transmission time information.
举例说明。假设基带芯片412接收到数据包的第一发送时间信息和大小后立即向基站发送SR消息,且基带芯片412接收到数据包后立即向基站发送数据包。那么第二时间间隔可以视为步骤S703与步骤S704之间的时间间隔,第二发送时间信息可以视为为步骤 S703与步骤S708之间的时间间隔。这样,将第二发送时间信息与第二时间间隔做差,得到的结果即为步骤S704与步骤S708之间的时间间隔,相当于基带芯片412发送第一消息与基带芯片412发送数据包之间的时间间隔,即第一时间间隔。可见,通过第二发送时间信息和第二时间间隔,终端设备可以确定第一发送时间信息。for example. It is assumed that the baseband chip 412 sends the SR message to the base station immediately after receiving the first sending 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. Then the second time interval can be regarded as the time interval between step S703 and step S704, and the second sending time information can be regarded as the time interval between step S703 and step S708. In this way, the difference between the second sending time information and the second time interval is obtained, and the obtained result is the time interval between steps S704 and S708, which is equivalent to the time between the baseband chip 412 sending the first message and the baseband chip 412 sending the data packet time interval, that is, the first time interval. It can be seen that, through the second sending time information and the second time interval, the terminal device can determine the first sending time information.
关于确定数据包大小的具体描述可以参见图5对应实施例中S505的描述,这里不再赘述。For the specific description of determining the size of the data packet, reference may be made to the description of S505 in the embodiment corresponding to FIG. 5 , and details are not repeated here.
S703:处理器411向基带芯片412通告第一发送时间信息和数据包的大小。S703: The processor 411 notifies the baseband chip 412 of the first sending time information and the size of the data packet.
步骤S701的相关内容请参见图5对应实施例中的S503和S506的描述,这里不再赘述。For the related content of step S701, please refer to the description of S503 and S506 in the corresponding embodiment of FIG. 5, and details are not repeated here.
S704:基带芯片412向基站420发送第一消息。S704: The baseband chip 412 sends the first message to the base station 420.
基带芯片412可以向基站发送第一消息,该第一消息中可以携带第一发送时间信息和数据包的大小。以第一消息为BSR消息为例,基带芯片412可以先根据第二发送时间信息向基站420发送SR消息。基站420可以接收该SR消息,为终端设备410分配用于发送BSR消息的空口资源,并向终端设备410的基带芯片412返回UL grant消息。在接收到UL grant消息后,基带芯片412可以根据第一发送时间信息和数据包的大小生成第一消息并发送给基站420。例如基带芯片412可以将第一发送时间信息和数据包的大小添加至第一消息的保留字段中。The baseband chip 412 may send a first message to the base station, where the first message may carry the first sending time information and the size of the data packet. Taking the first message as a 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 the terminal device 410 for sending the BSR message, and return a UL grant message to the baseband chip 412 of the terminal device 410. After receiving the UL grant message, the baseband chip 412 may generate a first message according to the first transmission time information and the size of the data packet and send it to the base station 420. For example, the baseband chip 412 may add the first transmission time information and the size of the data packet to the reserved field of the first message.
S705:基站420根据第一发送时间信息和所述数据包的大小为终端设备410分配空口资源。S705: The base station 420 allocates air interface resources to the terminal device 410 according to the first transmission time information and the size of the data packet.
在接收到第一消息后,基站420可以先根据第一消息确定基带芯片412发送该第一消息的时刻。具体的确定方法可以参见图6对应实施例中的S602的描述,这里不再赘述。After receiving the first message, the base station 420 may first 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 corresponding embodiment of FIG. 6 , and details are not repeated here.
在确定基带412发送第一消息的时间后,基站420可以根据第一发送时间信息和该基带芯片412发送第一消息的时刻确定为终端设备410分配空口资源的时间。例如,基站420可以将基带芯片发送第一消息之后,再经过第一间隔时间后的时间确定为为终端设备分配空口资源和发送空口资源信息的时刻。After determining the time when the baseband 412 sends the first message, the base station 420 may determine the time to allocate air interface resources to the terminal device 410 according to the first sending time information and the time when the baseband chip 412 sends the first message. For example, the base station 420 may determine the time after the baseband chip sends the first message and then after the first interval time as the time for allocating air interface resources to the terminal device and sending air interface resource information.
可选地,考虑到发送空口资源信息需要一定的时间,基站420还可以提前为终端设备410分配空口资源和发送空口资源信息。例如,基站420可以提前1ms为终端设备410分配空口资源,即在第1.009秒为终端设备410分配空口资源并发送空口资源信息。Optionally, considering that it takes a certain time to send 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 1 ms in advance, that is, allocate air interface resources to the terminal device 410 and send the air interface resource information at the 1.009th second.
另外,基站420还可以根据数据包的大小确定为终端设备分配空口资源的多少,关于这部分的描述可以参见图3对应实施例中S306的描述,这里不再赘述。In addition, the base station 420 can also determine how much air interface resources are allocated to the terminal device according to the size of the data packet. For the description of this part, please refer to the description of S306 in the corresponding embodiment of FIG. 3 , which will not be repeated here.
S706:基站420向基带芯片412发送分配的空口资源信息。S706: The base station 420 sends the allocated air interface resource information to the baseband chip 412.
步骤S706的相关内容请参见图5对应实施例中的S509的描述,这里不再赘述。For the related content of step S706, please refer to the description of S509 in the corresponding embodiment of FIG. 5, which will not be repeated here.
S707:处理器411生成待发送的数据包。S707: The processor 411 generates a data packet to be sent.
步骤S707的相关内容请参见图5对应实施例中的S510的描述,这里不再赘述。For related content of step S707, please refer to the description of S510 in the corresponding embodiment of FIG. 5, and details are not repeated here.
S708:处理器411向基带芯片412发送所述待发送的数据包。S708: The processor 411 sends the data packet to be sent to the baseband chip 412.
步骤S708的相关内容请参见图5对应实施例中的S511的描述,这里不再赘述。For the related content of step S708, please refer to the description of S511 in the corresponding embodiment of FIG. 5, which will not be repeated here.
S709:基带芯片412利用分配的空口资源向基站420发送数据包。S709: The baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
步骤S708的相关内容请参见图5对应实施例中的S512的描述,这里不再赘述。For the related content of step S708, please refer to the description of S512 in the corresponding embodiment of FIG. 5, which will not be repeated here.
在本申请实施例中,通过对数据包的传输特征进行分析,处理器411可以在发送数据包前预测数据包的大小和第一发送时间信息。如此,基站420就可以根据第一发送时间信息确定需要为终端设备410分配空口资源的时刻,根据数据包的大小确定为终端设备410分配的空口资源的频段,从而在对应的时刻为终端设备410分配对应的空口资源,节省了基站的空口资源。In this embodiment of the present application, by analyzing the transmission characteristics of the data packets, the processor 411 can predict the size of the data packets and the first sending time information before sending the data packets. In this way, the base station 420 can determine the time when the air interface resources need to be allocated to the terminal device 410 according to the first transmission time information, and determine the frequency band of the air interface resources allocated for the terminal device 410 according to the size of the data packet, so as to provide the terminal device 410 at the corresponding time. Allocating the corresponding air interface resources saves the air interface resources of the base station.
另外,当终端设备需要不定时地向基站发送多个数据包时,采用本申请实施例提供的方法可以针对每个数据包进行预测,确定每个数据包对应的第一时间间隔,并将基站发送每个数据包对应的第一时间间隔和数据包的大小。这样,可以针对不同数据包调整第一时间间隔,即使数据包的生成缺乏规律,基站也能够在对应的时间为终端设备分配对应的空口资源。如此,既降低了数据包的传输时延,又节约了基站的空口资源。In addition, when the terminal device needs to send multiple data packets to the base station from time to time, the method provided by the embodiment of the present application can predict each data packet, determine the first time interval corresponding to each data packet, and send the base station to the base station. The first time interval and the size of the data packet corresponding to each data packet are sent. In this way, the first time interval can be adjusted for different data packets, and even if the generation of data packets is irregular, the base station can allocate corresponding air interface resources to the terminal device at the corresponding time. In this way, the transmission delay of the data packet is reduced, and the air interface resources of the base station are saved.
在上述实施例提供的发送方法中,基站可以根据第一发送时间信息确定为终端设备分配空口资源的时刻。虽然能够节约空口资源,但是需要基站在等待一段时间间隔后才为终端设备分配空口资源。这样,不但需要对基站的软件程序进行修改,还需要对基站和终端设备之间的接口进行修改。为了减少对基站的修改,本申请实施例还提供了另一种发送方法。参见图8,图8为本申请实施例提供的另一种发送方法的交互示意图,该发送方法包括如下步骤:In the sending method provided by the foregoing embodiment, the base station may determine the time to allocate air interface resources to the terminal device according to the first sending time information. Although air interface resources can be saved, the base station needs to wait for a period of time before allocating air interface resources to terminal devices. In this way, 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 the modification to the base station, the embodiment of the present application further provides another sending method. Referring to FIG. 8, FIG. 8 is an interactive schematic diagram of another sending method provided by an embodiment of the present application. The sending method includes the following steps:
S801:终端设备获取数据包的传输特征。S801: The terminal device acquires the transmission characteristic of the data packet.
步骤S801的相关内容请参见图2对应实施例中的S201的描述,这里不再赘述。For the related content of step S801, please refer to the description of S201 in the corresponding embodiment of FIG. 2, which will not be repeated here.
S802:终端设备根据传输特征得到数据包的发送时间信息。S802: The terminal device obtains the sending time information of the data packet according to the transmission feature.
在获取数据包的传输特征后,终端设备可以根据数据包的传输特征得到数据包的发送时间信息。其中,发送时间信息为终端设备向基站发送数据包的时间信息,例如可以是终端设备生成待发送的数据包的时刻,或终端设备向基站发送数据包的时刻。与图2对应实施例中步骤S202类似,终端设备同样可以通过模型预测数据包的发送时间信息。After acquiring the transmission characteristics of the data packets, the terminal device can obtain the transmission time information of the data packets according to the transmission characteristics of the data packets. The sending time information is the time information when the terminal device sends the data packet to the base station, for example, the time when the terminal device generates the data packet to be sent, or the time when the terminal device sends the data packet to the base station. Similar to step S202 in the embodiment corresponding to FIG. 2 , the terminal device can also predict the sending time information of the data packet through the model.
在一些可能的实现方式中,终端设备还可以根据数据包的传输特征预测数据包的大小。关于预测数据包大小的具体描述可以参见图5对应实施例中S505的描述,这里不再赘述。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 specific description of the predicted data packet size, reference may be made to the description of S505 in the embodiment corresponding to FIG. 5 , and details are not repeated here.
S803:终端设备根据数据包的发送时间信息确定第一消息的发送时间。S803: The terminal device determines the sending time of the first message according to the sending time information of the data packet.
在确定数据包的发送时间信息后,终端设备可以根据数据包的发送时间信息确定第一消息的发送时间,即终端设备发送第一消息的时刻。例如,终端设备可以确定基站接收第一消息、基站为终端设备分配空口资源和终端设备接收空口资源信息、到终端设备接收空口资源信息所需的总时长。将该总时长作为终端设备发送第一消息和发送数据包之间的时间间隔。终端设备可以在发送数据包前,且距离发送数据包的时刻为前述间隔时间的时刻作为第一消息的发送时间。这样,终端设备发送第一消息到终端设备接收空口资源信息所需的总时长为该短时间间隔,从终端设备发送第一消息到终端设备发送数据包的时刻同样为该最短时间间隔。也就是说,在将要发送数据包时,终端设备恰好接收到空口资源信息,从而利用空口资源信息向基站发送数据包。After determining the sending time information of the data packet, the terminal device may determine the sending time of the first message according to the sending time information of the data packet, that is, the time when the terminal device sends the first message. For example, the terminal device may determine 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 terminal device to receive air interface resource information, and the terminal device to receive air interface resource information. The total duration is taken as the time interval between the terminal device sending the first message and sending the data packet. The terminal device may take the time for sending the first message before sending the data packet and the time from the time when the data packet is sent is the aforementioned interval time. In this way, the total time required for the terminal device to send the first message to the terminal device to receive the air interface resource information is the short time interval, and the time from the terminal device to send the first message to the terminal device to send the data packet is also the shortest time interval. That is to say, when the data packet is about to be sent, the terminal device just receives the air interface resource information, so as to send the data packet to the base station by using the air interface resource information.
例如,假设终端设备预测到10ms后向基站发送数据包,且基站接收第一消息、基站为 终端设备分配空口资源、基站发送空口资源信息和终端设备接收空口资源信息所需的总时长为1.5ms。那么,终端设备可以确定第一消息的发送时间为8.5ms后。这样,终端设备在8.5ms后发送第一消息,在10ms后发送数据包。在终端设备发送第一消息后,基站可以根据第一消息为终端设备分配空口资源并发送空口资源信息。从终端设备发送第一消息,到终端设备接收空口资源信息的总时长为1.5ms。那么,终端设备会在8.5+1.5=10ms时接收到空口资源信息。即在发送数据包的时刻接收到空口资源信息,从而利用空口资源信息中携带的空口资源向基站发送数据包。For example, it is assumed that the terminal device sends a data packet to the base station after 10ms, 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 the air interface resource information, and the terminal device to receive the air interface resource information is 1.5ms. . Then, the terminal device can determine that the sending time of the first message is after 8.5 ms. In this way, the terminal device sends the first message after 8.5ms, and sends the data packet after 10ms. After the terminal device sends the first message, the base station may allocate air interface resources to the terminal device according to the first message and send air interface resource information. The total duration from when the terminal device sends the first message to when the terminal device receives the air interface resource information is 1.5ms. Then, the terminal device will receive the air interface resource information at 8.5+1.5=10ms. That is, the air interface resource information is received at the moment 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 the embodiment of the present application, considering that it may take time for the terminal device to determine the air interface resource according to the air interface resource information, the terminal device can correspondingly advance the sending time of the first message, thereby ensuring that the terminal device can receive the air interface resource before sending the data packet information.
仍以终端设备预测到10ms后向基站发送数据包,且基站接收第一消息、基站为终端设备分配空口资源、基站发送空口资源信息和终端设备接收空口资源信息所需的总时长为1.5ms为例进行说明。考虑到终端设备根据空口资源信息确定空口资源需要消耗时间,终端设备可以将第一消息的发送时间提前0.1ms,即在8.4ms后发送第一消息。这样,终端设备将在9.9ms后接收到空口资源信息,并对空口资源信息进行解析,确定基站为终端设备分配的空口资源,从而在10ms后利用空口资源发送数据包。It is still assumed that the terminal equipment sends a data packet to the base station after 10ms, and the base station receives the first message, the base station allocates air interface resources to the terminal equipment, the base station sends the air interface resource information and the terminal equipment receives the air interface resource information. The total time required is 1.5ms as example to illustrate. Considering that it takes time for the terminal device to determine 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.1 ms, that is, send the first message after 8.4 ms. In this way, the terminal device will receive the air interface resource information after 9.9ms, analyze the air interface resource information, determine the air interface resources allocated by the base station for the terminal device, and then use the air interface resources to send data packets after 10ms.
S804:响应于到达第一消息的发送时间,终端设备向基站发送第一消息。S804: In response to reaching the sending time of the first message, the terminal device sends the first message to the base station.
在确定第一消息的发送时间后,终端设备不立即向基站发送第一消息,而是在到达第一消息的发送时间时,才向基站发送该第一消息。例如,假设第一消息的发送时间为8.5ms后,终端设备可以在确定第一消息的发送时间后开始计时,并在计时器记录的时间为8.5ms时向基站发送第一消息。After determining the sending time of the first message, the terminal device does not send the first message to the base station immediately, but only sends the first message to the base station when the sending time of the first message arrives. For example, assuming that the sending time of the first message is 8.5ms, the terminal device may start timing after determining the sending time of the first message, and send the first message to the base station when the time recorded by the timer is 8.5ms.
与图2-图7对应的实施例不同,在本申请实施例中,第一消息不携带第一发送时间信息,仅用于向基站请求空口资源。Different from the embodiments corresponding to FIG. 2 to FIG. 7 , in this embodiment of the present application, the first message does not carry the first sending time information, and is only used to request air interface resources from the base station.
在一些可能的实现方式中,第一消息还包括数据包的大小,该数据包的大小用于确定空口资源信息。可选地,第一消息为BSR消息,终端设备可以将数据包的大小携带在BSR消息的LCID字段中。在发送第一消息前,终端设备还可以向基站发送SR消息。In some possible implementations, the first message further includes the size of the 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 the LCID field of the BSR message. Before sending the first message, the terminal device may also send an SR message to the base station.
S805:基站根据第一消息为终端设备分配空口资源。S805: The base station allocates air interface resources to the terminal device according to the first message.
在接收到第一消息后,基站可以根据第一消息为终端设备分配空口资源。与图2-图7对应的实施例不同,在本申请实施例中,基站不根据第一消息确定为终端设备分配空口资源的时间,而是接收到第一消息后按照传统的空口资源调度的方法为终端设备分配空口资源。由于基站不需要根据第一消息确定为终端设备分配空口资源的时间,也不需要在特定的时间为终端分配空口资源,那么,在本申请实施例中,既不需要修改基站的软件程序,也不需要修改基站和终端设备之间的接口。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 the time to allocate air interface resources to the terminal device according to the first message, but schedules the time according to the traditional air interface resource scheduling after receiving the first message. The method allocates air interface resources to terminal equipment. Since the base station does not need to determine the time to allocate air interface resources to the terminal device according to the first message, nor does it need to allocate air interface resources to the terminal at a specific time, in this embodiment of the present application, neither the software program of the base station needs to be modified, nor the There is no need to modify the interface between the base station and the terminal equipment.
S806:基站向终端设备发送分配的空口资源信息。S806: The base station sends the allocated air interface resource information to the terminal device.
步骤S806的相关内容请参见图2对应实施例中的S205的描述,这里不再赘述。For the related content of step S806, please refer to the description of S205 in the corresponding embodiment of FIG. 2, which will not be repeated here.
仍以图4所示的系统400为例进行说明。在图4所示的系统400执行图8所示的发送方法时,处理器411、基带芯片412和基站420之间的信令交互可以如图9所示,包括如下 步骤:The system 400 shown in FIG. 4 is still taken as an example for description. When the system 400 shown in FIG. 4 executes the sending method shown in FIG. 8 , the signaling interaction between the processor 411, the baseband chip 412 and the base station 420 can be as shown in FIG. 9 , including the following steps:
S901:处理器411获取数据包的传输特征。S901: The processor 411 acquires the transmission characteristics of the data packet.
步骤S901的相关内容请参见图5对应实施例中的S501的描述,这里不再赘述。For the related content of step S901, please refer to the description of S501 in the corresponding embodiment of FIG. 5, and details are not repeated here.
S902:处理器411根据所述数据包的传输特征得到所述数据包的发送时间信息和数据包的大小。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.
在获取数据包的传输特征后,处理器411可以根据数据包的传输特征得到数据包的发送时间信息和数据包的大小。其中,数据包的发送时间信息可以是基带芯片412接收到数据包的时刻,也可以是处理器411生成数据包的时刻。After acquiring the transmission characteristics of the data packets, the processor 411 can obtain the transmission time information of the data packets and the size of the data packets according to the transmission characteristics of the data packets. The sending 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.
关于预测数据包大小的具体描述可以参见图5对应实施例中S505的描述,这里不再赘述。For a specific description of the predicted data packet size, reference may be made to the description of S505 in the embodiment corresponding to FIG. 5 , and details are not repeated here.
S903:处理器411向基带芯片412通告数据包的发送时间信息和数据包的大小。S903: The processor 411 notifies the baseband chip 412 of the sending time information of the data packet and the size of the data packet.
在确定数据包的发送时间信息和数据包的大小后,处理器411可以向基带芯片412通告数据包的发送时间信息和数据包的大小。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:基带芯片412根据数据包的发送时间信息确定第一消息的发送时间。S904: The baseband chip 412 determines the sending time of the first message according to the sending time information of the data packet.
在本申请实施例中,基带芯片412可以根据数据包的发送时间信息确定第一消息的发送时间。基带芯片412可以根据基站420接收第一消息所需的时间、基站420为终端设备410分配空口资源所需的时间、基站420向终端设备410发送空口资源信息所需的时间和终端设备410接收空口资源信息所需的时间确定第一消息的发送时间。即,基带芯片412可以预测发送第一消息后,距离接收到基站420发送的空口资源信息的间隔时间。基带芯片412可以将发送数据包的时刻与前述间隔时间做差,得到第一消息的发送时间。In this 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. The baseband chip 412 can be based on 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 the air interface resource information to the terminal device 410, and the time required by the terminal device 410 to receive the air interface The time required for the resource information determines the sending time of the first message. That is, the baseband chip 412 can 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 make the difference between the time of sending the data packet and the aforementioned interval time to obtain the sending time of the first message.
例如,假设数据包的发送时间信息为处理器411执行步骤S509的时间。那么,处理器412可以预测步骤S905-步骤S907所需的总时长(后称第一时长),并将处理器411执行步骤S509前第一时长对应的时间作为第一消息的发送时间,即执行步骤S905的时间。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 can predict the total duration (hereinafter referred to as the first duration) required from steps S905 to S907, and use the time corresponding to the first duration before the processor 411 executes step S509 as the sending time of the first message, that is, execute time of step S905.
在确定第一消息的发送时间后,基带芯片412可以检测是否到达该第一消息的发送时间。若当前时刻不为第一消息的发送时间,基带芯片412可以保持等待状态,不向基站420发送第一消息。After determining the sending time of the first message, the baseband chip 412 can detect whether the sending 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 maintain a waiting state and not send the first message to the base station 420 .
S905:响应于到达第一消息的发送时间,基带芯片412向基站420发送第一消息。S905: In response to reaching the sending time of the first message, the baseband chip 412 sends the first message to the base station 420.
在到达第一消息的发送时间后,基带芯片412可以向基站420发送第一消息。其中,第一消息可以包括数据包的大小,不包括数据包的发送时间或第一消息的发送时间。也就是说,本申请实施例中的第一消息可以是传统空口资源调度技术中的BSR消息。After the sending time of the first message arrives, the baseband chip 412 may send the first message to the base station 420 . The first message may include the size of the data packet, but does not include the sending time of the data packet or the sending time of the first message. That is to say, the first message in this embodiment of the present application may be a BSR message in a conventional air interface resource scheduling technology.
S906:基站420根据数据包的大小为终端设备410分配空口资源。S906: The base station 420 allocates air interface resources to the terminal device 410 according to the size of the data packet.
在接收到第一消息后,基站420可以根据数据包的大小为终端设备410分配空口资源,可选地,基站420可以在接收到第一消息后立刻分配空口资源。After receiving the first message, the base station 420 may allocate air interface resources to the terminal device 410 according to the size of the data packet. Optionally, the base station 420 may allocate air interface resources immediately after receiving the first message.
S907:基站420向基带芯片412发送分配的空口资源信息。S907: The base station 420 sends the allocated air interface resource information to the baseband chip 412.
步骤S907的相关内容请参见图5对应实施例中的S509的描述,这里不再赘述。For the related content of step S907, please refer to the description of S509 in the corresponding embodiment of FIG. 5, which will not be repeated here.
S908:处理器411生成待发送的数据包。S908: The processor 411 generates a data packet to be sent.
步骤S908的相关内容请参见图5对应实施例中的S510的描述,这里不再赘述。For the related content of step S908, please refer to the description of S510 in the corresponding embodiment of FIG. 5, which will not be repeated here.
S909:处理器411向基带芯片412发送所述待发送的数据包。S909: The processor 411 sends the data packet to be sent to the baseband chip 412.
步骤S909的相关内容请参见图5对应实施例中的S511的描述,这里不再赘述。For the related content of step S909, please refer to the description of S511 in the corresponding embodiment of FIG. 5, which will not be repeated here.
S910:基带芯片412利用分配的空口资源向基站420发送数据包。S910: The baseband chip 412 sends a data packet to the base station 420 by using the allocated air interface resources.
步骤S910的相关内容请参见图5对应实施例中的S512的描述,这里不再赘述.For the relevant content of step S910, please refer to the description of S512 in the corresponding embodiment of FIG. 5, which will not be repeated here.
与图5或图7对应实施例相比,在本申请实施例中,基带芯片412可以根据数据包的发送时间信息确定第一消息的发送时间,并等待到达第一消息的发送时间后再向基站420发送第一消息。而基站420在接收到第一消息后不进行等待,而是为终端设备410分配空口资源,执行传统的空口资源分配方法。即,在本申请实施例中,不需要对基站的软件程序或硬件设备进行改进。另外,由于第一消息中不携带第一发送时间信息等预测得到的时间信息,基站420与基带芯片412之间的接口也无需修改。另外,由于第一消息的发送时间是根据预测的数据包的发送时间信息得到的,在终端设备410不发送数据包时,基站不为终端设备410分配空口资源,避免了空口资源的浪费。可见,在本申请实施例中,无需对基站进行改进,仅需对终端设备进行改建即可避免空口资源的浪费。Compared with the embodiment corresponding to FIG. 5 or FIG. 7 , in this 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 wait for the sending time of the first message to arrive before sending the message to the baseband chip 412 . The base station 420 sends the first message. However, the base station 420 does not wait after receiving the first message, but allocates air interface resources to the terminal device 410, and executes the traditional air interface resource allocation method. That is, in this embodiment of the present application, there is no need to improve the software program or hardware device of the base station. In addition, since the first message does not carry the 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 a data packet, the base station does not allocate air interface resources to the terminal device 410, thereby avoiding waste of air interface resources. It can be seen that in the embodiment of the present application, the base station does not need to be improved, and only the terminal equipment needs to be rebuilt to avoid waste of air interface resources.
相应地,参见图10,本申请实施例还提供了一种发送装置1000,所述装置1000应用于终端设备。该装置1000包括处理单元1001和发送单元1002。其中,处理单元1001可以用于执行图2所示实施例中步骤S201和步骤S202,发送单元1002可以用于执行图2所示实施例中的步骤S203。Correspondingly, referring to FIG. 10 , an embodiment of the present application further provides a sending apparatus 1000, where the apparatus 1000 is applied to a terminal device. The apparatus 1000 includes a processing unit 1001 and a sending unit 1002 . The processing unit 1001 may be configured to perform step S201 and step S202 in the embodiment shown in FIG. 2 , and the sending unit 1002 may be configured to perform step S203 in the embodiment shown in FIG. 2 .
例如,处理单元1001,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的第一发送时间信息,所述第一发送时间信息为所述终端设备向基站发送数据包的时间信息。发送单元1002,用于向所述基站发送第一消息,所述第一消息包括所述第一发送时间信息,所述第一消息用于指示所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。For example, the processing unit 1001 is configured to acquire transmission characteristics of data packets; obtain first transmission time information of the data packets according to the transmission characteristics, where the first transmission time information is the time when the terminal device sends the data packets to the base station. time information. The sending unit 1002 is configured to send a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send the base station to the base station according to the first sending time information. The terminal device sends the allocated air interface resource 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.
关于发送装置1000的其他内容请参见上文,此处不再赘述。For other contents of the sending apparatus 1000, please refer to the above, and details are not repeated here.
相应地,参见图11,本申请实施例还提供了一种发送装置1100,所述装置1100应用于基站。该装置1100包括接收单元1101和发送单元1102。其中,接收单元1101可以用于接收来自终端设备的第一消息,发送单元1102可以用于执行图2所示实施例中的步骤S205。可选地,图2所示实施例中的步骤S201可以由接收单元1101或发送单元1102执行,也可以由处理单元1103(图11中未示出)执行。Correspondingly, referring to FIG. 11 , an embodiment of the present application further provides a sending apparatus 1100, where the apparatus 1100 is applied to a base station. The apparatus 1100 includes a receiving unit 1101 and a sending unit 1102 . The receiving unit 1101 may be configured to receive the first message from the terminal device, and the sending unit 1102 may be configured to perform step S205 in the embodiment shown in FIG. 2 . Optionally, step S201 in the embodiment shown in FIG. 2 may be performed by the receiving unit 1101 or the sending unit 1102, or may be performed by the processing unit 1103 (not shown in FIG. 11 ).
例如,处理单元1101,用于接收来自终端设备的第一消息,所述第一消息包括数据包的第一发送时间信息,所述数据包的第一发送时间信息为所述终端设备向所述基站发送数据包的时间信息。发送单元1102,用于根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。For example, the processing unit 1101 is 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 a message sent by the terminal device to the The time information when the base station sends the data packet. A sending unit 1102, configured to send the allocated air interface resource information to the terminal device according to the first sending time information, where the air interface resource corresponding to the air interface resource information is used by the terminal device to send the data packet to the base station .
关于发送装置1100的其他内容请参见上文,此处不再赘述。For other contents of the sending apparatus 1100, please refer to the above, and details are not repeated here.
相应地,参见图12,本申请实施例还提供了一种发送装置1200,所述装置1200应用 于终端设备。该装置1200包括处理单元1201和发送单元1202。其中,处理单元1201可以用于执行图8所示实施例中步骤S801、步骤S208和步骤S802,发送单元1202可以用于执行图2所示实施例中的步骤S804。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 includes a processing unit 1201 and a sending unit 1202 . The processing unit 1201 may be configured to perform step S801 , step S208 and step S802 in the embodiment shown in FIG. 8 , and the sending unit 1202 may be configured to perform step S804 in the embodiment shown in FIG. 2 .
例如,处理单元1201,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的发送时间信息,所述发送时间信息为所述终端设备向基站发送数据包的时间信息;根据所述数据包的发送时间信息确定第一消息的发送时间。发送单元1202,用于响应于到达所述第一消息的发送时间,发送所述第一消息,所述第一消息用于获取空口资源信息,所述空口资源信息对应的空口资源是所述基站为所述终端设备分配的空口资源。For example, the processing unit 1201 is configured to acquire the transmission characteristics of the data packets; obtain the transmission time information of the data packets according to the transmission characteristics, where the transmission time information is the time information when the terminal device sends the data packets to the base station; The sending time information of the data packet determines the sending time of the first message. A sending unit 1202, configured to send the first message in response to the sending time of 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 the base station Air interface resources allocated for the terminal device.
关于发送装置1200的其他内容请参见上文,此处不再赘述。For other contents of the sending apparatus 1200, please refer to the above, and details are not repeated here.
参见图13,本申请实施例还提供了一种终端设备1300,所述终端设备1300包括:至少一个处理器1302和至少一个通信接口1303;进一步地,该终端设备中还可以包括至少一个存储器1301,所述存储器1301用于存储计算机程序或指令。所述存储器1301既可以是处理器内的存储器,也可以是处理器之外的存储器。装置1000的功能可以在终端设备1300上实现。在实现图10所示实施例的情况下,且图10实施例中所描述的各单元为通过软件实现的情况下,执行图10中的处理单元1001和发送单元1002功能所需的软件或程序代码存储在存储器1301中。另外,装置1200的功能可以在终端设备1300上实现。在实现图12所示实施例的情况下,且图12实施例中所描述的各单元为通过软件实现的情况下,执行图12中的处理单元1201和发送单元1202功能所需的软件或程序代码存储在存储器1301中。处理器1302,用于执行存储器1301中的指令,使得终端设备1300执行上述图2所示实施例中步骤S201、步骤S202或步骤S203中的任意一个或多个,或使得终端设备1300执行上述图8所述实施例中步骤S801、步骤S802、步骤S803或步骤S804中的任意一个或多个;通信接口1303,用于与其他基站进行通信。Referring to FIG. 13, an embodiment of the present application further provides a terminal device 1300. 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 , the memory 1301 is used to store computer programs or instructions. The memory 1301 may be a memory inside the processor or a memory outside the processor. The functions of the apparatus 1000 may be implemented on the terminal device 1300 . In the case where the embodiment shown in FIG. 10 is implemented, and each unit described in the embodiment in FIG. 10 is implemented by software, the software or program required to execute the functions of the processing unit 1001 and the sending unit 1002 in FIG. 10 The code is stored in memory 1301. In addition, the functions of the apparatus 1200 may be implemented on the terminal device 1300 . In the case where the embodiment shown in FIG. 12 is implemented, and each unit described in the embodiment in FIG. 12 is implemented by software, the software or programs required to execute the functions of the processing unit 1201 and the sending unit 1202 in FIG. 12 The code is stored in memory 1301. The processor 1302 is configured to execute the instructions in the memory 1301, so that the terminal device 1300 executes any one or more of step S201, step S202 or step S203 in the embodiment shown in FIG. 8. Any one or more of step S801, step S802, step S803 or step S804 in the described embodiment; the communication interface 1303 is used to communicate with other base stations.
存储器1301、处理器1302和通信接口1303通过总线1304相互连接;总线1304可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The memory 1301, the processor 1302 and the communication interface 1303 are connected to each other through a bus 1304; the bus 1304 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus Wait. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
在具体实施例中,处理器1302可以用于获取数据包的传输特征;根据所述传输特征得到所述数据包的第一发送时间信息,所述第一发送时间信息为所述终端设备向基站发送数据包的时间信息;向所述基站发送第一消息,所述第一消息包括所述第一发送时间信息,所述第一消息用于指示所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。该处理器1302的详细处理过程请参考上述图2所示实施例及其他的详细描述,这里不再赘述。In a specific embodiment, the processor 1302 may be configured to acquire transmission characteristics of the data packets; obtain first transmission time information of the data packets according to the transmission characteristics, where the first transmission time information is the transmission time from the terminal device to the base station time information for sending the data packet; sending a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send a message to the base station according to the first sending time information The terminal device sends the allocated air interface resource 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. For the detailed processing process of the processor 1302, please refer to the above-mentioned embodiment shown in FIG. 2 and other detailed descriptions, which will not be repeated here.
通信接口1303用于与其他设备进行交互。具体的过程请参考前述实施例的详细描述,这里不再赘述。The communication interface 1303 is used to interact with other devices. For the specific process, please refer to the detailed description of the foregoing embodiments, which will not be repeated here.
上述存储器1301可以是随机存取存储器(random-access memory,RAM)、闪存(flash)、只读存储器(read only memory,ROM)、可擦写可编程只读存储器(erasable programmable read only memory,EPROM)、电可擦除可编程只读存储器(electrically erasable programmable read only memory,EEPROM)、寄存器(register)、硬盘、移动硬盘、CD-ROM或者本领域技术人员知晓的任何其他形式的存储介质。The above-mentioned memory 1301 can be random-access memory (random-access memory, RAM), flash memory (flash), read only memory (read only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM) ), electrically erasable programmable read only memory (electrically erasable programmable read only memory, EEPROM), register (register), hard disk, removable hard disk, CD-ROM or any other form of storage medium known to those skilled in the art.
上述处理器1302例如可以是中央处理器(central processing unit,CPU)、通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The above-mentioned processor 1302 may be, for example, a central processing unit (central processing unit, CPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application-specific integrated circuit, ASIC), field programmable A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
上述通信接口1303例如可以是接口卡等,可以为以太(ethernet)接口或异步传输模式(asynchronous transfer mode,ATM)接口。The above-mentioned communication interface 1303 can be, for example, an interface card, etc., and can be an Ethernet (ethernet) interface or an asynchronous transfer mode (Asynchronous transfer mode, ATM) interface.
图14是本申请实施例提供的一种终端设备1400的结构示意图。图2实施例及其他实施例所示的终端设备均可以通过图14所示的设备来实现。参见图14所示的设备结构示意图。设备1400包括主控板和一个或多个接口板,主控板与接口板通信连接。主控板也称为主处理单元(main processing unit,MPU)或路由处理卡(route processor card),主控板负责对设备1400中各个组件的控制和管理,包括路由计算、设备管理和维护功能。接口板也称为线卡(line processing unit,LPU)或线卡(line card),用于转发数据。在一些实施例中,设备1400也可以包括交换网板,交换网板与主控板、接口板通信连接,交换网板用于转发接口板之间的数据,交换网板也可以称为交换网板单元(switch fabric unit,SFU)。接口板包括中央处理器、存储器、转发芯片和物理接口卡(physical interface card,PIC)。中央处理器与存储器、网络处理器和物理接口卡分别通信连接。存储器用于存储转发表。转发芯片用于基于存储器中保存的转发表转发接收到的数据报文,如果数据报文的目的地址为设备1400的地址,则将该数据报文上送至中央处理器(central processing unit,CPU),如中央处理器1431处理;如果数据报文的目的地址不是设备1400的地址,则根据该目的地址从转发表中查找到该目的地址对应的下一跳和出接口,将该数据报文转发到该目的地址对应的出接口。转发芯片可以是网络处理器(network processor,NP)。PIC也称为子卡,可安装在接口板上,负责将光电信号转换为数据报文并对数据报文进行合法性检查后转发给转发芯片处理。在一些实施例中,中央处理器也可执行转发芯片的功能,比如基于通用CPU实现软件转发,从而接口板中不需要转发芯片。主控板、接口板、交换网板之间的通信连接可以通过总线来实现。在一些实施例中,转发芯片可以通过专用集成电路(application-specific integrated circuit,ASIC)或现场可编程门阵列(field programmable gate array,FPGA)实现。FIG. 14 is a schematic structural diagram of a terminal device 1400 provided by an embodiment of the present application. The terminal devices shown in the embodiment of FIG. 2 and other embodiments may be implemented by the devices shown in FIG. 14 . Refer to the schematic diagram of the device structure shown in FIG. 14 . The device 1400 includes a main control board and one or more interface boards, and the main control board is communicatively connected to the interface boards. The main control board is also called the main processing unit (MPU) or the route processing card (route processor card). The main control board is responsible for the control and management of each component in the device 1400, including routing calculation, device management and maintenance functions. . Interface boards, also known as line processing units (LPUs) or line cards, are used to forward data. In some embodiments, the device 1400 may also include a switch fabric board, the switch fabric board is communicatively connected to the main control board and the interface board, the switch fabric board is used to forward data between the interface boards, and the switch fabric board may also be referred to as a switch fabric Board unit (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 processing unit is connected in communication with the memory, the network processor and the physical interface card, respectively. The memory is used to store the forwarding table. The forwarding chip is used to forward the received data message based on the forwarding table stored in the memory. If the destination address of the data message is the address of the device 1400, the data message is sent to the central processing unit (CPU). ), as processed by the central processing unit 1431; if the destination address of the data message is not the address of the device 1400, the next hop and outgoing interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data message Forwarding to the outbound interface corresponding to the destination address. The forwarding chip may be a network processor (NP). The PIC, also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets and forwarding the data packets to the forwarding chip for processing after checking the validity of the data packets. In some embodiments, the central processing unit can also perform the function of a forwarding chip, for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board. The communication connection between the main control board, the interface board, and the switching network board can be realized through the bus. In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
在逻辑上,设备1400包括控制面和转发面,控制面包括主控板和中央处理器,转发面包括执行转发的各个组件,比如存储器、PIC和NP。控制面执行路由器、生成转发表、处理信令和协议报文、配置与维护设备的状态等功能,控制面将生成的转发表下发给转发面, 在转发面,NP基于控制面下发的转发表对设备1400的PIC收到的报文查表转发。控制面下发的转发表可以保存在存储器中。在有些实施例中,控制面和转发面可以完全分离,不在同一设备上。下面将结合图2所示的实施例和其他实施例对上述过程进行简要说明。Logically, the device 1400 includes a control plane and a forwarding plane, the control plane includes a main control board and a central processing unit, and the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP. The control plane performs functions such as routers, generating forwarding tables, processing signaling and protocol packets, and configuring and maintaining device status. The control plane delivers the generated forwarding tables to the forwarding plane. On the forwarding plane, the NP is based on the The forwarding table forwards the packets received by the PIC of the device 1400 by looking up the table. The forwarding table issued by the control plane can be stored in the memory. In some embodiments, the control plane and forwarding plane may be completely separate and not on the same device. The above process will be briefly described below with reference to the embodiment shown in FIG. 2 and other embodiments.
如图2所述的方法所示,设备1400的CPU1431可以获取数据包的传输特征;根据所述传输特征得到所述数据包的发送时间信息,所述发送时间信息为所述终端设备向基站发送数据包的时间信息;根据所述数据包的发送时间信息确定第一消息的发送时间;响应于到达所述第一消息的发送时间,发送所述第一消息,所述第一消息用于获取空口资源信息,所述空口资源信息对应的空口资源是所述基站为所述终端设备分配的空口资源。As shown in the method shown in FIG. 2 , the CPU 1431 of the device 1400 can obtain the transmission characteristics of the data packets; and obtain the transmission time information of the data packets according to the transmission characteristics, and the transmission time information is the transmission time information sent by the terminal device to the base station. time information of the data packet; determining the sending time of the first message according to the sending time information of the data packet; sending the first message in response to reaching the sending time of the first message, and the first message is used to obtain Air interface resource information, where the air interface resource corresponding to the air interface resource information is the air interface resource allocated by the base station to the terminal device.
本发明实施例提供的终端设备可对应于上述图2所述方法实施例或图8所述的方法实施例中的终端设备,可以实现上述各个方法实施例中的终端设备所具有的功能和/或所实施的各种步骤和方法。以上仅为简要的示例性描述,为了简洁,在此不再赘述。The terminal device provided in this 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 and/or functions of the terminal device in the above method embodiments. or the various steps and methods implemented. The above is only a brief exemplary description, and for the sake of brevity, details are not repeated here.
值得说明的是,主控板可能有一块或多块,有多块的时候可以包括主用主控板和备用主控板。接口板可能有一块或多块,终端设备的数据处理能力越强,提供的接口板越多。接口板上的物理接口卡也可以有一块或多块。交换网板可能没有,也可能有一块或多块,有多块的时候可以共同实现负荷分担冗余备份。在集中式转发架构下,终端设备可以不需要交换网板,接口板承担整个系统的业务数据的处理功能。在分布式转发架构下,终端设备可以有至少一块交换网板,通过交换网板实现多块接口板之间的数据交换,提供大容量的数据交换和处理能力。所以,分布式架构的终端设备的数据接入和处理能力要大于集中式架构的设备。可选地,终端设备的形态也可以是只有一块板卡,即没有交换网板,接口板和主控板的功能集成在该一块板卡上,此时接口板上的中央处理器和主控板上的中央处理器在该一块板卡上可以合并为一个中央处理器,执行两者叠加后的功能,这种形态设备的数据交换和处理能力较低(例如,低端交换机或路由器等网络设备)。具体采用哪种架构,取决于具体的组网部署场景,此处不做任何限定。It is worth noting that there may be one or more main control boards, and when there are multiple main control boards, they may include the main main control board and the backup main control board. There may be one or more interface boards. The stronger the data processing capability of the terminal equipment, the more interface boards are provided. There can also be one or more physical interface cards on the interface board. There may be no switch fabric boards, or there may be one or more boards. When there are multiple boards, load sharing and redundancy backup can be implemented together. Under the centralized forwarding architecture, the terminal device does not need to switch the network board, and the interface board is responsible for the processing function of the service data of the entire system. Under the distributed forwarding architecture, a terminal device can have at least one switching network board, and the switching network board realizes data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of terminal devices in a distributed architecture are greater than those in a centralized architecture. Optionally, the terminal device can also be in the form of only one board, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on this board. At this time, the central processing unit and the main control board on the interface board The central processing unit on the board can be combined into a central processing unit on this board to perform the functions of the two superimposed, the data exchange and processing capacity of this form of equipment is low (for example, low-end switches or routers and other networks. equipment). The specific architecture used depends on the specific networking deployment scenario, and there is no restriction here.
参见图15,本申请实施例还提供了一种基站1500,所述基站1500包括:至少一个处理器1502和至少一个通信接口1503;进一步地,该基站中还可以包括至少一个存储器1501,所述存储器1501用于存储计算机程序或指令。所述存储器1501既可以是处理器内的存储器,也可以是处理器之外的存储器。装置1100的功能可以在基站1500上实现。在实现图11所示实施例的情况下,且图11实施例中所描述的各单元为通过软件实现的情况下,执行图11中的接收单元1101和发送单元1102功能所需的软件或程序代码存储在存储器1501中。处理器1502,用于执行存储器1501中的指令,使得基站1500执行上述图2所示实施例中步骤S204或步骤S205中的任意一个或多个;通信接口1503,用于与终端设备或其他设备进行通信。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 further include at least one memory 1501, the Memory 1501 is used to store computer programs or instructions. The memory 1501 may be a memory inside the processor or a memory outside the processor. The functions of the apparatus 1100 may be implemented on the base station 1500 . In the case where the embodiment shown in FIG. 11 is implemented, and each unit described in the embodiment in FIG. 11 is implemented by software, the software or program required to execute the functions of the receiving unit 1101 and the transmitting unit 1102 in FIG. 11 The code is stored in memory 1501. The processor 1502 is used to execute the instructions in the memory 1501, so that the base station 1500 executes any one or more of step S204 or step S205 in the above-mentioned embodiment shown in FIG. 2; the communication interface 1503 is used to communicate with terminal equipment or other equipment to communicate.
存储器1501、处理器1502和通信接口1503通过总线1504相互连接;总线1504可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总 线或一种类型的总线。The memory 1501, the processor 1502 and the communication interface 1503 are connected to each other through a bus 1504; the bus 1504 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus Wait. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
在具体实施例中,处理器1502可以接收来自终端设备的第一消息,所述第一消息包括数据包的第一发送时间信息,所述数据包的第一发送时间信息为所述终端设备向所述基站发送数据包的时间信息;根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据。该处理器1502的详细处理过程请参考上述图2所示实施例及其他的详细描述,这里不再赘述。In a specific embodiment, the processor 1502 may 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 a message sent by the terminal device to The time information of the data packet sent by the base station; according to the first sending time information, the allocated air interface resource information is sent to the terminal device, and the air interface resource corresponding to the air interface resource information is used for the terminal device to send to the base station. the data. For the detailed processing process of the processor 1502, please refer to the above-mentioned embodiment shown in FIG. 2 and other detailed descriptions, which will not be repeated here.
通信接口1503用于与其他设备进行交互。具体的过程请参考前述实施例的详细描述,这里不再赘述。 Communication interface 1503 is used to interact with other devices. For the specific process, please refer to the detailed description of the foregoing embodiments, which will not be repeated here.
上述存储器1501可以是随机存取存储器(random-access memory,RAM)、闪存(flash)、只读存储器(read only memory,ROM)、可擦写可编程只读存储器(erasable programmable read only memory,EPROM)、电可擦除可编程只读存储器(electrically erasable programmable read only memory,EEPROM)、寄存器(register)、硬盘、移动硬盘、CD-ROM或者本领域技术人员知晓的任何其他形式的存储介质。The above-mentioned memory 1501 can be random-access memory (random-access memory, RAM), flash memory (flash), read only memory (read only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM) ), electrically erasable programmable read only memory (electrically erasable programmable read only memory, EEPROM), register (register), hard disk, removable hard disk, CD-ROM or any other form of storage medium known to those skilled in the art.
上述处理器1502例如可以是中央处理器(central processing unit,CPU)、通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 1502 can 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 A field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
上述通信接口1503例如可以是接口卡等,可以为以太(ethernet)接口或异步传输模式(asynchronous transfer mode,ATM)接口。The above-mentioned communication interface 1503 may be, for example, an interface card, etc., and may be an Ethernet (ethernet) interface or an asynchronous transfer mode (Asynchronous transfer mode, ATM) interface.
图16是本申请实施例提供的一种基站1600的结构示意图。图2实施例及其他实施例所示的基站均可以通过图16所示的设备来实现。参见图16所示的设备结构示意图。设备1600包括主控板和一个或多个接口板,主控板与接口板通信连接。主控板也称为主处理单元(main processing unit,MPU)或路由处理卡(route processor card),主控板负责对设备1600中各个组件的控制和管理,包括路由计算、设备管理和维护功能。接口板也称为线卡(line processing unit,LPU)或线卡(line card),用于转发数据。在一些实施例中,设备1600也可以包括交换网板,交换网板与主控板、接口板通信连接,交换网板用于转发接口板之间的数据,交换网板也可以称为交换网板单元(switch fabric unit,SFU)。接口板包括中央处理器、存储器、转发芯片和物理接口卡(physical interface card,PIC)。中央处理器与存储器、网络处理器和物理接口卡分别通信连接。存储器用于存储转发表。转发芯片用于基于存储器中保存的转发表转发接收到的数据报文,如果数据报文的目的地址为设备1600的地址,则将该数据报文上送至中央处理器(central processing unit,CPU),如中央处理器1631处理;如果数据报文的目的地址不是设备1600的地址,则根据该目的地址从转发表中查找到该目的地址对应的下一跳和出接口,将该数据报文转发到该目的地址对应的出接口。转发芯片可以是网络处理器(network processor,NP)。PIC也称为子卡,可安装在接口板上,负责将光电信号转换为数据报文并对数据报文进行合法性检查后转发给转 发芯片处理。在一些实施例中,中央处理器也可执行转发芯片的功能,比如基于通用CPU实现软件转发,从而接口板中不需要转发芯片。主控板、接口板、交换网板之间的通信连接可以通过总线来实现。在一些实施例中,转发芯片可以通过专用集成电路(application-specific integrated circuit,ASIC)或现场可编程门阵列(field programmable gate array,FPGA)实现。FIG. 16 is a schematic structural diagram of a base station 1600 provided by an embodiment of the present application. The base stations shown in the embodiment of FIG. 2 and other embodiments may be implemented by the device shown in FIG. 16 . Refer to 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, and the main control board is communicatively connected to the interface boards. The main control board is also called the main processing unit (MPU) or route processor card. The main control board is responsible for the control and management of each component in the device 1600, including routing calculation, device management and maintenance functions . Interface boards, also known as line processing units (LPUs) or line cards, are used to forward data. In some embodiments, the device 1600 may also include a switch fabric board, the switch fabric board is communicatively connected to the main control board and the interface board, the switch fabric board is used to forward data between the interface boards, and the switch fabric board may also be referred to as a switch fabric Board unit (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 processing unit is connected in communication with the memory, the network processor and the physical interface card, respectively. The memory is used to store the forwarding table. The forwarding chip is used to forward the received data message based on the forwarding table stored in the memory. If the destination address of the data message is the address of the device 1600, the data message is sent to the central processing unit (CPU). ), as processed by the central processing unit 1631; if the destination address of the data message is not the address of the device 1600, the next hop and the outgoing interface corresponding to the destination address are found from the forwarding table according to the destination address, and the data message Forwarding to the outbound interface corresponding to the destination address. The forwarding chip may be a network processor (NP). The PIC, also known as a daughter card, can be installed on the interface board and is responsible for converting photoelectric signals into data packets, checking the validity of the data packets, and then forwarding them to the forwarding chip for processing. In some embodiments, the central processing unit can also perform the function of a forwarding chip, for example, software forwarding is implemented based on a general-purpose CPU, so that a forwarding chip is not required in the interface board. The communication connection between the main control board, the interface board, and the switching network board can be realized through the bus. In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
在逻辑上,设备1600包括控制面和转发面,控制面包括主控板和中央处理器,转发面包括执行转发的各个组件,比如存储器、PIC和NP。控制面执行路由器、生成转发表、处理信令和协议报文、配置与维护设备的状态等功能,控制面将生成的转发表下发给转发面,在转发面,NP基于控制面下发的转发表对设备1600的PIC收到的报文查表转发。控制面下发的转发表可以保存在存储器中。在有些实施例中,控制面和转发面可以完全分离,不在同一设备上。下面将结合图2所示的实施例和其他实施例对上述过程进行简要说明。Logically, the device 1600 includes a control plane and a forwarding plane, the control plane includes a main control board and a central processing unit, and the forwarding plane includes various components that perform forwarding, such as memory, PIC, and NP. The control plane performs functions such as routers, generating forwarding tables, processing signaling and protocol packets, and configuring and maintaining device status. The control plane delivers the generated forwarding tables to the forwarding plane. The forwarding table looks up and forwards the packets received by the PIC of the device 1600. The forwarding table issued by the control plane can be stored in the memory. In some embodiments, the control plane and forwarding plane may be completely separate and not on the same device. The above process will be briefly described below with reference to the embodiment shown in FIG. 2 and other embodiments.
如图2所述的方法所示,基站1600的CPU1631可以接收来自终端设备的第一消息,所述第一消息包括数据包的第一发送时间信息,所述数据包的第一发送时间信息为所述终端设备向所述基站发送数据包的时间信息;根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。As shown in the method shown in FIG. 2 , the CPU 1631 of the base station 1600 may receive a first message from the terminal device, where the first message includes the first sending time information of the data packet, and the first sending time information of the data packet is: The terminal device sends the time information of the data packet to the base station; according to the first sending time information, the allocated air interface resource information is sent to the terminal device, and the air interface resource corresponding to the air interface resource information is used for the terminal device The data packet is sent to the base station.
本发明实施例提供的基站可对应于上述图2所述方法实施例或其他方法实施例中的基站,可以实现上述各个方法实施例中的基站所具有的功能和/或所实施的各种步骤和方法。以上仅为简要的示例性描述,为了简洁,在此不再赘述。The base station provided in this embodiment of the present invention may correspond to the base station in the method embodiment described in FIG. 2 or other method embodiments, and may implement the functions and/or various steps performed by the base station in the above method embodiments. and method. The above is only a brief exemplary description, and for the sake of brevity, details are not repeated here.
值得说明的是,主控板可能有一块或多块,有多块的时候可以包括主用主控板和备用主控板。接口板可能有一块或多块,基站的数据处理能力越强,提供的接口板越多。接口板上的物理接口卡也可以有一块或多块。交换网板可能没有,也可能有一块或多块,有多块的时候可以共同实现负荷分担冗余备份。在集中式转发架构下,基站可以不需要交换网板,接口板承担整个系统的业务数据的处理功能。在分布式转发架构下,基站可以有至少一块交换网板,通过交换网板实现多块接口板之间的数据交换,提供大容量的数据交换和处理能力。所以,分布式架构的基站的数据接入和处理能力要大于集中式架构的设备。可选地,基站的形态也可以是只有一块板卡,即没有交换网板,接口板和主控板的功能集成在该一块板卡上,此时接口板上的中央处理器和主控板上的中央处理器在该一块板卡上可以合并为一个中央处理器,执行两者叠加后的功能,这种形态设备的数据交换和处理能力较低(例如,低端交换机或路由器等网络设备)。具体采用哪种架构,取决于具体的组网部署场景,此处不做任何限定。It is worth noting that there may be one or more main control boards, and when there are multiple main control boards, they may include the main main control board and the backup main control board. There may be one or more interface boards. The stronger the data processing capability of the base station, the more interface boards are provided. There can also be one or more physical interface cards on the interface board. There may be no switch fabric boards, or there may be one or more boards. When there are multiple boards, load sharing and redundancy backup can be implemented together. Under the centralized forwarding architecture, the base station does not need to switch the network board, and the interface board undertakes the processing function of the service data of the entire system. Under the distributed forwarding architecture, the base station can have at least one switching network board, and the switching network board realizes data exchange between multiple interface boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the base stations in the distributed architecture are greater than those in the centralized architecture. Optionally, the form of the base station can also be that there is only one board, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on this board. At this time, the central processing unit and the main control board on the interface board are The central processing unit on the board can be combined into a central processing unit on this board to perform the superimposed functions of the two. The data exchange and processing capacity of this form of equipment is low (for example, network equipment such as low-end switches or routers) ). The specific architecture used depends on the specific networking deployment scenario, and there is no restriction here.
此外,本申请实施例还提供了一种计算机可读存储介质,包括计算机程序,当其在计算机上运行时,使得计算机执行上述应用于终端设备1300或基站1400的发送方法。In addition, the embodiments of the present application also provide a computer-readable storage medium, including a computer program, which, when running on a computer, enables the computer to execute the above-mentioned sending method applied to the terminal device 1300 or the base station 1400 .
本申请实施例还提供一种芯片系统,该芯片系统可以位于终端设备,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述任一方法实施例中的方法。An embodiment of the present application further provides a chip system, which may be located in a terminal device, and includes: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is stored When executed by the processor, the chip system is made to implement the method in any of the above method embodiments.
可选地,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。Optionally, the number of processors in the chip system may be one or more. The processor can 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 codes stored in memory.
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。Optionally, there may also be one or more memories in the chip system. The memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips. The setting method of the processor is not particularly limited.
示例性的,该芯片系统可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。Exemplarily, the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller). controller unit, MCU), it can also be a programmable logic device (PLD) or other integrated chips.
应理解,上述方法实施例中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that, each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software. The method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used can be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
本申请中“至少一项(个)”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。本申请中认为“A和/或B”包含单独A,单独B,和A+B。In this application, "at least one item (piece)" refers to one or more, and "multiple" refers to two or more. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple . In this application, "A and/or B" is considered to include A alone, B alone, and A+B.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑模块划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical module division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要获取其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be acquired according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各模块单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件模块单元的形式实现。In addition, each module unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of software module units.
所述集成的单元如果以软件模块单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software module unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should appreciate that, in one or more of the above examples, the functions described in the present 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 medium can be any available medium that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in further detail, and it should be understood that the above descriptions are only specific embodiments of the present invention.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (54)

  1. 一种发送方法,其特征在于,所述方法包括:A sending method, characterized in that the method comprises:
    终端设备获取数据包的传输特征;The terminal device obtains the transmission characteristics of the data packet;
    所述终端设备根据所述传输特征得到所述数据包的第一发送时间信息,所述第一发送时间信息为所述终端设备向基站发送数据包的时间信息;obtaining, by the terminal device, first sending time information of the data packet according to the transmission feature, where the first sending time information is time information when the terminal device sends the data packet to the base station;
    所述终端设备向所述基站发送第一消息,所述第一消息包括所述第一发送时间信息,所述第一消息用于指示所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。The terminal device sends a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send the terminal to the terminal according to the first sending time information The device sends the allocated air interface resource 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. 根据权利要求1所述的方法,其特征在于,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;The method according to claim 1, wherein the first sending time information comprises the interval time between sending the data packet to the base station by the terminal device after sending the second message to the base station;
    在所述终端设备向所述基站发送第一消息之后,所述方法还包括:After the terminal device sends the first message to the base station, the method further includes:
    所述终端设备向所述基站发送所述第二消息。The terminal device sends the second message to the base station.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    所述终端设备根据所述数据包的传输特征预测所述数据包的大小,所述第二消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The terminal device predicts the size of the data packet according to the transmission characteristics of the data packet, 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 .
  4. 根据权利要求3所述的方法,其特征在于,所述第二消息为缓冲状态报告BSR消息。The method according to claim 3, wherein the second message is a buffer status report BSR message.
  5. 根据权利要求2-4任一项所述的方法,其特征在于,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。The method according to any one of claims 2-4, wherein the first message is a radio resource control RRC message or a medium access control MAC message.
  6. 根据权利要求5所述的方法,其特征在于,所述RRC消息的数据内容包括所述第一发送时间信息。The method according to claim 5, wherein the data content of the RRC message includes the first sending time information.
  7. 根据权利要求5所述的方法,其特征在于,所述MAC消息包括索引字段和逻辑信道标识LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。The method according to claim 5, wherein the MAC message includes an index field and a logical channel identification LCID field, and a value of the index field is used to indicate that the LCID field includes the first transmission time information.
  8. 根据权利要求1所述的方法,其特征在于,所述第一发送时间信息包括第一间隔时间,所述第一间隔时间为所述终端设备在向所述基站发送所述第一消息之后距离向所述基站发送所述数据包的间隔时间;The method according to claim 1, wherein the first sending time information includes a first interval time, and the first interval time is a distance after the terminal device sends the first message to the base station the interval for sending the data packet to the base station;
    所述方法还包括:The method also includes:
    所述终端设备根据所述数据包的传输特征预测所述数据包的大小,所述第一消息还包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The terminal device predicts the size of the data packet according to the transmission characteristics of the data packet, 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.
  9. 根据权利要求8所述的方法,其特征在于,所述第一消息为缓冲状态报告BSR消息。The method according to claim 8, wherein the first message is a buffer status report BSR message.
  10. 根据权利要求9所述的方法,其特征在于,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。The method according to claim 9, wherein 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 data packet the size of.
  11. 根据权利要求9或10所述的方法,其特征在于,所述终端设备根据所述传输特征得到所述数据包的第一发送时间信息包括: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 feature comprises:
    所述终端设备根据所述数据包的传输特征预测所述数据包的第二发送时间信息,所述第二发送时间信息为所述第一间隔时间与第二间隔时间之和,所述第二间隔时间为所述终 端设备向所述基站发送调度请求SR消息到发送所述BSR消息之间的间隔时间;The terminal device predicts the second transmission time information of the data packet according to the transmission characteristics of the data packet, where the second transmission time information is the sum of the first interval time and the second interval time, and the second transmission time information is the sum of the first interval time and the second interval time. The interval time is the interval time between when the terminal device sends a scheduling request SR message to the base station and sends the BSR message;
    所述终端设备根据所述第二发送时间信息和所述第二间隔时间得到所述第一发送时间信息;obtaining, by the terminal device, the first sending time information according to the second sending time information and the second interval time;
    所述终端设备向所述基站发送第一消息包括:The terminal device sending the first message to the base station includes:
    所述终端设备根据所述第二发送时间信息向所述基站发送第一消息。The terminal device sends a first message to the base station according to the second sending time information.
  12. 一种发送方法,其特征在于,所述方法包括:A sending method, characterized in that the method comprises:
    基站接收来自终端设备的第一消息,所述第一消息包括数据包的第一发送时间信息,所述数据包的第一发送时间信息为所述终端设备向所述基站发送数据包的时间信息;The base station receives a first message from the terminal device, where the first message includes first sending time information of the data packet, and the first sending time information of the data packet is the time information when the terminal device sends the data packet to the base station ;
    所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。The base station sends the allocated air interface resource information to the terminal device according to the first 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.
  13. 根据权利要求12所述的方法,其特征在于,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;The method according to 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;
    所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息包括:Sending, by the base station, the allocated air interface resource information to the terminal device according to the first sending time information includes:
    所述基站接收来自所述终端设备的第二消息,并在所述间隔时间之后向所述终端设备发送分配的空口资源信息。The base station receives the second message from the terminal device, and sends the allocated air interface resource information to the terminal device after the interval time.
  14. 根据权利要求13所述的方法,其特征在于,所述第二消息包括所述终端设备预测的所述数据包的大小;The method according to claim 13, wherein the second message comprises the size of the data packet predicted by the terminal device;
    在所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息之前,所述方法还包括:Before the base station sends the allocated air interface resource information to the terminal device according to the first sending time information, the method further includes:
    所述基站根据所述数据包的大小确定所述空口资源信息。The base station determines the air interface resource information according to the size of the data packet.
  15. 根据权利要求14所述的方法,其特征在于,所述第二消息为缓冲状态报告BSR消息。The method according to claim 14, wherein the second message is a buffer status report BSR message.
  16. 根据权利要求13-15任一项所述的方法,其特征在于,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。The method according to any one of claims 13-15, wherein the first message is a radio resource control RRC message or a medium access control MAC message.
  17. 根据权利要求16所述的方法,其特征在于,所述RRC消息的数据内容包括所述第一发送时间信息。The method according to claim 16, wherein the data content of the RRC message includes the first sending time information.
  18. 根据权利要求16所述的方法,其特征在于,所述MAC消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。The method according to claim 16, wherein 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.
  19. 根据权利要求12所述的方法,其特征在于,所述第一发送时间信息包括第一间隔时间,所述第一间隔时间为所述终端设备在向所述基站发送所述第一消息之后距离向所述基站发送所述数据包的间隔时间,The method according to claim 12, wherein the first sending time information comprises a first interval time, and the first interval time is a distance after the terminal device sends the first message to the base station the interval for sending the data packet to the base station,
    所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息包括:Sending, by the base station, the allocated air interface resource information to the terminal device according to the first sending time information includes:
    所述基站在接收到来自所述终端设备的第一消息的所述间隔时间之后向所述终端设备发送分配的空口资源信息。The base station sends the allocated air interface resource information to the terminal device after receiving the interval time of the first message from the terminal device.
  20. 根据权利要求19所述的方法,其特征在于,所述第一消息还包括所述终端设备预测的所述数据包的大小;The method according to claim 19, wherein the first message further comprises the size of the data packet predicted by the terminal device;
    在所述基站向所述终端设备发送分配的空口资源信息之前,所述方法还包括:Before the base station sends the allocated air interface resource information to the terminal device, the method further includes:
    所述基站根据所述数据包的大小确定所述空口资源信息。The base station determines the air interface resource information according to the size of the data packet.
  21. 根据权利要求20所述的方法,其特征在于,所述第一消息为缓冲状态报告BSR消息。The method according to claim 20, wherein the first message is a buffer status report BSR message.
  22. 根据权利要求21所述的方法,其特征在于,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。The method according to claim 21, wherein 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 data packet the size of.
  23. 一种发送方法,其特征在于,所述方法包括:A sending method, characterized in that the method comprises:
    终端设备获取数据包的传输特征;The terminal device obtains the transmission characteristics of the data packet;
    所述终端设备根据所述传输特征得到所述数据包的发送时间信息,所述发送时间信息为所述终端设备向基站发送数据包的时间信息;The terminal device obtains the sending time information of the data packet according to the transmission feature, where the sending time information is the time information when the terminal device sends the data packet to the base station;
    所述终端设备根据所述数据包的发送时间信息确定第一消息的发送时间;The terminal device determines the sending time of the first message according to the sending time information of the data packet;
    响应于到达所述第一消息的发送时间,所述终端设备发送所述第一消息,所述第一消息用于获取空口资源信息,所述空口资源信息对应的空口资源是所述基站为所述终端设备分配的空口资源。In response to reaching the sending time of the first message, the terminal device sends the first message, and the first message is used to obtain air interface resource information, and the air interface resource corresponding to the air interface resource information is the base station for which the air interface resources allocated by the terminal equipment.
  24. 根据权利要求23所述的方法,其特征在于,所述方法还包括:The method of claim 23, wherein the method further comprises:
    所述终端设备根据所述数据包的传输特征预测所述数据包的大小,所述第一消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The terminal device predicts the size of the data packet according to the transmission characteristics of the data packet, the first message includes the size of the data packet, and the size of the data packet is used by the base station to determine the air interface resource information .
  25. 根据权利要求24所述的方法,其特征在于,所述第一消息为缓冲状态报告BSR消息。The method according to claim 24, wherein the first message is a buffer status report BSR message.
  26. 一种发送装置,其特征在于,所述装置位于终端设备,包括:A sending device, characterized in that the device is located in a terminal device, comprising:
    处理单元,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的第一发送时间信息,所述第一发送时间信息为所述终端设备向基站发送数据包的时间信息;a processing unit, configured to acquire transmission characteristics of the data packets; obtain first transmission time information of the data packets according to the transmission characteristics, where the first transmission time information is the time information when the terminal device sends the data packets to the base station;
    发送单元,用于向所述基站发送第一消息,所述第一消息包括所述第一发送时间信息,所述第一消息用于指示所述基站根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。a sending unit, configured to send a first message to the base station, where the first message includes the first sending time information, and the first message is used to instruct the base station to send a message to the base station according to the first sending time information The terminal device sends the allocated air interface resource 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.
  27. 根据权利要求26所述的装置,其特征在于,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;The apparatus according to claim 26, wherein the first sending time information includes an interval time between the terminal equipment 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. 根据权利要求27所述的方法,其特征在于,The method of claim 27, wherein:
    所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的大小,所述第二消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, 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 size of the data packet. Describe the air interface resource information.
  29. 根据权利要求27所述的装置,其特征在于,所述第二消息为缓冲状态报告BSR消息。The apparatus according to claim 27, wherein the second message is a buffer status report BSR message.
  30. 根据权利要求27-29任一项所述的装置,其特征在于,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。The apparatus according to any one of claims 27-29, wherein the first message is a radio resource control RRC message or a medium access control MAC message.
  31. 根据权利要求30所述的装置,其特征在于,所述RRC消息的数据内容包括所述第 一发送时间信息。The apparatus according to claim 30, wherein the data content of the RRC message includes the first sending time information.
  32. 根据权利要求30所述的装置,其特征在于,所述MAC消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。The apparatus according to claim 30, wherein 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.
  33. 根据权利要求26所述的装置,其特征在于,所述第一发送时间信息包括第一间隔时间,所述第一间隔时间为所述终端设备在向所述基站发送所述第一消息之后距离向所述基站发送所述数据包的间隔时间;The apparatus according to claim 26, wherein the first sending time information includes a first interval time, and the first interval time is a distance after the terminal device sends the first message to the base station the interval for sending the data packet to the base station;
    所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的大小,所述第一消息还包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, 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. 根据权利要求33所述的装置,其特征在于,所述第一消息为缓冲状态报告BSR消息。The apparatus according to claim 33, wherein the first message is a buffer status report BSR message.
  35. 根据权利要求34所述的装置,其特征在于,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。The apparatus according to claim 34, wherein 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 data packet the size of.
  36. 根据权利要求34或35所述的装置,其特征在于,An apparatus according to claim 34 or 35, characterized in that,
    所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的第二发送时间信息,所述第二发送时间信息为所述第一间隔时间与第二间隔时间之和,所述第二间隔时间为所述终端设备向所述基站发送调度请求SR消息到发送所述BSR消息之间的间隔时间;根据所述第二发送时间信息和所述第二间隔时间得到所述第一发送时间信息;The processing unit is further configured to predict the second transmission time information of the data packet according to the transmission characteristics of the data packet, where the second transmission time information is the sum of the first interval time and the second interval time, The second interval time is the interval time between the terminal device sending the scheduling request SR message to the base station and sending the BSR message; the second interval time is obtained according to the second sending time information and the second interval time. first sending time information;
    所述发送单元,用于根据所述第二发送时间信息向所述基站发送第一消息。The sending unit is configured to send a first message to the base station according to the second sending time information.
  37. 一种发送装置,其特征在于,所述装置位于基站,包括:A sending device, characterized in that the device is 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 data sent by the terminal device to the base station time information of the package;
    发送单元,用于根据所述第一发送时间信息向所述终端设备发送分配的空口资源信息,所述空口资源信息对应的空口资源用于所述终端设备向所述基站发送所述数据包。A sending unit, configured to send the allocated air interface resource information to the terminal device according to the first sending time information, 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.
  38. 根据权利要求37所述的装置,其特征在于,所述第一发送时间信息包括所述终端设备在向所述基站发送第二消息之后距离向所述基站发送所述数据包的间隔时间;The apparatus according to claim 37, wherein the first sending time information comprises an interval time between sending the data packet to the base station by the terminal device after sending the second message to the base station;
    接收单元,还用于接收来自所述终端设备的第二消息;a receiving unit, further configured to receive a second message from the terminal device;
    所述发送单元,还用于在所述间隔时间之后向所述终端设备发送分配的空口资源信息。The sending unit is further configured to send the allocated air interface resource information to the terminal device after the interval time.
  39. 根据权利要求37所述的装置,其特征在于,所述第二消息包括所述终端设备预测的所述数据包的大小;所述装置还包括处理单元,The apparatus according to claim 37, wherein the second message includes the size of the data packet predicted by the terminal device; the apparatus further comprises a processing unit,
    所述处理单元,用于根据所述数据包的大小确定所述空口资源信息。The processing unit is configured to determine the air interface resource information according to the size of the data packet.
  40. 根据权利要求39所述的装置,其特征在于,所述第二消息为缓冲状态报告BSR消息。The apparatus according to claim 39, wherein the second message is a buffer status report BSR message.
  41. 根据权利要求38-40任一项所述的装置,其特征在于,所述第一消息为无线资源控制RRC消息或媒体访问控制MAC消息。The apparatus according to any one of claims 38-40, wherein the first message is a radio resource control RRC message or a medium access control MAC message.
  42. 根据权利要求41所述的装置,其特征在于,所述RRC消息的数据内容包括所述第 一发送时间信息。The apparatus according to claim 41, wherein the data content of the RRC message includes the first sending time information.
  43. 根据权利要求40所述的装置,其特征在于,所述MAC消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息。The apparatus according to claim 40, wherein 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.
  44. 根据权利要求37所述的装置,其特征在于,所述第一发送时间信息包括第一间隔时间,所述第一间隔时间为所述终端设备在向所述基站发送所述第一消息之后距离向所述基站发送所述数据包的间隔时间,The apparatus according to claim 37, wherein the first sending time information comprises a first interval time, and the first interval time is a distance after the terminal device sends the first message to the base station the interval for sending 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 the interval time of receiving the first message from the terminal device.
  45. 根据权利要求44所述的装置,其特征在于,所述第一消息还包括所述终端设备预测的所述数据包的大小;The apparatus according to claim 44, wherein the first message further includes the size of the data packet predicted by the terminal device;
    所述处理单元,用于根据所述数据包的大小确定所述空口资源信息。The processing unit is configured to determine the air interface resource information according to the size of the data packet.
  46. 根据权利要求45所述的装置,其特征在于,所述第一消息为缓冲状态报告BSR消息。The apparatus according to claim 45, wherein the first message is a buffer status report BSR message.
  47. 根据权利要求46所述的装置,其特征在于,所述BSR消息包括索引字段和LCID字段,所述索引字段的值用于指示所述LCID字段包括所述第一发送时间信息和所述数据包的大小。The apparatus according to claim 46, wherein 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 data packet the size of.
  48. 一种发送装置,其特征在于,所述装置位于终端设备,包括:A sending device, characterized in that the device is located in a terminal device, comprising:
    处理单元,用于获取数据包的传输特征;根据所述传输特征得到所述数据包的发送时间信息,所述发送时间信息为所述终端设备向基站发送数据包的时间信息;根据所述数据包的发送时间信息确定第一消息的发送时间;a processing unit, configured to acquire the transmission characteristics of the data packets; obtain the transmission time information of the data packets according to the transmission characteristics, where the transmission time information is the time information when the terminal device sends the data packets to the base station; according to the data The sending time information of the packet determines the sending time of the first message;
    发送单元,用于响应于到达所述第一消息的发送时间,发送所述第一消息,所述第一消息用于获取空口资源信息,所述空口资源信息对应的空口资源是所述基站为所述终端设备分配的空口资源。A sending unit, configured to send the first message in response to reaching the sending time of 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 the base station that is Air interface resources allocated by the terminal device.
  49. 根据权利要求48所述的装置,其特征在于,The apparatus of claim 48, wherein
    所述处理单元,还用于根据所述数据包的传输特征预测所述数据包的大小,所述第一消息包括所述数据包的大小,所述数据包的大小用于所述基站确定所述空口资源信息。The processing unit is further configured to predict the size of the data packet according to the transmission characteristics of the data packet, the first message includes the size of the data packet, and the size of the data packet is used by the base station to determine the size of the data packet. Describe the air interface resource information.
  50. 根据权利要求49所述的装置,其特征在于,所述第一消息为缓冲状态报告BSR消息。The apparatus according to claim 49, wherein the first message is a buffer status report BSR message.
  51. 一种终端设备,其特征在于,所述终端设备包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:A terminal device, characterized in that the terminal device includes at least one processor, and the at least one processor is coupled to at least one memory:
    所述至少一个处理器,用于执行所述至少一个存储器中存储的计算机程序或指令,使得所述终端设备执行权利要求1-11或权利要求23-25任一项所述的发送方法。The at least one processor is configured to execute a computer program or instruction stored in the at least one memory, so that the terminal device executes the sending method according to any one of claims 1-11 or 23-25.
  52. 一种基站,其特征在于,所述基站包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:A base station, characterized in that the base station includes at least one processor coupled with at least one memory:
    所述至少一个处理器,用于执行所述至少一个存储器中存储的计算机程序或指令,使得所述基站执行权利要求12-22任一项所述的发送方法。The at least one processor is configured to execute computer programs or instructions stored in the at least one memory, so that the base station executes the sending method according to any one of claims 12-22.
  53. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得 计算机执行以上权利要求1-25任意一项所述的发送方法。A computer-readable storage medium, characterized by comprising instructions, which, when executed on a computer, cause the computer to execute the sending method described in any one of the preceding claims 1-25.
  54. 一种芯片,其特征在于,所述芯片位于终端设备,包括处理器和接口电路;A chip, characterized in that the chip is located in a terminal device and includes a processor and an interface circuit;
    所述接口电路,用于接收指令并传输至所述处理器;the interface circuit for receiving instructions and transmitting them to the processor;
    所述处理器,用于执行权利要求1-11或权利要求23-25任一项所述的发送方法。The processor is configured to execute the sending method described in any one of claims 1-11 or 23-25.
PCT/CN2021/129791 2020-12-10 2021-11-10 Sending method and apparatus WO2022121610A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2022121610A1 true WO2022121610A1 (en) 2022-06-16

Family

ID=81894872

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291835A (en) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 Wireless resource scheduling method, access network element and terminal
WO2018027882A1 (en) * 2016-08-12 2018-02-15 华为技术有限公司 Service data transmission method, network device, and terminal device
CN111867073A (en) * 2019-04-30 2020-10-30 中国移动通信有限公司研究院 Time information processing method, timing advance determining method and related equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291835A (en) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 Wireless resource scheduling method, access network element and terminal
WO2018027882A1 (en) * 2016-08-12 2018-02-15 华为技术有限公司 Service data transmission method, network device, and terminal device
CN111867073A (en) * 2019-04-30 2020-10-30 中国移动通信有限公司研究院 Time information processing method, timing advance determining method and related equipment

Also Published As

Publication number Publication date
CN114630422A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
EP3637908B1 (en) Data processing method and device
CN107637125A (en) Method and apparatus for managing buffer in a wireless communication system
CN109600610B (en) Data encoding method, terminal and computer readable storage medium
CN104335534B (en) Data transmission method for uplink, method of reseptance and equipment
EP2728764A1 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
CN110417650A (en) Multilink data distribution method, device and electronic equipment
CN103634299A (en) Real-time stream media transmission terminal and method based on multi-connection
US11070466B2 (en) Method for link aggregation and related devices
KR20180126401A (en) Method and apparatus for data processing based on multicore
WO2022121610A1 (en) Sending method and apparatus
KR20060038132A (en) Time critical information transmitting method in synchronous ethernet system
JP2018007171A (en) Communication device and radio resource allocation method
Pham et al. Performances of multi-hops image transmissions on IEEE 802.15. 4 Wireless Sensor Networks for surveillance applications
KR20210058720A (en) Resource allocation method, apparatus, and system, and storage medium
WO2022089313A1 (en) Communication processing method and apparatus, storage medium, chip and related device
CN104717257A (en) Method and device for transmitting data messages
CN107483628B (en) DPDK-based one-way proxy method and system
US10098177B2 (en) Data transmission method and terminal
CN110708293B (en) Method and device for distributing multimedia service
JP2007329723A (en) Wireless communication method, dynamic band assigning method, data transmitting method, wireless communication system, base station, and terminal station
CN108512735B (en) Data transmission method and device
CN115801102A (en) Method, device and storage medium for downlink data
JP2014033251A (en) Communication system and packet transmission method
US8605733B2 (en) Method of data transmission, data transmitting apparatus, and network system
CN114363943A (en) Method and electronic device for determining transmission delay

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21902317

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21902317

Country of ref document: EP

Kind code of ref document: A1