Data transmission method and device

By sending PDCP entity reception status messages to the remote terminal device, the problem of data packet loss when the remote terminal device switches paths is solved, and the stability and efficiency of data transmission are improved.

CN115243337BActive Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110897785.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-08
Filing Date
2021-08-05
Publication Date
2024-09-24
Estimated Expiration
2041-08-05

AI Technical Summary

Technical Problem

When the remote terminal device switches to another path, a large number of data packets may be lost because the link quality of the relay terminal device is poor, resulting in unstable data transmission.

Method used

By sending a message containing the PDCP entity reception status to the remote terminal device, instructing it to switch to another path, ensuring that packet loss is avoided or mitigated during data transmission, including rebuilding the RLC entity and adaptation layer to optimize resource utilization.

Benefits of technology

Effectively avoid or reduce data packet loss, improve the stability and efficiency of data transmission, and reduce resource waste and complex failure judgment and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115243337B_ABST
    Figure CN115243337B_ABST
Patent Text Reader

Abstract

The present application provides a data transmission method and device, which relates to the field of communication technology. In the method, a first network device sends a first message including first information to a remote terminal device, the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device, the first information is used to indicate the receiving state of the first PDCP entity of the first network device, and by carrying the first information in the switching command, the remote terminal device can receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on April 23, 2021, with application number 202110442137.2 and application name “A communication method, terminal and network device” and the Chinese patent application filed with the State Intellectual Property Office on May 8, 2021, with application number 202110502445.X and application name “Data transmission method and device”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a data transmission method and device. Background Art

[0003] At present, remote terminal devices can communicate with network devices through different paths. For example, remote terminal devices can communicate with network devices through relay terminal devices or directly. When the link quality of the path through which the remote terminal device communicates with the network device is poor, the remote terminal device can switch to another path to communicate with the network device. If the remote terminal device switches from a path containing a relay terminal device to another path, a large number of data packets will be lost. Summary of the invention

[0004] The present application provides a data transmission method and apparatus for alleviating the problem of a large number of data packets being lost when a remote terminal device switches from a path including a relay terminal device to another path.

[0005] In a first aspect, a data transmission method is provided, which is applied to a first network device, the method comprising: sending a first message including first information to a remote terminal device, the first message being used to indicate that the remote terminal device switches from connecting to the first network device via a first path to connecting to the second network device via a second path, the first path including at least one relay terminal device, the second path including at least one relay terminal device or not including a relay terminal device, the first information being used to indicate the receiving state of a first PDCP entity of the first network device. The method provided in the first aspect, by carrying the first information in a switching command, can enable the remote terminal device to receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0006] In a possible implementation, the reception state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device. In this possible implementation, data transmission is performed according to the reception state of the first PDCP entity, which can avoid or reduce packet loss.

[0007] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packets that are successfully received by the first PDCP entity plus 1. This possible implementation provides multiple possible implementations of the first information, which improves the implementation flexibility of the method provided in the present application.

[0008] In a possible implementation, the first message also includes information about the data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity. This possible implementation enables the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0009] In a possible implementation, the first message also includes first indication information, and the first indication information is used to indicate the reconstruction of the first RLC entity. In this possible implementation, by reconstructing the first RLC entity, the remote terminal device can be quickly configured when connecting to a new relay terminal device, thereby reducing the occupation of computing resources and saving terminal energy consumption.

[0010] In a possible implementation, the first message also includes first configuration information, and the first configuration information is used to configure the first RLC bearer and the first association relationship, and the first association relationship is an association relationship between the first RLC bearer and the second PDCP entity of the remote terminal device. In this possible implementation, by configuring the first RLC bearer and the first association relationship, the remote terminal device can smoothly transmit data on the second path.

[0011] In one possible implementation, the method further includes: sending second configuration information to the first relay terminal device, the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, sending third configuration information to the first relay terminal device, the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device in at least one relay terminal device in the first path. This possible implementation can reduce the waste of resources and subsequent complex failure judgment and processing caused by the remote terminal device having stopped receiving while the relay terminal device is still sending by reconstructing the RLC entity. By reconfiguring the adaptation layer, the RLC bearer can be released and resource utilization can be improved.

[0012] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0013] In a possible implementation, the second network device and the first network device are the same network device, and the method further includes: receiving a third message sent by the remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the receiving state of the second PDCP entity of the remote terminal device. In this possible implementation, by carrying the second information in the third message, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0014] In a possible implementation, the second network device and the first network device are the same network device, and the method further includes: receiving a third message sent by a remote terminal device, the third message being used to indicate that the remote terminal device has completed the RRC connection configuration; receiving a fourth message sent by the remote terminal device, the fourth message including second information, the second information being used to indicate the receiving status of the second PDCP entity of the remote terminal device. In this possible implementation, by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0015] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0016] In a possible implementation manner, the method further includes: performing data transmission on the second path according to the second information.

[0017] In a possible implementation manner, the first message is an RRC reconfiguration message.

[0018] In a possible implementation, the first message also includes a PDCP reestablishment indication or a PDCP data recovery indication.

[0019] In the second aspect, a data transmission method is provided, which is applied to a remote terminal device, wherein the remote terminal device includes a second PDCP entity, including: receiving a first message sent by a first network device, wherein the first message is used to indicate that the remote terminal device switches from connecting to the first network device via a first path to connecting to the second network device via a second path; wherein the first message includes first information, wherein the first information is used to indicate the receiving state of the first PDCP entity of the first network device, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; the second PDCP entity performs data transmission on the second path according to the first information. The method provided in the second aspect can enable the remote terminal device to receive the first information as early as possible by carrying the first information in the switching command, thereby avoiding or reducing packet loss when performing data transmission on the second path according to the first information.

[0020] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packets that are successfully received by the first PDCP entity plus 1. This possible implementation provides multiple possible implementations of the first information, which improves the implementation flexibility of the method provided in the present application.

[0021] In a possible implementation, the first message also includes information about the data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity. This possible implementation enables the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0022] In a possible implementation, the second PDCP entity transmits data on the second path according to the first information, including: the second PDCP entity transmits data on the second path according to the first information and information of the data radio bearer corresponding to the first information. This possible implementation allows the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0023] In a possible implementation, the second PDCP entity performs data transmission on the second path according to the first information, including: the second PDCP entity is the PDCP entity corresponding to the AM DRB, and the second PDCP entity retransmits or transmits the data packet according to the first information from the first unsuccessfully received data packet in ascending order of the data packet count value; or the second PDCP entity is the PDCP entity corresponding to the UM DRB, and the second PDCP entity determines the data packet according to the first information, regards the data packet determined according to the first information as a data packet received from the upper layer but does not restart the discard timer, and re-associates the sequence number from the count value 0 in ascending order of the count value associated before the PDCP reestablishment for transmission. In this possible implementation, for AM DRB, if the existing retransmission method is used, the second PDCP entity should retransmit starting from the first data packet that has not been confirmed to be successfully received by the bottom layer (for example, the RLC layer), but if the data packet received by the relay terminal device and the RLC confirmation feedback is not sent to the source network device, this method will cause the loss of this part of the data packet. In the present application, the receiving state of the first PDCP entity is the receiving state of the actual data packet of the source network device. The second PDCP entity determines the data packet to be retransmitted and / or transmitted according to the receiving state of the first PDCP entity, which can avoid or reduce packet loss. For UM DRB, if the second PDCP entity does not retransmit according to the existing retransmission method, it will cause serious packet loss. In the present application, the second PDCP entity can retransmit part or all of the data packets, thereby avoiding or reducing packet loss.

[0024] In a possible implementation, the first message also includes first indication information, and the first indication information is used to indicate the reconstruction of the first RLC entity, and the method further includes: rebuilding the first RLC entity according to the first indication information. In this possible implementation, by rebuilding the first RLC entity, the remote terminal device can quickly configure when connecting to a new relay terminal device, reduce the occupation of computing resources, and save terminal energy consumption.

[0025] In a possible implementation, the first message also includes first configuration information, the first configuration information is used to configure the first RLC bearer and the first association relationship, the first association relationship is the association relationship between the first RLC bearer and the second PDCP entity of the remote terminal device, and the method further includes: configuring the first RLC bearer and the first association relationship according to the first configuration information. In this possible implementation, the remote terminal device can smoothly transmit data on the second path by configuring the first RLC bearer and the first association relationship.

[0026] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0027] In a possible implementation, the method further includes: sending a third message to the second network device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the receiving state of the second PDCP entity of the remote terminal device. In this possible implementation, by carrying the second information in the third message, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0028] In a possible implementation, the method further includes: sending a third message to the second network device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration; sending a fourth message to the second network device, the fourth message includes second information, and the second information is used to indicate the receiving state of the second PDCP entity of the remote terminal device. In this possible implementation, by packaging the fourth message and the third message in the same MAC PDU and sending it to the second network device, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0029] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0030] In a possible implementation manner, the first message is an RRC reconfiguration message.

[0031] In a possible implementation, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication, and the method also includes: reconstructing the second PDCP entity of the remote terminal device or recovering the data of the second PDCP entity according to the PDCP reconstruction indication or the PDCP data recovery indication.

[0032] In a third aspect, a data transmission method is provided, which is applied to a first network device, and the method includes: sending a first message to a remote terminal device, the first message is used to instruct the remote terminal device to switch from connecting to the first network device through a first path to connecting to a second network device through a second path; wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; sending a second message to the remote terminal device, the second message includes first information, and the first information is used to indicate the receiving status of a first PDCP entity of the first network device. The method provided in the third aspect can transmit the first message and the second message through the same MAC PDU, or carry the first information in an RRC release message, so that the remote terminal device can receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0033] In a possible implementation, the receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device. In this possible implementation, data transmission is performed according to the receiving state of the first PDCP entity, which can avoid or reduce packet loss.

[0034] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packets that are successfully received by the first PDCP entity plus 1. This possible implementation provides multiple possible implementations of the first information, which improves the implementation flexibility of the method provided in the present application.

[0035] In a possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path; or, the second message is a PDCP status report of an AM DRB or a PDCP status report of a UM DRB, and the first message and the second message are transmitted through the same MAC PDU. In this possible implementation, by transmitting the first message and the second message through the same MAC PDU, or carrying the first information in the RRC release message, the remote terminal device can receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0036] In a possible implementation, the second message is an RRC message, and the second message also includes information about the data radio bearer corresponding to the first information, or the second message also includes information for indicating the first PDCP entity. This possible implementation enables the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0037] In a possible implementation, the first message further includes first indication information, and the first indication information is used to indicate the reconstruction of the first RLC entity. In this possible implementation, by reconstructing the first RLC entity, the remote terminal device can be quickly configured when connecting to a new relay terminal device, thereby reducing the occupation of computing resources and saving terminal energy consumption.

[0038] In a possible implementation, the first message also includes first configuration information, and the first configuration information is used to configure a first RLC bearer and a first association relationship, and the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device. In this possible implementation, by configuring the first RLC bearer and the first association relationship, the remote terminal device can smoothly transmit data on the second path.

[0039] In a possible implementation, the method further includes: sending second configuration information to the first relay terminal device, the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, sending third configuration information to the first relay terminal device, the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device in at least one relay terminal device in the first path. This possible implementation can reduce the waste of resources and subsequent complex failure judgment and processing caused by the remote terminal device having stopped receiving while the relay terminal device is still sending.

[0040] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0041] In a possible implementation, the second network device and the first network device are the same network device, and the method further includes: receiving a third message sent by the remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the receiving state of the second PDCP entity of the remote terminal device. In this possible implementation, by carrying the second information in the third message, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0042] In a possible implementation, the second network device and the first network device are the same network device, and the method further includes: receiving a third message sent by the remote terminal device, the third message being used to indicate that the remote terminal device has completed the RRC connection configuration; receiving a fourth message sent by the remote terminal device, the fourth message including second information, the second information being used to indicate the receiving status of the second PDCP entity of the remote terminal device. In this possible implementation, by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0043] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0044] In a possible implementation manner, the method further includes: performing data transmission on the second path according to the second information.

[0045] In a possible implementation manner, the first message also includes a PDCP re-establishment indication or a PDCP data recovery indication.

[0046] In a fourth aspect, a data transmission method is provided, which is applied to a remote terminal device, wherein the remote terminal device includes a second PDCP entity, and includes: receiving a first message sent by a first network device, wherein the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to a second network device through a second path; wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; receiving a second message sent by the first network device, wherein the second message includes first information, wherein the first information is used to indicate the receiving state of the first PDCP entity of the first network device, or receiving a second message sent by the second network device, wherein the second message includes first information, wherein the first information is used to indicate the receiving state of the third PDCP entity of the second network device; and the second PDCP entity performs data transmission on the second path according to the first information. The method provided in the fourth aspect can transmit the first message and the second message through the same MAC PDU, or carry the first information in the RRC release message, so that the remote terminal device can receive the first information as early as possible, or actively trigger the remote terminal device to retransmit data through the PDCP status report, thereby avoiding or reducing packet loss when performing data transmission on the second path according to the first information.

[0047] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packets that are successfully received by the first PDCP entity plus 1. This possible implementation provides multiple possible implementations of the first information, which improves the implementation flexibility of the method provided in the present application.

[0048] In a possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path; or, the second message is a PDCP status report of an AM DRB or a PDCP status report of a UM DRB, and the first message and the second message are transmitted through the same MAC PDU. In this possible implementation, by transmitting the first message and the second message through the same MAC PDU, or carrying the first information in the RRC release message, the remote terminal device can receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0049] In a possible implementation, the second message is an RRC message, and the second message also includes information about the data radio bearer corresponding to the first information, or the second message also includes information for indicating the first PDCP entity. This possible implementation enables the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0050] In one possible implementation, the second message is a PDCP status report, and the PDCP status report is a control PDU, corresponding to a status report of a third PDCP entity of a second network device. When the second PDCP entity of the remote device receives the first second message after the remote device switches from the first path to the second path, the remote device transmits the data packets that the third PDCP entity has not confirmed to have successfully received on the second path. This possible implementation allows the remote terminal to determine whether it is necessary to retransmit the data of the DRB according to the PDCP status report based on the timing of receiving the status report.

[0051] In one possible implementation, the second message is a PDCP status report, and the PDCP status report is a control PDU, corresponding to a status report of a third PDCP entity of the second network device. The second message also includes fifth indication information, which is used to instruct the remote device to transmit the data packets that the third PDCP entity has not confirmed to have successfully received on the second path. This possible implementation allows the remote terminal to directly determine whether it is necessary to retransmit the data of the DRB according to the PDCP status report based on the indication, which is simpler and more direct.

[0052] In a possible implementation, the second PDCP entity performs data transmission on the second path according to the first information, including: the second PDCP entity performs data transmission on the second path according to the first information and information of the data radio bearer corresponding to the first information. This possible implementation allows the remote terminal device to determine which PDCP entity's receiving status is indicated by the first information.

[0053] In a possible implementation, the second PDCP entity transmits data on the second path according to the first information, including: the second PDCP entity is the PDCP entity corresponding to the AM DRB, and the second PDCP entity retransmits or transmits the data packet according to the first information from the first unsuccessfully received data packet in ascending order of the data packet count value; or the second PDCP entity is the PDCP entity corresponding to the UM DRB, and the second PDCP entity determines the data packet according to the first information, regards the data packet determined according to the first information as a data packet received from the upper layer but does not restart the discard timer, and re-associates the sequence number from the count value 0 in ascending order of the count value associated before PDCP reestablishment for transmission. In this possible implementation, for AM DRB, if the existing retransmission method is used, the second PDCP entity should retransmit starting from the first data packet that has not been confirmed to be successfully received by the bottom layer (for example, the RLC layer), but if the data packet received by the relay terminal device and the RLC confirmation feedback is not sent to the source network device, this method will cause the loss of this part of the data packet. In the present application, the receiving state of the first PDCP entity is the receiving state of the actual data packet of the source network device. The second PDCP entity determines the data packet to be retransmitted and / or transmitted according to the receiving state of the first PDCP entity, which can avoid or reduce packet loss. For UM DRB, if the second PDCP entity does not retransmit according to the existing retransmission method, it will cause serious packet loss. In the present application, the second PDCP entity can retransmit part or all of the data packets, thereby avoiding or reducing packet loss.

[0054] In a possible implementation, the first message further includes first indication information, and the first indication information is used to indicate the reconstruction of the first RLC entity, and the method further includes: rebuilding the first RLC entity according to the first indication information. In this possible implementation, by rebuilding the first RLC entity, the remote terminal device can quickly configure when connecting to a new relay terminal device, reduce the occupation of computing resources, and save terminal energy consumption.

[0055] In a possible implementation, the first message also includes first configuration information, the first configuration information is used to configure a first RLC bearer and a first association relationship, the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device, and the method further includes: configuring the first RLC bearer and the first association relationship according to the first configuration information. In this possible implementation, the remote terminal device can smoothly transmit data on the second path by configuring the first RLC bearer and the first association relationship.

[0056] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0057] In a possible implementation, the method further includes: sending a third message to the second network device, the third message being used to indicate that the remote terminal device completes the RRC connection configuration, the third message including second information, the second information being used to indicate the receiving status of the second PDCP entity of the remote terminal device. In this possible implementation, by carrying the second information in the third message, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0058] In a possible implementation, the method further includes: sending a third message to the second network device, the third message being used to indicate that the remote terminal device has completed the RRC connection configuration; sending a fourth message to the second network device, the fourth message including second information, the second information being used to indicate the receiving status of the second PDCP entity of the remote terminal device. In this possible implementation, by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, the second network device can receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0059] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0060] In a possible implementation, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication, and the method further includes: reconstructing the second PDCP entity of the remote terminal device or recovering the data of the second PDCP entity according to the PDCP reconstruction indication or the PDCP data recovery indication.

[0061] In a fifth aspect, a data transmission method is provided, which is applied to a first relay terminal device, wherein the first relay terminal device is a relay terminal device in a first path, and a remote terminal device switches from connecting to a first network device via the first path to connecting to a second network device via a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device, and the method includes: receiving second configuration information sent by the first network device, wherein the second configuration information is used to indicate the reconstruction of the RLC entity; and reconstructing the RLC entity according to the second configuration information. The method provided in the fifth aspect can reduce the waste of resources and the subsequent complex failure judgment and processing caused by the fact that the remote terminal device has stopped receiving while the relay terminal device is still sending.

[0062] In a possible implementation, the first relay terminal device includes an adaptation layer, and the method further includes: after the adaptation layer transmits the data packet submitted by the RLC entity indicated in the second configuration information, removing the correspondence between the remote terminal device and the air interface RLC bearer. This possible implementation can release the RLC bearer and improve resource utilization.

[0063] In a sixth aspect, a data transmission method is provided, which is applied to a first relay terminal device, wherein the first relay terminal device is a relay terminal device in a first path, and a remote terminal device switches from connecting to a first network device through the first path to connecting to a second network device through a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device, and the method includes: receiving third configuration information sent by the first network device, wherein the third configuration information is used to indicate reconfiguration of the adaptation layer; and reconfiguring the adaptation layer according to the third configuration information. The method provided in the sixth aspect can release the RLC bearer and improve resource utilization by reconfiguring the adaptation layer.

[0064] In the seventh aspect, a data transmission method is provided, which is applied to a remote terminal device, wherein the remote terminal device switches from being connected to a first network device via a first path to being connected to a second network device via a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device, and the method includes: sending a third message to the second network device, wherein the third message is used to indicate that the remote terminal device has completed the RRC connection configuration, and the third message includes second information, wherein the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device. The method provided in the seventh aspect enables the second network device to receive the second information as early as possible by carrying the second information in the third message, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0065] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0066] In an eighth aspect, a data transmission method is provided, which is applied to a remote terminal device, wherein the remote terminal device switches from being connected to a first network device via a first path to being connected to a second network device via a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device, and the method includes: sending a third message to the second network device, wherein the third message is used to indicate that the remote terminal device has completed the RRC connection configuration; and sending a fourth message to the second network device, wherein the fourth message includes second information, wherein the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device. The method provided in the eighth aspect enables the second network device to receive the second information as early as possible by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, thereby avoiding or reducing packet loss when performing data transmission on the second path according to the second information.

[0067] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the maximum sequence number or count value of the data packets that the second PDCP entity has successfully received plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0068] In the ninth aspect, a data transmission method is provided, which is applied to a second network device, comprising: receiving a third message sent by a remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, the third message includes second information, the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device, the remote terminal device switches from connecting to the first network device via a first path to connecting to the second network device via a second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; data transmission is performed on the second path according to the second information. The method provided in the ninth aspect, by carrying the second information in the third message, can enable the second network device to receive the second information as early as possible, thereby avoiding or reducing packet loss when data transmission is performed on the second path according to the second information.

[0069] In one possible implementation, the remote terminal device includes a second PDCP entity; the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the maximum sequence number or count value of the data packets successfully received by the second PDCP entity plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0070] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0071] In one possible implementation, the second network device and the first network device are the same network device, and the method further includes: sending second configuration information to the first relay terminal device, the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, sending third configuration information to the first relay terminal device, the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device in at least one relay terminal device in the first path. This possible implementation can reduce the waste of resources and subsequent complex failure judgment and processing caused by the remote terminal device having stopped receiving while the relay terminal device is still sending by reconstructing the RLC entity. By reconfiguring the adaptation layer, the RLC bearer can be released and resource utilization can be improved.

[0072] In the tenth aspect, a data transmission method is provided, which is applied to a second network device, and the method includes: receiving a third message sent by a remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; receiving a fourth message sent by the remote terminal device, the fourth message includes second information, and the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device; and performing data transmission on the second path according to the second information. The method provided in the tenth aspect can enable the second network device to receive the second information as early as possible by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, thereby avoiding or reducing packet loss when performing data transmission on the second path according to the second information.

[0073] In one possible implementation, the remote terminal device includes a second PDCP entity; the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the maximum sequence number or count value of the data packets successfully received by the second PDCP entity plus 1. This possible implementation provides multiple possible implementations of the second information, which improves the implementation flexibility of the method provided in the present application.

