Data transmission method and related device
By independently deciding to retransmit or sending instructions based on the remaining time and link quality of the packet within the delay budget, the problem of packet timeout discarding caused by short delay budget is solved, which improves the reliability of data transmission and saves transmission resources.
Patent Information
- Application Number
- CN202411791334.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2044-12-06
AI Technical Summary
In extended real-life services with short delay budgets, the data transmission method of the confirmation mode may cause the data packet timeout to be discarded, and the autonomous retransmission method may increase the use of transmission resources, resulting in network congestion.
Adopt the autonomous retransmission mechanism, based on the remaining time and link quality of the data packet, independently decide whether to retransmit the data packet or send instructions within the delay budget to avoid waiting for feedback information.
This increases the probability of successful transmission of data packets within the delay budget, reduces unnecessary retransmission, saves transmission resources, and reduces the possibility of packets being mis-discarded.
Smart Images

Figure CN119383655B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technologies, 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 mainly include videos, images, and interactive instructions, and have the characteristics of high throughput, low latency, and high reliability for the network.
[0003] In the data transmission mode of the acknowledgement mode, the receiving end needs the sending end to inform whether the data packet is successfully received, which can improve the reliability of data transmission. However, it takes a certain amount of time for the receiving end to obtain the feedback information of the data packet. For services sensitive to latency such as XR, the Packet Delay Budget (PDB) is short. Therefore, in the data transmission mode of the acknowledgement mode, the data packet may be discarded due to a timeout caused by the short PDB. Summary of the Invention
[0004] In view of this, this application provides a data transmission method and related devices to solve the problem that data packets are discarded due to a timeout caused by a short PDB. The disclosed technical solutions are as follows:
[0005] In a first aspect, this application provides a data transmission method applied to a first communication device. The first communication device communicates with a second communication device through a link. 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 a first indication information, where the first indication information is used to instruct the second communication device to feedback whether the first data packet is successfully received. 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 this application. Not receiving the feedback information of the first data packet is the condition for the execution of the autonomous retransmission mechanism. In some implementation manners, when each threshold value is reached, it may no longer be 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 counting ends. In other implementation manners, when a threshold value is reached, it may be determined whether the feedback information is received and corresponding operations are performed (see the embodiments of this application).
[0006] In the case where no feedback information of the data packet is received, based on a threshold value and the quality of the link, the data packet is retransmitted or the feedback information indicating the data packet to be fed back by the receiving end is sent, that is, autonomous retransmission or indication of the feedback information for the receiving end to feed back the data packet, which improves 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 caused by a short PDB, and thus improving the reliability of data packet transmission.
[0007] In some implementation manners, 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 a first indication 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; sending a first indication message 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. An example of the link is a downlink. Using the quality of the link as the basis for retransmission or indication feedback can not only ensure the timely retransmission of the data packet but also reduce the possibility of unnecessary retransmission.
[0008] In some implementation manners, it further includes: sending a first indication message 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, so as to obtain the feedback information of the data packet in a timely manner after retransmitting the data packet.
[0009] In some implementation manners, it further includes: when the timing of the remaining time of the first data packet ends and / or when the 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 message 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 implementation manners, it further includes: when the feedback information indicating unsuccessful reception of the first data packet is received, stopping retransmitting the first data packet to the second communication device and sending the first indication message 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.
[0011] In some implementation manners, it further includes: retransmitting the first data packet to the second communication device based on the feedback information to improve the reliability of data transmission.
[0012] In some implementations, it further includes: when receiving feedback information indicating that the first data packet has not been successfully received, based on the feedback information, retransmitting the first data packet to a second communication device at a first time, where the first time is 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 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, where the target threshold value includes threshold values other than the second threshold value among multiple threshold values. Since the first data packet has been retransmitted before the remaining time of the first data packet reaches the second threshold value, no data packet is retransmitted when the remaining time of the first data packet reaches the second threshold value, so as to save transmission resources.
[0013] In some implementations, at least one threshold value includes multiple threshold values sorted according to a preset rule, where the interval between adjacent sorted threshold values is not less than at least one of the data transmission duration and the hybrid automatic repeat request (HARQ) duration, so as to avoid unnecessary retransmissions and save transmission resources.
[0014] In some implementations, before sending the first data packet to the second communication device, it further includes: obtaining configuration information sent by the second communication device, where the configuration information includes at least one of evaluation parameters of the link quality and configuration information of at least one threshold value.
[0015] 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: a threshold value and the interval between adjacent threshold values.
[0016] In some implementations, the threshold value is configured in the radio link control (RLC) layer or the packet data convergence protocol (PDCP) layer. That is to say, the RLC layer or the PDCP layer can trigger an autonomous retransmission mechanism based on the relationship between the remaining time of the first data packet and the threshold value, which has higher flexibility.
[0017] In some implementations, the method for obtaining the quality of the link includes: reading cell measurement results from layer 1. Since the retransmission of data packets is implemented through the RLC layer and the RLC layer belongs to layer 2, reading cell measurement results from layer 1 instead of layer 3 can reduce the acquisition delay.
[0018] In some implementations, reading cell measurement results from layer 1 includes: the RLC layer reads the latest cell measurement results from layer 1 to improve the accuracy of judgment based on the link quality.
[0019] In some implementations, before sending the first data packet to the second communication device, it further includes: starting a first timer, where the timing of the first timer represents the remaining time of the first data packet. The first timer is an RLC layer timer, or a first type of timer in the PDCP layer, or a second type of timer in 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. The second type of timer is other timer configured outside the first type of timer. That is to say, the first timer can be set in the RLC layer or in the PDCP layer. New timers can be configured in the PDCP layer, or the discard timer in the PDCP layer can be reused, which has high flexibility.
[0020] 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 beneficial for the first timer to more accurately reflect the remaining time of the first data packet.
[0021] In some implementations, before starting the first timer, it further includes: obtaining the 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 in the PDCP layer.
[0022] In some implementations, 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 includes: based on the remaining time of the first data packet reaching the 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 not being greater than a preset threshold value; 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 being greater than the threshold value. Counting the remaining time of the first data packet by the PDCP layer is beneficial for reusing the discard timer in the PDCP layer and also beneficial for saving the computing power resources of the RLC layer.
[0023] In some implementations, it further includes: when the RLC layer receives the feedback information of the first data packet, the RLC layer stops retransmitting the first data packet to the second communication device and sending the first indication information based on the first identifier and the quality of the link to save transmission resources.
[0024] In some implementations, it further includes: when 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, so that the PDCP layer can release the timing resources and save computing power.
[0025] In some implementations, it further includes at least one of the following: after the remaining time timing 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 indication from the RLC layer to stop the remaining time timing of the first data packet. Since the first identifier is triggered for transmission based on the relationship between the timer timing and the threshold value, after stopping the timing of the first timer, the PDCP layer will no longer transmit the first identifier.
[0026] In some implementations, it further includes: when the RLC layer receives feedback information indicating that the first data packet has not been successfully received, the RLC layer retransmits the first data packet to the second communication device at the first time based on the feedback information to improve the reliability of data packet transmission.
[0027] In some implementations, it further includes: based on the remaining time of the first data packet reaching at least one threshold value, the PDCP layer transmits the first identifier to the RLC layer, where the first time is after the remaining time of the first data packet reaches the fourth threshold value and before the remaining time of the first data packet reaches the 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. 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 retransmissions and save transmission resources.
[0028] The second aspect of this 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 this application.
[0029] The third aspect of this application provides a computer-readable storage medium, on which instructions are stored. When the instructions run on an electronic device, the electronic device is caused to execute the data transmission method provided in the first aspect of this application.
[0030] The fourth aspect of this application provides a chip system, which includes: at least one processor and an interface. The interface is used to receive code instructions and transmit them to at least one processor; at least one processor runs the code instructions to implement the data processing method provided in the first aspect of this application.
[0031] The fifth aspect of this application provides a computer program product, on which an execution is stored. When the computer program product runs on an electronic device, the electronic device is caused to implement the data transmission method provided in the first aspect of this application. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.
[0033] Figure 1 It is an example diagram of each protocol layer for data transmission;
[0034] Figure 2 It is an example diagram of the RLC layer structure;
[0035] Figure 3 It is a flowchart of a data transmission method provided by an embodiment of the present application;
[0036] Figure 4 It is an example diagram of outputting a cell measurement report through layer 1 and layer 3 provided by an embodiment of the present application;
[0037] Figure 5 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0038] Figure 6 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0039] Figure 7 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0040] Figure 8 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0041] Figure 9 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0042] Figure 10 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0043] Figure 11 It is a flowchart of another data transmission method provided by an embodiment of the present application;
[0044] Figure 12 It is a schematic structural diagram of a communication device provided by an embodiment of the present application;
[0045] Figure 13 It is a schematic structural diagram of another communication device provided by an embodiment of the present application. Detailed implementation manners
[0046] The terms "first", "second", "third", etc. in the description, claims and drawings of this application are used to distinguish different objects, rather than to limit a specific order.
[0047] In the embodiments of this application, words such as "in some implementation manners" or "for example" are used to give examples, illustrations or explanations, and should not be construed as being more preferred or having more advantages than other embodiments or design solutions.
[0048] Figure 1 is an example of the protocols at each layer for transmitting data packets. In a terminal and a base station, in the order from the lower layer to the higher layer, the following protocol layers are included: Physical (PHY) layer, Medium Access Control (MAC) layer, Radio Link Control (RLC) layer, Packet Data Convergence Protocol (PDCP) layer, and Radio Resource Control (RRC) layer.
[0049] Among them, each of the above protocol layers is divided into Layer 1 (L1), L2 and L3, as Figure 1 shown, L1 includes the PHY layer, L2 includes the MAC layer, RLC layer, and PDCP layer. L3 includes the RRC layer.
[0050] Taking the example of a terminal sending data to a base station, after the data packet is processed by the RRC layer, PDCP layer, RLC layer, MAC layer and PHY layer respectively from the higher layer, it is transmitted to the PHY layer of the base station, and then transmitted to a higher layer of the base station through the MAC layer, RLC layer, PDCP layer and RRC layer of the base station.
[0051] Figure 2 is a schematic diagram of data transmission by the RLC layer. Among them, 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 modes of the RLC layer can include transparent mode (TM), unacknowledged mode (UM) and acknowledged mode (AM). In services requiring high reliability, the acknowledged mode is usually used for data transmission.
[0052] The RLC layer includes a transmitting transparent mode RLC entity, a receiving transparent mode RLC entity, a transmitting unacknowledged mode RLC entity, a receiving unacknowledged mode RLC entity, and an acknowledged mode RLC entity. Among them, the acknowledged 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 an RLC channel and communicates with the MAC layer through a logical channel. Communication between various communication devices is carried out through a radio interface.
[0053] An acknowledged mode data packet can be transmitted through the acknowledged mode entity in the RLC layer architecture as shown in Figure 3 the figure. For example, the RLC layer can reconstruct the data packet delivered by the PDCP layer through the acknowledged mode entity, add a sequence number to the data packet, and segment the data packet to obtain an acknowledged mode data packet (such as an AMD PDU).
[0054] In the acknowledged 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). The NACK can indicate that the receiving end has not successfully received the acknowledged mode data packet, and the ACK can indicate that the receiving end has successfully received the acknowledged mode data packet.
[0055] Existing protocols stipulate that the receiving end sends a status report under the indication of the sending end or actively sends a status report. However, 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 indication of the sending end, when the amount of data in the sent data packet reaches a certain level, a poll indication is sent, and the receiving end sends a status report when its own requirements are met. Another example is that when the timer at the receiving end reaches a certain time, the receiving end actively sends a status report to the sending end.
[0056] Therefore, it can be understood that there is a certain time delay for the receiving end to send a status report.
[0057] For some types of services, such as Extended Reality (XR) services, data packets mainly consist of videos / images and interactive instructions, and their requirements for the network have the characteristics of high throughput, low latency, and high reliability. Therefore, it is necessary to use the acknowledged mode of the RLC layer for data transmission to ensure the high reliability of data transmission. However, since services such as XR also have relatively high requirements for low latency, the Packet Delay Budget (PDB) configured for such services is short. After reaching the PDB time limit, the sending end discards the data packet, and it is possible that the latency from when the sending end sends the data packet to when it receives the status report of the data packet is 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 receiving end, but is discarded because the sending end does not receive the status report in time within the PDB time limit, resulting in the data packet (such as a PDU) not being able to be retransmitted.
[0058] It can be seen that the acknowledged mode is not well-suited for some services with short PDBs.
[0059] To solve the above problems, the inventors propose an autonomous retransmission method. The sending end triggers at least one retransmission of the data packet within the PDB time limit, instead of waiting for a NACK for retransmission, reducing the situation where data packets are discarded due to timeout when the PDB is short.
[0060] However, the inventors also found that this autonomous retransmission method has at least the following problems: it increases the occupation of transmission resources, thus more easily leading to network congestion.
[0061] In summary, how to control the occupation of transmission resources on the basis of reducing the possibility of incorrect discarding of data packets due to short PDBs is a problem that needs to be solved currently.
[0062] 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 communication device can be a terminal or an access network device. In the embodiment of the present application, it is described by taking the first communication device as a terminal and the second communication device as a base station as an example, but it does not constitute a limitation.
[0063] 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 GSM EDGE Radio Access Network (GERAN) system of Global System for Mobile Communication (GSM) / Enhanced Data Rate for GSM Evolution (EDGE) system. In addition, the technical solutions provided by the embodiments of the present application can also be applied to any other wireless communication systems with similar structures and functions, such as Public Land Mobile Network (PLMN) system, 5th Generation (5G) communication system, communication systems after 5G, New Radio Access Technology (NR) system, various future communication systems such as 6th generation (6G) communication system, Vehicle-to-X (V2X) system, etc.Among them, the V2X system may include a Vehicle to Network (V2N) system, a Vehicle to Vehicle (V2V) system, a Vehicle to Infrastructure (V2I) system, a Vehicle to Pedestrian (V2P) system, a Long Term Evolution-Vehicle (LTE-V) system, a vehicle networking system, a Machine Type Communication (MTC) system, an Internet of Things (IoT) system, a Long Term Evolution-Machine (LTE-M) system, a Machine to Machine (M2M) system, etc. The embodiments of this application do not impose any restrictions on this.
[0064] The access network device is a base station, and the base station includes but is not limited to: an evolved base station in LTE (NodeB or eNB or e-NodeB, evolutional Node B), a base station in NR (gNodeB or gNB) or a transmission receiving point (TRP), a radio access network (RAN) device, a base station evolved from 3GPP in the future, an access node in a WiFi system, a wireless relay node, a wireless backhaul node, etc. The network device may 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 device may also be a server, a wearable device, or a vehicle-mounted device, etc.
[0065] The terminal may include a handheld device with wireless transceiver functions, or a vehicle-mounted device, etc. Specifically, it may be, but is not limited to: mobile phone, cell phone, tablet computer, personal digital assistant (PDA), laptop computer, notebook computer, computer with wireless transceiver functions, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented reality (AR) device, wireless terminal in industrial control, vehicle-mounted terminal device, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, handheld device with wireless communication functions, computing device or other processing devices connected to a wireless modem, vehicle-mounted device, wearable device, terminal device in a 5G network or terminal device in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application are not limited thereto.
[0066] By way of example and not limitation, in the embodiments of the present application, the terminal may also be a wearable device. A wearable device may also be referred to as a wearable intelligent device, which is a general term for devices developed by applying wearable technologies to the intelligent design of daily wear, such as glasses, gloves, watches, clothing, and shoes, etc. A wearable device is a portable device that is either directly worn on the body or integrated into the user's clothes or accessories. A wearable device is not just a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can realize complete or partial functions without relying on a smart phone, such as smart watches, smart helmets, or smart glasses, etc., and those that only focus on a certain type of application function and need to cooperate with other devices such as smart phones, such as various smart bracelets and smart jewelry for physical sign monitoring.
[0067] In addition, in the embodiments of the present application, the terminal may also be a terminal device in an Internet of Things (IoT) system. The 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, so as to realize an intelligent network of human-machine interconnection and object-object interconnection.
[0068] The terminal in the embodiments of the present application may also be referred to as: electronic device, user equipment (UE), mobile station (MS), subscriber unit (SU), mobile terminal (MT), access terminal, access terminal device, in-vehicle terminal, industrial control terminal, UE unit, UE station, user unit, user station, mobile station, mobile platform, remote station, remote terminal, remote terminal device, mobile device, user terminal, UE terminal device, terminal, wireless communication device, user agent, UE agent, UE device or user device, etc.
[0069] Figure 3 It is a flowchart of a data transmission method provided by an embodiment of the present application. In the embodiments of the present application, the following Figure 2 illustrates by taking the shown framework as an example, but it does not constitute a limitation.
[0070] Figure 3 includes the following steps:
[0071] S101. The base station configures a first timer and a threshold value for the RLC layer of the terminal.
[0072] The first timer is used to time the remaining time of the data packet. The threshold value is used as the judgment basis for whether to retransmit data autonomously.
[0073] In this embodiment, the first timer and the threshold value are RLC static parameters and are applicable to each AMD PDUs.
[0074] The first timer can use a countdown mode or a positive timing mode. No matter which timing mode is used, it represents the remaining time of the data packet. For example, if the remaining time of the data packet is 10 milliseconds, in the countdown mode, the first timer counts down from 10, and in the positive timing mode, the first timer counts up from 0.
[0075] The base station configures the initial value of the first timer according to the PDB. Taking the countdown mode as an example, the initial value represents the remaining time of the AMDPDUs. In some implementation manners, 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 during the process of the data packet being transmitted from the application layer to the RLC layer.
[0076] 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). Since the first timer counts the remaining time of the data packet, if the first timer uses a countdown mode, T1, T2, ……, Tn are sorted in descending order. If the first timer uses a positive countdown mode, T1, T2, ……, Tn are still sorted in descending order. Different from the countdown mode, the time of the positive countdown needs to be converted into the remaining time of the data packet before comparing it with the threshold value.
[0077] The time interval between adjacent threshold values is configured to be greater than or equal to at least one of the data transmission duration and the hybrid automatic repeat request (HARQ) duration. The purpose of being greater than or equal to the data transmission duration is that before the data packet transmitted by the sender (such as the terminal) reaches the receiver (such as the base station), no next retransmission is performed. The purpose of being greater than or equal to the HARQ duration is that before the sender retransmits the data packet based on the 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 helps to avoid excessive frequency of triggering data packet retransmission according to the threshold value, resulting in excessive occupation of transmission resources by unnecessary retransmissions.
[0078] It can be understood 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, thus avoiding the configuration of invalid threshold values.
[0079] In some 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. For example, the threshold value 1 is T, the threshold value 2 is threshold value 1 - Interval_timer, the threshold value 3 is threshold value 2 - Interval_timer, and so on.
[0080] 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.
[0081] In some implementations, the threshold value can be set according to the number of retransmissions required to be triggered before the end of the timing of the first timer. Thus, through the setting of the threshold value, the terminal can trigger the required number of retransmissions according to the threshold value within the time limit of the PDB.
[0082] In some other implementations, multiple threshold values with a fixed time interval are set according to the required retransmission time interval, so that there is a fixed time interval between the set threshold values, thereby controlling the time interval of the packet retransmission triggered by the terminal according to the threshold values and avoiding too short an interval time for the packet retransmission.
[0083] S102. When the RLC layer of the terminal receives the first packet delivered by the PDCP layer, start the first timer.
[0084] The first packet is any packet. As shown in Figure 2 the first packet is a packet in acknowledged mode, but Figure 2 it is only an example and thus does not constitute a limitation on the first packet. When the first timer starts, the AM RLC entity starts to calculate the remaining time of the first packet (PDU).
[0085] S103. The RLC layer of the terminal initially transmits the first packet to the base station according to the MAC configuration.
[0086] Exemplarily, when the RLC layer sends the first packet to the base station, it can, according to the configuration of the MAC layer, such as the transmission opportunity indicated by the MAC layer, finally send the first packet to the base station through the MAC layer.
[0087] After initially transmitting the first packet, the RLC layer retransmits the first packet to the base station or instructs the base station to feedback a status report of the first packet based on the remaining time of the first packet reaching at least one threshold value and the quality of the link, that is, perform the following process:
[0088] S104. If the terminal does not receive the feedback information of the first packet, when the remaining time of the first packet indicated by the timing of the first timer reaches threshold value 1, the RLC layer of the terminal determines that the measurement result of the link is not greater than a preset threshold value, and retransmits the first packet to the base station.
[0089] In some implementations, the link is the downlink between the terminal and the base station. The quality of the downlink is reflected by the measurement result of the downlink and the preset threshold value.
[0090] In this embodiment, read the measurement result of the cell from L1 as the measurement result of the downlink.
[0091] Take Figure 4 as an example. The L1 layer in the terminal obtains the measurement results of each cell by measuring each beam. As shown in Figure 4 it can be seen that the measurement results of each cell are transmitted from L1 to L3 and then undergo subsequent processing, and finally the measurement reports of each cell are output.
[0092] In this embodiment, in order to reduce latency, instead of obtaining the measurement report of the cell finally output after L3 processing, the measurement result is directly read from L1. It can be understood that the measurement result read from L1 is for the cell used to transmit the first data packet.
[0093] Since the measurement of the beam and the cell is periodic, reading the latest measurement result of the cell is beneficial to improving the accuracy of the link quality determination result.
[0094] If the measurement result of the downlink is not greater than the threshold, it indicates that the quality of the downlink is poor and cannot support any feedback information for the terminal to receive the first data packet. Therefore, the first data packet needs to be retransmitted.
[0095] In some implementation manners, in addition to the first retransmitted data packet, the base station is also instructed to feedback whether the first data packet is successfully received. For example, a message is sent to the base station, and the message includes the first data packet and the first indication information. The first indication information is used to instruct the base station to feedback whether the first data packet is successfully received, such as a status report.
[0096] In some implementation manners, the retransmitted first data packet may be the first data packet initially transmitted in S103. In order to save transmission resources, it may also be part of the data of the first data packet initially transmitted (i.e., a partial data packet), and there is no limitation here.
[0097] Assume that after S104, the remaining time counting of the data packet has not ended, then the following steps are continued.
[0098] S105: If the terminal does not receive the feedback information of the first data packet, when the remaining time of the first data packet indicated by the timing of the first timer of the RLC layer of the terminal reaches the threshold value 2, the RLC layer of the terminal determines that the measurement result of the link is greater than the preset threshold, and the RLC layer of the terminal sends the first indication information to the base station.
[0099] If the measurement result of the downlink is greater than the threshold, it can be considered that the quality of the downlink 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 indicates that the first data packet is probably 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.
[0100] In some implementation manners, the first indication information is a poll indication. The relevant content of the poll indication can be referred to the existing standard and will not be elaborated here. Based on the poll indication, the base station sends the status report of the first data packet to the terminal under certain conditions. As mentioned above, the status report is NACK or ACK.
[0101] In this embodiment, assuming that the terminal does not receive the status report of the first data packet, before the countdown of the remaining time of the first data packet ends (such as when 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 countdown of the remaining time of the first data packet ends or the information on whether the base station successfully receives the first data packet (such as the status report) is received.
[0102] 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, and can, without a status report, retransmit at least once or indicate at least once to the base station to feedback the status report before the AMD PDUs expire, improving the possibility of the base station successfully receiving the data packet, and can also reduce the incorrect discarding of the data packet caused by the too long delay of the status report. Moreover, since the basis for autonomous retransmission also includes the quality of the link, it is possible to avoid excessive occupation of transmission resources caused by autonomous retransmission based on the threshold value.
[0103] Figure 3 In the data transmission method shown, assuming that the terminal has not received the status report of the first data packet all the time, it can be understood 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 this situation will be described in detail in combination with Figure 5 and Figure 6 this situation.
[0104] Figure 5 includes the following steps:
[0105] S201. The base station configures a first timer and a threshold value for the RLC layer of the terminal.
[0106] S202. When the first data packet is delivered from the PDCP layer to the RLC layer by the terminal, the RLC layer of the terminal starts the first timer.
[0107] In this embodiment, the countdown of the first timer is taken as an example.
[0108] S203. The RLC layer of the terminal initially transmits the first data packet to the base station.
[0109] S204. When the RLC layer of the terminal does not receive the 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.
[0110] After the base station successfully receives the first data packet, in order for the terminal to receive the ACK in a timely manner so as to terminate the retransmission process of the first data packet in a timely manner, in this step, in addition to retransmitting the first data packet to the base station, the terminal also instructs the base station to feedback a status report. In some implementation manners, 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.
[0111] S205. When the RLC layer of the terminal does not receive the 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 the threshold 2, it is determined that the measurement result of the link is greater than the preset threshold. The RLC layer of the terminal sends first indication information to the base station, and the first indication information is used to instruct the base station to feedback the status report of the first data packet.
[0112] Before the countdown of the first timer ends, if the terminal receives the feedback information of the first data packet, the following steps are executed:
[0113] S206. The RLC layer of the terminal receives the status report of the first data packet.
[0114] It can be understood that there may be no other steps between S206 and S205, or there may be at least steps of retransmitting the first data packet or sending first indication to the terminal based on the threshold 3 and the quality of the link.
[0115] In this embodiment, taking the feedback information as the status report as an example, and assuming that the status report is ACK, it means that the base station successfully receives the first data packet.
[0116] S207. The RLC layer of the terminal stops the timing of the first timer in response to the ACK.
[0117] It can be understood that the purpose of stopping the timing of the first timer is to stop the autonomous retransmission process based on the threshold and the link quality. In addition to stopping the timing of the first timer, the autonomous retransmission process based on the threshold and the link quality can also be stopped through other steps.
[0118] Figure 5 The shown process stops the autonomous retransmission process based on the threshold and the link quality based on receiving the feedback information 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.
[0119] It can be understood that Figure 5 Taking the example of receiving the ACK after judgment based on thresholds 1 and 2, it can be understood that it is also possible to receive the ACK when the remaining time of the data packet has not reached threshold 1 or threshold 2, and then stop the autonomous retransmission process based on the threshold and the link quality, which is not limited here.
[0120] Figure 6 Another data transmission method provided for the embodiments of the present application. Compared with Figure 5 the process shown, the first data packet is not successfully received by the base station. Figure 6 It includes the following steps:
[0121] S301. The base station configures a first timer and a threshold value for the RLC layer of the terminal.
[0122] S302. When the first data packet is delivered from the PDCP layer to the RLC layer of the terminal, the RLC layer of the terminal starts the first timer.
[0123] In this embodiment, taking the countdown of the first timer as an example.
[0124] S303. The RLC layer of the terminal initially transmits the first data packet to the base station.
[0125] S304. If the terminal does not receive the feedback information of the first data packet, the RLC layer of the terminal retransmits the first data packet or sends the 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 value.
[0126] For an example of S304, refer to S204 - S205.
[0127] S305. The RLC layer of the terminal receives the NACK of the first data packet.
[0128] The NACK indicates that the first data packet is not successfully received by the base station.
[0129] 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.
[0130] The specific implementation manner 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 the link quality can be: stopping the timing of the first timer.
[0131] S307. The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.
[0132] The specific implementation manner of S307 can refer to the related technology of Automatic Repeat Request (ARQ), and will not be described in detail here.
[0133] 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. This can not only save transmission resources, but also be compatible with existing standards, increasing the possibility of the data packet being successfully received by the base station, thereby improving the reliability of data transmission.
[0134] Figure 7 Another data transmission method provided by an embodiment of the present application. Compared with Figure 6 the process shown, after retransmitting the data packet based on the NACK, in order to further reduce the possibility of the data packet being erroneously discarded due to too short PDB, 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 by the present application is continued to be executed.
[0135] Figure 7 It includes the following steps:
[0136] S401. The base station configures a first timer and a threshold value for the RLC layer of the terminal.
[0137] S402. When the first data packet is delivered from the PDCP layer to the RLC layer by the RLC layer of the terminal, the first timer is started.
[0138] In this embodiment, the countdown of the first timer is taken as an example.
[0139] S403. The RLC layer of the terminal initially transmits the first data packet to the base station.
[0140] S404. If the terminal does not receive the feedback information of the first data packet, when the remaining time of the first timer reaches the threshold value 1, based on the size relationship between the measurement result of the link and the preset threshold value, the RLC layer of the terminal retransmits the first data packet to the base station or sends a first indication message (i.e., a polling indication).
[0141] S405. The RLC layer of the terminal receives the NACK of the first data packet.
[0142] S406. The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.
[0143] 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 the link quality, so the first timer continues to count.
[0144] S407. If the terminal does not receive the feedback information of the first data packet, when the remaining time of the first timer of the terminal reaches the threshold value 3, based on the magnitude relationship between the measurement result of the link and the preset threshold value, the terminal retransmits the first data packet to the base station or sends the first indication information.
[0145] That is to say, the RLC layer of the terminal skips the judgment of the threshold value 2. Even if the countdown of the first timer reaches the 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 the threshold values 1 and 2. Therefore, in order to reduce unnecessary retransmissions, the steps when reaching the threshold value 2 are skipped.
[0146] 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.
[0147] The method provided in this embodiment combines the retransmission based on NACK with the autonomous retransmission based on the threshold value and the link quality, which can not only ensure the retransmission of the data packet as much as possible, but also reduce unnecessary retransmissions, thereby saving transmission resources on the basis of reducing the possibility of the data packet being erroneously discarded due to the short PDB.
[0148] Such as Figure 1 and Figure 2 As shown, the transmission of the data packet is related to both the PDCP layer and the RLC layer. Moreover, the PDCP layer is configured with a discard timer. Based on this, in the following embodiments, the related configuration of the first timer and the process of the PDCP layer and the RLC layer cooperating to achieve autonomous retransmission based on the threshold value and the link quality will be described in detail.
[0149] Figure 8 Another data transmission method provided for the embodiment of the present application includes the following steps:
[0150] S501. The base station configures a first timer and a threshold value for the PDCP layer of the terminal.
[0151] Based on the existing standards, the PDCP layer needs to be configured with a discard timer (discard Timer, also known as a timer), and the discard Timer is used to time the discard time of the data packet. In some implementation manners, the first timer is the discard Timer of the PDCP layer, that is, the discard Timer is reused to time the remaining time of the data packet in this embodiment. In other implementation manners, the first timer is a newly configured timer in the PDCP layer in addition to the discard Timer to implement the function of timing the remaining time of the data packet in this embodiment.
[0152] In this embodiment, take the first timer using the countdown mode as an example.
[0153] S502. When the PDCP layer of the terminal delivers the first data packet to the RLC layer, start the first timer.
[0154] S503. The RLC layer of the terminal initially transmits the first data packet to the base station according to the MAC configuration.
[0155] S504. When the remaining time of the first timer reaches threshold value 1, the PDCP layer of the terminal instructs the RLC layer of the terminal that it can perform autonomous retransmission.
[0156] In some implementation manners, the PDCP layer sends a first identifier to the RLC layer, and the first identifier is used to indicate that the first data packet can be retransmitted.
[0157] S505. If the terminal does not receive the 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 value, then based on the indication of the PDCP layer, retransmit the first data packet to the base station.
[0158] 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.
[0159] In some implementation manners, in this step, the first identifier is also used to indicate that retransmission is possible. In other implementation manners, the identifier indicating that retransmission is possible in this step is different from the first identifier.
[0160] S507. If the terminal does not receive the 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 value, and the RLC layer of the terminal sends first indication information for indicating polling to the base station.
[0161] In this embodiment, it is assumed that the terminal has not received the feedback information of the first data packet before the first timer expires. Then, based on the expiration of the first timer, the process ends. After the remaining time of the first data packet (i.e., the timing of the first timer) expires, the PDCP layer will no longer instruct the RLC layer that it can perform autonomous retransmission (such as stopping sending the first identifier). Therefore, the RLC layer will no longer perform autonomous retransmission.
[0162] It is also possible that after the first timer expires, 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, combined with the functions of the PDCP layer and the RLC layer, means 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.
[0163] In some implementations, the RLC layer is instructed by a second identifier to stop the autonomous retransmission mechanism based on a threshold value and link quality.
[0164] In this embodiment, the timing of the timer of 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 instructing the RLC layer that autonomous retransmission can be performed has higher flexibility in addition to the effects of the above embodiments.
[0165] Figure 9 is another data transmission method provided by the embodiments of the present application. Compared with Figure 8 in which the terminal receives feedback information indicating that the first data packet has been successfully received, Figure 9 it includes the following steps:
[0166] S601. The base station configures a first timer and a threshold value for the PDCP layer of the terminal.
[0167] S602. When the PDCP layer of the terminal delivers the first data packet to the RLC layer, the first timer is started.
[0168] S603. The RLC layer of the terminal initially transmits the first data packet to the base station according to the MAC configuration.
[0169] S604. When the remaining time of the first timer reaches the threshold value 1, the PDCP layer of the terminal instructs the RLC layer of the terminal that autonomous retransmission can be performed.
[0170] S605. If the terminal does not receive feedback information for 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 value, it instructs the base station to perform polling (i.e., sends a first indication message to the base station) based on the first identifier.
[0171] In this embodiment, it is assumed that before the remaining time of the first timer reaches the threshold value 2, the terminal receives an ACK for the first data packet, and the following steps are performed:
[0172] S606. The RLC layer of the terminal receives the ACK for the first data packet.
[0173] S607. The RLC layer of the terminal stops retransmitting the first data packet based on the first identifier and link quality.
[0174] S608. The RLC layer of the terminal instructs the PDCP layer to stop timing the remaining time of the first data packet.
[0175] In some implementations, the RLC layer sends a third identifier to the PDCP layer, and the third identifier is used to instruct to stop timing the remaining time of the first data packet.
[0176] S609. The PDCP layer of the terminal stops the timing of the first timer based on the indication to stop the remaining timing of the first data packet. The process ends.
[0177] S608 - S609 are optional steps. Alternatively, the RLC layer does not indicate to the PDCP layer. In this case, it is possible that the PDCP layer still sends the first identifier to the RLC layer based on a threshold value to indicate that the first data packet can be retransmitted, but the RLC layer does not respond to the first identifier. In this case, after the remaining time of the first data packet ends, the PDCP layer stops the timing of the first timer and thus no longer sends the first identifier to the RLC layer.
[0178] It can be understood that the terminal may also receive a NACK for the first data packet, as Figure 10 shown, including the following steps:
[0179] S701. The base station configures a first timer and a threshold value for the PDCP layer of the terminal.
[0180] S702. When the PDCP layer of the terminal delivers the first data packet to the RLC layer, it starts the first timer.
[0181] S703. The RLC layer of the terminal initially transmits the first data packet to the base station according to the MAC configuration.
[0182] 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 an autonomous retransmission.
[0183] S705. If the terminal does not receive feedback information for 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 value, it retransmits the first data packet to the base station based on the first identifier and indicates polling.
[0184] S706. The RLC layer of the terminal receives a NACK for the first data packet.
[0185] S707. The RLC layer of the terminal stops the retransmission of the first data packet based on the first identifier and the link quality.
[0186] S708. The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.
[0187] It can be understood that the execution order of S707 and S708 is not limited.
[0188] S709. The RLC layer indicates to the PDCP layer to stop the timing of the remaining time of the first data packet.
[0189] The PDCP layer stops the timing of the first timer in response to the indication.
[0190] An implementation alternative to S710 is that the PDCP layer continues the timing of the first timer and sends a first identifier to the RLC layer when the timing of the first timer reaches a threshold value, but the RLC layer does not respond to this first identifier. In this case, after the remaining time of the first data packet has finished timing, the PDCP layer stops the timing of the first timer and thus will no longer send the first identifier to the RLC layer.
[0191] In addition to Figure 10 the process described above, for the case of receiving a NACK for the first data packet, the following Figure 11 process can also be executed:
[0192] S801. The base station configures a first timer and a threshold value for the PDCP layer of the terminal.
[0193] S802. When the PDCP layer of the terminal delivers the first data packet to the RLC layer, it starts the first timer.
[0194] S803. The RLC layer of the terminal initially transmits the first data packet to the base station according to the MAC configuration.
[0195] S804. When the remaining time of the first timer reaches threshold value 1, the PDCP layer of the terminal sends a first identifier to the RLC layer of the terminal.
[0196] S805. If the terminal does not receive feedback information for 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 value, it retransmits the first data packet to the base station based on the first identifier and indicates polling.
[0197] S806. The RLC layer of the terminal receives the NACK for the first data packet.
[0198] S807. The RLC layer of the terminal retransmits the first data packet to the base station based on the NACK.
[0199] 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.
[0200] It can be understood that since 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, as indicated by Figure 11 the "×" in
[0201] When the remaining time of the first timer at the PDCP layer of the terminal 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 the 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 magnitude relationship between the measurement result of the link and a preset threshold value and the first identifier.
[0202] 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. Figure 10 and Figure 11 respectively illustrate the process of combining the autonomous retransmission of the terminal and the retransmission based on NACK in the scenario where the terminal receives NACK, which reduces the problem of short PDB data packets being discarded.
[0203] Figure 12 It is a schematic structural diagram of a communication device. Taking a mobile phone as an example, it includes 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.
[0204] It can 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 those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0205] 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 processing unit (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. Among them, different processing units may be independent devices or integrated in one or more processors.
[0206] 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 the data storage function. For example, music, video and other files are saved in the external memory card.
[0207] 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 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the terminal (such as audio data, phone book, etc.). In addition, the internal memory 321 can include a high-speed random access memory, and can 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.
[0208] The wireless communication function of the terminal can be implemented by antenna 1, antenna 2, the mobile communication module 350, the wireless communication module 360, the modulation and demodulation processor, and the baseband processor, etc.
[0209] 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 multiplexed to improve the utilization rate of the antennas. For example: Antenna 1 can be multiplexed 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.
[0210] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc. applied to the terminal. The mobile communication module 350 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves through antenna 1, perform filtering, amplification, etc. on 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 through antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 350 can be provided in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 can be provided in the same device.
[0211] In some embodiments, the terminal initiates or receives a call request through the mobile communication module 350 and antenna 1.
[0212] In addition, an operating system runs on the above components. For example, iOS operating system, Android operating system, Windows operating system, etc. Application programs can be installed and run on the operating system.
[0213] Figure 13 FIG. 900 shows a structural example of another communication device, such as a base station, provided for the embodiments of the application, including a portion 910, a portion 920, and a portion 930.
[0214] The portion 910 is mainly used for baseband processing and control, etc.; the portion 910 is usually the control center of the network device and can usually be called a processor, which is used to control the network device to execute the processing operations on the network device side in the above method embodiments. The portion 920 is mainly used for storing computer program codes and data. The portion 930 is mainly used for the transceiver of radio frequency signals and the conversion between radio frequency signals and baseband signals; the portion 930 can usually be called a transceiver module, a transceiver, a transceiver circuit, or a transceiver, etc. The transceiver module of the portion 930 can also be called a transceiver or a transceiver, etc., and it includes an antenna 933 and a radio frequency circuit (not shown in the figure), where the radio frequency circuit is mainly used for radio frequency processing. Optionally, the devices used to implement the receiving function in the portion 930 can be regarded as a receiver, and the devices used to implement the transmitting function can be regarded as a transmitter, that is, the portion 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.
[0215] The portion 910 and the portion 920 can include one or more single boards, and each single board can include one or more processors and one or more memories. The processor is used to read and execute the programs in the memory to implement the baseband processing function and the control of the network device. If there are multiple single boards, the single boards can be interconnected to enhance the processing ability. As an alternative implementation, it can also be that multiple single boards share one or more processors, or multiple single boards share one or more memories, or multiple single boards share one or more processors at the same time.
[0216] For example, in one implementation, the transceiver module of the portion 930 is used to execute the transceiver-related processes performed by the network device in the above embodiments. The processor of the portion 910 is used to execute the processing-related processes performed by the network device in the above embodiments.
[0217] It should be understood that Figure 13 merely by way of example and not limitation, the above network device including a processor, a memory, and a transceiver may not depend on Figure 13 the structure shown.
[0218] An embodiment of the present application also discloses a computer-readable storage medium, on which instructions are stored. When the instructions run on an electronic device, the electronic device is caused to execute the data transmission method provided in the above embodiment.
[0219] An embodiment of the present application also discloses a computer program product, on which an execution is stored. When the computer program product runs on an electronic device, the electronic device is caused to implement the data transmission method provided in the above embodiment.
[0220] An embodiment of the present application also discloses a chip system, including: at least one processor and an interface, where the interface is configured 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.
[0221] As described above, the foregoing are only specific embodiments 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 covered by the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to 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 PDCP layer of the first communication device is configured with a first timer, and the first communication device further includes an RLC layer. The method includes: When the PDCP layer delivers a first data packet to the RLC layer, it starts the first timer, and the timing of the first timer represents the remaining time of the first data packet; The RLC layer sends the first data packet to the second communication device; When the remaining time of the first timer reaches a first threshold value, the PDCP layer sends a first identifier to the RLC layer, and the first identifier indicates that the RLC layer performs autonomous retransmission; If the RLC layer does not receive feedback information of the first data packet, based on the first identifier and the quality of the link, it retransmits the first data packet to the second communication device or sends first indication information, and the first indication information is used to indicate whether the second communication device successfully receives the first data packet; In the case where the RLC layer receives the feedback information indicating that the first data packet is not successfully received, based on the feedback information, it retransmits the first data packet to the second communication device at a first time, where the first time is after the remaining time of the first timer reaches the first threshold value and before the remaining time of the first timer reaches a second threshold value; When the remaining time of the first timer reaches the second threshold value, the PDCP layer sends the first identifier to the RLC layer; When the remaining time of the first timer reaches a target threshold value, the PDCP layer sends the first identifier to the RLC layer, and the target threshold value includes threshold values other than the second threshold value among multiple threshold values; If the RLC layer does not receive feedback information of the first data packet, based on the quality of the link and the first identifier sent by the PDCP layer when the remaining time of the first timer reaches the target threshold value, it retransmits the first data packet to the second communication device or sends first indication information; In the case where the RLC layer receives the feedback information indicating that the first data packet is successfully received, it instructs the PDCP layer to stop timing the remaining time of the first data packet and stop retransmitting the first data packet based on the threshold value and the link quality.
2. The method according to claim 1, characterized in that, The retransmitting the first data packet to the second communication device or sending the first indication based on the first identifier and the quality of the link includes: Based on the first identifier and the measurement result of the link being not greater than a preset threshold value, retransmitting the first data packet to the second communication device; Based on the first identifier and the measurement result of the link being greater than the threshold value, sending the first indication information to the second communication device.
3. The method according to claim 1 or 2, characterized in that The multiple threshold values include multiple threshold values sorted according to a preset rule, where the interval between adjacent sorted threshold values is not less than at least one of the data transmission duration and the hybrid automatic repeat request (HARQ) duration.
4. The method according to claim 1 or 2, characterized in that, Before sending the first data packet to the second communication device, it further includes: Obtain the configuration information sent by the second communication device, where the configuration information includes at least one of the evaluation parameter of the quality of the link and the configuration information of multiple threshold values.
5. The method according to claim 4, wherein The configuration information of the multiple threshold values indicates: the multiple threshold values, or, the configuration information of the multiple threshold values indicates: the interval between one threshold value and an adjacent threshold value.
6. The method according to claim 4, wherein The threshold values are configured in the Radio Link Control (RLC) layer or the Packet Data Convergence Protocol (PDCP) layer.
7. The method according to claim 1 or 2, characterized in that, The manner of obtaining the quality of the link includes: Read the cell measurement results from layer 1.
8. The method according to claim 7, characterized in that, The reading of the cell measurement results from layer 1 includes: The RLC layer reads the latest cell measurement results from layer 1.
9. The method according to claim 1 or 2, wherein The first timer is a first type of timer in the PDCP layer or a second type of timer in 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 data packets. The second type of timer is other timer configured outside the first type of timer.
10. The method according to claim 9, wherein Before starting the first timer, it further includes: Obtain the configuration information of the first timer sent by the second communication device, and the configuration information is used to configure the first type of timer or the second type of timer in the PDCP layer.
11. The method according to claim 1 or 2, characterized in that, It further includes at least one of the following: After the remaining time of the first data packet ends timing, the PDCP layer stops transmitting the first identifier to the RLC layer; The PDCP layer stops timing of the first timer based on the indication from the RLC layer to stop timing of the remaining time of the first data packet.
12. An electronic device, characterized in that, The electronic device 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 according to any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that, Instructions are stored thereon, and when the instructions run on the electronic device, the electronic device executes the data transmission method according to any one of claims 1 to 11.
14. A chip system, characterized in that, It includes: At least one processor and an interface, where 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 according to any one of claims 1 to 11.
15. A computer program product, characterized in that, When the computer program product runs on the electronic device, the electronic device implements the data transmission method according to any one of claims 1 to 11.