Data transmission method and related device

By adopting an independent re -transmission mechanism in XR and other services, the remaining time and link quality of the data packet are used to determine whether it is re -spread, solving the problem of discarding the data packets caused by short PDB, and improving the reliability of data transmission.

CN119383655AActive Publication Date: 2025-01-28HONOR DEVICE CO LTD

Patent Information

Application Number
CN202411791334.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-01-28
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

In latency-sensitive services such as extended reality (XR), due to the short packet delay budget (PDB), the data transmission method of the acknowledge mode may cause the packet timeout to be discarded.

Method used

A self -re -transmission mechanism is proposed based on the remaining time of the data packet to reach at least one door limit and link quality, transmitting the data packet or sending instruction information to the receiving end to ensure the successful reception of the data packet.

Benefits of technology

The possibility of re -transmission of data packets and receiving feedback information within the time limit of PDB, reducing the risk of discarded data packetouts, thereby improving the reliability of data packet transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383655A_ABST
    Figure CN119383655A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method, which is applied to a first communication device, the first communication device communicates with a second communication device through a link, the first communication device sends a first data packet to the second communication device, and if feedback information of the first data packet is not received, the first data packet is sent to the second communication device. And on the basis that the remaining time of the first data packet reaches at least one threshold value and the link quality, the first data packet is retransmitted to the second communication equipment or first indication information is sent to the second communication equipment, and the first indication information is used for indicating whether the second communication equipment feeds back whether the first data packet is successfully received or not. According to the method, under the condition that the feedback information of the data packet is not received, the data packet is retransmitted or the receiving end is instructed to feed back the feedback information of the data packet based on the threshold value and the link quality, namely, the receiving end is autonomously retransmitted or instructed to feed back the feedback information of the data packet, so that the possibility of retransmitting the data packet and receiving the feedback information within the PDB time limit is improved, and the user experience is improved. Therefore, the possibility that the data packet is discarded due to overtime caused by a relatively short PDB is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a data transmission method and related devices. Background Art

[0002] Extended Reality (XR) is a technology that combines Virtual Reality (VR) and Augmented Reality (AR). XR service data packets are mainly composed of videos, images, and interactive instructions. The network requirements include high throughput, low latency, and high reliability.

[0003] In the confirmation mode, the receiving end needs to be informed by the sending end whether the data packet is successfully received, which can improve the reliability of data transmission. However, it takes a certain delay for the receiving end to obtain the feedback information of the data packet. For delay-sensitive services such as XR, the packet delay budget (PDB) is short. Therefore, the confirmation mode data transmission method may cause the data packet to time out and be discarded due to the short PDB. Summary of the invention

[0004] In view of this, the present application provides a data transmission method and related devices to solve the problem of data packets being discarded due to timeout due to a short PDB. The disclosed technical solution is as follows: In the first aspect, the present application provides a data transmission method, which is applied to a first communication device, wherein the first communication device communicates with a second communication device through a link, and the method includes: sending a first data packet to the second communication device; if the feedback information of the first data packet is not received, based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, retransmitting the first data packet to the second communication device or sending first indication information, the first indication information is used to indicate whether the second communication device successfully receives the first data packet. Among them, retransmitting the first data packet to the second communication device or sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link can be called the autonomous retransmission mechanism proposed in the present application, and the failure to receive the feedback information of the first data packet is a condition for the execution of the autonomous retransmission mechanism. In some implementations, when each threshold value is reached, it is no longer necessary to determine whether the feedback information is received, and the autonomous retransmission mechanism is executed based on the link quality until the remaining time is over. In other implementations, when a threshold value is reached, it is possible to determine whether the feedback information is received and perform corresponding operations (see the embodiments of the present application).

[0005] The method retransmits the data packet or instructs the receiving end to feedback the data packet based on a threshold value and link quality when no feedback information of the data packet is received, i.e., autonomously retransmits or instructs the receiving end to feedback the data packet, thereby increasing the possibility of retransmitting the data packet and receiving the feedback information within the PDB time limit, thereby reducing the possibility of the data packet being discarded due to timeout due to a shorter PDB, thereby improving the reliability of data packet transmission.

[0006] In some implementations, based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, retransmitting the first data packet or sending a first indication to the second communication device includes: based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link is not greater than a preset threshold value, retransmitting the first data packet to the second communication device; based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link being greater than the threshold value, sending the first indication information to the second communication device. An example of a link is a downlink. Using the quality of the link as the basis for retransmission or indication feedback can not only ensure timely retransmission of data packets, but also reduce the possibility of unnecessary retransmission.

[0007] In some implementations, it also includes: based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link is not greater than a preset threshold, sending a first indication message to the second communication device, so as to obtain feedback information of the data packet in time after retransmitting the data packet.

[0008] In some implementations, the method further includes: when the remaining time of the first data packet expires, and / or when feedback information indicating successful reception of the first data packet is received, stopping retransmitting the first data packet to the second communication device and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, so as to reduce unnecessary retransmissions and thus save transmission resources.

[0009] In some implementations, it also includes: upon receiving feedback information indicating that the first data packet was not successfully received, stopping retransmitting the first data packet to the second communication device and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, so as to reduce unnecessary retransmissions and thus save transmission resources.

[0010] In some implementations, the method further includes: retransmitting the first data packet to the second communication device based on the feedback information to improve the reliability of data transmission.

[0011] In some implementations, the method further includes: upon receiving feedback information indicating that the first data packet was not successfully received, retransmitting the first data packet to the second communication device at a first time based on the feedback information, the first time being after the remaining time of the first data packet reaches a first threshold value and before the remaining time of the first data packet reaches a second threshold value; retransmitting the first data packet or sending the first indication information to the second communication device based on the remaining time of the first data packet reaching a target threshold value and the quality of the link, the target threshold value including a threshold value other than the second threshold value among multiple threshold values. Because the first data packet has been retransmitted before the remaining time of the first data packet reaches the second threshold value, the data packet is no longer retransmitted when the remaining time of the first data packet reaches the second threshold value, so as to save transmission resources.

[0012] In some implementations, at least one threshold value includes multiple threshold values ​​sorted according to preset rules, wherein the interval between adjacent threshold values ​​is not less than at least one of the duration of data transmission and the duration of a hybrid automatic repeat request HARQ, so as to avoid unnecessary retransmission and save transmission resources.

[0013] In some implementations, before sending the first data packet to the second communication device, the method further includes: acquiring configuration information sent by the second communication device, the configuration information including at least one of evaluation parameters of link quality and configuration information of at least one threshold value.

[0014] In some implementations, the configuration information of at least one threshold value indicates: at least one threshold value, or the configuration information of at least one threshold value indicates: an interval between a threshold value and an adjacent threshold value.

[0015] In some implementations, the threshold value is configured at the radio link control RLC layer or the packet data convergence protocol PDCP layer. That is, the RLC layer or the PDCP layer can trigger the autonomous retransmission mechanism based on the relationship between the remaining time of the first data packet and the threshold value, which has higher flexibility.