[0074] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0075] In one possible implementation, the second network device and the first network device are the same network device, and the method further includes: sending second configuration information to the first relay terminal device, the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, sending third configuration information to the first relay terminal device, the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device in at least one relay terminal device in the first path. This possible implementation can reduce the waste of resources and subsequent complex failure judgment and processing caused by the remote terminal device having stopped receiving while the relay terminal device is still sending by reconstructing the RLC entity. By reconfiguring the adaptation layer, the RLC bearer can be released and resource utilization can be improved.

[0076] In the eleventh aspect, a data transmission method is provided, which is applied to a second network device, comprising: sending a second message to the remote terminal device, wherein the second message includes first information, and the first information is used to indicate the receiving status of a third PDCP entity used to indicate the second network device; the second PDCP entity transmits data on a second path according to the first information, wherein the second path is a path for the second network device to communicate with the remote terminal device, and the path includes at least one relay terminal device or does not include a relay terminal device. The method provided in the eleventh aspect directly triggers the second PDCP entity of the terminal device to transmit data that has not been successfully received through the receiving status of the PDCP entity in the second message, thereby reducing data packet loss.

[0077] In a possible implementation, the remote terminal device is connected to the first network device through a first path before being connected to the second network device through the second path, wherein the first path includes at least one relay terminal device.

[0078] In a possible implementation, the receiving state of the third PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device.

[0079] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the third PDCP entity; or, the first information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the third PDCP entity is added by 1.

[0080] In a possible implementation, the first information is a PDCP status report or a PDCP control protocol data unit (Protocol Data Unit, PDU).

[0081] In a possible implementation, the second message instructs the second PDCP entity of the remote terminal device to transmit data that has not been successfully received only after the remote terminal device switches from the first path to the second path.

[0082] An RRC reconfiguration message is received, indicating a switch from a first path to a second path (the second path may be a direct connection or a connection via other relay terminal devices).

[0083] In a possible implementation, the second message further includes a fifth indication, and the fifth indication is used to instruct the second PDCP entity to transmit data that is not successfully received.

[0084] In a possible implementation manner, the second network device receives a third message sent by the remote terminal device, where the third message is an RRC reconfiguration completion message.

[0085] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0086] In a twelfth aspect, a data transmission method is provided, which is applied to a remote terminal device, and the method includes:

[0087] receiving first information sent by a second network device, where the first information is used to indicate a receiving state of a third PDCP entity, and optionally, the third PDCP entity is a PDCP entity of the second network device;

[0088] Sending lost data packets to the second network device according to the receiving status of the PDCP entity

[0089] In a possible implementation, the first information is the first first information after the remote terminal device switches from the first path to the second path, the first path is a path for establishing a connection between the remote terminal device and the first network device through at least one relay terminal device, the second path is a path for establishing a connection between the remote terminal device and the second network device, the second path does not include a relay terminal device or the second path includes at least one relay terminal device.

[0090] In a possible implementation, the first information includes: a PDCP status report or a PDCP control protocol data unit (Protocol Data Unit, PDU).

[0091] In a possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the third PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packet successfully received by the third PDCP entity plus 1;

[0092] The third PDCP entity is the PDCP entity of the second network device.

[0093] In a possible implementation manner, the first network device and the second network device are the same network device, or the first network device and the second network device are different network devices.

[0094] In a possible implementation manner, the receiving the first information sent by the second network device includes:

[0095] Receive a second message sent by the second network device, the second message carrying the first information, the second message also carrying fifth indication information, the fifth indication information is used to instruct the second PDCP entity to transmit the data that was not successfully received, the second PDCP entity is the PDCP entity of the remote terminal device. The data that was not successfully received refers to the data that was not successfully received by the second network device.

[0096] In a possible implementation, the method further includes:

[0097] A first message is received, wherein the first message is used to instruct the remote terminal device to switch from being connected to the first network device via a first path to being connected to the second network device via a second path. The first message is received from the first network device.

[0098] In a thirteenth aspect, a data transmission method is provided, which is applied to a second network device, and the method includes:

[0099] Sending first information to a remote terminal device, where the first information is used to indicate a receiving state of a third PDCP entity; optionally, the third PDCP entity is a PDCP entity of the second network device;

[0100] Receive the lost data packets sent by the remote terminal device.

[0101] In a possible implementation, the first information is the first first information after the remote terminal device switches from the first path to the second path, the first path is a path for establishing a connection between the remote terminal device and the first network device through at least one relay terminal device, the second path is a path for establishing a connection between the remote terminal device and the second network device, and the second path does not include a relay terminal device or includes at least one relay terminal device.

[0102] In a possible implementation, the first information includes: a PDCP status report or a PDCP control protocol data unit (Protocol Data Unit, PDU).

[0103] In a possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the third PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the third PDCP entity; or, the first information is used to indicate the maximum sequence number or count value of the data packet successfully received by the third PDCP entity plus 1;

[0104] The third PDCP entity is the PDCP entity of the second network device.

[0105] In a possible implementation manner, the second network device sending the first information to the remote terminal device includes:

[0106] A second message is sent to the remote terminal device, the second message carries the first information, and the second message also carries fifth indication information, the fifth indication information is used to instruct the second PDCP entity to transmit the data that is not successfully received, and the second PDCP entity is the PDCP entity of the remote terminal device. The data that is not successfully received refers to the data that is not successfully received by the second network device.

[0107] In the fourteenth aspect, a first network device is provided, comprising a functional unit for executing any one of the methods provided in the first aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the first network device comprises: a processing unit and a communication unit; the processing unit is used to send a first message to a remote terminal device through the communication unit, and the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to a second network device through a second path; wherein the first message includes first information, and the first information is used to indicate the receiving status of the first PDCP entity of the first network device, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device.

[0108] In a possible implementation, the receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device.

[0109] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the first PDCP entity; or, the first information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the first PDCP entity is added by 1.

[0110] In a possible implementation manner, the first message also includes information of a data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity.

[0111] In a possible implementation manner, the first message further includes first indication information, where the first indication information is used to indicate the reconstruction of the first RLC entity.

[0112] In a possible implementation, the first message also includes first configuration information, where the first configuration information is used to configure a first RLC bearer and a first association relationship, where the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device.

[0113] In one possible implementation, the processing unit is further used to send second configuration information to the first relay terminal device through the communication unit, and the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, the processing unit is further used to send third configuration information to the first relay terminal device through the communication unit, and the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device among at least one relay terminal device in the first path.

[0114] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0115] In a possible implementation, the second network device and the first network device are the same network device, and the processing unit is further used to receive a third message sent by the remote terminal device through the communication unit, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0116] In a possible implementation, the second network device and the first network device are the same network device, and the processing unit is further used to receive a third message sent by the remote terminal device through the communication unit, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration; the processing unit is further used to receive a fourth message sent by the remote terminal device through the communication unit, and the fourth message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0117] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0118] In a possible implementation manner, the processing unit is further configured to perform data transmission on the second path according to the second information.

[0119] In a possible implementation manner, the first message is an RRC reconfiguration message.

[0120] In a possible implementation manner, the first message also includes a PDCP re-establishment indication or a PDCP data recovery indication.

[0121] In the fifteenth aspect, a remote terminal device is provided, comprising a functional unit for executing any one of the methods provided in the second aspect, and the action performed by the functional unit is implemented by hardware or by executing corresponding software through hardware. Exemplarily, the remote terminal device comprises: a processing unit and a communication unit, the processing unit comprising a second PDCP entity; the communication unit is used to receive a first message sent by a first network device, the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path; wherein the first message comprises first information, the first information is used to indicate the receiving state of the first PDCP entity of the first network device, the first path comprises at least one relay terminal device, and the second path comprises at least one relay terminal device or does not comprise a relay terminal device; the second PDCP entity in the processing unit is used to transmit data on the second path according to the first information.

[0122] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the first PDCP entity; or, the first information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the first PDCP entity is added by 1.

[0123] In a possible implementation manner, the first message also includes information of a data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity.

[0124] In a possible implementation manner, the second PDCP entity in the processing unit is specifically configured to transmit data on the second path according to the first information and information of the data radio bearer corresponding to the first information.

[0125] In one possible implementation, the second PDCP entity is the PDCP entity corresponding to the AM DRB, and the second PDCP entity in the processing unit is specifically used to retransmit or transmit the data packet from the first unsuccessfully received data packet in ascending order of the count value of the data packet according to the first information; or, the second PDCP entity is the PDCP entity corresponding to the UM DRB, and the second PDCP entity in the processing unit is specifically used to determine the data packet according to the first information, regard the data packet determined according to the first information as a data packet received from an upper layer but do not restart the discard timer, and re-associate the sequence number starting from the count value of 0 in ascending order of the count value associated before PDCP reconstruction for transmission.

[0126] In a possible implementation, the first message also includes first indication information, where the first indication information is used to indicate the reconstruction of the first RLC entity, and the processing unit is further used to: reconstruct the first RLC entity according to the first indication information.

[0127] In a possible implementation, the first message also includes first configuration information, and the first configuration information is used to configure a first RLC bearer and a first association relationship, the first association relationship being an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device, and the processing unit is further used to configure the first RLC bearer and the first association relationship according to the first configuration information.

[0128] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0129] In one possible implementation, the communication unit is also used to send a third message to the second network device, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration. The third message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0130] In one possible implementation, the communication unit is also used to send a third message to the second network device, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration; the communication unit is also used to send a fourth message to the second network device, and the fourth message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0131] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0132] In a possible implementation manner, the first message is an RRC reconfiguration message.

[0133] In a possible implementation, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication, and the processing unit is further used to reconstruct the second PDCP entity of the remote terminal device or recover data of the second PDCP entity according to the PDCP reconstruction indication or the PDCP data recovery indication.

[0134] In the sixteenth aspect, a first network device is provided, comprising a functional unit for executing any one of the methods provided in the third aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the first network device comprises: a communication unit and a processing unit; the processing unit is used to send a first message to a remote terminal device through the communication unit, and the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to a second network device through a second path; wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; the processing unit is also used to send a second message to the remote terminal device through the communication unit, and the second message includes first information, and the first information is used to indicate the reception status of the first PDCP entity of the first network device.

[0135] In a possible implementation, the receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device.

[0136] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the first PDCP entity; or, the first information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the first PDCP entity is added by 1.

[0137] In one possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path; or, the second message is a PDCP status report of an AM DRB or a PDCP status report of a UM DRB, and the first message and the second message are transmitted through the same MAC PDU.

[0138] In a possible implementation, the second message is an RRC message, and the second message also includes information of a data radio bearer corresponding to the first information, or the second message also includes information for indicating the first PDCP entity.

[0139] In a possible implementation manner, the first message further includes first indication information, where the first indication information is used to indicate the reconstruction of the first RLC entity.

[0140] In a possible implementation, the first message also includes first configuration information, where the first configuration information is used to configure a first RLC bearer and a first association relationship, where the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device.

[0141] In one possible implementation, the processing unit is further used to send second configuration information to the first relay terminal device through the communication unit, and the second configuration information is used to indicate the reconstruction of the RLC entity; and / or, the processing unit is further used to send third configuration information to the first relay terminal device through the communication unit, and the third configuration information is used to indicate the reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device among at least one relay terminal device in the first path.

[0142] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0143] In a possible implementation, the second network device and the first network device are the same network device, and the processing unit is further used to receive a third message sent by the remote terminal device through the communication unit, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0144] In a possible implementation, the second network device and the first network device are the same network device, and the processing unit is further used to receive a third message sent by the remote terminal device through the communication unit, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration; the processing unit is further used to receive a fourth message sent by the remote terminal device through the communication unit, and the fourth message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0145] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0146] In a possible implementation manner, the processing unit is further configured to perform data transmission on the second path according to the second information.

[0147] In a possible implementation manner, the first message also includes a PDCP re-establishment indication or a PDCP data recovery indication.

[0148] In the seventeenth aspect, a remote terminal device is provided, comprising a functional unit for executing any one of the methods provided in the fourth aspect, and the action performed by the functional unit is implemented by hardware or by executing corresponding software through hardware. Exemplarily, the remote terminal device comprises: a processing unit and a communication unit, wherein the processing unit comprises a second PDCP entity; the communication unit is used to receive a first message sent by a first network device, wherein the first message is used to indicate that the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path; wherein the first path comprises at least one relay terminal device, and the second path comprises at least one relay terminal device or does not comprise a relay terminal device; the communication unit is also used to receive a second message sent by the first network device, wherein the second message comprises first information, and the first information is used to indicate the receiving status of the first PDCP entity of the first network device; the second PDCP entity in the processing unit is used to transmit data on the second path according to the first information.

[0149] In one possible implementation, the first information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is not successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the data packet that is successfully received by the first PDCP entity; or, the first information is used to indicate the sequence number or count value of the last data packet successfully received by the first PDCP entity; or, the first information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the first PDCP entity is added by 1.

[0150] In one possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path; or, the second message is a PDCP status report of an AM DRB or a PDCP status report of a UM DRB, and the first message and the second message are transmitted through the same MAC PDU.

[0151] In a possible implementation, the second message is an RRC message, and the second message also includes information of a data radio bearer corresponding to the first information, or the second message also includes information for indicating the first PDCP entity.

[0152] In a possible implementation manner, the second PDCP entity in the processing unit is specifically used to: transmit data on the second path according to the first information and information of the data radio bearer corresponding to the first information.

[0153] In one possible implementation, the second PDCP entity is the PDCP entity corresponding to the AM DRB, and the second PDCP entity in the processing unit is specifically used to retransmit or transmit the data packet from the first unsuccessfully received data packet in ascending order of the count value of the data packet according to the first information; or, the second PDCP entity is the PDCP entity corresponding to the UM DRB, and the second PDCP entity in the processing unit is specifically used to determine the data packet according to the first information, regard the data packet determined according to the first information as a data packet received from an upper layer but do not restart the discard timer, and re-associate the sequence number starting from the count value of 0 in ascending order of the count value associated before PDCP reconstruction for transmission.

[0154] In a possible implementation, the first message also includes first indication information, where the first indication information is used to indicate the reconstruction of the first RLC entity, and the processing unit is further used to: reconstruct the first RLC entity according to the first indication information.

[0155] In a possible implementation, the first message also includes first configuration information, and the first configuration information is used to configure a first RLC bearer and a first association relationship, the first association relationship being an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device, and the processing unit is further used to configure the first RLC bearer and the first association relationship according to the first configuration information.

[0156] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0157] In one possible implementation, the communication unit is also used to send a third message to the second network device, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration. The third message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0158] In one possible implementation, the communication unit is also used to send a third message to the second network device, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration; the communication unit is also used to send a fourth message to the second network device, and the fourth message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0159] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0160] In a possible implementation, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication, and the processing unit is further used to reconstruct the second PDCP entity of the remote terminal device or recover data of the second PDCP entity according to the PDCP reconstruction indication or the PDCP data recovery indication.

[0161] In the eighteenth aspect, a first relay terminal device is provided, wherein the first relay terminal device is a relay terminal device in a first path, and a remote terminal device switches from connecting to a first network device through the first path to connecting to a second network device through a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. The first relay terminal device includes a functional unit for executing any one of the methods provided in the fifth aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the first relay terminal device includes: a communication unit and a processing unit; the communication unit is used to receive second configuration information sent by the first network device, the second configuration information is used to indicate the reconstruction of the RLC entity; the processing unit is used to reconstruct the RLC entity according to the second configuration information.

[0162] In a possible implementation, the processing unit includes an adaptation layer, and the adaptation layer in the processing unit is used to remove the correspondence between the remote terminal device and the air interface RLC bearer after transmitting the data packet submitted by the RLC entity indicated in the second configuration information.

[0163] In the nineteenth aspect, a first relay terminal device is provided, wherein the first relay terminal device is a relay terminal device in a first path, and a remote terminal device switches from connecting to a first network device through the first path to connecting to a second network device through a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. The first relay terminal device includes a functional unit for executing any one of the methods provided in the sixth aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the first relay terminal device includes: a communication unit and a processing unit; the communication unit is used to receive third configuration information sent by the first network device, and the third configuration information is used to indicate reconfiguration of the adaptation layer; the processing unit is used to reconfigure the adaptation layer according to the third configuration information.

[0164] In the twentieth aspect, a remote terminal device is provided, wherein the remote terminal device switches from being connected to a first network device via a first path to being connected to a second network device via a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. The remote terminal device includes a functional unit for executing any one of the methods provided in the seventh aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the remote terminal device includes: a communication unit and a processing unit; the processing unit is used to send a third message to the second network device via the communication unit, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0165] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0166] In the twenty-first aspect, a remote terminal device is provided, wherein the remote terminal device switches from being connected to a first network device through a first path to being connected to a second network device through a second path, wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. The remote terminal device includes a functional unit for executing any one of the methods provided in the eighth aspect, and the action performed by the functional unit is implemented by hardware or by hardware executing corresponding software. Exemplarily, the remote terminal device includes: a communication unit and a processing unit; the processing unit is used to send a third message to the second network device through the communication unit, and the third message is used to indicate that the remote terminal device completes the RRC connection configuration; the processing unit is also used to send a fourth message to the second network device through the communication unit, and the fourth message includes second information, and the second information is used to indicate the reception status of the second PDCP entity of the remote terminal device.

[0167] In one possible implementation, the second information is used to indicate the sequence number or count value of the first data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is not successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the data packet that is successfully received by the second PDCP entity; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packets successfully received by the second PDCP entity is added by 1.

[0168] In the twenty-second aspect, a second network device is provided, comprising a functional unit for executing any one of the methods provided in the ninth aspect, and the action performed by the functional unit is implemented by hardware or by executing corresponding software through hardware. Exemplarily, the second network device comprises: a communication unit and a processing unit; the communication unit is used to receive a third message sent by a remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, the third message includes second information, the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device, the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; the processing unit is used to transmit data on the second path according to the second information.

[0169] In one possible implementation, the processing unit includes a second PDCP entity; the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packet successfully received by the second PDCP entity is added by 1.

[0170] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0171] In one possible implementation, the second network device and the first network device are the same network device, and the communication unit is used to send second configuration information to the first relay terminal device, wherein the second configuration information is used to indicate reconstruction of the RLC entity; and / or, the communication unit is used to send third configuration information to the first relay terminal device, wherein the third configuration information is used to indicate reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device among at least one relay terminal device in the first path.

[0172] In the twenty-third aspect, a second network device is provided, comprising a functional unit for executing any one of the methods provided in the tenth aspect, and the action performed by the functional unit is implemented by hardware or by executing corresponding software through hardware. Exemplarily, the second network device includes: a communication unit and a processing unit; the communication unit is used to receive a third message sent by a remote terminal device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the remote terminal device switches from connecting to the first network device through a first path to connecting to the second network device through a second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device; the communication unit is also used to receive a fourth message sent by the remote terminal device, the fourth message includes second information, and the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device; the processing unit is used to transmit data on the second path according to the second information.

[0173] In one possible implementation, the processing unit includes a second PDCP entity; the second information is used to indicate the sequence number or count value of the first data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has not successfully received; or, the second information is used to indicate the sequence number or count value of the data packet that the second PDCP entity has successfully received; or, the second information is used to indicate the sequence number or count value of the last data packet successfully received by the second PDCP entity; or, the second information is used to indicate the value after the maximum sequence number or count value of the data packet successfully received by the second PDCP entity is added by 1.

[0174] In a possible implementation manner, the second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

[0175] In one possible implementation, the second network device and the first network device are the same network device, and the communication unit is further used to send second configuration information to the first relay terminal device, wherein the second configuration information is used to indicate reconstruction of the RLC entity; and / or, the communication unit is further used to send third configuration information to the first relay terminal device, wherein the third configuration information is used to indicate reconfiguration of the adaptation layer; wherein the first relay terminal device is a relay terminal device among at least one relay terminal device in the first path.

[0176] In the twenty-fourth aspect, a second network device is provided, comprising a functional unit for executing any one of the methods provided in the tenth aspect, wherein the actions performed by the functional unit are implemented through hardware or through hardware executing corresponding software implementations.

[0177] In the twenty-fifth aspect, a data transmission device is provided, comprising: a processor. The processor is connected to a memory, the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, thereby implementing any one of the methods provided in any one of the first to eleventh aspects. Alternatively, the processor executes the computer-executable instructions stored in the memory, thereby implementing the method provided in any embodiment of the present application. Exemplarily, the memory and the processor can be integrated together or can be independent devices. In the latter case, the memory can be located inside the data transmission device or outside the data transmission device. The data transmission device is, for example: a remote terminal device, a first network device, a second network device, and the like.

[0178] In a possible implementation, the processor includes a logic circuit and an input interface and / or an output interface. Exemplarily, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.

[0179] In a possible implementation, the data transmission device further includes a communication interface and a communication bus, and the processor, the memory, and the communication interface are connected via the communication bus. The communication interface is used to perform the sending and receiving actions in the corresponding method. The communication interface may also be referred to as a transceiver. Optionally, the communication interface includes at least one of a transmitter and a receiver, in which case the transmitter is used to perform the sending action in the corresponding method, and the receiver is used to perform the receiving action in the corresponding method.

[0180] In a possible implementation, the data transmission device exists in the form of a chip product. For example, the data transmission device may be a chip provided on the remote terminal device, the first network device, the second network device, or an independent chip.

[0181] In the twenty-sixth aspect, a chip is provided, including: a processor and an interface, wherein the processor is coupled to a memory through the interface, and when the processor executes a computer program or instruction in the memory, any method provided in any one of the first to eleventh aspects is executed. Or any method provided in any embodiment of the present application is executed.

[0182] In the twenty-seventh aspect, a communication system is provided, comprising: one or more of the above-mentioned remote terminal device, the above-mentioned relay terminal device, the above-mentioned first network device and the above-mentioned second network device.

[0183] In aspect 28, a computer-readable storage medium is provided, comprising instructions, which, when executed on a computer, cause the computer to execute any one of the methods provided in aspect 1 to aspect 11. Alternatively, when the instructions are executed on a computer, cause the computer to execute the method described in any embodiment of the present application.

[0184] In the twenty-ninth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, causes the computer to execute any one of the methods provided in any one of the first to eleventh aspects. Alternatively, when the instructions are executed on a computer, causes the computer to execute the method described in any embodiment of the present application.

[0185] In the thirtieth aspect, a device is provided, comprising a unit for implementing the method described in any embodiment of the present application.

