Data transmission method and apparatus, device, and storage medium
The terminal device determines the transmission priority based on the data packet type and delay information, and prioritizes the transmission of delay-sensitive data packets, which solves the problem of timeout discarding in data transmission and improves the data transmission effect.
Patent Information
- Application Number
- PCT/CN2025/074471
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-31
- Filing Date
- 2025-01-23
- Publication Date
- 2025-08-07
AI Technical Summary
During data transmission, when only determining the transmission priority based on the data type, data packets with short remaining transmission time may be discarded, affecting the data transmission effect.
The terminal equipment comprehensively determines the transmission priority based on the packet type and delay information, and prioritizes the transmission of delay-sensitive data packets to reduce timeout discarding.
This improves the effect of data transmission and reduces the situation where data packets with shorter remaining time are discarded due to timeout.
Smart Images

Figure CN2025074471_07082025_PF_FP_ABST
Abstract
Description
Data transmission method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 31, 2024, with application number 202410146415.3 and application name “Data transmission method, device, equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Art
[0003] Currently, during the communication process, when a terminal device is transmitting data, it will cache the data to be transmitted in the Packet Data Convergence Protocol (PDCP) layer or the Radio Link Control Protocol (RLC) layer. When there are available transmission resources, the terminal device will send the data down to the Media Access Control (MAC) layer. When there is a lot of data to be transmitted, the PDCP layer or the RLC layer will only determine the transmission priority of the data to be transmitted by the type of data when transmitting the data downward. However, when the remaining transmission time of some data packets is relatively short, this transmission method may cause these data packets to be discarded due to timeout, resulting in poor data transmission effect.
[0004] Therefore, how to improve the effect of data transmission is an urgent problem to be solved. Summary of the Invention
[0005] The embodiments of the present application provide a data transmission method, apparatus, device, and storage medium, which are applied in the field of communication technology and can improve the effect of data transmission.
[0006] In a first aspect, an embodiment of the present application provides a data transmission method. The method includes:
[0007] The data packet is transmitted according to the data packet type and the delay information of the data packet.
[0008] Optionally, transmitting the data packet according to the data packet type and the delay information of the data packet includes:
[0009] The data packet is transmitted according to the data packet type, the delay information of the data packet, and the transmission priority rules used by the terminal device when transmitting the data packet. The transmission priority rules are related to the delay requirements corresponding to the data packet and the type of the data packet.
[0010] Optionally, the transmission priority rule includes:
[0011] a first transmission priority level, and a first sub-transmission priority level corresponding to each type of data packet;
[0012] The second transmission priority is used to indicate that the transmission priority is determined according to the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that in the data packet with the first delay requirement, the transmission priority is determined according to the type of the data packet.
[0013] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets;
[0014] The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet;
[0015] The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement;
[0016] The first sub-transmission priority corresponding to the retransmitted data packet includes: the transmission priority of the delay-sensitive retransmitted data packet or retransmitted data packet segment is higher than the transmission priority of the retransmitted data packet or retransmitted data packet segment without delay requirement;
[0017] The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or the new transmission data packet segment is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment without delay requirement.
[0018] Optionally, the transmission priority rule includes:
[0019] The second transmission priority, and the second sub-transmission priority corresponding to each data packet with each delay requirement;
[0020] The second transmission priority is used to indicate that the transmission priority is determined according to the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that in the data packet with the first delay requirement, the transmission priority is determined according to the type of the data packet.
[0021] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets;
[0022] The second transmission priority includes: the transmission priority of a delay-sensitive data packet is higher than the transmission priority of a data packet without delay requirement;
[0023] The second sub-transmission priority corresponding to the delay-sensitive data packet includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet;
[0024] The second sub-transmission priority corresponding to the data packet with no delay requirement includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet.
[0025] Optionally, the types of the data packets include: control data packets, new transmission data packets, retransmission data packets, and delay-sensitive data packets;
[0026] The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the newly transmitted data packet or the newly transmitted data packet segment;
[0027] Alternatively, the transmission priority rules include: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment.
[0028] Optionally, the method further includes:
[0029] Receive first indication information from a network device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0030] Optionally, the method further includes:
[0031] Receive second indication information from a network device, wherein the second indication information includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0032] In a second aspect, an embodiment of the present application provides a data transmission method. The method includes:
[0033] Sending first indication information to a terminal device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to a delay requirement corresponding to the data packet and a type of the data packet;
[0034] Alternatively, a second indication message is sent to the terminal device, wherein the second indication message includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0035] Optionally, the transmission priority rules include:
[0036] a first transmission priority level, and a first sub-transmission priority level corresponding to each type of data packet;
[0037] The first transmission priority is used to indicate that the transmission priority is determined according to the data packet type, and the first sub-transmission priority is used to indicate that in the first type of data packet, the transmission priority is determined according to the delay requirement of the data packet.
[0038] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets;
[0039] The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet;
[0040] The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement;
[0041] The first sub-transmission priority corresponding to the retransmitted data packet includes: the transmission priority of the delay-sensitive retransmitted data packet or retransmitted data packet segment is higher than the transmission priority of the retransmitted data packet or retransmitted data packet segment without delay requirement;
[0042] The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or the new transmission data packet segment is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment without delay requirement.
[0043] Optionally, the transmission priority rule includes:
[0044] The second transmission priority, and the second sub-transmission priority corresponding to each data packet with each delay requirement;
[0045] The second transmission priority is used to indicate that the transmission priority is determined according to the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that in the data packet with the first delay requirement, the transmission priority is determined according to the type of the data packet.
[0046] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets;
[0047] The second transmission priority includes: the transmission priority of a delay-sensitive data packet is higher than the transmission priority of a data packet without delay requirement;
[0048] The second sub-transmission priority corresponding to the delay-sensitive data packet includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet;
[0049] The second sub-transmission priority corresponding to the data packet with no delay requirement includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet.
[0050] Optionally, the types of the data packets include: control data packets, new transmission data packets, retransmission data packets, and delay-sensitive data packets;
[0051] The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the newly transmitted data packet or the newly transmitted data packet segment;
[0052] Alternatively, the transmission priority rules include: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment.
[0053] In a third aspect, an embodiment of the present application provides a data transmission device, the device comprising:
[0054] The control module is used to transmit the data packet according to the data packet type and the delay information of the data packet.
[0055] In a fourth aspect, an embodiment of the present application provides a data transmission device, comprising:
[0056] a sending module, configured to send first indication information to a terminal device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to a delay requirement corresponding to the data packet and a type of the data packet;
[0057] Alternatively, a second indication message is sent to the terminal device, wherein the second indication message includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0058] In a fifth aspect, an embodiment of the present application provides a data transmission device, comprising: a processor, a transceiver, and a memory; the processor is communicatively connected to the transceiver and the memory respectively;
[0059] The memory stores computer-executable instructions;
[0060] The transceiver communicates and interacts with an external device;
[0061] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspect or any one of the second aspect.
[0062] In a sixth aspect, an embodiment of the present application provides a chip having a computer program stored thereon, and when the computer program is executed by the chip, the method as described in any one of the first aspect or any one of the second aspect is implemented.
[0063] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method as described in any one of the first aspect or any one of the second aspect.
[0064] In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, it enables the computer to execute any method in the first aspect or any method in the second aspect.
[0065] The data transmission method, apparatus, device and storage medium provided in the embodiments of the present application can enable a terminal device to comprehensively determine the transmission priority of a data packet based on the data packet type and the delay information of the data packet, and transmit these data packets according to the transmission priority, so that while considering the data packet type, the delay requirement of the data packet is further considered, and the situation where data packets with relatively short remaining transmission time are discarded due to timeout is reduced, thereby improving the data transmission effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] FIG1 is a communication system used in an embodiment of the present application;
[0067] FIG2 is a flow chart of a data transmission method provided in an embodiment of the present application;
[0068] FIG3 is a flow chart of another data transmission method provided in an embodiment of the present application;
[0069] FIG4 is a schematic structural diagram of a data transmission device provided in an embodiment of the present application;
[0070] FIG5 is a schematic structural diagram of another data transmission device provided in an embodiment of the present application;
[0071] FIG6 is a schematic structural diagram of another data transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] To facilitate a clear description of the technical solutions of the embodiments of this application, the words "exemplary" or "for example" are used in the embodiments of this application to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0073] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0074] It should be noted that the "at..." in the embodiments of the present application can be the instant when a certain situation occurs, or it can be a period of time after the situation occurs, and the embodiments of the present application do not specifically limit this. In addition, the display interface provided in the embodiments of the present application is only an example, and the display interface can also include more or less content.
[0075] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR), new systems that may appear in the future, etc.
[0076] To facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application is first described in detail.
[0077] Figure 1 shows a communication system used in an embodiment of the present application. As shown in Figure 1 , the communication system includes: network equipment and terminal equipment.
[0078] The network device and the terminal device can communicate via a wireless link. When the network device acts as a transmitting end, the terminal device can act as a receiving end; when the network device acts as a receiving end, the terminal device can act as a transmitting end. The embodiments of this application do not limit the number of network devices and terminal devices included in the communication system. Furthermore, it should be understood that Figure 1 is merely a schematic diagram, and the communication system may also include other network devices, which are not limited in this application and are not shown in Figure 1.
[0079] The terminal device in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0080] The terminal device may be a device that provides voice / data connectivity to users, such as a handheld device or vehicle-mounted device with wireless connection function. At present, some examples of terminal devices include: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (PLMNs). The present application does not limit the terminal equipment in the network (PLMN), etc.
[0081] By way of example and not limitation, in this application, a terminal device may be a terminal device in an Internet of Things (IoT) system. The IoT is an important component of the future development of information technology. Its main technical feature is connecting objects to the Internet through communication technologies, thereby realizing an intelligent network that interconnects humans and machines, and things and things. For example, the terminal device in the embodiments of this application may be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for wearable devices that apply wearable technology to intelligently design and develop wearable devices, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that can be worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices; they can also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve full or partial functions independently of smartphones, such as smart watches or smart glasses, as well as those that focus on a specific application function and require cooperation with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0082] As an example and not a limitation, in an embodiment of the present application, the terminal device may also be a terminal device in a machine type communication (MTC). In addition, the terminal device may also be an on-board module, on-board module, on-board component, on-board chip or on-board unit built into the vehicle as one or more components or units, and the vehicle may implement the method provided in the present application through the built-in on-board module, on-board module, on-board component, on-board chip or on-board unit. Therefore, the embodiment of the present application may also be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long term evolution-vehicle (LTE-V), vehicle-to-vehicle (V2V) technology, etc.
[0083] The network device involved in this application can be a device that communicates with a terminal device. The network device can also be called an access network device or a wireless access network device. It can be a transmission reception point (TRP), an evolved NodeB (eNB or eNodeB) in an LTE system, a home base station (for example, home evolved NodeB, or home Node B, HNB), a base band unit (BBU), or a wireless controller in a cloud radio access network (CRAN) scenario, or the network device can be a relay station, an access point, a vehicle-mounted device, a wearable device, a network device in a 5G network, or a network device in a future evolved PLMN network, etc. It can also be an access point (AP) in a WLAN, or a gNB in an NR system. The above-mentioned network devices can also be urban base stations, micro base stations, pico base stations, femto base stations, etc., and this application does not limit this.
[0084] In a network structure, the network device may include a centralized unit (CU) node, a distributed unit (DU) node, a RAN device including a CU node and a DU node, or a RAN device including a control plane CU node (CU-CP node) and a user plane CU node (CU-UP node) and a DU node.
[0085] Network equipment provides services for cells, and terminal devices communicate with cells through transmission resources allocated by the network equipment (for example, frequency domain resources, or spectrum resources). The cell can belong to a macro base station (for example, a macro eNB or macro gNB), or to a base station corresponding to a small cell. Small cells here can include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.
[0086] Currently, when transmitting data, terminal devices cache data to be transmitted at the Packet Data Convergence Protocol (PDCP) or Radio Link Control (RLC) layer to prevent data loss or transmission failures caused by poor channel quality due to dynamic changes in channel conditions. This allows them to wait for better channel conditions and improve the success rate and reliability of data transmission. When transmission resources become available, the terminal device sends the data to the Media Access Control (MAC) layer. The MAC layer schedules, multiplexes, encodes, and decodes the corresponding data packets, converts them into a format suitable for wireless transmission, and ultimately transmits them over the air interface.
[0087] When there is a large amount of data to be transmitted, the PDCP layer or RLC layer determines the transmission priority of the data to be transmitted based solely on the data type when transmitting data downward. It gives higher transmission priority and bandwidth resources to packets corresponding to specific data types to ensure that these packets can be transmitted in a timely manner and reduce latency. Control data, retransmitted data, and new data.
[0088] However, when the remaining transmission time of some data packets is relatively short, only transmitting specific types of data with higher priority based on the data type may cause the data packets with relatively short remaining transmission time to be discarded due to timeout, affecting the data transmission effect.
[0089] In view of this, the present application provides a data transmission method, in which a terminal device comprehensively determines the transmission priority of a data packet based on the data packet type and the delay information of the data packet, and transmits these data packets according to the transmission priority, so that while considering the data packet type, the delay requirement of the data packet is further considered, and the situation in which data packets with relatively short remaining transmission time are discarded due to timeout is reduced, thereby improving the data transmission effect.
[0090] The data transmission method of the present application is described in detail below with reference to the accompanying drawings. The execution subjects of the embodiments shown in the present application are terminal devices or network devices, and the specific forms and quantities of the devices shown are only examples and should not constitute any limitation on the implementation of the method provided in the present application.
[0091] The terminal device in the embodiments of the present application can be the terminal device itself, or a chip, chip system, or processor that supports the terminal device to implement the data transmission method, or a logic module or software that can implement all or part of the terminal device functions. The network device in the embodiments of the present application can be the network device itself, or a chip, chip system, or processor that supports the network device to implement the data transmission method, or a logic module or software that can implement all or part of the network device functions. This application does not impose specific restrictions on this.
[0092] The terminal device transmits the data packet according to the data packet type and the delay information of the data packet.
[0093] Among them, the data packet type can be divided according to the functional purpose of the data to be transmitted (such as control data packets, business data packets, etc.); or, it can be divided according to the data packet protocol type (such as TCP data packets, UDP data packets, ICMP data packets, etc.); or, it can be divided according to the encryption method of the data packet (such as plaintext data packets, encrypted data packets, etc.). The terminal device can determine the transmission order of data packets of different data packet types according to actual needs. For example, taking the data packet type including control data packets and business data packets as an example, since control data packets are usually used to record relevant parameters of the transmission channel or to ensure the activity of the transmission channel, etc., the control data packets usually have a higher transmission priority than the business data packets. Therefore, the terminal device can transmit the control data packets first and then the business data packets according to the data packet type to which the data packets belong.
[0094] This packet delay information is used to determine the transmission order of packets, taking into account their transmission delay requirements. For example, packets with higher latency requirements can be transmitted first, followed by packets with lower latency requirements. Exemplarily, this delay information may include at least one of the following: the remaining transmission time of the packet, the latency requirement of the packet, and the latest transmission time of the packet.
[0095] If the delay information includes the remaining transmission time of the data packet, when the remaining transmission time of the data packet is shorter, it means that the data packet is closer to being discarded and its delay requirement is higher; when the remaining transmission time of the data packet is longer, it means that the data packet is farther away from being discarded and its delay requirement is higher.
[0096] If the delay information includes the delay requirement of the data packet, for example, an identifier indicating whether the delay requirement of the data packet is high or low, or a delay requirement level (for example, a delay requirement of level 1 is higher than a delay requirement of level 2, and a delay requirement of level 2 is higher than a delay requirement of level 3), the delay requirement of each data packet can be determined based on the delay requirement of the data packet included in the delay information.
[0097] If the delay information includes the latest transmission time of the data packet, the remaining transmission time of the data packet can be determined based on the current time and the latest transmission time of the data packet, and then the delay requirement of the data packet can be determined based on the remaining transmission time of the data packet.
[0098] Taking the example of determining the transmission delay requirement of a data packet based on the remaining transmission time of the data packet, the transmission delay requirement of the data packet is introduced.
[0099] In one possible implementation, the shorter the remaining transmission time of a data packet, the higher the delay requirement of the data packet. For example, when the remaining transmission time of the data packet to be sent by the terminal device is as shown in Table 1 below:
[0100] Table 1
[0101] At this time, the delay requirements of the data packets in Table 1 are: packet 1 is higher than packet 3, packet 3 is higher than packet 2, packet 2 is higher than packet 5, and packet 5 is higher than packet 4.
[0102] Another possible implementation method is to determine the delay requirement of the data packet based on a preset duration threshold. The preset duration threshold can be determined based on actual needs. When the remaining transmission duration of the data packet is less than or equal to the preset duration threshold, the delay requirement of the data packet is high (the data packet can be called a delay-sensitive data packet, for example). When the remaining transmission duration of the data packet is greater than the preset duration threshold, the delay requirement of the data packet is low (the data packet can be called a data packet with no delay requirement, for example). For example, continuing with Table 1 as an example, assuming that the preset duration threshold is 3ms, the delay requirements of data packet 1, data packet 2, and data packet 3 are high, and the delay requirements of data packet 4 and data packet 5 are low. The delay-sensitive data packet can include a delay-sensitive data packet or a delay-sensitive data packet segment. In one implementation, if the time difference between the current time and the time when the discard timer of a data packet expires is less than or equal to a preset time threshold (for example, the remaining time of the data packet until the timer expires is less than the remaining time threshold), or if the time difference between the current time and the time when the discard timer of at least one data packet in a protocol data unit set (PDU set) expires is less than or equal to a preset time threshold (for example, the remaining time of at least one data packet in the protocol data unit set until the timer expires is less than the remaining time threshold), then the PDCP layer can determine that the data packet is a delay-sensitive data packet. In this case, the PDCP layer will notify the RLC layer. After the RLC layer receives the notification, in one case, if the data packet has not yet been delivered to the lower layer, then the data packet is a delay-sensitive data packet; in another case, if the data packet has already been delivered to the lower layer, then the data packet may be segmented, and some data packets may include the segment. If data packet 1 includes a delay-sensitive data packet segment, then data packet 1 is also a delay-sensitive data packet.
[0103] The terminal device can comprehensively consider the type of data packet and the delay information of the data packet to determine the transmission order of the data packets to be transmitted, and transmit these data packets according to the transmission order. Optionally, for data packets of the same data packet type and with the same delay requirements represented by the delay information, their transmission order can be further accurately determined based on their remaining transmission time. For example, the shorter the remaining transmission time, the earlier the transmission order. Alternatively, the transmission order can be further accurately determined based on the reception time or cache time of the data packet. The earlier the reception time or cache time, the earlier the transmission order, etc.
[0104] The transmission order of the data packets may be determined according to a transmission priority rule, and the transmission priority rule is related to the delay requirement corresponding to the data packets and the type of the data packets.
[0105] In one possible implementation, the transmission priority rule may be pre-set in the terminal device, and the terminal device transmits the data packet in a transmission order corresponding to the transmission priority rule based on the pre-set transmission priority rule, data packet type, and data packet delay information.
[0106] Another possible implementation is: The transmission priority rule is pre-indicated to the terminal device by another device, for example, the transmission priority rule is pre-indicated to the terminal device by a network device, or by another terminal device or a controller of the terminal device. The terminal device transmits the data packets in a transmission order corresponding to the transmission priority rule based on the acquired transmission priority rule, as well as the data packet type and data packet delay information.
[0107] The data transmission method provided by the present application can comprehensively determine the transmission priority of the data packets based on the data packet type and the delay information of the data packets, and transmit these data packets according to the transmission priority, so that while considering the data packet type, the delay requirements of the data packets are further considered, and the situation where data packets with relatively short remaining transmission time are discarded due to timeout is reduced, thereby improving the data transmission effect.
[0108] The following describes in detail various implementation methods of transmission priority rules.
[0109] Implementation method A: If the data packet types are different, the data packets are transmitted according to the transmission priority corresponding to the data packet type. When the data packet types are the same, the transmission priority of the data packets of the same data packet type is determined according to the delay requirements of the data packets.
[0110] In this implementation, the transmission priority rule includes a first transmission priority and a first sub-transmission priority corresponding to each type of packet. The first transmission priority indicates that the transmission priority is determined based on the packet type, and the first sub-transmission priority indicates that, for packets of the first type, the transmission priority is determined based on the latency requirement of the packets. The first type can be any packet type.
[0111] First, the transmission order of data packets of different data packet types to be transmitted can be obtained based on the first transmission priority. Within each data packet type, the transmission order of each data packet of that data packet type can be obtained based on the data packet delay requirement. Based on the transmission order of data packets of different data packet types to be transmitted, and the transmission order of each data packet of each data packet type, the transmission order of all data packets to be transmitted by the terminal device can be obtained.
[0112] The first transmission priority can be determined based on the importance of the data packet type, or based on other practical requirements. The first sub-transmission priority corresponding to each data packet type can be determined based on the latency requirement of the data packet. For example, the higher the latency requirement, the higher the first sub-transmission priority of the data packet.
[0113] Exemplarily, assuming that the data packet types include type 1, type 2, and type 3, and the first transmission priority is type 1 higher than type 2 and higher than type 3, if the data packet corresponding to the data to be sent by the terminal device has two data packets with different delay requirements for each data packet type (for example, the remaining transmission time may be different, or one is a delay-sensitive data packet and the other is a data packet with no delay requirement), then the transmission order corresponding to the transmission priority rule is shown in Table 2 below:
[0114] Table 2
[0115] In the following, taking the example of data packets including control data packets, newly transmitted data packets, and retransmitted data packets, the first transmission priority may include: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet, and the transmission priority of the retransmitted data packet is higher than the transmission priority of the newly transmitted data packet. Taking Table 2 as an example, the control data packet is type 1 in Table 2, the retransmitted data packet is type 2, and the newly transmitted data packet is type 3 in Table 2.
[0116] In one possible implementation, the first sub-transmission priority corresponding to a control data packet includes: the priority of a delay-sensitive control data packet is higher than the transmission priority of a control data packet without a delay requirement. The first sub-transmission priority corresponding to a retransmitted data packet includes: the priority of a delay-sensitive retransmitted data packet or a retransmitted data packet segment is higher than the transmission priority of a retransmitted data packet or a retransmitted data packet segment without a delay requirement. The first sub-transmission priority corresponding to a new transmission data packet includes: the priority of a delay-sensitive new transmission data packet or a new transmission data packet segment is higher than the transmission priority of a new transmission data packet or a new transmission data packet segment without a delay requirement.
[0117] In another possible implementation, the first sub-transmission priority corresponding to the control data packet includes: the priority of the control data packet with a shorter remaining transmission time is higher than the transmission priority of the control data packet with a longer remaining transmission time. The first sub-transmission priority corresponding to the retransmission data packet includes: the priority of the retransmission data packet or retransmission data packet segment with a shorter remaining transmission time is higher than the transmission priority of the retransmission data packet or retransmission data packet segment with a longer remaining transmission time. The first sub-transmission priority corresponding to the new transmission data packet includes: the priority of the new transmission data packet or new transmission data packet segment with a shorter remaining transmission time is higher than the transmission priority of the new transmission data packet or new transmission data packet segment with a longer remaining transmission time.
[0118] Retransmitted data packets include previously transmitted data packets or data packet segments, and newly transmitted data packets include previously untransmitted data packets or data packet segments. A data packet can be segmented into N data packet segments, and these N data packet segments can be decoded into one data packet, where N is an integer greater than or equal to 2.
[0119] It should be understood that the above description is based on the example of the transmission priority of the control data packet being higher than the transmission priority of the retransmitted data packet, and the transmission priority of the retransmitted data packet being higher than the transmission priority of the newly transmitted data packet. The first transmission priority can also be set according to actual needs. For example, the transmission priority of the control data packet can be set higher than the transmission priority of the retransmitted data packet, and the transmission priority of the newly transmitted data packet can be set higher than the transmission priority of the retransmitted data packet; or the transmission priority of the retransmitted data packet can be set higher than the transmission priority of the data packet, and the transmission priority of the control data packet can be set higher than the transmission priority of the newly transmitted data packet, etc., and the examples are not listed here one by one.
[0120] Implementation method B: If the delay requirements of the data packets are different, the data packets are transmitted according to the transmission priority corresponding to the delay requirements of the data packets. When the delay requirements of the data packets are the same, the transmission priority of the data packets with the same delay requirements is determined according to the data packet type.
[0121] In this implementation, the transmission priority rule includes a second transmission priority and a second sub-transmission priority corresponding to each data packet with a delay requirement. The second transmission priority is used to indicate that the transmission priority is determined based on the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that, for a data packet with a first delay requirement, the transmission priority is determined based on the type of data packet. The first delay requirement can be any delay requirement of the data packet, for example, any delay requirement classification (e.g., delay-sensitive, no delay requirement), or any delay requirement represented by the remaining transmission time.
[0122] First, the transmission order of data packets with different latency requirements can be obtained based on the second transmission priority. Among data packets with the same latency requirement, the transmission order of each data packet within these data packets with the same latency requirement can be obtained based on the data packet type. Based on the transmission order of data packets with different latency requirements and the transmission order of each data packet within the data packets with the same latency requirement, the transmission order of all data packets to be transmitted by the terminal device can be obtained.
[0123] The second transmission priority can be determined based on the latency requirement of the data packet. For example, the higher the latency requirement, the higher the second transmission priority of the data packet. For data packets with the same latency requirement, the second sub-transmission priority corresponding to the data packet can be determined based on the importance of the data packet type or other practical requirements.
[0124] Exemplarily, assuming that the data packet types include type 1, type 2, and type 3, and the second sub-transmission priority is type 1 higher than type 2 and higher than type 3, if the data packet corresponding to the data to be sent by the terminal device has two data packets with different delay requirements for each data packet type (for example, the remaining transmission time may be different, or one is a delay-sensitive data packet and the other is a data packet with no delay requirement), then the transmission order corresponding to the transmission priority rule is shown in Table 3 below:
[0125] Table 3
[0126] In a possible implementation, the delay requirements of the data packets include delay-sensitive and no delay requirement, and the second transmission priority may include: the transmission priority of the delay-sensitive data packets is higher than the transmission priority of the data packets without delay requirement.
[0127] In another possible implementation, the delay requirement of the data packet is determined according to the remaining transmission time, and the second transmission priority may include: the transmission priority of the data packet with a shorter remaining transmission time is higher than the transmission priority of the data packet with a longer remaining transmission time.
[0128] When the delay requirements are the same, the second sub-transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet.
[0129] Taking the case where the types of data packets include control data packets, new transmission data packets, and retransmission data packets, and the delay requirements of data packets include delay-sensitive and no delay requirements as an example, the second sub-transmission priority may include: the priority of delay-sensitive control data packets is higher than the transmission priority of control data packets with no delay requirements, the priority of delay-sensitive retransmission data packets or retransmission data packet segments is higher than the transmission priority of retransmission data packets or retransmission data packet segments with no delay requirements, and the priority of delay-sensitive new transmission data packets or new transmission data packet segments is higher than that of new transmission data packets or new transmission data packet segments with no delay requirements.
[0130] It should be understood that the above description is based on the example of a control data packet having a higher transmission priority than a retransmitted data packet, and a retransmitted data packet having a higher transmission priority than a newly transmitted data packet. The second sub-transmission priority level can also be set according to actual needs. For example, the transmission priority of the control data packet can be set higher than the transmission priority of the retransmitted data packet, and the transmission priority of the newly transmitted data packet can be set higher than the transmission priority of the retransmitted data packet; or the transmission priority of the retransmitted data packet can be set higher than the transmission priority of the data packet, and the transmission priority of the control data packet can be set higher than the transmission priority of the newly transmitted data packet, etc., and the examples are not listed here one by one.
[0131] Implementation method C: The data packets include delay-sensitive data packets, and the transmission priority of the delay-sensitive data packets is set among the data packets of multiple data packet types according to actual needs.
[0132] The delay-sensitive data packet is a delay-sensitive data packet of some data packet types. For example, the delay-sensitive data packet is a delay-sensitive data packet of a certain data packet type, or the delay-sensitive data packet is a delay-sensitive data packet of multiple data packet types (not all data packet types).
[0133] For example, continuing with the example that the data packet types include control data packets, new transmission data packets, and retransmission data packets, the delay-sensitive data packet can be only a new transmission data packet, or a retransmission data packet, or a delay-sensitive data packet in a control data packet, or the delay-sensitive data packet can be a delay-sensitive data packet in a new transmission data packet and a retransmission data packet, or a delay-sensitive data packet in a new transmission data packet and a control data packet, or a delay-sensitive data packet in a retransmission data packet and a control data packet, etc.
[0134] In this implementation, the delay-sensitive data packet is determined based on the data packet's delay information and can be classified into a new data packet type. Therefore, the data packet types in this case include control data packets, newly transmitted data packets, retransmitted data packets, and delay-sensitive data packets. Optionally, the control data packets, newly transmitted data packets, and retransmitted data packets in the data packet types do not include delay-sensitive data packets.
[0135] Continuing with the example of the transmission priority corresponding to the data packet type being that the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet, and the priority of the retransmitted data packet is higher than the priority of the new data packet, the transmission priority of the delay-sensitive data packet can be set at any position in the above priorities according to actual needs. For example, it can be set in the following ways:
[0136] Method 1: The transmission priority of delay-sensitive data packets is higher than that of control data packets. The transmission priority of control data packets is higher than that of retransmitted data packets or retransmitted data packet segments. The transmission priority of retransmitted data packets or retransmitted data packet segments is higher than that of newly transmitted data packets or newly transmitted data packet segments.
[0137] Mode 2: The transmission priority of a control data packet is higher than the transmission priority of a retransmitted data packet or a segment of a retransmitted data packet. The transmission priority of a retransmitted data packet or a segment of a retransmitted data packet is higher than the transmission priority of a delay-sensitive data packet. The transmission priority of a delay-sensitive data packet is higher than the transmission priority of a new data packet or a segment of a new data packet.
[0138] Mode 3: The transmission priority of the control data packet is higher than the transmission priority of the delay-sensitive data packet, the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the new data packet or the new data packet segment.
[0139] It should be understood that the above description is based on the example of a control data packet having a higher transmission priority than a retransmitted data packet, and a retransmitted data packet having a higher transmission priority than a newly transmitted data packet. The transmission priorities of these three types of data packets can also be set according to actual needs. For example, the transmission priority of the control data packet can be set higher than the transmission priority of the retransmitted data packet, and the transmission priority of the newly transmitted data packet can be set higher than the transmission priority of the retransmitted data packet; or the transmission priority of the retransmitted data packet can be set higher than the transmission priority of the data packet, and the transmission priority of the control data packet can be set higher than the transmission priority of the newly transmitted data packet, etc., and the examples are not listed here one by one.
[0140] The method provided in the embodiment of the present application provides a variety of transmission priority rules that are determined by further considering the delay requirements of the data packets while taking into account the data packet type, so that when the terminal device transmits the data packet, it can determine the transmission order of the data packets to be transmitted based on the data packet type, the delay information of the data packet, and the transmission priority rules, thereby reducing the situation where data packets with relatively short remaining transmission time are discarded due to timeout, thereby improving the data transmission effect.
[0141] Below, the data transmission method provided in the embodiment of the present application is introduced by taking the example that the transmission priority rule is pre-indicated by the network device to the terminal device.
[0142] FIG2 is a flow chart of a data transmission method provided by an embodiment of the present application. As shown in FIG2 , the method may include:
[0143] S201. The network device sends first indication information to the terminal device.
[0144] Correspondingly, the terminal device receives the first indication information from the network device.
[0145] Among them, the first indication information is used to indicate the transmission priority rule used by the terminal device when transmitting a data packet. The first indication information may include an identifier of the transmission priority rule used by the terminal device when transmitting a data packet, such as the transmission priority rule number, name, and other identifiers. At this time, the transmission priority rule may be a transmission priority rule located in a transmission priority rule list pre-stored in the terminal device. The terminal device obtains the transmission priority rule corresponding to the identifier from the transmission priority rule list based on the identifier included in the first indication information. The transmission priority rule may be any one of the aforementioned implementation methods A to C, which will not be repeated here.
[0146] Optionally, the transmission priority rule list may include transmission priority rules related to the delay requirement and packet type corresponding to the data packet (i.e., any one of the transmission priority rules in the aforementioned implementation methods A to C may be referred to as delay-based transmission priority rules), as well as transmission priority rules related only to the data packet type (for example, the transmission priority of a control data packet is higher than the transmission priority of a retransmitted data packet, and the transmission priority of a retransmitted data packet is higher than the transmission priority of a new transmission data packet). The first indication information is used to instruct the terminal device to use the transmission priority rules related to the delay requirement and packet type corresponding to the data packet. If the terminal device receives the first indication information, the terminal device uses the transmission priority rules related to the delay requirement and packet type corresponding to the data packet.
[0147] In a possible implementation, the transmission priority rule list may be pre-written in a storage medium of the terminal device.
[0148] In another possible implementation, the transmission priority rule list may be obtained in advance from the network device before the terminal device receives the first indication information from the network device. For example, it may be sent to the terminal device in advance before the network device sends the first indication information to the terminal device (for example, the network device proactively sends it to the terminal device, or sends it to the terminal device in response to a request from the terminal device).
[0149] S202. The terminal device transmits the data packet according to the data packet type, the delay information of the data packet, and the transmission priority rule used by the terminal device when transmitting the data packet.
[0150] The terminal device determines the transmission order of each data packet based on the data packet type, the delay information of the data packet, and the transmission priority rules used by the terminal device when transmitting the data packet, and transmits the data packet according to the transmission order.
[0151] FIG3 is a flow chart of another data transmission method provided by an embodiment of the present application. As shown in FIG3 , the method may include:
[0152] S301. The network device sends second indication information to the terminal device.
[0153] Correspondingly, the terminal device receives the second indication information from the network device.
[0154] The second indication information includes a transmission priority rule used by the terminal device when transmitting a data packet. The transmission priority rule is related to the latency requirement corresponding to the data packet and the type of the data packet. The transmission priority rule can be any of the transmission priority rules described in Implementations A to C above and will not be further described here.
[0155] S302. The terminal device transmits the data packet according to the data packet type, the delay information of the data packet, and the transmission priority rule used by the terminal device when transmitting the data packet.
[0156] The terminal device determines the transmission order of each data packet based on the data packet type, the delay information of the data packet, and the transmission priority rules used by the terminal device when transmitting the data packet, and transmits the data packet according to the transmission order.
[0157] The method provided in the embodiment of the present application sends indication information through a network device so that the terminal device can obtain the transmission priority rules it needs to use when transmitting data packets, so that when transmitting data packets, the terminal device can determine the transmission order of each data packet based on the data packet type, data packet delay information, and the transmission priority rules used by the terminal device when transmitting data packets, and transmit the data packets according to the transmission order, thereby reducing the situation where data packets with relatively short remaining transmission time are discarded due to timeout, thereby improving the data transmission effect.
[0158] Figure 4 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application. It is understood that the data transmission device can implement the operations or steps corresponding to the terminal devices in each of the aforementioned method embodiments. The data transmission device can be a network device or a component configurable in a terminal device, such as a chip or chip module. As shown in Figure 4, the data transmission device may include: a control module 401. In one possible implementation, it may also include: a receiving module 402.
[0159] The control module 401 is configured to transmit a data packet according to the data packet type and the delay information of the data packet.
[0160] Optionally, the control module 401 is specifically used to transmit the data packet based on the data packet type, the delay information of the data packet, and the transmission priority rule used by the terminal device when transmitting the data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0161] Optionally, the transmission priority rule includes: a first transmission priority, and a first sub-transmission priority corresponding to each type of data packet. The first transmission priority is used to indicate that the transmission priority is determined based on the data packet type, and the first sub-transmission priority is used to indicate that, for the first type of data packet, the transmission priority is determined based on the latency requirement of the data packet.
[0162] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets. The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet. The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement. The first sub-transmission priority corresponding to the retransmission data packet includes: the transmission priority of the delay-sensitive retransmission data packet or retransmission data packet segment is higher than the transmission priority of the retransmission data packet or retransmission data packet segment without delay requirement. The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or new transmission data packet segment is higher than the transmission priority of the new transmission data packet or new transmission data packet segment without delay requirement.
[0163] Optionally, the transmission priority rule includes: a second transmission priority, and a second sub-transmission priority corresponding to each data packet with a delay requirement. The second transmission priority is used to indicate that the transmission priority is determined based on the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that, for a data packet with a first delay requirement, the transmission priority is determined based on the type of the data packet.
[0164] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets. The second transmission priority includes: the transmission priority of delay-sensitive data packets is higher than the transmission priority of data packets with no delay requirements. The second sub-transmission priority corresponding to the delay-sensitive data packets includes: the transmission priority of the control data packets is higher than the transmission priority of the retransmission data packets, and the transmission priority of the retransmission data packets is higher than the transmission priority of the new transmission data packets. The second sub-transmission priority corresponding to the data packets with no delay requirements includes: the transmission priority of the control data packets is higher than the transmission priority of the retransmission data packets, and the transmission priority of the retransmission data packets is higher than the transmission priority of the new transmission data packets.
[0165] Optionally, the types of the data packets include: control data packets, new data packets, retransmitted data packets, and delay-sensitive data packets. The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the new data packet or the new data packet segment. Alternatively, the transmission priority rule includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new data packet or the new data packet segment.
[0166] Optionally, the receiving module 402 is used to receive first indication information from a network device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0167] Optionally, the receiving module 402 is also used to receive second indication information from the network device, and the second indication information includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
[0168] The data transmission device provided in this embodiment can execute the actions of the terminal device in the aforementioned method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.
[0169] Figure 5 is a schematic diagram of the structure of another data transmission device provided in an embodiment of the present application. It is understood that this data transmission device can implement the operations or steps of the corresponding network devices in each of the aforementioned method embodiments. This data transmission device can be a terminal device or a component configurable in a network device, such as a chip or chip module. As shown in Figure 5, this data transmission device can include: a sending module 501.
[0170] The sending module 501 is configured to send first indication information to a terminal device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to the latency requirement corresponding to the data packet and the type of the data packet. Alternatively, the sending module 501 is configured to send second indication information to the terminal device, where the second indication information includes a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to the latency requirement corresponding to the data packet and the type of the data packet.
[0171] Optionally, the transmission priority rule includes: a first transmission priority, and a first sub-transmission priority corresponding to each type of data packet. The first transmission priority is used to indicate that the transmission priority is determined based on the data packet type, and the first sub-transmission priority is used to indicate that, for the first type of data packet, the transmission priority is determined based on the latency requirement of the data packet.
[0172] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets. The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet. The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement. The first sub-transmission priority corresponding to the retransmission data packet includes: the transmission priority of the delay-sensitive retransmission data packet or retransmission data packet segment is higher than the transmission priority of the retransmission data packet or retransmission data packet segment without delay requirement. The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or new transmission data packet segment is higher than the transmission priority of the new transmission data packet or new transmission data packet segment without delay requirement.
[0173] Optionally, the transmission priority rule includes: a second transmission priority, and a second sub-transmission priority corresponding to each data packet with a delay requirement. The second transmission priority is used to indicate that the transmission priority is determined based on the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that, for a data packet with a first delay requirement, the transmission priority is determined based on the type of the data packet.
[0174] Optionally, the types of the data packets include: control data packets, new transmission data packets, and retransmission data packets. The second transmission priority includes: the transmission priority of delay-sensitive data packets is higher than the transmission priority of data packets with no delay requirements. The second sub-transmission priority corresponding to the delay-sensitive data packets includes: the transmission priority of the control data packets is higher than the transmission priority of the retransmission data packets, and the transmission priority of the retransmission data packets is higher than the transmission priority of the new transmission data packets. The second sub-transmission priority corresponding to the data packets with no delay requirements includes: the transmission priority of the control data packets is higher than the transmission priority of the retransmission data packets, and the transmission priority of the retransmission data packets is higher than the transmission priority of the new transmission data packets.
[0175] Optionally, the types of the data packets include: control data packets, new data packets, retransmitted data packets, and delay-sensitive data packets. The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the new data packet or the new data packet segment. Alternatively, the transmission priority rule includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new data packet or the new data packet segment.
[0176] The data transmission device provided in this embodiment can execute the actions of the network device in the aforementioned method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.
[0177] Optionally, the above-mentioned data transmission device may also include at least one storage module, which may include data and / or instructions. Other modules in the data transmission device (such as a receiving module, a sending module, a processing module, etc.) can read the data and / or instructions in the storage module to implement the corresponding method.
[0178] It should be noted that it should be understood that in each of the above embodiments, the sending module can be a transmitter when actually implemented, and the receiving module can be a receiver when actually implemented, or the sending module and the receiving module can be implemented through a transceiver, or the sending module and the receiving module can be implemented through a communication port. The processing module can be implemented in the form of software called by a processing element; it can also be implemented in the form of hardware. For example, the processing module can be at least one separately established processing element, or it can be integrated into a chip of the above-mentioned device for implementation. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called by a processing element of the above-mentioned device to perform the functions of the above-mentioned processing module. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0179] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), one or more microprocessors (digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented by a processing element calling a program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0180] Figure 6 is a schematic diagram of the structure of another data transmission device provided in an embodiment of the present application. As shown in Figure 6, the data transmission device 600 may include: at least one processor 601, a memory 602, and a transceiver 603. The processor 601, the transceiver 603, and the memory 602 communicate with each other via an internal connection path. The memory 602 is used to store instructions, and the processor 601 is used to execute the instructions stored in the memory 602 to control the transceiver 603 to send and / or receive instruction information.
[0181] The data transmission device may be, for example, the aforementioned network device or the aforementioned terminal device.
[0182] It should be understood that the data transmission device may correspond to the terminal device in the above-mentioned method embodiment or the network device in the above-mentioned method embodiment. It may be used to execute the various steps and / or processes performed by the terminal device or the network device in the above-mentioned method embodiment. Optionally, the memory 602 may include a read-only memory and a random access memory, and provide instructions and data to the processor 601. A portion of the memory 602 may also include a non-volatile random access memory. The memory 602 may be a separate device or integrated into the processor 601. The processor 601 may be used to execute instructions stored in the memory 602, and when the processor 601 executes the instructions stored in the memory, the processor 601 is used to execute the various steps and / or processes of the above-mentioned method embodiment.
[0183] The transceiver 603 may include a transmitter and a receiver. The transceiver 603 may further include an antenna, which may be one or more. The processor 601, memory 602, and transceiver 603 may be integrated on different chips. For example, the processor 601 and memory 602 may be integrated in a baseband chip, and the transceiver 603 may be integrated in a radio frequency chip. The processor 601, memory 602, and transceiver 603 may also be integrated on the same chip. This application does not limit this.
[0184] Optionally, the data transmission device is a component configured in a terminal device or a network device, such as a chip, a chip system, etc.
[0185] The transceiver 603 may also be a communication interface, such as an input interface and / or output interface, circuit, etc. The transceiver 603, the processor 601 and the memory 602 may be integrated into the same chip, such as a baseband chip.
[0186] It should be understood that the above-mentioned data transmission device can be one or more chips. For example, the data transmission device can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0187] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it will not be described in detail here.
[0188] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0189] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0190] An embodiment of the present application also provides a data transmission system, which includes the terminal device in the aforementioned embodiment and a network device.
[0191] The present application also provides a chip having a computer program stored thereon. When the computer program is executed by the chip, the method in the above embodiment is implemented.
[0192] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and when the program instructions are executed, the method in the above embodiment is implemented.
[0193] The present application also provides a computer program product, the program product including execution instructions, the execution instructions stored in a readable storage medium. At least one processor of a communication device can read the execution instructions from the readable storage medium, and the at least one processor executes the execution instructions so that the communication device implements the data transmission methods provided in the various embodiments described above.
[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method, characterized in that: include: The data packet is transmitted according to the data packet type and the delay information of the data packet.
2. The method according to claim 1, characterized in that The transmitting of the data packet according to the data packet type and the delay information of the data packet includes: The data packet is transmitted according to the data packet type, the delay information of the data packet, and the transmission priority rules used by the terminal device when transmitting the data packet. The transmission priority rules are related to the delay requirements corresponding to the data packet and the type of the data packet.
3. The method according to claim 2, characterized in that The transmission priority rules include: a first transmission priority level, and a first sub-transmission priority level corresponding to each type of data packet; The first transmission priority is used to indicate that the transmission priority is determined according to the data packet type, and the first sub-transmission priority is used to indicate that in the first type of data packet, the transmission priority is determined according to the delay requirement of the data packet.
4. The method according to claim 3, characterized in that The types of data packets include: control data packets, new transmission data packets, and retransmission data packets; The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet; The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement; The first sub-transmission priority corresponding to the retransmitted data packet includes: the transmission priority of the delay-sensitive retransmitted data packet or retransmitted data packet segment is higher than the transmission priority of the retransmitted data packet or retransmitted data packet segment without delay requirement; The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or the new transmission data packet segment is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment without delay requirement.
5. The method according to claim 2, characterized in that The transmission priority rules include: The second transmission priority, and the second sub-transmission priority corresponding to each data packet with each delay requirement; The second transmission priority is used to indicate that the transmission priority is determined according to the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that in the data packet with the first delay requirement, the transmission priority is determined according to the type of the data packet.
6. The method according to claim 5, characterized in that The types of data packets include: control data packets, new transmission data packets, and retransmission data packets; The second transmission priority includes: the transmission priority of a delay-sensitive data packet is higher than the transmission priority of a data packet without delay requirement; The second sub-transmission priority corresponding to the delay-sensitive data packet includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet; The second sub-transmission priority corresponding to the data packet with no delay requirement includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet.
7. The method according to claim 2, characterized in that The types of data packets include: control data packets, new transmission data packets, retransmission data packets, and delay-sensitive data packets; The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the newly transmitted data packet or the newly transmitted data packet segment; Alternatively, the transmission priority rules include: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment.
8. The method according to any one of claims 2 to 7, characterized in that: The method further comprises: Receive first indication information from a network device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
9. The method according to any one of claims 2 to 7, characterized in that: The method further comprises: Receive second indication information from a network device, wherein the second indication information includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
10. A data transmission method, characterized in that: include: Sending first indication information to a terminal device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to a delay requirement corresponding to the data packet and a type of the data packet; Alternatively, a second indication message is sent to the terminal device, wherein the second indication message includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
11. The method according to claim 10, characterized in that The transmission priority rules include: a first transmission priority level, and a first sub-transmission priority level corresponding to each type of data packet; The first transmission priority is used to indicate that the transmission priority is determined according to the data packet type, and the first sub-transmission priority is used to indicate that in the first type of data packet, the transmission priority is determined according to the delay requirement of the data packet.
12. The method according to claim 11, characterized in that The types of data packets include: control data packets, new transmission data packets, and retransmission data packets; The first transmission priority includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet; The first sub-transmission priority corresponding to the control data packet includes: the transmission priority of the delay-sensitive control data packet is higher than the transmission priority of the control data packet without delay requirement; The first sub-transmission priority corresponding to the retransmitted data packet includes: the transmission priority of the delay-sensitive retransmitted data packet or retransmitted data packet segment is higher than the transmission priority of the retransmitted data packet or retransmitted data packet segment without delay requirement; The first sub-transmission priority corresponding to the new transmission data packet includes: the transmission priority of the delay-sensitive new transmission data packet or the new transmission data packet segment is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment without delay requirement.
13. The method according to claim 10, characterized in that The transmission priority rules include: The second transmission priority, and the second sub-transmission priority corresponding to each data packet with each delay requirement; The second transmission priority is used to indicate that the transmission priority is determined according to the delay requirement of the data packet, and the second sub-transmission priority is used to indicate that in the data packet with the first delay requirement, the transmission priority is determined according to the type of the data packet.
14. The method according to claim 13, wherein: The types of data packets include: control data packets, new transmission data packets, and retransmission data packets; The second transmission priority includes: the transmission priority of a delay-sensitive data packet is higher than the transmission priority of a data packet without delay requirement; The second sub-transmission priority corresponding to the delay-sensitive data packet includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet; The second sub-transmission priority corresponding to the data packet with no delay requirement includes: the transmission priority of the control data packet is higher than the transmission priority of the retransmission data packet, and the transmission priority of the retransmission data packet is higher than the transmission priority of the new transmission data packet.
15. The method according to claim 10, characterized in that The types of data packets include: control data packets, new transmission data packets, retransmission data packets, and delay-sensitive data packets; The transmission priority rule includes: the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the control data packet, the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, and the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the newly transmitted data packet or the newly transmitted data packet segment; Alternatively, the transmission priority rules include: the transmission priority of the control data packet is higher than the transmission priority of the retransmitted data packet or the retransmitted data packet segment, the transmission priority of the retransmitted data packet or the retransmitted data packet segment is higher than the transmission priority of the delay-sensitive data packet, and the transmission priority of the delay-sensitive data packet is higher than the transmission priority of the new transmission data packet or the new transmission data packet segment.
16. A data transmission device, characterized in that: The device comprises: The control module is used to transmit the data packet according to the data packet type and the delay information of the data packet.
17. A data transmission device, characterized in that: The device comprises: a sending module, configured to send first indication information to a terminal device, where the first indication information is used to indicate a transmission priority rule used by the terminal device when transmitting a data packet, where the transmission priority rule is related to a delay requirement corresponding to the data packet and a type of the data packet; Alternatively, a second indication message is sent to the terminal device, wherein the second indication message includes a transmission priority rule used by the terminal device when transmitting a data packet, and the transmission priority rule is related to the delay requirement corresponding to the data packet and the type of the data packet.
18. A data transmission device, characterized in that: The device includes: a processor, a transceiver, and a memory; the processor is communicatively connected to the transceiver and the memory respectively; The memory stores computer-executable instructions; The transceiver communicates and interacts with an external device; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9 or any one of claims 10 to 15.
19. A chip, characterized in that: A computer program is stored on the chip, and when the computer program is executed by the chip, the method according to any one of claims 1 to 9 or any one of claims 10 to 15 is implemented.
20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 or any one of claims 10 to 15 is implemented.
21. A computer program product, characterized in that The invention comprises a computer program which, when being executed, causes a computer to perform the method according to any one of claims 1 to 9 or any one of claims 10 to 15.
Citation Information
Patent Citations
Method and device for sending and receiving control information
CN111526488A
Data transmission method and device, terminal and network side equipment
CN115915437A
Communication method, terminal, network device, communication system and storage medium
CN118435652A
Method for scheduling packets in wireless mesh network
KR1020090114042A
System and Method for Pre-calculating Checksums
US20100095193A1