[0016] In some implementations, the link quality is obtained by reading the cell measurement result from layer 1. Since the retransmission of the data packet is implemented through the RLC layer, which belongs to layer 2, obtaining the cell measurement result from layer 1 rather than layer 3 can reduce the acquisition delay.

[0017] In some implementations, reading the cell measurement result from layer 1 includes: the RLC layer reading the latest measurement result of the cell from layer 1 to improve the accuracy of the judgment based on the link quality.

[0018] In some implementations, before sending the first data packet to the second communication device, it also includes: starting a first timer, the timing of the first timer indicates the remaining time of the first data packet, the first timer is an RLC layer timer, or a first type of timer at the PDCP layer, or a second type of timer at the PDCP layer, the first type of timer includes a discard timer, and the discard timer is also used to count the discard time of the data packet, and the second type of timer is other timers configured outside the first type of timer. That is to say, the first timer can be set at the RLC layer, and can also be set at the PDCP layer, a new timer can be configured at the PDCP layer, and the discard timer of the PDCP layer can also be reused, which has high flexibility.

[0019] In some implementations, starting the first timer includes: when the PDCP layer transmits the first data packet to the RLC layer, the RLC layer starts the first timer, or the PDCP layer starts the first type of timer or the second type of timer. Starting the first timer when the PDCP layer transmits the first data packet to the RLC layer is conducive to the first timer more accurately reflecting the remaining time of the first data packet.

[0020] In some implementations, before starting the first timer, it also includes: obtaining configuration information of the first timer sent by the second communication device, where the configuration information is used to configure the RLC layer timer, or the first type of timer or the second type of timer of the PDCP layer.

[0021] In some implementations, based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, the first data packet is retransmitted to the second communication device or the first indication information is sent, including: based on the remaining time of the first data packet reaching a third threshold value, the PDCP layer transmits a first identifier to the RLC layer; the RLC layer retransmits the first data packet to the second communication device based on the first identifier and the measurement result of the link is not greater than a preset threshold; the RLC layer sends the first indication information to the second communication device based on the first identifier and the measurement result of the link is greater than the threshold. The PDCP layer counts the remaining time of the first data packet, which is beneficial to multiplexing the discard timer of the PDCP layer and also beneficial to saving computing resources of the RLC layer.

[0022] In some implementations, it also includes: when the RLC layer receives feedback information of the first data packet, the RLC layer stops retransmitting the first data packet and sending the first indication information to the second communication device based on the first identifier and the quality of the link to save transmission resources.

[0023] In some implementations, it also includes: when the RLC layer receives feedback information of the first data packet, the RLC layer instructs the PDCP layer to stop timing the remaining time of the first data packet, so that the PDCP layer releases timing resources and saves computing power.

[0024] In some implementations, at least one of the following items is also included: after the remaining time of the first data packet ends, the PDCP layer stops transmitting the first identifier to the RLC layer; the PDCP layer stops the timing of the first timer based on the instruction of the RLC layer to stop the timing of the remaining time of the first data packet. Because the first identifier is triggered to be sent based on the relationship between the timing of the timer and the threshold value, the PDCP layer will no longer send the first identifier after stopping the timing of the first timer.

[0025] In some implementations, it also includes: when the RLC layer receives feedback information indicating that the first data packet was not successfully received, the RLC layer retransmits the first data packet to the second communication device at a first time based on the feedback information to improve the reliability of data packet transmission.

[0026] In some implementations, it also includes: based on the remaining time of the first data packet reaching at least one threshold value, the PDCP layer transmits a first identifier to the RLC layer, wherein the first time is after the remaining time of the first data packet reaches a fourth threshold value and before the remaining time of the first data packet reaches a fifth threshold value; the RLC layer retransmits the first data packet or sends a first indication message to the second communication device based on the target identifier and the quality of the link, and the target identifier includes other first identifiers except the first identifier triggered by the remaining time of the first data packet reaching the fifth threshold value, so as to reduce the possibility of unnecessary retransmission and save transmission resources.

[0027] The second aspect of the present application provides an electronic device, which includes: one or more processors, a memory and a touch screen; the memory is used to store program code; the processor is used to run the program code, so that the electronic device implements the data transmission method provided in the first aspect of the present application.

[0028] A third aspect of the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on an electronic device, the electronic device executes the data transmission method provided in the first aspect of the present application.

[0029] The fourth aspect of the present application provides a chip system, comprising: at least one processor and an interface, the interface being used to receive code instructions and transmit them to at least one processor; at least one processor executes the code instructions to implement the data processing method provided in the first aspect of the present application.

[0030] The fifth aspect of the present application provides a computer program product having an executable program stored thereon. When the computer program product is run on an electronic device, the electronic device implements the data transmission method provided in the first aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 is an example diagram of various protocol layers used to transmit data; Figure 2 This is a diagram showing an example of the structure of the RLC layer; Figure 3 is a flow chart of a data transmission method provided in an embodiment of the present application; Figure 4 This is an example diagram of outputting a cell measurement report through layer 1 and layer 3 provided in an embodiment of the present application; Figure 5 is a flowchart of another data transmission method provided in an embodiment of the present application; Figure 6 is a flowchart of another data transmission method provided in an embodiment of the present application; Figure 7 is a flowchart of another data transmission method provided in an embodiment of the present application; Figure 8 is a flowchart of another data transmission method provided in an embodiment of the present application; Fig. 9 is a flowchart of another data transmission method provided in an embodiment of the present application; Fig.10 is a flowchart of another data transmission method provided in an embodiment of the present application; Fig.11 is a flowchart of another data transmission method provided in an embodiment of the present application; Fig.12 It is a structural diagram of a communication device provided in an embodiment of the present application; Fig.13 It is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

[0034] In the embodiments of the present application, words such as "in some implementations" or "for example" are used to indicate examples, illustrations or descriptions and should not be interpreted as being more preferred or more advantageous than other embodiments or designs.

[0035] Figure 1 It is an example of each layer protocol used to transmit data packets. In the terminal and base station, in order from low layer to high layer, it includes the following protocol layers: physical layer (PHY) layer, medium access control (MAC) layer, radio link control (RLC) layer, packet data convergence protocol (PDCP) layer, and radio resource control (RRC) layer.

[0036] Among them, the above protocol layers are divided into Layer 1 (Layer 1, L1), L2 and L3, such as Figure 1 As shown, L1 includes a PHY layer, L2 includes a MAC layer, an RLC layer, and a PDCP layer, and L3 includes an RRC layer.

[0037] Taking the example of a terminal sending data to a base station, the data packet is processed by the RRC layer, PDCP layer, RLC layer, MAC layer and PHY layer from the high layer, and then transmitted to the PHY layer of the base station, and then transmitted to the higher layer of the base station through the MAC layer, RLC layer, PDCP layer, and RRC layer of the base station.

[0038] Figure 2 This is a schematic diagram of data transmission at the RLC layer, where the RLC layer is a protocol layer located above the medium access control (MAC) layer and below the packet data convergence protocol (PDCP) layer. The RLC layer is mainly used for data transmission and flow control. Generally, the transmission mode of the RLC layer can include transparent mode (TM), unacknowledged mode (UM) and acknowledged mode (AM). In services that require high reliability, acknowledged mode is usually used for data transmission.