[0186] The technical effects brought about by any implementation method in aspects 12 to 30 can refer to the technical effects brought about by the corresponding implementation methods in aspects 1 to 11, and will not be repeated here.

[0187] It should be noted that, under the premise that the solutions are not contradictory, the solutions in each aspect can be combined. BRIEF DESCRIPTION OF THE DRAWINGS

[0188] Figure 1 A schematic diagram of a communication scenario provided in an embodiment of the present application;

[0189] Figure 2 A schematic diagram of a protocol stack provided for an embodiment of the present application;

[0190] Figure 3 A schematic diagram of an RLC bearer provided in an embodiment of the present application;

[0191] Figure 4 A schematic diagram of another RLC bearer provided in an embodiment of the present application;

[0192] Figure 5A schematic diagram of a scenario in which a terminal device performs path switching according to an embodiment of the present application;

[0193] Figure 6 A schematic diagram of a terminal device switching scenario provided in an embodiment of the present application;

[0194] Figure 7 A schematic diagram of a transceiver sending and receiving a data packet provided in an embodiment of the present application;

[0195] Figure 8 A schematic diagram of another transceiver sending and receiving data packets provided in an embodiment of the present application;

[0196] Fig. 9 An interactive flow chart of a data transmission method provided in an embodiment of the present application;

[0197] Fig.10 A schematic diagram of sending and receiving data packets by each device in a terminal device relay scenario provided in an embodiment of the present application;

[0198] Fig.11 A schematic diagram of each device sending and receiving data packets in another terminal device relay scenario provided in an embodiment of the present application;

[0199] Fig.12 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0200] Fig.13A An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0201] Fig. 13B An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0202] Fig.14 A schematic diagram of another protocol stack provided in an embodiment of the present application;

[0203] Fig.15 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0204] Fig.16 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0205] Fig.17 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0206] Fig.18 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0207] Fig.19An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0208] Fig. 20 An interactive flow chart of another data transmission method provided in an embodiment of the present application;

[0209] Fig.21 A schematic diagram of the composition of a data transmission device provided in an embodiment of the present application;

[0210] Fig. 22 A schematic diagram of the hardware structure of a data transmission device provided in an embodiment of the present application;

[0211] Fig.23 A schematic diagram of the hardware structure of another data transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0212] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0213] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0214] The method provided in the embodiments of the present application may be applicable to but not limited to the following fields: device to device (D2D), vehicle to everything (V2X), unmanned driving (unmanned driving), automated driving (automated driving, ADS), driver assistance (driver assistance, ADAS), intelligent driving (intelligent driving), connected driving (connected driving), intelligent network driving (intelligent network driving), car sharing, etc.

[0215] The method provided in the embodiment of the present application is applicable to but not limited to the following communication systems: long term evolution (LTE) system, fifth generation (5G) system, new radio (NR) system, wireless local area network (WLAN) system and future evolution system or multiple communication fusion systems. Among them, the 5G system can be a non-standalone (NSA) 5G system or a standalone (SA) 5G system.

[0216] The network device involved in the embodiment of the present application is an entity on the network side for sending signals, or receiving signals, or sending and receiving signals. The network device may be a device deployed in a radio access network (RAN) to provide wireless communication functions for terminal devices, such as a transmission reception point (TRP), a base station, various forms of control nodes (for example, a network controller, a wireless controller (for example, a wireless controller in a cloud radio access network (CRAN) scenario)), etc. Specifically, the network device may be various forms of macro base stations, micro base stations (also called small stations), relay stations, access points (APs), etc., or may be antenna panels of base stations. The control node may be connected to multiple base stations and configure resources for multiple terminal devices covered by the multiple base stations. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, it may be called an evolved NodeB (eNB or eNodeB) in an LTE system, and may be called a next generation node base station (gNB) in a 5G system or an NR system. The specific name of the base station is not limited in this application. The network device may also be a network device in a future-evolved public land mobile network (PLMN).

[0217] The terminal device involved in the embodiment of the present application is an entity on the user side for receiving signals, or sending signals, or receiving signals and sending signals. The terminal device is used to provide one or more of voice services and data connectivity services to users. The terminal device can also be called user equipment (UE), terminal, access terminal, user unit, user station, mobile station, remote station, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device can be a V2X device, for example, a smart car (smart car or intelligent car), a digital car (digital car), an unmanned car (unmanned car or driverless car or pilotless car or automobile), an automatic car (self-driving car or autonomous car), a pure electric vehicle (pure EV or Battery EV), a hybrid electric vehicle (hybrid electric vehicle, HEV), a range extended electric vehicle (range extended EV, REEV), a plug-in hybrid electric vehicle (plug-in HEV, PHEV), a new energy vehicle (new energy vehicle), and a roadside device (road site unit, RSU). The terminal device may also be a D2D device, such as an electric meter, a water meter, etc. The terminal device may also be a mobile station (MS), a subscriber unit, a drone, an Internet of Things (IoT) device, a station (ST) in a WLAN, a cellular phone, a smart phone, a cordless phone, a wireless data card, a tablet computer, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, a laptop computer, a machine type communication (MTC) terminal device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device (also referred to as a wearable smart device). The terminal device may also be a terminal device in a next generation communication system, such as a terminal device in a future evolved PLMN.

[0218] At present, a terminal device (assuming it is terminal device 1) can communicate with network devices through other terminal devices (which can be one or more) and then communicate with the core network (corenet, CN). In this case, terminal device 1 can be called a remote terminal device (Remote UE), other terminal devices can be called relay terminal devices (Relay UE), and this communication scenario can be called a terminal device relay (UE relay) scenario. Exemplarily, the remote terminal device can be a D2D device (for example, a watch), and the relay terminal device can be a V2X device, a mobile phone, a tablet computer, etc.

