Data transmission method and device and storage medium
The RLC layer on the base station side sends downlink packet messages to the MAC layer and receives feedback, which solves the problem that the base station side cannot confirm the terminal's reception signaling, reduces the number of retransmissions, saves resources, and optimizes the communication quality.
Patent Information
- Application Number
- CN202311838141.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
During the release or handover reconfiguration process of wireless resource control RRC, the base station side cannot confirm whether the terminal successfully receives signaling information, resulting in an increase in resource waste and retransmission times.
The base station side RLC layer sends downlink packet messages to the MAC layer, receives feedback messages from the MAC layer to determine whether the AMD PDU is sent successfully or not, and stops the retransmission timer and deletes the PDU from the queue after successful transmission.
Reduces the number of retransmissions, saves resources, reduces the meaningless UI caused by retransmissions, improves switching failures and downlink air interface indicators, and optimizes business impact.
Smart Images

Figure CN120238951A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a data transmission method, apparatus, and storage medium. Background Art
[0002] In traditional technologies, for messages such as Radio Resource Control (RRC) release or handover reconfiguration on the terminal side, the Radio Link Control (RLC) on the terminal side needs to send a positive feedback (Acknowledgement, ACK) message to the RLC on the base station side for confirmation.
[0003] However, according to the current logs on the base station side, when the terminal is released or performs an in-place handover, it is very likely that the base station side will initiate the release on the base station side before waiting for the RLC status report of these signaling messages. Since the RLC layer on the base station side cannot confirm whether the terminal has successfully received the information, it will retransmit the message according to the configured period and maximum number of retransmissions, resulting in waste of resources. Summary of the Invention
[0004] Based on this, it is necessary to provide a data transmission method, apparatus, and storage medium for the above technical problems.
[0005] In a first aspect, this application provides a data transmission method, including:
[0006] When it is confirmed that the acknowledged mode data (AMD) protocol data unit (PDU) is used to release the Radio Resource Control (RRC) connection, send a downlink packet assembly message to the Medium Access Control (MAC) layer, where the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU;
[0007] Receive a first feedback message sent by the MAC layer, where the first feedback message is used to indicate whether the MAC layer has successfully sent the AMD PDU;
[0008] When the MAC layer has successfully sent the AMD PDU, stop the retransmission timer of the AMD PDU and delete the AMD PDU from the queue of sent PDUs.
[0009] In one embodiment, the downlink packet assembly message and the first feedback message include first identification information, where the first identification information is used to identify the AMD PDU.
[0010] In one embodiment, the first identification information includes a sequence number, the message type corresponding to the AMD PDU, and the instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0011] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments, and the downlink packet assembly message is used to instruct the MAC layer to send multiple AMD PDU segments, and receive a first feedback message sent by the MAC layer, including:
[0012] Receive multiple second feedback messages sent by the MAC layer, each second feedback message corresponding to an AMD PDU segment, and each second feedback message is used to characterize whether the MAC layer has successfully sent the corresponding AMD PDU segment;
[0013] The method further includes:
[0014] In the case where the number of second feedback messages capable of characterizing that the MAC layer has successfully sent the corresponding AMD PDU segment in the received multiple second feedback messages is the same as the number of AMD PDU segments indicated by the downlink packet assembly message for the MAC layer to send, it is determined that the MAC layer has successfully sent the AMD PDU.
[0015] In a second aspect, the present application provides a data transmission method, including:
[0016] Receive a downlink packet assembly message sent by a radio link control protocol (RLC) layer, where the downlink packet assembly message is sent when the AMD PDU is used to release a radio resource control (RRC) connection, and the downlink packet assembly message is used to instruct the MAC layer to send an AMD PDU;
[0017] Send an AMD PDU to the terminal;
[0018] Send a first feedback message to the RLC layer, where the first feedback message is used to characterize whether the AMD PDU has been successfully sent.
[0019] In one embodiment, the downlink packet assembly message and the first feedback message include first identification information, and the first identification information is used to identify the AMD PDU.
[0020] In one embodiment, the first identification information includes a sequence number, a message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0021] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments, and the downlink packet assembly message is used to instruct the MAC layer to send multiple AMD PDU segments;
[0022] Sending an AMD PDU to the terminal includes:
[0023] Send multiple AMD PDU segments to the terminal in a fragmented manner;
[0024] Send a first feedback message to the RLC layer, including:
[0025] Send multiple second feedback messages to the RLC layer. Each second feedback message corresponds to an AMD PDU segment, and each second feedback message is used to indicate whether the corresponding AMD PDU segment has been successfully sent.
[0026] In a third aspect, the present application provides a data transmission device, including:
[0027] A sending unit, configured to send a downlink packet assembly message to the medium access control (MAC) layer when an acknowledged mode data (AMD) protocol data unit (PDU) is used to release a radio resource control (RRC) connection. The downlink packet assembly message is used to instruct the MAC layer to send an AMD PDU;
[0028] A receiving unit, configured to receive a first feedback message sent by the MAC layer. The first feedback message is used to indicate whether the MAC layer has successfully sent an AMD PDU;
[0029] A deleting unit, configured to stop the retransmission timer of the AMD PDU and delete the AMD PDU from the transmitted PDU queue when the MAC layer has successfully sent the AMD PDU.
[0030] In one embodiment, the downlink packet assembly message and the first feedback message include first identification information, which is used to identify the AMD PDU.
[0031] In one embodiment, the first identification information includes a sequence number, a message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU. Among them, the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0032] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments. The downlink packet assembly message is used to instruct the MAC layer to send multiple AMD PDU segments. The receiving unit is further configured to:
[0033] Receive multiple second feedback messages sent by the MAC layer. Each second feedback message corresponds to an AMD PDU segment, and each second feedback message is used to indicate whether the MAC layer has successfully sent the corresponding AMD PDU segment;
[0034] The device further includes:
[0035] A determination unit, configured to determine that the MAC layer has successfully sent an AMD PDU when the number of second feedback messages capable of characterizing that the MAC layer has successfully sent the corresponding AMD PDU segment in the received multiple second feedback messages is the same as the number of AMD PDU segments indicated by the downlink packetizing message for the MAC layer to send.
[0036] In a fourth aspect, the present application provides a data transmission device, including:
[0037] A receiving unit, configured to receive a downlink packetizing message sent by a radio link control (RLC) layer, where the downlink packetizing message is sent when an AMD PDU is used to release a radio resource control (RRC) connection, and the downlink packetizing message is used to indicate the MAC layer to send the AMD PDU;
[0038] A first sending unit, configured to send an AMD PDU to a terminal;
[0039] A second sending unit, configured to send a first feedback message to the RLC layer, where the first feedback message is used to characterize whether the AMD PDU has been successfully sent.
[0040] In one embodiment, the downlink packetizing message and the first feedback message include first identification information, where the first identification information is used to identify the AMD PDU.
[0041] In one embodiment, the first identification information includes a sequence number, a message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0042] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments, and the downlink packetizing message is used to indicate the MAC layer to send multiple AMD PDU segments;
[0043] The first sending unit is further configured to:
[0044] Send multiple AMD PDU segments to the terminal in a fragmented manner;
[0045] The second sending unit is further configured to:
[0046] Send multiple second feedback messages to the RLC layer, where each second feedback message corresponds to one AMD PDU segment, and each second feedback message is used to characterize whether the corresponding AMD PDU segment has been successfully sent.
[0047] Fifth aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the data transmission method in the first aspect or any one of the embodiments of the first aspect are implemented, or the steps of the data transmission method in the second aspect or any one of the embodiments of the second aspect are implemented.
[0048] Sixth aspect, the present application further provides a processor-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data transmission method in the first aspect or any one of the embodiments of the first aspect are implemented, or the steps of the data transmission method in the second aspect or any one of the embodiments of the second aspect are implemented.
[0049] Seventh aspect, the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the data transmission method in the first aspect or any one of the embodiments of the first aspect are implemented, or the steps of the data transmission method in the second aspect or any one of the embodiments of the second aspect are implemented.
[0050] In the above data transmission method, device and storage medium, when the RLC layer on the base station side is in the case that the AMD PDU is used to release the radio resource control (RRC) connection, a downlink packetization message is sent to the MAC layer to instruct the MAC layer on the base station side to send the AMD PDU. Then, the MAC layer sends a feedback message indicating whether it has successfully sent the AMD PDU to the RLC layer. When the MAC layer has successfully sent the AMD PDU, the retransmission timer of the AMD PDU is stopped, and the AMD PDU is deleted from the queue of the already sent PDUs. In this way, the RLC layer on the base station side can determine whether to perform retransmission based on the feedback information of the MAC layer, which can reduce the number of retransmissions and thus save resources. Description of the Drawings
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0052] Figure 1 It is an application environment diagram of the data transmission method in an embodiment;
[0053] Figure 2 It is a schematic flowchart of the data transmission method in an embodiment;
[0054] Figure 3 It is a schematic flowchart of the data transmission method in an embodiment;
[0055] Figure 4 It is a schematic flowchart of a data transmission method in an embodiment;
[0056] Figure 5 It is a structural block diagram of a data transmission device in an embodiment;
[0057] Figure 6 It is a structural block diagram of a data transmission device in an embodiment;
[0058] Figure 7 It is an internal structure diagram of a network device in an embodiment. Specific embodiments
[0059] In the embodiments of the present application, the term "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0060] In the embodiments of the present application, the term "plurality" refers to two or more, and other quantifiers are similar thereto.
[0061] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0062] The embodiments of the present application provide a data transmission method and device, which are used to determine whether an AMDPDU is successfully sent through a feedback message of the MAC layer, thereby reducing the number of retransmissions.
[0063] Among them, the method and the device are based on the same inventive concept. Since the principles of solving problems by the method and the device are similar, the implementation of the device and the method can be referred to each other, and the repeated parts will not be described again.
[0064] The technical solutions provided by the embodiments of this application can be applicable to a variety of systems. For example, the applicable systems can be Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Long Term Evolution Advanced (LTE-A) systems, Universal Mobile Telecommunications System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) systems, 5G New Radio (NR) systems and their evolved communication systems, etc. These various systems may include terminal devices and network devices. The system may also include a core network part, such as an Evolved Packet System (EPS), a 5G System (5GS), etc.
[0065] The terminal device involved in the embodiments of the present application can be a device that provides voice and / or data connectivity to users, such as a handheld device with wireless connection capabilities, or other processing devices connected to a wireless modem, etc. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device can be called a User Equipment (UE). The wireless terminal device can be a USB storage device, other personal computer memory devices, and dongles. It can also communicate with one or more Core Networks (CNs) via a Radio Access Network (RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it can be a portable, pocket-sized, handheld, computer-integrated, or vehicle-mounted mobile device that exchanges voice and / or data with the wireless access network. For example, devices such as Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), personal computers, tablets, Machine-type Communication (MTC) terminal devices, etc. The wireless terminal device can also be called a system, subscriber unit, subscriber station, mobile station, mobile, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, and wireless access points and routers / modems that meet the limitations of this definition, which are not limited in the embodiments of the present application.
[0066] The network device involved in the embodiments of this application can be a base station, which can include multiple cells that provide services to terminals. Depending on the specific application scenarios, the base station can also be referred to as an access point, or it can be a device in the access network that communicates with wireless terminal devices through one or more sectors over the air interface, or other names. The network device can be used to mutually replace the received air frames and Internet Protocol (IP) packets, and act as a router between the wireless terminal device and the rest of the access network, where the rest of the access network can include an Internet Protocol (IP) communication network. The network device can also coordinate the management of the attributes of the air interface. For example, the network device involved in the embodiments of this application can be an evolved network device (eNB or e-NodeB) in a Long Term Evolution (LTE) system, a 5G base station (gNB) in a 5G network architecture (next generation system), etc., or it can also be a Home evolved Node B (HeNB), a relay node, a femto, a pico, a network test device, etc. The embodiments of this application do not limit this. In some network architectures, the network device can include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit can also be geographically separated.
[0067] In the embodiments of this application, the terminal device sends relevant information or similar descriptions to the network-side device, which only indicates that the relevant information is sent in the form of a wireless signal by the terminal device, and the intended recipient is the network device. The network device can obtain the relevant information by receiving the wireless signal.
[0068] The data transmission method provided by the embodiments of this application can be applied to an application environment as Figure 1 shown. Among them, the terminal communicates with the base station through the network. The terminal can include a Service Data Adaptation Protocol (SDAP) layer, a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer, and a Physical (PHY) layer. The base station can include an SDAP layer, a PDCP layer, an RLC layer, a MAC layer, and a PHY layer. As Figure 1As shown in the figure, communication channels can be corresponding between each layer on the terminal side and each layer on the base station side. For example, a communication channel can be established between the RLC layer on the terminal side and the RLC layer on the base station side, and a communication channel can be established between the MAC layer on the terminal side and the MAC layer on the base station side.
[0069] When the RLC layer on the terminal side sends data to the RLC layer on the base station side, the data will be sent from the RLC layer on the terminal side to the MAC layer on the terminal side, and then sent to the PHY layer on the terminal side. The PHY layer on the terminal side sends the data to the PHY layer on the base station side, and then the PHY layer on the base station side sends the data to the MAC layer on the base station side. Finally, the MAC layer on the base station side sends the data to the RLC layer on the base station side, thus completing the process of the RLC layer on the terminal side sending data to the RLC layer on the base station side. The process of the RLC layer on the base station side sending data to the RLC layer on the terminal side can refer to the process of the RLC layer on the terminal side sending data to the RLC layer on the base station side, which will not be elaborated here.
[0070] The protocol stipulates that for messages such as Radio Resource Control Release (RRC release) messages or handover reconfiguration messages, the RLC layer on the terminal side needs to reply with an ACK message to confirm to the RLC layer on the base station side. If the RLC layer on the base station side cannot confirm whether the terminal has successfully received the above messages, it will retransmit the above messages according to the configured period and maximum number of retransmissions. In the data transmission method provided in the embodiments of the present application, the RLC layer on the base station side can determine whether the above messages are successfully sent through the feedback message of the MAC layer on the base station side, thereby reducing the number of retransmissions.
[0071] In an exemplary embodiment, as Figure 2 shown, a data retransmission method is provided. Taking the RLC layer on the base station side in Figure 1 as an example for illustration, the method may include:
[0072] Step S201, when the AMD PDU is used to release the RRC connection, send a downlink packet assembly message to the MAC layer on the base station side.
[0073] The Acknowledged Mode (AM) is a working mode of the RLC at the base station side. In the AM working mode, the RLC at the base station side requires an Acknowledged (ACK) and Negative ACKnowledge (NACK) feedback mechanism to determine whether to retransmit data. Acknowledged Mode Data (AMD) represents the data in the AM mode. The AMD PDU can represent the Protocol Data Unit (PDU) in the AM mode. In this step, the AMD PDU can represent the PDU to be sent in the AM model. The AMD PDU can be the PDU sent for the first time or the retransmitted PDU. The embodiments of the present application do not limit this.
[0074] When the RLC layer at the base station side assembles packets, it can first determine whether the AMD PDU in the assembled packets is used to release the Radio Link Control (RRC) connection. If the AMD PDU is used to release the RRC connection, the RRC connection needs to be released after it is confirmed that the AMD PDU has been successfully sent. In one example, the RLC layer at the base station side can determine whether the AMD PDU in the assembled packets is the Radio Resource Control Release message (RRCrelease) in the Signalling radio beare (SRB) or the Radio Resource Reconfiguration message in the SRB. If the AMD PDU is the Radio Resource Control Release message in the SRB or the Radio Resource Reconfiguration message in the SRB, the RLC layer at the base station side can confirm that the AMD PDU is used to release the RRC connection.
[0075] If the RLC layer at the base station side confirms that the AMD PDU is used to release the RRC connection, the RLC layer at the base station side can send downlink packet assembly information to the MAC layer at the base station side. The downlink packet message can be used to instruct the MAC layer at the base station side to send the AMD PDU.
[0076] In a possible implementation, the downlink packetizing message includes first identification information, which can be used to identify the AMD PDU. In an example, the first identification information may include a serial number, the message type corresponding to the AMD PDU, and the instance information corresponding to the AMP PDU. Among them, the instance information corresponding to the AMD PDU refers to the link where the AMD PDU is stored, and the serial number (Serial Number, SN) is used to indicate the precise position of the AMD PDU in the link. The message type corresponding to the AMDPDU includes the radio resource control release message in the SRB message or the radio resource reconfiguration message in the SRB message. Carrying the message type corresponding to the AMD PDU in the downlink packetizing message is to notify the MAC layer on the base station side that the AMDPDU is used to release the RRC connection, so that the MAC layer on the base station side returns a feedback message to the RLC layer on the base station side after sending the AMD PDU.
[0077] After receiving the downlink packetizing message, the MAC layer on the base station side associates the first identification information with the AMD PDU and sends the AMD PDU to the terminal. When the MAC layer on the base station side receives a Hybrid Automatic Repeat Request (HARQ), it can send a first feedback message to the RLC layer on the base station side to feedback whether the MAC layer on the base station side has successfully sent the AMD PDU.
[0078] Step S202, receive the first feedback message sent by the MAC layer on the base station side.
[0079] Among them, the first feedback message can be used to characterize whether the MAC layer on the base station side has successfully sent the AMD PDU. In an example, the MAC layer on the base station side can send a first feedback message indicating that the MAC layer on the base station side has not successfully sent the AMD PDU to the RLC layer on the base station side after more than a preset number of times (such as five times, set as needed) of downlink transmission errors, and send a first feedback message indicating that the MAC layer on the base station side has successfully sent the AMD PDU to the RLC layer on the base station side after the downlink transmission is successful within the preset number of times.
[0080] In a possible implementation, the first feedback message may include first identification information, which can be used to identify the AMD PDU. In an example, the first identification information may include a serial number, the message type corresponding to the AMD PDU, and the instance information corresponding to the AMP PDU. In another example, the first identification information may include a serial number and the instance information corresponding to the AMPPDU, without carrying the message type corresponding to the AMD PDU. After receiving the first feedback message, the RLC layer on the base station side can find the corresponding AMD PDU according to the first identification information.
[0081] In a possible implementation, the AMD PDU is sent as a whole, and the base station side MAC layer can complete the sending of the AMD PDU through one-time sending. At this time, the base station side MAC layer sends a feedback message, that is, the first feedback message, to the base station side RLC. After receiving the first feedback message, the base station side RLC can determine whether the base station side MAC layer has successfully sent the AMD PDU.
[0082] In a possible implementation, the AMD PDU is sent in fragments, and the AMD PDU can be divided into multiple AMD PDU segments. The downlink packet assembly message can be used to instruct the base station side MAC layer to send multiple AMD PDU segments. At this time, step S202 may include: receiving multiple second feedback messages sent by the base station side MAC layer. Each second feedback message corresponds to an AMD PDU segment, and each second feedback message can be used to indicate whether the base station side MAC layer has successfully sent the corresponding AMD PDU segment.
[0083] Step S203, in the case where the base station side MAC layer has successfully sent the AMD PDU, stop the retransmission timer of the AMD PDU, and delete the AMD PDU from the sent PDU queue.
[0084] After the base station side RLC layer sends the AMD PDU, it will add the AMD PDU to the sent PDU queue and start a retransmission timer for the AMD PDU. When the retransmission timer of the AMD PDU expires, the base station RLC layer will take out the AMD PDU from the sent PDU queue for retransmission. In the embodiments of the present application, in the case where the base station side RLC layer determines that the base station side MAC layer has successfully sent the AMD PDU, the retransmission timer of the AMD PDU can be stopped, and the AMD PDU can be deleted from the sent PDU queue, and the AMD PDU will not be retransmitted. It can be understood that after each sending of the AMD PDU, the corresponding retransmission timer will be initialized and start timing again.
[0085] In a possible implementation, the AMD PDU is sent as a whole, and the base station side RLC layer can determine that the base station side MAC layer has successfully sent the AMD PDU in the case of receiving the first feedback message that can indicate that the base station side MAC layer has successfully sent the AMD PDU.
[0086] In a possible implementation, the AMD PDU is sent in fragments. When the number of second feedback messages indicating that the base station side MAC layer has successfully sent the corresponding AMD PDU segment in the multiple second feedback messages received by the RLC layer on the base station side is the same as the number of AMD PDU segments indicated by the downlink packet assembly message for the base station side MAC layer to send, it can be determined that the base station side MAC layer has successfully sent the AMD PDU.
[0087] If the number of second feedback messages indicating that the base station side MAC layer has successfully sent the corresponding AMD PDU segment in the multiple second feedback messages received by the RLC layer on the base station side is the same as the number of AMD PDU segments indicated by the downlink packet assembly message for the base station side MAC layer to send, it indicates that all AMD PDU segments of the AMD PDU have been successfully sent. Therefore, the RLC layer on the base station side can determine that the base station side MAC layer has successfully sent the AMD PDU. If the number of second feedback messages indicating that the base station side MAC layer has successfully sent the corresponding AMD PDU segment in the multiple second feedback messages received by the RLC layer on the base station side is different from the number of AMD PDU segments indicated by the downlink packet assembly message for the base station side MAC layer to send, it indicates that some AMD PDU segments have not been successfully sent. The RLC layer on the base station side can retransmit the entire AMD PDU according to the retransmission timer, and still send it in fragments when retransmitting the AMD PDU.
[0088] In the above data transmission method, when the AMD PDU is used for RRC connection, the RLC layer on the base station side sends a downlink packet assembly message to the MAC layer to indicate that the base station side MAC layer sends the AMD PDU. Then the MAC layer sends a feedback message indicating whether it has successfully sent the AMD PDU to the RLC layer. When the MAC layer has successfully sent the AMD PDU, the retransmission timer of the AMD PDU is stopped, and the AMD PDU is deleted from the sent PDU queue. In this way, the RLC layer on the base station side determines whether to retransmit through the feedback information of the MAC layer, which can reduce the number of retransmissions and thus save resources.
[0089] In an exemplary embodiment, as Figure 3 shown, a data retransmission method is provided. Taking the method applied to the Figure 1 base station side MAC layer as an example for description, the method may include:
[0090] Step S301, receive the downlink packet assembly message sent by the RLC layer on the base station side.
[0091] The downlink packet assembly message is sent when the AMD PDU is used for releasing the RRC connection. The downlink packet assembly message is used to indicate that the base station side MAC layer sends the AMD PDU.
[0092] In a possible implementation, the downlink packetized message may include first identification information. The first identification information can be used to identify the AMD PDU. In one example, the first identification information may include a sequence number, the message type corresponding to the AMD PDU, and the instance information corresponding to the AMD PDU. Among them, the message type corresponding to the AMD PDU includes the radio resource control release message in the SRB message or the radio resource reconfiguration message in the SRB message.
[0093] Step S302: Send the AMD PDU to the terminal.
[0094] After receiving the downlink packetized message, the MAC layer on the base station side sends the AMD PDU to the terminal. The MAC layer on the base station side can send the AMD PDU to the terminal in a whole-piece manner or in a fragmented manner. The specific sending method can be set as needed and is not limited in the embodiments of the present application.
[0095] In a possible implementation manner, the AMD PDU is divided into multiple AMD PDU segments, and the downlink packetized message is used to instruct the MAC layer on the base station side to send multiple AMD PDU segments. At this time, step S302 may include: sending multiple AMD PDU segments to the terminal in a fragmented manner.
[0096] Step S303: Send a first feedback message to the RLC on the base station side.
[0097] The first feedback message can be used to indicate whether the AMD PDU has been successfully sent. In a possible implementation manner, the first feedback message may include the first identification information.
[0098] In the case where the AMD PDU is not divided, step S303 may include: sending a first feedback message to the RLC layer on the base station side.
[0099] In the case where the AMD PDU is divided into multiple AMD PDU segments, step S303 may include: sending multiple second feedback messages to the RLC layer on the base station side. Among them, each second feedback message corresponds to an AMD PDU segment, and each second feedback message can be used to indicate whether the corresponding AMD PDU segment has been successfully sent.
[0100] In the above data transmission method, by sending a feedback message indicating whether the AMDPDU has been successfully sent from the MAC layer on the base station side to the RLC layer, the RLC layer on the base station side can stop the retransmission timer of the AMD PDU and delete the AMD PDU from the sent PDU queue when the MAC layer successfully sends the AMD PDU. In this way, the RLC layer on the base station side can determine whether to retransmit through the feedback information of the MAC layer, which can reduce the number of retransmissions and thus save resources.
[0101] In an exemplary embodiment, as Figure 4 shown, a data retransmission method is provided. Taking the application environment to which this method is applied Figure 1 as an example for illustration, this method may include:
[0102] Step S401, when the RLC layer on the base station side is used for releasing the RRC connection in the AMD PDU, send a downlink packet assembly message to the MAC layer on the base station side.
[0103] Step S402, the MAC layer on the base station side receives the downlink packet assembly message, and this downlink packet assembly message is used to instruct the MAC layer on the base station side to send multiple AMD PDU segments.
[0104] Step S403, the MAC layer on the base station side sends multiple AMD PDU segments divided from the AMD PDU to the terminal in a fragmented manner.
[0105] Step S404, the MAC layer on the base station side sends multiple second feedback messages to the RLC layer on the base station side. Each second feedback message corresponds to an AMD PDU segment, and each second feedback message is used to indicate whether the corresponding AMD PDU segment has been successfully sent.
[0106] Step S405, the RLC layer on the base station side receives multiple second feedback messages.
[0107] Step S406, when the number of second feedback messages that can characterize that the MAC layer on the base station side has successfully sent the corresponding AMD PDU segment in the received multiple second feedback messages is the same as the number of AMD PDU segments indicated by the next packet assembly message for the MAC layer on the base station side to send, it is determined that the MAC layer on the base station side has successfully sent the AMD PDU.
[0108] Step S407, when the MAC layer on the base station side has successfully sent the AMD PDU, stop the retransmission timer of the AMD PDU and delete the AMD PDU from the queue of the already sent PDUs.
[0109] The data transmission method provided by the embodiments of this application can adapt to the new transmission and retransmission of the RLC layer AMD PDU, reduce the number of retransmissions, thereby avoiding problems such as meaningless UIs caused by the increase in the number of retransmissions, high failure indicators for outfield KPI handovers, and deterioration of downlink air interface indicators, reducing the impact on normal services, and saving the downlink resources of the MAC layer.
[0110] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0111] Based on the same inventive concept, an embodiment of the present application further provides a data transmission device for implementing the data transmission method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the data transmission device provided below can refer to the limitations on the data transmission method in the above text and will not be repeated here.
[0112] In an exemplary embodiment, as Figure 5 shown, a data transmission device is provided. The device 500 may include: a sending unit 501, a receiving unit 502, and a deleting unit 503.
[0113] The sending unit 501 is configured to send a downlink packetizing message to the Medium Access Control (MAC) layer when an Acknowledged Mode Data (AMD) Protocol Data Unit (PDU) is used to release a Radio Resource Control (RRC) connection. The downlink packetizing message is used to instruct the MAC layer to send an AMD PDU.
[0114] The receiving unit 502 is configured to receive a first feedback message sent by the MAC layer. The first feedback message is used to characterize whether the MAC layer has successfully sent an AMD PDU.
[0115] The deleting unit 503 is configured to stop the retransmission timer of the AMD PDU and delete the AMD PDU from the queue of the already sent PDUs when the MAC layer has successfully sent the AMD PDU.
[0116] In one of the embodiments, the downlink packetizing message and the first feedback message include first identification information, and the first identification information is used to identify the AMD PDU.
[0117] In one embodiment, the first identification information includes a serial number, a message type corresponding to an AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0118] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments, and the downlink packet assembly message is used to instruct the MAC layer to send multiple AMD PDU segments. The receiving unit 502 is further configured to:
[0119] Receive multiple second feedback messages sent by the MAC layer, where each second feedback message corresponds to an AMD PDU segment, and each second feedback message is used to indicate whether the MAC layer has successfully sent the corresponding AMD PDU segment;
[0120] The apparatus further includes:
[0121] A determination unit, configured to determine that the MAC layer has successfully sent the AMD PDU when the number of second feedback messages that can indicate that the MAC layer has successfully sent the corresponding AMD PDU segment in the received multiple second feedback messages is the same as the number of AMD PDU segments indicated by the downlink packet assembly message for the MAC layer to send.
[0122] In an exemplary embodiment, as Figure 6 shown, a data transmission apparatus is provided. The apparatus 600 may include: a receiving unit 601, a first sending unit 602, and a second sending unit 603.
[0123] The receiving unit 601 is configured to receive a downlink packet assembly message sent by a radio link control (RLC) layer. The downlink packet assembly message is sent when the AMD PDU is used to release a radio resource control (RRC) connection, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU;
[0124] The first sending unit 602 is configured to send the AMD PDU to a terminal;
[0125] The second sending unit 603 is configured to send a first feedback message to the RLC layer, and the first feedback message is used to indicate whether the AMD PDU has been successfully sent.
[0126] In one embodiment, the downlink packet assembly message and the first feedback message include first identification information, and the first identification information is used to identify the AMD PDU.
[0127] In one embodiment, the first identification information includes a serial number, a message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
[0128] In one embodiment, the AMD PDU is divided into multiple AMD PDU segments, and a downlink packet assembly message is used to instruct the MAC layer to send multiple AMD PDU segments;
[0129] The first sending unit 602 is further configured to:
[0130] Send multiple AMD PDU segments to the terminal in a fragmented manner;
[0131] The second sending unit 603 is further configured to:
[0132] Send multiple second feedback messages to the RLC layer, where each second feedback message corresponds to an AMD PDU segment, and each second feedback message is used to indicate whether the corresponding AMD PDU segment has been successfully sent.
[0133] It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, there may be other division methods. In addition, in each embodiment of the present application, the functional units may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated units may be implemented in the form of hardware or in the form of software functional units.
[0134] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application.
[0135] It should be noted here that the above device provided in the embodiments of the present application can implement all the method steps implemented in the above method embodiments and can achieve the same technical effects. Here, the same parts and beneficial effects as those in the method embodiments will not be specifically described again.
[0136] In an exemplary embodiment, a data transmission device is provided. The data transmission device may be a network device, and its internal structure may be as shown in Figure 7 The data transmission device includes a memory 1120, a transceiver 1110, and a processor 1100.
[0137] The transceiver is configured to receive and send data under the control of the processor.
[0138] Among them, in Figure 7 , the bus architecture may include any number of interconnected buses and bridges. Specifically, various circuits represented by one or more processors represented by the processor and a memory represented by the memory are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art. Therefore, they will not be further described herein. The bus interface provides an interface. The transceiver may be multiple components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, and these transmission mediums include wireless channels, wired channels, optical fiber cables, and other transmission mediums. The processor is responsible for managing the bus architecture and general processing, and the memory may store data used by the processor when executing operations.
[0139] The processor may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0140] It should be noted here that the above device provided in the embodiments of the present application can implement all the method steps implemented in the above method embodiments, and can achieve the same technical effects. Therefore, the same parts and beneficial effects as those in the method embodiments in this embodiment will not be specifically described herein.
[0141] In an exemplary embodiment, a network device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0142] In an embodiment, a processor-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0143] In one embodiment, a computer program product is provided, including a computer program which, when executed by a processor, implements the steps in the above-described method embodiments.
[0144] A processor-readable storage medium can be any available medium or data storage device accessible by the processor, including but not limited to magnetic memory (such as floppy disks, hard disks, magnetic tapes, magneto-optical discs (MO), etc.), optical memory (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drives (SSD)), etc.
[0145] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory and optical memory, etc.) containing computer-usable program code.
[0146] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0147] These processor-executable instructions can also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the processor-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0148] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A data transmission method, characterized in that, The method includes: When it is confirmed that the acknowledged mode data (AMD) protocol data unit (PDU) is used to release the radio resource control (RRC) connection, sending a downlink packet assembly message to the medium access control (MAC) layer, where the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; Receiving a first feedback message sent by the MAC layer, where the first feedback message is used to indicate whether the MAC layer has successfully sent the AMD PDU; When the MAC layer has successfully sent the AMD PDU, stopping the retransmission timer of the AMD PDU and deleting the AMD PDU from the queue of the already sent PDUs.
2. The method according to claim 1, wherein The downlink packet assembly message and the first feedback message include first identification information, where the first identification information is used to identify the AMD PDU.
3. The method according to claim 2, characterized in that, The first identification information includes a sequence number, the message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
4. The method according to claim 1, wherein The AMD PDU is divided into multiple AMD PDU segments, the downlink packet assembly message is used to instruct the MAC layer to send the multiple AMD PDU segments, and the receiving the first feedback message sent by the MAC layer includes: Receiving multiple second feedback messages sent by the MAC layer, each second feedback message corresponding to an AMD PDU segment, and each second feedback message being used to indicate whether the MAC layer has successfully sent the corresponding AMD PDU segment; The method further includes: When the number of second feedback messages that can indicate that the MAC layer has successfully sent the corresponding AMD PDU segments in the received multiple second feedback messages is the same as the number of AMD PDU segments indicated by the downlink packet assembly message for the MAC layer to send, determining that the MAC layer has successfully sent the AMD PDU.
5. A data transmission method, characterized in that, The method includes: Receiving a downlink packet assembly message sent by the radio link control (RLC) layer, where the downlink packet assembly message is sent when the AMD PDU is used to release the RRC connection, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; Sending the AMD PDU to the terminal; Sending a first feedback message to the RLC layer, where the first feedback message is used to indicate whether the AMD PDU has been successfully sent.
6. The method according to claim 5, characterized in that, The downlink packet assembly message and the first feedback message include first identification information, where the first identification information is used to identify the AMD PDU.
7. The method according to claim 6, wherein The first identification information includes a sequence number, the message type corresponding to the AMD PDU, and instance information corresponding to the AMD PDU, where the message type corresponding to the AMD PDU includes a radio resource control release message or a reconfiguration message in a signaling radio bearer (SRB) message.
8. The method according to claim 5, characterized in that, The AMD PDU is divided into multiple AMD PDU segments, and the downlink packet assembly message is used to instruct the MAC layer to send the multiple AMD PDU segments; Sending the AMD PDU to the terminal includes: Sending the multiple AMD PDU segments to the terminal in a fragmented manner; Sending a first feedback message to the RLC layer includes: Sending multiple second feedback messages to the RLC layer, each second feedback message corresponding to an AMD PDU segment, and each second feedback message being used to indicate whether the corresponding AMD PDU segment has been successfully sent.
9. A data transmission device, characterized in that, Including a memory, a transceiver, and a processor: The memory is used to store computer programs; the transceiver is used to transmit and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations: When the AMD PDU is used to release the RRC connection, sending a downlink packet assembly message to the MAC layer, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; Receiving a first feedback message sent by the MAC layer, and the first feedback message is used to indicate whether the MAC layer has successfully sent the AMD PDU; When the MAC layer has successfully sent the AMD PDU, stopping the retransmission timer of the AMD PDU and deleting the AMD PDU from the transmitted PDU queue.
10. A data transmission device, characterized in that, Including a memory, a transceiver, and a processor: The memory is used to store computer programs; the transceiver is used to transmit and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations: Receiving a downlink packet assembly message sent by the RLC layer, where the downlink packet assembly message is sent when the AMD PDU is used to release the radio resource control (RRC) connection, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; Sending the AMD PDU to the terminal; Sending a first feedback message to the RLC layer, and the first feedback message is used to indicate whether the AMD PDU has been successfully sent.
11. A data transmission device, characterized in that, Including: A sending unit, configured to send a downlink packet assembly message to the MAC layer when the AMD PDU is used to release the radio resource control (RRC) connection, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; A receiving unit, configured to receive a first feedback message sent by the MAC layer, and the first feedback message is used to indicate whether the MAC layer has successfully sent the AMD PDU; A deleting unit, configured to stop the retransmission timer of the AMD PDU and delete the AMD PDU from the transmitted PDU queue when the MAC layer has successfully sent the AMD PDU.
12. A data transmission device, characterized in that, Including: A receiving unit, configured to receive a downlink packet assembly message sent by the RLC layer, where the downlink packet assembly message is sent when the AMD PDU is used to release the radio resource control (RRC) connection, and the downlink packet assembly message is used to instruct the MAC layer to send the AMD PDU; A first sending unit, configured to send the AMD PDU to a terminal; A second sending unit, configured to send a first feedback message to the RLC layer, where the first feedback message is used to indicate whether the AMD PDU has been successfully sent.
13. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a program, and the program is used to cause the processor to execute the method according to any one of claims 1 to 4, or to cause the processor to execute the method according to any one of claims 5 to 8.