[0039] The RLC layer includes the transparent mode sending entity (transmitting TM RLC entity), the transparent mode receiving entity (receiving TM RLC entity), the unconfirmed mode sending entity (transmitting UM RLC entity), the unconfirmed mode receiving entity (receiving UM RLC entity), and the confirmed mode entity (AM RLC entity). Among them, the confirmed mode entity is different from other entities and can provide two-way data transmission services. Each entity of the RLC layer communicates with the PDCP layer through the RLC channel (RLC channel) and communicates with the MAC layer through the logical channel (logical channel). Each communication device communicates through the radio interface (radio interface).

[0040] Confirmation mode packets can be sent via Figure 3 For example, the RLC layer can reconstruct the data packet delivered by the PDCP layer, add sequence numbers to the data packet, and segment the data packet through the confirmation mode entity, thereby obtaining a confirmation mode data packet (such as AMD PDU).

[0041] In confirmation mode, the receiving end transmits a status report of the data packet to the sending end. The status report can be a negative acknowledgement (NACK) or an acknowledgement (ACK). NACK can indicate that the receiving end has not successfully received the confirmation mode data packet, and ACK can indicate that the receiving end has successfully received the confirmation mode data packet.

[0042] The existing protocol stipulates that the receiving end sends a status report under the instruction of the sending end or actively sends a status report. In either case, the receiving end sends a status report to the sending end only when certain conditions are met. For example, based on the instruction of the sending end, the poll instruction is sent when the sent data packet reaches a certain amount of data, and the receiving end sends a status report when its own requirements are met. For example, after the receiving end timer reaches a certain time, the receiving end actively sends a status report to the sending end.

[0043] Therefore, it is understandable that it takes a certain delay for the receiving end to send the status report.

[0044] For some types of services, such as Extended Reality (XR) services, data packets are mainly video / pictures and interactive instructions, and the network requirements are high throughput, low latency and high reliability. Therefore, data transmission needs to be carried out through the confirmation mode of the RLC layer to ensure high reliability of data transmission. However, since services such as XR also have high requirements for low latency, the packet delay budget (PDB) configured in such services is relatively short. After the PDB time limit is reached, the sender discards the data packet, and the delay from the sender sending the data packet to the status report of the data packet received may be greater than the PDB, which may cause the data packet to be discarded due to timeout. For example, the data packet is not successfully received by the receiver, but it is discarded because the sender does not receive the status report in time within the PDB time limit, causing the data packet (such as PDU) to be unable to be retransmitted.

[0045] It can be seen that the confirmation mode is not well suited for some businesses with shorter PDBs.

[0046] In order to solve the above problems, the inventors proposed an autonomous retransmission method, where the sender triggers at least one retransmission of the data packet within the PDB time limit, instead of waiting for NACK and retransmission, to reduce the occurrence of data packets being discarded due to timeout when the PDB is short.

[0047] However, the inventors have also found that this autonomous retransmission method has at least the following problems: it increases the occupancy of transmission resources, thereby more easily causing network congestion.

[0048] In summary, how to control the occupancy of transmission resources while reducing the possibility of data packets being erroneously discarded due to a short PDB is a problem that needs to be solved at present.

[0049] In order to solve the above problems, an embodiment of the present application provides a data transmission method, which is applied to a communication system. The communication system includes multiple communication devices, and any one of the communication devices can be a terminal or an access network device. In the embodiment of the present application, the first communication device is a terminal and the second communication device is a base station. For example, it is described, but it does not constitute a limitation.

[0050] The communication system includes, but is not limited to, Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Universal Mobile Telecommunications System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, UMTS Terrestrial Radio Access Network (UTRAN) system, or Global System for Mobile Communication (GSM) / Enhanced Data Rate for GSM Evolution (EDGE) system's radio access network (GSM EDGE Radio Access Network, GERAN) system. In addition, the technical solution provided in the embodiments of the present application can also be applied to any other wireless communication system with similar structure and function, such as Public Land Mobile Network (PLMN) system, fifth generation (5G) communication system, communication system after 5G, new radio access technology (NR) system, various future communication systems such as sixth generation (6G) communication system, vehicle-to-X (V2X) system, etc.Among them, the V2X system may include a vehicle to Internet (V2N) system, a vehicle to vehicle (V2V) system, a vehicle to infrastructure (V2I) system, a vehicle to pedestrian (V2P) system, a long-term evolution technology for vehicle communication (LTE-V) system, an Internet of Vehicles system, a machine type communication (MTC) system, an Internet of Things (IoT) system, a long-term evolution technology for machine-to-machine communication (LTE-M) system, a machine to machine (M2M) system, etc., and the embodiments of the present application do not impose any restrictions on this.

[0051] The access network equipment is a base station, which includes but is not limited to: an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in LTE, a base station (gNodeB or gNB) or a transmission receiving point / transmission reception point (TRP) in NR, a radio access network (RAN) device, a base station of subsequent evolution of 3GPP, an access node in a WiFi system, a wireless relay node, a wireless backhaul node, etc. The network equipment can also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The network equipment can also be a server, a wearable device, or an in-vehicle device, etc.

[0052] The terminal may include a handheld device or a vehicle-mounted device with a wireless transceiver function, and may specifically include but is not limited to: a mobile phone, a mobile phone, a tablet computer, a PDA, a laptop computer, a notebook computer, a computer with a wireless transceiver function, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication device, ... assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, wearable devices, terminal devices in a 5G network, or terminal devices in a future evolved public land mobile network (public land mobile network, PLMN), etc., and the embodiments of the present application are not limited to this.

[0053] As an example but not limitation, in the embodiments of the present application, the terminal may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches, smart helmets, or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0054] In addition, in the embodiment of the present application, the terminal can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

[0055] The terminal in the embodiments of the present application may also be referred to as: an electronic device, user equipment (UE), a mobile station (MS), a subscriber unit (SU), a mobile terminal (MT), an access terminal, an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a remote terminal device, a mobile device, a user terminal, a UE terminal device, a terminal, a wireless communication device, a user agent, a UE agent, a UE device or a user device, etc.

[0056] Figure 3 is a flowchart of a data transmission method provided in an embodiment of the present application. In an embodiment of the present application, Figure 2 The framework shown is provided for illustration purposes only and is not intended to be limiting.

[0057] Figure 3 The following steps are included: S101. A base station configures a first timer and a threshold value for an RLC layer of a terminal.

[0058] The first timer is used to count the remaining time of the data packet. The threshold value is used as a basis for determining whether to autonomously retransmit the data.

[0059] In this embodiment, the first timer and the threshold are RLC static parameters and are applicable to each AMD PDUs.

[0060] The first timer can use the countdown mode or the countdown mode. No matter which timing mode is used, it indicates the remaining time of the data packet. For example, if the remaining time of the data packet is 10 milliseconds, the first timer starts counting down from 10 in the countdown mode, and starts counting up from 0 in the countdown mode.