[0219] The remote terminal device and the relay terminal device, and the relay terminal devices can communicate with each other through a sidelink (SL) (or through a PC5 link), and the relay terminal device and the network device can communicate through an air interface wireless link (or through a Uu link). For example, see Figure 1 In (a), the remote terminal device can communicate with the network device through a relay terminal device, and then communicate with the core network. For example, see Figure 1 In (b), the remote terminal device can also pass through multiple relay terminal devices ( Figure 2 In the figure, two relay terminal devices are used as an example to communicate with the network device, and then communicate with the core network. The scenario in which the remote terminal device communicates with the network device through multiple relay terminal devices can be called a multi-hop relay scenario.

[0220] In the UE relay scenario, there is a layer 2 (L2) relay scenario, in which the remote terminal device is visible to the network device. In this scenario, when the L2 relay scenario includes a relay terminal device, an example of the protocol stack of the remote terminal device, the relay terminal device and the network device can be found in Figure 2 (a) in the L2relay scenario. When multiple relay terminal devices are included, an example of the protocol stack of the remote terminal device, relay terminal device, and network device can be found in Figure 2 (b) in . Figure 2 (b) in the figure is drawn using the L2 relay scenario including two relay terminal devices as an example. If there are other relay terminal devices between the relay terminal device 2 and the network device, the protocol stacks of these relay terminal devices are the same as that of the relay terminal device 2, which can be used as a reference for understanding and will not be repeated here. Figure 2 (a) and Figure 2The meanings of the protocol layers in (b) are: service data adaptation protocol (SDAP) layer, packet data convergence protocol (PDCP) layer, radio link control (RLC) layer, medium access control (MAC) layer, and physical (PHY) layer. Adapt layer refers to the adaptation layer. It should be noted that Figure 2 (a) and Figure 2 (b) is merely an example of a protocol stack. In actual implementation, the protocol layers in the protocol stack of each device may be more or less than or different from the protocol layers in the diagram, and this application does not impose any limitation thereto.

[0221] A protocol layer includes one or more protocol layer entities of the protocol layer. For example, the RLC layer may include one or more RLC entities. The PDCP layer may include one or more PDCP entities. The functions of a protocol layer may be implemented by the protocol layer entities of the protocol layer.

[0222] In order to better understand the following, some contents and concepts involved in this application are first introduced here in a unified manner.

[0223] 1. Working mode of RLC layer

[0224] The working modes of the RLC layer include acknowledged mode (AM) and unacknowledged mode (UM). In AM mode, the RLC layer supports data retransmission mechanism, and can retransmit data packets when data packets are lost. In UM mode, the RLC layer does not support data retransmission mechanism and will not retransmit data packets.

[0225] 2. Dual-active protocol stack (DAPS) switching

[0226] DAPS switching refers to the switching process in which the terminal device maintains the connection with the source network device after receiving the switching command, until it successfully randomly accesses the target network device, and then sends a release command in the target cell to release the source cell. The source network device refers to the network device that the terminal device accesses before receiving the switching command, and the target network device refers to the network device that the terminal device accesses after performing the network device switching.

[0227] 3. Logical channel (LCH), RLC bearer

[0228] A logical channel refers to a channel between the RLC layer and the lower protocol layer (for example, the MAC layer). The channels between different RLC entities and the lower protocol layer are different logical channels. A logical channel can also be called a MAC logical channel. The RLC bearer configuration includes the RLC entity configuration and the logical channel. One logical channel corresponds to a logical channel identifier (logical channel identifier, LCID), and the LCID can be used to determine which logical channel the logical channel is. Since the RLC bearer configuration includes the logical channel, the LCID can also be used to determine which RLC bearer the RLC bearer is, that is, different RLC bearers can be distinguished by different LCIDs. For example, based on Figure 3 The RLC bearer and logical channel shown in the figure, RLC bearer 1 configuration includes RLC entity 1 configuration and logical channel 1, and RLC bearer 2 configuration includes RLC entity 2 configuration and logical channel 2. RLC bearer 1 can be identified by LCID1 (LCID1 is the identifier of logical channel 1), and RLC bearer 2 can be identified by LCID2 (LCID2 is the identifier of logical channel 2).

[0229] In the present application, the RLC bearer on the PC5 link may be simply described as a PC5 RLC bearer, and the RLC bearer on the Uu link may be simply described as a Uu RLC bearer.

[0230] 4. PDCP reconstruction, PDCP data recovery, RLC reconstruction, MAC reset

[0231] PDCP reestablishment refers to the reestablishment of the PDCP entity. During PDCP reestablishment, the behaviors of the PDCP sending entity and the receiving entity are different. PDCP reestablishment can be applied to AM data radio bearer (DRB), UM DRB and signaling radio bearer (SRB). For PDCP reestablishment of AM DRB, UM DRB and SRB, security needs to be changed, that is, new encryption algorithms, integrity protection algorithms and keys will be used, and other behaviors are different.

[0232] When the RRC layer requires the PDCP entity to reestablish, the NR PDCP sending entity needs to:

[0233] Reset the compression protocol stack (if compression is configured and compression continuity is not configured);

[0234] For UM DRB and SRB, set the next COUNT to be sent (TX_NEXT) to the initial value;

[0235] For SRB, discard all stored PDCP service data units (SDU) and PDCP protocol data units (PDU);

[0236] During PDCP re-establishment, the encryption algorithm and key provided by the upper layer are used;

[0237] During PDCP re-establishment, the integrity protection algorithm and key provided by the upper layer are used;

[0238] For UM DRB, each PDCP PDU that has been associated with a sequence number (SN) but the corresponding PDCP PDU has not been delivered to the lower layer PDCP SDU, and for the AM DRB suspended at the Uu interface, the PDCP SDU that has been associated with the SN corresponding to the first PDCP PDU that has not been confirmed to have received the lower layer confirmation (this part has been improved in this application):

[0239] It is considered that the PDCP SDUs are received from the upper layer and the PDCP SDUs are transmitted in the ascending order of the count value (COUNT) associated before the PDCP re-establishment, but the discard timer is not started;

[0240] For the AM DRB that is not suspended at the Uu port, the PDCP SDU corresponding to the first PDCP PDU that has not received the bottom layer confirmation is retransmitted or transmitted in ascending order of the COUNT associated before the PDCP reestablishment (this part has been improved in this application):

[0241] Perform compression processing, and perform integrity protection and encryption according to the COUNT associated with the PDCP SDU;

[0242] When the RRC layer requires the PDCP entity to reestablish, the NR PDCP receiving entity needs to:

[0243] Handle PDCP PDUs delivered due to underlying reestablishment;

[0244] For SRB, discard all stored PDCP SDUs and PDCP PDUs

[0245] For SRB and UM DRB, if the reordering timer is running:

[0246] Stop and reset the reorder timer,

[0247] For UM DRB, all stored PDCP SDUs are delivered to the upper layer in ascending order of the associated COUNT after decompression;

[0248] For the AM DRB of the Uu port, if the compression continuity function is not configured, decompression is performed;

[0249] For the AM DRB of PC5 port, decompress all stored PDCP Internet Protocol (IP) SDUs;

[0250] For UM DRB and AM DRB, if the compression function is configured but compression continuity is not configured, reset the compression protocol stack;

[0251] For UM DRB and SRB, set the receive variables and submit variables to initial values;

[0252] During PDCP re-establishment, the encryption algorithm and key provided by the upper layer are used;

[0253] During PDCP re-establishment, the integrity protection algorithm and key provided by the upper layer are used;

[0254] PDCP data recovery refers to the data recovery process performed by the PDCP entity. Currently, data recovery is only applicable to AM DRBs. For AM DRBs, when the upper layer requests PDCP data recovery for an AM DRB, the PDCP sending entity will retransmit all PDCP PDUs that were previously delivered to the AM RLC entity for reconstruction or release but have not been confirmed received by the lower layer in ascending order of COUNT. When performing PDCP data recovery, the PDCP entity will not replace the new encryption algorithm, integrity protection algorithm and key.

[0255] RLC reconstruction refers to the reconstruction of the RLC entity. When the RRC layer requires the RLC entity to be reconstructed, the RLC entity of NR needs to discard all RLC SDUs, RLC SDU segments and RLC PDUs, stop and reset all timers, and reset all variables to initial values. RLC reconstruction in this application can also be RLC release or release after RLC reconstruction.

[0256] MAC reset refers to the reset of the MAC entity. When the upper layer requires MAC reset, the MAC entity will:

[0257] Initialize the token bucket (Bj) of each logical channel to 0;

[0258] Initialize the token bucket corresponding to the logical channel in the sidelink resource allocation mode 1 configured by RRC on PC5 to 0;

[0259] Stop all timers;

[0260] All timing advance (TA) timers are considered to have expired;

[0261] Set the new data indicator (NDI) field in the uplink hybrid automatic repeat request (HARQ) process to 0;

[0262] Set the NDI of all HARQ processes corresponding to the physical downlink control channel (PDCCH) monitored in sidelink resource allocation mode 1 to 0;

[0263] Stop (if any) the ongoing random access procedure;

[0264] Discard the non-contention random access resources (if any) explicitly signaled corresponding to the 4-step random access and the 2-step random access;

[0265] Clear the message 3 (Msg3) buffer;

[0266] Clear the message A (MSGA) buffer;

[0267] Cancel (if any) the triggered scheduling request process;

[0268] Cancel the triggered cache status reporting process (if any);

[0269] cancelling (if any) the triggered power headroom reporting procedure;

[0270] Cancel (if any) the triggered consistent listen before talk (LBT) failure;

[0271] Cancel (if any) triggered beam failure recovery (BFR);

[0272] Cancel the triggered sidechain cache status reporting process (if any);

[0273] Cancels the triggered preemption cache status reporter (if any);

[0274] Cancel the triggered recommended bitrate query process (if any);

[0275] Cancel (if any) the triggered configured uplink authorization confirmation;

[0276] Cancel (if any) the sidechain authorization confirmation that triggered the configuration;

[0277] Cancels the triggered query for the required protection symbol (if any);

[0278] Clear the soft buffer of all downlink (DL) HARQ processes;

[0279] For each DL HARQ process, the next received transmission of a transport block (TB) is considered as the first transmission;

[0280] Release (if any) a temporary cell-radio network temporary identifier (C-RNTI);

[0281] Reset all beam failure counters (BFI_COUNTER);

[0282] Reset all LBT counters (LBT_COUNTER);

[0283] If upper layers request a sidelink specific reset of the MAC entity for a PC5-RRC connection, the MAC entity shall:

[0284] Refresh the soft memory of all sidechain processes of all TBs associated with the PC5-RRC connection;

[0285] All sidechain processes of all TBs associated with the PC5-RRC connection are considered unoccupied;

[0286] Cancel (if any) the triggered scheduling request procedure associated only with the PC5-RRC connection;

[0287] Cancel (if any) the triggered sidechain buffer status reporting procedure associated only with the PC5-RRC connection;

[0288] Cancel (if any) the triggered sidelink channel state information (CSI) reporting process associated with the PC5-RRC connection;

[0289] Stop (if running) all timers associated with the PC5-RRC connection;

[0290] Reset the number of detected discontinuous transmissions associated with the PC5-RRC connection (numConsecutiveDTX);

[0291] The sidelink token bucket (SBj) of each logical channel associated with the PC5-RRC connection is initialized to zero.

[0292] The MAC reset in this application can also be MAC release.

[0293] 5. Hyper frame number (HFN), PDCP sequence number (SN)

[0294] In order to ensure that the transmitted data packets can be delivered to the application layer in order at the receiving end, the sending end adopts the method of assigning sequence numbers to the data packets, that is, assigning COUNT to the data packets at the PDCP layer. COUNT occupies 32 bits and consists of two parts: HFN and PDCP SN. During the data packet transmission process, the PDCP SN and the data packet are sent to the receiving end at the same time, and an HFN state is maintained at the sending end and the receiving end respectively, and the HFN states on both sides must be synchronized. The purpose of using HFN is to limit the number of bits of PDCP SN transmitted on the air interface.

[0295] It should be noted that, unless otherwise specified, the SN in this application refers to the PDCP SN.

[0296] 6. Upper protocol layer, lower protocol layer

[0297] In an embodiment of the present application, the upper and lower relationship of the protocol layers is defined as: in the process of a device sending a data packet, the protocol layer that processes the data packet first is above the protocol layer that processes the data packet later, that is, the protocol layer that processes the data packet first can be considered as the upper protocol layer of the protocol layer that processes the data packet later; or, in the process of a device receiving a data packet, the protocol layer that processes the data packet first is below the protocol layer that processes the data packet later, that is, the protocol layer that processes the data packet first can be considered as the lower protocol layer of the protocol layer that processes the data packet later.

[0298] For example, see Figure 2 In (a), in the protocol stack of the relay terminal device, the Adapt layer is an upper protocol layer of the RLC layer, the MAC layer and the PHY layer, and the RLC layer, the MAC layer and the PHY layer are lower protocol layers of the Adapt layer.

[0299] In this application, the upper protocol layer is referred to as the upper layer, and the lower protocol layer is referred to as the lower layer or the bottom layer.

[0300] 7. SDU, PDU

[0301] In a communication network, the data unit exchanged between peer protocol layer entities between different devices is PDU. A protocol layer passes the PDU of the protocol layer to the lower protocol layer through the service access point (SAP) (also called service interface) provided to the protocol layer by the adjacent lower protocol layer, and the lower protocol layer indirectly completes the exchange of the PDU of the protocol layer. The PDU of the protocol layer serves as the SDU of the lower protocol layer.

[0302] Exemplarily, for a certain protocol layer, if the data packet received by the protocol layer does not include the protocol layer header of the protocol layer, the data packet can be considered as the SDU of the protocol layer. If the data packet received by the protocol layer includes the protocol layer header of the protocol layer, the data packet can be considered as the PDU of the protocol layer. For example, for the PDCP layer, if the data packet received by the PDCP layer does not include the PDCP layer header, the data packet can be considered as the SDU of the PDCP layer, and if the data packet received by the PDCP layer includes the PDCP layer header, the data packet can be considered as the PDU of the PDCP layer.

[0303] The data packet mentioned in this application may be a PDCP SDU or a PDCP PDU. Whether it is a PDCP SDU or a PDCP PDU can be determined based on the above definitions of SDU and PDU combined with specific scenarios.

[0304] 8. RLC confirmation feedback, PDCP status report

[0305] RLC confirmation feedback refers to the feedback of the successful reception of the confirmation data packet indicated by the RLC layer. For example, the RLC confirmation feedback of the source network device below refers to the feedback of the successful reception of the confirmation data packet indicated by the RLC layer of the source network device. The RLC confirmation feedback of the terminal device refers to the feedback of the successful reception of the confirmation data packet indicated by the RLC layer of the terminal device. In the case of direct communication between the terminal device and the network device, the result displayed by the RLC confirmation feedback will only show the situation that the sending end believes that the reception is not successful, but the receiving end actually receives it successfully. There will not be a situation where the RLC layer of the sending end confirms the successful reception, but the receiving end does not receive it successfully.

[0306] The PDCP status report is used to indicate the SN or COUNT of the data packets that the PDCP entity has not successfully received. Exemplarily, the PDCP status report includes: the SN of the first missing SN (FMS) or the COUNT of the first missing data packet (FMC). The PDCP status report may also include a bitmap, and the bitmap is grouped into 8 bits. If the PDCP status report includes FMS, the bitmap is used to indicate the reception status of each data packet after FMS. If the PDCP status report includes FMC, the bitmap is used to indicate the reception status of each data packet after FMC. Among them, the reception status includes successful reception and unsuccessful reception. Exemplarily, if the COUNT of the data packet received by the receiving end is {0, 1, 3, 5, 6, 7}, then FMC=2, the bitmap includes 8 bits, and the 8 bits are used to indicate the reception status of the data packets with COUNTs of 3 to 10, respectively. If the value of a bit is 1, it means that the corresponding data packet is successfully received, then the value of the bitmap can be: 10111000.

[0307] It should be noted that when the sending end receives the feedback from the receiving end confirming the successful reception of the PDCP layer for the data packet, it will delete the PDCP SDU (that is, delete the source data packet and cannot be retransmitted later); when the sending end receives the feedback from the RLC layer confirming the successful reception of the data packet, it will not delete the PDCP SDU (that is, the source data packet will not be deleted and can be retransmitted later).

[0308] 9. Radio bearer (RB)

[0309] RBs include DRBs and SRBs. DRBs are used to carry data, while SRBs are used to carry signaling.

[0310] When configuring a DRB, the corresponding PDCP entity and RLC bearer on the entire path will be configured for the DRB. When a terminal device transmits a data packet through a DRB, the data packet is specifically transmitted through the RLC bearer configured for the DRB. In this case, among these RLC bearers configured for the DRB, the RLC bearers of the two directly communicating devices in the path are associated with each other, and the RLC bearer of the device in the path that communicates with the previous hop and the RLC bearer that communicates with the next hop are also associated with each other.

[0311] For example, when a relay terminal device is included in the path, see Figure 4In (a), if when DRB1 is configured, the configured PDCP entities include the PDCP entity 1 of the remote terminal device and the PDCP entity 1 of the network device, and the configured RLC bearers include the PC5 RLC bearer 1 of the remote terminal device, the PC5 RLC bearer 1 of the relay terminal device, the Uu RLC bearer 1 of the relay terminal device and the Uu RLC bearer 1 of the network device, then the process for the terminal device to send a data packet using DRB1 is as follows: the data packet of the PDCP entity 1 of the remote terminal device is sent out through the RLC bearer 1 of the remote terminal device, the PC5 RLC bearer 1 of the relay terminal device receives the data packet and sends it out through the Uu RLC bearer 1 of the relay terminal device, and the Uu RLC bearer 1 of the network device receives the data packet and delivers it to the PDCP entity 1 of the network device for processing. At this time, the PC5 RLC bearer 1 of the remote terminal device and the PC5 RLC bearer 1 of the relay terminal device are associated, the PC5RLC bearer 1 of the relay terminal device and the Uu RLC bearer 1 of the relay terminal device are associated, and the Uu RLC bearer 1 of the relay terminal device and the Uu RLC bearer 1 of the network device are associated.

[0312] For example, when a plurality of relay terminal devices are included in the path, see Figure 4 In (b), when DRB1 is configured, the configured PDCP entities include PDCP entity 1 of the remote terminal device and PDCP entity 1 of the network device, and the configured RLC bearers include PC5 RLC bearer 1 of the remote terminal device, PC5 RLC bearer 1 of relay terminal device 1 for communicating with the remote terminal device, PC5 RLC bearer 1 of relay terminal device 1 for communicating with relay terminal device 2, PC5 RLC bearer 1 of relay terminal device 2, Uu RLC bearer 1 of relay terminal device 2, and Uu RLC bearer 1 of the network device. At this time, the PC5 RLC bearer 1 of the remote terminal device and the PC5 RLC bearer 1 of the relay terminal device 1 used for communicating with the remote terminal device have an associated relationship, the PC5 RLC bearer 1 of the relay terminal device 1 used for communicating with the remote terminal device and the PC5 RLC bearer 1 of the relay terminal device 1 used for communicating with the relay terminal device 2 have an associated relationship, the PC5 RLC bearer 1 of the relay terminal device 1 used for communicating with the relay terminal device 2 and the PC5 RLC bearer 1 of the relay terminal device 2 have an associated relationship, the PC5 RLC bearer 1 of the relay terminal device 2 and the Uu RLC bearer 1 of the relay terminal device 2 have an associated relationship, and the Uu RLC bearer 1 of the relay terminal device 2 and the Uu RLC bearer 1 of the network device have an associated relationship.

[0313] It should be noted that, when a DRB is configured, a PDCP entity will be configured for the DRB. Therefore, different PDCP entities can be distinguished by different DRB IDs. If the working mode of the RLC entity in the RLC bearer configured for the DRB is AM, the DRB can be called an AM DRB. If the working mode of the RLC entity in the RLC bearer configured for the DRB is UM, the DRB can be called a UM DRB.

[0314] According to the above, the configuration of DRB corresponds to the configuration of the high-level (e.g., PDCP layer) part and the low-level (e.g., RLC layer and MAC layer) part. Therefore, when the DRB needs to be reconfigured (for example, in the scenario where the remote terminal device switches from the first path to the second path below), it is necessary to reconfigure the high-level part, that is, to perform PDCP reconstruction or PDCP data recovery, and it is also necessary to reconfigure the low-level part, that is, to perform RLC reconstruction and MAC reset. Among them, for AM DRB, PDCP reconstruction or PDCP data recovery will be performed, and for UM DRB, PDCP reconstruction will be performed, and PDCP data recovery will not be performed.

[0315] In addition, on each device, the association relationship between the RLC bearer and the terminal device identifier can also be maintained to determine which RLC bearer is used to transmit data of which RB of which terminal device. The association relationship between the RLC bearer in the relay terminal device and the terminal device identifier, and the association relationship between the RLC bearer of the relay terminal device communicating with the previous hop and the RLC bearer communicating with the next hop can be managed by the Adapt layer of the relay terminal device.

[0316] It should be noted that in Figure 4 (a) and Figure 4 In (b), the PDCP entity corresponds to the RLC entity one by one, and the Adapt entity corresponds to the RLC entity one by one. These entities can also be in a one-to-many relationship, for example, Figure 4 (c) Figure 4 (d) and Figure 4 In (e), a one-to-many correspondence is drawn as an example, including multiple remote terminal devices corresponding to one total terminal device, using the same Adapt entity. In actual implementation, the correspondence can be one-to-one or many-to-one, and this application does not limit it.

[0317] The above is an introduction to some of the contents and concepts involved in this application. Based on the understanding of the above contents and concepts, the technical problems to be solved by this application are introduced in detail below.

[0318] In the L2 relay scenario, in order to ensure the service continuity of the remote terminal device, the remote terminal device can perform path switching. For example, when the quality of the direct link (i.e., the link through which the remote terminal device and the network device communicate directly, that is, the Uu link) is poor, the remote terminal device can switch from the direct link to the indirect link (i.e., the link through which the remote terminal device and the network device communicate via a relay terminal device, also known as a relay link). For another example, due to the movement of the remote terminal device, the quality of the direct link is restored and it can provide better services than the indirect link, then the remote terminal device can switch from the indirect link back to the direct link. This process is somewhat similar to the cell switching process of the air interface and is called path switching.

[0319] The path switching scenarios involved in this application include: Figure 5 (a) Figure 5 (b) Figure 5 (c) and Figure 5 In the four scenarios shown in (d), for the indirect link, the indirect link is drawn as an example including one relay terminal device. In actual implementation, the indirect link may also include multiple relay terminal devices.

[0320] The process of path switching of the remote terminal device is very similar to the handover (HO) process of the terminal device between network devices in NR. For AM DRB, the HO process is divided into three major processes:

[0321] HO preparation phase: Source network equipment (e.g. Figure 6 The network device 1 in the target network device (for example, Figure 6 The network device 2) sends a handover request (Handover Request). After receiving the handover request, the target network device performs access control according to its own resource conditions. If it is determined that the terminal device can access, it sends a handover request confirmation (Handover Request Ack) to the source network device. The handover request confirmation includes configuration information. The source network device sends the received configuration information to the terminal device through an RRC reconfiguration message (RRC Reconfiguration message).

[0322] HO execution phase: On the one hand, the terminal device is disconnected from the source network device, and synchronizes and randomly accesses the target network device. On the other hand, the source network device sends the SN transmission status (statustransfer) and HFN to the target network device for the AM DRB to inform the target network device of the status of the data packet transmission. Among them, the SN transmission status may include the uplink (UL) SN transmission status and / or the downlink SN transmission status. Among them, the uplink SN transmission status includes at least the SN of the first unsuccessfully received data packet in the uplink, and may also include a bitmap, which is used to indicate the reception status of each data packet starting from the first unsuccessfully received data packet in the uplink, wherein, for the data packet that the source network device has not successfully received, the terminal device needs to retransmit it to the target network device according to the confirmation of the bottom layer (for example, the RLC layer). The downlink SN transmission status includes the SN indicated by the source network device, which is the first SN of the data packet without an associated SN indicated by the source network device to the target network device.

[0323] HO completion phase: The target network device sends a data path switching request to the core access and mobility management function (AMF), and the AMF sends a path change request to the user plane function (UPF). After the target network device receives the information that the data path switching is successful from the AMF, it sends a request to the source network device to release the context of the terminal device.

[0324] For more specific procedures of HO, please refer to Section 9.2.3 of the Technical Specification (TS) 38.300 of the 3rd Generation Partnership Project (3GPP).

[0325] In the HO scenario, for AM DRB, the following method 1 is used to ensure that downlink data packets are not lost, and the following method 2 is used to ensure that uplink data packets are not lost.

[0326] Method 1: Ensure that downlink data packets are not lost.

[0327] Method 1 specifically includes:

[0328] For an AM DRB, on the one hand, the network device configures the reporting of the PDCP status report for the terminal device. When PDCP reconstruction or PDCP data recovery occurs, the terminal device will be triggered to report to the target network device which data packets have been received and which have not been received. The target network device can transmit data to the terminal device according to the PDCP status report. On the other hand, the source network device will forward data to the target network device. In the data forwarding process, all data packets that have not received the RLC confirmation feedback of the terminal device (including data packets sent by the source network device but not received by the RLC confirmation feedback of the terminal device, and data packets allocated by the source network device but not sent to the terminal device) and the corresponding SN are first forwarded to the target network device in order, and then the data packets received from the UPF are forwarded to the target network device (these data packets are data packets without SN allocation). At the same time, the source network device indicates to the target network device in the SN status transfer message that a downlink data packet that has not been allocated an SN needs to be allocated a COUNT (assuming it is the first COUNT), which is used for the target network device to continue to allocate SNs to unassociated data packets when sending data packets to the terminal device.

[0329] The target network device first sends the data packets with assigned SNs forwarded by the source network device to the terminal device (that is, the downlink retransmitted data packets are data packets sent by the source network device but not received by the RLC confirmation feedback of the terminal device), and then sends the data packets without assigned SNs forwarded by the source network device to the terminal device. These data packets without assigned SNs will be reallocated COUNTs by the target network device, and the start of these COUNTs is the first COUNT. If the target network device receives the PDCP status report sent by the terminal device, the target network device does not need to send the data packets confirmed in the PDCP status report to the terminal device.

[0330] After receiving the data packets from the target network device, the PDCP layer of the terminal device reorders the data packets and delivers them to the upper layer of the PDCP layer in sequence.

[0331] In method 1, illustratively, see Figure 7, the PDCP entity of the source network device has delivered a data packet with SN 7 to the underlying entity (e.g., RLC entity), and the SN associated with the current data packet has reached 8. The source network device sends data packets with SNs from 1 to 7 to the terminal device, and the terminal device receives data packets with SNs {0, 1, 2, 4, 6}, and sends RLC layer confirmation feedback to the source network device for data packets with SNs {0, 1, 2, 6}, but has not yet sent RLC confirmation feedback to the source network device for data packets with SN 4 (if the data packet is a PDCP PDU, then specifically here is confirmation feedback for the RLC PDU corresponding to the PDCP PDU). At this time, the terminal device undergoes cell switching, and the source network device can forward data packets (i.e., data packets with SNs {3, 4, 5, 7, 8}) and unnumbered data packets that have not received confirmation feedback from the underlying layer (e.g., RLC layer) of the terminal device to the target network device, and indicate the SN (i.e., 9) and the corresponding HFN corresponding to the first data packet without an associated SN. After receiving this information, the target network device can send data packets with SN {3, 4, 5, 7, 8} to the terminal device, and then number the unnumbered data packets received from the source network device starting from SN=9 and send them to the terminal device.

[0332] Method 2: Ensure that uplink data packets are not lost.

[0333] The source network device indicates the HFN to the target network device, and indicates the FMS to the target network device in the SN status transfer message, as well as a bitmap indicating the data packet reception status of the source network device. The Nth (N is an integer greater than 0) bit of the bitmap indicates the reception status of the Nth data packet since the FMC (determined by the HFN and FMS). A value of 1 indicates successful reception, and a value of 0 indicates no reception. The target network device can use this information in the SN status transfer message to generate a PDCP status report and send it to the terminal device.

[0334] The source network device forwards out-of-order (ie, discontinuous) data packets and corresponding SNs to the target network device during the data forwarding process.

[0335] The terminal device starts sending data packets to the target network device in ascending order of COUNT, starting from the first data packet that has not received RLC confirmation feedback from the source network device (that is, the uplink retransmitted data packets are all data packets starting from the first data packet that has not received RLC confirmation feedback from the source network device). If the terminal device receives a PDCP status report sent by the target network device, the terminal device will delete the data packets that have been fed back in the PDCP status report. If the current data packet has not been sent, it will no longer need to be sent to the target network device.

[0336] In method 2, illustratively, see Figure 8 , the PDCP entity of the terminal device has submitted a data packet with SN 7 to the underlying entity (e.g., RLC entity). After the terminal device sends data packets with SNs 1 to 7, the source network device receives data packets with SNs {0, 1, 2, 4, 6}, and sends RLC confirmation feedback to the terminal device for data packets with SNs {0, 1, 2, 6}. It has not yet sent RLC confirmation feedback to the terminal device for data packets with SN 4 (if the data packet is a PDCP PDU, then specifically here is the confirmation feedback for the RLC PDU corresponding to the PDCP PDU). At this time, the terminal device undergoes a cell handover, and the source network device sends FMC (i.e., COUNT corresponding to SN=3) and bitmap (i.e., 10100000, indicating that data packets with SNs {5, 7} and later than SN 7 have not been received) to the target network device. The target network device can determine which data packets are received based on this, and can send a PDCP status report to the terminal device based on this. Afterwards, the PDCP entity corresponding to the AM DRB will undergo PDCP reconstruction or PDCP data recovery, and the terminal device determines that the data packet with SN {0, 1, 2, 6} has been successfully received based on the RLC confirmation feedback from the source network device. In the new cell, the terminal device will retransmit all subsequent data packets starting from the first data packet that has not received RLC confirmation feedback (i.e., the data packet with SN 3). If the terminal device receives a PDCP status report sent by the target network device after switching, and the PDCP status report indicates that the data packet with SN {3, 5, 7} has not been received, and the data packet with SN {4, 6} has been received, the terminal device deletes the data packet that has been received by the target network device at the PDCP layer according to the PDCP status report (i.e., deletes the data packet with SN {4, 6}). At this time, when the terminal device retransmits, it only needs to retransmit the data packet with SN {3, 5, 7}, saving uplink resources.

[0337] In Method 1 and Method 2, AM DRB is used as an example to illustrate the process of ensuring that data packets are not lost in HO. For UM DRB, UM DRB is not retransmitted. At this time, taking uplink transmission as an example, before the terminal device performs cell switching, the PDCP layer of the terminal device may have numbered some data packets, but these data packets have not yet been submitted to the RLC layer. At this time, a cell switching occurs, and the terminal device renumbers the data packets with the smallest COUNT in these data packets from SN=0, and sends them to the target network device in ascending order of COUNT. Exemplarily, based on Figure 8 In the example shown, if the PDCP entity of the terminal device has not delivered the data packet with SN 8 to the RLC layer before the cell switching, and the cell switching occurs, the terminal device will renumber the data packet with SN 8 from SN=0 and send it to the target network device in ascending order of COUNT. At this time, it can be understood that the target network device will lose the data packet with SN {3, 5, 7}. It can be seen that for UM DRB, HO will cause packet loss.

[0338] based on Figure 5 In the path switching scenario shown in (c), the path for the remote terminal device to communicate with network device 1 through the relay terminal device is called path 1, and the path for the remote terminal device to communicate with network device 2 through the Uu link is called path 2. Fig. 9 , the process of the remote terminal device performing path switching (switching from path 1 to path 2) includes:

[0339] 901. A remote terminal device transmits an uplink data packet (UL data) and / or a downlink data packet (DL data) to a source network device (ie, network device 1) via a relay terminal device (or via path 1).

[0340] 902. The source network device sends a measurement configuration to the remote terminal device via the relay terminal device. Correspondingly, the remote terminal device receives the measurement configuration sent by the source network device.

[0341] 903. The remote terminal device performs measurement according to the measurement configuration, and sends a measurement report to the source network device through the relay terminal device. Correspondingly, the source network device receives the measurement report from the remote terminal device.

[0342] Among them, step 902 and step 903 are optional steps.

[0343] 904. The source network device determines that the remote terminal device switches to path 2.

[0344] In the case where step 902 and step 903 exist, the source network device may determine that the remote terminal device switches to path 2 according to the measurement report; otherwise, the source network device may determine that the remote terminal device switches to path 2 according to other information.

[0345] 905. The source network device sends a switching request to the target network device (ie, network device 2). Correspondingly, the target network device receives the switching request sent by the source network device.

[0346] 906. The target network device performs access control according to the handover request, and if it determines that the terminal device can access, sends a handover request confirmation to the source network device. If the source network device and the target network device are the same network device, there will be no steps 905 and 906.

[0347] 907. The source network device sends a switching command to the remote terminal device through the relay terminal device, the switching command being used to instruct the remote terminal device to switch from connecting to the source network device through path 1 to connecting to the target network device through path 2. Accordingly, the remote terminal device receives the switching command sent by the source network device.

[0348] The handover command may be an RRC reconfiguration message. There is no strict sequence between step 907 and step 905 and step 906.

[0349] 908. Under the instruction of the switching command, the remote terminal device performs a random access process with the target network device, and accesses the target network device through the random access process.

[0350] 909. The remote terminal device sends an RRC reconfiguration complete message to the target network device. Correspondingly, the target network device receives the RRC reconfiguration complete message sent by the remote terminal device and determines that the RRC reconfiguration is completed.

[0351] 910. The source network device sends an RRC reconfiguration message to the relay terminal device. Correspondingly, the relay terminal device receives the RRC reconfiguration message sent by the source network device.

[0352] 911. The relay terminal device removes the configuration related to the remote terminal device in the relay terminal device according to the RRC reconfiguration message, and sends an RRC reconfiguration completion message to the source network device.

[0353] Step 910 and step 911 are optional steps. Step 910 and step 911 can be performed after step 904, and there is no strict sequence between them and other steps.

[0354] 912. The remote terminal device releases the connection with the relay terminal device.

[0355] Among them, the source network device or the target network device may be the one that instructs the remote terminal device to release the connection, and the source network device may be the one that instructs the relay terminal device to release the connection.

[0356] Step 912 is an optional step.

[0357] 913. The remote terminal device transmits uplink data packets and / or downlink data packets to the target network device via path 2.

[0358] Fig. 9 The figure only shows some steps in the process of path switching of the remote terminal device by way of example. There may be other steps in the actual implementation. For example, the target network device may interact with the core network device. Since this application does not involve this, it will not be described in detail.

[0359] Fig. 9 China-Israel Figure 5 The process of path switching of a remote terminal device is exemplified by taking the scenario shown in (c) as an example. Figure 5 The process of path switching of the remote terminal device in the scenario shown in (a) is similar to Fig. 9 The only difference between the process shown in is that the source network device and the target network device are the same device, so the steps performed by both are performed by the same network device, and there are no more steps of interaction between the source network device and the target network device (ie, step 905 and step 906). Figure 5 The process of path switching of the remote terminal device in the scenario shown in (b) is similar to Fig. 9 The difference between the processes shown in is that the source network device and the target network device are the same device, therefore, the steps performed by the two are performed by the same network device, there are no more steps of interaction between the source network device and the target network device (i.e., step 905 and step 906), and the random access process of step 908 is not performed, but the remote terminal device establishes a PC5 connection with the relay terminal device 2, and then sends the RRC reconfiguration completion message in step 909 to the target network device through the relay terminal device 2. In the subsequent process, the remote terminal device performs uplink and downlink transmission with the target network device through the relay terminal device 2. Figure 5 The process of path switching of the remote terminal device in the scenario shown in (d) is similar to Fig. 9The only difference between the process shown in is that the random access process of step 908 is not performed, but the remote terminal device establishes a PC5 connection with the relay terminal device 2, and then sends the RRC reconfiguration completion message in step 909 to the target network device through the relay terminal device 2. In the subsequent process, the remote terminal device performs uplink and downlink transmission with the target network device through the relay terminal device 2.

[0360] When the remote terminal device receives the switching command, the PDCP entity corresponding to the AM DRB needs to perform PDCP reconstruction or PDCP data recovery. At this time, according to the path switching process, the data transmission between the remote terminal device and the relay terminal device, and the relay terminal device and the source network device needs to be stopped. At this time, when the remote terminal device switches from a path containing a relay terminal device to another path, if the retransmission mechanism in the HO scenario is applied to the path switching scenario, there will be packet loss or aggravated packet loss. The following is divided into 4 situations for specific analysis.

[0361] Case (1): Uplink data of AM DRB

[0362] In case (1), for the uplink data of the AM DRB, the PDCP entity of the remote terminal device determines which PDCP layer data packets have been successfully transmitted based on the RLC confirmation feedback of the relay terminal device, and retransmits the first data packet that has not been confirmed to be successfully received by the RLC after PDCP reestablishment or PDCP data recovery.

[0363] For example, see Fig.10 , the remote terminal device sends a data packet with SN {0, 1, 2, 3, 4, 5, 6, 7}, and the relay terminal device receives a data packet with SN {0, 1, 2, 4, 6}. The remote terminal device determines that the data packet with SN {0, 1, 2, 4, 6} is successfully received based on the RLC confirmation feedback of the relay terminal device. After the relay terminal device sends a data packet with SN 1 to the source network device, the remote terminal device undergoes path switching. At this time, the source network device has not received the data packets with SN {1, 2, 3, 4, 5, 6, 7}. After PDCP is reestablished or PDCP data is recovered, the remote terminal device will retransmit subsequent data packets starting from SN=3 (i.e., the first data packet confirmed by the bottom layer (e.g., RLC layer) that was not successfully received), and the data packet with SN {1, 2} is lost.

[0364] Case (2): Downlink data of AM DRB

[0365] In case (2), for the downlink data of the AM DRB, the PDCP entity of the remote terminal device waits for retransmission from the target network device after PDCP reestablishment or PDCP data recovery. If the target network device is not configured with PDCP status reporting, packet loss may occur.

[0366] For example, see Fig.11 , the source network device sends a data packet with SN {0, 1, 2, 3, 4, 5, 6, 7}, and the relay terminal device receives a data packet with SN {0, 1, 2, 4, 6}. The source network device determines that the data packet with SN {0, 1, 2, 4, 6} is successfully received based on the RLC confirmation feedback of the relay terminal device. After the relay terminal device sends a data packet with SN 1 to the remote terminal device, the remote terminal device switches the path. At this time, the remote terminal device does not receive the data packet with SN {1, 2, 3, 4, 5, 6, 7}. After PDCP reestablishment or PDCP data recovery, the target network device will retransmit the data packet with SN {3, 5, 7}, and the data packet with SN {1, 2, 4, 6} is lost. For the interaction between the source network device and the target network device, please refer to the HO process, which will not be repeated here.

[0367] In view of this situation, the present application can make the target network device retransmit subsequent data packets starting from SN=3 (i.e., the first data packet confirmed by the bottom layer (e.g., RLC layer) that was not successfully received), and the data packet with SN {1, 2} is lost. This method can alleviate packet loss, but packet loss still exists.

[0368] Case (3): Uplink data of UM DRB

[0369] In case (3), for the uplink data of the UM DRB, after the PDCP is reestablished, the PDCP entity of the remote terminal device only transmits the data packets that have not been delivered to the lower layer (e.g., RLC layer) before. At this time, the data packets sent by the remote terminal device to the relay terminal device but not sent by the relay terminal device to the source network device will be lost.

[0370] For example, see Fig.10, the PDCP entity of the remote terminal device delivers the data packet with SN {0, 1, 2, 3, 4, 5, 6, 7} to the RLC entity, the RLC entity sends the corresponding data packet with PDCP SN {0, 1, 2, 3, 4, 5, 6, 7}, the relay terminal device receives the corresponding data packet with PDCP SN {0, 1, 2, 4, 6}, the relay terminal device sends the corresponding data packet with PDCP SN 1 received from the remote terminal device to the source network device, and the remote terminal device switches the path. At this time, the source network device does not receive the data packet with SN {1, 2, 3, 4, 5, 6, 7}. Because no retransmission is performed under UM DRB, the data packets with SN {1, 2, 3, 4, 5, 6, 7} are lost, which aggravates the packet loss.

[0371] Case (4): Downlink data of UM DRB

[0372] In case (4), after PDCP is reestablished, the source network device only transmits the data packets that were not delivered to the bottom layer before. At this time, the data packets sent by the source network device to the relay terminal device but not sent by the relay terminal device to the remote terminal device will be lost.

[0373] For example, see Fig.11 , the source network device sends a data packet with a PDCP SN of {0, 1, 2, 3, 4, 5, 6, 7}, and the relay terminal device receives the corresponding data packet with a PDCP SN of {0, 1, 2, 4, 6}. After the relay terminal device sends the corresponding data packet with a PDCP SN of 1 to the remote terminal device, the remote terminal device switches the path. At this time, the remote terminal device does not receive the data packet with SN of {1, 2, 3, 4, 5, 6, 7}. After PDCP is reestablished, the target network device will not retransmit. Therefore, the data packets with SN of {1, 2, 3, 4, 5, 6, 7} are all lost, which aggravates the packet loss.

[0374] In order to solve the problem of packet loss when a remote terminal device switches from a path containing a relay terminal device to another path, the present application provides a data transmission method. In this method, for uplink data packets, the source network device sends the receiving status of the PDCP layer so that the remote terminal device can transmit data based on the receiving status of the PDCP layer sent by the source network device, thereby avoiding or reducing the loss of uplink data packets. For downlink data packets, the remote terminal device can send the receiving status of the PDCP layer to the target network device so that the target network device can transmit data based on the receiving status of the PDCP layer sent by the remote terminal device, thereby avoiding or reducing the loss of downlink data packets. The following is an illustrative description of the method provided by the present application for uplink data packets (recorded as uplink scenarios) and downlink data packets (recorded as downlink scenarios). It should be noted that the solutions under these two scenarios can be implemented separately or in combination, and the present application does not limit them.

[0375] Uplink scenario

[0376] In the uplink scenario, you can use the following solution 1 or solution 2 to avoid or reduce the loss of uplink data packets.

[0377] Solution 1

[0378] In Option 1, see Fig.12 (Drawing with the example that the first path includes a relay terminal device), the data transmission method provided by the present application includes:

[0379] 1201. A first network device sends a first message to a remote terminal device, where the first message includes first information, and the first information is used to indicate a receiving state of a first PDCP entity of the first network device. Accordingly, the remote terminal device receives the first message sent by the first network device.

[0380] In scheme one, the receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device (for example, when the DRB corresponding to the first information (referred to as the first DRB) is an AM DRB, it is used to assist the remote terminal device in uplink retransmission). The first information corresponds to the receiving state of the first PDCP entity of the first DRB before the path switching. The first PDCP entity is the PDCP entity corresponding to the first DRB on the first network device, and the second PDCP entity is the PDCP entity corresponding to the first DRB on the remote terminal device.

[0381] In solution one, optionally, the first message is used to instruct the remote terminal device to switch from being connected to the first network device (i.e., the source network device) through the first path to being connected to the second network device (i.e., the target network device) through the second path. In other words, the first message is a switching command. The first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. Exemplarily, the first message may be an RRC reconfiguration message. The first network device may send the first message to the remote terminal device through the first path.

[0382] In solution 1, optionally, the second network device and the first network device may be the same network device (for example, Figure 5 (a) and Figure 5 , or different network devices (e.g., Figure 5 (c) and Figure 5 d) in the figure.

[0383] In scheme one, optionally, the first message also includes information of the DRB corresponding to the first information (i.e., the first DRB), or the first message also includes information for indicating the first PDCP entity. The DRB information may be an identifier (ID) of the DRB. By carrying the information of the first DRB in the first message, the remote terminal device can determine which PDCP entity's receiving status is indicated by the first information. The first DRB may be a UM DRB or an AM DRB. Furthermore, the first message may also include information for indicating whether the DRB is a UM DRB or an AM DRB. In this case, the remote terminal device can determine whether the first DRB is a UM DRB or an AM DRB based on the indication.

[0384] It should be noted that the path switching of the remote terminal device in the present application can also be understood as the path switching of the DRB of the remote terminal device. The first DRB can be any DRB among the DRBs of the remote terminal device. In the present application, the path switching of the first DRB is taken as an example to exemplify the method provided in the embodiment of the present application. In actual implementation, each DRB of the remote terminal device must be switched, and the switching process is similar to the switching process of the first DRB, which can be referred to for understanding and will not be repeated.

[0385] In solution one, optionally, the first information may be in the following situations.

[0386] Case 1: The first information is used to indicate the SN or COUNT of the first data packet that is not successfully received by the first PDCP entity. Exemplarily, the first information may be FMS or FMC.

[0387] Case 2: The first information is used to indicate the SN or COUNT of the data packet that was not successfully received by the first PDCP entity. Exemplarily, the first information may be an FMS and a bitmap, and the bitmap is used to indicate the reception status of each data packet after the FMS. Exemplarily, the first information may also be an FMC and a bitmap, and the bitmap is used to indicate the reception status of each data packet after the FMC. In these two examples, a bit in the bitmap is used to indicate the reception status of a data packet. For example, when the value of a bit is 1, it indicates that the corresponding data packet is successfully received, and when the value of a bit is 0, it indicates that the corresponding data packet is not successfully received, and vice versa. In Case 2, the first information may be a PDCP status report.

[0388] Case 3: The first information is used to indicate the SN or COUNT of the data packet successfully received by the first PDCP entity. Exemplarily, the first information may be a bitmap, which is used to indicate the reception status of each data packet, and a bit in the bitmap is used to indicate the reception status of a data packet. For example, when the value of a bit is 1, it indicates that the corresponding data packet is successfully received, and when the value of a bit is 0, it indicates that the corresponding data packet is not successfully received, and vice versa.

[0389] Case 4: The first information is used to indicate the SN or COUNT of the last data packet successfully received by the first PDCP entity. Exemplarily, the first information indicates the SN or COUNT corresponding to the data packet with the largest COUNT among the successfully received data packets.

[0390] Case 5: The first information is used to indicate the maximum SN or COUNT value of the data packet successfully received by the first PDCP entity plus 1. In case 5, the first information indicates the SN or COUNT (RX_NEXT) of the data packet that the first network device expects to receive. That is, the first information is the SN (NEXT Receive SN, NRS) of the next data packet expected to be received or the COUNT (NEXT Receive COUNT, NRC) of the next data packet expected to be received.

[0391] It should be noted that the first information is determined according to the reception status of the data packet of the first PDCP entity before the path switching.

[0392] Optional, see Fig.12 Before step 1201, the method further includes: 1200, a first network device generates a first message.

[0393] 1202. The second PDCP entity of the remote terminal device transmits data on the second path according to the first information.

[0394] When step 1202 is specifically implemented, it can be implemented by the following method 1 or method 2.

[0395] Method 1: The second PDCP entity is the PDCP entity corresponding to the AM DRB (that is, the first DRB is the AM DRB), and the second PDCP entity retransmits and / or transmits the first unsuccessfully received data packet (PDCP layer data packet, for example, PDCP SDU) in ascending order of the COUNT of the data packets according to the first information.

[0396] In the first mode, it can be understood that, since the first information indicates the receiving status of the first PDCP entity, the first unsuccessfully received data packet determined according to the first information is a data packet confirmed to be unsuccessfully received by the first PDCP entity, rather than a data packet confirmed to be unsuccessfully received by the RLC layer. The second PDCP entity confirms the receiving status of the data packet according to the first information, and retransmits and / or transmits in ascending order of COUNT starting from the first unsuccessfully received data packet, rather than the first data packet that has not been confirmed to be successfully received by the bottom layer (e.g., the RLC layer).

[0397] If the first information is the above situation 1, the second PDCP entity may retransmit and / or transmit subsequent data packets in ascending order of the count value starting from the first data packet that was not successfully received by the first PDCP entity. Fig.10 In the example shown, assuming that the sequence number in the figure is the COUNT of the data packet, the first information sent by the source network device can be FMC (i.e. 1), then the remote terminal device retransmits and / or transmits subsequent data packets starting from the data packet with COUNT=1 according to the first information, which can avoid packet loss.

[0398] If the first information is the above situation 2, the second PDCP entity can determine which data packets the first PDCP entity has not successfully received based on the first information, and the first PDCP entity retransmits and / or transmits all the data packets that the first PDCP entity has not successfully received, starting from the first data packet that has not been successfully received, in ascending order of the count value. Fig.10 In the example shown, assuming that the sequence number in the figure is the COUNT of the data packet, if the source network device also receives a data packet with COUNT=4, and the first information sent by the source network device indicates a data packet with COUNT {1, 2, 3}, then the remote terminal device retransmits the data packet with COUNT {1, 2, 3} starting from the data packet with COUNT=1 according to the first information, and transmits subsequent data packets starting from COUNT=5, which can avoid packet loss, save uplink air interface resources, and avoid repeated transmission of successfully transmitted data packets.

[0399] If the first information is the above situation 3, the second PDCP entity can determine the data packets that the first PDCP entity has not successfully received based on the data packets that the first PDCP entity has successfully received, and retransmit and / or transmit all the data packets that the first PDCP entity has not successfully received in ascending order of the count value. For example, assuming that the sequence number in the figure is the COUNT of the data packet, based on Fig.10 In the example shown, if the source network device also receives a data packet with COUNT=4, and the first information sent by the source network device indicates that the received data packet is a data packet with SN {0, 4}, the remote terminal device retransmits the data packets with SN {1, 2, 3} starting from the data packet with SN=1 according to the first information, and transmits subsequent data packets starting from SN=5, thereby avoiding packet loss, saving uplink air interface resources, and avoiding repeated transmission of successfully transmitted data packets.

[0400] If the first information is the above situation 4, the second PDCP entity may retransmit and / or transmit the data packet in ascending order of the count value starting from the next SN or count value of the SN or count value indicated by the first information. Fig.10 In the example shown, assuming that the sequence number in the figure is the COUNT of the data packet, the data packet indicated by the first information sent by the source network device may be a data packet with a COUNT of 0, then the remote terminal device retransmits and / or transmits subsequent data packets starting from the data packet with COUNT=1 according to the first information, which can avoid data packet loss. Assuming that the source network device also receives a data packet with COUNT=4, and the data packet indicated by the first information sent by the source network device is a data packet with a COUNT of 4, then the remote terminal device transmits subsequent data packets starting from the data packet with COUNT=5 according to the first information, which can reduce data packet loss.

[0401] If the first information is the above situation 5, the second PDCP entity may retransmit and / or transmit the PDCP SDU in ascending order of the count value starting from the SN or count value indicated by the first information. Fig.10 In the example shown, the data packet indicated by the first information sent by the source network device may be a data packet with COUNT=1, and the remote terminal device retransmits and / or transmits subsequent data packets starting from the data packet with COUNT=1 according to the first information, thereby avoiding data packet loss. Assuming that the source network device also receives a data packet with COUNT=4, and the data packet indicated by the first information sent by the source network device is a data packet with COUNT=5, the remote terminal device transmits subsequent data packets starting from the data packet with COUNT=5 according to the first information, thereby reducing data packet loss.

[0402] In the above description, whether a data packet is transmitted or retransmitted depends on whether the data packet has been transmitted before. If it has been transmitted, it is a retransmission; if it has not been transmitted, it is a transmission (ie, a new transmission).

[0403] It is understandable that, according to the existing retransmission method, the second PDCP entity should start retransmitting based on the first data packet that has not been confirmed to be successfully received by the bottom layer (for example, the RLC layer). However, according to the analysis above, if the data packet received by the relay terminal device and the RLC confirmation feedback is not sent to the source network device, this method will cause this part of the data packet to be lost. In the present application, the receiving state of the first PDCP entity is the actual receiving state of the data packet of the source network device. The second PDCP entity determines the data packet to be retransmitted and / or transmitted based on the receiving state of the first PDCP entity, which can avoid or reduce packet loss.

[0404] Method 2: The second PDCP entity is the PDCP entity corresponding to the UM DRB (i.e., the first DRB is the UM DRB). The second PDCP entity determines the data packet (for example, the corresponding data packet with an SN of 1) according to the first information, regards the data packet determined according to the first information as a data packet received from the upper layer, performs relevant sending operations, but does not restart the discard timer. The COUNT of the data packet is re-associated in ascending order of the COUNT associated before PDCP reconstruction, and transmits after associating the SN starting from COUNT 0.

[0405] If the first information is the above situation 1, illustratively, based on Fig.10 In the example shown, the first information sent by the source network device can be FMS (i.e., 1), then the remote terminal device determines that the data packets with SN {1, 2, 3, 4, 5, 6, 7} before the path switching are all transmitted on the second path according to the first information, and considers that these data packets are data packets received from the upper layer, but does not restart the discard timer, and sets the COUNT of the first data packet to 0 in ascending order of the COUNT of the data packets before PDCP reconstruction, and re-associates the SN from SN=0, and the SNs of the data packets after the re-association of the SN are {0, 1, 2, 3, 4, 5, 6}, respectively, and transmits these data packets to avoid packet loss. The corresponding relationship between the SNs of each data packet before and after PDCP reconstruction can be seen in Table 1.

[0406] Table 1

[0407]

[0408] If the first information is the above situation 2, illustratively, based on Fig.10In the example shown, if the source network device also receives a data packet with SN=4, and the data packet indicated by the first information sent by the source network device is a data packet with SN {1, 2, 3} before the path switching, then the remote terminal device determines that the data packets with SN {1, 2, 3, 5, 6, 7} before the path switching are all transmitted on the second path according to the first information, and considers that these data packets are data packets received from the upper layer, but does not restart the discard timer, and sets the COUNT of the first data packet to 0 in ascending order of the COUNT of the data packets before PDCP reconstruction, and re-associates the SN from SN=0, and the SNs of the data packets after the re-association of the SN are {0, 1, 2, 3, 4, 5} respectively, and transmits these data packets to avoid packet loss. The corresponding relationship between the SNs of each data packet before and after PDCP reconstruction can be seen in Table 2.

[0409] Table 2

[0410]

[0411] If the first information is the above situation 3, illustratively, based on Fig.10 In the example shown, if the source network device also receives a data packet with SN=4, and the first information sent by the source network device indicates a data packet with SN {0, 4}, then the remote terminal device determines that the data packets with SN {1, 2, 3, 5, 6, 7} before the path switching are all transmitted on the second path according to the first information, and considers that these data packets are data packets received from the upper layer, but does not restart the discard timer, and sets the COUNT of the first data packet to 0 in ascending order of the COUNT of the data packets before PDCP reconstruction, and re-associates the SN from SN=0, and the SNs of the data packets after re-association are {0, 1, 2, 3, 4, 5}, respectively. Transmitting these data packets can avoid packet loss. The corresponding relationship between the SNs of each data packet before and after PDCP reconstruction can be seen in Table 2 above.

[0412] If the first information is the above situation 4, illustratively, based on Fig.10In the example shown, if the source network device also receives a data packet with SN=4, the data packet indicated by the first information sent by the source network device may be a data packet with SN=4, then the remote terminal device determines that the data packets with SNs {5, 6, 7} before the path switching are all transmitted on the second path according to the first information, and considers that these data packets are data packets received from the upper layer, but does not restart the discard timer, and sets the COUNT of the first data packet to 0 in ascending order of the COUNT of the data packets before PDCP reconstruction, and re-associates the SN from SN=0, and the SNs of the data packets after re-association are {0, 1, 2} respectively, and transmitting these data packets can avoid or reduce packet loss. The corresponding relationship between the SNs of each data packet before and after PDCP reconstruction can be seen in Table 3.

[0413] Table 3

[0414] Data Pack Packet 1 Packet 2 Packet 3 SN before PDCP reestablishment 5 6 7 SN after PDCP reestablishment 0 1 2

[0415] If the first information is the above situation 5, illustratively, based on Fig.10 In the example shown, if the source network device also receives a data packet with SN=4, and the data packet indicated by the first information sent by the source network device may be a data packet with SN=5, the remote terminal device determines that the data packets with SNs {5, 6, 7} before the path switching are all transmitted on the second path according to the first information, and considers that these data packets are data packets received from the upper layer, but does not restart the discard timer, and sets the COUNT of the first data packet to 0 in ascending order of the COUNT of the data packets before PDCP reconstruction, and re-associates the SN from SN=0, and the SNs of the data packets after re-association are {0, 1, 2} respectively, and transmitting these data packets can avoid or reduce packet loss. The corresponding relationship between the SNs of each data packet before and after PDCP reconstruction can be seen in Table 3 above.

[0416] Regarding the second method, it can be understood that if the second PDCP entity does not retransmit according to the existing retransmission method, it will cause serious packet loss. In the present application, the second PDCP entity can retransmit part or all of the data packets, thereby avoiding or reducing packet loss.

[0417] It should be noted that the first message may include multiple first information. For example, the first message includes two first information, which respectively correspond to the PDCP reception status before the path switching of the first DRB and the second DRB. The second PDCP entity of the remote terminal device can transmit data on the second path according to the first information and the information of the DRB corresponding to the first information. For example, the second PDCP entity of the remote terminal device will transmit data on the second path according to the first information corresponding to the first DRB. The PDCP entity corresponding to the second DRB of the remote terminal device will transmit data on the second path according to the first information corresponding to the second DRB. The data transmission process of the two DRBs is independent. In scheme one, the first message may also be sent by the second network device to the remote terminal device.

[0418] The method provided in Solution 1 can enable the remote terminal device to receive the first information as early as possible by carrying the first information in the switching command, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0419] Solution 2

[0420] Plan 2 includes two plans, Plan 2A and Plan 2B. In Plan 2A, see Fig.13A (Drawing with the example that the first path includes a relay terminal device), the data transmission method provided by the present application includes:

[0421] 1301. A first network device sends a first message to a remote terminal device, where the first message is used to instruct the remote terminal device to switch from being connected to the first network device via a first path to being connected to the second network device via a second path; wherein the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. Accordingly, the remote terminal device receives the first message sent by the first network device.

[0422] In solution 2A, the first message is a handover command. Exemplarily, the first message may be an RRC reconfiguration message. The first network device may send the first message to the remote terminal device via the first path. The first message also includes a data reconstruction or data recovery instruction for the AMDRB.

[0423] In Solution 2A, optionally, the first message further includes information of a DRB corresponding to the first information, or the first message further includes information for indicating the first PDCP entity. For the description of this optional method, please refer to Solution 1, which will not be described in detail.

[0424] In solution 2A, optionally, the second network device and the first network device may be the same network device (for example, Figure 5 (a) and Figure 5 , or different network devices (e.g., Figure 5 (c) and Figure 5 d) in the figure.

[0425] 1302. The first network device sends a second message to the remote terminal device, the second message including first information, the first information being used to indicate a receiving state of a first PDCP entity of the first network device. Accordingly, the remote terminal device receives the second message sent by the first network device.

[0426] In scheme two, the receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device (for example, when the DRB corresponding to the first information (i.e., the first DRB) is an AM DRB, it is used to assist the remote terminal device in uplink retransmission). The first information corresponds to the receiving state of the first PDCP entity of the first DRB before the path switching. The first PDCP entity is the PDCP entity corresponding to the first DRB on the first network device, and the second PDCP entity is the PDCP entity corresponding to the first DRB on the remote terminal device.

[0427] For the relevant description of the first information, please refer to Solution 1 and will not be repeated here.

[0428] In Scheme 2A, optionally, the second message also includes information about the first DRB, or the second message also includes information for indicating the first PDCP entity. The DRB information may be an identifier (ID) of the DRB. By carrying the information about the first DRB in the second message, the remote terminal device can determine which PDCP entity's receiving status is indicated by the first information. The first DRB may be a UM DRB or an AM DRB. Furthermore, the second message may also include information for indicating whether the DRB is a UM DRB or an AM DRB. In this case, the remote terminal device can determine whether the first DRB is a UM DRB or an AM DRB based on the indication.

[0429] In a possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path. Exemplarily, the second message can be an RRC release message. In this possible implementation, the second message can also be sent by the second network device to the remote terminal device.

[0430] In another possible implementation, the second message is a PDCP status report of an AM DRB (in this case, the first DRB is an AM DRB) or a PDCP status report of a UM DRB (in this case, the first DRB is a UM DRB). In this possible implementation, the second message is a PDCP status report of the first DRB. Optionally, the first message and the second message are transmitted through the same MAC PDU. The remote terminal device can perform data transmission on a second path according to the PDCP status report in the MAC PDU, thereby avoiding the remote terminal device performing data transmission on a second path according to an earlier PDCP status report and wasting uplink resources.

[0431] 1303. The second PDCP entity of the remote terminal device transmits data on the second path according to the first information.

[0432] Exemplarily, when the remote terminal device receives the first information (e.g., a PDCP status report), for AM DRBs, the second PDCP entity of the remote terminal device does not start transmission from the first underlying data packet that has not been confirmed to be successfully received, but transmits the data packet that has not been confirmed to be successfully received by the first PDCP entity on the second path according to the PDCP status report received at the time of switching or earlier than the switching command. For UM DRBs, the second PDCP entity of the remote terminal device transmits on the second path after reassociating with the SN according to the PDCP status report received at the time of switching or earlier than the switching command.

[0433] The specific implementation of step 1303 can refer to the above step 1202 and will not be repeated here.

[0434] In Scheme 2A, optionally, if the second message also includes information about the DRB corresponding to the first information, step 1303 may include in its specific implementation: the second PDCP entity of the remote terminal device transmits data on the second path according to the first information and information about the DRB corresponding to the first information.

[0435] The method provided by Solution 2A can transmit the first message and the second message through the same MAC PDU, or carry the first information in the RRC release message or implement it through a network device, and send a PDCP status report before switching, so that the remote terminal device can receive the first information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the first information.

[0436] In Scheme 2B, a data transmission method is provided, including: a network device can send indication information to a remote terminal device, the indication information is used to indicate the receiving status of the PDCP entity, for example: used to indicate a lost data packet, or used to indicate a data packet that was sent successfully, the indication information is, for example: a PDCP status report (or other PDCP status information), the remote terminal device retransmits the lost data packet to the network device based on the indication information, that is: the remote terminal device can determine the lost data packet through the indication information. In other words, the remote terminal device can retransmit the lost data packet to the network device by checking the PDCP status report of the network device (or the indication information used to indicate the lost data packet). The indication information can also be any other information, which is not limited by the embodiments of the present application.

[0437] See also Fig. 13B (Drawn as an example in which a relay terminal device is included in the first path), which is a flow chart of the data transmission method of scheme 2B, including:

[0438] 1304a. The network device decides that the remote terminal device switches from the first path to the second path. For example, the remote terminal device may report the measurement result to the first network device via the first path, and the first network device decides that the remote terminal device switches from communicating with the first network device via the first path to communicating with the second network device via the second path. The first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. The first network device and the second network device may be the same network device or different network devices, and there is no limitation here. Optionally, the first path is, for example, connected to the network device via a relay terminal device, and the second path is, for example, directly connected to the network device.

[0439] 1304b, the first network device sends a first message to the remote terminal device, the first message is used to instruct the remote terminal device to switch from connecting to the first network device through the first path to connecting to the second network device through the second path; accordingly, the remote terminal device receives the first message sent by the first network device. For the description of this step, please refer to 1301, which will not be repeated here.

[0440] 1305. The remote terminal device establishes a connection with the second network device. The remote terminal device establishes a connection with the second network device via the second path. For example, if there is no relay terminal device between the remote terminal device and the second network device in the second path, the remote terminal device establishes a connection by performing random access with the second network device according to the first message in 1304b.

[0441] 1306. The second PDCP entity of the remote terminal device retransmits data on the second path according to the confirmation feedback of the bottom layer. Specifically, the second PDCP entity of the remote terminal device receives the reconstruction or data recovery indication of the AM DRB included in the first message. This step is only applicable to AM DRB and is therefore an optional step.

[0442] 1307. The second network device sends a second message through a second path, the second message including first information, the first information being used to indicate a receiving state of a third PDCP entity of the second network device. Correspondingly, the remote terminal device receives the second message.

[0443] Optionally, the second message also includes information about the third DRB, or the second message also includes information indicating a third PDCP entity. The DRB information may be an identifier (ID) of the DRB. By carrying the information about the third DRB in the second message, the remote terminal device can determine which PDCP entity's receiving status is indicated by the second message. The third DRB may be a UM DRB or an AM DRB. Furthermore, the second message may also include information indicating whether the DRB is a UM DRB or an AM DRB. In this case, the remote terminal device can determine whether the third DRB is a UM DRB or an AM DRB based on the indication.

[0444] In a possible implementation, the second message is an RRC message, and the RRC message is used to instruct the remote terminal device to release the first path. Exemplarily, the second message can be an RRC release message. In this possible implementation, the second message is sent by the second network device to the remote terminal device.

[0445] In another possible implementation, the second message is a PDCP status report of an AM DRB (in this case, the third DRB is an AM DRB) or a PDCP status report of a UM DRB (in this case, the third DRB is a UM DRB). In this possible implementation, the second message is a PDCP status report of a third DRB. Optionally, the second network device may send a second message to the remote terminal device immediately after switching to the second path. The remote terminal device may determine the data packets that have not been successfully transmitted based on the PDCP status report in the second message, and transmit the data packets that have not been successfully transmitted on the second path. The reception status of the second network device may be understood more accurately, and the loss of data packets may be avoided. Compared with Solution 2A, the remote terminal device may avoid transmitting data on the second path based on an earlier PDCP status report, thereby wasting uplink resources.

[0446] Another achievable method is that the second message is a PDCP status report, which is a control PDU. The format of the PDCP status report in the second message can be the same as the PDCP status report in the prior art, that is, it includes FMC and bitmap parts, indicating the receiving status of the PDCP entity. For example, the PDCP status report received by the remote terminal device is FMC=10, and the subsequent bitmap is 00110000, which means that the current first incorrectly received packet is a COUNT value of 10 packets. According to the subsequent bits, it can be determined that the third and fourth packets after packet No. 10, that is, packets No. 13 and No. 14, have been correctly received, and the remaining packets have not been correctly received. The format of the PDCP status report may also be different from that in the prior art, which is not limited here. Optionally, the second message also includes a fifth indication information indicating that the sent PDCP status report triggers data retransmission. For example, a new form of PDCP status report can be introduced through the PDU type to trigger data retransmission. For example, the PDU type of the PDCP control PDU has a 3-bit indication, which can be 011, which is different from the 000 of the ordinary PDCP status report. This status report can be used to trigger the remote terminal device to retransmit data. For example, the PDCP status report indicates that the first packet that was not successfully received was packet 10. Subsequently, packets 13 and 14 have been received successfully, and packets 10, 11, 15 and subsequent packets need to be resent.

[0447] 1308. The remote terminal device retransmits the data packet that the reception status indicates is not successfully received according to the reception status received from the PDCP entity. The reception status of the PDCP entity may be indicated by a PDCP status report.

[0448] A possible implementation is that when the remote terminal device receives the second message (e.g., a PDCP status report), the second PDCP entity of the remote terminal device receives the first PDCP status report of the third PDCP entity after the remote terminal device switches from the path of the indirect connection network (i.e., the first path), and the remote terminal device transmits the data packets that the third PDCP entity has not confirmed to be successfully received on the second path. For example, the content of the status report received by the third DRB indicates that the first packet that was not successfully received was packet No. 10, and subsequently, packets No. 13 and No. 14 have been successfully received. If the status report is the first status report received on the third DRB after the remote terminal device switches from the relay terminal device or a status report received within a fixed time after the path is switched (e.g., within time T), the remote terminal device needs to resend or send the data packets that have not been confirmed to be successfully received, i.e., packets No. 10, 11, 15 and subsequent packets. If the report is not the first status report received on the third DRB after the remote terminal device switches from the relay terminal device or is a status report received after a fixed time after the path switching occurs (for example, after time T), the remote terminal device only needs to delete the data packet confirming successful reception, and will not trigger retransmission of the data packet. The PDCP status report can be a PDCP status report of an AM DRB or a PDCP status report of a UM DRB. In the case of a UM DRB, the FMC of the status report of the UM DRB needs to be the COUNT value before the switch. For a detailed introduction to the UM PDCP status report, please refer to the above step 1202 and will not be repeated here.

[0449] Another possible implementation is that when the remote terminal device receives the second message (for example, a PDCP status report), the remote terminal device transmits the data packets that the third PDCP entity has not confirmed to be successfully received on the second path according to the PDCP status report of the third PDCP entity that includes the fifth indication information. For example, the status report included in the second message is the status report of the third DRB, and the content indicates that the first packet that was not successfully received was packet No. 10, and subsequently, packets No. 13 and No. 14 have been received successfully. If the PDU type indication of the status report is not 000, for example, it is 011, then after receiving the report, the remote terminal device needs to resend or send the data packets that have not been confirmed to be successfully received in the report, that is, packets No. 10, 11, 15 and subsequent packets. If the PDU type indication of the status report is 000, that is, it does not include the fifth indication information, then the remote terminal device only needs to delete the data packets that confirm successful reception, and will not trigger the retransmission of the data packets. When the second network device determines that the remote terminal device switches from the path of the indirect connection network (that is, the first path) to the second path, it sends the status report to the remote terminal device. The PDCP status report may be a PDCP status report of an AM DRB or a PDCP status report of a UM DRB. Of course, in the specific implementation process, the second network device may also send the PDCP status to the remote terminal device at other times, which is not limited in the embodiment of the present application.

[0450] The method provided by Solution 2B can actively trigger the remote terminal device to retransmit data by sending a PDCP status report after switching. The remote terminal device can retransmit and transmit data on the second path according to the accurate reception status of the network device, thereby avoiding or reducing packet loss.

[0451] In Solution 1 and Solution 2, the network device can decide whether to send the first information according to whether the remote terminal device is accessed through the relay terminal device. The remote terminal device can also determine whether to transmit data according to the first information according to whether it receives a switching command or a path switching command through the relay terminal device.

[0452] Downlink scenario

[0453] In the downlink scenario, the loss of downlink data packets can be avoided or mitigated by the following solution 3 or solution 4.

[0454] Option 3

[0455] See also Fig.15 (Drawing with the example that the second path does not include the relay terminal device), the data transmission method provided by the present application includes:

[0456] 1501. The remote terminal device sends a third message to the second network device, the third message is used to indicate that the remote terminal device completes the RRC connection configuration, and the third message includes second information, and the second information is used to indicate the receiving state of the second PDCP entity of the remote terminal device. Correspondingly, the second network device receives the third message sent by the remote terminal device.

[0457] Exemplarily, the third message may be an RRC reconfiguration completion message.

[0458] Optionally, the third message also includes information about the DRB corresponding to the second information. It should be noted that the third message may include multiple second information. For example, the third message includes two second information, which respectively correspond to the PDCP reception status before the switching path between the first DRB and the second DRB. The first PDCP entity of the network device performs data transmission on the second path according to the second information and the information of the DRB corresponding to the second information. For example, the first PDCP entity of the network device performs data transmission on the second path according to the second information corresponding to the first DRB. The PDCP entity corresponding to the second DRB of the network device will perform data transmission on the second path according to the second information corresponding to the second DRB. The data transmission process of the two DRBs is independent.

[0459] In solution three, the remote terminal device switches from connecting to the first network device (i.e., the source network device) via the first path to connecting to the second network device (i.e., the target network device) via the second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. Exemplarily, the remote terminal device can perform path switching upon receiving a switching command.

[0460] In solution three, the receiving state of the second PDCP entity of the remote terminal device is used for data transmission of the third PDCP entity of the target network device (for example, when the DRB corresponding to the second information (i.e., the first DRB mentioned above) is an AM DRB, it is used to assist the target network device in downlink retransmission). The second PDCP entity is the PDCP entity corresponding to the first DRB on the remote terminal device, and the third PDCP entity is the PDCP entity corresponding to the first DRB on the second network device. In solution three, optionally, the second network device and the first network device can be the same network device (for example, Figure 5 (a) and Figure 5 , or different network devices (e.g., Figure 5 (c) and Figure 5 d) in the figure.

[0461] In solution 3, the second information may optionally include the following:

[0462] Case 6: The second information is used to indicate the SN or COUNT of the first data packet that the second PDCP entity has not successfully received. Case 6 can be understood by referring to Case 1 above, except that the second PDCP entity is used here.

[0463] Case 7: The second information is used to indicate the SN or COUNT of the data packet that the second PDCP entity has not successfully received. Case 7 can be understood by referring to Case 2 above, except that the second PDCP entity is used here.

[0464] Case 8: The second information is used to indicate the SN or COUNT of the data packet successfully received by the second PDCP entity. Case 8 can be understood by referring to Case 3 above, except that the second PDCP entity is used here.

[0465] Case 9: The second information is used to indicate the SN or COUNT of the last data packet successfully received by the second PDCP entity. Case 9 can be understood by referring to Case 4 above, except that it is the second PDCP entity here.

[0466] Case 10: The second information is used to indicate the maximum SN of the data packets successfully received by the second PDCP entity or the value of COUNT plus 1. Case 10 can be understood with reference to Case 5 above, except that it is the second PDCP entity here.

[0467] It should be noted that the second information is determined according to the reception status of the data packet of the second PDCP entity before the path switching.

[0468] Exemplarily, the third message may be an RRC reconfiguration completion message.

[0469] Optionally, before step 1501, the method may further include: 1500, the remote terminal device generates a third message.

[0470] 1502. The second network device transmits data on the second path according to the second information. For example, the second network device retransmits and / or transmits data on the first DRB according to the second information.

[0471] The method provided by Solution 3 can enable the second network device to receive the second information as early as possible by carrying the second information in the third message, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0472] Option 4

[0473] See also Fig.16(Drawing with the example that the second path does not include the relay terminal device), the data transmission method provided by the present application includes:

[0474] 1601. The remote terminal device sends a third message to the second network device, where the third message is used to indicate that the remote terminal device has completed the RRC connection configuration. Correspondingly, the second network device receives the third message sent by the remote terminal device. The second network device determines that the remote terminal device has completed the RRC connection configuration according to the third message.

[0475] Exemplarily, the third message may be an RRC reconfiguration completion message.

[0476] In solution 4, the remote terminal device switches from connecting to the first network device (i.e., the source network device) via the first path to connecting to the second network device (i.e., the target network device) via the second path, the first path includes at least one relay terminal device, and the second path includes at least one relay terminal device or does not include a relay terminal device. Exemplarily, the remote terminal device can perform path switching upon receiving a switching command.

[0477] In solution 4, optionally, the second network device and the first network device may be the same network device (for example, Figure 5 (a) and Figure 5 , or different network devices (e.g., Figure 5 (c) and Figure 5 d) in the figure.

[0478] 1602. The remote terminal device sends a fourth message to the second network device, where the fourth message includes second information, and the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device. Accordingly, the remote terminal device receives the fourth message sent by the remote terminal device. It should be noted that, when the second information is a PDCP status report (or the fourth message is a PDCP status report), the remote terminal device can package the fourth message and the third message in the same MAC PDU and send them to the second network device.

[0479] In solution 4, the receiving state of the second PDCP entity of the remote terminal device is used for data transmission of the third PDCP entity of the target network device. For a detailed description, please refer to solution 3, which will not be repeated here.

[0480] In Solution 4, the relevant description of the second information can be found in Solution 3 and will not be repeated here.

[0481] 1603. The second network device transmits data on the second path according to the second information. For example, the second network device retransmits and / or transmits data on the first DRB according to the second information.

[0482] The method provided by Solution 4, by packaging the fourth message and the third message in the same MAC PDU and sending them to the second network device, can enable the second network device to receive the second information as early as possible, thereby avoiding or reducing packet loss when data is transmitted on the second path according to the second information.

[0483] In Solution 3 and Solution 4, the remote terminal device may decide whether to send the second information according to the configuration of the network device or according to whether it switches from a path including the relay terminal device to another path.

[0484] Solutions 1, 2, 3, and 4 in this application are applicable to any of the following scenarios:

[0485] Scenario 1: The first DRB is an AM DRB. After the remote terminal device receives the PDCP reestablishment indication or the PDCP data recovery indication sent by the network device, the remote terminal device stops data transmission with the relay terminal device after the PDCP entity is reestablished or the PDCP entity data is recovered. After the network device sends the PDCP reestablishment indication or the PDCP data recovery indication, it also stops sending data to the remote terminal device and stops receiving data from the remote terminal device. The relay terminal device also stops data transmission after receiving the RRC reconfiguration message sent by the network device.

[0486] Scenario 2: The first DRB is a UM DRB. After the remote terminal device receives the PDCP reestablishment indication sent by the network device, after the PDCP entity is reestablished, the remote terminal device stops data transmission with the relay terminal device. The network device sends the PDCP reestablishment indication, stops sending data to the remote terminal device, and stops receiving data from the remote terminal device. The relay terminal device also stops data transmission after receiving the RRC reconfiguration message sent by the network device.

[0487] Scenario 3, the remote terminal device performs DAPS path switching. The remote terminal device can be configured to simultaneously connect to the first network device through the relay terminal device (i.e., connect to the first network device through the first path) and directly connect to the second network device (i.e., connect to the second network device through the second path, and the second path may also include other relay terminal devices). When path switching occurs or DAPS is established, for the downlink, the network device may no longer send new data to the remote terminal device through the first path, but instead send data to the remote terminal device through the second path, and the relay terminal device on the first path continues to send the remaining data of the relay terminal device on the first path to the remote terminal device. The network device can also send data on both paths at the same time without restricting the data sent. For the uplink, when the remote terminal device receives a path switching indication, the remote mid-end device can no longer send new data to the network device through the first path. The relay terminal device on the first path continues to send the remaining data of the relay terminal device on the first path to the network device. The remote mid-end device can also send data on both paths at the same time without restricting the data sent.

[0488] Scenario 4: The first DRB is an AM DRB. After the remote terminal device receives the PDCP reestablishment indication or the PDCP data recovery indication sent by the network device, or the first DRB is a UM DRB. After the remote terminal device receives the PDCP reestablishment indication sent by the network device, after the PDCP entity is reestablished or the PDCP entity data is recovered, the remote terminal device stops data transmission with the relay terminal device. After the network device sends the PDCP reestablishment indication or the PDCP data recovery indication, it stops sending data to the remote terminal device but continues to receive data from the remote terminal device from the relay terminal device. After determining that the remaining remote terminal device data has been received by the relay terminal device, the protocol stack on the network device side is released. After the relay terminal device receives the RRC reconfiguration message sent by the network device, it stops data transmission to the remote terminal device, but completes the reconfiguration of the adaptation layer after the adaptation layer of the relay terminal device transmits the data of the remote terminal device.

[0489] In the above scheme, optionally, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication. In this case, the method may also include: if the first message also includes a PDCP reconstruction indication, the remote terminal device reconstructs the second PDCP entity of the remote terminal device according to the PDCP reconstruction indication. If the first message also includes a PDCP data recovery indication, the remote terminal device recovers the data of the second PDCP entity of the remote terminal device according to the PDCP data recovery indication. Wherein, if the first DRB is an AM DRB, the first message also includes a PDCP reconstruction indication or a PDCP data recovery indication. If the first DRB is a UM DRB, the first message also includes a PDCP reconstruction indication.

[0490] In the above scheme, optionally, the first message also includes first indication information and / or second indication information, the first indication information is used to indicate the reconstruction of the first RLC entity, and the second indication information is used to indicate the resetting of the first MAC entity. In this case, the method may also include: if the first message also includes the first indication information, the remote terminal device reconstructs the first RLC entity according to the first indication information, and / or, if the first message also includes the second indication information, the remote terminal device resets the first MAC entity according to the second indication information. The reset of the MAC entity may also be implicitly indicated, for example, by a switching command indication. At this time, when the remote terminal device receives the switching command, the MAC entity is reset. The first indication information and the second indication information may be the same indication information or different indication information, which is not limited in this application.

[0491] Among them, the first RLC entity is the entity corresponding to the PC5RLC bearer configured for the first DRB before the remote terminal device performs path switching. The first MAC entity is the MAC entity corresponding to the PC5 RLC bearer configured for the first DRB before the remote terminal device performs path switching (i.e., PC5 MAC entity). Among them, the reset of the first MAC entity can be performed in the absence of other PC5-related services. By rebuilding the first RLC entity and resetting the first MAC entity, the remote terminal device can quickly configure when connecting to a new relay terminal device, reduce the occupancy of computing resources, and save terminal energy consumption.

[0492] In the above scheme, optionally, the first message also includes first configuration information, and the first configuration information is used to configure the first RLC bearer and the first association relationship, and the first association relationship is the association relationship between the first RLC bearer and the second PDCP entity of the remote terminal device (the second PDCP entity at this time is the second PDCP entity after PDCP reconstruction or PDCP data recovery). In this case, the method may also include: the remote terminal device configures the first RLC bearer and the first association relationship according to the first configuration information. Among them, configuring the first association relationship can, for example, be to associate the ID of the first DRB with the LCID corresponding to the first RLC bearer.

[0493] Among them, the first RLC bearer is an RLC bearer configured for the first DRB after the remote terminal device performs path switching. If the second path does not include a relay terminal device, the first RLC bearer is a Uu RLC bearer, and if the second path includes a relay terminal device, the first RLC bearer is a PC5 RLC bearer. Optionally, the first message may also include configuration information for configuring the second MAC entity, and the remote terminal device configures the second MAC entity according to the configuration information (for example, configures logical channels, priorities of logical channels, etc.). The second MAC entity is the MAC entity corresponding to the first RLC bearer. The purpose of configuring the first RLC bearer and the second MAC entity is for the remote terminal device to transmit uplink data packets and / or downlink data packets through the second path. Among them, the configuration of the first RLC bearer, the first association relationship, and the second MAC entity can be implemented through the same configuration information (i.e., the first configuration information), or can be implemented through different configuration information respectively. If implemented through different configuration information, these configuration information can be sent through the same message (such as the first message) or through different messages, and this application does not limit it.

[0494] In the above solution, optionally, the first network device configures a first relay terminal device. In this case, the method may further include:

[0495] 11) The first network device sends second configuration information to the first relay terminal device, and the second configuration information is used to indicate the reconstruction of the RLC entity. Correspondingly, the first relay terminal device receives the second configuration information sent by the first network device. Among them, the first relay terminal device is a relay terminal device in the first path. Specifically, it can be a relay terminal device in at least one relay terminal device in the first path. The RLC entity here is the RLC entity in the RLC bearer configured for the first DRB for communicating with the previous hop before the remote terminal device performs path switching.

[0496] 12) The first relay terminal device reconstructs the RLC entity according to the second configuration information.

[0497] In the above solution, optionally, the first network device sends third configuration information to the first relay terminal device, where the third configuration information is used to instruct to reconfigure the adaptation layer. Correspondingly, the first relay terminal device receives the third configuration information sent by the first network device.

[0498] In the above scheme, for scenario 1 and scenario 2, optionally, the method may further include: the first network device immediately sends the second configuration information after sending the switching command. In this case, the first relay terminal device can receive the reconfiguration command as soon as possible, reducing the waste of resources and subsequent complex failure judgment and processing caused by the remote terminal device having stopped receiving and the relay terminal device still sending.

[0499] In the above solution, for scenario 1 and scenario 2, optionally, the method may further include:

[0500] 21) The first network device sends fourth configuration information to the first relay terminal device, where the fourth configuration information is used to instruct the configuration of the MAC entity. Correspondingly, the first relay terminal device receives the fourth configuration information sent by the first network device. The first network device may send the fourth configuration information immediately after sending the switching command.

[0501] 22) The first relay terminal device configures the MAC entity according to the fourth configuration information.

