Fault determination method and device
By monitoring the parameters of the side link in V2X technology, quickly identifying unicast connection failures and sending instructions to network equipment, the service interruption problem caused by unicast connection failures is solved and the continuity of service transmission is improved.
Patent Information
- Application Number
- CN202210368688.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-14
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2038-12-14
AI Technical Summary
In V2X technology, unicast connection failure of the side link causes service interruption for a long time, and it is difficult for the existing technology to recover quickly.
By monitoring the parameters of the side link, including the CSI reference signal, the number of retransmissions of the CBR, the RLC layer and the MAC layer, the unicast connection meets the fault conditions, and promptly sending instructions to the network equipment for processing.
It can be quickly determined and processed in the early stages of failures, reducing the probability of service delays and interruptions, and improving the continuity of service transmission.
Smart Images

Figure CN114727328B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a fault determination method and device. Background Art
[0002] Vehicle-to-everything (V2X) is a key technology for the future intelligent transportation system (ITS), which includes direct communication between vehicles (V2V), vehicles and roadside infrastructure (V2I), vehicles and pedestrians (V2P), and vehicle-to-network (V2N). V2X technology can adapt well to different application scenarios, and obtain a series of traffic information such as real-time road conditions, roads, pedestrians, etc. through communication, which greatly improves traffic safety, reduces congestion, and improves traffic efficiency. At the same time, V2X technology also provides a low-cost and easy-to-implement basic platform for autonomous driving, intelligent transportation and vehicle networking innovation.
[0003] Terminal devices can transmit data packets through unicast connections on the sidelink (SL) under V2X. If the unicast connection fails, it may take a long time to recover, which may cause long service interruptions. Summary of the invention
[0004] The embodiments of the present application provide a fault determination method and apparatus for monitoring unicast connections on a sidelink to determine the fault as early as possible.
[0005] In a first aspect, a first fault determination method is provided, which includes: a first terminal device monitors parameters of a side link between the first terminal device and a second terminal device to determine whether a unicast connection on the side link meets a first condition; when the unicast connection meets the first condition, the first terminal device determines that the unicast connection is faulty.
[0006] The method may be performed by a first communication device, which may be a terminal device or a communication device capable of supporting the terminal device to implement the functions required by the method, or other communication devices, such as a chip system. Here, the first communication device is taken as an example as a first terminal device, and the first terminal device may be a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc.
[0007] In an embodiment of the present application, the first terminal device can monitor the parameters of the side link to determine whether the unicast connection on the side link is faulty, which is equivalent to determining the fault as early as possible by monitoring the side link. For example, the fault may be determined in the early stage and may be handled before it significantly affects the data packet transmission, thereby helping to reduce the probability of service delays or even interruptions due to unicast connection failures and improving the continuity of service transmission.
[0008] In combination with the first aspect, in a possible implementation manner of the first aspect, the first condition includes one of the following or any combination thereof:
[0009] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0010] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0011] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0012] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0013] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0014] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0015] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0016] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0017] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0018] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0019] The above conditions are all likely to occur when the quality of the unicast connection is poor or there is a fault, so these conditions can be used as conditions for determining whether the unicast connection is faulty. Of course, the first condition in the embodiment of the present application is not limited to this, and any condition that can be used to determine whether the unicast connection is faulty can be included in the first condition.
[0020] In combination with the first aspect, in a possible implementation of the first aspect, the method also includes: the first terminal device sends a first message to the network device, the first message is used to indicate the unicast connection failure, or the first message includes first indication information, and the first indication information is used to indicate the unicast connection failure.
[0021] After determining that the unicast connection fails, or after determining that the unicast connection does not meet the first condition, the first terminal device can indicate the unicast connection failure to the network device, so that the network device can process it, such as reconfiguring the unicast connection, so that the unicast connection can be restored as soon as possible.
[0022] In combination with the first aspect, in a possible implementation manner of the first aspect, the first message also includes second indication information, and the second indication information is used to indicate the unicast connection.
[0023] The first indication information may only indicate that there is a unicast connection failure. If there are multiple unicast connections between the first terminal device and the second terminal device, the network device may not be able to clearly identify which unicast connection is faulty. Therefore, in addition to the first indication information, the first message may also include the second indication information. The second indication information is used to indicate the faulty unicast connection, so that the network device can clearly identify which unicast connection is faulty and can perform targeted processing.
[0024] In combination with the first aspect, in a possible implementation of the first aspect, the first condition includes one or any combination of the following: the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions of the RLC layer is greater than or equal to the first number, the number of retransmissions of the MAC layer is greater than or equal to the second number, the number of retransmissions of the data packets transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number, the number of retransmissions of the data packets transmitted on the sidelink unicast connection is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, and the first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
[0025] For the parameters of the side channel such as the measurement result of CSI, the measurement result of CBR, the number of retransmissions of the RLC layer, the number of retransmissions of the MAC layer, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer greater than the second number, or the QoS parameters, the values may be related to the resources used by the unicast connection. If the values of the parameters of these side channels indicate that the unicast connection has failed, it is likely that it is caused by the poor quality of the resources used by the unicast connection. Therefore, if the first condition includes the measurement result of the CSI reference signal being less than the CSI measurement threshold value, the measurement result of the CBR being greater than the CBR measurement threshold value, the number of retransmissions of the RLC layer being greater than or equal to the first number, the number of retransmissions of the MAC layer being greater than or equal to the second number, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer being greater than or equal to the second number, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer being greater than or equal to the third number, or the QoS parameters not satisfying the value conditions of the QoS parameters, the first message may also include third indication information, and the third indication information may be used to indicate the resources used by the unicast connection. Therefore, after receiving the first message, the network device can clarify the resources used by the unicast connection. For example, it can consider restoring the unicast connection by reconfiguring the resources used by the unicast connection, so that the processing of the network device is more targeted and the processing efficiency is improved.
[0026] In combination with the first aspect, in a possible implementation of the first aspect, the first message also includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection complies with.
[0027] Because the failure of the unicast connection is indicated to the network device, it may be more desirable for the network device to instruct the restoration of the unicast connection as soon as possible. Therefore, in order to speed up the processing speed of the network device, the first message may also include fourth indication information, and the fourth indication information may include the first condition that the unicast connection meets. After the network device receives the first message, it can clearly understand what kind of problem has occurred in the unicast connection according to the fourth indication information, thereby helping the network device to adopt more targeted means when determining the method for restoring the unicast connection.
[0028] In combination with the first aspect, in a possible implementation of the first aspect, the method further includes: the first terminal device stops sending data packets on the unicast connection, and continues to receive data packets on the unicast connection.
[0029] If the first terminal device finds that the unicast connection meets the first condition during the process of sending a data packet to the second terminal device through the unicast connection, then the first terminal device can stop sending data packets to the second terminal device through the unicast connection after determining that the unicast connection fails, or after determining that the unicast connection meets the first condition, to avoid data packet transmission failure. On the sidelink, the sending process and the receiving process are relatively independent. For the unicast connection, the configurations corresponding to the sending and receiving processes in different directions may also be different. For example, the configuration of the unicast connection corresponding to the first terminal device as the signal sending end and the second terminal device as the signal receiving end may have problems, causing the first terminal device to find that the unicast connection fails, but the configuration of the unicast connection corresponding to the second terminal device as the signal sending end and the first terminal device as the signal receiving end may still be normal. Therefore, if the first terminal device is still receiving data through the unicast connection, the process of the first terminal device receiving data can continue.
[0030] In combination with the first aspect, in a possible implementation of the first aspect, the method further includes: the first terminal device acquires first configuration information, where the first configuration information is used to restore the unicast connection.
[0031] For example, the first terminal device can receive the first configuration information from the network device. For example, the first terminal device sends a first message to the network device. Then the network device may determine a new configuration for the unicast connection. The new configuration corresponds to the first configuration information on the first terminal device side. The network device can send the first configuration information to the first terminal device, and the first terminal device can restore the unicast connection according to the first configuration information. Alternatively, the first terminal device can also determine the first configuration information by itself. For example, the first terminal device does not send the first message to the network device, but determines the first configuration information by itself after determining that the unicast connection fails, so as to restore the unicast connection according to the first configuration information. This method does not require too much interaction between the first terminal device and the network device, helps to save signaling overhead, and the first terminal device is also more intelligent.
[0032] In combination with the first aspect, in a possible implementation of the first aspect, the method further includes: the first terminal device sends second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0033] The first terminal device can restore the unicast connection according to the first configuration information, and the second terminal device also needs corresponding configuration information to restore the unicast connection. For example, the network device can determine the first configuration information and the second configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, and the second configuration information is the configuration information used by the second terminal device to restore the unicast connection. The network device can send both the first configuration information and the second configuration information to the first terminal device, and the first terminal device forwards the second configuration information to the second terminal device. Alternatively, the first terminal device can determine the first configuration information and the second configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, and the second configuration information is the configuration information used by the second terminal device to restore the unicast connection, and the first terminal device can send the second configuration information to the second terminal device. Alternatively, the network device may determine the first configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, the network device may send the first configuration information to the first terminal device, the first terminal device determines the second configuration information based on the first configuration information, and then forwards the second configuration information to the second terminal device, the second configuration information is the configuration information used by the second terminal device to restore the unicast connection. Alternatively, the network device may determine the first configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, the network device may send the first configuration information to the first terminal device, the first terminal device forwards the first configuration information to the second terminal device, the second terminal device adapts according to the first configuration information, and obtains the configuration information (e.g., may be referred to as the third configuration information) used by the second terminal device to restore the unicast connection. At this time, the first configuration information and the second configuration information are the same, and the second configuration information is not the configuration information used by the second terminal device to restore the unicast connection, the third configuration information is the configuration information used by the second terminal device to restore the unicast connection.
[0034] In combination with the first aspect, in a possible implementation of the first aspect, the first terminal device sends the second configuration information to the second terminal device, including: the first terminal device sends the second configuration information to the second terminal device via an SRB, and the SRB has dedicated sending resources; or, the first terminal device sends the second configuration information to the second terminal device through resources specifically used to handle unicast connection failures; or, the first terminal device sends the second configuration information to the second terminal device through a first upper layer signaling.
[0035] The first terminal device may send the second configuration information to the second terminal device through the AS layer, or may send the configuration information to the second terminal device through an upper layer, without specific limitation.
[0036] In combination with the first aspect, in a possible implementation of the first aspect, the method further includes: the AS layer of the first terminal device triggers notification information to the application layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0037] For example, the first terminal device may give priority to sending the second configuration information to the second terminal device through the AS layer. If the resources of the AS layer are not available, or the AS layer fails to send, etc., the second configuration information may be sent to the second terminal device through the upper layer. In this case, if the upper layer connection is also broken, for example, the first terminal device has not received a reply from the second terminal device after sending the first upper layer signaling to the second terminal device, then the upper layer connection may also be unreachable. For example, the distance between the first terminal device and the second terminal device may be too far, resulting in the side link being unreachable, including both the unicast link and the broadcast link. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device. The notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (at this time, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the AS layer, then if the resources of the AS layer are unavailable, that is, the connection of the AS layer is disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the second configuration information to the second terminal device through the SRB, then the AS layer connection may be unreachable. In this case, the first terminal device no longer needs to send the second configuration information through the upper layer, but can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends notification information to the application layer of the first terminal device, and the notification information is used to indicate that the current side link is unavailable. The notification information is actually a trigger information. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the upper layer (not through the AS layer), then if the resources of the upper layer are not available, that is, the upper layer connection is disconnected, for example, the first terminal device sends the second configuration information to the second terminal device through the first upper layer signaling and has not received a reply from the second terminal device, then the upper layer connection may be unreachable.In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the upper layer of the first terminal device (at this time, the upper layer is not the application layer) sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. After receiving the indication, the application layer can choose to perform Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device determines that the unicast connection fails, or determines that the unicast connection meets the first condition, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (at this time, the upper layer is not the application layer). After receiving the indication, the application layer can choose to perform Uu interface transmission for the service carried on the unicast connection.
[0038] In combination with the first aspect, in a possible implementation of the first aspect, the method also includes: the first terminal device updates the configuration of the unicast connection to a default configuration; the first terminal device negotiates with the second terminal device about the new configuration of the unicast connection by applying the unicast connection with the default configuration.
[0039] In this embodiment, neither the first terminal device nor the network device needs to send configuration information to the second terminal device, and the network device does not need to send configuration information to the first terminal device. For example, when the first terminal device determines that the unicast connection fails, or when it determines that the unicast connection meets the first condition, it can send an abnormal indication to the second terminal device to indicate the failure of the unicast connection with the second terminal device, then the first terminal device and the second terminal device can both update the configuration of the unicast connection to the default configuration, and the first terminal device and the second terminal device can negotiate a new configuration of the unicast connection through the unicast connection with the default configuration. After the negotiation is completed, the first terminal device and the second terminal device can update the unicast connection to the new configuration to complete the recovery of the unicast connection. This is equivalent to setting a default configuration for the unicast connection, which is, for example, a basic configuration. If the unicast connection fails, the first terminal device and the second terminal device both fall back to the default configuration and negotiate a new configuration under the default configuration. In this way, there is no need to interact with network devices, nor is there a need to send configuration information to the first network device and the second network device, which helps save signaling overhead. In addition, the two terminal devices negotiate the new configuration themselves, which can make the negotiated new configuration more in line with actual needs.
[0040] According to a second aspect, a second fault determination method is provided, which includes: a first terminal device receives a second message from a second terminal device; the first terminal device determines a unicast connection failure of a side link between the first terminal device and the second terminal device based on the second message or based on fifth indication information included in the second message.
[0041] The method may be performed by a second communication device, which may be a terminal device or a communication device capable of supporting the terminal device to implement the functions required by the method, or other communication devices, such as a chip system. Here, the second communication device is taken as an example of a first terminal device, and the first terminal device may be a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc.
[0042] In an embodiment of the present application, whether it is a terminal device connected to the network device or a terminal device not connected to the network device, the unicast connection can be monitored. For example, the second terminal device can monitor the parameters of the side link to determine whether the unicast connection on the side link is faulty, which is equivalent to determining the fault as early as possible by monitoring the side link. For example, the fault may be determined in the early stage and may be processed before it significantly affects the data packet transmission, thereby helping to reduce the probability of service delays or even interruptions due to unicast connection failures and improving the continuity of service transmission.
[0043] In combination with the second aspect, in a possible implementation of the second aspect, the method also includes: the first terminal device forwards the second message to a network device, the first terminal device receives first configuration information from the network device, or the first terminal device generates first configuration information; wherein the first configuration information is used to restore the unicast connection.
[0044] For example, the first terminal device can receive the first configuration information from the network device. For example, the first terminal device forwards the second message to the network device. Then the network device may determine a new configuration for the unicast connection. The new configuration corresponds to the first configuration information on the first terminal device side. The network device can send the first configuration information to the first terminal device, and the first terminal device can restore the unicast connection according to the first configuration information. Alternatively, the first terminal device can also determine the first configuration information by itself. For example, the first terminal device does not send the second message to the network device, but determines the first configuration information by itself after determining that the unicast connection fails, so as to restore the unicast connection according to the first configuration information. This method does not require too much interaction between the first terminal device and the network device, helps to save signaling overhead, and the first terminal device is also more intelligent.
[0045] In combination with the second aspect, in a possible implementation of the second aspect, the method further includes: the first terminal device sends second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0046] The first terminal device can restore the unicast connection according to the first configuration information, and the second terminal device also needs corresponding configuration information to restore the unicast connection. For example, the network device can determine the first configuration information and the second configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, and the second configuration information is the configuration information used by the second terminal device to restore the unicast connection. The network device can send both the first configuration information and the second configuration information to the first terminal device, and the first terminal device forwards the second configuration information to the second terminal device. Alternatively, the first terminal device can determine the first configuration information and the second configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, and the second configuration information is the configuration information used by the second terminal device to restore the unicast connection, and the first terminal device can send the second configuration information to the second terminal device. Alternatively, the network device may determine the first configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, the network device may send the first configuration information to the first terminal device, the first terminal device determines the second configuration information based on the first configuration information, and then forwards the second configuration information to the second terminal device, the second configuration information is the configuration information used by the second terminal device to restore the unicast connection. Alternatively, the network device may determine the first configuration information for the unicast connection, the first configuration information is the configuration information used by the first terminal device to restore the unicast connection, the network device may send the first configuration information to the first terminal device, the first terminal device forwards the first configuration information to the second terminal device, the second terminal device adapts according to the first configuration information, and obtains the configuration information (e.g., may be referred to as the third configuration information) used by the second terminal device to restore the unicast connection. At this time, the first configuration information and the second configuration information are the same, and the second configuration information is not the configuration information used by the second terminal device to restore the unicast connection, the third configuration information is the configuration information used by the second terminal device to restore the unicast connection.
[0047] In combination with the second aspect, in a possible implementation of the second aspect, the first terminal device sends the second configuration information to the second terminal device, including: the first terminal device sends the second configuration information to the second terminal device via an SRB, and the SRB has dedicated sending resources; or, the first terminal device sends the second configuration information to the second terminal device through resources specifically used to handle unicast connection failures; or, the first terminal device sends the second configuration information to the second terminal device through a first upper layer signaling.
[0048] The first terminal device may send the second configuration information to the second terminal device through the AS layer, or may send the configuration information to the second terminal device through an upper layer, without specific limitation.
[0049] In combination with the second aspect, in a possible implementation of the second aspect, the method also includes: the AS layer of the first terminal device triggers notification information to the application layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0050] For example, the first terminal device may give priority to sending the second configuration information to the second terminal device through the AS layer. If the resources of the AS layer are not available, or the AS layer fails to send, etc., the second configuration information may be sent to the second terminal device through the upper layer. In this case, if the upper layer connection is also broken, for example, the first terminal device has not received a reply from the second terminal device after sending the first upper layer signaling to the second terminal device, then the upper layer connection may also be unreachable. For example, the distance between the first terminal device and the second terminal device may be too far, resulting in the side link being unreachable, including both the unicast link and the broadcast link. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device. The notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (at this time, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the AS layer, then if the resources of the AS layer are unavailable, that is, the connection of the AS layer is disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the second configuration information to the second terminal device through the SRB, then the AS layer connection may be unreachable. In this case, the first terminal device no longer needs to send the second configuration information through the upper layer, but can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends notification information to the application layer of the first terminal device, and the notification information is used to indicate that the current side link is unavailable. The notification information is actually a trigger information. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the upper layer (not through the AS layer), then if the resources of the upper layer are not available, that is, the upper layer connection is disconnected, for example, the first terminal device sends the second configuration information to the second terminal device through the first upper layer signaling and has not received a reply from the second terminal device, then the upper layer connection may be unreachable.In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the upper layer of the first terminal device (at this time, the upper layer is not the application layer) sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. After receiving the indication, the application layer can choose to perform Uu interface transmission for the service carried on the unicast connection. Alternatively, if the first terminal device determines that the unicast connection fails, or determines that the unicast connection meets the first condition, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (at this time, the upper layer is not the application layer). After receiving the indication, the application layer can choose to perform Uu interface transmission for the service carried on the unicast connection.
[0051] In combination with the second aspect, in a possible implementation of the second aspect, the method also includes: the first terminal device updates the configuration of the unicast connection to a default configuration, and the unicast connection is a failed unicast connection; the first terminal device negotiates a new configuration of the unicast connection with the second terminal device by applying the unicast connection with the default configuration.
[0052] In this embodiment, neither the first terminal device nor the network device needs to send configuration information to the second terminal device, and the network device does not need to send configuration information to the first terminal device. For example, when the first terminal device determines that the unicast connection fails, or when it determines that the unicast connection meets the first condition, it can send an abnormal indication to the second terminal device to indicate the failure of the unicast connection with the second terminal device, then the first terminal device and the second terminal device can both update the configuration of the unicast connection to the default configuration, and the first terminal device and the second terminal device can negotiate a new configuration of the unicast connection through the unicast connection with the default configuration. After the negotiation is completed, the first terminal device and the second terminal device can update the unicast connection to the new configuration to complete the recovery of the unicast connection. This is equivalent to setting a default configuration for the unicast connection, which is, for example, a basic configuration. If the unicast connection fails, the first terminal device and the second terminal device both fall back to the default configuration and negotiate a new configuration under the default configuration. In this way, there is no need to interact with network devices, nor is there a need to send configuration information to the first network device and the second network device, which helps save signaling overhead. In addition, the two terminal devices negotiate the new configuration themselves, which can make the negotiated new configuration more in line with actual needs.
[0053] In combination with the second aspect, in a possible implementation of the second aspect, the first terminal device receives a second message from a second terminal device, including: the first terminal device receives the second message from the second terminal device via an SRB, and the SRB has dedicated sending resources; or, the first terminal device receives the second message from the second terminal device through resources specifically used to handle unicast connection failures; or, the first terminal device receives the second message from the second terminal device through a second upper layer signaling.
[0054] The second terminal device may send the second message to the first terminal device through the AS layer, or may send the second message to the first terminal device through an upper layer, without specific limitation.
[0055] According to a third aspect, a third fault determination method is provided, which includes: a second terminal device monitors parameters of a side link to determine whether a unicast connection of the side link meets a first condition; when the unicast connection meets the first condition, the second terminal device sends a second message to the first terminal device, and the second message is used to indicate a unicast connection failure, or the second message includes fifth indication information, and the fifth indication information is used to indicate a unicast connection failure.
[0056] The method may be performed by a third communication device, which may be a terminal device or a communication device capable of supporting the terminal device to implement the functions required by the method, or other communication devices, such as a chip system. Here, the third communication device is taken as an example of a second terminal device, and the second terminal device may be a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc.
[0057] In conjunction with the third aspect, in a possible implementation manner of the third aspect, the first condition includes one of the following or any combination thereof:
[0058] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0059] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0060] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0061] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0062] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0063] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0064] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0065] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0066] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0067] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0068] In combination with the third aspect, in a possible implementation manner of the third aspect, the second message also includes sixth indication information, and the sixth indication information is used to indicate the unicast connection.
[0069] In combination with the third aspect, in a possible implementation of the third aspect, the first condition includes one or any combination of the following: the measurement result of the CSI is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, and the second message also includes seventh indication information, and the seventh indication information is used to indicate the resources used by the unicast connection.
[0070] In combination with the third aspect, in a possible implementation of the third aspect, the second message also includes eighth indication information, and the eighth indication information includes the first condition that the unicast connection complies with.
[0071] In combination with the third aspect, in a possible implementation of the third aspect, the second terminal device sends the second message to the first terminal device, including: the second terminal device sends the second message to the first terminal device via SRB, and the SRB has dedicated sending resources; or, the second terminal device sends the second message to the second terminal device through resources specifically used to handle unicast connection failures; or, the first terminal device sends the second message to the second terminal device through a second upper layer signaling.
[0072] In combination with the third aspect, in a possible implementation of the third aspect, the method further includes: the second terminal device stops sending data packets on the unicast connection, and continues to receive data packets on the unicast connection.
[0073] In combination with the third aspect, in a possible implementation of the third aspect, the method further includes: the second terminal device receives second configuration information from the first terminal device, and the second configuration information is used to restore the unicast connection.
[0074] In combination with the third aspect, in a possible implementation of the third aspect, the second terminal device receives the second configuration information from the first terminal device, including: the second terminal device receives the second configuration information from the first terminal device via an SRB, and the SRB has dedicated sending resources; or, the second terminal device receives the second configuration information from the first terminal device through resources specifically used to handle unicast connection failures; or, the second terminal device receives the second configuration information from the first terminal device through a first upper layer signaling.
[0075] In combination with the third aspect, in a possible implementation of the third aspect, the method also includes: the second terminal device updates the configuration of the unicast connection to a default configuration; the second terminal device negotiates with the first terminal device a new configuration of the unicast connection by applying the unicast connection with the default configuration.
[0076] Regarding the technical effects brought about by the third aspect or the various embodiments of the third aspect, reference may be made to the introduction to the technical effects of the first aspect or the related embodiments of the first aspect, or to the introduction to the technical effects of the second aspect or the related embodiments of the second aspect.
[0077] In a fourth aspect, a first communication device is provided, which is, for example, the first communication device described above, such as a first terminal device. The communication device has the function of implementing the first terminal device in the above-mentioned method design. The first terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device includes, for example, a mutually coupled processor and a transceiver, and the transceiver is implemented as a communication interface, where the communication interface can be understood as a radio frequency transceiver component in the first terminal device, and the radio frequency transceiver component is implemented, for example, by an antenna, a feeder, and a codec. The communication device may also include a memory for storing instructions, and the processor implements the corresponding scheme provided by the first aspect or various embodiments of the first aspect by executing these instructions. Exemplarily,
[0078] The processor is configured to monitor a parameter of a sidelink between the second terminal device to determine whether a unicast connection on the sidelink meets a first condition;
[0079] The processor is further configured to determine that the unicast connection fails when the unicast connection meets the first condition.
[0080] In conjunction with the fourth aspect, in a possible implementation manner of the fourth aspect, the first condition includes one of the following or any combination thereof:
[0081] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0082] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0083] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0084] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0085] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0086] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0087] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0088] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0089] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0090] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0091] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the transceiver is also used to send a first message to the network device, and the first message is used to indicate the unicast connection failure, or the first message includes first indication information, and the first indication information is used to indicate the unicast connection failure.
[0092] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first message also includes second indication information, and the second indication information is used to indicate the unicast connection.
[0093] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first condition includes one of the following conditions: the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof, and the first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
[0094] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first message also includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection complies with.
[0095] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the transceiver is further configured to stop sending data packets on the unicast connection, and continue to receive data packets on the unicast connection.
[0096] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the processor is further used to obtain first configuration information, where the first configuration information is used to restore the unicast connection.
[0097] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the transceiver is further used to send second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0098] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the transceiver is used to send second configuration information to the second terminal device in the following manner: sending the second configuration information to the second terminal device via SRB, the SRB having dedicated sending resources; or, sending the second configuration information to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second configuration information to the second terminal device via first upper layer signaling.
[0099] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the processor is also used to: trigger notification information to the application layer of the first terminal device through the AS layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0100] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the processor is also used to: update the configuration of the unicast connection to a default configuration, and negotiate a new configuration of the unicast connection with the second terminal device by applying the unicast connection with the default configuration.
[0101] Regarding the technical effects brought about by the fourth aspect or various implementation methods of the fourth aspect, reference may be made to the introduction to the technical effects of the first aspect or related implementation methods of the first aspect.
[0102] In a fifth aspect, a second communication device is provided, which is, for example, the second communication device described above, or, for example, a first terminal device. The communication device has the function of implementing the first terminal device in the above-mentioned method design. The first terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device includes, for example, a mutually coupled processor and a transceiver, and the transceiver is implemented as a communication interface, where the communication interface can be understood as a radio frequency transceiver component in the first terminal device, and the radio frequency transceiver component is implemented, for example, by an antenna, a feeder, and a codec, etc. The communication device may also include a memory for storing instructions, and the processor implements the corresponding solutions provided by the second aspect or various embodiments of the second aspect by executing these instructions. Exemplarily,
[0103] The transceiver is used to receive a second message from a second terminal device;
[0104] The processor is used to determine a unicast connection failure of a side link between the second terminal device and the second terminal device according to the second message or according to fifth indication information included in the second message.
[0105] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the transceiver is further used to forward the second message to a network device, and the first terminal device receives first configuration information from the network device; or, the processor is further used to generate the first configuration information;
[0106] The first configuration information is used to restore the unicast connection.
[0107] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the transceiver is further used to send second configuration information to the second terminal device, and the second configuration information is used to restore the unicast connection.
[0108] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the transceiver is used to send second configuration information to the second terminal device in the following manner: sending the second configuration information to the second terminal device via SRB, the SRB having dedicated sending resources; or, sending the second configuration information to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second configuration information to the second terminal device via first upper layer signaling.
[0109] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the processor is also used to: trigger notification information to the application layer of the first terminal device through the AS layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0110] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the processor is also used to: update the configuration of the unicast connection to a default configuration, the unicast connection being a failed unicast connection, and negotiate a new configuration of the unicast connection with a second terminal device by applying the unicast connection with the default configuration.
[0111] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the transceiver is used to receive the second message from the second terminal device in the following manner: receiving the second message from the second terminal device via an SRB, the SRB having dedicated sending resources; or, receiving the second message from the second terminal device via resources specifically used to handle unicast connection failures; or, receiving the second message from the second terminal device via a second upper layer signaling.
[0112] The second communication device provided in the fifth aspect and the first communication device provided in the fourth aspect may be the same communication device, or may be different communication devices.
[0113] Regarding the technical effects brought about by the fifth aspect or various implementations of the fifth aspect, reference may be made to the introduction to the technical effects of the second aspect or related implementations of the second aspect.
[0114] In a sixth aspect, a third communication device is provided, which is, for example, the third communication device described above, for example, a second terminal device. The communication device has the function of implementing the second terminal device in the above-mentioned method design. The second terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device includes, for example, a mutually coupled processor and a transceiver, and the transceiver is implemented as a communication interface, where the communication interface can be understood as a radio frequency transceiver component in the first terminal device, and the radio frequency transceiver component is implemented, for example, by an antenna, a feeder, and a codec. The communication device may also include a memory for storing instructions, and the processor implements the corresponding scheme provided by the third aspect or various embodiments of the third aspect by executing these instructions. Exemplarily,
[0115] The processor is configured to monitor a parameter of a sidelink to determine whether a unicast connection of the sidelink meets a first condition;
[0116] The transceiver is used to send a second message to the first terminal device when the processor determines that the unicast connection meets the first condition, and the second message is used to indicate the failure of the unicast connection, or the second message includes fifth indication information, and the fifth indication information is used to indicate the failure of the unicast connection.
[0117] In conjunction with the sixth aspect, in a possible implementation manner of the sixth aspect, the first condition includes one of the following or any combination thereof:
[0118] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0119] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0120] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0121] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0122] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and is greater than the third number;
[0123] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0124] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0125] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0126] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0127] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0128] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the second message also includes sixth indication information, and the sixth indication information is used to indicate the unicast connection.
[0129] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the first condition includes one or any combination of the following: the measurement result of the CSI is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, and the second message also includes seventh indication information, and the seventh indication information is used to indicate the resources used by the unicast connection.
[0130] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the second message also includes eighth indication information, and the eighth indication information includes the first condition that the unicast connection complies with.
[0131] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the transceiver is used to send a second message to the first terminal device in the following manner: sending the second message to the first terminal device via an SRB, the SRB having dedicated sending resources; or, sending the second message to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second message to the second terminal device via a second upper layer signaling.
[0132] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the transceiver is further used to stop sending data packets on the unicast connection and continue to receive data packets on the unicast connection.
[0133] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the transceiver is further used to receive second configuration information from the first terminal device, and the second configuration information is used to restore the unicast connection.
[0134] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the transceiver is used to receive the second configuration information from the first terminal device in the following manner: receiving the second configuration information from the first terminal device via an SRB, the SRB having dedicated sending resources; or, receiving the second configuration information from the first terminal device via resources specifically used to handle unicast connection failures; or, receiving the second configuration information from the first terminal device via a first upper layer signaling.
[0135] In combination with the sixth aspect, in a possible implementation of the sixth aspect, the processor is also used to: update the configuration of the unicast connection to a default configuration, and negotiate a new configuration of the unicast connection with the first terminal device by applying the unicast connection with the default configuration.
[0136] Regarding the technical effects brought about by the sixth aspect or various implementations of the sixth aspect, reference may be made to the introduction to the technical effects of the third aspect or related implementations of the third aspect.
[0137] In a seventh aspect, a fourth communication device is provided, which is, for example, the first communication device described above, for example, the first terminal device, and here the first communication device is taken as an example of a first terminal device. The first terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device has the function of implementing the first terminal device in the above method design. These functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0138] In a possible design, the specific structure of the communication device may include a processing module and a transceiver module. The processing module and the transceiver module may perform the corresponding functions of the method provided in the first aspect or any possible implementation of the first aspect.
[0139] The processing module is used to monitor the parameters of the side link between the second terminal device to determine whether the unicast connection on the side link meets the first condition;
[0140] The processing module is further configured to determine that the unicast connection fails when the unicast connection meets the first condition.
[0141] In conjunction with the seventh aspect, in a possible implementation manner of the seventh aspect, the first condition includes one of the following or any combination thereof:
[0142] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0143] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0144] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0145] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0146] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0147] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0148] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0149] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0150] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0151] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0152] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the transceiver module is also used to send a first message to the network device, and the first message is used to indicate the unicast connection failure, or the first message includes first indication information, and the first indication information is used to indicate the unicast connection failure.
[0153] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the first message also includes second indication information, and the second indication information is used to indicate the unicast connection.
[0154] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the first condition includes one or any combination of the following: the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number, the number of retransmissions is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, and the first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
[0155] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the first message also includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection complies with.
[0156] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the transceiver module is further used to stop sending data packets on the unicast connection and continue to receive data packets on the unicast connection.
[0157] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the processing module is further used to obtain first configuration information, and the first configuration information is used to restore the unicast connection.
[0158] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the transceiver module is further used to send second configuration information to the second terminal device, and the second configuration information is used to restore the unicast connection.
[0159] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the transceiver module is used to send the second configuration information to the second terminal device in the following manner: sending the second configuration information to the second terminal device via SRB, the SRB having dedicated sending resources; or, sending the second configuration information to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second configuration information to the second terminal device via first upper layer signaling.
[0160] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the processing module is also used to: trigger notification information to the application layer of the first terminal device through the AS layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0161] In combination with the seventh aspect, in a possible implementation of the seventh aspect, the processing module is also used to: update the configuration of the unicast connection to a default configuration, and negotiate a new configuration of the unicast connection with the second terminal device by applying the unicast connection with the default configuration.
[0162] Regarding the technical effects brought about by the seventh aspect or various implementation methods of the seventh aspect, reference may be made to the introduction to the technical effects of the first aspect or related implementation methods of the first aspect.
[0163] In an eighth aspect, a fifth communication device is provided, which is, for example, the second communication device described above, for example, the first terminal device, and here the second communication device is the first terminal device as an example. The first terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device has the function of implementing the first terminal device in the above method design. These functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0164] In a possible design, the specific structure of the communication device may include a processing module and a transceiver module. The processing module and the transceiver module may perform the corresponding functions of the method provided in the second aspect or any possible implementation of the second aspect.
[0165] The transceiver module is used to receive a second message from a second terminal device;
[0166] The processing module is used to determine the unicast connection failure of the side link between the second terminal device according to the second message or according to the fifth indication information included in the second message.
[0167] In combination with the eighth aspect, in a possible implementation manner of the eighth aspect, the transceiver module is further used to forward the second message to a network device, and the first terminal device receives the first configuration information from the network device; or, the processing module is further used to generate the first configuration information;
[0168] The first configuration information is used to restore the unicast connection.
[0169] In combination with the eighth aspect, in a possible implementation of the eighth aspect, the transceiver module is further used to send second configuration information to the second terminal device, and the second configuration information is used to restore the unicast connection.
[0170] In combination with the eighth aspect, in a possible implementation of the eighth aspect, the transceiver module is used to send the second configuration information to the second terminal device in the following manner: sending the second configuration information to the second terminal device via SRB, the SRB having dedicated sending resources; or, sending the second configuration information to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second configuration information to the second terminal device via first upper layer signaling.
[0171] In combination with the eighth aspect, in a possible implementation of the eighth aspect, the processing module is also used to: trigger notification information to the application layer of the first terminal device through the AS layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
[0172] In combination with the eighth aspect, in a possible implementation of the eighth aspect, the processing module is also used to: update the configuration of the unicast connection to a default configuration, the unicast connection is a failed unicast connection, and negotiate a new configuration of the unicast connection with the second terminal device by applying the unicast connection with the default configuration.
[0173] In combination with the eighth aspect, in a possible implementation of the eighth aspect, the transceiver module is used to receive the second message from the second terminal device in the following manner: receiving the second message from the second terminal device via an SRB, the SRB having dedicated sending resources; or, receiving the second message from the second terminal device via resources specifically used to handle unicast connection failures; or, receiving the second message from the second terminal device via a second upper layer signaling.
[0174] The fifth communication device provided in the eighth aspect and the fourth communication device provided in the seventh aspect may be the same communication device, or may be different communication devices.
[0175] Regarding the technical effects brought about by the eighth aspect or various implementation methods of the eighth aspect, reference may be made to the introduction to the technical effects of the second aspect or related implementation methods of the second aspect.
[0176] In a ninth aspect, a sixth communication device is provided, which is, for example, the third communication device described above, for example, a second terminal device, and here the third communication device is taken as an example of a second terminal device. The second terminal device is, for example, a vehicle with corresponding communication functions, or a vehicle-mounted communication device, or a vehicle-mounted communication chip, etc. The communication device has the function of implementing the second terminal device in the above method design. These functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0177] In a possible design, the specific structure of the communication device may include a processing module and a transceiver module. The processing module and the transceiver module may perform the corresponding functions of the method provided in the third aspect or any possible implementation of the third aspect.
[0178] The processing module is used to monitor the parameters of the sidelink to determine whether the unicast connection of the sidelink meets the first condition;
[0179] The transceiver module is used to send a second message to the first terminal device when the processing module determines that the unicast connection meets the first condition, and the second message is used to indicate the failure of the unicast connection, or the second message includes fifth indication information, and the fifth indication information is used to indicate the failure of the unicast connection.
[0180] In conjunction with the ninth aspect, in a possible implementation manner of the ninth aspect, the first condition includes one of the following or any combination thereof:
[0181] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0182] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0183] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0184] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0185] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0186] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0187] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0188] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0189] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0190] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0191] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the second message also includes sixth indication information, and the sixth indication information is used to indicate the unicast connection.
[0192] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the first condition includes one or any combination of the following: the measurement result of the CSI is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, and the second message also includes seventh indication information, and the seventh indication information is used to indicate the resources used by the unicast connection.
[0193] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the second message also includes eighth indication information, and the eighth indication information includes the first condition that the unicast connection complies with.
[0194] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the transceiver module is used to send a second message to the first terminal device in the following manner: sending the second message to the first terminal device via an SRB, the SRB having dedicated sending resources; or, sending the second message to the second terminal device via resources specifically used to handle unicast connection failures; or, sending the second message to the second terminal device via a second upper layer signaling.
[0195] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the transceiver module is further used to stop sending data packets on the unicast connection and continue to receive data packets on the unicast connection.
[0196] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the transceiver module is further used to receive second configuration information from the first terminal device, and the second configuration information is used to restore the unicast connection.
[0197] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the transceiver module is used to receive the second configuration information from the first terminal device in the following manner: receiving the second configuration information from the first terminal device via an SRB, the SRB having dedicated sending resources; or, receiving the second configuration information from the first terminal device via resources specifically used to handle unicast connection failures; or, receiving the second configuration information from the first terminal device via a first upper layer signaling.
[0198] In combination with the ninth aspect, in a possible implementation of the ninth aspect, the processing module is also used to: update the configuration of the unicast connection to a default configuration, and negotiate a new configuration of the unicast connection with the first terminal device by applying the unicast connection with the default configuration.
[0199] Regarding the technical effects brought about by the ninth aspect or the various implementation methods of the ninth aspect, reference may be made to the introduction to the technical effects of the third aspect or the related implementation methods of the third aspect.
[0200] In a tenth aspect, a seventh communication device is provided. The communication device may be the first communication device in the above method design, such as a first terminal device, or a chip set in the first terminal device. The communication device includes: a memory for storing a computer executable program code; and a processor, the processor being coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, the seventh communication device executes the method in the above first aspect or any possible implementation of the first aspect.
[0201] Among them, the seventh communication device may also include a communication interface. If the seventh communication device is a first terminal device, the communication interface may be a transceiver in the first terminal device, such as a radio frequency transceiver component in the first terminal device. Alternatively, if the seventh communication device is a chip set in the first terminal device, the communication interface may be an input / output interface of the chip, such as an input / output pin, etc.
[0202] In an eleventh aspect, an eighth communication device is provided. The communication device may be the second communication device in the above method design, such as the first terminal device, or a chip set in the first terminal device. The communication device includes: a memory for storing computer executable program code; and a processor, the processor being coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, the eighth communication device executes the method in the above second aspect or any possible implementation of the second aspect.
[0203] Among them, the eighth communication device may also include a communication interface. If the eighth communication device is a first terminal device, the communication interface may be a transceiver in the first terminal device, such as a radio frequency transceiver component in the first terminal device. Alternatively, if the eighth communication device is a chip set in the first terminal device, the communication interface may be an input / output interface of the chip, such as an input / output pin, etc.
[0204] The eighth communication device provided in the eleventh aspect and the seventh communication device provided in the tenth aspect may be the same communication device, or may be different communication devices.
[0205] In a twelfth aspect, a ninth communication device is provided. The communication device may be the third communication device in the above method design, such as a second terminal device, or a chip set in the second terminal device. The communication device includes: a memory for storing computer executable program code; and a processor, the processor being coupled to the memory. The program code stored in the memory includes instructions, and when the processor executes the instructions, the ninth communication device executes the method in the above third aspect or any possible implementation of the third aspect.
[0206] Among them, the ninth communication device may also include a communication interface. If the ninth communication device is a second terminal device, the communication interface may be a transceiver in the second terminal device, such as a radio frequency transceiver component in the second terminal device. Alternatively, if the ninth communication device is a chip set in the second terminal device, the communication interface may be an input / output interface of the chip, such as an input / output pin, etc.
[0207] In the thirteenth aspect, a first communication system is provided, which may include the first communication device described in the fourth aspect, the fourth communication device described in the seventh aspect, or the seventh communication device described in the tenth aspect, and the third communication device described in the sixth aspect, the sixth communication device described in the ninth aspect, or the ninth communication device described in the twelfth aspect. Optionally, the communication system may also include a network device, which may be connected to the first communication device described in the fourth aspect, the fourth communication device described in the seventh aspect, or the seventh communication device described in the tenth aspect, and the network device may be connected to the third communication device described in the sixth aspect, the sixth communication device described in the ninth aspect, or the ninth communication device described in the twelfth aspect, or may not be connected.
[0208] In the fourteenth aspect, a second communication system is provided, which may include the second communication device described in the fifth aspect, the fifth communication device described in the eighth aspect, or the eighth communication device described in the eleventh aspect, and the third communication device described in the sixth aspect, the sixth communication device described in the ninth aspect, or the ninth communication device described in the twelfth aspect. Optionally, the communication system may also include a network device, which may be connected to the second communication device described in the fifth aspect, the fifth communication device described in the eighth aspect, or the eighth communication device described in the eleventh aspect, and the network device may be connected to the third communication device described in the sixth aspect, the sixth communication device described in the ninth aspect, or the ninth communication device described in the twelfth aspect, or may not be connected.
[0209] In a fifteenth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect or any possible design of the first aspect.
[0210] In the sixteenth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enables the computer to execute the method described in the second aspect or any possible design of the second aspect.
[0211] In the seventeenth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enables the computer to execute the method described in the third aspect or any possible design of the third aspect.
[0212] In an eighteenth aspect, a computer program product comprising instructions is provided, wherein the computer program product stores instructions that, when executed on a computer, enable the computer to execute the method described in the first aspect or any possible design of the first aspect.
[0213] In a nineteenth aspect, a computer program product comprising instructions is provided, wherein the computer program product stores instructions that, when executed on a computer, enable the computer to execute the method described in the second aspect or any possible design of the second aspect.
[0214] In the twentieth aspect, a computer program product comprising instructions is provided, wherein the computer program product stores instructions that, when executed on a computer, enable the computer to execute the method described in the third aspect or any possible design of the third aspect.
[0215] In an embodiment of the present application, the side link can be monitored to identify the fault as early as possible, thereby helping to reduce the probability of service delay or even interruption due to unicast connection failure, and improving the continuity of service transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0216] Figure 1 Several schematic diagrams of V2X;
[0217] Figure 2A to Figure 2E Several schematic diagrams of LTE V2X services communicating through PC5 port;
[0218] Figure 3A A schematic diagram of an application scenario of an embodiment of the present application;
[0219] Figure 3B This is another application scenario diagram of Example ID of this application;
[0220] Figure 4 A flowchart of a first fault determination method provided in an embodiment of the present application;
[0221] Figure 5 A schematic diagram of a terminal device carrying an L2 identifier when sending a data packet in an embodiment of the present application;
[0222] Fig. 6A This is a schematic diagram of a first terminal device sending second configuration information to a second terminal device through an SRB with dedicated sending resources in an embodiment of the present application;
[0223] Figure 6B This is a schematic diagram of a first terminal device sending second configuration information to a second terminal device through resources specifically used for processing unicast connection failures in an embodiment of the present application;
[0224] Figure 6C This is a schematic diagram of a first terminal device sending second configuration information to a second terminal device through upper layer signaling in an embodiment of the present application;
[0225] Figure 7 This is a schematic diagram of an interaction in which a first terminal device sends a first upper layer signaling to a second terminal device in an embodiment of the present application;
[0226] Figure 8 A flowchart of a second fault determination method provided in an embodiment of the present application;
[0227] Fig. 9 A schematic diagram of a communication device capable of implementing the functions of a first terminal device provided in an embodiment of the present application;
[0228] Fig.10 A schematic diagram of a communication device capable of implementing the functions of a first terminal device provided in an embodiment of the present application;
[0229] Fig.11 A schematic diagram of a communication device capable of realizing the function of a second terminal device provided in an embodiment of the present application;
[0230] Figure 12A to Figure 12B Two schematic diagrams of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0231] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0232] Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0233] 1) Terminal equipment, including equipment that provides voice and / or data packet connectivity to users, such as a handheld device with wireless connection function, or a processing device connected to a wireless modem. The terminal equipment can communicate with the core network via a radio access network (RAN) and exchange voice and / or data packets with the RAN. The terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point (AP), remote terminal equipment, access terminal equipment, user terminal equipment, user agent, or user equipment, etc. For example, it may include a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, computer-built-in mobile device, a smart wearable device, etc. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDA), etc. It also includes limited devices, such as devices with low power consumption, or devices with limited storage capacity, or devices with limited computing power, etc. For example, it includes information sensing devices such as barcodes, radio frequency identification (RFID), sensors, global positioning systems (GPS), laser scanners, etc.
[0234] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device, etc. Wearable devices may also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data packet interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.
[0235] The various terminal devices introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted terminal devices, which are also called on-board units (OBU).
[0236] 2) Network equipment, for example, including access network (AN) equipment, such as a base station (e.g., access point), which may refer to a device in an access network that communicates with a wireless terminal device over an air interface through one or more cells, or, for example, a network device in a V2X technology is a road side unit (RSU). The base station can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the terminal device and the rest of the access network, where the rest of the access network may include an IP network. The RSU can be a fixed infrastructure entity that supports V2X applications and can exchange messages with other entities that support V2X applications. The network equipment can also coordinate the attribute management of the air interface. For example, the network device may include an evolved base station (NodeB or eNB or e-NodeB, evolutional NodeB) in a long term evolution (LTE) system or an advanced long term evolution (LTE-A), or may also include a next generation node B (next generation node B, gNB) in a 5G NR system, or may also include a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (CloudRAN) system, but the embodiments of the present application are not limited.
[0237] 3) Device-to-device (D2D). In order to improve spectrum utilization and maximize the use of the radio frequency capabilities of existing terminal devices, the D2D communication link (also called sidelink) considers reusing the spectrum resources of the existing mobile communication network. In order not to interfere with the terminal devices of the existing network, D2D communication does not use the spectrum resources of the downlink link of LTE-A, but only reuses the spectrum resources of the uplink link of the LTE-A system, because the anti-interference ability of the base station is stronger than that of the terminal device. It is more likely that the D2D device will perform time division multiplexing on the uplink spectrum resources, so there is no need to support simultaneous transmission and reception, and only needs to send or receive at a time. Among them, the downlink of LTE-A is the link from the eNB to the terminal device, and the uplink of LTE-A is the link from the terminal device to the eNB.
[0238] 4) V2X: In version (Rel)-14 / 15 / 16, V2X was successfully approved as a major application of D2D technology. V2X will optimize the specific application requirements of V2X based on the existing D2D technology, and it is necessary to further reduce the access delay of V2X devices and solve the resource conflict problem.
[0239] V2X specifically includes three application requirements: V2V, V2P, and V2I / N. Figure 1 As shown. V2V refers to the communication between vehicles; V2P refers to the communication between vehicles and people (including pedestrians, cyclists, drivers, or passengers); V2I refers to the communication between vehicles and RSUs. In addition, there is a V2N that can be included in V2I. V2N refers to the communication between vehicles and base stations / networks.
[0240] Among them, RSU includes two types: terminal type RSU, which is deployed on the roadside and is in a non-mobile state, and there is no need to consider mobility; base station type RSU, which can provide timing synchronization and resource scheduling for vehicles communicating with it.
[0241] 5) "At least one" means one or more, and "more than one" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or plural.
[0242] Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. For example, the first indication information and the second indication information are only used to distinguish different information, and do not indicate the difference in content, priority, sending order or importance of the two types of information.
[0243] As described above, some concepts involved in the embodiments of the present application are introduced. The following describes the technical features of the embodiments of the present application.
[0244] See also Figure 2A to Figure 2E , is a schematic diagram of LTE V2X services communicating through the PC5 interface (also known as sidelink), where the network devices are located in the evolved universal terrestrialradio access network (E-UTRAN). Figure 2A Schematic diagram of V2V. Figure 2B and Figure 2C This is a schematic diagram of V2I. Figure 2D and Figure 2E This is a schematic diagram of V2P. At this time, the terminal device can be within the coverage of the cell supporting V2X, or it can be outside the coverage of the cell supporting V2X.
[0245] Currently, there are two ways for terminal devices to obtain V2X sidelink resources. One way is that before sending data packets for V2X services, the terminal device needs to request resources from the network device, and the network device allocates V2X sidelink resources to the terminal device on demand. This mode is called mode 3 in LTE V2X and Mode 1 in NR V2X. The other way is that the terminal device can obtain resources through competition in the V2X sidelink resources broadcast by the network device or pre-configured by the control function (CF) network element in the core network. This mode is called Mode 4 in LTE V2X and Mode 2 in NR V2X.
[0246] Currently, data packets can be transmitted between terminal devices via unicast connections on the sidelink under V2X. However, there is no mention of how to handle unicast connection failures. If a unicast connection fails, it may take a long time to recover, or even not be recovered, which may cause a long service interruption.
[0247] In view of this, a technical solution of an embodiment of the present application is provided. The embodiment of the present application proposes that the unicast connection can be monitored. For example, the first terminal device can monitor the parameters of the side link to determine whether the unicast connection on the side link is faulty, which is equivalent to determining the fault as early as possible by monitoring the side link. For example, the fault may be determined in the early stage and may be processed before it has a significant impact on the data packet transmission, thereby helping to reduce the probability of service delay or even interruption due to unicast connection failure, and improving the continuity of service transmission.
[0248] The technical solution provided in the embodiments of the present application can be applied to V2X scenarios, which can be NR V2X scenarios or LTE V2X scenarios, etc., or can also be applied to other scenarios or other communication systems, without specific limitation.
[0249] The following introduces the network architecture used in the embodiments of the present application.
[0250] Please refer to Figure 3A , which is a network architecture used in the embodiments of the present application. Figure 3A The system includes a network device and two terminal devices, namely terminal device 1 and terminal device 2. Both terminal devices can be connected to the network device, or both terminal devices are not connected to the network device, or only terminal device 1 is connected to the network device and terminal device 2 is not connected to the network device. The two terminal devices can communicate with each other through sidelink. Figure 3A For example, terminal device 1 and terminal device 2 are both connected to the network device. Figure 3A The number of terminal devices is only an example. In actual applications, the network device can provide services for multiple terminal devices.
[0251] Please also refer to Figure 3B , which is another network architecture used in the embodiments of the present application. Figure 3B The system includes a network device and two terminal devices, namely terminal device 1 and terminal device 2. Both terminal devices can be connected to the network device, or both terminal devices are not connected to the network device, or only terminal device 1 is connected to the network device and terminal device 2 is not connected to the network device. The two terminal devices can communicate with each other through sidelink. Figure 3B For example, only terminal device 1 is connected to the network device, and terminal device 2 is not connected to the network device. Figure 3B The number of terminal devices is only an example. In actual applications, the network device can provide services for multiple terminal devices.
[0252] Figure 3A and Figure 3B The network device in the example is an access network device, such as a base station. The access network device corresponds to different devices in different systems. For example, in the fourth generation mobile communication technology (the 4 th In a 4G (4G) generation system, it can correspond to eNB, and in a 5G system, it can correspond to an access network device in 5G, such as gNB, or an eNB connected to a 5G core network.
[0253] in, Figure 3A and Figure 3B The terminal devices in the examples are all vehicle-mounted terminal devices or vehicles, but the terminal devices in the embodiments of the present application are not limited to this.
[0254] Next, the technical solution provided by the embodiments of the present application will be described in conjunction with the accompanying drawings.
[0255] This application embodiment provides a method for sending a signal and configuring a priority. Figure 4 , which is a flowchart of the method. In the following introduction, the method is applied to Figure 3A or Figure 3BTake the network architecture shown as an example. In addition, the method can be performed by two communication devices, or by three communication devices. If it is performed by two communication devices, the two communication devices are, for example, a first communication device and a second communication device. If it is performed by three communication devices, the three communication devices are, for example, a first communication device, a second communication device, and a third communication device. Among them, the first communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the first communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. The second communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the second communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. The same is true for the third communication device. The third communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the third communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. There is no restriction on the implementation methods of the first communication device, the second communication device and the third communication device. For example, the first communication device may be a network device, the second communication device is a terminal device, and the third communication device is also a terminal device, or the first communication device is a network device, the second communication device is a communication device that can support the terminal device to implement the functions required by the method, and the third communication device is a terminal device, or the first communication device is a network device, the second communication device and the third communication device are both communication devices that can support the terminal device to implement the functions required by the method, etc. The network device is, for example, a base station.
[0256] For the sake of convenience, the following text takes the method being performed by a network device and two terminal devices, or by a terminal device and a terminal device as an example, that is, the first communication device is a network device, the second communication device and the third communication device are terminal devices, or the first communication device and the second communication device are both terminal devices as an example. Figure 3A or Figure 3B The network architecture shown in FIG. 1 is taken as an example, therefore, the network devices described below may be Figure 3A or Figure 3B In the network architecture shown in FIG. 1 , the first terminal device described below may be Figure 3A or Figure 3B In the network architecture shown in FIG. 1 , the second terminal device described below may be Figure 3A or Figure 3B Terminal device 2 in the network architecture shown.
[0257] S41, the first terminal device monitors the parameters of the side link between the first terminal device and the second terminal device to determine whether the unicast connection on the side link meets the first condition;
[0258] S42: When the unicast connection meets the first condition, the first terminal device determines that the unicast connection fails.
[0259] In an embodiment of the present application, the first terminal device may monitor the parameters of the sidelink between the first terminal device and the second terminal device to determine whether the unicast connection on the sidelink meets the first condition, and the unicast connection is a unicast connection for the first terminal device to communicate with the second terminal device. In practical applications, the first terminal device may monitor one unicast connection, or may monitor multiple unicast connections. If multiple unicast connections are monitored, the multiple unicast connections may be unicast connections used for communication between the first terminal device and multiple terminal devices, respectively, without specific limitation.
[0260] Regarding the first condition, it may include one of sub-condition 1, sub-condition 2, sub-condition 3, sub-condition 4, sub-condition 5, sub-condition 6, sub-condition 7, sub-condition 8, sub-condition 9 or sub-condition 10 or any combination thereof. Of course, the first condition may also include other conditions in addition to these sub-conditions, for example, the first condition may not include these ten sub-conditions, but include other conditions; or the first condition may include one of sub-condition 1, sub-condition 2, sub-condition 3, sub-condition 4, sub-condition 5, sub-condition 6, sub-condition 7, sub-condition 8, sub-condition 9 or sub-condition 10 or any combination thereof, and also include other conditions; or the first condition may only include one of sub-condition 1, sub-condition 2, sub-condition 3, sub-condition 4, sub-condition 5, sub-condition 6, sub-condition 7, sub-condition 8, sub-condition 9 or sub-condition 10 or any combination thereof, but not include other conditions, and there is no specific limitation. These sub-conditions are introduced below.
[0261] Sub-condition 1: The measurement result of the channel state information (CSI) reference signal transmitted on the unicast connection of the side link is less than the CSI measurement threshold value. If the first condition includes sub-condition 1, it means that the parameters of the side channel monitored by the first terminal device include the measurement result of the CSI reference signal transmitted on the unicast connection of the side link.
[0262] On the sidelink of V2X, a CSI reference signal is introduced for unicast scenarios. The CSI reference signal can be sent by the terminal device together with the data packet, or sent periodically. The embodiments of the present application are not limited thereto. The terminal device as the receiving end can perform measurements based on the received CSI reference signal when receiving the data packet to obtain the measurement result of the CSI reference signal. For example, if the first terminal device needs to monitor the measurement result of the CSI reference signal, then the first terminal device can be used as the receiving end, and the second terminal device can send the CSI reference signal to the first terminal device through the unicast connection. The first terminal device can measure the CSI reference signal received from the second terminal device. Alternatively, even if the first terminal device is used as the transmitting end, it can measure the sent CSI reference signal, and there is no specific limitation. The measurement result of the CSI reference signal reflects the distance between the two terminal devices, or reflects the channel quality between the two terminal devices. Generally speaking, the larger the value of the CSI reference signal measurement result is, the better the CSI reference signal measurement result is, and the better the CSI reference signal measurement result is, the closer the distance between the two terminal devices is, or the better the channel quality between the two terminal devices is.
[0263] Therefore, a CSI measurement threshold value can be set. If the measurement result of the CSI reference signal is less than the CSI measurement threshold value, it means that the measurement result of the CSI reference signal is poor, which also reflects that the quality of the unicast connection is poor, and the unicast connection may be faulty. Regarding the CSI measurement threshold value, it can be specified by a protocol, or configured by a network device for a terminal device. The network device is, for example, a base station, or it can also be a core network device. For example, when the network device is a base station, the CSI measurement threshold value can be sent to the terminal device through a broadcast message, or it can be sent to the terminal device through radio resource control (RRC) signaling. The CSI measurement threshold value can be applicable to the unicast connection of the first terminal device, it can also be applicable to multiple unicast connections of the first terminal device, and it can also be applicable to all unicast connections of the first terminal device.
[0264] Sub-condition 2: The measurement result of the channel busy ratio (CBR) of the resources configured for the side link is greater than the CBR measurement threshold. If the first condition includes sub-condition 2, it means that the parameters of the side channel monitored by the first terminal device include the measurement result of the CBR of the resources configured for the side link.
[0265] In the V2X system, resource configuration management is based on the resource pool. The terminal device can measure the resources configured for the side link. When measuring the resources configured for the side link, the first terminal device can measure the CBR of the resource pool to obtain the measurement result of the CBR. Among them, the time-frequency resources on the side link of V2X are configured to the terminal device in the form of a resource pool. It can be seen that if the first terminal device measures the CBR of the resource pool, it can even be independent of the establishment of a unicast connection. Regardless of whether a unicast connection is established between the first terminal device and the second terminal device, the first terminal device can measure the CBR of the resource pool configured for the side link. The measurement result of CBR reflects the load of the resource pool. The higher the value of the CBR measurement result, the higher the load of the resource pool.
[0266] Therefore, a CBR measurement threshold value can be set. If the measurement result of CBR is greater than the CBR measurement threshold value, it indicates that the load of the resource pool is too high, which may lead to poor quality of unicast connection and the unicast connection may be faulty. Regarding the CBR measurement threshold value, it may be specified by a protocol or configured by a network device for a terminal device. The network device may be, for example, a base station or a core network device. For example, when the network device is a base station, the CBR measurement threshold value may be sent to the terminal device via a broadcast message or via RRC signaling. The CBR measurement threshold value may be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, or to all unicast connections of the first terminal device.
[0267] Sub-condition 3: The number of retransmissions of a data packet transmitted on the unicast connection of the side link at the radio link control (RLC) layer is greater than or equal to the first number. If the first condition includes sub-condition 3, it means that the parameters of the side channel monitored by the first terminal device include the number of retransmissions of a data packet transmitted on the unicast connection of the side link at the RLC layer.
[0268] If the bearer on the V2X sidelink supports acknowledged mode (AM) RLC, there will be a packet retransmission mechanism at the RLC layer. Then, for a packet transmitted on the unicast connection, if the number of retransmissions at the RLC layer is large, it means that the quality of the unicast connection is poor.
[0269] Therefore, a number threshold can be set, where the number threshold is called the first number, for example. If the number of retransmissions of a data packet transmitted on the unicast connection at the RLC layer is greater than or equal to the first number, it indicates that the quality of the unicast connection is poor and the unicast connection may be faulty. The data packet monitored here can be any data packet transmitted on the unicast connection. For example, the first terminal device can monitor all data packets or each of the partial data packets transmitted on the unicast connection. For example, it can be a partial data packet with a relatively high reliability requirement in the detection data packet, or this data packet can also be a specific data packet transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection is faulty. The first number can be specified by a protocol or configured by a network device for the terminal device, and the network device can be, for example, a base station, or a core network device. For example, when the network device is a base station, the first number can be sent to the terminal device through a broadcast message, or it can be sent to the terminal device through RRC signaling. The first number can be applicable to the unicast connection of the first terminal device, or it can be applicable to multiple unicast connections of the first terminal device, or it can be applicable to all unicast connections of the first terminal device.
[0270] Sub-condition 4: The number of retransmissions of a data packet transmitted on the unicast connection of the sidelink at the media access control (MAC) layer is greater than or equal to the second number. If the first condition includes sub-condition 4, it means that the parameter of the side channel monitored by the first terminal device includes the number of retransmissions of a data packet transmitted on the unicast connection of the sidelink at the MAC layer.
[0271] At the MAC layer, the hybrid automatic repeat request (HARQ) mechanism is generally supported. Under the HARQ mechanism, if a data packet is transmitted incorrectly, it can be retransmitted. Then, for a data packet transmitted on the unicast connection, if the number of retransmissions at the MAC layer is large, it indicates that the quality of the unicast connection is poor.
[0272] Therefore, a number threshold can be set, where the number threshold is called the second number, for example. If the number of retransmissions of a data packet transmitted on the unicast connection at the MAC layer is greater than or equal to the second number, it indicates that the quality of the unicast connection is poor and the unicast connection may be faulty. The data packet monitored here can be any data packet transmitted on the unicast connection. For example, the first terminal device can monitor all data packets or each of the partial data packets transmitted on the unicast connection. For example, it can be a partial data packet with a relatively high reliability requirement in the detection data packet, or this data packet can also be a specific data packet transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection is faulty. The second number can be specified by the protocol or configured by the network device for the terminal device, and the network device can be, for example, a base station, or a core network device. For example, when the network device is a base station, the second number can be sent to the terminal device through a broadcast message, or it can be sent to the terminal device through RRC signaling. The second number can be applicable to the unicast connection of the first terminal device, or to multiple unicast connections of the first terminal device, or to all unicast connections of the first terminal device.
[0273] Exemplarily, the first number and the second number may be equal or unequal. The first number may be related to the implementation of the RLC layer, and the second number may be related to the implementation of the MAC layer. There is no specific limitation.
[0274] Sub-condition 5: The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number, and the number of retransmissions is greater than or equal to the third number. If the first condition includes sub-condition 5, it means that the parameters of the side channel monitored by the first terminal device include the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number.
[0275] In sub-condition 4, it is introduced that for a data packet transmitted on the unicast connection, if the transmission is erroneous, it can be retransmitted. Then, if the number of retransmissions of the data packet at the MAC layer is large, it means that the quality of the unicast connection is poor. Sub-condition 4 is to judge the quality of the unicast connection by the number of retransmissions of this data packet, and considering the overall factors, for example, the quality of the unicast connection may have a short-term fluctuation, and the quality may be poor when transmitting one or several data packets, and then the quality will become better, so it can be evaluated from the overall perspective. Therefore, in sub-condition 5, multiple data packets on the unicast connection can be monitored. If the number of retransmissions of the data packet transmitted on the unicast connection at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number, it can be determined that the unicast connection may be faulty. For example, each data packet on the unicast connection within the first time period can be monitored. If the number of retransmissions of the data packet transmitted on the unicast connection at the MAC layer within the first time period is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number, it can be determined that the unicast connection may be faulty. Exemplarily, the number of retransmissions of the data packets transmitted on the unicast connection at the MAC layer is greater than or equal to the second number, and the number of retransmissions is greater than or equal to the third number. It can also be understood that the number of first-class data packets transmitted on the unicast connection is greater than or equal to the first number, and the first-class data packets are data packets whose number of retransmissions at the MAC layer is greater than or equal to the second number. Therefore, sub-condition 5 can also be understood as that the number of first-class data packets transmitted on the unicast connection of the side link is greater than or equal to the first number, and the first-class data packets are data packets whose number of retransmissions at the MAC layer is greater than or equal to the second number. For example, if the number of retransmissions of 2 data packets on the unicast connection is greater than or equal to the second number, then the number of retransmissions of the data packets transmitted on the unicast connection at the MAC layer is greater than or equal to the second number is 2 times, and the number of first-class data packets is also 2. Of course, the first duration here is just an example and is not limited to this. For another example, the terminal device can maintain a counter. When the number of retransmissions of a data packet at the MAC layer is greater than or equal to the second number, the counter is incremented by one, and the initial value of the counter is 0. When the count value of the counter is greater than or equal to the third number, it can be determined that the unicast connection may fail. The terminal device can maintain a counter for each unicast connection, and can maintain a counter for each logical channel in each unicast connection. At this time, each counter will only be incremented if the number of retransmissions of the data packet in the corresponding logical channel at the MAC layer is greater than or equal to the second number. Sub-condition 5 can be used to evaluate the unicast connection more comprehensively, so that the evaluation result is more accurate.
[0276] Exemplarily, the multiple data packets monitored here can be any multiple data packets transmitted on the unicast connection. For example, the first terminal device can monitor multiple data packets in all or part of the data packets transmitted on the unicast connection. For example, it can be a part of the data packets with relatively high reliability requirements in the detection data packets, or these multiple data packets can also be specific data packets transmitted on the unicast connection, such as test data packets specifically used to monitor whether the unicast connection is faulty. The second number and the third number (or the first quantity) can be specified by the protocol, or configured by the network device for the terminal device, and the network device can be, for example, a base station, or a core network device. For example, when the network device is a base station, the second number and the third number (or the first quantity) can be sent to the terminal device through a broadcast message, or the first number and the third number (or the first quantity) can be sent to the terminal device through RRC signaling. The first number and the third number (or the first quantity) can be applicable to the unicast connection of the first terminal device, or to multiple unicast connections of the first terminal device, or to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal. In addition, if the first duration is set, the first duration may be specified by a protocol, or configured by a network device for the terminal device, the network device being, for example, a base station, or a core network device. For example, when the network device is a base station, the first duration may be sent to the terminal device via a broadcast message, or the first duration may be sent to the terminal device via RRC signaling. The first duration may apply to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal.
[0277] Sub-condition 6: The result of the integrity check on the data packet transmitted on the unicast connection of the side link indicates that the check failed. If the first condition includes sub-condition 6, it means that the parameters of the side channel monitored by the first terminal device include the result of the integrity check on the data packet transmitted on the unicast connection of the side link.
[0278] For the transmission of unicast connections on the sidelink of V2X, the access stratum (AS) layer may support integrity verification, that is, the terminal device as the sender performs integrity protection on the data packet when sending the data packet, and the terminal device as the receiver needs to perform integrity verification on the data packet when receiving the data packet. In this way, it is possible to identify whether the current unicast connection is attacked. If there is an attacker, it is possible that the integrity verification of the terminal device as the receiving end will fail, which also reflects to a certain extent that there is a problem with the unicast connection. Of course, it is also possible that the integrity protection of the data packet is performed by the upper layer. At this time, the integrity protection and integrity verification of the data packet are completed by the upper layer of the two terminal devices, not the AS layer. Exemplarily, the upper layer can be the V2X layer above the RRC layer, or the application layer.
[0279] In the embodiment of the present application, sub-condition 6 may be that the result of the integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails. This data packet may be any data packet transmitted on the unicast connection. For example, the first terminal device may monitor all data packets or each of the partial data packets transmitted on the unicast connection, or this data packet may also be a specific data packet transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection fails. Alternatively, sub-condition 6 may be that the result of the integrity check on multiple data packets transmitted on the unicast connection of the side link indicates that the check fails. These multiple data packets may be any multiple data packets transmitted on the unicast connection. For example, the first terminal device may monitor all data packets or multiple data packets in the partial data packets transmitted on the unicast connection, or these multiple data packets may also be specific data packets transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection fails. For example, a number threshold may be set, such as a second number. If the number of data packets that fail the check is greater than or equal to the second number, sub-condition 6 is satisfied. For example, the number of data packets that fail to be verified continuously may be greater than the second number, or the number of data packets that fail to be verified within the second time period may be greater than the second number.
[0280] If the second number is needed, it can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the second number can be sent to the terminal device through a broadcast message, or the second number can be sent to the terminal device through RRC signaling. The second number can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal. The same is true for the second duration. If the second duration is set, the second duration can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the second duration can be sent to the terminal device through a broadcast message, or the second duration can be sent to the terminal device through RRC signaling. The second duration can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal.
[0281] In addition, if the unicast connection meets sub-condition 6, that is, after the first terminal device performs an integrity check on the data packet transmitted on the unicast connection of the opposite link, and the check result indicates that the check fails, the first terminal device will discard the data packet that failed the check.
[0282] Sub-condition 7: The decryption result of the data packet transmitted on the unicast connection of the side link indicates that the decryption fails. If the first condition includes sub-condition 7, it means that the parameters of the side channel monitored by the first terminal device include the decryption result of the data packet transmitted on the unicast connection of the side link.
[0283] Similar to the integrity check, the upper layer or AS layer of the terminal device can also perform encryption / decryption operations on the data packets transmitted on the unicast connection. For example, the terminal device as the sending end can perform encryption operations on the data packets to be sent and send the encrypted data packets. The terminal device as the receiving end can perform decryption operations on the received data packets. The decrypted data packets can be regarded as the decryption results. If the decryption result is correct, it indicates that the decryption is successful. If the decryption result is wrong, it indicates that the decryption fails, which also reflects to a certain extent that there is a problem with the unicast connection.
[0284] In the embodiment of the present application, sub-condition 7 may be that the result of decrypting a data packet transmitted on the unicast connection of the side link indicates that the verification failed. This data packet may be any data packet transmitted on the unicast connection. For example, the first terminal device may monitor all data packets or each of the partial data packets transmitted on the unicast connection, or this data packet may also be a specific data packet transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection is faulty. Alternatively, sub-condition 7 may be that the result of decrypting multiple data packets transmitted on the unicast connection of the side link indicates that the verification failed. These multiple data packets may be any multiple data packets transmitted on the unicast connection. For example, the first terminal device may monitor all data packets or multiple data packets transmitted on the unicast connection, or these multiple data packets may also be specific data packets transmitted on the unicast connection, such as a test data packet specifically used to monitor whether the unicast connection is faulty. For example, a number threshold may be set, such as a third number. If the number of data packets that fail to be decrypted is greater than the third number, sub-condition 7 is satisfied. For example, the number of data packets that fail to be decrypted continuously may be greater than the third number, or the number of data packets that fail to be decrypted within a third time period may be greater than the third number.
[0285] If the third number is needed, it can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the third number can be sent to the terminal device through a broadcast message, or the third number can be sent to the terminal device through RRC signaling. The third number can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal. The same is true for the third duration. If the third duration is set, the third duration can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the third duration can be sent to the terminal device through a broadcast message, or the third duration can be sent to the terminal device through RRC signaling. The third duration can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal.
[0286] Sub-condition 8: The out-of-sync information of the unicast connection of the side link indicates that there is out-of-sync between the first terminal device and the second terminal device. If the first condition includes sub-condition 8, it means that the parameters of the side channel monitored by the first terminal device include the out-of-sync information of the unicast connection of the side link.
[0287] In V2X, the synchronization source of the terminal device may include a base station, a global navigation satellite system (GNSS) or other terminal devices. Two terminal devices with a unicast connection may be configured with different synchronization sources, which may cause a desynchronization in the unicast connection. For example, for a terminal device as a receiving end, it is possible to determine whether the unicast connection is out of sync by the time difference between the sending frame boundary of the terminal device as a sending end and the receiving frame boundary of the terminal device as a receiving end. This time difference can be understood as a way to implement the desynchronization information. For example, if the time difference between the sending frame boundary and the receiving frame boundary is greater than the time difference threshold, it can be determined that the unicast connection is out of sync, and the data packet transmission between the two terminal devices may be erroneous.
[0288] If a time difference threshold is required, it may be specified by a protocol or configured by a network device for a terminal device, such as a base station or a core network device. For example, when the network device is a base station, the time difference threshold may be sent to the terminal device via a broadcast message or via RRC signaling. The time difference threshold may be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, or to all unicast connections of the first terminal device.
[0289] Sub-condition 9: The quality of service (QoS) parameters of the unicast connection of the side link do not meet the value conditions of the QoS parameters. If the first condition includes sub-condition 9, it means that the parameters of the side channel monitored by the first terminal device include the QoS parameters of the unicast connection of the side link.
[0290] For example, the terminal device can count the QoS parameters in the fourth time length to determine whether the values of the QoS parameters in the fourth time length meet the value conditions of the QoS parameters. The QoS parameters include, for example, at least one of the parameters such as the packet loss rate, bit rate, or delay in the fourth time length. In a unicast connection, these indicators generally need to be guaranteed. Of course, for different QoS parameters, the value conditions of the QoS parameters that need to be met are also different. For example, when the packet loss rate in the fourth time length is greater than or equal to the packet loss rate threshold, it indicates that the packet loss rate in the fourth time length does not meet the value conditions of the QoS parameters, when the bit rate in the fourth time length is less than or equal to the bit rate threshold, it indicates that the bit rate in the fourth time length does not meet the value conditions of the QoS parameters, when the delay in the fourth time length is greater than or equal to the delay threshold, it indicates that the delay in the fourth time length does not meet the value conditions of the QoS parameters, and so on. Specifically, for the statistics of delay, a timestamp can be added to the data packet, that is, a sending timestamp is added to the data packet at the sending end, and when the receiving end receives it, the receiving time is recorded, and the delay is identified by the time difference between the receiving time and the sending time.
[0291] The value conditions of the fourth duration and QoS parameters may be stipulated by a protocol, or configured by a network device for a terminal device, the network device being, for example, a base station, or a core network device. For example, when the network device is a base station, the value conditions of the fourth duration and QoS parameters may be sent to the terminal device via a broadcast message, or may be sent to the terminal device via RRC signaling. The value conditions of the fourth duration and QoS parameters may apply to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal.
[0292] Sub-condition 10: The source layer 2 (layer 2, L2) identifier carried when the data packet is transmitted through the unicast connection of the side link has not established a unicast connection with the first terminal device. If the first condition includes sub-condition 10, it means that the parameters of the side channel monitored by the first terminal device include the source L2 identifier carried when the data packet is transmitted through the unicast connection of the side link.
[0293] In a unicast connection, the terminal device as the sender and the terminal device as the receiver have their own L2 identifiers, which are used to uniquely identify the corresponding terminal device, or to uniquely identify the corresponding unicast connection. That is to say, the L2 identifier can be set for each terminal device, or for each unicast connection. The L2 identifier is, for example, an L2 identifier (identifier, ID), or it can be an identifier in other forms. Here, setting an L2 identifier for each terminal device is taken as an example. During the initial establishment of a unicast connection, the terminal device as the sender and the terminal device as the receiver will exchange each other's L2 identifiers, or pre-configure each other's L2 identifiers to complete the establishment of the unicast connection. Subsequent data packet processing is also implemented based on the L2 identifier. Please refer to Figure 5 , as the terminal device at the sending end ( Figure 5 When sending a data packet, UE1 carries the L2 identifier of the terminal device as the sender and the L2 identifier of the terminal device as the receiver ( Figure 5 In the example of UE2, the L2 identifier of the terminal device as the sending end is used as the source L2 identifier, and the L2 identifier of the terminal device as the receiving end is used as the target L2 identifier. The above-mentioned carrying of the target L2 identifier can be to carry the target L2 identifier in the MAC protocol data unit (PDU) header, or to perform scrambling processing with the target L2 identifier, or to split the target L2 identifier into two parts, one part is carried in the MAC PDU header, and the other part is used for scrambling processing. The terminal device as the receiving end will first determine whether the data packet is sent to itself through the target L2 identifier, that is, the terminal device as the receiving end can determine whether the target L2 identifier is the same as its own L2 identifier. If they are the same, it is determined that the data packet is sent to itself. If they are not the same, it is determined that the data packet is not sent to itself. In addition, if the target L2 identifier is different from the L2 identifier of the terminal device as the receiving end, it can also indicate that the terminal device corresponding to the source L2 identifier has not established a unicast connection with the terminal device as the receiving end. If the terminal device as the receiving end determines that the data packet is sent to itself, it can process it based on the source L2 identifier carried by the data packet, for example, the data packet can be transferred to the logical channel corresponding to the source L2 identifier for processing.
[0294] There may be another way, the terminal device can save the L2 IDs of all terminal devices that have established unicast connections with the terminal device. Then, after the terminal device receives a data packet, if the source L2 ID carried in the data packet is not in the list of L2 IDs of all terminal devices that have established unicast connections saved by the terminal device, the terminal device can consider that the data packet should not be received, or it can indicate that the terminal device corresponding to the source L2 identifier carried by the data packet has not established a unicast connection with the terminal device as the receiving end.
[0295] In an embodiment of the present application, sub-condition 10 may be a source layer 2 (layer2, L2) identifier carried when a data packet is transmitted through a unicast connection of a side link, indicating that a unicast connection has not been established with the first terminal device. This data packet may be any data packet transmitted on the unicast connection, for example, the first terminal device may monitor all or part of the data packets transmitted on the unicast connection, or this data packet may also be a specific data packet transmitted on the unicast connection, for example, a test data packet specifically used to monitor whether the unicast connection is faulty. Alternatively, sub-condition 10 may also be a source L2 identifier carried when multiple data packets are transmitted through a unicast connection of a side link, indicating that a unicast connection has not been established with the first terminal device. These multiple data packets may be any multiple data packets transmitted on the unicast connection, for example, the first terminal device may monitor all or part of the data packets transmitted on the unicast connection, or these multiple data packets may also be specific data packets transmitted on the unicast connection, for example, a test data packet specifically used to monitor whether the unicast connection is faulty. For example, a number threshold may be set, such as a fourth number, and if the number of packets carrying the source L2 identifier that has not established a unicast connection with the first terminal device is greater than the fourth number, sub-condition 10 is satisfied. For example, the number of consecutive packets carrying the source L2 identifier that has not established a unicast connection with the first terminal device may be greater than or equal to the fourth number, or the number of packets carrying the source L2 identifier that has not established a unicast connection with the first terminal device within the fifth time period may be greater than or equal to the fourth number.
[0296] If the fourth number is needed, it can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the fourth number can be sent to the terminal device through a broadcast message, or the fourth number can be sent to the terminal device through RRC signaling. The fourth number can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal. The same is true for the fifth duration. If the fifth duration is set, the fifth duration can be specified by the protocol or configured by the network device for the terminal device, and the network device is, for example, a base station, or a core network device. For example, when the network device is a base station, the fifth duration can be sent to the terminal device through a broadcast message, or the fifth duration can be sent to the terminal device through RRC signaling. The fifth duration can be applicable to the unicast connection of the first terminal device, to multiple unicast connections of the first terminal device, to all unicast connections of the first terminal device, or to one or more bearers in the unicast connection of the first terminal.
[0297] In addition, if the unicast connection meets sub-condition 10, that is, the first terminal device determines that the source L2 identifier carried by the data packet transmitted through the unicast connection of the side link has not established a unicast connection with the first terminal device, then the first terminal device will discard the data packet.
[0298] If the first terminal device determines that the unicast connection on the sidelink meets the first condition, then it can be determined that the unicast connection is faulty. In the case of a unicast connection failure, or in the case where the first terminal device determines that the unicast connection meets the first condition, because the scenario applied by the embodiment of the present application is that the first terminal device is connected to the network device, then the first terminal device can indicate the failure of the unicast connection to the network device, or the first terminal device can also handle it by itself.
[0299] If the first terminal device indicates the failure of the unicast connection to the network device, then refer to Figure 4In S43, the first terminal device may send a first message to the network device, and the network device receives the first message from the first terminal device. The first message is, for example, a message specifically used to indicate a unicast connection failure to the network device, and the first message is used to indicate the unicast connection failure. In this case, as long as a terminal device sends a first message to the network device, the network device can determine that there is a unicast connection failure. Alternatively, the first message includes first indication information, and the first indication information may indicate a unicast connection failure. In this case, the first message may reuse messages in the prior art, such as sidelink UE information (SidelinkUEInformation) messages, or UE assistance information (UEAssistanceInformation) messages, or failure information (FailureInformation) messages, etc. If messages in the prior art are reused, the first indication information may be added to the messages in the prior art, and the first indication information is used to indicate a unicast connection failure. Among them, S43 is only an optional step and is not required to be performed, so the arrow of S43 is represented by a dotted line.
[0300] The first indication information may only indicate that there is a unicast connection failure. If there are multiple unicast connections between the first terminal device and the second terminal device, the network device may not be able to clearly identify which unicast connection is faulty. Therefore, the first message may also include second indication information, and the second indication information is used to indicate the faulty unicast connection. For example, the second indication information may indicate the ID of the unicast connection, that is, the target L2 identifier, or the index of the unicast connection. The index corresponds to the position of the faulty unicast connection in the unicast connection information list reported by the terminal device, or indicates other information of the unicast connection. In short, the unicast connection can be uniquely determined by the second indication information. For condition 10, a source L2 identifier that has not been established is found during the data reception process. At this time, in order to be able to identify which unicast connection has a security risk, the first terminal device can configure different L2 identifiers for different connections. At this time, the target L2 ID corresponding to the data packet received by the first terminal device is the source L2 identifier assigned by the first terminal device to a certain unicast connection. The source L2 identifier can be used to determine which unicast connection is faulty, that is, there may be a security risk. This enables the network device to clearly identify which unicast connection failure has occurred, and to handle the problem in a targeted manner.
[0301] It should also be noted that, in addition to the first terminal device being able to monitor the unicast connection, the second terminal device can also monitor the unicast connection, and the monitoring method can be the same as the monitoring method of the first terminal device, for example, it also determines whether the unicast connection meets the first condition. The technical solution of the embodiment of the present application can be applied to Figure 3A The application scenario shown or Figure 3B The application scenario shown in the figure, if the technical solution of the embodiment of the present application is applied to Figure 3A In the application scenario shown in the figure, if the second terminal device detects a unicast connection failure during monitoring, the second terminal device may also perform the same processing as the first terminal device, for example, the second terminal device may also send a corresponding indication to the network device to indicate the unicast connection failure, or the second terminal device may also determine the corresponding configuration information by itself. Figure 3A In the application scenario shown, it can be considered that the status of the first terminal device and the second terminal device are equal, and the processing methods can be the same, so only the first terminal device is used as an example for introduction.
[0302] The previous article introduced multiple sub-conditions, or multiple parameters of the side channel, and the detection results of some of these parameters may be related to the resources used by the unicast connection. For example, for the measurement results of CSI, the measurement results of CBR, the number of retransmissions at the RLC layer, the number of retransmissions at the MAC layer, the number of times the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than the second number, or QoS parameters, the detection results of these side channel parameters may be related to the resources used by the unicast connection. If the detection results of these side channel parameters indicate that the unicast connection is faulty, it is likely caused by the poor quality of the resources used by the unicast connection. Therefore, if the first condition includes that the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions of the RLC layer is greater than or equal to the first number, the number of retransmissions of the MAC layer is greater than or equal to the second number, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number, the number of retransmissions is greater than or equal to the third number, or the QoS parameter does not meet the value conditions of the QoS parameter, one or any combination thereof, that is, the first condition includes one or any combination of sub-conditions 1, 2, 3, 4, 5, or 9, then the first message may also include third indication information, and the third indication information may be used to indicate the resources used by the unicast connection. Thus, after receiving the first message, the network device can clarify the resources used by the unicast connection, for example, it can consider restoring the unicast connection by reconfiguring the resources used by the unicast connection, that is, handling the failure of the unicast connection. Of course, if in addition to these sub-conditions, there are other sub-conditions that are also related to the resources used by the unicast connection, then if the first condition that the unicast connection meets includes these sub-conditions, the first message may also include third indication information, and the third indication information indicates the resources used by the unicast connection, which may specifically be indication information of a carrier or a bandwidth part (BWP) or a resource pool. Alternatively, no matter which sub-condition or sub-conditions the first condition includes, the first message may include the third indication information, and the third indication information may be used to indicate the resources used by the unicast connection.
[0303] In addition, because the failure of the unicast connection is indicated to the network device, it may be more desirable for the network device to instruct the restoration of the unicast connection as soon as possible. Therefore, in order to speed up the processing speed of the network device, the first message may also include fourth indication information, and the fourth indication information may include the first condition that the unicast connection meets, for example, the fourth indication information includes that the first condition that the unicast connection meets is that the measurement result of the CSI reference signal is less than the CSI measurement threshold value, or the fourth indication information includes that the first condition that the unicast connection meets is that the measurement result of the CBR is greater than the CBR measurement threshold value and the decryption result of the data packet transmitted on the unicast connection indicates that the decryption failed, etc. After the network device receives the first message, it can clarify what kind of problem the unicast connection has occurred according to the fourth indication information, thereby helping the network device to adopt more targeted means when determining the method for restoring the unicast connection.
[0304] The first terminal device determines that the unicast connection meets sub-condition 10 according to the fourth indication information, that is, the source L2 identifier carried when transmitting the data packet through the unicast connection of the side link has not established a unicast connection with the first terminal device. Then, a solution that the first terminal device can adopt is to update the L2 identifier of the first terminal device, and the first terminal device sends the updated L2 identifier of the first terminal device to the second terminal device, so that the second terminal device can know the updated L2 identifier of the first terminal device. In this way, when the first terminal device receives a data packet from the second terminal device through the unicast connection again, the source L2 identifier carried by the data packet is the one that has established a unicast connection with the first terminal device.
[0305] In an embodiment of the present application, after determining that the unicast connection meets the first condition, the first terminal device can obtain first configuration information, and the first configuration information can be used to restore the unicast connection. The first configuration information can be understood as new configuration information of the unicast connection. For example, the first terminal device can obtain the first configuration information through the network device. For example, after the first terminal device sends the indication information to the network device, the network device can determine the first configuration information for the unicast connection and send the first configuration information to the first terminal device. The first terminal device can receive the first configuration information from the network device. For example, the first terminal device is in NR V2X Mode1 or LTE V2X Mode3, and it is possible to obtain the first configuration information through the network device. Of course, even if the first terminal device is in NR V2X Mode1 or LTE V2X Mode3, it is possible to determine the first configuration information by itself; or, the first terminal device can also determine the first configuration information by itself. For example, the first terminal device is in NR V2X Mode2 or LTE V2X Mode4, and it is possible to determine the first configuration information by itself. Of course, even if the first terminal device is in NR V2X Mode2 or LTE V2X Mode4, it is possible to obtain the first configuration information through the network device. For example, the network device can broadcast the configuration information, or send the configuration information through dedicated signaling. The first terminal device can receive the configuration information broadcast by the network device or sent through dedicated signaling, and the configuration information can be used as the first configuration information. Alternatively, if the first terminal device is not connected to the network device, for example, both the first terminal device and the second terminal device are not connected to the network device, then the first terminal device can determine the first configuration information by itself. In other words, in this scenario, the first terminal device will be triggered to reconfigure itself. For example, the first configuration information determined by the first terminal device may include resource configuration information, that is, the first terminal device can reselect resources for the unicast connection.
[0306] The first configuration information obtained by the first terminal device can be used by the first terminal device to configure the unicast connection. The unicast connection is a unicast connection between the first terminal device and the second terminal device. Therefore, in order to restore the unicast connection, the second terminal device also needs to reconfigure the unicast connection, and the second terminal device also needs to obtain corresponding configuration information. For example, the configuration information obtained by the second terminal device is referred to as second configuration information. Exemplarily, the first configuration information and the second configuration information can be the same or different.
[0307] If the technical solution provided in the embodiment of the present application is applied to Figure 3AIn the application scenario shown in the figure, the second terminal device can obtain the configuration information in the same way as the first terminal device, that is, the second terminal device can receive the second configuration information from the network device. For example, after receiving the indication information sent by the first terminal device, the network device can determine the first configuration information and the second configuration information, and send the first configuration information to the first terminal device and the second configuration information to the second terminal device. Alternatively, the second terminal device can also determine the second configuration information by itself. Alternatively, if the technical solution provided in the embodiment of the present application is applied to Figure 3A In the application scenario shown, the second terminal device may obtain the configuration information in a different manner from the first terminal device. For example, the first terminal device may send the second configuration information to the second terminal device, and the second terminal device may receive the second configuration information from the first terminal device. Figure 4 Take the example of the first terminal device sending the second configuration information to the second network device. For this, reference can be made to S44. Since S44 is only an optional step and is not required to be executed, the arrow representing S44 is drawn as a dotted line. If the first terminal device sends the second configuration information to the second terminal device, then the network device may send both the first configuration information and the second configuration information to the first terminal device, and the first terminal device may send the second configuration information to the second terminal device. Alternatively, the first terminal device may send the first configuration information to the second terminal device, and the second terminal device may adapt according to the first configuration information after receiving the first configuration information to determine the configuration information applicable to the second terminal device. In this case, the first configuration information and the second configuration information are the same, and the second configuration information is not the configuration information applicable to the second terminal device. In other cases, the first configuration information and the second configuration information may be different, and the second configuration information is the configuration information applicable to the second terminal device. Alternatively, the first terminal device may determine the second configuration information by itself and send the second configuration information to the second terminal device, without the need for the second terminal device to adapt according to the first configuration information.
[0308] If the technical solution provided in the embodiment of the present application is applied to Figure 3BIn the application scenario shown, the first terminal device can send the second configuration information to the second terminal device, and the second terminal device can receive the second configuration information from the first terminal device. If the first terminal device sends the second configuration information to the second terminal device, the network device can send both the first configuration information and the second configuration information to the first terminal device, and the first terminal device sends the second configuration information to the second terminal device, or the first terminal device can send the first configuration information to the second terminal device, and the second terminal device adapts according to the first configuration information after receiving the first configuration information to determine the configuration information applicable to the second terminal device. In this case, the first configuration information and the second configuration information are the same, and the second configuration information is not the configuration information applicable to the second terminal device, while in other cases, the first configuration information and the second configuration information can be different, and the second configuration information is the configuration information applicable to the second terminal device. Alternatively, the first terminal device can determine the second configuration information by itself and send the second configuration information to the second terminal device, without the second terminal device adapting according to the first configuration information.
[0309] In addition, if the network device sends the first configuration information to the first terminal device, the network device needs to obtain the Uu interface identifier of the first terminal device in advance. Similarly, if the network device sends the second configuration information to the second terminal device, the network device needs to obtain the Uu interface identifier of the second terminal device in advance. For example, during the process of initially establishing the unicast connection between the first terminal device and the second terminal device, the first terminal device can send the Uu interface identifier of the second terminal device to the network device.
[0310] If the first terminal device sends the second configuration information to the second terminal device, the first terminal device may have multiple sending modes.
[0311] For example, if the resources allocated for the signaling radio bearer (SRB) and the data radio bearer (DRB) are different resources, that is, the SRB has dedicated transmission resources, then the unicast connection fails, generally referring to the DRB failure, while the SRB may still work normally, so the first terminal device can send the second configuration information to the second terminal device via the SRB, and the second terminal device receives the second configuration information from the first terminal device via the SRB. Fig. 6A ,from Fig. 6A As can be seen in Figure 1, if the unicast connection fails, it is the user plane (UP) connection failure of layer 2 (L2), then the first terminal device ( Fig. 6ATaking UE1 as an example) can be connected to the second terminal device ( Fig. 6A Taking UE2 as an example), the second configuration information is sent.
[0312] Alternatively, from the perspective of the entire unicast connection, the resources allocated to SRB and DRB are the same. If the unicast connection fails, the corresponding SRB may also fail. At this time, if the second configuration information is sent through SRB, it may cause the second configuration information to fail to send. Therefore, in this case, resources can be reserved specifically for handling unicast connection failures. The first terminal device can then send the second configuration information to the second terminal device through the resources specifically used to handle unicast connection failures, and the second terminal device can also receive the second configuration information from the first terminal device through the resources specifically used to handle unicast connection failures. Exemplarily, the resources specifically used to handle unicast connection failures may be specified by the protocol, or may be configured by the network device. For this, please refer to Figure 6B ,from Figure 6B It can be seen that if the unicast connection fails, that is, the service transmission resource cannot be used any more, then the first terminal device can send the second configuration information to the second terminal device through the exception handling resource, and the exception handling resource is a resource specifically used to handle unicast connection failures. Exemplarily, the resource specifically used to handle unicast connection failures can also be configured for SRB, that is, in this case, the first terminal device can still send the second configuration information through SRB.
[0313] The above two methods can also be combined, for example, first try to restore the unicast connection through the resources of SRB, and if the recovery fails, then restore it through the resources dedicated to handling unicast connection failures. The above two methods of sending the second configuration information are both completed at the AS layer, and the second configuration information is sent through SRB, so that the recovery of the unicast connection can be completed at the AS layer as much as possible, without going through more layers to process, thereby reducing the processing process.
[0314] Alternatively, the first terminal device may also send the second configuration information to the second terminal device via upper layer signaling, for example, the upper layer signaling is referred to as the first upper layer signaling. As described above, the upper layer is, for example, the V2X layer or the application layer, and the upper layer signaling is, for example, the PC5-S signaling, or may be other signaling. For example, see Figure 6C After the AS layer of the first terminal device determines that the unicast connection fails, it can obtain the corresponding second configuration information. The AS layer of the first terminal device hands the second configuration information to the upper layer of the first terminal device. The upper layer of the first terminal device triggers PC5-S signaling and sends the second configuration information through the PC5-S signaling.
[0315] Exemplarily, the first upper layer signaling may be sent in a broadcast manner, or may be sent in a unicast manner. Taking the first upper layer signaling being sent in a broadcast manner as an example, the signaling interaction method may refer to Figure 7 , Figure 7 In the embodiment, the first terminal device sends the first upper layer signaling to the second terminal device. After receiving the first upper layer signaling, the second terminal device can restore the unicast connection according to the second configuration information, and can send a confirmation message to the first terminal device, which can be understood as an acknowledgement of the first upper layer signaling. The confirmation message can be replied by broadcasting, or can be sent to the first terminal device through the unicast connection after the unicast connection is restored.
[0316] In short, the first terminal device can send the second configuration information to the second terminal device through the AS layer or through the upper layer. These two sending methods can be independent. In the specific implementation, one of them may be selected for application. The specific selection may be specified by the protocol or configured in advance by the network device. Alternatively, these two sending methods can also be applied in combination. For example, the method of sending through the AS layer can be preferred. If the resources of the AS layer are not available, or the AS layer fails to send, the method of sending through the upper layer can be selected. In this case, if the upper layer connection is also disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the first upper layer signaling to the second terminal device, then the upper layer connection may also be unreachable. For example, the distance between the first terminal device and the second terminal device may be too far, resulting in the side link being unreachable, including the unicast link and the broadcast link being unreachable. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device. The notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Specifically, the indication may be triggered by the AS layer of the first terminal device to the application layer, or may be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer may choose to perform Uu interface transmission for the service carried on the unicast connection, and how to perform Uu port transmission specifically may refer to the prior art. Alternatively, if the first terminal device sends the second configuration information to the second terminal device via the AS layer, then if the resources of the AS layer are unavailable, that is, the connection of the AS layer is disconnected, for example, the first terminal device does not receive a reply from the second terminal device after sending the second configuration information to the second terminal device via SRB, then the AS layer connection may be unreachable. In this case, the first terminal device no longer needs to send the second configuration information through the upper layer, but may trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Specifically, the indication may be triggered by the AS layer of the first terminal device to the application layer, or may be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer may select Uu interface transmission for the service carried on the unicast connection.Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the upper layer (not through the AS layer), then if the resources of the upper layer are unavailable, that is, the connection of the upper layer is disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the second configuration information to the second terminal device through the first upper layer signaling, then the upper layer connection may be unreachable. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the upper layer of the first terminal device (at this time, the upper layer is not the application layer) sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection.
[0317] Whether it is the first configuration information or the second configuration information, it can include at least one of bearer configuration, security configuration, or resource configuration, and of course it may also include other configurations. Among them, the resource configuration includes, for example, at least one of resource pool configuration, bandwidth part (BWP) configuration, or carrier configuration, and of course it may also include other resource configurations. The bearer configuration includes, for example, at least one of packet data convergence protocol (PDCP) configuration, radio link control (RLC) configuration, media access control (MAC) configuration, or service data adaptation protocol (SDAP) configuration, and the security configuration includes, for example, at least one of security keys, security algorithms, or security capabilities. The first terminal device can restore the unicast connection according to the first configuration information, and the second terminal device can restore the unicast connection according to the second configuration information, so that the first terminal device and the second terminal device can continue to transmit data through the restored unicast connection.
[0318] In addition, in an embodiment of the present application, if the first terminal device finds that the unicast connection meets the first condition during the process of sending a data packet to the second terminal device through the unicast connection, then the first terminal device can stop sending data packets to the second terminal device through the unicast connection after determining that the unicast connection has failed, or after determining that the unicast connection meets the first condition. On the side link, the sending process and the receiving process are relatively independent. Therefore, if the first terminal device is still receiving data through the unicast connection, the process of the first terminal device receiving data can continue. Similarly, if the first terminal device finds that the unicast connection meets the first condition during the process of receiving data packets from the second terminal device through the unicast connection, then after the first terminal device determines that the unicast connection fails, or after determining that the unicast connection meets the first condition, if the first terminal device still sends data packets to the second terminal device through the unicast connection, then the first terminal device can stop sending data packets to the second terminal device through the unicast connection. However, the first terminal device discovers the failure when it is acting as a receiving end. Therefore, if the second terminal device is still sending data packets to the first terminal device through the unicast connection, the first terminal device may not be able to instruct the second terminal device to stop sending. The first terminal device can still continue to receive data packets through the unicast connection. Of course, after the second terminal device also determines that the unicast connection fails, it will also stop sending data packets to the first terminal device through the unicast connection. At this time, the first terminal device can stop receiving data packets through the unicast connection. Optionally, if the first terminal device detects the above condition 6 or condition 10 during the process of receiving data packets, the first terminal device also needs to discard the data packets.
[0319] In the scheme described above, the first terminal device may send the second configuration information to the second terminal device, or the network device may send the second configuration information to the second terminal device. In addition, there may be an implementation method in which neither the first terminal device nor the network device needs to send configuration information to the second terminal device. For example, when the first terminal device determines that the unicast connection fails, or when it determines that the unicast connection meets the first condition, it may send an abnormal indication to the second terminal device to indicate the unicast connection failure between the first terminal device and the second terminal device, then the first terminal device and the second terminal device can both fall back to the default configuration of the unicast connection, and the first terminal device and the second terminal device can negotiate a new configuration of the unicast connection through the unicast connection with the default configuration. After the negotiation is completed, the first terminal device and the second terminal device can update the unicast connection to the new configuration to complete the recovery of the unicast connection. The default configuration may be specified by the protocol or pre-configured by the core network device. It is equivalent to setting a default configuration for the unicast connection, which is, for example, a basic configuration. If the unicast connection fails, the first terminal device and the second terminal device both fall back to the default configuration and negotiate a new configuration under the default configuration. In this way, there is no need to interact with network devices, nor is there a need to send configuration information to the first network device and the second network device, which helps save signaling overhead. In addition, the two terminal devices negotiate the new configuration themselves, which can make the negotiated new configuration more in line with actual needs.
[0320] Alternatively, in an embodiment of the present application, if the first terminal device determines that the unicast connection fails, or the first terminal device determines that the unicast connection does not meet the first condition, the first terminal device may also trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Specifically, the indication may be triggered by the AS layer of the first terminal device to the application layer, or it may be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer may select Uu interface transmission for the service carried on the unicast connection.
[0321] In an embodiment of the present application, the unicast connection can be monitored. For example, the first terminal device can monitor the parameters of the side link to determine whether the unicast connection on the side link is faulty. This is equivalent to determining the fault as early as possible by monitoring the side link. For example, the fault may be determined in the early stage and may be processed before it significantly affects the data packet transmission, thereby helping to reduce the probability of service delays or even interruptions due to unicast connection failures and improving the continuity of service transmission.
[0322] exist Figure 4 In the illustrated embodiment, a first terminal device monitors a unicast connection and determines that the unicast connection is faulty. To solve the same technical problem, a fault determination method is provided below. In this method, a second terminal device monitors a unicast connection and determines that the unicast connection is faulty.
[0323] See also Figure 8 , is the flow chart of this method. Figure 3A For the application scenario shown in FIG. 1 , the first terminal device and the second terminal device can be considered to be of equal status. Therefore, if the second terminal device monitors the unicast connection and determines that the unicast connection is faulty in this application scenario, the processing method of the second terminal device is the same as that of FIG. Figure 4 The processing methods of the first terminal device described in the illustrated embodiment may be the same, which will not be described in detail. Therefore, in the following description, the second fault determination method is mainly applied to Figure 3BTake the network architecture shown as an example. In addition, the method can be performed by two communication devices, or by three communication devices. If it is performed by two communication devices, the two communication devices are, for example, a first communication device and a second communication device. If it is performed by three communication devices, the three communication devices are, for example, a first communication device, a second communication device, and a third communication device. Among them, the first communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the first communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. The second communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the second communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. The same is true for the third communication device. The third communication device can be a network device or a communication device that can support the network device to implement the functions required by the method, or the third communication device can be a terminal device or a communication device that can support the terminal device to implement the functions required by the method, and of course it can also be other communication devices, such as a chip system. There is no restriction on the implementation methods of the first communication device, the second communication device and the third communication device. For example, the first communication device may be a network device, the second communication device is a terminal device, and the third communication device is also a terminal device, or the first communication device is a network device, the second communication device is a communication device that can support the terminal device to implement the functions required by the method, and the third communication device is a terminal device, or the first communication device is a network device, the second communication device and the third communication device are both communication devices that can support the terminal device to implement the functions required by the method, etc. The network device is, for example, a base station.
[0324] For the sake of convenience, the following text takes the method being performed by a network device and two terminal devices, or by a terminal device and a terminal device as an example, that is, the first communication device is a network device, the second communication device and the third communication device are terminal devices, or the first communication device and the second communication device are both terminal devices as an example. Figure 3B The network architecture shown in FIG. 1 is taken as an example, therefore, the network devices described below may be Figure 3B In the network architecture shown in FIG. 1 , the first terminal device described below may be Figure 3B In the network architecture shown in FIG. 1 , the second terminal device described below may be Figure 3B Terminal device 2 in the network architecture shown.
[0325] S81. The second terminal device monitors the parameters of the side link to determine whether the unicast connection of the side link meets the first condition; wherein the second terminal device monitors the parameters of the side link between the second terminal device and the first terminal device to determine whether the unicast connection of the side link meets the first condition;
[0326] S82: When the unicast connection meets the first condition, the second terminal device sends a second message to the first terminal device, and the first terminal device receives the second message from the second terminal device, where the second message is used to indicate the unicast connection failure, or the second message includes fifth indication information, where the fifth indication information is used to indicate the unicast connection failure;
[0327] S83. The first terminal device determines the unicast connection failure of the sidelink between the first terminal device and the second terminal device according to the second message. Exemplarily, the first terminal device determines the unicast connection failure according to the second message or the fifth indication information included in the second message.
[0328] Exemplarily, the second terminal device monitors the parameters of the sidelink to determine whether the unicast connection meets the first condition. The process can refer to Figure 4 The first terminal device described in the illustrated embodiment monitors the parameters of the side link to determine whether the unicast connection meets the first condition, which is not elaborated here.
[0329] Because the embodiment of the present application is applied in Figure 3B In the application scenario shown, there is no connection between the second terminal device and the network device. Therefore, when the second terminal device determines that the unicast connection meets the first condition, it can send a second message to the first terminal device to indicate the unicast connection failure.
[0330] The second message is, for example, a message specifically used to indicate a unicast connection failure to a network device, then the first message is used to indicate the unicast connection failure. In this case, as long as the second terminal device sends the second message to the first terminal device, the first terminal device can determine that there is a unicast connection failure. Alternatively, the second message includes fifth indication information, and the fifth indication information can indicate a unicast connection failure. In this case, the second message can reuse messages in the prior art, for example, SidelinkUEInformation messages, or UEAssistenceInformation messages, or FailureInformation messages, etc. If messages in the prior art are reused, the fifth indication information can be added to the messages in the prior art, and the fifth indication information is used to indicate a unicast connection failure.
[0331] The fifth indication information may only indicate that there is a unicast connection failure. If there are multiple unicast connections between the first terminal device and the second terminal device, the first terminal device may not be able to clearly identify which unicast connection is faulty. Therefore, the second message may also include the sixth indication information, which is used to indicate the faulty unicast connection. For example, the sixth indication information may indicate the ID of the unicast connection, that is, the target L2 identifier, or the index of the unicast connection. The index corresponds to the position of the faulty unicast connection in the unicast connection information list reported by the terminal device, or indicates other information of the unicast connection. In short, the unicast connection can be uniquely determined by the sixth indication information. For condition 10, a source L2 identifier that has not been connected is found during the data reception process. At this time, in order to be able to identify which unicast connection has a security risk, the first terminal device can configure different L2 identifiers for different connections. At this time, the target L2 ID corresponding to the data packet received by the first terminal device is the source L2 identifier assigned by the first terminal device to a certain unicast connection. The source L2 identifier can be used to determine which unicast connection is faulty, that is, there may be a security risk. This enables the first terminal device to clearly identify which unicast connection failure occurred, so that targeted processing can be performed.
[0332] exist Figure 4The illustrated embodiment introduces multiple sub-conditions, or in other words, multiple parameters of the side channel, and the detection results of some of the parameters may be related to the resources used by the unicast connection. For example, for the measurement results of CSI, the measurement results of CBR, the number of retransmissions at the RLC layer, the number of retransmissions at the MAC layer, the number of times the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than the second number, or the QoS parameters and other side channel parameters, the detection results may be related to the resources used by the unicast connection. If the detection results of these side channel parameters indicate that the unicast connection is faulty, it is likely caused by the poor quality of the resources used by the unicast connection. Therefore, if the first condition includes that the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions of the RLC layer is greater than or equal to the first number, the number of retransmissions of the MAC layer is greater than or equal to the second number, the number of retransmissions of the data packet transmitted on the unicast connection of the side link at the MAC layer is greater than or equal to the second number, the number of retransmissions is greater than or equal to the third number, or the QoS parameter does not meet the value conditions of the QoS parameter, one or any combination thereof, that is, the first condition includes one or any combination of sub-condition 1, sub-condition 2, sub-condition 3, sub-condition 4, sub-condition 5, or sub-condition 9, then the second message may also include seventh indication information, and the seventh indication information may be used to indicate the resources used by the unicast connection. Thus, after receiving the second message, the network device can clarify the resources used by the unicast connection, for example, it can consider restoring the unicast connection by reconfiguring the resources used by the unicast connection, that is, handling the failure of the unicast connection. Of course, if in addition to these sub-conditions, there are other sub-conditions that are also related to the resources used by the unicast connection, then if the first condition that the unicast connection meets includes these sub-conditions, the second message may also include seventh indication information, and the seventh indication information may also indicate the resources used by the unicast connection, which may specifically be indication information of a carrier or a BWP or a resource pool. Alternatively, no matter which sub-condition or sub-conditions the first condition includes, the second message may include the seventh indication information, and the seventh indication information may be used to indicate the resources used by the unicast connection.
[0333] In addition, because the failure of the unicast connection is indicated to the first terminal device, it may be more desirable for the first terminal device or the network device to indicate the restoration of the unicast connection as soon as possible. Therefore, in order to speed up the processing speed of the first terminal device or the network device, the second message may also include eighth indication information, and the eighth indication information may include the first condition that the unicast connection meets, for example, the eighth indication information includes that the first condition that the unicast connection meets is that the measurement result of the CSI reference signal is less than the CSI measurement threshold value, or the eighth indication information includes that the first condition that the unicast connection meets is that the measurement result of the CBR is greater than the CBR measurement threshold value and the decryption result of the data packet transmitted on the unicast connection indicates that the decryption failed, etc. After receiving the second message, the first terminal device may process it by itself, or may forward the second message to the network device, then the first terminal device or the network device can clearly understand what kind of problem the unicast connection has according to the eighth indication information, thereby helping to adopt more targeted means when determining the method for restoring the unicast connection.
[0334] For example, the first terminal device determines that the unicast connection meets sub-condition 10 based on the eighth indication information, that is, the source L2 identifier carried when transmitting the data packet through the unicast connection of the side link has not established a unicast connection with the first terminal device. Then, a solution that the first terminal device can adopt is to update the L2 identifier of the first terminal device, and the first terminal device sends the updated L2 identifier of the first terminal device to the second terminal device, so that the second terminal device can know the updated L2 identifier of the first terminal device. In this way, when the first terminal device receives a data packet from the second terminal device through the unicast connection again, the source L2 identifier carried by the data packet is the one that has established a unicast connection with the first terminal device.
[0335] In an embodiment of the present application, the second terminal device sends the second message to the first terminal device, which may be sent through the AS layer or through an upper layer.
[0336] For example, if the resources allocated to SRB and DRB are different resources, that is, SRB has dedicated sending resources, then a failure in the unicast connection generally refers to a failure in DRB, while SRB may still be able to work normally. Therefore, the second terminal device can send a second message to the first terminal device via SRB, and the first terminal device receives the second message from the second terminal device via SRB.
[0337] Alternatively, from the perspective of the entire unicast connection, the resources allocated to the SRB and DRB are the same, so if the unicast connection fails, the corresponding SRB may also fail. At this time, if the second message is sent through the SRB, it may cause the second message to fail to be sent. Therefore, in this case, resources can be reserved specifically for handling unicast connection failures, so that the second terminal device can send the second message to the first terminal device through the resources specifically used to handle unicast connection failures, and the first terminal device can also receive the second message from the second terminal device through the resources specifically used to handle unicast connection failures. Exemplarily, the resources specifically used to handle unicast connection failures can be specified by the protocol, or can also be configured by the network device.
[0338] The above two methods can also be combined, for example, first try to restore the unicast connection through the resources of SRB, and if the recovery fails, then restore it through the resources dedicated to handling unicast connection failures. The above two methods of sending the second message are both completed at the AS layer, and the second message is sent through SRB, so that the recovery of the unicast connection can be completed at the AS layer as much as possible, without going through more layers to process, reducing the processing process.
[0339] Alternatively, the second terminal device may also send a second message to the first terminal device through upper layer signaling, for example, the upper layer signaling is referred to as second upper layer signaling. As introduced in the foregoing, the upper layer may be a V2X layer or an application layer above RLC, and the upper layer signaling may be, for example, PC5-S signaling, or may be other signaling. For example, after the AS layer of the second terminal device determines that the unicast connection has failed, it may generate a second message, and the AS layer of the second terminal device hands the second message to the upper layer of the second terminal device, and the upper layer of the second terminal device triggers PC5-S signaling, and sends the second message through the PC5-S signaling.
[0340] Exemplarily, the second upper layer signaling may be sent in a broadcast manner, or may be sent in a unicast manner, without specific limitation.
[0341] After the first terminal device receives the second message, it can forward the second message directly to the network device, which will process it. For example, after receiving the second message forwarded by the first terminal device, the network device can determine the first configuration information for the first terminal device to restore the unicast connection and the second configuration information for the second terminal device to restore the unicast connection, and send both the first configuration information and the second configuration information to the first terminal device, which is then forwarded by the first terminal device to the second terminal device. Alternatively, after receiving the second message forwarded by the first terminal device, the network device can determine the first configuration information for the first terminal device to restore the unicast connection, and send the first configuration information to the first terminal device. After receiving the first configuration information, the first terminal device can generate the second configuration information for the second terminal device to restore the unicast connection based on the first configuration information, and send the second configuration information to the second terminal device. In the above cases, the first configuration information and the second configuration information can be different, and the second configuration information is the configuration information for the second terminal device to restore the unicast connection. Alternatively, after receiving the second message forwarded by the first terminal device, the network device can determine first configuration information for the first terminal device to restore the unicast connection, and send the first configuration information to the first terminal device. After the first terminal device receives the first configuration information, it can forward the first configuration information to the second terminal device, and the second terminal device adapts according to the first configuration information to obtain configuration information for the second terminal device to restore the unicast connection. In this case, the first configuration information and the second configuration information are the same, and the second configuration information is not configuration information for the second terminal device to restore the unicast connection.
[0342] Alternatively, after receiving the second message, the first terminal device may also process it on its own. For example, the first terminal device may determine on its own the first configuration information used by the first terminal device to restore the unicast connection and the second configuration information used by the second terminal device to restore the unicast connection, and send the second configuration information to the second terminal device. Then, the second terminal device may receive the second configuration information from the first terminal device. In this case, the first configuration information and the second configuration information may be different, and the second configuration information is the configuration information used by the second terminal device to restore the unicast connection. Alternatively, the first terminal device may determine on its own the first configuration information used by the first terminal device to restore the unicast connection. The first terminal device may forward the first configuration information to the second terminal device, and the second terminal device may adapt according to the first configuration information to obtain the configuration information used by the second terminal device to restore the unicast connection. In this case, the first configuration information and the second configuration information are the same, and the second configuration information is not the configuration information used by the second terminal device to restore the unicast connection.
[0343] The first terminal device sends the second configuration information to the second terminal device. Figure 8 In S84, since this step is an optional step and does not have to be performed, the arrow used to represent S84 is drawn as a dotted line.
[0344] Exemplarily, the first terminal device sends the second configuration information to the second terminal device in a variety of ways. Figure 4 Related introduction in the illustrated embodiment. Exemplarily, the first terminal device sends the second configuration information to the second terminal device, which may be sent through an SRB, which has dedicated sending resources, and the second terminal device sends the second message to the first terminal device, which may also be sent through an SRB, which has dedicated sending resources. The SRBs described in these two places may be different SRBs. For example, the SRB has dedicated sending resources. The first terminal device sends the second configuration information to the second terminal device using the first part of the dedicated sending resources configured for the SRB, and the second terminal device sends the second message to the first terminal device using the second part of the dedicated sending resources configured for the SRB. Alternatively, the first terminal device sends the second configuration information to the second terminal device, which may be sent through resources specifically used to handle unicast connection failures, and the second terminal device sends the second message to the first terminal device, which may also be sent through resources specifically used to handle unicast connection failures. The resources specifically used to handle unicast connection failures described in these two places may be different resources. For example, resources specifically used to handle unicast connection failures are reserved, and the first terminal device sends the second configuration information to the second terminal device, which may use the first part of the resources specifically used to handle unicast connection failures, and the second terminal device sends the second message to the first terminal device, which may use the second part of the resources specifically used to handle unicast connection failures.
[0345] In short, the first terminal device can send the second configuration information to the second terminal device through the AS layer or through the upper layer. These two sending methods can be independent. In the specific implementation, one of them may be selected for application. The specific selection may be specified by the protocol or configured in advance by the network device. Alternatively, these two sending methods can also be applied in combination. For example, the method of sending through the AS layer can be preferred. If the resources of the AS layer are not available, or the AS layer fails to send, the method of sending through the upper layer can be selected. In this case, if the upper layer connection is also disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the first upper layer signaling to the second terminal device, then the upper layer connection may also be unreachable. For example, the distance between the first terminal device and the second terminal device may be too far, resulting in the side link being unreachable, including the unicast link and the broadcast link being unreachable. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device. The notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication may be triggered by the AS layer of the first terminal device to the application layer, or may be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer may select Uu interface transmission for the service carried on the unicast connection, and the specific method of Uu port transmission may refer to the prior art.
[0346] Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the AS layer, then if the resources of the AS layer are unavailable, that is, the connection of the AS layer is disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the second configuration information to the second terminal device through the SRB, then the AS layer connection may be unreachable. In this case, the first terminal device no longer needs to send the second configuration information through the upper layer, but can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends notification information to the application layer of the first terminal device, and the notification information is used to indicate that the current side link is unavailable. The notification information is actually a trigger information. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection.
[0347] Alternatively, if the first terminal device sends the second configuration information to the second terminal device through the upper layer (not through the AS layer), then if the resources of the upper layer are unavailable, that is, the connection of the upper layer is disconnected, for example, the first terminal device has not received a reply from the second terminal device after sending the second configuration information to the second terminal device through the first upper layer signaling, then the upper layer connection may be unreachable. In this case, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the upper layer of the first terminal device (at this time, the upper layer is not the application layer) sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection.
[0348] Whether it is the first configuration information or the second configuration information, it can include at least one of bearer configuration, security configuration, or resource configuration, and of course may also include other configurations. Among them, resource configuration, for example, includes at least one of resource pool configuration, BWP configuration, or carrier configuration, and of course may also include other resource configurations. Bearer configuration, for example, includes at least one of PDCP configuration, RLC configuration, MAC configuration, or SDAP configuration, and security configuration, for example, includes at least one of security key, security algorithm, or security capability configuration. The first terminal device can restore the unicast connection according to the first configuration information, and the second terminal device can restore the unicast connection according to the second configuration information, so that the first terminal device and the second terminal device can continue to transmit data through the restored unicast connection.
[0349] In addition, in an embodiment of the present application, if the second terminal device finds that the unicast connection meets the first condition during the process of sending a data packet to the first terminal device through the unicast connection, then the second terminal device can stop sending data packets to the first terminal device through the unicast connection after determining that the unicast connection has failed, or after determining that the unicast connection meets the first condition. On the side link, the sending process and the receiving process are relatively independent. Therefore, if the second terminal device is still receiving data through the unicast connection, the process of the second terminal device receiving data can continue. Similarly, if the second terminal device finds that the unicast connection meets the first condition during the process of receiving data packets from the first terminal device through the unicast connection, then after the second terminal device determines that the unicast connection fails, or after determining that the unicast connection meets the first condition, if the second terminal device still sends data packets to the first terminal device through the unicast connection, then the second terminal device can stop sending data packets to the first terminal device through the unicast connection. However, the second terminal device discovers the failure when it is acting as a receiving end. Therefore, if the first terminal device is still sending data packets to the second terminal device through the unicast connection, the second terminal device may not be able to instruct the first terminal device to stop sending. The second terminal device can still continue to receive data packets through the unicast connection. Of course, after the first terminal device also determines that the unicast connection fails, it will also stop sending data packets to the second terminal device through the unicast connection. At this time, the second terminal device can stop receiving data packets through the unicast connection. Optionally, if the first terminal device detects the above condition 6 or condition 10 during the process of receiving data packets, the first terminal device also needs to discard the data packets.
[0350] In the scheme described above, the first terminal device can send the second configuration information to the second terminal device. In addition, there can be an implementation method in which the first terminal device does not need to send configuration information to the second terminal device. For example, when the second terminal device determines that the unicast connection fails, or when it determines that the unicast connection meets the first condition, it can send an abnormal indication to the first terminal device to indicate the unicast connection failure between the first terminal device and the first terminal device, then the first terminal device and the second terminal device can both fall back to the default configuration of the unicast connection, and the first terminal device and the second terminal device can negotiate a new configuration of the unicast connection through the unicast connection with the default configuration. After the negotiation is completed, the first terminal device and the second terminal device can update the unicast connection to the new configuration to complete the recovery of the unicast connection. The default configuration can be specified by the protocol or pre-configured by the core network device. It is equivalent to setting a default configuration for the unicast connection, which is, for example, a basic configuration. If the unicast connection fails, the first terminal device and the second terminal device both fall back to the default configuration and negotiate a new configuration under the default configuration. In this way, there is no need to interact with network devices, nor is there a need to send configuration information to the first network device and the second network device, which helps save signaling overhead. In addition, the two terminal devices negotiate the new configuration themselves, which can make the negotiated new configuration more in line with actual needs.
[0351] Alternatively, in an embodiment of the present application, if the first terminal device receives a second message from the second terminal device, or if the first terminal device determines that the unicast connection fails, the first terminal device can trigger an indication to the application layer of the first terminal device to indicate that the current side link is unavailable. For example, the AS layer of the first terminal device sends a notification message to the application layer of the first terminal device, and the notification message is used to indicate that the current side link is unavailable. The notification message is actually a trigger message. Exemplarily, the indication can be triggered by the AS layer of the first terminal device to the application layer, or it can be triggered by the upper layer of the first terminal device to the application layer (in this case, the upper layer is not the application layer). After receiving the indication, the application layer can select Uu interface transmission for the service carried on the unicast connection.
[0352] In an embodiment of the present application, whether it is a terminal device connected to the network device or a terminal device not connected to the network device, the unicast connection can be monitored. For example, the second terminal device can monitor the parameters of the side link to determine whether the unicast connection on the side link is faulty, which is equivalent to determining the fault as early as possible by monitoring the side link. For example, the fault may be determined in the early stage and may be processed before it significantly affects the data packet transmission, thereby helping to reduce the probability of service delays or even interruptions due to unicast connection failures and improving the continuity of service transmission.
[0353] The following describes the device used to implement the above method in the embodiment of the present application in conjunction with the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and the repeated content will not be repeated.
[0354] Fig. 9 1 shows a schematic diagram of the structure of a communication device 900. The communication device 900 can implement the functions of the first terminal device mentioned above. The communication device 900 can be the first terminal device mentioned above, or can be a chip set in the first terminal device mentioned above. The communication device 900 can include a processor 901 and a transceiver 902. The processor 901 can be used to execute Figure 4 S41 and S42 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, all or part of the other processes except the transceiver process performed by the first terminal device described above can be performed. The transceiver 902 can be used to perform Figure 4 S43 and S44 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver 902 may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0355] For example, the processor 901 is configured to monitor a parameter of a sidelink between the second terminal device to determine whether a unicast connection on the sidelink meets a first condition;
[0356] The processor 901 is further configured to determine that the unicast connection fails when the unicast connection meets the first condition.
[0357] In a possible implementation manner, the first condition includes one of the following or any combination thereof:
[0358] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0359] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0360] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0361] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0362] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0363] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0364] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0365] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0366] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0367] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0368] In a possible implementation, the transceiver 902 is further used to: send a first message to the network device, where the first message is used to indicate the unicast connection failure, or the first message includes first indication information, where the first indication information is used to indicate the unicast connection failure.
[0369] In a possible implementation manner, the first message further includes second indication information, where the second indication information is used to indicate the unicast connection.
[0370] In a possible implementation, the first condition includes one of the following conditions: a measurement result of the CSI reference signal is less than the CSI measurement threshold value, a measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof, and the first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
[0371] In a possible implementation manner, the first message further includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection complies with.
[0372] In a possible implementation manner, the transceiver 902 is further configured to stop sending data packets on the unicast connection, and continue receiving data packets on the unicast connection.
[0373] In a possible implementation, the processor 901 is further configured to obtain first configuration information, where the first configuration information is used to restore the unicast connection.
[0374] In a possible implementation, the transceiver 902 is further configured to send second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0375] In a possible implementation manner, the transceiver 902 is configured to send the second configuration information to the second terminal device in the following manner:
[0376] Sending the second configuration information to the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0377] sending the second configuration information to the second terminal device through resources dedicated to handling unicast connection failures; or,
[0378] The second configuration information is sent to the second terminal device via a first upper layer signaling.
[0379] In a possible implementation, the processor 901 is further configured to:
[0380] Updating the configuration of the unicast connection to a default configuration;
[0381] By applying the unicast connection with the default configuration, a new configuration of the unicast connection is negotiated with the second terminal device.
[0382] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0383] Fig.10 The structure diagram of a communication device 1000 is shown. The communication device 1000 can implement the functions of the first terminal device mentioned above. The communication device 1000 can be the first terminal device mentioned above, or can be a chip set in the first terminal device mentioned above. The communication device 1000 can include a processor 1001 and a transceiver 1002. The processor 1001 can be used to execute Figure 8 S83 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, all or part of the other processes except the transceiver process performed by the first terminal device described above can be performed. The transceiver 1002 can be used to perform Figure 8S82 and S84 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver 1002 may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0384] For example, the transceiver 1002 is configured to receive a second message from a second terminal device;
[0385] Processor 1001 is used to determine a unicast connection failure of a side link between the second terminal device and the second terminal device according to the second message or according to fifth indication information included in the second message.
[0386] In one possible implementation,
[0387] The transceiver 1002 is further configured to forward the second message to a network device, and the first terminal device receives the first configuration information from the network device; or,
[0388] The processor 1001 is further configured to generate first configuration information;
[0389] The first configuration information is used to restore the unicast connection.
[0390] In a possible implementation, the transceiver 1002 is further configured to send second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0391] In a possible implementation manner, the transceiver 1002 is configured to send the second configuration information to the second terminal device in the following manner:
[0392] Sending the second configuration information to the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0393] sending the second configuration information to the second terminal device through resources dedicated to handling unicast connection failures; or,
[0394] The second configuration information is sent to the second terminal device via a first upper layer signaling.
[0395] In a possible implementation, the processor 1001 is further configured to:
[0396] Updating the configuration of the unicast connection to a default configuration, wherein the unicast connection is a unicast connection that fails;
[0397] The first terminal device negotiates with the second terminal device a new configuration of the unicast connection by applying the unicast connection with the default configuration.
[0398] In a possible implementation manner, the transceiver 1002 is configured to receive the second message from the second terminal device in the following manner:
[0399] receiving the second message from the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0400] receiving the second message from the second terminal device through resources dedicated to processing unicast connection failures; or,
[0401] The second message from the second terminal device is received through a second upper layer signaling.
[0402] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0403] Fig.11 1 shows a schematic diagram of the structure of a communication device 1100. The communication device 1100 can implement the functions of the second terminal device mentioned above. The communication device 1100 can be the second terminal device mentioned above, or can be a chip set in the second terminal device mentioned above. The communication device 1100 can include a processor 1001 and a transceiver 1102. The processor 1101 can be used to execute Figure 8 S81 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, all or part of the other processes except the transceiver process performed by the first terminal device described above can be performed. The transceiver 1102 can be used to perform Figure 8 S82 and S84 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver 1102 may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0404] For example, the processor 1101 is configured to monitor a parameter of a sidelink to determine whether a unicast connection of the sidelink meets a first condition;
[0405] The transceiver 1102 is used to send a second message to the first terminal device when the processor 1101 determines that the unicast connection meets the first condition, and the second message is used to indicate the failure of the unicast connection, or the second message includes fifth indication information, and the fifth indication information is used to indicate the failure of the unicast connection.
[0406] In a possible implementation manner, the first condition includes one of the following or any combination thereof:
[0407] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0408] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0409] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0410] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0411] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0412] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0413] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0414] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0415] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0416] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0417] In a possible implementation manner, the second message further includes sixth indication information, where the sixth indication information is used to indicate the unicast connection.
[0418] In a possible implementation, the first condition includes one of the following conditions: the measurement result of the CSI is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof, and the second message also includes seventh indication information, and the seventh indication information is used to indicate the resources used by the unicast connection.
[0419] In a possible implementation manner, the second message further includes eighth indication information, and the eighth indication information includes the first condition that the unicast connection complies with.
[0420] In a possible implementation manner, the transceiver 1102 is configured to send the second message to the first terminal device in the following manner:
[0421] sending the second message to the first terminal device via an SRB, the SRB having dedicated sending resources; or,
[0422] sending the second message to the second terminal device by using resources dedicated to handling unicast connection failures; or,
[0423] The second message is sent to the second terminal device via a second upper layer signaling.
[0424] In a possible implementation manner, the transceiver 1102 is further configured to stop sending data packets on the unicast connection, and continue receiving data packets on the unicast connection.
[0425] In a possible implementation, the transceiver 1102 is further configured to receive second configuration information from the first terminal device, where the second configuration information is used to restore the unicast connection.
[0426] In a possible implementation manner, the transceiver 1102 is configured to receive the second configuration information from the first terminal device in the following manner:
[0427] receiving the second configuration information from the first terminal device via an SRB, the SRB having dedicated transmission resources; or,
[0428] receiving the second configuration information from the first terminal device through resources dedicated to processing unicast connection failures; or,
[0429] The second configuration information is received from the first terminal device through a first upper layer signaling.
[0430] In a possible implementation, the processor 1101 is further configured to:
[0431] Updating the configuration of the unicast connection to a default configuration;
[0432] By applying the unicast connection with the default configuration, a new configuration of the unicast connection is negotiated with the first terminal device.
[0433] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0434] In a simple embodiment, those skilled in the art may appreciate that the communication device 900, the communication device 1000 or the communication device 1100 may be connected to the communication device 900 through the following steps: Fig. 12A The structure of the communication device 1200 shown is implemented. The communication device 1200 can implement the functions of the first terminal device or the second terminal device involved in the above text. The communication device 1200 may include a processor 1201.
[0435] When the communication device 1200 is used to implement the functions of the first terminal device mentioned above, the processor 1201 may be used to execute Figure 4 S41 and S42 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, all or part of the other processes except the sending and receiving process performed by the first terminal device described above can be executed; or, when the communication device 1200 is used to implement the functions of the first terminal device involved above, the processor 1201 can be used to execute Figure 8 S83 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, all or part of the other processes except the sending and receiving process performed by the first terminal device described above can be executed; or, when the communication device 1200 is used to implement the function of the second terminal device involved in the above, the processor 1201 can be used to execute Figure 8 S81 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the other processes except the sending and receiving processes executed by the first terminal device described above;.
[0436] Among them, the communication device 1200 can be implemented by a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), or a programmable logic device (PLD) or other integrated chips. The communication device 1200 can be set in the first terminal device or the second terminal device of the embodiment of the present application, so that the first terminal device or the second terminal device implements the method provided in the embodiment of the present application.
[0437] In an optional implementation, the communication device 1200 may include a transceiver component for communicating with other devices through the device where the communication device 1200 is located. When the communication device 1200 is used to implement the functions of the first terminal device or the second terminal device mentioned above, the transceiver component may be used to perform Figure 4 S43 and S44 in the embodiment shown, and / or other processes for supporting the technology described herein; or, when the communication device 1200 is used to implement the functions of the first terminal device or the second terminal device mentioned above, the transceiver component can be used to execute Figure 8 S82 and S84 described in the illustrated embodiment, and / or other processes for supporting the technology described herein. For example, a transceiver component is a communication interface. If the communication device 1200 is a first terminal device or a second terminal device, the communication interface may be a transceiver in the first terminal device or the second terminal device, such as transceiver 902, transceiver 1002 or transceiver 1102. The transceiver may be a radio frequency transceiver component in the first terminal device or the second terminal device, or, if the communication device 1200 is a chip disposed in the first terminal device or the second terminal device, the communication interface may be an input / output interface of the chip, such as an input / output pin, etc.
[0438] In an optional implementation, the communication device 1200 may further include a memory 1202, which may be referred to as Fig. 12B, wherein the memory 1202 is used to store computer programs or instructions, and the processor 1201 is used to decode and execute these computer programs or instructions. It should be understood that these computer programs or instructions may include the functional programs of the first terminal device or the second terminal device mentioned above. When the functional program of the first terminal device is decoded and executed by the processor 1201, the first terminal device can implement the embodiment of the present application. Figure 4 The embodiment shown or Figure 8 The function of the first terminal device in the method provided in the embodiment shown. When the function program of the second terminal device is decoded and executed by the processor 1201, the second terminal device can implement the embodiment of the present application. Figure 4 The embodiment shown or Figure 8 The illustrated embodiment provides the function of the second terminal device in the method.
[0439] In another optional implementation, the function programs of the first terminal device or the second terminal device are stored in a memory outside the communication device 1200. When the function program of the first terminal device is decoded and executed by the processor 1201, part or all of the content of the function program of the first terminal device is temporarily stored in the memory 1202. When the function program of the second terminal device is decoded and executed by the processor 1201, part or all of the content of the function program of the second terminal device is temporarily stored in the memory 1202.
[0440] In another optional implementation, the functional programs of the first terminal device or the second terminal device are set in the memory 1202 stored in the communication device 1200. When the functional program of the first terminal device is stored in the memory 1202 inside the communication device 1200, the communication device 1200 can be set in the first terminal device of the embodiment of the present application. When the functional program of the second terminal device is stored in the memory 1202 inside the communication device 1200, the communication device 1200 can be set in the second terminal device of the embodiment of the present application.
[0441] In another optional implementation, part of the content of the functional programs of the first terminal devices is stored in a memory outside the communication device 1200, and the other part of the content of the functional programs of the first terminal devices is stored in the memory 1202 inside the communication device 1200. Alternatively, part of the content of the functional programs of the second terminal devices is stored in a memory outside the communication device 1200, and the other part of the content of the functional programs of the second terminal devices is stored in the memory 1202 inside the communication device 1200.
[0442] In the embodiments of the present application, the communication device 900, the communication device 1000, the communication device 1100 and the communication device 1200 may be presented in the form of dividing each functional module according to each function, or may be presented in the form of dividing each functional module in an integrated manner. The "module" here may refer to an ASIC, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0443] in addition, Fig. 9 The communication device 900 provided in the embodiment shown can also be implemented in other forms. For example, the communication device includes a processing module and a transceiver module. For example, the processing module can be implemented by a processor 901, and the transceiver module can be implemented by a transceiver 902. The processing module can be used to execute Figure 4 S41 and S42 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, may execute all or part of the other processes except the transceiver process executed by the first terminal device described above. The transceiver module may be used to execute Figure 4 S43 and S44 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver 902 may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0444] For example, the processing module is used to monitor the parameters of the side link between the second terminal device to determine whether the unicast connection on the side link meets the first condition;
[0445] The processing module is further configured to determine that the unicast connection fails when the unicast connection meets the first condition.
[0446] In a possible implementation manner, the first condition includes one of the following or any combination thereof:
[0447] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0448] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0449] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0450] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0451] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0452] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0453] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0454] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0455] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0456] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0457] In a possible implementation, the transceiver module is further used to: send a first message to the network device, where the first message is used to indicate the unicast connection failure, or the first message includes first indication information, where the first indication information is used to indicate the unicast connection failure.
[0458] In a possible implementation manner, the first message further includes second indication information, where the second indication information is used to indicate the unicast connection.
[0459] In a possible implementation, the first condition includes one of the following conditions: a measurement result of the CSI reference signal is less than the CSI measurement threshold value, a measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof, and the first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
[0460] In a possible implementation manner, the first message further includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection complies with.
[0461] In a possible implementation manner, the transceiver module is further configured to stop sending data packets on the unicast connection, and continue receiving data packets on the unicast connection.
[0462] In a possible implementation, the processing module is further configured to obtain first configuration information, where the first configuration information is used to restore the unicast connection.
[0463] In a possible implementation, the transceiver module is further used to send second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0464] In a possible implementation, the transceiver module is used to send the second configuration information to the second terminal device in the following manner:
[0465] Sending the second configuration information to the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0466] sending the second configuration information to the second terminal device through resources dedicated to handling unicast connection failures; or,
[0467] The second configuration information is sent to the second terminal device via a first upper layer signaling.
[0468] In a possible implementation manner, the processing module is further configured to:
[0469] Updating the configuration of the unicast connection to a default configuration;
[0470] By applying the unicast connection with the default configuration, a new configuration of the unicast connection is negotiated with the second terminal device.
[0471] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0472] Fig.10 The communication device 1000 provided in the embodiment shown can also be implemented in other forms. For example, the communication device includes a processing module and a transceiver module. For example, the processing module can be implemented by a processor 1001, and the transceiver module can be implemented by a transceiver 1002. The processing module can be used to execute Figure 8 S83 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, may execute all or part of the other processes except the transceiver process executed by the first terminal device described above. The transceiver module may be used to execute Figure 8S82 and S84 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver module may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0473] For example, a transceiver module is used to receive a second message from a second terminal device;
[0474] A processing module is used to determine the unicast connection failure of the side link between the second terminal device according to the second message or according to the fifth indication information included in the second message.
[0475] In one possible implementation,
[0476] The transceiver module is further used to forward the second message to the network device, and the first terminal device receives the first configuration information from the network device; or,
[0477] The processing module is further used to generate first configuration information;
[0478] The first configuration information is used to restore the unicast connection.
[0479] In a possible implementation, the transceiver module is further used to send second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
[0480] In a possible implementation, the transceiver module is used to send the second configuration information to the second terminal device in the following manner:
[0481] Sending the second configuration information to the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0482] sending the second configuration information to the second terminal device through resources dedicated to handling unicast connection failures; or,
[0483] The second configuration information is sent to the second terminal device via a first upper layer signaling.
[0484] In a possible implementation manner, the processing module is further configured to:
[0485] Updating the configuration of the unicast connection to a default configuration, wherein the unicast connection is a unicast connection that fails;
[0486] The first terminal device applies the unicast connection of the default configuration and negotiates with the second terminal device a new configuration of the unicast connection.
[0487] In a possible implementation manner, the transceiver module is configured to receive the second message from the second terminal device in the following manner:
[0488] receiving the second message from the second terminal device via an SRB, the SRB having dedicated sending resources; or,
[0489] receiving the second message from the second terminal device through resources dedicated to processing unicast connection failures; or,
[0490] The second message from the second terminal device is received through a second upper layer signaling.
[0491] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0492] Fig.11 The communication device 1100 provided in the embodiment shown can also be implemented in other forms. For example, the communication device includes a processing module and a transceiver module. For example, the processing module can be implemented by a processor 1101, and the transceiver module can be implemented by a transceiver 1102. The processing module can be used to execute Figure 8 S81 in the embodiment shown, and / or other processes for supporting the technology described herein, for example, may execute all or part of the other processes except the transceiver process executed by the first terminal device described above. The transceiver module may be used to execute Figure 8 S82 and S84 in the illustrated embodiment, and / or other processes for supporting the technology described herein, for example, may execute all or part of the transceiver processes executed by the first terminal device described above. The transceiver module may include a transceiver component for communicating with a network device, and a transceiver component for communicating with other terminal devices.
[0493] For example, the processing module is used to monitor the parameters of the side link to determine whether the unicast connection of the side link meets the first condition;
[0494] A transceiver module is used to send a second message to the first terminal device when the processing module determines that the unicast connection meets the first condition, and the second message is used to indicate the failure of the unicast connection, or the second message includes fifth indication information, and the fifth indication information is used to indicate the failure of the unicast connection.
[0495] In a possible implementation manner, the first condition includes one of the following or any combination thereof:
[0496] A measurement result of a CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value;
[0497] A measurement result of a CBR of resources configured for the sidelink is greater than a CBR measurement threshold;
[0498] The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the RLC layer is greater than or equal to the first number;
[0499] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number;
[0500] The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number;
[0501] A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails;
[0502] A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails;
[0503] The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device;
[0504] The QoS parameter of the unicast connection of the side link does not meet the QoS parameter value condition; or,
[0505] The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
[0506] In a possible implementation manner, the second message further includes sixth indication information, where the sixth indication information is used to indicate the unicast connection.
[0507] In a possible implementation, the first condition includes one of the following conditions: the measurement result of the CSI is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof, and the second message also includes seventh indication information, and the seventh indication information is used to indicate the resources used by the unicast connection.
[0508] In a possible implementation manner, the second message further includes eighth indication information, and the eighth indication information includes the first condition that the unicast connection complies with.
[0509] In a possible implementation, the transceiver module is used to send the second message to the first terminal device in the following manner:
[0510] sending the second message to the first terminal device via an SRB, the SRB having dedicated sending resources; or,
[0511] sending the second message to the second terminal device by using resources dedicated to handling unicast connection failures; or,
[0512] The second message is sent to the second terminal device via a second upper layer signaling.
[0513] In a possible implementation manner, the transceiver module is further configured to stop sending data packets on the unicast connection, and continue receiving data packets on the unicast connection.
[0514] In a possible implementation, the transceiver module is further used to receive second configuration information from the first terminal device, where the second configuration information is used to restore the unicast connection.
[0515] In a possible implementation manner, the transceiver module is configured to receive the second configuration information from the first terminal device in the following manner:
[0516] receiving the second configuration information from the first terminal device via an SRB, the SRB having dedicated transmission resources; or,
[0517] receiving the second configuration information from the first terminal device through resources dedicated to processing unicast connection failures; or,
[0518] The second configuration information is received from the first terminal device through a first upper layer signaling.
[0519] In a possible implementation manner, the processing module is further configured to:
[0520] Updating the configuration of the unicast connection to a default configuration;
[0521] By applying the unicast connection with the default configuration, a new configuration of the unicast connection is negotiated with the first terminal device.
[0522] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0523] Since the communication device 900, the communication device 1000, the communication device 1100 and the communication device 1200 provided in the embodiments of the present application can be used to perform Figure 4 The embodiment shown or Figure 8 The method provided by the illustrated embodiment and the technical effects that can be obtained can refer to the above method embodiments and will not be described in detail here.
[0524] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0525] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, 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 may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another readable storage medium, for example, the computer instructions may 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 may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0526] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments 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.
Claims
1. A fault determination method, characterized in that: include: The first terminal device monitors the parameters of the side link between the first terminal device and the second terminal device to determine whether the unicast connection on the side link meets the first condition; When the unicast connection meets the first condition, the first terminal device determines that the unicast connection fails; The access AS layer or upper layer of the first terminal device triggers notification information to the application layer of the first terminal device, and the notification information is used to indicate that the side link is unavailable.
2. The method according to claim 1, characterized in that The method further comprises: The first terminal device sends a first message to the network device, where the first message is used to indicate the unicast connection failure, and the first message includes fourth indication information, where the fourth indication information includes the first condition that the unicast connection complies with.
3. The method according to claim 2, characterized in that The first condition includes one or any combination of the following: A measurement result of a channel state information CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value; A measurement result of a channel busy ratio CBR of resources configured for the side link is greater than a CBR measurement threshold value; The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the radio link control RLC layer is greater than or equal to the first number; The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the media access control MAC layer is greater than or equal to the second number; The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number; A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails; A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails; The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the first terminal device and the second terminal device; The quality of service QoS parameter of the unicast connection of the side link does not meet the value condition of the QoS parameter; or, The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the first terminal device.
4. The method according to claim 3, characterized in that: The first message also includes second indication information, where the second indication information is used to indicate the unicast connection.
5. The method according to claim 3 or 4, characterized in that: The first condition includes one of the following conditions: the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof. The first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first terminal device stops sending data packets on the unicast connection and continues to receive data packets on the unicast connection.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first terminal device obtains first configuration information, where the first configuration information is used to restore the unicast connection.
8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first terminal device sends second configuration information to the second terminal device, where the second configuration information is used to restore the unicast connection.
9. The method according to claim 8, characterized in that The first terminal device sends second configuration information to the second terminal device, including: The first terminal device sends the second configuration information to the second terminal device via an SRB, and the SRB has dedicated sending resources; or, The first terminal device sends the second configuration information to the second terminal device through resources specifically used for processing unicast connection failures; or, The first terminal device sends the second configuration information to the second terminal device through a first upper layer signaling.
10. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first terminal device updates the configuration of the unicast connection to a default configuration; The first terminal device negotiates with the second terminal device a new configuration of the unicast connection by applying the unicast connection with the default configuration.
11. A communication device, characterized in that: include: A memory for storing instructions; A processor is used to execute the instructions, monitor the parameters of the side link between the second terminal device to determine whether the unicast connection on the side link meets the first condition, and, when the unicast connection meets the first condition, determine that the unicast connection fails, and trigger a notification message to the application layer of the first terminal device, wherein the notification message is used to indicate that the side link is unavailable.
12. The communication device according to claim 11, characterized in that: The communication device also includes a transceiver, which is used to send a first message to the network device, the first message is used to indicate the unicast connection failure, the first message includes fourth indication information, and the fourth indication information includes the first condition that the unicast connection meets.
13. The communication device according to claim 12, characterized in that: The first condition includes one or any combination of the following: A measurement result of a channel state information CSI reference signal transmitted on the unicast connection of the sidelink is less than a CSI measurement threshold value; A measurement result of a channel busy ratio CBR of resources configured for the side link is greater than a CBR measurement threshold value; The number of retransmissions of the data packet transmitted on the unicast connection of the side link at the radio link control RLC layer is greater than or equal to the first number; The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the media access control MAC layer is greater than or equal to the second number; The number of retransmissions of the data packet transmitted on the unicast connection of the sidelink at the MAC layer is greater than or equal to the second number and the number of retransmissions is greater than or equal to the third number; A result of performing an integrity check on a data packet transmitted on the unicast connection of the side link indicates that the check fails; A decryption result of a data packet transmitted on the unicast connection of the side link indicates that the decryption fails; The out-of-sync information of the unicast connection of the side link indicates that there is a loss of sync between the communication device and the second terminal device; The quality of service QoS parameter of the unicast connection of the side link does not meet the value condition of the QoS parameter; or, The source layer 2 identifier carried when transmitting a data packet via the unicast connection of the side link has not established a unicast connection with the communication device.
14. The communication device according to claim 13, characterized in that: The first message also includes second indication information, where the second indication information is used to indicate the unicast connection.
15. The communication device according to claim 13 or 14, characterized in that: The first condition includes one of the following conditions: the measurement result of the CSI reference signal is less than the CSI measurement threshold value, the measurement result of the CBR is greater than the CBR measurement threshold value, the number of retransmissions at the RLC layer is greater than or equal to the first number, the number of retransmissions at the MAC layer is greater than or equal to the second number, the number of retransmissions at the MAC layer of the data packet transmitted on the unicast connection of the side link is greater than or equal to the second number, the number of retransmissions at the MAC layer is greater than or equal to the third number, or the QoS parameter does not meet the QoS parameter value condition, or any combination thereof. The first message also includes third indication information, and the third indication information is used to indicate the resources used by the unicast connection.
16. The communication device according to any one of claims 11 to 14, characterized in that: The communication device also includes a transceiver configured to stop sending data packets on the unicast connection and continue receiving data packets on the unicast connection.
17. The communication device according to any one of claims 11 to 14, characterized in that: The processor is further configured to obtain first configuration information, where the first configuration information is used to restore the unicast connection.
18. The communication device according to any one of claims 11 to 14, characterized in that: The communication apparatus further includes a transceiver configured to send second configuration information to a second terminal device, wherein the second configuration information is used to restore the unicast connection.
19. The communication device according to claim 18, characterized in that: The transceiver is used to send the second configuration information to the second terminal device in the following manner: Sending the second configuration information to the second terminal device via an SRB, the SRB having dedicated sending resources; or, sending the second configuration information to the second terminal device through resources dedicated to handling unicast connection failures; or, The second configuration information is sent to the second terminal device via a first upper layer signaling.
20. The communication device according to any one of claims 11 to 14, characterized in that: The processor is further configured to: Updating the configuration of the unicast connection to a default configuration; By applying the unicast connection with the default configuration, a new configuration of the unicast connection is negotiated with the second terminal device.
21. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the instructions are executed by the communication device, the communication device executes the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Path selection method and device
CN107040972A
Internet of Vehicles service processing method and apparatus, and Internet of Vehicles system
CN107846434A
Methods to enable high data rate relay operation using d2d air-interface
TW201729554A
Method and apparatus for device-to-device (D2D) mobility in wireless systems
WO2013181421A2