[0061] The first timer is configured with an initial value by the base station according to the PDB. Taking the countdown mode as an example, the initial value represents the remaining time of the AMD PDUs. In some implementations, the initial value of the first timer is the difference between the duration corresponding to the PDB and the consumed duration, and the consumed duration is the duration consumed in the process of the data packet being transferred from the application layer to the RLC layer.

[0062] In some implementations, the base station configures multiple threshold values ​​for the RLC layer of the terminal, such as T1 (threshold value 1), T2 (threshold value 2), ..., Tn (threshold value n). Because the first timer counts the remaining time of the data packet, if the first timer uses the countdown mode, T1, T2..., Tn are sorted in order from large to small. If the first timer uses the positive timing mode, T1, T2..., Tn are still sorted in order from large to small. Unlike the countdown method, the positive timing time needs to be converted into the remaining time of the data packet and then compared with the threshold value.

[0063] The time interval between adjacent threshold values ​​is configured to be greater than or equal to at least one of a data transmission duration and a hybrid automatic repeat request (HARQ) duration. The purpose of being greater than or equal to the data transmission duration is that before a data packet transmitted once by a transmitting end (such as a terminal) reaches a receiving end (such as a base station), no next retransmission is performed. The purpose of being greater than or equal to the HARQ duration is that before the transmitting end retransmits a data packet based on a status report, no autonomous retransmission is performed. It can be seen that being greater than or equal to at least one of the data transmission time and the HARQ time is conducive to avoiding excessive frequency of triggering data packet retransmission according to the threshold value, which results in excessive occupation of transmission resources by unnecessary retransmission.

[0064] It is understandable that the remaining time of the data packet represented by the configured threshold value is within the duration corresponding to the PDB, that is, within the timing duration of the first timer, thereby avoiding configuring an invalid threshold value.

[0065] In other implementations, the base station configures a threshold value T and an interval Interval_timer between adjacent threshold values ​​for the RLC layer of the terminal. Based on the configuration, the terminal can obtain a threshold value sequence, such as threshold value 1 is T, threshold value 2 is threshold value 1-Interval_timer, threshold value 3 is threshold value 2-Interval_timer...

[0066] It can be understood that Interval_timer is greater than or equal to at least one of the data transmission time and the HARQ time.

[0067] In some implementations, the threshold value may be set based on the number of times retransmissions are triggered before the first timer expires, thereby enabling the terminal to trigger the required number of retransmissions according to the threshold value within the PDB time limit.

[0068] In other implementations, multiple threshold values ​​with fixed time intervals are set according to the required retransmission time intervals, so that there can be a fixed time interval between the set threshold values, thereby controlling the time interval for data packet retransmission triggered by the threshold value, thereby avoiding the data packet retransmission interval being too short.

[0069] S102: When a first data packet is delivered from the PDCP layer to the RLC layer, the RLC layer of the terminal starts a first timer.

[0070] The first data packet is any data packet. Figure 2 As shown, the first data packet is a confirmation mode data packet, but Figure 2 This is only an example and does not constitute a limitation on the first data packet. When the first timer is started, the AM RLC entity starts to calculate the remaining time of the first data packet (PDU).

[0071] S103. The RLC layer of the terminal initially transmits a first data packet to the base station according to the MAC configuration.

[0072] For example, when the RLC layer sends the first data packet to the base station, the first data packet may be finally sent to the base station through the MAC layer according to the configuration of the MAC layer, such as the transmission opportunity indicated by the MAC layer.

[0073] After the first data packet is initially transmitted, the RLC layer retransmits the first data packet to the base station or instructs the base station to feed back a status report of the first data packet based on whether the remaining time of the first data packet reaches at least one threshold value and the quality of the link, that is, performs the following process: S104: If the terminal does not receive feedback information of the first data packet, when the remaining time of the first data packet indicated by the first timer reaches the threshold value 1, the RLC layer of the terminal determines that the measurement result of the link is not greater than the preset threshold, and retransmits the first data packet to the base station.

[0074] In some implementations, the link is a downlink between the terminal and the base station. The quality of the downlink is reflected by a measurement result of the downlink and a preset threshold.

[0075] In this embodiment, the measurement result of the cell is read from L1 as the measurement result of the downlink.

[0076] by Figure 4 For example, the L1 layer in the terminal obtains the measurement results of each cell by measuring each beam, and combines Figure 4 It can be seen that the measurement result of each cell is transmitted from L1 to L3 for subsequent processing, and finally a measurement report of each cell is output.

[0077] In this embodiment, in order to reduce latency, the measurement report of the cell finally output after L3 processing is not obtained, but the measurement result of the cell is directly read from L1. It can be understood that what is read from L1 is the measurement result of the cell used to transmit the first data packet.

[0078] Because the measurement of beams and cells is periodic, reading the latest measurement results of the cells is helpful to improve the accuracy of link quality determination results.

[0079] The measurement result of the downlink is not greater than the threshold, indicating that the quality of the downlink is poor and cannot support the terminal to receive any feedback information of the first data packet, so the first data packet needs to be retransmitted.

[0080] In some implementations, in addition to the first retransmitted data packet, the base station is also instructed to feedback whether the first data packet is successfully received, such as sending a message to the base station, the message including the first data packet and first indication information. The first indication information is used to indicate whether the base station is successfully received. The first indication information is used to feedback whether the first data packet is successfully received, such as a status report.

[0081] In some implementations, the retransmitted first data packet may be the first data packet initially transmitted in S103. To save transmission resources, it may also be part of the data of the first data packet initially transmitted (ie, a partial data packet), which is not limited here.

[0082] Assuming that after S104, the remaining time of the data packet has not yet ended, the following steps are continued.

[0083] S105. If the terminal does not receive feedback information of the first data packet, the RLC layer of the terminal determines that the measurement result of the link is greater than the preset threshold when the remaining time of the first data packet indicated by the first timer reaches the threshold value 2, and the RLC layer of the terminal sends the first indication information to the base station.

[0084] The measurement result of the downlink is greater than the threshold, and it can be considered that the downlink quality is good. Therefore, if the NACK of the first data packet is sent, it is very likely to be successfully received by the terminal. In this case, if the terminal does not receive the NACK, it means that the first data packet is most likely received by the base station, and there is no need to retransmit it to save transmission resources. Instead, the base station is instructed to feedback whether the first data packet is successfully received.

[0085] In some implementations, the first indication information is a poll indication. For relevant contents of the poll indication, refer to existing standards and are not described here. Based on the poll indication, the base station sends a status report of the first data packet to the terminal when certain conditions are met. As mentioned above, the status report is NACK or ACK.

[0086] In this embodiment, assuming that the terminal has not received the status report of the first data packet, then before the countdown of the remaining time of the first data packet ends (such as the remaining time is zero), the first data packet is retransmitted to the base station or the first indication information is sent based on the threshold value and the quality of the link until the first timer indicates that the remaining time of the first data packet has ended or information is received from the base station on whether the first data packet is successfully received (such as a status report).