[0502] In the above solution, for scenario 1 and scenario 2, optionally, the method further includes:

[0503] 31) The first network device sends third configuration information to the first relay terminal device, where the third configuration information is used to instruct to reconfigure the adaptation layer. Correspondingly, the first relay terminal device receives the third configuration information sent by the first network device.

[0504] 32) The first relay terminal device reconfigures the adaptation layer according to the third configuration information.

[0505] Among them, the reconfiguration process of the adaptation layer of the first relay terminal device includes one or more of the following contents: removing the association relationship between the second RLC bearer of the first relay terminal device and the identifier of the remote terminal device, and removing the association relationship between the second RLC bearer of the first relay terminal device and the third RLC bearer of the first relay terminal device.

[0506] Among them, the identifier of the remote terminal device can be the layer 2 destination identifier (Layer2destination ID) of the remote terminal device, the ID of the first DRB, etc. The second RLC bearer and the third RLC bearer of the first relay terminal device are both RLC bearers configured for the first DRB, the second RLC bearer is a PC5 RLC bearer, which is used to communicate with the previous hop, and the third RLC bearer is a PC5RLC bearer or a Uu RLC bearer, which is used to communicate with the next hop. After the adaptation layer is reconfigured, the adaptation layer of the first relay terminal device no longer associates the data packets submitted by the RLC entity in the second RLC bearer with the identifier of the remote terminal device and / or the ID of the first DRB, and deletes the data packets of the adaptation layer related to the identifier of the remote terminal device.