[0087] The data transmission method provided in this embodiment triggers the terminal to autonomously retransmit the data packet based on the threshold value set within the remaining time of the AMD PDUs. It can do without status reporting. Before the AMD PDUs expire, it can retransmit at least once or at least instruct the base station to feedback the status report once, thereby increasing the possibility of the base station successfully receiving the data packet and also increasing the possibility of erroneous discarding of data packets due to excessive delay in status reporting. In addition, because the basis of autonomous retransmission also includes the quality of the link, it can avoid excessive occupation of transmission resources due to autonomous retransmission based on the threshold value.

[0088] Figure 3 In the data transmission method shown, it is assumed that the terminal has not received the status report of the first data packet. It is understandable that the terminal may receive the status report, for example, after a certain retransmission, the status report of the first data packet is received, and the terminal may receive the status report of the first data packet. Figure 5 and Figure 6 Provide detailed description of this situation.

[0089] Figure 5 The following steps are included: S201. A base station configures a first timer and a threshold value for an RLC layer of a terminal.

[0090] S202: When a first data packet is delivered from the PDCP layer to the RLC layer, the RLC layer of the terminal starts a first timer.

[0091] In this embodiment, the countdown of the first timer is taken as an example.

[0092] S203. The RLC layer of the terminal transmits a first data packet to the base station for the first time.

[0093] S204: When the RLC layer of the terminal does not receive feedback information of the first data packet and the remaining time of the first timer reaches the threshold value 1, it determines that the measurement result of the link is not greater than the preset threshold value, and retransmits the first data packet to the base station.

[0094] In order for the terminal to receive ACK in time after the base station successfully receives the first data packet, so as to terminate the retransmission process of the first data packet in time, in this step, in addition to retransmitting the first data packet to the base station, the base station is also instructed to feedback a status report. In some implementations, the RLC layer of the terminal sends a first message to the base station, and the first message includes the first data packet and first indication information.

[0095] S205. When the RLC layer of the terminal does not receive feedback information of the first data packet and the timing of the first timer indicates that the remaining time of the first data packet reaches a threshold value 2, the RLC layer of the terminal determines that the measurement result of the link is greater than a preset threshold, and the RLC layer of the terminal sends first indication information to the base station, where the first indication information is used to instruct the base station to feed back a status report of the first data packet.

[0096] Before the countdown of the first timer ends, the terminal receives feedback information of the first data packet, and then performs the following steps: S206. The RLC layer of the terminal receives a status report of the first data packet.

[0097] It is understandable that there may be no other steps between S206 and S205, and there may be at least a step of retransmitting the first data packet or sending the first indication to the terminal based on the threshold value 3 and the quality of the link.

[0098] In this embodiment, the feedback information is taken as a status report as an example, and it is assumed that the status report is ACK, indicating that the base station successfully receives the first data packet.

[0099] S207. The RLC layer of the terminal stops timing of the first timer in response to the ACK.

[0100] It is understandable that the purpose of stopping the timing of the first timer is to stop the autonomous retransmission process based on the threshold value and link quality. In addition to stopping the timing of the first timer, the autonomous retransmission process based on the threshold value and link quality can also be stopped through other steps.

[0101] Figure 5 The process shown stops the autonomous retransmission process based on the threshold value and link quality based on the feedback information received that the base station successfully receives the first data packet, which is beneficial to saving transmission resources on the basis of determining that the data packet has been successfully received.

[0102] Understandably, Figure 5 Taking the example of receiving ACK after judging based on thresholds 1 and 2, it is understandable that ACK may be received before the remaining time of the data packet reaches threshold 1 or threshold 2, then the autonomous retransmission process based on the threshold value and link quality is stopped, which is not limited here.

[0103] Figure 6Another data transmission method provided in an embodiment of the present application is Figure 5 Compared with the process shown in FIG. 1 , the first data packet is not successfully received by the base station. Figure 6 The following steps are included: S301. A base station configures a first timer and a threshold value for an RLC layer of a terminal.

[0104] S302: When the first data packet is delivered from the PDCP layer to the RLC layer, the RLC layer of the terminal starts a first timer.

[0105] In this embodiment, the countdown of the first timer is taken as an example.

[0106] S303: The RLC layer of the terminal transmits a first data packet to the base station for the first time.

[0107] S304, the terminal does not receive feedback information of the first data packet, and the RLC layer of the terminal retransmits the first data packet or sends first indication information (i.e., polling indication) to the base station based on the countdown of the first timer reaching at least one threshold value and the relationship between the measurement result of the link and the threshold.

[0108] For an example of S304, see S204-S205.

[0109] S305. The RLC layer of the terminal receives NACK for the first data packet.

[0110] NACK indicates that the first data packet is not successfully received by the base station.

[0111] S306. In response to the NACK, the RLC layer of the terminal stops autonomously retransmitting the data packet and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the link quality.

[0112] A specific implementation method of autonomously retransmitting the data packet and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and link quality may be: stopping the timing of the first timer.

[0113] S307: The RLC layer of the terminal retransmits the first data packet to the base station based on NACK.

[0114] The specific implementation of S307 may refer to the related technology of Automatic Repeat Request (ARQ), which will not be described in detail here.

[0115] Figure 6In the data transmission method shown, after the terminal receives the NACK of the first data packet, it not only stops the autonomous retransmission process based on the remaining time of the data packet reaching at least one threshold value and the link quality, but also retransmits the first data packet based on the NACK, which can not only save transmission resources but also be compatible with existing standards, thereby increasing the possibility of the data packet being successfully received by the base station, thereby improving the reliability of data transmission.

[0116] Figure 7 Another data transmission method provided in an embodiment of the present application is Figure 6 Compared with the process shown, after retransmitting the data packet based on NACK, in order to further reduce the possibility of the data packet being erroneously discarded due to the PDB being too short, the autonomous retransmission process based on the remaining time of the first data packet reaching at least one threshold value and the link quality provided in the present application is continued to be executed.

[0117] Figure 7 The following steps are included: S401. A base station configures a first timer and a threshold value for an RLC layer of a terminal.

[0118] S402: When the first data packet is delivered from the PDCP layer to the RLC layer, the RLC layer of the terminal starts a first timer.

[0119] In this embodiment, the countdown of the first timer is taken as an example.

[0120] S403: The RLC layer of the terminal transmits a first data packet to the base station for the first time.

[0121] S404. If the terminal does not receive feedback information of the first data packet, when the remaining time of the first timer reaches the threshold value 1, the RLC layer of the terminal retransmits the first data packet or sends a first indication information (i.e., a polling indication) to the base station based on the relationship between the measurement result of the link and the preset threshold.

[0122] S405. The RLC layer of the terminal receives NACK for the first data packet.

[0123] S406: The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.

[0124] In this embodiment, it is assumed that S405 is executed before the remaining time of the first timer reaches the threshold value 2. The RLC layer of the terminal does not stop the autonomous retransmission process based on the threshold value and link quality, so the first timer continues to count.