[0507] It should be noted that the adaptation layer may serve multiple terminal devices. Therefore, at the adaptation layer, multiple DRBs of multiple remote terminals can be mapped to one DRB of the relay terminal device. If a path switch occurs in the remote terminal device, it is necessary to clear the information related to the remote terminal device where the path switch occurs.

[0508] In the above scheme, for scenario 3, the first message also includes a DAPS indication, and the DAPS indication is used to indicate that the PDCP is reconfigured to DAPS. In this case, the method also includes: the remote terminal device performs a random access process with the target network device while maintaining a connection with the first network device according to the DAPS indication, accesses the target network device through the random access process, and reconfigures the second PDCP entity to the DAPS PDCP. At the same time, the first network device may also reconfigure the first PDCP to the DAPS PDCP, and stop sending new data packets to the remote terminal device (the retransmitted data packets can continue to be sent). Optionally, the first network device sends an indication message (referred to as the third indication message) to the remote terminal device, and the third indication message is used to indicate the last data packet sent through the relay terminal device. The remote terminal device determines when to stop receiving the downlink data packet of the first network device based on the third indication message. Exemplarily, the third indication message can be carried in the RRC reconfiguration message.

[0509] After the remote terminal device and the first network device are reconfigured with DAPS PDCP, the protocol layer architecture of each device can be seen in Fig.14 , through DAPS PDCP, the remote terminal device can communicate with the first network device and the second network device at the same time.

[0510] In the above solution, for scenario 4, optionally, the method may further include:

[0511] 41) After the adaptation layer of the first relay terminal device transmits the data packet submitted by the RLC entity indicated in the second configuration information (i.e., the RLC entity in the second RLC bearer of the first relay terminal device mentioned above), the corresponding relationship between the remote terminal device and the air interface RLC bearer (i.e., the third RLC bearer of the first relay terminal device mentioned above, at this time, the next hop of the first relay terminal device is the first network device) is removed. Optionally, the corresponding relationship between the remote terminal device and the RLC bearer of the PC5 port (i.e., the second RLC bearer of the first relay terminal device mentioned above) is also removed. In other words, if the relay terminal device and the first network device continue to complete the transmission of uplink data after PDCP reconstruction or PDCP data recovery, the adaptation layer of the first relay terminal device can reconfigure the adaptation layer after transmitting the data packet submitted by the RLC entity in the second RLC bearer (for example, after adding a header to the data packet submitted by the RLC entity in the second RLC bearer and submitting it to the bottom layer), thereby preventing the problem of uplink data packet loss caused by premature adaptation layer reconfiguration.

[0512] In the above solution, for the above scenario 4, optionally, the method further includes:

[0513] 51) After sending the last data packet to the remote terminal device, the first relay terminal device sends an endmarker to the first network device, where the endmarker is used to indicate that the data packet forwarded by the first relay terminal device to the remote terminal device has been sent. Correspondingly, the first network device receives the endmarker sent by the first relay terminal device.

[0514] Exemplarily, the first relay terminal device can generate a termination indication (for example, an empty data packet, or a specific identification) corresponding to the identifier of the remote terminal device or the identifier of the first DRB in the adaptation layer after reestablishing the RLC entity in the PC5 RLC bearer. At this time, the first network device determines that the data packet forwarded by the relay terminal device for the remote terminal device is completed based on the received termination indication. Step 51) can also be implemented in other ways, which is not limited by this application.

[0515] 52) The first network device performs PDCP reestablishment indication or PDCP data recovery for the first PDCP entity according to the termination indication, and reconfigures the adaptation layer.

[0516] In the above scheme, for scenario 1 and scenario 4, the processing of each protocol layer of each device can be seen in Table 4. For scenario 2, the processing of each protocol layer of each device can be seen in Table 5. For scenario 3, the processing of each protocol layer of each device can be seen in Table 6. In Tables 4 to 6, "-" means that there is no such protocol layer. "No action" means that this application does not involve the processing of the protocol layer.

[0517] Table 4

[0518]

[0519]

[0520] Table 5

[0521]

[0522] Table 6

[0523]

[0524] The above-mentioned solutions 1, 2, 3 and 4 can be implemented separately or in combination (Solution 1 + Solution 3, Solution 1 + Solution 4, Solution 2 + Solution 3, Solution 2 + Solution 4). These solutions can be applied to the above-mentioned scenario 1 (in this case, the second information is determined after the remote terminal device stops data transmission), scenario 2 (in this case, the second information is determined after the remote terminal device stops data transmission), scenario 3 and scenario 4.

[0525] When the scheme in the uplink scenario and the scheme in the downlink scenario are combined, optionally, the first message also includes fourth indication information, and the fourth indication information is used to indicate the remote terminal device to carry the second information in the first message after the switch. In this case, after the remote terminal device performs a random access procedure with the second network device, the remote terminal device sends the second information to the second network device in the RRC reconfiguration completion message.

[0526] In the embodiment of the present application, the SN or COUNT of the data packet may also be other information of the data packet, as long as the data packet can be uniquely identified, for example, it may be an index of the data packet, etc. The receiving state indicated by the first information and the second information in the present application may not be the receiving state of the PDCP layer, but the receiving state of other layers (for example, the RLC layer), which is not limited in the present application. In addition, the numbering of the data packets in the present application may not be SN or COUNT, but the numbering of other sequences, which is not limited in the present application.

[0527] In order to make the embodiments of the present application clearer, the methods provided in the above embodiments are exemplarily described below through different scenarios.

[0528] Scenario 1: The first DRB is an AM DRB. After PDCP reestablishment or PDCP data recovery, the remote terminal device, the relay terminal device and the network device all stop data transmission.

[0529] In scenario 1, see Fig.17 , a data transmission method process includes:

[0530] 1701-1706 are the same as steps 901 to 906 respectively.

[0531] Fig.17 in Fig. 9 The steps are the same as in Fig. 9 In the steps, path 1 is replaced by the first path, path 2 is replaced by the second path, the source network device is replaced by the first network device, and the target network device is replaced by the second network device. When the first network device and the second network device are the same network device, there is no step 1705 and step 1706.

[0532] 1707. The first network device sends an RRC reconfiguration message (ie, the first message mentioned above) to the remote terminal device via the relay terminal device. Correspondingly, the remote terminal device receives the RRC reconfiguration message sent by the first network device.

[0533] The RRC reconfiguration message is used to instruct the remote terminal device to switch from connecting to the first network device via the first path to connecting to the second network device via the second path. The RRC reconfiguration message includes the above-mentioned first information, information of the DRB corresponding to the first information, a PDCP reestablishment indication or a PDCP data recovery indication for the first DRB, the first indication information, and the first configuration information.

[0534] After step 1707, the first network device stops sending downlink data packets to the relay terminal device.

[0535] 1708. The remote terminal device performs PDCP reconstruction or PDCP data recovery according to the PDCP reconstruction indication or the PDCP data recovery indication, the second PDCP entity transmits data on the second path according to the first information (or the first information and the DRB corresponding to the first information), reconstructs the first RLC entity according to the first indication information, and configures the first RLC bearer and the first association relationship according to the first configuration information.

[0536] In the specific implementation of step 1708, when PDCP reestablishment or PDCP data recovery occurs in the second PDCP entity, the remote terminal device confirms the reception status of the data packet according to the first information included in the RRC reconfiguration message, and retransmits and / or transmits in ascending order of the count value starting from the first data packet that was not successfully received, rather than the first data packet that was not confirmed to be successfully received by the underlying layer (for example, the RLC layer).

[0537] 1709. The first network device performs PDCP reconstruction indication or PDCP data recovery for the first PDCP entity, and reconfigures the adaptation layer.

[0538] Step 1709 can be executed after step 1707, and there is no absolute order between step 1709 and other steps.

[0539] 1710. Same as step 908.

[0540] 1711. The remote terminal device sends an RRC reconfiguration completion message (ie, the third message mentioned above) to the second network device. Correspondingly, the second network device receives the RRC reconfiguration completion message sent by the remote terminal device and determines that the RRC reconfiguration is completed.

[0541] The RRC reconfiguration completion message includes the second information.

[0542] Optionally, the RRC reconfiguration message also includes fourth indication information, and the fourth indication information is used to indicate that the remote terminal device carries the second information in the first message after the switch. In this case, after receiving the fourth indication information, the remote terminal device can determine the SN of the data packet that was not received by the remote terminal device before the PDCP reconstruction, and generate the second information. In step 1711, the remote terminal device can send the second information to the second network device in the RRC reconfiguration completion message under the instruction of the fourth indication information, so that the second network device can start transmission from the data packet that was not successfully received by the remote terminal device or that was actually sent by the relay terminal device, thereby reducing the loss of data packets.

[0543] 1712. The second network device transmits data on the second path according to the second information.

[0544] The specific implementation of step 1712 can refer to the specific implementation of step 1502 above, which will not be repeated here.

[0545] 1713. The first network device sends an RRC reconfiguration message to the relay terminal device. Correspondingly, the relay terminal device receives the RRC reconfiguration message sent by the first network device.

[0546] The RRC reconfiguration message may include the second configuration information and the third configuration information.

[0547] 1714. The relay terminal device reconstructs the RLC entity according to the second configuration information and reconfigures the adaptation layer according to the third configuration information.

[0548] 1715-1717 are the same as steps 911 to 913 respectively.

[0549] In another possible implementation, when the first information is an AM DRB PDCP status report, the first information may not be carried in the RRC reconfiguration message, but may be packaged with the RRC reconfiguration message in the same MAC PDU and sent to the remote terminal device. In this case, in step 1708, when the PDCP is reestablished or the PDCP data is restored, the remote terminal device retransmits according to the latest AM DRB PDCP status report received before the PDCP is reestablished or the PDCP data is restored.

[0550] In another possible implementation, when the second information is an AM DRB PDCP status report, the second information may not be carried in the RRC reconfiguration complete message, but may be packaged with the RRC reconfiguration complete message in the same MAC PDU and sent to the second network device. In this case, in step 1712, the second network device may retransmit according to the latest AM DRB PDCP status report received.

[0551] Fig.17 The method shown, for AM DRB, can avoid the loss of data packets at the relay terminal device and ensure service continuity. Fig.17 The solutions for uplink data packets and downlink data packets in the method shown can also be implemented separately, and this application does not limit this.

[0552] Scenario 2: The first DRB is a UM DRB. After PDCP is reestablished, the remote terminal device, the relay terminal device and the network device all stop data transmission.

[0553] In scenario 2, see Fig.18 , a data transmission method process includes:

[0554] 1801-1806 are the same as steps 1701 to 1706 respectively.

[0555] 1807. The first network device sends an RRC reconfiguration message (ie, the first message mentioned above) to the remote terminal device via the relay terminal device. Correspondingly, the remote terminal device receives the RRC reconfiguration message sent by the first network device.

[0556] The RRC reconfiguration message is used to instruct the remote terminal device to switch from connecting to the first network device via the first path to connecting to the second network device via the second path. The RRC reconfiguration message includes the above-mentioned first information, information of the DRB corresponding to the first information, a PDCP reestablishment indication for the first DRB, the first indication information, and the first configuration information.

[0557] After step 1807, the first network device stops sending downlink data packets to the relay terminal device.

[0558] 1808. The remote terminal device performs PDCP reconstruction according to the PDCP reconstruction indication, the second PDCP entity of the remote terminal device transmits data on the second path according to the first information (or the first information and the DRB corresponding to the first information), reconstructs the first RLC entity according to the first indication information, and configures the first RLC bearer and the first association relationship according to the first configuration information.

[0559] In the specific implementation of step 1808, when PDCP reconstruction occurs in the second PDCP entity, the remote terminal device determines the data packet (for example, data packet) according to the first information included in the RRC reconfiguration message, regards the data packet determined according to the first information as a data packet received from the upper layer but does not restart the discard timer, and re-associates the SN starting from COUNT 0 in the ascending order of the COUNT associated before PDCP reconstruction for transmission.

[0560] 1809. The first network device issues a PDCP reconstruction instruction to the first PDCP entity, and reconfigures the adaptation layer.

[0561] Step 1809 can be executed after step 1807, and there is no absolute order between step 1809 and other steps.

[0562] 1810-1817 are the same as steps 1710 to 1717 respectively.

[0563] In another possible implementation, when the first information is a UM DRB PDCP status report, the first information may not be carried in the RRC reconfiguration message, but may be packaged with the RRC reconfiguration message in the same MAC PDU and sent to the remote terminal device. In this case, in step 1808, when the PDCP is reestablished, the remote terminal device associates and transmits the SN or COUNT according to the latest UM DRB PDCP status report received before the PDCP is reestablished.

[0564] In another possible implementation, when the second information is a UM DRB PDCP status report, the second information may not be carried in the RRC reconfiguration complete message, but may be packaged with the RRC reconfiguration complete message in the same MAC PDU and sent to the remote terminal device. In this case, in step 1812, the network device associates and transmits the latest UM DRB PDCP status report received by the network device with the SN or COUNT.

[0565] Fig.18 The method shown, for UM DRB, can avoid the loss of data packets at the relay terminal device and ensure service continuity. Fig.18The solutions for uplink data packets and downlink data packets in the method shown can also be implemented separately, and this application does not limit this.

[0566] Scenario 3: The remote terminal device performs DAPS path switching.

[0567] In scenario 3, when path switching occurs, the remote terminal device maintains dual connections with the first network device and the relay terminal device at the same time, see Fig.19 , the data transmission method provided by this application includes:

[0568] 1901-1906 are the same as steps 1701 to 1706 respectively.

[0569] 1907. The first network device sends an RRC reconfiguration message to the remote terminal device via the relay terminal device. Correspondingly, the remote terminal device receives the RRC reconfiguration message sent by the first network device.

[0570] The RRC reconfiguration message is used to instruct the remote terminal device to switch from being connected to the first network device via the first path to being connected to the second network device via the second path. The RRC reconfiguration message includes a DAPS indication.

[0571] Optionally, the RRC reconfiguration message also includes first configuration information. In this case, the remote terminal device can configure the first RLC bearer and the first association relationship according to the first configuration information.

[0572] Optionally, the RRC reconfiguration message further includes third indication information, and the third indication information is used to indicate the last data packet sent by the relay terminal device. The remote terminal device determines when to stop receiving the data packet from the first network device according to the third indication information.

[0573] 1908. The first network device reconfigures the first PDCP entity to DAPS PDCP.

[0574] After step 1908, the first network device stops sending new data packets to the remote terminal device, and retransmitted data packets can continue to be sent.

[0575] 1909. The remote terminal device reconfigures the second PDCP entity to the DAPS PDCP according to the DAPS instruction.

[0576] There is no particular order in which steps 1908 and 1909 are executed.

[0577] 1910-1911 are the same as step 1710 and step 1711 respectively.

[0578] After step 1910, the remote terminal device may trigger uplink data switching.

[0579] After step 1911, optionally, the second network device sends a switching completion message to the first network device, where the switching completion message is used to indicate that the switching of the remote terminal device is completed.

[0580] 1912. The first network device sends an RRC reconfiguration message to the relay terminal device. Correspondingly, the relay terminal device receives the RRC reconfiguration message sent by the first network device.

[0581] The RRC reconfiguration message may include a switching indication, and the switching indication is used to indicate that a path switching has occurred in the remote terminal device.

[0582] 1913. The relay terminal device determines not to send new data packets to the remote terminal device according to the switching indication, but retransmitted data packets can continue to be sent.

[0583] 1914. The relay terminal device sends an RRC reconfiguration completion message to the first network device.

[0584] 1915. After the remote terminal device accesses, the second network device sends an RRC release message (i.e., the second message mentioned above) to the remote terminal device. The RRC release message is used to instruct the remote terminal device to release the connection with the relay terminal device, i.e., release the protocol stack with the relay terminal device on the first path and stop communicating on the first path. Correspondingly, the remote terminal device receives the RRC release message sent by the second network device.

[0585] The RRC release message includes the first information and the DRB information corresponding to the first information.

[0586] 1916. The second PDCP entity of the remote terminal device transmits data on the second path according to the first information (or the first information and the DRB corresponding to the first information).

[0587] 1917. After determining that the relay terminal device has finished sending the uplink data packet, the first network device sends a release message to the relay terminal device, where the release message is used to instruct the relay terminal device to stop data transmission with the remote terminal device and release the configuration related to the remote terminal device.

[0588] The release message may include the second configuration information and the third configuration information.

[0589] 1918. The relay terminal device reconstructs the RLC entity according to the second configuration information and reconfigures the adaptation layer according to the third configuration information.

[0590] 1919-1920 are the same as step 1716 and step 1717 respectively.

[0591] Fig.19 In the illustrated embodiment, when the remote terminal device maintains dual connection, the first information can be indicated to the remote terminal device through an RRC release message. When the PDCP entity is reestablished, the first DRB can be an AM DRB or a UM DRB, and when the PDCP entity data is restored, the first DRB can be an AM DRB.

[0592] Scenario 4: The first DRB is an AM DRB or a UM DRB. After PDCP reconstruction or PDCP data recovery (when PDCP entity reconstruction is performed, the first DRB can be an AM DRB or a UM DRB, and when PDCP entity data recovery is performed, the first DRB can be an AM DRB), the remote terminal device stops uplink transmission and downlink reception, the first network device continues uplink reception, and the relay terminal device continues uplink transmission. That is to say, after PDCP reconstruction or PDCP data recovery, the relay terminal device and the first network device continue to complete the uplink data transmission.

[0593] In scenario 4, when path switching occurs, see Fig. 20 , the data transmission method provided by this application includes:

[0594] 2001-2006 are the same as steps 1701 to 1706 respectively.

[0595] 2007. The first network device sends an RRC reconfiguration message to the remote terminal device via the relay terminal device. Correspondingly, the remote terminal device receives the RRC reconfiguration message sent by the first network device.

[0596] The RRC reconfiguration message is used to instruct the remote terminal device to switch from connecting to the first network device via the first path to connecting to the second network device via the second path. The RRC reconfiguration message includes a PDCP reestablishment indication or a PDCP data recovery indication for the first DRB, first indication information, and first configuration information.

[0597] After step 2007, the first network device stops sending downlink data packets to the relay terminal device.

[0598] 2008. The second PDCP entity of the remote terminal device performs PDCP reconstruction or PDCP data recovery according to the PDCP reconstruction indication or PDCP data recovery indication, reconstructs the first RLC entity according to the first indication information, and configures the first RLC bearer and the first association relationship according to the first configuration information.

[0599] 2009-2012 are the same as step 1710 to step 1713 respectively.

[0600] 2013. If there are data packets in the RLC entity in the PC5 RLC bearer of the relay terminal device that have been assembled but have not been submitted to the adaptation layer, the data packets that have been assembled but have not been submitted to the adaptation layer will be submitted to the adaptation layer, and the RLC entity in the PC5 RLC bearer will be rebuilt according to the second configuration information. The adaptation layer of the relay terminal device will add a header to the data packet submitted by the RLC entity in the PC5 RLC bearer and submit it to the RLC entity in the Uu RLC bearer, and then reconfigure the adaptation layer according to the third configuration information.

[0601] Optionally, if the remote terminal device is the last remote terminal device served by the relay terminal device, the relay terminal device may reconstruct the RLC entity in the Uu RLC bearer.

[0602] 2014. After sending the last data packet to the remote terminal device, the relay terminal device sends a termination indication to the first network device, where the termination indication is used to indicate that the data packet forwarded by the relay terminal device to the remote terminal device has been sent. Correspondingly, the first network device receives the termination indication sent by the relay terminal device.

[0603] The specific implementation of step 2014 can be found in step 51) above, which will not be repeated here.

[0604] 2015. The first network device performs PDCP reconstruction or PDCP data recovery on the first PDCP entity according to the termination indication, and reconfigures the adaptation layer.

[0605] 2016-2017, same as step 1716 and step 1717.