[0125] S407. If the terminal does not receive feedback information of the first data packet, when the remaining time of the first timer reaches the threshold value 3, the RLC layer of the terminal retransmits the first data packet or sends the first indication information to the base station based on the relationship between the link measurement result and the preset threshold.

[0126] That is to say, the RLC layer of the terminal skips the judgment of threshold value 2. Even if the countdown of the first timer reaches threshold value 2, the RLC layer of the terminal does not respond, because the first data packet has been retransmitted based on NACK between the countdown of the first timer reaching threshold value 1 and 2. Therefore, in order to reduce unnecessary retransmissions, the step when reaching threshold value 2 is skipped.

[0127] It can be understood that the process described in this embodiment ends until the countdown of the first timer ends or the terminal receives the ACK of the first data packet.

[0128] The method provided in this embodiment combines NACK-based retransmission with threshold- and link-quality-based autonomous retransmission, which can not only ensure the retransmission of data packets as much as possible, but also reduce unnecessary retransmissions, thereby saving transmission resources while reducing the possibility of data packets being erroneously discarded due to a short PDB.

[0129] like Figure 1 and Figure 2 As shown, the transmission of data packets is related to both the PDCP layer and the RLC layer, and the PDCP layer is configured with a discard timer. Based on this, in the following embodiments, the relevant configuration of the first timer and the process of the PDCP layer and the RLC collaborating to achieve autonomous retransmission based on the threshold value and link quality will be described in detail.

[0130] Figure 8 Another data transmission method provided in an embodiment of the present application includes the following steps: S501. A base station configures a first timer and a threshold value for a PDCP layer of a terminal.

[0131] Based on the existing standards, the PDCP layer needs to be configured with a discard timer (also referred to as a timer), which is used to time the discard time of the data packet. In some implementations, the first timer is the discard timer of the PDCP layer, that is, the discard timer is reused to implement the timing of the remaining time of the data packet in this embodiment. In other implementations, the first timer is a timer newly configured in the PDCP layer in addition to the discard timer to implement the timing function of the remaining time of the data packet in this embodiment.

[0132] In this embodiment, the first timer using the countdown mode is taken as an example.

[0133] S502: When delivering a first data packet to an RLC layer, the PDCP layer of the terminal starts a first timer.

[0134] S503: The RLC layer of the terminal initially transmits a first data packet to the base station according to the MAC configuration.

[0135] S504: When the remaining time of the first timer reaches the threshold value 1, the PDCP layer of the terminal indicates that the RLC layer of the terminal can perform autonomous retransmission.

[0136] In some implementations, the PDCP layer sends a first identifier to the RLC layer, where the first identifier is used to indicate that the first data packet can be retransmitted.

[0137] S505: If the terminal does not receive feedback information of the first data packet, and the RLC layer of the terminal determines that the measurement result of the link is not greater than a preset threshold, the first data packet is retransmitted to the base station based on an instruction of the PDCP layer.

[0138] S506: When the remaining time of the first timer reaches threshold value 2, the PDCP layer of the terminal instructs the RLC layer of the terminal to retransmit the first data packet.

[0139] In some implementations, the first identifier is also used in this step to indicate that retransmission is possible. In other implementations, the identifier indicating that retransmission is possible in this step is different from the first identifier.

[0140] S507: If the terminal does not receive feedback information of the first data packet, the RLC layer of the terminal determines that the measurement result of the link is greater than a preset threshold, and the RLC layer of the terminal sends first indication information for indicating polling to the base station.

[0141] In this embodiment, assuming that the terminal has not received feedback information of the first data packet before the first timer expires, the process ends based on the expiration of the first timer. After the remaining time of the first data packet (i.e., the first timer) expires, the PDCP layer will no longer indicate that the RLC layer can autonomously retransmit (such as stop sending the first identifier), and therefore, the RLC layer will no longer perform autonomous retransmission.

[0142] It is also possible that, after the first timer ends, the PDCP layer of the terminal instructs the RLC layer to stop the autonomous retransmission mechanism based on the first identifier. Stopping the autonomous retransmission mechanism based on the first identifier combines the functions of the PDCP layer and the RLC layer, that is, stopping the process of retransmitting the first data packet to the second communication device and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link.

[0143] In some implementations, the second flag instructs the RLC layer to stop the autonomous retransmission mechanism based on the threshold and link quality.

[0144] In this embodiment, the timing of the timer based on the PDCP layer is used as the basis for determining whether the threshold is reached. The original timer of the PDCP layer can be reused, or a new timer can be configured for the PDCP layer. In this case, the PDCP layer indicates to the RLC layer that autonomous retransmission can be performed. In addition to the effects of the above-mentioned embodiments, it also has higher flexibility.

[0145] Fig. 9 Another data transmission method provided by the embodiment of the present application is Figure 8 By comparison, the terminal receives feedback information indicating that the first data packet is successfully received. Fig. 9 The following steps are included: S601. A base station configures a first timer and a threshold value for a PDCP layer of a terminal.

[0146] S602: When delivering a first data packet to an RLC layer, the PDCP layer of the terminal starts a first timer.

[0147] S603: The RLC layer of the terminal initially transmits a first data packet to the base station according to the MAC configuration.

[0148] S604: When the remaining time of the first timer reaches a threshold value 1, the PDCP layer of the terminal indicates that the RLC layer of the terminal can perform autonomous retransmission.

[0149] S605: If the terminal does not receive feedback information of the first data packet, and the RLC layer of the terminal determines that the measurement result of the link is greater than a preset threshold, it instructs the base station to poll (ie, sends first indication information to the base station) based on the first identifier.

[0150] In this embodiment, assuming that the terminal receives an ACK for the first data packet before the remaining time of the first timer reaches the threshold value 2, the following steps are performed: S606: The RLC layer of the terminal receives ACK for the first data packet.

[0151] S607: The RLC layer of the terminal stops retransmitting the first data packet based on the first identifier and the link quality.

[0152] S608. The RLC layer of the terminal instructs the PDCP layer to stop timing the remaining time of the first data packet.

[0153] In some implementations, the RLC layer sends a third identifier to the PDCP layer, where the third identifier is used to instruct to stop timing the remaining time of the first data packet.

[0154] S609: The PDCP layer of the terminal stops the timing of the first timer based on the instruction to stop the remaining timing of the first data packet. The process ends.

[0155] S608-S609 are optional steps. Alternatively, the RLC layer does not indicate the PDCP layer. In this case, the PDCP layer may send a first flag to the RLC layer based on the threshold value to indicate that the first data packet can be retransmitted, but the RLC layer does not respond to the first flag. In this case, the PDCP layer stops the timing of the first timer after the remaining time of the first data packet ends, and then no longer sends the first flag to the RLC layer.

[0156] It is understandable that the terminal may also receive a NACK for the first data packet, such as Fig.10 As shown, the following steps are included: S701. A base station configures a first timer and a threshold value for a PDCP layer of a terminal.

[0157] S702: When delivering a first data packet to an RLC layer, the PDCP layer of the terminal starts a first timer.