[0606] Fig. 20 According to the method shown, after receiving the RRC reconfiguration message, the remote terminal device no longer sends data packets to the relay terminal device, but the relay terminal device continues to send data packets to the first network device until the relay terminal device sends the last data packet of the remote terminal device, and then reconfigures the adaptation layer on the first network device side and reconstructs the first PDCP entity on the first network device side, removes the association relationship of the first PDCP entity in the adaptation layer, and associates the reconstructed first PDCP to the RLC entity on the second path.

[0607] Fig. 20In the method shown, since the relay terminal device and the first network device complete the transmission of the uplink data packet stranded in the relay terminal device, there is no reception deviation of the uplink data packet between the remote terminal device and the first network device, and normal data retransmission can be performed. Therefore, the first network device does not need to send the first information to the remote terminal device. In other words, for the uplink data packet, there is no need to change the behavior of the second PDCP entity of the remote terminal device, and the first network device can complete the configuration through implementation.

[0608] The system architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0609] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the method. It can be understood that each network element, such as a remote terminal device, a relay terminal device, a first network device, a second network device, etc., in order to realize the above functions, includes at least one of the hardware structure and software modules corresponding to each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0610] The embodiment of the present application can divide the remote terminal device, the relay terminal device, the first network device, and the second network device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0611] For example, Fig.21A possible structural diagram of a data transmission device (referred to as data transmission device 210) involved in the above embodiment is shown, and the data transmission device 210 includes a processing unit 2101 and a communication unit 2102. Optionally, it also includes a storage unit 2103. The data transmission device 210 can be used to illustrate the structures of the remote terminal device, the relay terminal device, the first network device, and the second network device in the above embodiment.

[0612] when Fig.21 The schematic diagram of the structure shown in FIG. 1 is used to illustrate the structure of the remote terminal device involved in the above embodiment. The processing unit 2101 is used to control and manage the actions of the remote terminal device. For example, the processing unit 2101 is used to execute Fig.12 1201 and 1202, Fig.13A 1301 to 1303, Fig.15 1500 and 1501, Fig.16 1601 and 1602, Fig.17 1701 to 1703, 1707, 1708, 1710, 1711, 1716 and 1717, Fig.18 1801 to 1803, 1807, 1808, 1810, 1811, 1816 and 1817, Fig.19 1901 to 1903, 1907, 1909 to 1911, 1915, 1916, 1919 and 1920, Fig. 20 2001 to 2003, 2007, 2008 to 2010, 2016 and 2017, and / or actions performed by the remote terminal device in other processes described in the embodiments of the present application. The processing unit 2101 can communicate with other network entities through the communication unit 2102, for example, Fig.12 The storage unit 2103 is used to store program codes and data of the remote terminal device.

[0613] when Fig.21 The structural schematic diagram shown is used to illustrate the structure of the relay terminal device involved in the above embodiment. The processing unit 2101 is used to control and manage the actions of the relay terminal device. For example, the processing unit 2101 is used to execute Fig.12 1201 of them, Fig.13A 1301 and 1302, Fig.17 1701 to 1703, 1707, 1713 to 1716, Fig.18 1801 to 1803, 1807, 1813 to 1816, Fig.19 1901 to 1903, 1907, 1912 to 1914, 1917 to 1919, Fig. 202001 to 2003, 2007, 2012 to 2014, 2016, and / or the actions performed by the relay terminal device in other processes described in the embodiments of the present application. The processing unit 2101 can communicate with other network entities through the communication unit 2102, for example, Fig.12 The storage unit 2103 is used to store program codes and data of the relay terminal device.

[0614] when Fig.21 The structural schematic diagram shown is used to illustrate the structure of the first network device involved in the above embodiment. The processing unit 2101 is used to control and manage the actions of the first network device. For example, the processing unit 2101 is used to execute Fig.12 1200 and 1201, Fig.13A 1301 and 1302, Fig.17 1701 to 1707, 1713, 1715, Fig.18 1801 to 1807, 1813, 1815, Fig.19 1901 to 1907, 1912, 1914, 1917, Fig. 20 The processing unit 2101 may communicate with other network entities through the communication unit 2102, for example, Fig.12 The storage unit 2103 is used to store the program code and data of the first network device.

[0615] when Fig.21 The structural schematic diagram shown is used to illustrate the structure of the second network device involved in the above embodiment. The processing unit 2101 is used to control and manage the actions of the second network device. For example, the processing unit 2101 is used to execute Fig.15 1501 and 1502, Fig.16 1601 to 1603, Fig.17 1705, 1706, 1709 to 1712, 1717, Fig.18 1805, 1806, 1809 to 1812, 1817, Fig.19 1905, 1906, 1908, 1910, 1911, 1915, 1920, Fig. 20 2005, 2006, 2009 to 2011, 2017, and / or actions performed by the second network device in other processes described in the embodiments of the present application. The processing unit 2101 can communicate with other network entities through the communication unit 2102, for example, Fig.13ACommunicate with the relay terminal device in B. The storage unit 2103 is used to store the program code and data of the second network device.

[0616] Exemplarily, the data transmission device 210 may be a device or a chip or a chip system.

[0617] When the data transmission device 210 is a device, the processing unit 2101 may be a processor; the communication unit 2102 may be a communication interface, a transceiver, or an input interface and / or an output interface. Optionally, the transceiver may be a transceiver circuit. Optionally, the input interface may be an input circuit, and the output interface may be an output circuit.

[0618] When the data transmission device 210 is a chip or a chip system, the communication unit 2102 may be a communication interface, an input interface and / or an output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or the chip system, etc. The processing unit 2101 may be a processor, a processing circuit or a logic circuit, etc.

[0619] Fig.21 If the integrated unit is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0620] The present application also provides a hardware structure diagram of a data transmission device, see Fig. 22 or Fig.23 The data transmission device includes a processor 2201, and optionally, also includes a memory 2202 connected to the processor 2201.

[0621] Processor 2201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. Processor 2201 may also include multiple CPUs, and processor 2201 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0622] The memory 2202 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the embodiments of the present application do not impose any restrictions on this. The memory 2202 may exist independently (in this case, the memory 2202 may be located outside the data transmission device or inside the data transmission device), or it may be integrated with the processor 2201. Among them, the memory 2202 may contain a computer program code. The processor 2201 is used to execute the computer program code stored in the memory 2202, thereby realizing the method provided in the embodiments of the present application.

[0623] In the first possible implementation, see Fig. 22 , the data transmission device also includes a transceiver 2203. The processor 2201, the memory 2202 and the transceiver 2203 are connected via a bus. The transceiver 2203 is used to communicate with other devices or a communication network. Optionally, the transceiver 2203 may include a transmitter and a receiver. The device used to implement the receiving function in the transceiver 2203 can be regarded as a receiver, and the receiver is used to perform the receiving step in the embodiment of the present application. The device used to implement the sending function in the transceiver 2203 can be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.

[0624] Based on the first possible implementation, Fig. 22 The structural schematic diagram shown can be used to illustrate the structures of the remote terminal device, the relay terminal device, the first network device and the second network device involved in the above embodiments.

[0625] when Fig. 22 The schematic diagram of the structure shown in the figure is used to illustrate the structure of the remote terminal device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the remote terminal device. For example, the processor 2201 is used to execute Fig.12 1201 and 1202, Fig.13A 1301 to 1303, Fig.15 1500 and 1501, Fig.16 1601 and 1602, Fig.17 1701 to 1703, 1707, 1708, 1710, 1711, 1716 and 1717, Fig.18 1801 to 1803, 1807, 1808, 1810, 1811, 1816 and 1817, Fig.19 1901 to 1903, 1907, 1909 to 1911, 1915, 1916, 1919 and 1920, Fig. 20 2001 to 2003, 2007, 2008 to 2010, 2016 and 2017, and / or actions performed by the remote terminal device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the transceiver 2203, for example, Fig.12 The memory 2202 is used to store program codes and data of the remote terminal device.

[0626] when Fig. 22 The schematic diagram of the structure shown is used to illustrate the structure of the relay terminal device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the relay terminal device. For example, the processor 2201 is used to execute Fig.12 1201 of them, Fig.13A 1301 and 1302, Fig.17 1701 to 1703, 1707, 1713 to 1716, Fig.18 1801 to 1803, 1807, 1813 to 1816, Fig.19 1901 to 1903, 1907, 1912 to 1914, 1917 to 1919, Fig. 202001 to 2003, 2007, 2012 to 2014, 2016, and / or the actions performed by the relay terminal device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the transceiver 2203, for example, Fig.12 The memory 2202 is used to store program codes and data of the relay terminal device.

[0627] when Fig. 22 The structural schematic diagram shown is used to illustrate the structure of the first network device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the first network device. For example, the processor 2201 is used to execute Fig.12 1200 and 1201, Fig.13A 1301 and 1302, Fig.17 1701 to 1707, 1713, 1715, Fig.18 1801 to 1807, 1813, 1815, Fig.19 1901 to 1907, 1912, 1914, 1917, Fig. 20 2001 to 2007, 2012, 2014, 2015, and / or actions performed by the first network device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the transceiver 2203, for example, Fig.12 The memory 2202 is used to store program codes and data of the first network device.

[0628] when Fig. 22 The structural schematic diagram shown is used to illustrate the structure of the second network device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the second network device. For example, the processor 2201 is used to execute Fig.15 1501 and 1502, Fig.16 1601 to 1603, Fig.17 1705, 1706, 1709 to 1712, 1717, Fig.18 1805, 1806, 1809 to 1812, 1817, Fig.19 1905, 1906, 1908, 1910, 1911, 1915, 1920, Fig. 20 The processor 2201 may communicate with other network entities through the transceiver 2203, for example, Fig.13ACommunicate with the relay terminal device in B. The memory 2202 is used to store program codes and data of the second network device.

[0629] In a second possible implementation, the processor 2201 includes a logic circuit and an input interface and / or an output interface. Exemplarily, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.

[0630] Based on the second possible implementation, see Fig.23 , Fig.23 The structural schematic diagram shown can be used to illustrate the structures of the remote terminal device, the relay terminal device, the first network device and the second network device involved in the above embodiments.

[0631] when Fig.23 The schematic diagram of the structure shown in the figure is used to illustrate the structure of the remote terminal device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the remote terminal device. For example, the processor 2201 is used to execute Fig.12 1201 and 1202, Fig.13A 1301 to 1303, Fig.15 1500 and 1501, Fig.16 1601 and 1602, Fig.17 1701 to 1703, 1707, 1708, 1710, 1711, 1716 and 1717, Fig.18 1801 to 1803, 1807, 1808, 1810, 1811, 1816 and 1817, Fig.19 1901 to 1903, 1907, 1909 to 1911, 1915, 1916, 1919 and 1920, Fig. 20 2001 to 2003, 2007, 2008 to 2010, 2016 and 2017, and / or actions performed by the remote terminal device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the input interface and / or the output interface, for example, Fig.12 The memory 2202 is used to store program codes and data of the remote terminal device.

[0632] when Fig.23 The schematic diagram of the structure shown is used to illustrate the structure of the relay terminal device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the relay terminal device. For example, the processor 2201 is used to execute Fig.12 1201 of them, Fig.13A 1301 and 1302, Fig.171701 to 1703, 1707, 1713 to 1716, Fig.18 1801 to 1803, 1807, 1813 to 1816, Fig.19 1901 to 1903, 1907, 1912 to 1914, 1917 to 1919, Fig. 20 2001 to 2003, 2007, 2012 to 2014, 2016, and / or the actions performed by the relay terminal device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the input interface and / or the output interface, for example, Fig.12 The memory 2202 is used to store program codes and data of the relay terminal device.

[0633] when Fig.23 The structural schematic diagram shown is used to illustrate the structure of the first network device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the first network device. For example, the processor 2201 is used to execute Fig.12 1200 and 1201, Fig.13A 1301 and 1302, Fig.17 1701 to 1707, 1713, 1715, Fig.18 1801 to 1807, 1813, 1815, Fig.19 1901 to 1907, 1912, 1914, 1917, Fig. 20 2001 to 2007, 2012, 2014, 2015, and / or actions performed by the first network device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the input interface and / or the output interface, for example, Fig.12 The memory 2202 is used to store program codes and data of the first network device.

[0634] when Fig.23 The structural schematic diagram shown is used to illustrate the structure of the second network device involved in the above embodiment. The processor 2201 is used to control and manage the actions of the second network device. For example, the processor 2201 is used to execute Fig.15 1501 and 1502, Fig.16 1601 to 1603, Fig.17 1705, 1706, 1709 to 1712, 1717, Fig.18 1805, 1806, 1809 to 1812, 1817, Fig.191905, 1906, 1908, 1910, 1911, 1915, 1920, Fig. 20 2005, 2006, 2009 to 2011, 2017, and / or actions performed by the second network device in other processes described in the embodiments of the present application. The processor 2201 can communicate with other network entities through the input interface and / or the output interface, for example, Fig.13A Communicate with the relay terminal device in B. The memory 2202 is used to store program codes and data of the second network device.

[0635] In the implementation process, each step in the method provided in this embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0636] An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute any of the above methods.

[0637] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any of the above methods.

[0638] An embodiment of the present application also provides a communication system, including: one or more of the above-mentioned remote terminal device, the above-mentioned relay terminal device, the above-mentioned first network device and the above-mentioned second network device.

[0639] An embodiment of the present application also provides a chip, including: a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program or instruction in the memory, any one of the methods provided in the above embodiments is executed.

[0640] An embodiment of the present application also provides a data transmission device, including: a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program or instruction in the memory, any one of the methods provided in the above embodiments is executed.

[0641] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0642] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0643] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may 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 equivalents, the present application is also intended to include these modifications and variations.

[0644] The embodiment of the present application also provides a data loss-free solution, which can be used in combination with the previous embodiment.

[0645] A simple solution to this problem is that the relay terminal device (e.g., relay UE) continues to transmit data cached at the relay terminal device. That is, the relay terminal device maintains the Uu configuration of the remote terminal device (e.g., remote UE) and continues to transmit data to the network device, such as an access network device (e.g., a base station, which can be a gNB) to obtain UL cached data. Similarly, for the downlink, the relay terminal device maintains the PC5 configuration of the remote terminal device and continues to transmit downlink cached data to the remote terminal device. Before transmitting all the cached data of the remote terminal device, the configuration of the remote terminal device on the relay terminal device is released.

[0646] During the remote terminal device indirect to direct path handover, a rare case is that Uu RLF failure occurs between the relay terminal device and the network device, and the above solution may not work. Another enhancement is to initiate PDCP retransmission for the remote terminal device. For example, on the uplink, the remote terminal device can retransmit the lost data packets to the network device by receiving and checking the PDCP status report of the network device. However, when and how to transmit the PDCP status report is a problem.

[0647] Observation 1: If the Uu RLF of the terminal device is relayed during the indirect to direct path handover of the remote terminal device, some data may be lost based on the legacy PDCP behavior.

[0648] A similar problem also exists when the remote UE performs RRC reestablishment due to an inter-gNB handover of the relay UE. If the relay UE performs a handover to another gNB, the cached data of the remote UE at the relay UE will be lost.

[0649] Observation 2: If the remote terminal device performs RRC reestablishment due to inter-network device handover of the relay terminal device, there may be some data loss based on the traditional PDCP behavior.

[0650] The above two data loss issues exist, but they may be rare cases. RAN2 can use the traditional PDCP behavior as the baseline for lossless service continuity and, if there is time, discuss the necessity of remote UE PDCP retransmission based on PDCP status report as an enhancement.

[0651] Observation 3: The problem in Observation O1 / 2 can be considered a corner case.

[0652] Proposal 13: Conventional PDCP behavior is the baseline for lossless service continuity. RAN2 discusses the need for remote terminal equipment PDCP retransmission based on PDCP status reporting as an enhancement.

Claims

1. A data transmission method, applied to a first network device, It is characterized in that The method comprises: Sending a first message to a remote terminal device, the first message being used to instruct the remote terminal device to switch from being connected to the first network device through a first path to being connected to the second network device through a second path; wherein the first message includes first information, the first information being used to indicate a receiving state of a first packet data convergence protocol PDCP entity of the first network device, the first path including at least one relay terminal device, and the second path including at least one relay terminal device or including no relay terminal device; The first message further includes first indication information, where the first indication information is used to indicate the reestablishment of a first radio link control RLC entity; The first message also includes first configuration information, where the first configuration information is used to configure a first RLC bearer and a first association relationship, where the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device.

2. The method according to claim 1, It is characterized in that The receiving state of the first PDCP entity is used for data transmission of the second PDCP entity of the remote terminal device.

3. The method according to claim 1 or 2, It is characterized in that The first information is used to indicate a sequence number or a count value of a first data packet that is not successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of a data packet that is not successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of a data packet successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of the last data packet successfully received by the first PDCP entity; Alternatively, the first information is used to indicate the maximum sequence number or count value of the data packets successfully received by the first PDCP entity plus 1.

4. The method according to claim 1, It is characterized in that The first message also includes information of a data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity.

5. The method according to claim 1, It is characterized in that The method further comprises: Sending second configuration information to the first relay terminal device, where the second configuration information is used to instruct to reestablish the RLC entity; and / or, Sending third configuration information to the first relay terminal device, where the third configuration information is used to instruct reconfiguration of the adaptation layer; The first relay terminal device is a relay terminal device in at least one relay terminal device in the first path.

6. The method according to claim 1, It is characterized in that The second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

7. The method according to claim 6, It is characterized in that The second network device and the first network device are the same network device, and the method further includes: Receive a third message sent by the remote terminal device, wherein the third message is used to indicate that the remote terminal device completes the wireless access control RRC connection configuration, and the third message includes second information, and the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device.

8. The method according to claim 6, It is characterized in that The second network device and the first network device are the same network device, and the method further includes: Receiving a third message sent by the remote terminal device, wherein the third message is used to indicate that the remote terminal device completes RRC connection configuration; Receive a fourth message sent by the remote terminal device, where the fourth message includes second information, and the second information is used to indicate a receiving status of a second PDCP entity of the remote terminal device.

9. The method according to claim 7, It is characterized in that The second information is used to indicate a sequence number or a count value of a first data packet that is not successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of a data packet that is not successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of a data packet successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of the last data packet successfully received by the second PDCP entity; Alternatively, the second information is used to indicate the maximum sequence number or count value of the data packet successfully received by the second PDCP entity plus 1.

10. The method according to claim 7, It is characterized in that The method further comprises: Data is transmitted on the second path according to the second information.

11. The method according to claim 1, It is characterized in that The first message is an RRC reconfiguration message.

12. A data transmission method, applied to a remote terminal device, wherein the remote terminal device comprises a second Packet Data Convergence Protocol (PDCP) entity, It is characterized in that include: Receive a first message sent by a first network device, the first message being used to instruct the remote terminal device to switch from being connected to the first network device through a first path to being connected to the second network device through a second path; wherein the first message includes first information, the first information being used to indicate a receiving state of a first PDCP entity of the first network device, the first path including at least one relay terminal device, and the second path including at least one relay terminal device or including no relay terminal device; The first message further includes first indication information, where the first indication information is used to indicate the reestablishment of a first radio link control RLC entity; The first message further includes first configuration information, where the first configuration information is used to configure a first RLC bearer and a first association relationship, where the first association relationship is an association relationship between the first RLC bearer and a second PDCP entity of the remote terminal device; The second PDCP entity transmits data on the second path according to the first information.

13. The method according to claim 12, It is characterized in that The first information is used to indicate a sequence number or a count value of a first data packet that is not successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of a data packet that is not successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of a data packet successfully received by the first PDCP entity; Alternatively, the first information is used to indicate a sequence number or a count value of the last data packet successfully received by the first PDCP entity; Alternatively, the first information is used to indicate the maximum sequence number or count value of the data packets successfully received by the first PDCP entity plus 1.

14. The method according to claim 12 or 13, It is characterized in that The first message also includes information of a data radio bearer corresponding to the first information, or the first message also includes information for indicating the first PDCP entity.

15. The method according to claim 14, It is characterized in that The second PDCP entity performs data transmission on the second path according to the first information, including: The second PDCP entity transmits data on the second path according to the first information and information of the data radio bearer corresponding to the first information.

16. The method according to claim 12, It is characterized in that The second PDCP entity performs data transmission on the second path according to the first information, including: The second PDCP entity is a PDCP entity corresponding to an acknowledged mode data radio bearer AM DRB, and the second PDCP entity retransmits or transmits the first unsuccessfully received data packet in ascending order of the count value of the data packet according to the first information; or The second PDCP entity is the PDCP entity corresponding to the non-confirmation mode data radio bearer UM DRB. The second PDCP entity determines the data packet based on the first information, regards the data packet determined based on the first information as a data packet received from the upper layer but does not restart the discard timer. It re-associates the sequence number starting from the count value of 0 in the ascending order of the count value associated before PDCP reconstruction and then transmits it.

17. The method according to claim 12, It is characterized in that The second network device and the first network device are the same network device; or, the second network device and the first network device are different network devices.

18. The method according to claim 12, It is characterized in that The method further comprises: A third message is sent to the second network device, where the third message is used to indicate that the remote terminal device completes the wireless access control RRC connection configuration, and the third message includes second information, where the second information is used to indicate the receiving status of the second PDCP entity of the remote terminal device.

19. The method according to claim 12, It is characterized in that The method further comprises: Sending a third message to the second network device, where the third message is used to instruct the remote terminal device to complete the RRC connection configuration; A fourth message is sent to the second network device, wherein the fourth message includes second information, and the second information is used to indicate a receiving status of a second PDCP entity of the remote terminal device.

20. The method according to claim 18, It is characterized in that The second information is used to indicate a sequence number or a count value of a first data packet that is not successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of a data packet that is not successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of a data packet successfully received by the second PDCP entity; Alternatively, the second information is used to indicate a sequence number or a count value of the last data packet successfully received by the second PDCP entity; Alternatively, the second information is used to indicate the maximum sequence number or count value of the data packet successfully received by the second PDCP entity plus 1.

21. The method according to claim 12, It is characterized in that The first message is an RRC reconfiguration message.

22. A communication device, It is characterized in that include: processor; The processor is connected to a memory, the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory so that the communication device implements the method described in any one of claims 1-11, or implements the method described in any one of claims 12-21.

23. A computer-readable storage medium, It is characterized in that The method comprises instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 11, or to execute the method according to any one of claims 12 to 21.