[0158] S703: The RLC layer of the terminal initially transmits a first data packet to the base station according to the MAC configuration.

[0159] S704: When the remaining time of the first timer reaches the threshold value 1, the PDCP layer of the terminal indicates that the RLC layer of the terminal can perform autonomous retransmission.

[0160] S705: If the terminal does not receive feedback information of the first data packet, and the RLC layer of the terminal determines that the measurement result of the link is not greater than a preset threshold, the first data packet is retransmitted to the base station based on the first identifier and polling is indicated.

[0161] S706: The RLC layer of the terminal receives NACK for the first data packet.

[0162] S707: The RLC layer of the terminal stops retransmitting the first data packet based on the first identifier and the link quality.

[0163] S708. The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.

[0164] It is understandable that the execution order of S707 and S708 is not limiting.

[0165] S709. The RLC layer instructs the PDCP layer to stop timing the remaining time of the first data packet.

[0166] S710. The PDCP layer stops timing of the first timer in response to the instruction.

[0167] An implementation method of replacing S710 is: the PDCP layer continues to count the first timer, and sends a first identifier to the RLC layer when the first timer reaches a threshold value, but the RLC layer does not respond to the first identifier. In this case, the PDCP layer stops the first timer after the remaining time of the first data packet ends, and then does not send the first identifier to the RLC layer.

[0168] Apart from Fig.10 The above process can also be performed for the case where a NACK is received for the first data packet. Fig.11 The process shown: S801. A base station configures a first timer and a threshold value for a PDCP layer of a terminal.

[0169] S802: When delivering a first data packet to an RLC layer, the PDCP layer of the terminal starts a first timer.

[0170] S803. The RLC layer of the terminal initially transmits a first data packet to the base station according to the MAC configuration.

[0171] S804: When the remaining time of the first timer reaches a threshold value 1, the PDCP layer of the terminal sends a first identifier to the RLC layer of the terminal.

[0172] S805: If the terminal does not receive feedback information of the first data packet, and the RLC layer of the terminal determines that the measurement result of the link is not greater than a preset threshold, the first data packet is retransmitted to the base station based on the first identifier and polling is indicated.

[0173] S806. The RLC layer of the terminal receives NACK for the first data packet.

[0174] S807: The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.

[0175] S808. When the remaining time of the first timer reaches threshold value 2, the PDCP layer of the terminal sends a first identifier to the RLC layer of the terminal.

[0176] It can be understood that, because the RLC retransmits the first data packet to the base station based on the NACK in S807, in order to save transmission resources, after receiving the first identifier in S808, the RLC layer does not respond to the first identifier, so as to save transmission resources. Fig.11 The “×” in represents.

[0177] S809. When the remaining time of the first timer reaches the threshold value 3, the PDCP layer of the terminal sends a first identifier to the RLC layer of the terminal. S810. If the terminal does not receive feedback information of the first data packet, the RLC layer of the terminal retransmits the first data packet to the base station or sends a polling indication based on the relationship between the link measurement result and the preset threshold and the first identifier.

[0178] The process described in this embodiment ends until the countdown of the first timer ends or the terminal receives the ACK of the first data packet. Fig.10 and Fig.11 The process of combining the terminal's autonomous retransmission with the NACK-based retransmission in the scenario where the terminal receives NACK is described respectively, in order to reduce the problem of data packets being discarded due to short PDB.

[0179] Fig.12 It is a structural diagram of a communication device, taking a mobile phone as an example, including a processor 310, an external memory interface 320, an internal memory 321, a display screen 330, a camera 340, an antenna 1, an antenna 2, a mobile communication module 350, and a wireless communication module 360, etc.

[0180] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal. In other embodiments, the terminal may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0181] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0182] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0183] The internal memory 321 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 310 executes various functional applications and data processing of the terminal by running the instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal (such as audio data, a phone book, etc.), etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 310 executes various functional applications and data processing of the terminal by running the instructions stored in the internal memory 321, and / or the instructions stored in the memory provided in the processor.

[0184] The wireless communication function of the terminal can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.

[0185] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0186] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the terminal. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the same device as at least some of the modules of the processor 310.

[0187] In some embodiments, the terminal initiates or receives a call request through the mobile communication module 350 and the antenna 1 .

[0188] In addition, an operating system runs on the above components, such as an iOS operating system, an Android operating system, a Windows operating system, etc. Application programs can be installed and run on the operating system.

[0189] Fig.13 A structural example diagram of another communication device 900 such as a base station provided for an embodiment of the application includes a part 910, a part 920 and a part 930.

[0190] Part 910 is mainly used for baseband processing and control, etc.; Part 910 is usually the control center of the network device, which can be usually called a processor, and is used to control the network device to perform the processing operations on the network device side in the above method embodiment. Part 920 is mainly used to store computer program code and data. Part 930 is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals to baseband signals; Part 930 can usually be called a transceiver module, a transceiver, a transceiver circuit, or a transceiver, etc. The transceiver module of part 930 can also be called a transceiver or a transceiver, etc., which includes an antenna 933 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device used to implement the receiving function in part 930 can be regarded as a receiver, and the device used to implement the transmitting function can be regarded as a transmitter, that is, part 930 includes a receiver 932 and a transmitter 931. The receiver can also be called a receiving module, a receiver, or a receiving circuit, etc., and the transmitter can be called a transmitting module, a transmitter, or a transmitting circuit, etc.

[0191] Part 910 and part 920 may include one or more single boards, and each single board may include one or more processors and one or more memories. The processor is used to read and execute the program in the memory to realize the baseband processing function and the control of the network device. If there are multiple single boards, each single board can be interconnected to enhance the processing capability. As an optional implementation, multiple single boards may share one or more processors, or multiple single boards may share one or more memories, or multiple single boards may share one or more processors at the same time.

[0192] For example, in one implementation, the transceiver module of part 930 is used to execute the transceiver-related process executed by the network device in the above embodiment. The processor of part 910 is used to execute the processing-related process executed by the network device in the above embodiment.

[0193] It should be understood that Fig.13 This is only an example and not a limitation. The network device including the processor, memory and transceiver may not rely on Fig.13 The structure shown.

[0194] An embodiment of the present application further discloses a computer-readable storage medium having instructions stored thereon. When the instructions are executed on an electronic device, the electronic device executes the data transmission method provided in the above embodiment.

[0195] An embodiment of the present application further discloses a computer program product having an executable program stored thereon. When the computer program product is executed on an electronic device, the electronic device implements the data transmission method provided in the above embodiment.

[0196] An embodiment of the present application also discloses a chip system, comprising: at least one processor and an interface, wherein the interface is used to receive code instructions and transmit them to the at least one processor; the at least one processor runs the code instructions to implement the data transmission method provided in the above embodiment.

[0197] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data transmission method, characterized in that: Applied to a first communication device, the first communication device communicates with a second communication device via a link, the method comprising: Sending a first data packet to the second communication device; If feedback information of the first data packet is not received, based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link, the first data packet is retransmitted to the second communication device or first indication information is sent, wherein the first indication information is used to indicate whether the second communication device has successfully received the first data packet.

2. The method according to claim 1, characterized in that The retransmitting the first data packet or sending a first indication to the second communication device based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link includes: retransmitting the first data packet to the second communication device based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link being not greater than a preset threshold value; Based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link being greater than the threshold value, the first indication information is sent to the second communication device.

3. The method according to claim 1 or 2, characterized in that: Also includes: Based on the remaining time of the first data packet reaching a threshold value and the measurement result of the link being no greater than a preset threshold value, the first indication information is sent to the second communication device.

4. The method according to claim 1 or 2, characterized in that: Also includes: When the remaining time timing of the first data packet ends, and / or when the feedback information indicating successful reception of the first data packet is received, stop retransmitting the first data packet to the second communication device and sending the first indication information based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link.

5. The method according to claim 1 or 2, characterized in that: Also includes: When the feedback information indicating that the first data packet was not successfully received is received, retransmission of the first data packet to the second communication device and sending of the first indication information are stopped based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link.

6. The method according to claim 5, characterized in that Also includes: Based on the feedback information, the first data packet is retransmitted to the second communication device.

7. The method according to claim 1 or 2, characterized in that: Also includes: Upon receiving the feedback information indicating that the first data packet was not successfully received, retransmitting the first data packet to the second communication device at a first time based on the feedback information, the first time being after a remaining time of the first data packet reaches a first threshold value and before the remaining time of the first data packet reaches a second threshold value; Based on the remaining time of the first data packet reaching a target threshold value and the quality of the link, the first data packet is retransmitted to the second communication device or first indication information is sent, and the target threshold value includes threshold values ​​among multiple threshold values ​​except the second threshold value.

8. The method according to claim 1 or 2, characterized in that: The at least one threshold value includes a plurality of threshold values ​​arranged according to a preset rule, wherein an interval between adjacent threshold values ​​is not less than at least one of a duration of data transmission and a hybrid automatic repeat request HARQ duration.

9. The method according to claim 1 or 2, characterized in that: Before sending the first data packet to the second communication device, the method further includes: The configuration information sent by the second communication device is acquired, where the configuration information includes at least one of an evaluation parameter of the link quality and configuration information of the at least one threshold value.

10. The method according to claim 9, characterized in that The configuration information of the at least one threshold value indicates: the at least one threshold value, or the configuration information of the at least one threshold value indicates: an interval between a threshold value and an adjacent threshold value.

11. The method according to claim 9, characterized in that The threshold value is configured at a radio link control RLC layer or a packet data convergence protocol PDCP layer.

12. The method according to claim 1 or 2, characterized in that: The method for obtaining the quality of the link includes: Read cell measurement results from layer 1.

13. The method according to claim 12, characterized in that The reading of the cell measurement result from layer 1 includes: The RLC layer reads the latest measurement results of the cell from Layer 1.

14. The method according to claim 1 or 2, characterized in that: Before sending the first data packet to the second communication device, the method further includes: Start a first timer, the timing of the first timer indicates the remaining time of the first data packet, the first timer is an RLC layer timer, or a first type of timer of the PDCP layer, or a second type of timer of the PDCP layer, the first type of timer includes a discard timer, and the discard timer is also used to time the discard time of the data packet, and the second type of timer is other timer configured outside the first type of timer.

15. The method according to claim 14, characterized in that The starting of the first timer includes: When the PDCP layer transmits the first data packet to the RLC layer, the RLC layer starts the first timer, or the PDCP layer starts the first type of timer or the second type of timer.

16. The method according to claim 14, characterized in that Before starting the first timer, the method further includes: Obtain configuration information of the first timer sent by the second communication device, where the configuration information is used to configure the RLC layer timer, or the first type of timer or the second type of timer of the PDCP layer.

17. The method according to claim 1 or 2, characterized in that: The retransmitting the first data packet or sending first indication information to the second communication device based on the remaining time of the first data packet reaching at least one threshold value and the quality of the link includes: Based on the remaining time of the first data packet reaching a third threshold, the PDCP layer transmits a first identifier to the RLC layer; The RLC layer retransmits the first data packet to the second communication device based on the first identifier and that the measurement result of the link is not greater than a preset threshold; The RLC layer sends the first indication information to the second communication device based on the first identifier and that the measurement result of the link is greater than the threshold.

18. The method according to claim 17, characterized in that Also includes: In a case where the RLC layer receives the feedback information of the first data packet, the RLC layer stops retransmitting the first data packet and sending the first indication information to the second communication device based on the first identifier and the quality of the link.

19. The method according to claim 18, characterized in that Also includes: In a case where the RLC layer receives the feedback information of the first data packet, the RLC layer instructs the PDCP layer to stop timing the remaining time of the first data packet.

20. The method according to claim 17, characterized in that Also includes at least one of the following: After the remaining time of the first data packet ends, the PDCP layer stops transmitting the first identifier to the RLC layer; The PDCP layer stops timing of the first timer based on the instruction of the RLC layer to stop timing of the remaining time of the first data packet.

21. The method according to claim 17, characterized in that Also includes: In a case where the RLC layer receives the feedback information indicating that the first data packet is not successfully received, the RLC layer retransmits the first data packet to the second communication device at a first time based on the feedback information.

22. The method according to claim 21, characterized in that Also includes: Based on the remaining time of the first data packet reaching at least one threshold value, the PDCP layer transmits a first identifier to the RLC layer, wherein the first time is after the remaining time of the first data packet reaches a fourth threshold value and before the remaining time of the first data packet reaches a fifth threshold value; The RLC layer retransmits the first data packet or sends the first indication information to the second communication device based on the target identifier and the quality of the link, and the target identifier includes other first identifiers except the first identifier triggered by the remaining time of the first data packet reaching the fifth threshold value.

23. An electronic device, characterized in that: The electronic device comprises: one or more processors, a memory and a touch screen; the memory is used to store program code; the processor is used to run the program code, so that the electronic device implements the data transmission method according to any one of claims 1 to 22.

24. A computer-readable storage medium, characterized in that: Instructions are stored thereon, and when the instructions are executed on an electronic device, the electronic device executes the data transmission method as described in any one of claims 1 to 22.

25. A chip system, characterized in that: include: at least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; The at least one processor executes the code instructions to implement the data transmission method according to any one of claims 1 to 22.

26. A computer program product, characterized in that An execution program is stored thereon, and when the computer program product is run on an electronic device, the electronic device implements the data transmission method as described in any one of claims 1 to 22.

Citation Information

Patent Citations

  • Communication method and device in unlicensed spectrum

    CN106941397A

  • Hybrid automatic repeat request feedback method and device

    CN110291738A

  • Hybrid automatic repeat request feedback method and device

    CN115549865A

  • Data transmission method and device

    CN116419274A

  • Wireless communication method and communication equipment

    CN118235353A

Cited By

  • Data transmission method, electronic equipment and storage medium

    CN121462147A

  • Data transmission method, electronic device, and storage medium

    CN121462147B