WO2024065840A1 - Path switching capability interaction method and apparatus - Google Patents

Path switching capability interaction method and apparatus Download PDF

Info

Publication number
WO2024065840A1
WO2024065840A1 PCT/CN2022/123641 CN2022123641W WO2024065840A1 WO 2024065840 A1 WO2024065840 A1 WO 2024065840A1 CN 2022123641 W CN2022123641 W CN 2022123641W WO 2024065840 A1 WO2024065840 A1 WO 2024065840A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
direct communication
path
path switching
switching capability
Prior art date
Application number
PCT/CN2022/123641
Other languages
French (fr)
Chinese (zh)
Inventor
刘建宁
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/123641 priority Critical patent/WO2024065840A1/en
Publication of WO2024065840A1 publication Critical patent/WO2024065840A1/en

Links

Images

Definitions

  • the present application relates to the field of communication technology, and in particular to a path switching capability interaction method and device thereof.
  • the terminal device determines whether to allow switching from one direct communication path to another direct communication path based on its own path switching capability, and executes the path switching process when it is determined to be allowed. In the above scheme, the problem of path switching failure is prone to occur.
  • the embodiments of the present application provide a path switching capability interaction method and apparatus thereof, which can perform path switching capability interaction between two terminal devices, thereby reducing the occurrence of path switching failures.
  • an embodiment of the present application provides a path switching capability interaction method, which is executed by a first terminal device, and the method includes: sending a direct communication establishment request message to a second terminal device, wherein the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and receiving a direct communication establishment response message sent by the second terminal device, wherein the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device can send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and can receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • an embodiment of the present application provides another method for interacting with path switching capabilities, which is executed by a second terminal device, and includes: receiving a direct communication establishment request message sent by a first terminal device, wherein the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and sending a direct communication establishment response message to the first terminal device, wherein the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • an embodiment of the present application provides a communication device, which has some or all of the functions of the first terminal device in the method described in the first aspect above, such as the functions of the communication device may have some or all of the functions in the embodiments of the present application, or may have the functions of implementing any one of the embodiments of the present application separately.
  • the functions may be implemented by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication device may include a transceiver unit and a processing unit, and the processing unit is configured to support the communication device to perform the corresponding functions in the above method.
  • the transceiver unit is used to support communication between the communication device and other devices.
  • the communication device may also include a storage unit, which is coupled to the transceiver unit and the processing unit, and stores computer programs and data necessary for the communication device.
  • the processing unit may be a processor
  • the transceiver unit may be a transceiver or a communication interface
  • the storage unit may be a memory
  • an embodiment of the present application provides another communication device, which has some or all of the functions of the second terminal device in the method example described in the second aspect above, such as the functions of the communication device can have some or all of the functions in the embodiments of the present application, or can have the functions of implementing any one of the embodiments of the present application separately.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication device may include a transceiver unit and a processing unit, and the processing unit is configured to support the communication device to perform the corresponding functions in the above method.
  • the transceiver unit is used to support communication between the communication device and other devices.
  • the communication device may also include a storage unit, which is coupled to the transceiver unit and the processing unit and stores computer programs and data necessary for the communication device.
  • the processing unit may be a processor
  • the transceiver unit may be a transceiver or a communication interface
  • the storage unit may be a memory
  • an embodiment of the present application provides a communication device, which includes a processor.
  • the processor calls a computer program in a memory, the method described in the first aspect is executed.
  • an embodiment of the present application provides a communication device, which includes a processor.
  • the processor calls a computer program in a memory, the method described in the second aspect is executed.
  • an embodiment of the present application provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the first aspect above.
  • an embodiment of the present application provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the second aspect above.
  • an embodiment of the present application provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the first aspect above.
  • an embodiment of the present application provides a communication device, which includes a processor and an interface circuit, the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the second aspect above.
  • an embodiment of the present application provides a communication system, which includes the communication device described in the third aspect and the communication device described in the fourth aspect, or the system includes the communication device described in the fifth aspect and the communication device described in the sixth aspect, or the system includes the communication device described in the seventh aspect and the communication device described in the eighth aspect, or the system includes the communication device described in the ninth aspect and the communication device described in the tenth aspect.
  • an embodiment of the present invention provides a computer-readable storage medium for storing instructions for the above-mentioned first terminal device, and when the instructions are executed, the first terminal device executes the method described in the above-mentioned first aspect.
  • an embodiment of the present invention provides a readable storage medium for storing instructions for the second terminal device. When the instructions are executed, the second terminal device executes the method described in the second aspect.
  • the present application also provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
  • the present application also provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
  • the present application provides a chip system, which includes at least one processor and an interface, for supporting a terminal device to implement the functions involved in the first aspect, for example, determining or processing at least one of the data and information involved in the above method.
  • the chip system also includes a memory, which is used to store computer programs and data necessary for the terminal device.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the present application provides a chip system, which includes at least one processor and an interface, and is used to support a terminal device to implement the functions involved in the second aspect, for example, to determine or process at least one of the data and information involved in the above method.
  • the chip system also includes a memory, and the memory is used to store computer programs and data necessary for the terminal device.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the present application provides a computer program which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
  • the present application provides a computer program which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
  • FIG1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a path switching process
  • FIG3 is a flow chart of a method for interactively providing a path switching capability according to an embodiment of the present application
  • FIG4 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG5 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG6 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a path switching process provided in an embodiment of the present application.
  • FIG8 is a flow chart of an interactive method for path switching capability provided in an embodiment of the present application.
  • FIG9 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG10 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG11 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG13 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application.
  • FIG. 14 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
  • Figure 1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application.
  • the communication system may include, but is not limited to, a network device and a terminal device.
  • the number and form of devices shown in Figure 1 are only used for example and do not constitute a limitation on the embodiment of the present application. In actual applications, two or more network devices and two or more terminal devices may be included.
  • the communication system shown in Figure 1 includes a network device 101 and two terminal devices 102 as an example.
  • LTE long term evolution
  • 5G fifth generation
  • NR 5G new radio
  • the network device 101 in the embodiment of the present application is an entity on the network side for transmitting or receiving signals.
  • the network device 101 may be an evolved NodeB (eNB), a transmission point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system.
  • eNB evolved NodeB
  • TRP transmission point
  • gNB next generation NodeB
  • WiFi wireless fidelity
  • the embodiment of the present application does not limit the specific technology and specific device form adopted by the network device.
  • the network device provided in the embodiment of the present application may be composed of a central unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit.
  • CU central unit
  • DU distributed unit
  • the CU-DU structure may be used to split the protocol layer of the network device, such as a base station, and the functions of some protocol layers are placed in the CU for centralized control, and the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU.
  • the terminal device 102 in the embodiment of the present application is an entity on the user side for receiving or transmitting signals, such as a mobile phone.
  • the terminal device may also be referred to as a terminal device (terminal), a user equipment (UE), a mobile station (MS), a mobile terminal device (MT), etc.
  • the terminal device may be a car with communication function, a smart car, a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), a wireless terminal device in a smart home (smart home), etc.
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
  • V2X vehicle-to-everything
  • a terminal device supporting V2X when a terminal device supporting V2X is within cellular coverage, it can use the Uu interface under the control of the cellular network to communicate with the base station through an uplink (UL) or downlink (DL). Regardless of whether there is network coverage, the terminal device can use the PC5 interface to communicate with other terminal devices through a sidelink (SL).
  • the Uu interface and the PC5 interface are combined to support each other and are used together for V2X service transmission, which can form effective redundancy to ensure communication reliability.
  • the PC5 direct communication path refers to the path for two terminal devices to communicate directly through the PC5 interface.
  • the Uu direct communication path refers to the path for two terminal devices to communicate through the Uu interface, which can be understood as the path for two terminal devices to communicate through a network device. For example, during the communication between two terminal devices through the PC5 direct communication path, if a terminal device moves from an area without cellular coverage to an area with cellular coverage, the two terminal devices can switch from the PC5 direct communication path to the Uu direct communication path for communication.
  • UE-1 and UE-2 represent two terminal devices respectively.
  • UE-1 and UE-2 can communicate through the established PC5 direct communication path (step S201).
  • UE-1 and UE-2 may decide to switch from the PC5 direct communication path to the Uu direct communication path (step S202).
  • UE-1 and UE-2 can respectively establish the Uu direct communication path with the 5G wireless access network (Next Generation Radio Access Network, NG-RAN), the 5G core network (Core Network CN), and the data network (Data Network, DN) (step S203), and then release the PC5 direct communication path (step S204), thereby completing the switch from the PC5 direct communication path to the Uu direct communication path.
  • 5G wireless access network Next Generation Radio Access Network, NG-RAN
  • the 5G core network Core Network CN
  • Data Network Data Network
  • UE-1 and UE-2 both determine whether to allow the switch from the PC5 direct communication path to the Uu direct communication path based on their own path switching capabilities, and execute the path switching process when it is determined to be allowed. This method is prone to the problem of path switching failure.
  • the embodiments of the present application provide a method and apparatus for interaction of path switching capabilities, which can interact path switching capabilities between two terminal devices, thereby reducing the occurrence of path switching failures.
  • the communication system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application.
  • Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
  • the interactive method of the path switching capability provided in any embodiment of the present application can be executed alone, or in combination with possible implementation methods in other embodiments, or in combination with any technical solution in the relevant technology.
  • the first terminal device mentioned in the embodiment of the present application can refer to one of the terminal devices 102 of the communication system, and the second terminal device can refer to another one of the terminal devices 102 of the communication system.
  • Figure 3 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the path switching capability interaction method is executed by a first terminal device. As shown in Figure 3, the method may include but is not limited to the following steps:
  • S301 Send a direct communication establishment request message to a second terminal device, where the direct communication establishment request message is used to indicate a path switching capability of a first terminal device.
  • the direct communication establishment request message is sent by the first terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the PC5 direct communication path or the Uu direct communication path is used to transmit data of all or specific proximity services ProSe.
  • the path switching capability indicated by the direct communication establishment request message is for all or specific proximity services ProSe of the first terminal device. That is, the first terminal device uses the same path switching capability for all proximity services ProSe; or the first terminal device uses the same path switching capability for specific proximity services ProSe.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • PC5 direct communication can be understood as two terminal devices communicating directly through the PC5 interface.
  • Uu direct communication can be understood as two terminal devices communicating through the Uu interface, that is, two terminal devices communicating through a network device.
  • the path switching capability of the first terminal device may be provided to the first terminal device through a policy control function (PCF), or may be pre-configured in the first terminal device.
  • PCF policy control function
  • the PCF is a unified policy framework that provides policy rules for control plane functions.
  • the path switching capability of the first terminal device can support switching to the PC5 direct communication path.
  • the path switching capability of the first terminal device can support switching to the Uu direct communication path.
  • the path switching capability of the first terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
  • S302 Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate a path switching capability of the second terminal device.
  • the second terminal device in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the path switching capability indicated by the direct communication establishment response message is for all or specific proximity services ProSe of the second terminal device. That is, the second terminal device uses the same path switching capability for all proximity services ProSe; or the second terminal device uses the same path switching capability for specific proximity services ProSe.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability of the second terminal device may be provided to the second terminal device through the PCF, or may be pre-configured in the second terminal device.
  • the path switching capability of the second terminal device can support switching to the PC5 direct communication path.
  • the path switching capability of the second terminal device can support switching to the Uu direct communication path.
  • the path switching capability of the second terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the first terminal device and the second terminal device can interact with each other in terms of path switching capabilities, it is possible to determine whether to allow switching from one direct communication path to another direct communication path based on the path switching capabilities of the two terminal devices, thereby reducing the occurrence of path switching failures.
  • the first terminal device can send a direct communication establishment request message to the second terminal device, and the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and can receive a direct communication establishment response message sent by the second terminal device, and the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • Figure 4 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 4, the method may include but is not limited to the following steps:
  • S401 Send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability indication of the first terminal device can be carried in the direct communication establishment request message, and the path switching capability indication is used to indicate to the second terminal device whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability indication of the first terminal device may include a switching indication of the first terminal device, which is used to indicate whether the first terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
  • the switching indication of the first terminal device indicates that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the first terminal device indicates that the first terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports the first terminal device switching from Uu direct communication to PC5 direct communication.
  • the path switching capability indication of the first terminal device is added to the original direct communication establishment request message.
  • the path switching capability indication can be added to the idle information field of the direct communication establishment request message.
  • the designated information field of the direct communication establishment request message can be reused, and the path switching capability indication can be added to the designated information field.
  • the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
  • S402 Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • the second terminal device in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability indication of the second terminal device may be carried in the direct communication establishment response message, and the path switching capability indication may be used to indicate to the first terminal device whether the second terminal device supports PC5 direct communication and/or Uu direct communication.
  • the path switching capability indication of the second terminal device may include a switching indication of the second terminal device, which is used to indicate whether the second terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
  • the switching indication of the second terminal device indicates that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • the switching indication of the second terminal device indicates that the second terminal device supports switching from the Uu direct communication path to the PC5 direct communication path
  • it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the Uu direct communication path to the PC5 direct communication path
  • the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path
  • it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path.
  • a path switching capability indication is added to the original direct communication establishment response message.
  • the path switching capability indication can be added to the idle information field of the direct communication establishment response message.
  • the designated information field of the direct communication establishment response message can be reused, and the path switching capability indication can be added to the designated information field.
  • the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
  • the first terminal device after receiving the direct communication establishment response message, can determine that the second terminal device supports PC5 direct communication and/or supports Uu direct communication according to the path switching capability indication of the second terminal device. That is, the first terminal device can determine that the second terminal device can support PC5 direct communication but not support Uu direct communication, or does not support PC5 direct communication but supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; or does not support PC5 direct communication and does not support Uu direct communication according to the direct communication establishment response message.
  • the first terminal device after receiving the direct communication establishment response message, can determine that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path, according to the switching indication included in the path switching capability indication of the second terminal device.
  • the first terminal device can determine, according to the direct communication establishment response message, that the second terminal device can support switching from the PC5 direct communication path to the Uu direct communication path, does not support switching from the Uu direct communication path to the PC5 direct communication path, or does not support switching from the PC5 direct communication path to the Uu direct communication path, but supports switching from the Uu direct communication path to the PC5 direct communication path, or supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path; or does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the path switching capability indication of the first terminal device and the second terminal device may include first indication information and/or second indication information.
  • the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the path switching capability indication includes first indication information, and it is determined according to the first indication information whether the corresponding terminal device supports PC5 direct communication or does not support PC5 direct communication. For example, when the value of the first indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports PC5 direct communication, and when the value of the first indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support PC5 direct communication. In this implementation, since the path switching capability indication only includes the first indication information, it can be assumed that the corresponding terminal device does not support Uu direct communication.
  • the path switching capability indication includes second indication information, and it is determined according to the second indication information whether the corresponding terminal device supports Uu direct communication or does not support Uu direct communication. For example, when the value of the second indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports Uu direct communication, and when the value of the second indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support Uu direct communication. In this implementation, since the path switching capability indication only includes the second indication information, it can be assumed that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication includes first indication information and second indication information, and whether the corresponding terminal device supports PC5 direct communication is determined according to the first indication information, and whether the corresponding terminal device supports Uu direct communication is determined according to the second indication information. For example, if the path switching capability indication is "11", it can be determined that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "10", it can be determined that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; if the path switching capability indication is "01”, it can be determined that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "00", it can be determined that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication of the first terminal device and the second terminal device may include an index value, which may indicate whether the corresponding terminal device supports a combination of PC5 direct communication and Uu direct communication.
  • index value 1 may indicate that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication
  • index value 2 may indicate that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication
  • index value 3 may indicate that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication
  • index value 4 may indicate that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the first terminal device may determine the path switching capability of the second terminal device based on the index value carried in the direct communication establishment response message.
  • path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the first terminal device can send a direct communication establishment request message to the second terminal device, the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the first terminal device can also receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, and the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • Figure 5 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 5, the method may include but is not limited to the following steps:
  • S501 Send a direct communication establishment request message to the second terminal device, wherein when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also can be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the second terminal device that the first terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and not including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
  • S502 Receive a direct communication establishment response message sent by the second terminal device, wherein when the direct communication establishment response message includes a path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the second terminal device in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability indication of the second terminal device can be included in the direct communication establishment response message to indicate to the first terminal device that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the first terminal device that the second terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, to indicate to the first terminal device that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
  • the path switching capability indication of the second terminal device in the direct communication establishment response message by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and not including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the path switching capability indication of the second terminal device in the direct communication establishment response message by including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
  • the path switching capability of the second terminal device can be determined according to whether the direct communication establishment response message includes the path switching capability indication of the second terminal device.
  • the path switching capability of the second terminal device in the case where the direct communication establishment response message includes the path switching capability indication of the second terminal device, can be determined as follows: the second terminal device supports PC5 direct communication, or the second terminal device supports Uu direct communication, or the second terminal device supports PC5 direct communication and supports Uu direct communication; in the case where the direct communication establishment response message does not include the path switching capability indication of the second terminal device, the path switching capability of the second terminal device can be determined as follows: the second terminal device does not support PC5 direct communication, and does not support Uu direct communication.
  • the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports PC5 direct communication when the third indication information is included, and can be used to indicate that the corresponding terminal device does not support PC5 direct communication when the third indication information is not included.
  • the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports Uu direct communication when the fourth indication information is included, and can be used to indicate that the corresponding terminal device does not support Uu direct communication when the fourth indication information is not included.
  • the path switching capability indication includes the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication but does not support Uu direct communication.
  • the path switching capability indication does not include the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication but supports Uu direct communication.
  • the path switching capability indication includes the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication.
  • the path switching capability indication does not include the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
  • both the first terminal device and the second terminal device need to register with the network to perform network authentication and authorization for the first terminal device and the second terminal device.
  • a first terminal device may send a direct communication establishment request message to a second terminal device, wherein when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the first terminal device may also receive a direct communication establishment response message sent by the second terminal device, wherein when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • Figure 6 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 6, the method may include but is not limited to the following steps:
  • S601 Send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • S602 Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • steps S601 to S602 For a detailed description of steps S601 to S602, reference may be made to the relevant contents in the above embodiments, such as the description of steps S301 to S302 or steps S401 to S402 or steps S501 to S502, which will not be repeated here.
  • S603 Determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the first terminal device After the first terminal device receives the direct communication establishment response message, it can start to establish a PC5 direct communication path with the second terminal device. After the first terminal device and the second terminal device establish the PC5 direct communication path, PC5 direct communication can be performed with the second terminal device.
  • the first terminal device can detect the signal quality of the PC5 direct communication path in real time. When it is detected that the signal quality of the PC5 direct communication path does not meet the signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the first terminal device can attempt to switch from the PC5 direct communication path to the Uu direct communication path.
  • the first terminal device may actively interrupt the PC5 direct communication path between the first terminal device and the second terminal device. In this case, the first terminal device also needs to switch from the PC5 direct communication path to the Uu direct communication path.
  • the first terminal device may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device respectively.
  • the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • the first terminal device supports Uu direct communication
  • the second terminal device supports Uu direct communication
  • the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, or the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, or the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • the path switching is not performed, and a reminder may be given on the first terminal device.
  • the first terminal device may perform the following steps: creating a protocol data unit (PDU) session for establishing the Uu direct communication path; and sending a first switching notification message to the second terminal device to notify the second terminal device to create a PDU session for establishing the Uu direct communication path.
  • PDU protocol data unit
  • the Uu direct communication path is for the first terminal device and the second terminal device to communicate through the network device.
  • the first terminal device and the second terminal device need to establish a part of the Uu direct communication path with the network device respectively, and the network device connects the Uu direct communication path corresponding to the first terminal device with the Uu direct communication path corresponding to the second terminal device to form a Uu direct communication path between the first terminal device and the second terminal device.
  • the first terminal device can create a PDU session and conduct a PDU session with a network device.
  • a Uu direct communication path is established between the first terminal device and the network device.
  • This part of the Uu direct communication path is a communication path established between the first terminal device through the radio access network (Radio Access Network, RAN) and the user plane function (User Plane Function, UPF) of the core network, which can be marked as UE1-RAN-UPF.
  • Radio Access Network Radio Access Network
  • UPF User Plane Function
  • the first terminal device when it is determined that the switch from the PC5 direct communication path to the Uu direct communication path is allowed, the first terminal device also needs to send a first switching notification message to the second terminal device, and the first switching notification message instructs the second terminal device to create a PDU session with the network device to establish the Uu direct communication path. Accordingly, the second terminal device can create a PDU session according to the first switching notification message, and conduct a PDU session with the network device.
  • a Uu direct communication path is established between the second terminal device and the network device. This part of the Uu direct communication path is a communication path established between the second terminal device and the UPF (UPF2) of the core network through the RAN, which can be marked as UE2-RAN-UPF (UPF2).
  • UE1-RAN-UPF and UE2-RAN-UPF can be connected to form a Uu direct communication path between the first terminal device and the second terminal device: UE1-RAN-UPF (URF2) -RAN-UE2.
  • URF2 UE1-RAN-UPF
  • the first terminal device switches from the PC5 direct communication path to the Uu direct communication path, and continues to communicate with the second terminal device through the Uu direct communication path.
  • the PC5 direct communication path can be released to save resources.
  • the second terminal device may perform the following steps: creating a protocol data unit (PDU) session for establishing the Uu direct communication path; sending a second switching notification message to the first terminal device to notify the first terminal device to create a PDU session for establishing the Uu direct communication path. Accordingly, the first terminal device may receive the second switching notification message from the second terminal device and create a PDU session for establishing the Uu direct communication path.
  • PDU protocol data unit
  • UE-1 represents the first terminal device
  • UE-2 represents the second terminal device.
  • service authorization and provision (step S701) are required, such as providing the path switching capability of UE-1 and the path switching capability of UE-2 through PCF, or pre-configuring the path switching capability of UE-1 in UE-1 and pre-configuring the path switching capability of UE-2 in UE-2.
  • UE-1 and UE-2 need to establish a communication connection
  • UE-1 can send a direct communication establishment request message to UE-2 (step S702), and the direct communication establishment request message is used to indicate the path switching capability of the first terminal device.
  • UE-2 can send a direct communication establishment response message to UE-1.
  • UE-1 can receive the direct communication establishment response message sent by UE-2 (step S703) to establish a PC5 direct communication connection between UE-1 and UE-2. After UE-1 and UE-2 establish a PC5 direct communication path, UE-1 can perform PC5 direct communication with UE-2.
  • UE-1 or UE-2 may decide whether to switch from the PC5 direct communication path to the Uu direct communication path (step S704). Before switching from the PC5 direct communication path to the Uu direct communication path, UE-1 may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of UE-1 and UE-2 respectively. In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the Uu direct communication path may be established in the above manner (step S705).
  • the first terminal device and/or the second terminal device may decide whether to switch from the Uu direct communication path to the PC5 direct communication path as needed.
  • the first terminal device may determine whether to allow switching from the Uu direct communication path to the PC5 direct communication path based on the path switching capabilities of the first terminal device and the second terminal device.
  • the specific process is similar to the process of determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device, and will not be repeated here.
  • the path switching is not performed, and a reminder may be made on the first terminal device.
  • the first terminal device and the second terminal device may establish a PC5 direct communication path. After the PC5 direct communication path is created, the first terminal device switches from the Uu direct communication path to the PC5 direct communication path, and continues to communicate with the second terminal device through the PC5 direct communication path.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the first terminal device can send a direct communication establishment request message to the second terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • Figure 8 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities is executed by a second terminal device. As shown in Figure 8, the method may include but is not limited to the following steps:
  • S801 Receive a direct communication establishment request message sent by a first terminal device, where the direct communication establishment request message is used to indicate a path switching capability of the first terminal device.
  • a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the PC5 direct communication path or the Uu direct communication path is used to transmit data of all or specific proximity services ProSe.
  • the path switching capability indicated by the direct communication establishment request message is for all or specific proximity services ProSe of the first terminal device. That is, the first terminal device uses the same path switching capability for all proximity services ProSe; or the first terminal device uses the same path switching capability for specific proximity services ProSe.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • PC5 direct communication can be understood as two terminal devices communicating directly through the PC5 interface.
  • Uu direct communication can be understood as two terminal devices communicating through the Uu interface, that is, two terminal devices communicating through a network device.
  • the path switching capability of the first terminal device may be provided to the first terminal device through the PCF, or may be pre-configured in the first terminal device.
  • the path switching capability of the first terminal device can support switching to the PC5 direct communication path.
  • the path switching capability of the first terminal device can support switching to the Uu direct communication path.
  • the path switching capability of the first terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
  • S802 Send a direct communication establishment response message to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device.
  • the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the path switching capability indicated by the direct communication establishment response message is for all or specific proximity services ProSe of the second terminal device. That is, the second terminal device uses the same path switching capability for all proximity services ProSe; or the second terminal device uses the same path switching capability for specific proximity services ProSe.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability of the second terminal device may be provided to the second terminal device through the PCF, or may be pre-configured in the second terminal device.
  • the path switching capability of the second terminal device can support switching to the PC5 direct communication path.
  • the path switching capability of the second terminal device can support switching to the Uu direct communication path.
  • the path switching capability of the second terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the first terminal device and the second terminal device can interact with each other in terms of path switching capabilities, it is possible to determine whether to allow switching from one direct communication path to another direct communication path based on the path switching capabilities of the two terminal devices, thereby reducing the occurrence of path switching failures.
  • the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • Figure 9 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 9, the method may include but is not limited to the following steps:
  • Step S901 Receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message including a path switching capability indication of the first terminal device, the path switching capability indication of the first terminal device being used to indicate whether the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability indication of the first terminal device may be carried in the direct communication establishment request message, and the path switching capability indication may be used to indicate to the second terminal device whether the first terminal device supports PC5 direct communication and/or Uu direct communication.
  • the path switching capability indication of the first terminal device may include a switching indication of the first terminal device, which is used to indicate whether the first terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
  • the switching indication of the first terminal device indicates that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the first terminal device indicates that the first terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports the first terminal device switching from Uu direct communication to PC5 direct communication.
  • the path switching capability indication of the first terminal device is added to the original direct communication establishment request message.
  • the path switching capability indication can be added to the idle information field of the direct communication establishment request message.
  • the designated information field of the direct communication establishment request message can be reused, and the path switching capability indication can be added to the designated information field.
  • the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
  • the second terminal device after receiving the direct communication establishment request message, can determine that the first terminal device supports PC5 direct communication and/or supports Uu direct communication according to the path switching capability indication of the first terminal device. That is, the second terminal device can determine that the first terminal device can support PC5 direct communication but not support Uu direct communication, or does not support PC5 direct communication but supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; or does not support PC5 direct communication and does not support Uu direct communication according to the direct communication establishment request message.
  • the second terminal device after receiving the direct communication establishment request message, can determine that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path, according to the switching indication included in the path switching capability indication of the first terminal device.
  • the second terminal device can determine, according to the direct communication establishment request message, that the first terminal device can support switching from the PC5 direct communication path to the Uu direct communication path, but does not support switching from the Uu direct communication path to the PC5 direct communication path, or does not support switching from the PC5 direct communication path to the Uu direct communication path, but supports switching from the Uu direct communication path to the PC5 direct communication path, or supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path; or does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • Step S902 Send a direct communication establishment response message to the first terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device.
  • the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability indication of the second terminal device may be carried in the direct communication establishment response message, and the path switching capability indication may be used to indicate to the first terminal device whether the second terminal device supports PC5 direct communication and/or Uu direct communication.
  • the path switching capability indication of the second terminal device may include a switching indication of the second terminal device, which is used to indicate whether the second terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
  • the switching indication of the second terminal device indicates that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • the switching indication of the second terminal device indicates that the second terminal device supports switching from the Uu direct communication path to the PC5 direct communication path
  • it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the Uu direct communication path to the PC5 direct communication path
  • the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path
  • it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path.
  • a path switching capability indication is added to the original direct communication establishment response message.
  • the path switching capability indication can be added to the idle information field of the direct communication establishment response message.
  • the designated information field of the direct communication establishment response message can be reused, and the path switching capability indication can be added to the designated information field.
  • the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
  • the path switching capability indication of the first terminal device and the second terminal device may include first indication information and/or second indication information.
  • the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the path switching capability indication includes first indication information, and it is determined according to the first indication information whether the corresponding terminal device supports PC5 direct communication or does not support PC5 direct communication. For example, when the value of the first indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports PC5 direct communication, and when the value of the first indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support PC5 direct communication. In this implementation, since the path switching capability indication only includes the first indication information, it can be assumed that the corresponding terminal device does not support Uu direct communication.
  • the path switching capability indication includes second indication information, and it is determined according to the second indication information whether the corresponding terminal device supports Uu direct communication or does not support Uu direct communication. For example, when the value of the second indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports Uu direct communication, and when the value of the second indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support Uu direct communication. In this implementation, since the path switching capability indication only includes the second indication information, it can be assumed that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication includes first indication information and second indication information, and whether the corresponding terminal device supports PC5 direct communication is determined according to the first indication information, and whether the corresponding terminal device supports Uu direct communication is determined according to the second indication information. For example, if the path switching capability indication is "11", it can be determined that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "10", it can be determined that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; if the path switching capability indication is "01”, it can be determined that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "00", it can be determined that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication of the first terminal device and the second terminal device may include an index value, which may indicate whether the corresponding terminal device supports a combination of PC5 direct communication and Uu direct communication.
  • index value 1 may indicate that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication
  • index value 2 may indicate that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication
  • index value 3 may indicate that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication
  • index value 4 may indicate that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the second terminal device may determine the path switching capability of the first terminal device based on the index value carried in the direct communication establishment request message.
  • path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the second terminal device can also send a direct communication establishment response message to the first terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, and the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • Figure 10 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 10, the method may include but is not limited to the following steps:
  • Step S1001 Receive a direct communication establishment request message sent by the first terminal device.
  • the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
  • the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the second terminal device that the first terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and not including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the path switching capability indication of the first terminal device in the direct communication establishment request message by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
  • Step S1002 Send a direct communication establishment response message to the first terminal device.
  • the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device.
  • the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
  • the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
  • the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
  • the path switching capability indication of the second terminal device can be included in the direct communication establishment response message to indicate to the first terminal device that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the first terminal device that the second terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, to indicate to the first terminal device that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
  • the path switching capability indication of the second terminal device in the direct communication establishment response message by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and not including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the path switching capability indication of the second terminal device in the direct communication establishment response message by including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
  • the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
  • the second terminal device after receiving the direct communication establishment request message, can determine the path switching capability of the first terminal device according to whether the direct communication establishment request message includes the path switching capability indication of the first terminal device.
  • the path switching capability of the first terminal device in the case where the direct communication establishment request message includes the path switching capability indication of the first terminal device, can be determined as follows: the first terminal device supports PC5 direct communication, or the first terminal device supports Uu direct communication, or the first terminal device supports PC5 direct communication and supports Uu direct communication; in the case where the direct communication establishment request message does not include the path switching capability indication of the first terminal device, the path switching capability of the first terminal device can be determined as follows: the first terminal device does not support PC5 direct communication, and does not support Uu direct communication.
  • the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports PC5 direct communication when the third indication information is included, and can be used to indicate that the corresponding terminal device does not support PC5 direct communication when the third indication information is not included.
  • the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports Uu direct communication when the fourth indication information is included, and can be used to indicate that the corresponding terminal device does not support Uu direct communication when the fourth indication information is not included.
  • the path switching capability indication includes the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication but does not support Uu direct communication.
  • the path switching capability indication does not include the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication but supports Uu direct communication.
  • the path switching capability indication includes the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication.
  • the path switching capability indication does not include the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the second terminal device can receive a direct communication establishment request message sent by the first terminal device.
  • the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the second terminal device can also send a direct communication establishment response message to the first terminal device.
  • the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
  • the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication. As a result, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • Figure 11 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • the method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 11, the method may include but is not limited to the following steps:
  • Step S1101 receiving a direct communication establishment request message sent by a first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • Step S1102 Send a direct communication establishment response message to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • steps S1101 to S1102 please refer to the relevant contents in the above embodiments, such as the records of steps S801 to S802 or steps S901 to S902 or steps S1001 to S1002, which will not be repeated here.
  • Step S1103 Determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the first terminal device After the first terminal device receives the direct communication establishment response message, it can start to establish a PC5 direct communication path with the second terminal device.
  • the second terminal device and the first terminal device After the first terminal device and the second terminal device establish the PC5 direct communication path, the second terminal device and the first terminal device can perform PC5 direct communication.
  • the second terminal device can detect the signal quality of the PC5 direct communication path in real time. When it is detected that the signal quality of the PC5 direct communication path does not meet the signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the second terminal device can attempt to switch from the PC5 direct communication path to the Uu direct communication path.
  • the second terminal device may actively interrupt the PC5 direct communication path between the second terminal device and the first terminal device. In this case, the second terminal device also needs to switch from the PC5 direct communication path to the Uu direct communication path.
  • the second terminal device may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device respectively.
  • the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • the first terminal device supports Uu direct communication
  • the second terminal device supports Uu direct communication
  • the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path
  • switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, or the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, or the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • the path switching is not performed, and a reminder may be made on the second terminal device. If it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the second terminal device may perform the following steps: create a PDU session for establishing the Uu direct communication path; send a second switching notification message to the first terminal device to notify the first terminal device to create a PDU session for establishing the Uu direct communication path.
  • the Uu direct communication path is for the first terminal device and the second terminal device to communicate through the network device.
  • the first terminal device and the second terminal device need to establish a part of the Uu direct communication path with the network device respectively, and the network device connects the Uu direct communication path corresponding to the first terminal device with the Uu direct communication path corresponding to the second terminal device to form a Uu direct communication path between the first terminal device and the second terminal device.
  • the second terminal device can create a PDU session and conduct a PDU session with the network device.
  • a Uu direct communication path is established between the second terminal device and the network device.
  • This part of the Uu direct communication path is a communication path established between the second terminal device through the radio access network (Radio Access Network, RAN) and the user plane function (User Plane Function, UPF) of the core network, which can be marked as UE2-RAN-UPF.
  • RAN Radio Access Network
  • UPF User Plane Function
  • the second terminal device when it is determined that the switch from the PC5 direct communication path to the Uu direct communication path is allowed, the second terminal device also needs to send a second switching notification message to the first terminal device, and the second switching notification message instructs the first terminal device to create a PDU session with the network device to establish the Uu direct communication path. Accordingly, the first terminal device can create a PDU session according to the second switching notification message, and conduct a PDU session with the network device.
  • a Uu direct communication path is established between the first terminal device and the network device. This part of the Uu direct communication path is a communication path established between the first terminal device and the UPF (UPF2) of the core network through the RAN, which can be marked as UE1-RAN-UPF (UPF2).
  • UE1-RAN-UPF and UE2-RAN-UPF can be connected to form a Uu direct communication path between the first terminal device and the second terminal device: UE1-RAN-UPF (URF2) -RAN-UE2.
  • URF2 UE1-RAN-UPF
  • the second terminal device switches from the PC5 direct communication path to the Uu direct communication path, and continues to communicate with the first terminal device through the Uu direct communication path.
  • the PC5 direct communication path can be released to save resources.
  • the first terminal device may perform the following steps: create a PDU session for establishing the Uu direct communication path; send a first switching notification message to the second terminal device to notify the second terminal device to create a PDU session for establishing the Uu direct communication path.
  • the second terminal device may create a PDU session for establishing the Uu direct communication path when receiving the first switching notification message from the first terminal device.
  • the first terminal device and/or the second terminal device may decide whether to switch from the Uu direct communication path to the PC5 direct communication path as needed.
  • the second terminal device may determine whether to allow switching from the Uu direct communication path to the PC5 direct communication path based on the path switching capabilities of the first terminal device and the second terminal device.
  • the specific process is similar to the process of determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device, and will not be repeated here.
  • the path switching is not performed, and a reminder may be made on the second terminal device.
  • the first terminal device and the second terminal device may establish a PC5 direct communication path. After the PC5 direct communication path is created, the second terminal device switches from the Uu direct communication path to the PC5 direct communication path, and continues to communicate with the first terminal device through the PC5 direct communication path.
  • both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
  • the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
  • the methods provided in the embodiments of the present application are introduced from the perspectives of terminal devices, such as the first terminal device and the second terminal device.
  • the terminal device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • a function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device 120 shown in Figure 12 may include a transceiver unit 1201 and a processing unit 1202.
  • the transceiver unit 1201 may include a sending unit and/or a receiving unit, the sending unit is used to implement a sending function, the receiving unit is used to implement a receiving function, and the transceiver unit 1201 may implement a sending function and/or a receiving function.
  • the communication device 120 may be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), or may be a device in the terminal device, or may be a device that can be used in conjunction with the terminal device.
  • the communication device 120 is a terminal device (such as the first terminal device in the aforementioned method embodiment):
  • the transceiver unit 1201 is used to send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and to receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
  • the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the direct communication establishment request message when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the direct communication establishment response message when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the processing unit 1202 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the processing unit 1202 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
  • the communication device 120 is a terminal device (such as the second terminal device in the aforementioned method embodiment):
  • the transceiver unit 1201 is used to receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
  • the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the direct communication establishment request message when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the direct communication establishment response message when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the processing unit 1202 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  • the processing unit 1202 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
  • FIG. 13 is a schematic diagram of the structure of another communication device 130 provided in an embodiment of the present application.
  • the communication device 130 can be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), or a chip, a chip system, or a processor that supports the terminal device to implement the above method.
  • the device can be used to implement the method described in the above method embodiment, and the details can be referred to the description in the above method embodiment.
  • the communication device 130 may include one or more processors 1301.
  • the processor 1301 may be a general-purpose processor or a dedicated processor, etc.
  • it may be a baseband processor or a central processing unit.
  • the baseband processor may be used to process the communication protocol and communication data
  • the central processing unit may be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute a computer program, and process the data of the computer program.
  • the communication device 130 may further include one or more memories 1302, on which a computer program 1304 may be stored, and the processor 1301 executes the computer program 1304 so that the communication device 130 performs the method described in the above method embodiment.
  • data may also be stored in the memory 1302.
  • the communication device 130 and the memory 1302 may be provided separately or integrated together.
  • the communication device 130 may further include a transceiver 1305 and an antenna 1306.
  • the transceiver 1305 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and is used to implement a transceiver function.
  • the transceiver 1305 may include a receiver and a transmitter, the receiver may be referred to as a receiver or a receiving circuit, etc., and is used to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., and is used to implement a transmitting function.
  • the communication device 130 may further include one or more interface circuits 1307.
  • the interface circuit 1307 is used to receive code instructions and transmit them to the processor 1301.
  • the processor 1301 runs the code instructions to enable the communication device 130 to execute the method described in the above method embodiment.
  • the communication device 130 is a terminal device (such as the first terminal device in the aforementioned method embodiment): the transceiver 1305 is used to execute steps S301 and S302 in Figure 3; steps S401 and S402 in Figure 4; steps S501 and S502 in Figure 5; and steps S601 and S602 in Figure 6.
  • the processor 1301 is configured to execute step S603 in FIG. 6 .
  • the communication device 130 is a terminal device (such as the second terminal device in the aforementioned embodiment): the transceiver 1305 is used to execute steps S801 and S802 in Figure 8; steps S901 and S902 in Figure 9; steps S1001 and S1002 in Figure 10; steps S1101 and S1102 in Figure 11.
  • the processor 1301 is used to execute step S1103 in FIG. 11 .
  • the processor 1301 may include a transceiver for implementing the receiving and sending functions.
  • the transceiver may be a transceiver circuit, an interface, or an interface circuit.
  • the transceiver circuit, interface, or interface circuit for implementing the receiving and sending functions may be separate or integrated.
  • the above-mentioned transceiver circuit, interface, or interface circuit may be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
  • the processor 1301 may store a computer program 1303, which runs on the processor 1301 and enables the communication device 130 to perform the method described in the above method embodiment.
  • the computer program 1303 may be fixed in the processor 1301, in which case the processor 1301 may be implemented by hardware.
  • the communication device 130 may include a circuit that can implement the functions of sending or receiving or communicating in the aforementioned method embodiments.
  • the processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc.
  • the processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • N-type metal oxide semiconductor nMetal-oxide-semiconductor
  • PMOS bipolar junction transistor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • GaAs gallium arsenide
  • the communication device described in the above embodiments may be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), but the scope of the communication device described in the present application is not limited thereto, and the structure of the communication device may not be limited by FIG. 13.
  • the communication device may be an independent device or may be part of a larger device.
  • the communication device may be:
  • the IC set may also include a storage component for storing data and computer programs;
  • ASIC such as modem
  • the communication device can be a chip or a chip system
  • the communication device can be a chip or a chip system
  • the schematic diagram of the chip structure shown in Figure 14 includes a processor 1401 and an interface 1402.
  • the number of processors 1401 can be one or more, and the number of interfaces 1402 can be multiple.
  • the chip is used to implement the functions of the terminal device in the embodiment of the present application (such as the first terminal device in the aforementioned method embodiment):
  • Interface 1402 is used to send a direct communication establishment request message to the second terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
  • the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the direct communication establishment request message when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the direct communication establishment response message when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the processor 1401 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to a path switching capability of the first terminal device and a path switching capability of the second terminal device.
  • processor 1401 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
  • the chip is used to implement the functions of the terminal device in the embodiment of the present application (such as the second terminal device in the aforementioned method embodiment):
  • Interface 1402 is used to receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  • the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
  • the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
  • the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  • the direct communication establishment request message when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the direct communication establishment response message when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  • the path switching capability indication when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  • the path switching capability indication when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  • the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  • the processor 1401 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to a path switching capability of the first terminal device and a path switching capability of the second terminal device.
  • the processor 1401 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
  • the chip further includes a memory 1403, and the memory 1403 is used to store necessary computer programs and data.
  • An embodiment of the present application also provides a communication system, which includes the communication device in the embodiment of Figure 13 as a terminal device (such as the first terminal device in the aforementioned method embodiment) and the communication device as a terminal device (such as the second terminal device in the aforementioned method embodiment), or the system includes the communication device in the embodiment of Figure 14 as a terminal device (such as the first terminal device in the aforementioned method embodiment) and the communication device as a terminal device (such as the second terminal device in the aforementioned method embodiment).
  • the present application also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.
  • the present application also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.
  • the computer program product includes one or more computer programs.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • the computer program can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer program can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer 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 (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
  • a magnetic medium e.g., a floppy disk, a hard disk, a magnetic tape
  • an optical medium e.g., a high-density digital video disc (DVD)
  • DVD high-density digital video disc
  • SSD solid state disk
  • At least one in the present application can also be described as one or more, and a plurality can be two, three, four or more, which is not limited in the present application.
  • the technical features in the technical feature are distinguished by “first”, “second”, “third”, “A”, “B”, “C” and “D”, etc., and there is no order of precedence or size between the technical features described by the "first”, “second”, “third”, “A”, “B”, “C” and “D”.
  • the corresponding relationships shown in the tables in this application can be configured or predefined.
  • the values of the information in each table are only examples and can be configured as other values, which are not limited by this application.
  • the corresponding relationships shown in some rows may not be configured.
  • appropriate deformation adjustments can be made based on the above table, such as splitting, merging, etc.
  • the names of the parameters shown in the titles in the above tables can also use other names that can be understood by the communication device, and the values or representations of the parameters can also be other values or representations that can be understood by the communication device.
  • other data structures can also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables.
  • the predefined in the present application may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.

Abstract

Embodiments of the present application disclose a path switching capability interaction method and apparatus, which can be applied to the technical field of communications. The method comprises: a first terminal device sends a direct communication establishment request message to a second terminal device, the direct communication establishment request message being used for indicating the path switching capability of the first terminal device; and the first terminal device receives a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message being used for indicating the path switching capability of the second terminal device, so that interaction of path switching capabilities can be performed between the two terminal devices, thereby reducing the occurrence of path switching failure.

Description

一种路径切换能力的交互方法及其装置A path switching capability interaction method and device 技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种路径切换能力的交互方法及其装置。The present application relates to the field of communication technology, and in particular to a path switching capability interaction method and device thereof.
背景技术Background technique
目前,在两个终端设备进行通信的过程中,可能需要进行PC5直接通信路径和Uu直接通信路径之间的切换。其中终端设备根据自身的路径切换能力确定是否允许从一个直接通信路径到另外一个直接通信路径的切换,在确定允许时执行路径切换过程。上述方案中,容易出现路径切换失败的问题。At present, during the communication between two terminal devices, it may be necessary to switch between the PC5 direct communication path and the Uu direct communication path. The terminal device determines whether to allow switching from one direct communication path to another direct communication path based on its own path switching capability, and executes the path switching process when it is determined to be allowed. In the above scheme, the problem of path switching failure is prone to occur.
发明内容Summary of the invention
本申请实施例提供一种路径切换能力的交互方法及其装置,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。The embodiments of the present application provide a path switching capability interaction method and apparatus thereof, which can perform path switching capability interaction between two terminal devices, thereby reducing the occurrence of path switching failures.
第一方面,本申请实施例提供一种路径切换能力的交互方法,该方法由第一终端设备执行,该方法包括:向第二终端设备发送直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;接收所述第二终端设备发送的直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。In a first aspect, an embodiment of the present application provides a path switching capability interaction method, which is executed by a first terminal device, and the method includes: sending a direct communication establishment request message to a second terminal device, wherein the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and receiving a direct communication establishment response message sent by the second terminal device, wherein the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
本申请实施例中,第一终端设备可以向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,以及可以接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In an embodiment of the present application, the first terminal device can send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and can receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device. As a result, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
第二方面,本申请实施例提供另一种路径切换能力的交互方法,该方法由第二终端设备执行,该方法包括:接收第一终端设备发送的直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;向所述第一终端设备发送直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。In a second aspect, an embodiment of the present application provides another method for interacting with path switching capabilities, which is executed by a second terminal device, and includes: receiving a direct communication establishment request message sent by a first terminal device, wherein the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and sending a direct communication establishment response message to the first terminal device, wherein the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
本申请实施例中,第二终端设备可以接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,以及向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In an embodiment of the present application, the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device. As a result, the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
第三方面,本申请实施例提供一种通信装置,该通信装置具有实现上述第一方面所述的方法中第一终端设备的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a third aspect, an embodiment of the present application provides a communication device, which has some or all of the functions of the first terminal device in the method described in the first aspect above, such as the functions of the communication device may have some or all of the functions in the embodiments of the present application, or may have the functions of implementing any one of the embodiments of the present application separately. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.
在一种实现方式中,该通信装置的结构中可包括收发单元和处理单元,所述处理单元被配置为支持通信装置执行上述方法中相应的功能。所述收发单元用于支持通信装置与其他设备之间的通信。所述通信装置还可以包括存储单元,所述存储单元用于与收发单元和处理单元耦合,其保存通信装置必要的计算机程序和数据。In one implementation, the structure of the communication device may include a transceiver unit and a processing unit, and the processing unit is configured to support the communication device to perform the corresponding functions in the above method. The transceiver unit is used to support communication between the communication device and other devices. The communication device may also include a storage unit, which is coupled to the transceiver unit and the processing unit, and stores computer programs and data necessary for the communication device.
作为示例,处理单元可以为处理器,收发单元可以为收发器或通信接口,存储单元可以为存储器。As an example, the processing unit may be a processor, the transceiver unit may be a transceiver or a communication interface, and the storage unit may be a memory.
第四方面,本申请实施例提供另一种通信装置,该通信装置具有实现上述第二方面所述的方法示例中第二终端设备的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执 行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a fourth aspect, an embodiment of the present application provides another communication device, which has some or all of the functions of the second terminal device in the method example described in the second aspect above, such as the functions of the communication device can have some or all of the functions in the embodiments of the present application, or can have the functions of implementing any one of the embodiments of the present application separately. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.
在一种实现方式中,该通信装置的结构中可包括收发单元和处理单元,该处理单元被配置为支持通信装置执行上述方法中相应的功能。收发单元用于支持通信装置与其他设备之间的通信。所述通信装置还可以包括存储单元,所述存储单元用于与收发单元和处理单元耦合,其保存通信装置必要的计算机程序和数据。In one implementation, the structure of the communication device may include a transceiver unit and a processing unit, and the processing unit is configured to support the communication device to perform the corresponding functions in the above method. The transceiver unit is used to support communication between the communication device and other devices. The communication device may also include a storage unit, which is coupled to the transceiver unit and the processing unit and stores computer programs and data necessary for the communication device.
作为示例,处理单元可以为处理器,收发单元可以为收发器或通信接口,存储单元可以为存储器。As an example, the processing unit may be a processor, the transceiver unit may be a transceiver or a communication interface, and the storage unit may be a memory.
第五方面,本申请实施例提供一种通信装置,该通信装置包括处理器,当该处理器调用存储器中的计算机程序时,执行上述第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the first aspect is executed.
第六方面,本申请实施例提供一种通信装置,该通信装置包括处理器,当该处理器调用存储器中的计算机程序时,执行上述第二方面所述的方法。In a sixth aspect, an embodiment of the present application provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the second aspect is executed.
第七方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储器,该存储器中存储有计算机程序;所述处理器执行该存储器所存储的计算机程序,以使该通信装置执行上述第一方面所述的方法。In the seventh aspect, an embodiment of the present application provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the first aspect above.
第八方面,本申请实施例提供一种通信装置,该通信装置包括处理器和存储器,该存储器中存储有计算机程序;所述处理器执行该存储器所存储的计算机程序,以使该通信装置执行上述第二方面所述的方法。In an eighth aspect, an embodiment of the present application provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the second aspect above.
第九方面,本申请实施例提供一种通信装置,该装置包括处理器和接口电路,该接口电路用于接收代码指令并传输至该处理器,该处理器用于运行所述代码指令以使该装置执行上述第一方面所述的方法。In a ninth aspect, an embodiment of the present application provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the first aspect above.
第十方面,本申请实施例提供一种通信装置,该装置包括处理器和接口电路,该接口电路用于接收代码指令并传输至该处理器,该处理器用于运行所述代码指令以使该装置执行上述第二方面所述的方法。In the tenth aspect, an embodiment of the present application provides a communication device, which includes a processor and an interface circuit, the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the second aspect above.
第十一方面,本申请实施例提供一种通信系统,该系统包括第三方面所述的通信装置以及第四方面所述的通信装置,或者,该系统包括第五方面所述的通信装置以及第六方面所述的通信装置,或者,该系统包括第七方面所述的通信装置以及第八方面所述的通信装置,或者,该系统包括第九方面所述的通信装置以及第十方面所述的通信装置。In the eleventh aspect, an embodiment of the present application provides a communication system, which includes the communication device described in the third aspect and the communication device described in the fourth aspect, or the system includes the communication device described in the fifth aspect and the communication device described in the sixth aspect, or the system includes the communication device described in the seventh aspect and the communication device described in the eighth aspect, or the system includes the communication device described in the ninth aspect and the communication device described in the tenth aspect.
第十二方面,本发明实施例提供一种计算机可读存储介质,用于储存为上述第一终端设备所用的指令,当所述指令被执行时,使所述第一终端设备执行上述第一方面所述的方法。In a twelfth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing instructions for the above-mentioned first terminal device, and when the instructions are executed, the first terminal device executes the method described in the above-mentioned first aspect.
第十三方面,本发明实施例提供一种可读存储介质,用于储存为上述第二终端设备所用的指令,当所述指令被执行时,使所述第二终端设备执行上述第二方面所述的方法。In a thirteenth aspect, an embodiment of the present invention provides a readable storage medium for storing instructions for the second terminal device. When the instructions are executed, the second terminal device executes the method described in the second aspect.
第十四方面,本申请还提供一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。In a fourteenth aspect, the present application also provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
第十五方面,本申请还提供一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In a fifteenth aspect, the present application also provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
第十六方面,本申请提供一种芯片系统,该芯片系统包括至少一个处理器和接口,用于支持终端设备实现第一方面所涉及的功能,例如,确定或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存终端设备必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a sixteenth aspect, the present application provides a chip system, which includes at least one processor and an interface, for supporting a terminal device to implement the functions involved in the first aspect, for example, determining or processing at least one of the data and information involved in the above method. In one possible design, the chip system also includes a memory, which is used to store computer programs and data necessary for the terminal device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
第十七方面,本申请提供一种芯片系统,该芯片系统包括至少一个处理器和接口,用于支持终端设 备实现第二方面所涉及的功能,例如,确定或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存终端设备必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In the seventeenth aspect, the present application provides a chip system, which includes at least one processor and an interface, and is used to support a terminal device to implement the functions involved in the second aspect, for example, to determine or process at least one of the data and information involved in the above method. In one possible design, the chip system also includes a memory, and the memory is used to store computer programs and data necessary for the terminal device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
第十八方面,本申请提供一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。In an eighteenth aspect, the present application provides a computer program which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
第十九方面,本申请提供一种计算机程序,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In a nineteenth aspect, the present application provides a computer program which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
图1是本申请实施例提供的一种通信系统的架构示意图;FIG1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
图2是一种路径切换过程的示意图;FIG2 is a schematic diagram of a path switching process;
图3是本申请实施例提供的一种路径切换能力的交互方法的流程示意图;FIG3 is a flow chart of a method for interactively providing a path switching capability according to an embodiment of the present application;
图4是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG4 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图5是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG5 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图6是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG6 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图7是本申请实施例提供的一种路径切换过程的示意图;FIG7 is a schematic diagram of a path switching process provided in an embodiment of the present application;
图8是本申请实施例提供的一种路径切换能力的交互方法的流程示意图;FIG8 is a flow chart of an interactive method for path switching capability provided in an embodiment of the present application;
图9是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG9 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图10是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG10 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图11是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG11 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图12是本申请实施例提供的一种通信装置的结构示意图;FIG12 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;
图13是本申请实施例提供的另一种通信装置的结构示意图;FIG13 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application;
图14是本申请实施例提供的一种芯片的结构示意图。FIG. 14 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
具体实施方式Detailed ways
为了更好的理解本申请实施例公开的一种路径切换能力的交互方法,下面首先对本申请实施例适用的通信系统进行描述。In order to better understand the interaction method of a path switching capability disclosed in an embodiment of the present application, the communication system to which the embodiment of the present application is applicable is first described below.
请参见图1,图1为本申请实施例提供的一种通信系统的架构示意图。该通信系统可包括但不限于一个网络设备和一个终端设备,图1所示的设备数量和形态仅用于举例并不构成对本申请实施例的限定,实际应用中可以包括两个或两个以上的网络设备,两个或两个以上的终端设备。图1所示的通信系统以包括一个网络设备101和两个终端设备102为例。Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application. The communication system may include, but is not limited to, a network device and a terminal device. The number and form of devices shown in Figure 1 are only used for example and do not constitute a limitation on the embodiment of the present application. In actual applications, two or more network devices and two or more terminal devices may be included. The communication system shown in Figure 1 includes a network device 101 and two terminal devices 102 as an example.
需要说明的是,本申请实施例的技术方案可以应用于各种通信系统。例如:长期演进(long term evolution,LTE)系统、第五代(5th generation,5G)移动通信系统、5G新空口(new radio,NR)系统,或者其他未来的新型移动通信系统等。It should be noted that the technical solutions of the embodiments of the present application can be applied to various communication systems. For example: long term evolution (LTE) system, fifth generation (5G) mobile communication system, 5G new radio (NR) system, or other future new mobile communication systems.
本申请实施例中的网络设备101是网络侧的一种用于发射或接收信号的实体。例如,网络设备101可以为演进型基站(evolved NodeB,eNB)、传输点(transmission reception point,TRP)、NR系统中的下一代基站(next generation NodeB,gNB)、其他未来移动通信系统中的基站或无线保真(wireless  fidelity,WiFi)系统中的接入节点等。本申请的实施例对网络设备所采用的具体技术和具体设备形态不做限定。本申请实施例提供的网络设备可以是由集中单元(central unit,CU)与分布式单元(distributed unit,DU)组成的,其中,CU也可以称为控制单元(control unit),采用CU-DU的结构可以将网络设备,例如基站的协议层拆分开,部分协议层的功能放在CU集中控制,剩下部分或全部协议层的功能分布在DU中,由CU集中控制DU。The network device 101 in the embodiment of the present application is an entity on the network side for transmitting or receiving signals. For example, the network device 101 may be an evolved NodeB (eNB), a transmission point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system. The embodiment of the present application does not limit the specific technology and specific device form adopted by the network device. The network device provided in the embodiment of the present application may be composed of a central unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit. The CU-DU structure may be used to split the protocol layer of the network device, such as a base station, and the functions of some protocol layers are placed in the CU for centralized control, and the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU.
本申请实施例中的终端设备102是用户侧的一种用于接收或发射信号的实体,如手机。终端设备也可以称为终端设备(terminal)、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端设备(mobile terminal,MT)等。终端设备可以是具备通信功能的汽车、智能汽车、手机(mobile phone)、穿戴式设备、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self-driving)中的无线终端设备、远程手术(remote medical surgery)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备等等。本申请的实施例对终端设备所采用的具体技术和具体设备形态不做限定。The terminal device 102 in the embodiment of the present application is an entity on the user side for receiving or transmitting signals, such as a mobile phone. The terminal device may also be referred to as a terminal device (terminal), a user equipment (UE), a mobile station (MS), a mobile terminal device (MT), etc. The terminal device may be a car with communication function, a smart car, a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), a wireless terminal device in a smart home (smart home), etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
目前,车联网(vehicle-to-everything,V2X)可支持的工作场景包括有蜂窝网络覆盖的场景,以及包括没有蜂窝网络部署的场景。落实到具体技术而言,V2X可提供两种通信接口,分别是PC5接口(终端设备之间的直连通信接口)和Uu接口(终端设备与基站之间的蜂窝通信接口)。其中,当支持V2X的终端设备处于蜂窝覆盖内时,可在蜂窝网络控制下使用Uu接口,通过上行链路(uplink,UL)或下行链路(downlink,DL)与基站通信,而无论是否有网络覆盖,终端设备均可以采用PC5接口通过侧行链路(sidelink,SL)与其他终端设备通信。Uu接口和PC5接口相结合,彼此相互支撑,共同用于V2X业务传输,可以形成有效的冗余来保障通信可靠性。At present, the working scenarios supported by vehicle-to-everything (V2X) include scenarios with cellular network coverage and scenarios without cellular network deployment. In terms of specific technology, V2X can provide two communication interfaces, namely PC5 interface (direct communication interface between terminal devices) and Uu interface (cellular communication interface between terminal devices and base stations). Among them, when a terminal device supporting V2X is within cellular coverage, it can use the Uu interface under the control of the cellular network to communicate with the base station through an uplink (UL) or downlink (DL). Regardless of whether there is network coverage, the terminal device can use the PC5 interface to communicate with other terminal devices through a sidelink (SL). The Uu interface and the PC5 interface are combined to support each other and are used together for V2X service transmission, which can form effective redundancy to ensure communication reliability.
在某些场景中,两个终端设备进行通信的过程中,可能需要进行PC5直接通信路径和Uu直接通信路径的切换。其中,PC5直接通信路径,指两个终端设备通过PC5接口直接进行通信的路径。Uu直接通信路径,指两个终端设备通过Uu接口进行通信的路径,可以理解为两个终端设备通过网络设备进行通信的路径。比如,在两个终端设备通过PC5直接通信路径进行通信的过程中,某个终端设备从蜂窝无覆盖区域驶出至蜂窝覆盖区域的情况下,两个终端设备可以从PC5直接通信路径切换至Uu直接通信路径进行通信。In some scenarios, during the communication between two terminal devices, it may be necessary to switch between the PC5 direct communication path and the Uu direct communication path. The PC5 direct communication path refers to the path for two terminal devices to communicate directly through the PC5 interface. The Uu direct communication path refers to the path for two terminal devices to communicate through the Uu interface, which can be understood as the path for two terminal devices to communicate through a network device. For example, during the communication between two terminal devices through the PC5 direct communication path, if a terminal device moves from an area without cellular coverage to an area with cellular coverage, the two terminal devices can switch from the PC5 direct communication path to the Uu direct communication path for communication.
参考图2,以UE-1和UE-2分别表示两个终端设备,UE-1和UE-2可以通过已建立的PC5直接通信路径进行通信(步骤S201),在某些场景下,UE-1和UE-2可能会决定从PC5直接通信路径切换至Uu直接通信路径(步骤S202),UE-1和UE-2可以分别与5G无线接入网(Next Generation Radio Access Network,NG-RAN)、5G核心网(Core Network CN)、数据网(Data Network,DN)建立Uu直接通信路径(步骤S203),再释放PC5直接通信路径(步骤S204),从而完成从PC5直接通信路径至Uu直接通信路径的切换。其中,UE-1和UE-2均根据自身的路径切换能力确定是否允许从PC5直接通信路径到Uu直接通信路径的切换,在确定允许时执行路径切换过程,这种方式容易出现路径切换失败的问题。Referring to FIG. 2 , UE-1 and UE-2 represent two terminal devices respectively. UE-1 and UE-2 can communicate through the established PC5 direct communication path (step S201). In some scenarios, UE-1 and UE-2 may decide to switch from the PC5 direct communication path to the Uu direct communication path (step S202). UE-1 and UE-2 can respectively establish the Uu direct communication path with the 5G wireless access network (Next Generation Radio Access Network, NG-RAN), the 5G core network (Core Network CN), and the data network (Data Network, DN) (step S203), and then release the PC5 direct communication path (step S204), thereby completing the switch from the PC5 direct communication path to the Uu direct communication path. Among them, UE-1 and UE-2 both determine whether to allow the switch from the PC5 direct communication path to the Uu direct communication path based on their own path switching capabilities, and execute the path switching process when it is determined to be allowed. This method is prone to the problem of path switching failure.
本申请实施例针对上述问题,提出一种路径切换能力的交互方法及装置,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In view of the above problems, the embodiments of the present application provide a method and apparatus for interaction of path switching capabilities, which can interact path switching capabilities between two terminal devices, thereby reducing the occurrence of path switching failures.
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It can be understood that the communication system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
需要说明的是,本申请中任一个实施例提供的路径切换能力的交互方法可以单独执行,或是结合其他实施例中的可能的实现方法一起被执行,还可以结合相关技术中的任一种技术方案一起被执行。其中本申请实施例中提及的第一终端设备可以指通信系统的终端设备102中的一个,第二终端设备可以指通信系统的终端设备102中的另一个。It should be noted that the interactive method of the path switching capability provided in any embodiment of the present application can be executed alone, or in combination with possible implementation methods in other embodiments, or in combination with any technical solution in the relevant technology. The first terminal device mentioned in the embodiment of the present application can refer to one of the terminal devices 102 of the communication system, and the second terminal device can refer to another one of the terminal devices 102 of the communication system.
下面结合附图对本申请所提供的路径切换能力的交互方法及其装置进行详细地介绍。The path switching capability interaction method and device provided by the present application are described in detail below with reference to the accompanying drawings.
请参见图3,图3是本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法由第一终端设备执行。如图3所示,该方法可以包括但不限于如下步骤:Please refer to Figure 3, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The path switching capability interaction method is executed by a first terminal device. As shown in Figure 3, the method may include but is not limited to the following steps:
S301:向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力。S301: Send a direct communication establishment request message to a second terminal device, where the direct communication establishment request message is used to indicate a path switching capability of a first terminal device.
在本申请的实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, the direct communication establishment request message is sent by the first terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。其中,PC5直接通信路径或Uu直接通信路径用于传输所有或特定邻近业务ProSe的数据。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device. The PC5 direct communication path or the Uu direct communication path is used to transmit data of all or specific proximity services ProSe.
可选地,直接通信建立请求消息所指示的路径切换能力,是针对第一终端设备的所有或特定邻近业务ProSe的。即,针对所有邻近业务ProSe,第一终端设备使用相同的路径切换能力;或者针对特定邻近业务ProSe,第一终端设备使用相同的路径切换能力。Optionally, the path switching capability indicated by the direct communication establishment request message is for all or specific proximity services ProSe of the first terminal device. That is, the first terminal device uses the same path switching capability for all proximity services ProSe; or the first terminal device uses the same path switching capability for specific proximity services ProSe.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In the embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
其中,第一终端设备的路径切换能力,用于指示第一终端设备是否支持PC5直接通信,和/或,是否支持Uu直接通信。其中,PC5直接通信,可以理解为两个终端设备通过PC5接口直接通信。其中,Uu直接通信,可以理解为两个终端设备通过Uu接口进行通信,也即两个终端设备通过网络设备进行通信。The path switching capability of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. PC5 direct communication can be understood as two terminal devices communicating directly through the PC5 interface. Uu direct communication can be understood as two terminal devices communicating through the Uu interface, that is, two terminal devices communicating through a network device.
其中,第一终端设备的路径切换能力,可以是通过策略控制功能(Policy Control function,PCF)提供至第一终端设备的,也可以是在第一终端设备中预先配置的。其中,PCF,为统一的政策框架,提供控制平面功能的策略规则。The path switching capability of the first terminal device may be provided to the first terminal device through a policy control function (PCF), or may be pre-configured in the first terminal device. The PCF is a unified policy framework that provides policy rules for control plane functions.
可以理解的是,在第一终端设备支持PC5直接通信的情况下,第一终端设备的路径切换能力可以支持切换至PC5直接通信路径。在第一终端设备支持Uu直接通信的情况下,第一终端设备的路径切换能力可以支持切换至Uu直接通信路径。在第一终端设备支持PC5直接通信,且支持Uu直接通信的情况下,第一终端设备的路径切换能力可以支持在PC5直接通信路径和Uu直接通信之间切换。It can be understood that, when the first terminal device supports PC5 direct communication, the path switching capability of the first terminal device can support switching to the PC5 direct communication path. When the first terminal device supports Uu direct communication, the path switching capability of the first terminal device can support switching to the Uu direct communication path. When the first terminal device supports PC5 direct communication and supports Uu direct communication, the path switching capability of the first terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
S302:接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。S302: Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate a path switching capability of the second terminal device.
在本申请的实施例中,响应于第二终端设备接收到第一终端设备发送的直接通信建立请求消息,第二终端设备可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终 端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息所指示的路径切换能力,是针对第二终端设备的所有或特定邻近业务ProSe的。即,针对所有邻近业务ProSe,第二终端设备使用相同的路径切换能力;或者针对特定邻近业务ProSe,第二终端设备使用相同的路径切换能力。Optionally, the path switching capability indicated by the direct communication establishment response message is for all or specific proximity services ProSe of the second terminal device. That is, the second terminal device uses the same path switching capability for all proximity services ProSe; or the second terminal device uses the same path switching capability for specific proximity services ProSe.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
其中,第二终端设备的路径切换能力,用于指示第二终端设备是否支持PC5直接通信,和/或,是否支持Uu直接通信。The path switching capability of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
其中,第二终端设备的路径切换能力,可以是通过PCF提供至第二终端设备的,也可以是在第二终端设备中预先配置的。The path switching capability of the second terminal device may be provided to the second terminal device through the PCF, or may be pre-configured in the second terminal device.
可以理解的是,在第二终端设备支持PC5直接通信的情况下,第二终端设备的路径切换能力可以支持切换至PC5直接通信路径。在第二终端设备支持Uu直接通信的情况下,第二终端设备的路径切换能力可以支持切换至Uu直接通信路径。在第二终端设备支持PC5直接通信,且支持Uu直接通信的情况下,第二终端设备的路径切换能力可以支持在PC5直接通信路径和Uu直接通信之间切换。It can be understood that, when the second terminal device supports PC5 direct communication, the path switching capability of the second terminal device can support switching to the PC5 direct communication path. When the second terminal device supports Uu direct communication, the path switching capability of the second terminal device can support switching to the Uu direct communication path. When the second terminal device supports PC5 direct communication and supports Uu direct communication, the path switching capability of the second terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
需要说明的是,第一终端设备和第二终端设备在执行步骤S301和S302之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S301 and S302, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
由于第一终端设备与第二终端设备可以进行路径切换能力的交互,从而能够根据两个终端设备的路径切换能力,确定是否允许从一个直接通信路径到另一个直接通信路径,进而可以减少路径切换失败的情况发生。Since the first terminal device and the second terminal device can interact with each other in terms of path switching capabilities, it is possible to determine whether to allow switching from one direct communication path to another direct communication path based on the path switching capabilities of the two terminal devices, thereby reducing the occurrence of path switching failures.
本申请实施例提供的路径切换能力的交互方法中,第一终端设备可以向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,以及可以接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the first terminal device can send a direct communication establishment request message to the second terminal device, and the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and can receive a direct communication establishment response message sent by the second terminal device, and the direct communication establishment response message is used to indicate the path switching capability of the second terminal device. Thus, the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图4,图4是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第一终端设备执行。如图4所示,该方法可以包括但不限于如下步骤:Please refer to Figure 4, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 4, the method may include but is not limited to the following steps:
S401:向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。S401: Send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
在本申请实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In the embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
在一些实现方式中,可以在直接通信建立请求消息中携带第一终端设备的路径切换能力指示,通过 该路径切换能力指示,向第二终端设备指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。In some implementations, the path switching capability indication of the first terminal device can be carried in the direct communication establishment request message, and the path switching capability indication is used to indicate to the second terminal device whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
在一些实现方式中,第一终端设备的路径切换能力指示可以包括第一终端设备的切换指示,该切换指示用于指示第一终端设备是否支持从PC5直接通信路径切换至Uu直接通信路径,和/或是否支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, the path switching capability indication of the first terminal device may include a switching indication of the first terminal device, which is used to indicate whether the first terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
可以理解的是,在第一终端设备的切换指示,指示第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从PC5直接通信路径切换至Uu直接通信路径;在第一终端设备的切换指示,指示第一终端设备支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从Uu直接通信路径切换至PC5直接通信路径;在第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,且支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从PC5直接通信路径切换至Uu直接通信路径,且支持第一终端设备从Uu直接通信切换至PC5直接通信。It can be understood that, when the switching indication of the first terminal device indicates that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the first terminal device indicates that the first terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports the first terminal device switching from Uu direct communication to PC5 direct communication.
可以理解的是,本申请实例中,在原有直接通信建立请求消息中增加了第一终端设备的路径切换能力指示。例如,可以在直接通信建立请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用直接通信建立请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第二终端设备指示第一终端设备的路径切换能力,从而节约信令资源。It is understandable that, in the example of the present application, the path switching capability indication of the first terminal device is added to the original direct communication establishment request message. For example, the path switching capability indication can be added to the idle information field of the direct communication establishment request message. For another example, the designated information field of the direct communication establishment request message can be reused, and the path switching capability indication can be added to the designated information field. Thus, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
可选地,直接通信建立请求消息还可以包括以下信息中的至少一种:第一终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
S402:接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。S402: Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
在本申请的实施例中,响应于第二终端设备接收到第一终端设备发送的直接通信建立请求消息,第二终端设备可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现方式中,可以在直接通信建立响应消息中携带第二终端设备的路径切换能力指示,通过该路径切换能力指示,向第一终端设备指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。In some implementations, the path switching capability indication of the second terminal device may be carried in the direct communication establishment response message, and the path switching capability indication may be used to indicate to the first terminal device whether the second terminal device supports PC5 direct communication and/or Uu direct communication.
在一些实现方式中,第二终端设备的路径切换能力指示可以包括第二终端设备的切换指示,该切换指示用于指示第二终端设备是否支持从PC5直接通信路径切换至Uu直接通信路径,和/或是否支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, the path switching capability indication of the second terminal device may include a switching indication of the second terminal device, which is used to indicate whether the second terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
可以理解的是,在第二终端设备的切换指示,指示第二终端设备支持从PC5直接通信路径切换至 Uu直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从PC5直接通信路径切换至Uu直接通信路径;在第二终端设备的切换指示,指示第二终端设备支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从Uu直接通信路径切换至PC5直接通信路径;在第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,且支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从PC5直接通信路径切换至Uu直接通信路径,且支持第二终端设备从Uu直接通信路径切换至PC5直接通信路径。It can be understood that, when the switching indication of the second terminal device indicates that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the second terminal device indicates that the second terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path.
可以理解的是,本申请实例中,在原有直接通信建立响应消息中增加了路径切换能力指示。例如,可以在直接通信建立响应消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用直接通信建立响应消息的指定信息域,在该指定信息域中增加该路径切换能力指示。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第一终端设备指示第二终端设备的路径切换能力,从而节约信令资源。It is understandable that, in the example of the present application, a path switching capability indication is added to the original direct communication establishment response message. For example, the path switching capability indication can be added to the idle information field of the direct communication establishment response message. For another example, the designated information field of the direct communication establishment response message can be reused, and the path switching capability indication can be added to the designated information field. Thus, the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
可选地,第二终端设备发送的直接通信建立响应消息还可以包括以下信息中的至少一种:第二终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
在本申请的实施例中,第一终端设备接收到直接通信建立响应消息后,可以根据第二终端设备的路径切换能力指示,确定第二终端设备支持PC5直接通信,和/或,支持Uu直接通信。也就是说,第一终端设备可以根据直接通信建立响应消息,确定第二终端设备可以支持PC5直接通信,不支持Uu直接通信,或者不支持PC5直接通信,但支持Uu直接通信,或者,支持PC5直接通信且支持Uu直接通信;或者,不支持PC5直接通信,且不支持Uu直接通信。In an embodiment of the present application, after receiving the direct communication establishment response message, the first terminal device can determine that the second terminal device supports PC5 direct communication and/or supports Uu direct communication according to the path switching capability indication of the second terminal device. That is, the first terminal device can determine that the second terminal device can support PC5 direct communication but not support Uu direct communication, or does not support PC5 direct communication but supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; or does not support PC5 direct communication and does not support Uu direct communication according to the direct communication establishment response message.
在本申请的实施例中,第一终端设备接收到直接通信建立响应消息后,可以根据第二终端设备的路径切换能力指示包括的切换指示,确定第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径。也就是说,第一终端设备可以根据直接通信建立响应消息,确定第二终端设备可以支持从PC5直接通信路径切换至Uu直接通信路径,不支持从Uu直接通信路径切换至PC5直接通信路径,或者不支持从PC5直接通信路径切换至Uu直接通信路径,但支持从Uu直接通信路径切换至PC5直接通信路径,或者,支持从PC5直接通信路径切换至Uu直接通信路径,且支持从Uu直接通信路径切换至PC5直接通信路径;或者,不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In an embodiment of the present application, after receiving the direct communication establishment response message, the first terminal device can determine that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path, according to the switching indication included in the path switching capability indication of the second terminal device. That is, the first terminal device can determine, according to the direct communication establishment response message, that the second terminal device can support switching from the PC5 direct communication path to the Uu direct communication path, does not support switching from the Uu direct communication path to the PC5 direct communication path, or does not support switching from the PC5 direct communication path to the Uu direct communication path, but supports switching from the Uu direct communication path to the PC5 direct communication path, or supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path; or does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以包括第一指示信息和/或第二指示信息。其中,第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。As a possible implementation, the path switching capability indication of the first terminal device and the second terminal device may include first indication information and/or second indication information. The first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,路径切换能力指示包括第一指示信息,根据该第一指示信息确定对应终端设备支持PC5直接通信,或者不支持PC5直接通信。例如,在路径切换能力指示包括的第一指示信息的取值“1”时,可以确定对应终端设备支持PC5直接通信,而在路径切换能力指示包括的第一指示信息的取值“0”时,可以确定对应终端设备不支持PC5直接通信。在该实现方式中,由于路径切换能力指示中仅包括第一指示信息,可以默认对应的终端设备不支持Uu直接通信。Optionally, the path switching capability indication includes first indication information, and it is determined according to the first indication information whether the corresponding terminal device supports PC5 direct communication or does not support PC5 direct communication. For example, when the value of the first indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports PC5 direct communication, and when the value of the first indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support PC5 direct communication. In this implementation, since the path switching capability indication only includes the first indication information, it can be assumed that the corresponding terminal device does not support Uu direct communication.
可选地,路径切换能力指示包括第二指示信息,根据该第二指示信息确定对应终端设备支持Uu直接通信,或者不支持Uu直接通信。例如,在路径切换能力指示包括的第二指示信息的取值“1”时,可 以确定对应终端设备支持Uu直接通信,而在路径切换能力指示包括的第二指示信息的取值“0”时,可以确定对应终端设备不支持Uu直接通信。在该实现方式中,由于路径切换能力指示中仅包括第二指示信息,可以默认对应的终端设备不支持PC5直接通信。Optionally, the path switching capability indication includes second indication information, and it is determined according to the second indication information whether the corresponding terminal device supports Uu direct communication or does not support Uu direct communication. For example, when the value of the second indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports Uu direct communication, and when the value of the second indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support Uu direct communication. In this implementation, since the path switching capability indication only includes the second indication information, it can be assumed that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第一指示信息和第二指示信息,根据第一指示信息确定对应终端设备是否支持PC5直接通信,根据第二指示信息确定对应终端设备是否支持Uu直接通信。例如,路径切换能力指示为“11”,可以确定对应终端设备支持PC5直接通信且支持Uu直接通信;路径切换能力指示为“10”,可以确定对应终端设备支持PC5直接通信且不支持Uu直接通信;路径切换能力指示为“01”,可以确定对应终端设备不支持PC5直接通信且支持Uu直接通信;路径切换能力指示为“00”,可以确定对应终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, the path switching capability indication includes first indication information and second indication information, and whether the corresponding terminal device supports PC5 direct communication is determined according to the first indication information, and whether the corresponding terminal device supports Uu direct communication is determined according to the second indication information. For example, if the path switching capability indication is "11", it can be determined that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "10", it can be determined that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; if the path switching capability indication is "01", it can be determined that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "00", it can be determined that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
作为另一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,可以包括一个索引值,该索引值可以指示对应终端设备的PC5直接通信和Uu直接通信是否支持的组合情况。例如,索引值1可以指示对应终端设备支持PC5直接通信且支持Uu直接通信;索引值2可以指示对应终端设备支持PC5直接通信且不支持Uu直接通信;索引值3可以指示对应终端设备不支持PC5直接通信且支持Uu直接通信;索引值4可以指示对应终端设备不支持PC5直接通信且不支持Uu直接通信。第一终端设备可以基于直接通信建立响应消息中携带的索引值,确定第二终端设备的路径切换能力。As another possible implementation, the path switching capability indication of the first terminal device and the second terminal device may include an index value, which may indicate whether the corresponding terminal device supports a combination of PC5 direct communication and Uu direct communication. For example, index value 1 may indicate that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; index value 2 may indicate that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; index value 3 may indicate that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; index value 4 may indicate that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication. The first terminal device may determine the path switching capability of the second terminal device based on the index value carried in the direct communication establishment response message.
需要说明的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It should be noted that the above schematic description of the path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
需要说明的是,第一终端设备和第二终端设备在执行步骤S401和S402之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S401 and S402, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第一终端设备可以向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信,第一终端设备还可以接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the first terminal device can send a direct communication establishment request message to the second terminal device, the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. The first terminal device can also receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, and the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. As a result, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图5,图5是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第一终端设备执行。如图5所示,该方法可以包括但不限于如下步骤:Please refer to Figure 5, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 5, the method may include but is not limited to the following steps:
S501:向第二终端设备发送直接通信建立请求消息,其中,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。S501: Send a direct communication establishment request message to the second terminal device, wherein when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
在本申请实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的 通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also can be used to indicate the path switching capability of the first terminal device to the second terminal device.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,即向第二终端设备指示第一终端设备支持PC5直接通信,或者支持Uu直接通信,或者支持PC5直接通信且支持Uu直接通信;通过在直接通信建立请求消息未包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第二终端设备指示第一终端设备的路径切换能力,从而节约信令资源。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the second terminal device that the first terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,且在第一终端设备的路径切换能力指示中包括第一终端设备的切换指示,向第二终端设备指示第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,且在第一终端设备的路径切换能力指示中未包括第一终端设备的切换指示,向第二终端设备指示第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and not including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立请求消息未包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
可选地,直接通信建立请求消息还可以包括以下信息中的至少一种:第一终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
S502:接收第二终端设备发送的直接通信建立响应消息,其中,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。S502: Receive a direct communication establishment response message sent by the second terminal device, wherein when the direct communication establishment response message includes a path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
在本申请的实施例中,响应于第二终端设备接收到第一终端设备发送的直接通信建立请求消息,第二终端设备可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, in response to the second terminal device receiving a direct communication establishment request message sent by the first terminal device, the second terminal device may send a direct communication establishment response message to the first terminal device, and accordingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,即向第一终端设备指示第二终端设备支持PC5直接通信,或者支持Uu直接通信,或者支持PC5直接通信且支持Uu直接通信;通过在直接通信建立响应消息未包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。由此,可以在不增加第一终端设备与第二终端 设备之间的交互信令的情况下,实现向第一终端设备指示第二终端设备的路径切换能力,从而节约信令资源。In some implementations, the path switching capability indication of the second terminal device can be included in the direct communication establishment response message to indicate to the first terminal device that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the first terminal device that the second terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, to indicate to the first terminal device that the second terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,且在第二终端设备的路径切换能力指示中包括第二终端设备的切换指示,向第一终端设备指示第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,且在第二终端设备的路径切换能力指示中未包括第二终端设备的切换指示,向第一终端设备指示第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and not including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立响应消息未包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
可选地,第二终端设备发送的直接通信建立响应消息,还可以包括以下信息中的至少一种:第二终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
在本申请的实施例中,第一终端设备接收到直接通信建立响应消息后,可以根据直接通信建立响应消息中是否包括第二终端设备的路径切换能力指示,确定第二终端设备的路径切换能力。其中,在直接通信建立响应消息中包括第二终端设备的路径切换能力指示的情况下,可以确定第二终端设备的路径切换能力为:第二终端设备支持PC5直接通信,或者,第二终端设备支持Uu直接通信,或者第二终端设备支持PC5直接通信且支持Uu直接通信;在直接通信建立响应消息中未包括第二终端设备的路径切换能力指示的情况下,可以确定第二终端设备的路径切换能力为:第二终端设备不支持PC5直接通信,且不支持Uu直接通信。In an embodiment of the present application, after the first terminal device receives the direct communication establishment response message, the path switching capability of the second terminal device can be determined according to whether the direct communication establishment response message includes the path switching capability indication of the second terminal device. Wherein, in the case where the direct communication establishment response message includes the path switching capability indication of the second terminal device, the path switching capability of the second terminal device can be determined as follows: the second terminal device supports PC5 direct communication, or the second terminal device supports Uu direct communication, or the second terminal device supports PC5 direct communication and supports Uu direct communication; in the case where the direct communication establishment response message does not include the path switching capability indication of the second terminal device, the path switching capability of the second terminal device can be determined as follows: the second terminal device does not support PC5 direct communication, and does not support Uu direct communication.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以在包括第三指示信息时,用于指示对应终端设备支持PC5直接通信,在未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。As a possible implementation method, the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports PC5 direct communication when the third indication information is included, and can be used to indicate that the corresponding terminal device does not support PC5 direct communication when the third indication information is not included.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以在包括第四指示信息时,用于指示对应终端设备支持Uu直接通信,在未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。As a possible implementation method, the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports Uu direct communication when the fourth indication information is included, and can be used to indicate that the corresponding terminal device does not support Uu direct communication when the fourth indication information is not included.
可选地,路径切换能力指示包括第三指示信息、未包括第四指示信息,可以确定对应终端设备支持PC5直接通信,不支持Uu直接通信。可选地,路径切换能力指示未包括第三指示信息、包括第四指示信息,可以确定对应终端设备不支持PC5直接通信,支持Uu直接通信。可选地,路径切换能力指示包括第三指示信息、包括第四指示信息,可以确定对应终端设备支持PC5直接通信,且支持Uu直接通信。可选地,路径切换能力指示未包括第三指示信息、未包括第四指示信息,可以确定对应终端设备不支持PC5直接通信,且不支持Uu直接通信。Optionally, the path switching capability indication includes the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication but does not support Uu direct communication. Optionally, the path switching capability indication does not include the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication but supports Uu direct communication. Optionally, the path switching capability indication includes the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication. Optionally, the path switching capability indication does not include the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
需要说明的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It should be noted that the above schematic description of the path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
需要说明的是,第一终端设备和第二终端设备在执行步骤S501和S502之前,第一终端设备和第 二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S501 and S502, both the first terminal device and the second terminal device need to register with the network to perform network authentication and authorization for the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第一终端设备可以向第二终端设备发送直接通信建立请求消息,其中,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信,第一终端设备还可以接收第二终端设备发送的直接通信建立响应消息,其中,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in an embodiment of the present application, a first terminal device may send a direct communication establishment request message to a second terminal device, wherein when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. The first terminal device may also receive a direct communication establishment response message sent by the second terminal device, wherein when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, and when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication. Thus, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图6,图6是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第一终端设备执行。如图6所示,该方法可以包括但不限于如下步骤:Please refer to Figure 6, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a first terminal device. As shown in Figure 6, the method may include but is not limited to the following steps:
S601:向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,其中,直接通信建立请求消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。S601: Send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
S602:接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,其中,直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。S602: Receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
关于步骤S601~S602的具体介绍,可参见上述实施例中相关内容如步骤S301~S302或步骤S401~S402或步骤S501~S502的记载,此处不再赘述。For a detailed description of steps S601 to S602, reference may be made to the relevant contents in the above embodiments, such as the description of steps S301 to S302 or steps S401 to S402 or steps S501 to S502, which will not be repeated here.
S603:根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。S603: Determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
在本申请的实施例中,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。在第一终端设备接收到直接通信建立响应消息后,就可以开始与第二终端设备建立PC5直接通信路径。在第一终端设备和第二终端设备建立PC5直接通信路径后,就可以与第二终端设备之间进行PC5直接通信。In the embodiment of the present application, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device. After the first terminal device receives the direct communication establishment response message, it can start to establish a PC5 direct communication path with the second terminal device. After the first terminal device and the second terminal device establish the PC5 direct communication path, PC5 direct communication can be performed with the second terminal device.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,第一终端设备可以实时检测PC5直接通信路径的信号质量,在检测到PC5直接通信路径的信号质量未满足信号质量条件时,为了保证第一终端设备和第二终端设备之间的通信质量,第一终端设备可以尝试从PC5直接通信路径向Uu直接通信路径切换。In some implementations, during the process of communication between the first terminal device and the second terminal device through the PC5 direct communication path, the first terminal device can detect the signal quality of the PC5 direct communication path in real time. When it is detected that the signal quality of the PC5 direct communication path does not meet the signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the first terminal device can attempt to switch from the PC5 direct communication path to the Uu direct communication path.
在一些实现方式中,第一终端设备可以主动中断与第二终端设备之间的PC5直接通信路径,在此种情况下,第一终端设备也需要从PC5直接通信路径切换至Uu直接通信路径。In some implementations, the first terminal device may actively interrupt the PC5 direct communication path between the first terminal device and the second terminal device. In this case, the first terminal device also needs to switch from the PC5 direct communication path to the Uu direct communication path.
本申请的实施例中,在从PC5直接通信路径切换至Uu直接通信路径之前,第一终端设备可以根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。In an embodiment of the present application, before switching from the PC5 direct communication path to the Uu direct communication path, the first terminal device may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device respectively.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信时,确定允许从PC5直接通信路 径切换至Uu直接通信路径;而在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。In some implementations, during communication between a first terminal device and a second terminal device via a PC5 direct communication path, when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信,且第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,且第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径时,确定允许从PC5直接通信路径切换至Uu直接通信路径;而在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信,或者第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,或者,第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。In some implementations, during communication between a first terminal device and a second terminal device via a PC5 direct communication path, when the first terminal device supports Uu direct communication, and the second terminal device supports Uu direct communication, and the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, or the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, or the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
在一些实现方式中,在确定不允许从PC5直接通信路径切换至Uu直接通信路径的情况下,不进行路径切换,可以在第一终端设备进行提醒。在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第一终端设备可以执行以下步骤:创建协议数据单元(Protocol Data Unit,PDU)会话用于建立Uu直接通信路径;向第二终端设备发送第一切换通知消息,用于通知第二终端设备创建PDU会话,用以建立Uu直接通信路径。In some implementations, when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, the path switching is not performed, and a reminder may be given on the first terminal device. When it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the first terminal device may perform the following steps: creating a protocol data unit (PDU) session for establishing the Uu direct communication path; and sending a first switching notification message to the second terminal device to notify the second terminal device to create a PDU session for establishing the Uu direct communication path.
可以理解的是,Uu直接通信路径为第一终端设备和第二终端设备通过网络设备进行通信。第一终端设备和第二终端设备需要分别与网络设备建立一部分Uu直接通信路径,网络设备将第一终端设备对应的Uu直接通信路径与第二终端设备对应的Uu直接通信路径进行对接,形成第一终端设备与第二终端设备之间的Uu直接通信路径。It can be understood that the Uu direct communication path is for the first terminal device and the second terminal device to communicate through the network device. The first terminal device and the second terminal device need to establish a part of the Uu direct communication path with the network device respectively, and the network device connects the Uu direct communication path corresponding to the first terminal device with the Uu direct communication path corresponding to the second terminal device to form a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,第一终端设备可以创建PDU会话,与网络设备进行PDU会话的过程,在进行PDU会话的过程中建立第一终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第一终端设备通过无线接入网(Radio Access Network,RAN)与核心网的用户面功能(User Plane Function,UPF)之间建立的通信路径,可以标记为UE1-RAN-UPF。In an embodiment of the present application, the first terminal device can create a PDU session and conduct a PDU session with a network device. During the process of conducting the PDU session, a Uu direct communication path is established between the first terminal device and the network device. This part of the Uu direct communication path is a communication path established between the first terminal device through the radio access network (Radio Access Network, RAN) and the user plane function (User Plane Function, UPF) of the core network, which can be marked as UE1-RAN-UPF.
本申请实施例中,在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第一终端设备还需要向第二终端设备发送第一切换通知消息,该第一切换通知消息指示第二终端设备与网络设备创建PDU会话,用以进行Uu直接通信路径的建立。相应地,第二终端设备根据第一切换通知消息,可以创建PDU会话,与网络设备进行PDU会话的过程,在进行PDU会话的过程中建立第二终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第二终端设备通过RAN与核心网的UPF(UPF2)之间建立的通信路径,可以标记为UE2-RAN-UPF(UPF2)。In the embodiment of the present application, when it is determined that the switch from the PC5 direct communication path to the Uu direct communication path is allowed, the first terminal device also needs to send a first switching notification message to the second terminal device, and the first switching notification message instructs the second terminal device to create a PDU session with the network device to establish the Uu direct communication path. Accordingly, the second terminal device can create a PDU session according to the first switching notification message, and conduct a PDU session with the network device. In the process of conducting the PDU session, a Uu direct communication path is established between the second terminal device and the network device. This part of the Uu direct communication path is a communication path established between the second terminal device and the UPF (UPF2) of the core network through the RAN, which can be marked as UE2-RAN-UPF (UPF2).
在第一终端设备和第二终端设备完成Uu直接通信路径的建立后,可以将UE1-RAN-UPF和UE2-RAN-UPF进行对接,形成第一终端设备与第二终端设备之间的Uu直接通信路径:UE1-RAN-UPF(URF2)-RAN-UE2。After the first terminal device and the second terminal device complete the establishment of the Uu direct communication path, UE1-RAN-UPF and UE2-RAN-UPF can be connected to form a Uu direct communication path between the first terminal device and the second terminal device: UE1-RAN-UPF (URF2) -RAN-UE2.
在Uu直接通信路径创建完成后,第一终端设备从PC5直接通信路径上切换到Uu直接通信路径上,与第二终端设备通过Uu直接通信路径继续通信。After the Uu direct communication path is created, the first terminal device switches from the PC5 direct communication path to the Uu direct communication path, and continues to communicate with the second terminal device through the Uu direct communication path.
可以理解的是,第一终端设备与第二终端设备间从PC5直接通信路径切换至Uu直接通信路径后,该PC5直接通信路径可以进行释放,以节省资源。It can be understood that after the first terminal device and the second terminal device switch from the PC5 direct communication path to the Uu direct communication path, the PC5 direct communication path can be released to save resources.
在一些实现方式中,在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第二终端设备可以执行以下步骤:创建协议数据单元(Protocol Data Unit,PDU)会话用于建立Uu直接通信路 径;向第一终端设备发送第二切换通知消息,用于通知第一终端设备创建PDU会话,用以建立Uu直接通信路径。相应的,第一终端设备可以接收在接收到第二终端设备的第二切换通知消息时,创建PDU会话用于建立Uu直接通信路径。In some implementations, when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the second terminal device may perform the following steps: creating a protocol data unit (PDU) session for establishing the Uu direct communication path; sending a second switching notification message to the first terminal device to notify the first terminal device to create a PDU session for establishing the Uu direct communication path. Accordingly, the first terminal device may receive the second switching notification message from the second terminal device and create a PDU session for establishing the Uu direct communication path.
参考图7,以UE-1表示第一终端设备,以UE-2表示第二终端设备,首先需要进行服务授权与供应(步骤S701),比如通过PCF提供UE-1的路径切换能力和UE-2的路径切换能力,或者在UE-1中预先配置UE-1的路径切换能力,在UE-2中预先配置UE-2的路径切换能力。UE-1与UE-2需要建立通信连接时,UE-1可以向UE-2发送直接通信建立请求消息(步骤S702),直接通信建立请求消息用于指示第一终端设备的路径切换能力,UE-2响应于接收到UE-1发送的直接通信建立请求消息,可以向UE-1发送直接通信建立响应消息,相应地,UE-1可以接收到UE-2发送的直接通信建立响应消息(步骤S703),以建立UE-1与UE-2之间的PC5直接通信连接。在UE-1和UE-2建立PC5直接通信路径后,UE-1就可以与UE-2之间进行PC5直接通信。Referring to FIG. 7 , UE-1 represents the first terminal device, and UE-2 represents the second terminal device. First, service authorization and provision (step S701) are required, such as providing the path switching capability of UE-1 and the path switching capability of UE-2 through PCF, or pre-configuring the path switching capability of UE-1 in UE-1 and pre-configuring the path switching capability of UE-2 in UE-2. When UE-1 and UE-2 need to establish a communication connection, UE-1 can send a direct communication establishment request message to UE-2 (step S702), and the direct communication establishment request message is used to indicate the path switching capability of the first terminal device. In response to receiving the direct communication establishment request message sent by UE-1, UE-2 can send a direct communication establishment response message to UE-1. Accordingly, UE-1 can receive the direct communication establishment response message sent by UE-2 (step S703) to establish a PC5 direct communication connection between UE-1 and UE-2. After UE-1 and UE-2 establish a PC5 direct communication path, UE-1 can perform PC5 direct communication with UE-2.
在UE-1与UE-2通过PC5直接通信路径进行通信的过程中,UE-1或UE-2可以决定是否执行从PC5直接通信路径切换至Uu直接通信路径(步骤S704)。在从PC5直接通信路径切换至Uu直接通信路径之前,UE-1可以根据UE-1和UE-2各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,可以通过上述方式建立Uu直接通信路径(步骤S705)。During the communication between UE-1 and UE-2 through the PC5 direct communication path, UE-1 or UE-2 may decide whether to switch from the PC5 direct communication path to the Uu direct communication path (step S704). Before switching from the PC5 direct communication path to the Uu direct communication path, UE-1 may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of UE-1 and UE-2 respectively. In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the Uu direct communication path may be established in the above manner (step S705).
需要说明的是,在第一终端设备和第二终端设备通过Uu直接通信路径进行通信的过程中,第一终端设备和/或第二终端设备可以根据需要,决定是否从Uu直接通信路径切换至PC5直接通信路径。It should be noted that, during the communication between the first terminal device and the second terminal device via the Uu direct communication path, the first terminal device and/or the second terminal device may decide whether to switch from the Uu direct communication path to the PC5 direct communication path as needed.
本申请的实施例中,在从Uu直接通信路径切换至PC5直接通信路径之前,第一终端设备可以根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从Uu直接通信路径切换至PC5直接通信路径。具体过程与根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径的过程类似,此处不再赘述。在确定不允许从Uu直接通信路径切换至PC5直接通信路径的情况下,不进行路径切换,可以在第一终端设备进行提醒。在确定允许从Uu直接通信路径切换至PC5直接通信路径的情况下,第一终端设备和第二终端设备可以进行PC5直接通信路径的建立。在PC5直接通信路径创建完成后,第一终端设备从Uu直接通信路径上切换到PC5直接通信路径上,与第二终端设备通过PC5直接通信路径继续通信。In an embodiment of the present application, before switching from the Uu direct communication path to the PC5 direct communication path, the first terminal device may determine whether to allow switching from the Uu direct communication path to the PC5 direct communication path based on the path switching capabilities of the first terminal device and the second terminal device. The specific process is similar to the process of determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device, and will not be repeated here. In the case where it is determined that switching from the Uu direct communication path to the PC5 direct communication path is not allowed, the path switching is not performed, and a reminder may be made on the first terminal device. In the case where it is determined that switching from the Uu direct communication path to the PC5 direct communication path is allowed, the first terminal device and the second terminal device may establish a PC5 direct communication path. After the PC5 direct communication path is created, the first terminal device switches from the Uu direct communication path to the PC5 direct communication path, and continues to communicate with the second terminal device through the PC5 direct communication path.
需要说明的是,第一终端设备和第二终端设备在执行步骤S601和S602之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S601 and S602, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第一终端设备可以向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,其中,直接通信建立请求消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径,接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,其中,直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径,根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the first terminal device can send a direct communication establishment request message to the second terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device. In this way, the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图8,图8是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切 换能力的交互方法由第二终端设备执行。如图8所示,该方法可以包括但不限于如下步骤:Please refer to Figure 8, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities is executed by a second terminal device. As shown in Figure 8, the method may include but is not limited to the following steps:
S801:接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力。S801: Receive a direct communication establishment request message sent by a first terminal device, where the direct communication establishment request message is used to indicate a path switching capability of the first terminal device.
在本申请的实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接,相应的,第二终端设备可以接收到第一终端发送的直接通信建立请求消息。In an embodiment of the present application, a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。其中,PC5直接通信路径或Uu直接通信路径用于传输所有或特定邻近业务ProSe的数据。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device. The PC5 direct communication path or the Uu direct communication path is used to transmit data of all or specific proximity services ProSe.
可选地,直接通信建立请求消息所指示的路径切换能力,是针对第一终端设备的所有或特定邻近业务ProSe的。即,针对所有邻近业务ProSe,第一终端设备使用相同的路径切换能力;或者针对特定邻近业务ProSe,第一终端设备使用相同的路径切换能力。Optionally, the path switching capability indicated by the direct communication establishment request message is for all or specific proximity services ProSe of the first terminal device. That is, the first terminal device uses the same path switching capability for all proximity services ProSe; or the first terminal device uses the same path switching capability for specific proximity services ProSe.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In the embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
其中,第一终端设备的路径切换能力,用于指示第一终端设备是否支持PC5直接通信,和/或,是否支持Uu直接通信。其中,PC5直接通信,可以理解为两个终端设备通过PC5接口直接通信。其中,Uu直接通信,可以理解为两个终端设备通过Uu接口进行通信,也即两个终端设备通过网络设备进行通信。The path switching capability of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. PC5 direct communication can be understood as two terminal devices communicating directly through the PC5 interface. Uu direct communication can be understood as two terminal devices communicating through the Uu interface, that is, two terminal devices communicating through a network device.
其中,第一终端设备的路径切换能力,可以是通过PCF提供至第一终端设备的,也可以是在第一终端设备中预先配置的。The path switching capability of the first terminal device may be provided to the first terminal device through the PCF, or may be pre-configured in the first terminal device.
可以理解的是,在第一终端设备支持PC5直接通信的情况下,第一终端设备的路径切换能力可以支持切换至PC5直接通信路径。在第一终端设备支持Uu直接通信的情况下,第一终端设备的路径切换能力可以支持切换至Uu直接通信路径。在第一终端设备支持PC5直接通信,且支持Uu直接通信的情况下,第一终端设备的路径切换能力可以支持在PC5直接通信路径和Uu直接通信之间切换。It can be understood that, when the first terminal device supports PC5 direct communication, the path switching capability of the first terminal device can support switching to the PC5 direct communication path. When the first terminal device supports Uu direct communication, the path switching capability of the first terminal device can support switching to the Uu direct communication path. When the first terminal device supports PC5 direct communication and supports Uu direct communication, the path switching capability of the first terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
S802:向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。S802: Send a direct communication establishment response message to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
在本申请的实施例中,第二终端设备响应于接收到第一终端设备发送的直接通信建立请求消息,可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device. Correspondingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息所指示的路径切换能力,是针对第二终端设备的所有或特定邻近业务ProSe的。即,针对所有邻近业务ProSe,第二终端设备使用相同的路径切换能力;或者针对特定邻近业务ProSe,第二终端设备使用相同的路径切换能力。Optionally, the path switching capability indicated by the direct communication establishment response message is for all or specific proximity services ProSe of the second terminal device. That is, the second terminal device uses the same path switching capability for all proximity services ProSe; or the second terminal device uses the same path switching capability for specific proximity services ProSe.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
其中,第二终端设备的路径切换能力,用于指示第二终端设备是否支持PC5直接通信,和/或,是否支持Uu直接通信。The path switching capability of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
其中,第二终端设备的路径切换能力,可以是通过PCF提供至第二终端设备的,也可以是在第二终端设备中预先配置的。The path switching capability of the second terminal device may be provided to the second terminal device through the PCF, or may be pre-configured in the second terminal device.
可以理解的是,在第二终端设备支持PC5直接通信的情况下,第二终端设备的路径切换能力可以支持切换至PC5直接通信路径。在第二终端设备支持Uu直接通信的情况下,第二终端设备的路径切换能力可以支持切换至Uu直接通信路径。在第二终端设备支持PC5直接通信,且支持Uu直接通信的情况下,第二终端设备的路径切换能力可以支持在PC5直接通信路径和Uu直接通信之间切换。It can be understood that, when the second terminal device supports PC5 direct communication, the path switching capability of the second terminal device can support switching to the PC5 direct communication path. When the second terminal device supports Uu direct communication, the path switching capability of the second terminal device can support switching to the Uu direct communication path. When the second terminal device supports PC5 direct communication and supports Uu direct communication, the path switching capability of the second terminal device can support switching between the PC5 direct communication path and the Uu direct communication.
需要说明的是,第一终端设备和第二终端设备在执行步骤S801和S802之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S801 and S802, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
由于第一终端设备与第二终端设备可以进行路径切换能力的交互,从而能够根据两个终端设备的路径切换能力,确定是否允许从一个直接通信路径到另一个直接通信路径,进而可以减少路径切换失败的情况发生。Since the first terminal device and the second terminal device can interact with each other in terms of path switching capabilities, it is possible to determine whether to allow switching from one direct communication path to another direct communication path based on the path switching capabilities of the two terminal devices, thereby reducing the occurrence of path switching failures.
本申请实施例提供的路径切换能力的交互方法中,第二终端设备可以接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,以及向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device. As a result, the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图9,图9是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第二终端设备执行。如图9所示,该方法可以包括但不限于如下步骤:Please refer to Figure 9, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 9, the method may include but is not limited to the following steps:
步骤S901:接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Step S901: Receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message including a path switching capability indication of the first terminal device, the path switching capability indication of the first terminal device being used to indicate whether the first terminal device supports PC5 direct communication and/or supports Uu direct communication.
在本申请实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接,相应的,第二终端设备可以接收到第一终端发送的直接通信建立请求消息。In an embodiment of the present application, a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In the embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
在一些实现方式中,可以在直接通信建立请求消息中携带第一终端设备的路径切换能力指示,通过该路径切换能力指示,向第二终端设备指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。In some implementations, the path switching capability indication of the first terminal device may be carried in the direct communication establishment request message, and the path switching capability indication may be used to indicate to the second terminal device whether the first terminal device supports PC5 direct communication and/or Uu direct communication.
在一些实现方式中,第一终端设备的路径切换能力指示可以包括第一终端设备的切换指示,该切换指示用于指示第一终端设备是否支持从PC5直接通信路径切换至Uu直接通信路径,和/或是否支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, the path switching capability indication of the first terminal device may include a switching indication of the first terminal device, which is used to indicate whether the first terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
可以理解的是,在第一终端设备的切换指示,指示第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从PC5直接通信路径切换至Uu直接通信路径;在第一终端设备的切换指示,指示第一终端设备支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从Uu直接通信路径切换至PC5直接通信路径;在第一终端设备支持从PC5直接通信路径切换至Uu直接通 信路径,且支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第一终端设备的路径切换能力支持第一终端设备从PC5直接通信路径切换至Uu直接通信路径,且支持第一终端设备从Uu直接通信切换至PC5直接通信。It can be understood that, when the switching indication of the first terminal device indicates that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the first terminal device indicates that the first terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the first terminal device supports the first terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports the first terminal device switching from Uu direct communication to PC5 direct communication.
可以理解的是,本申请实例中,在原有直接通信建立请求消息中增加了第一终端设备的路径切换能力指示。例如,可以在直接通信建立请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用直接通信建立请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第二终端设备指示第一终端设备的路径切换能力,从而节约信令资源。It is understandable that, in the example of the present application, the path switching capability indication of the first terminal device is added to the original direct communication establishment request message. For example, the path switching capability indication can be added to the idle information field of the direct communication establishment request message. For another example, the designated information field of the direct communication establishment request message can be reused, and the path switching capability indication can be added to the designated information field. Thus, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
可选地,直接通信建立请求消息还可以包括以下信息中的至少一种:第一终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
在本申请的实施例中,第二终端设备接收到直接通信建立请求消息后,可以根据第一终端设备的路径切换能力指示,确定第一终端设备支持PC5直接通信,和/或,支持Uu直接通信。也就是说,第二终端设备可以根据直接通信建立请求消息,确定第一终端设备可以支持PC5直接通信,不支持Uu直接通信,或者不支持PC5直接通信,但支持Uu直接通信,或者,支持PC5直接通信且支持Uu直接通信;或者,不支持PC5直接通信,且不支持Uu直接通信。In an embodiment of the present application, after receiving the direct communication establishment request message, the second terminal device can determine that the first terminal device supports PC5 direct communication and/or supports Uu direct communication according to the path switching capability indication of the first terminal device. That is, the second terminal device can determine that the first terminal device can support PC5 direct communication but not support Uu direct communication, or does not support PC5 direct communication but supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; or does not support PC5 direct communication and does not support Uu direct communication according to the direct communication establishment request message.
在本申请的实施例中,第二终端设备接收到直接通信建立请求消息后,可以根据第一终端设备的路径切换能力指示包括的切换指示,确定第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径。也就是说,第二终端设备可以根据直接通信建立请求消息,确定第一终端设备可以支持从PC5直接通信路径切换至Uu直接通信路径,不支持从Uu直接通信路径切换至PC5直接通信路径,或者不支持从PC5直接通信路径切换至Uu直接通信路径,但支持从Uu直接通信路径切换至PC5直接通信路径,或者,支持从PC5直接通信路径切换至Uu直接通信路径,且支持从Uu直接通信路径切换至PC5直接通信路径;或者,不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In an embodiment of the present application, after receiving the direct communication establishment request message, the second terminal device can determine that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path, according to the switching indication included in the path switching capability indication of the first terminal device. That is, the second terminal device can determine, according to the direct communication establishment request message, that the first terminal device can support switching from the PC5 direct communication path to the Uu direct communication path, but does not support switching from the Uu direct communication path to the PC5 direct communication path, or does not support switching from the PC5 direct communication path to the Uu direct communication path, but supports switching from the Uu direct communication path to the PC5 direct communication path, or supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path; or does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
步骤S902:向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Step S902: Send a direct communication establishment response message to the first terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
在本申请的实施例中,第二终端设备响应于接收到第一终端设备发送的直接通信建立请求消息,可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device. Correspondingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现方式中,可以在直接通信建立响应消息中携带第二终端设备的路径切换能力指示,通过该路径切换能力指示,向第一终端设备指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。In some implementations, the path switching capability indication of the second terminal device may be carried in the direct communication establishment response message, and the path switching capability indication may be used to indicate to the first terminal device whether the second terminal device supports PC5 direct communication and/or Uu direct communication.
在一些实现方式中,第二终端设备的路径切换能力指示可以包括第二终端设备的切换指示,该切换 指示用于指示第二终端设备是否支持从PC5直接通信路径切换至Uu直接通信路径,和/或是否支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, the path switching capability indication of the second terminal device may include a switching indication of the second terminal device, which is used to indicate whether the second terminal device supports switching from a PC5 direct communication path to a Uu direct communication path, and/or whether it supports switching from a Uu direct communication path to a PC5 direct communication path.
可以理解的是,在第二终端设备的切换指示,指示第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从PC5直接通信路径切换至Uu直接通信路径;在第二终端设备的切换指示,指示第二终端设备支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从Uu直接通信路径切换至PC5直接通信路径;在第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,且支持从Uu直接通信路径切换至PC5直接通信路径的情况下,可以确定第二终端设备的路径切换能力支持第二终端设备从PC5直接通信路径切换至Uu直接通信路径,且支持第二终端设备从Uu直接通信路径切换至PC5直接通信路径。It can be understood that, when the switching indication of the second terminal device indicates that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path; when the switching indication of the second terminal device indicates that the second terminal device supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the Uu direct communication path to the PC5 direct communication path; when the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path, it can be determined that the path switching capability of the second terminal device supports the second terminal device switching from the PC5 direct communication path to the Uu direct communication path, and supports switching from the Uu direct communication path to the PC5 direct communication path.
可以理解的是,本申请实例中,在原有直接通信建立响应消息中增加了路径切换能力指示。例如,可以在直接通信建立响应消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用直接通信建立响应消息的指定信息域,在该指定信息域中增加该路径切换能力指示。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第一终端设备指示第二终端设备的路径切换能力,从而节约信令资源。It is understandable that, in the example of the present application, a path switching capability indication is added to the original direct communication establishment response message. For example, the path switching capability indication can be added to the idle information field of the direct communication establishment response message. For another example, the designated information field of the direct communication establishment response message can be reused, and the path switching capability indication can be added to the designated information field. Thus, the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
可选地,第二终端设备发送的直接通信建立响应消息还可以包括以下信息中的至少一种:第二终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以包括第一指示信息和/或第二指示信息。其中,第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。As a possible implementation, the path switching capability indication of the first terminal device and the second terminal device may include first indication information and/or second indication information. The first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,路径切换能力指示包括第一指示信息,根据该第一指示信息确定对应终端设备支持PC5直接通信,或者不支持PC5直接通信。例如,在路径切换能力指示包括的第一指示信息的取值“1”时,可以确定对应终端设备支持PC5直接通信,而在路径切换能力指示包括的第一指示信息的取值“0”时,可以确定对应终端设备不支持PC5直接通信。在该实现方式中,由于路径切换能力指示中仅包括第一指示信息,可以默认对应的终端设备不支持Uu直接通信。Optionally, the path switching capability indication includes first indication information, and it is determined according to the first indication information whether the corresponding terminal device supports PC5 direct communication or does not support PC5 direct communication. For example, when the value of the first indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports PC5 direct communication, and when the value of the first indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support PC5 direct communication. In this implementation, since the path switching capability indication only includes the first indication information, it can be assumed that the corresponding terminal device does not support Uu direct communication.
可选地,路径切换能力指示包括第二指示信息,根据该第二指示信息确定对应终端设备支持Uu直接通信,或者不支持Uu直接通信。例如,在路径切换能力指示包括的第二指示信息的取值“1”时,可以确定对应终端设备支持Uu直接通信,而在路径切换能力指示包括的第二指示信息的取值“0”时,可以确定对应终端设备不支持Uu直接通信。在该实现方式中,由于路径切换能力指示中仅包括第二指示信息,可以默认对应的终端设备不支持PC5直接通信。Optionally, the path switching capability indication includes second indication information, and it is determined according to the second indication information whether the corresponding terminal device supports Uu direct communication or does not support Uu direct communication. For example, when the value of the second indication information included in the path switching capability indication is "1", it can be determined that the corresponding terminal device supports Uu direct communication, and when the value of the second indication information included in the path switching capability indication is "0", it can be determined that the corresponding terminal device does not support Uu direct communication. In this implementation, since the path switching capability indication only includes the second indication information, it can be assumed that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第一指示信息和第二指示信息,根据第一指示信息确定对应终端设备是否支持PC5直接通信,根据第二指示信息确定对应终端设备是否支持Uu直接通信。例如,路径切换能力指示为“11”,可以确定对应终端设备支持PC5直接通信且支持Uu直接通信;路径切换能力指示为“10”,可以确定对应终端设备支持PC5直接通信且不支持Uu直接通信;路径切换能力指示为“01”,可以确定对应终端设备不支持PC5直接通信且支持Uu直接通信;路径切换能力指示为“00”,可以确定对应终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, the path switching capability indication includes first indication information and second indication information, and whether the corresponding terminal device supports PC5 direct communication is determined according to the first indication information, and whether the corresponding terminal device supports Uu direct communication is determined according to the second indication information. For example, if the path switching capability indication is "11", it can be determined that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "10", it can be determined that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; if the path switching capability indication is "01", it can be determined that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; if the path switching capability indication is "00", it can be determined that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
作为另一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,可以包括一个索 引值,该索引值可以指示对应终端设备的PC5直接通信和Uu直接通信是否支持的组合情况。例如,索引值1可以指示对应终端设备支持PC5直接通信且支持Uu直接通信;索引值2可以指示对应终端设备支持PC5直接通信且不支持Uu直接通信;索引值3可以指示对应终端设备不支持PC5直接通信且支持Uu直接通信;索引值4可以指示对应终端设备不支持PC5直接通信且不支持Uu直接通信。第二终端设备可以基于直接通信建立请求消息中携带的索引值,确定第一终端设备的路径切换能力。As another possible implementation, the path switching capability indication of the first terminal device and the second terminal device may include an index value, which may indicate whether the corresponding terminal device supports a combination of PC5 direct communication and Uu direct communication. For example, index value 1 may indicate that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication; index value 2 may indicate that the corresponding terminal device supports PC5 direct communication and does not support Uu direct communication; index value 3 may indicate that the corresponding terminal device does not support PC5 direct communication and supports Uu direct communication; index value 4 may indicate that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication. The second terminal device may determine the path switching capability of the first terminal device based on the index value carried in the direct communication establishment request message.
需要说明的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It should be noted that the above schematic description of the path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
需要说明的是,第一终端设备和第二终端设备在执行步骤S901和S902之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S901 and S902, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第二终端设备可以接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信,第二终端设备还可以向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message includes a path switching capability indication of the first terminal device, and the path switching capability indication of the first terminal device is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. The second terminal device can also send a direct communication establishment response message to the first terminal device, the direct communication establishment response message includes a path switching capability indication of the second terminal device, and the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication. As a result, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图10,图10是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第二终端设备执行。如图10所示,该方法可以包括但不限于如下步骤:Please refer to Figure 10, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 10, the method may include but is not limited to the following steps:
步骤S1001:接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。Step S1001: Receive a direct communication establishment request message sent by the first terminal device. When the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication. When the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
在本申请实施例中,直接通信建立请求消息,由第一终端设备发送,以建立第一终端设备与第二终端设备之间的通信连接,相应的,第二终端设备可以接收到第一终端发送的直接通信建立请求消息。In an embodiment of the present application, a direct communication establishment request message is sent by a first terminal device to establish a communication connection between the first terminal device and a second terminal device. Accordingly, the second terminal device can receive the direct communication establishment request message sent by the first terminal.
可选地,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立请求消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment request message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,直接通信建立请求消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第二终端设备指示第一终端设备的路径切换能力。In the embodiment of the present application, the direct communication establishment request message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the first terminal device to the second terminal device.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,即向第二终端设备指示第一终端设备支持PC5直接通信,或者支持Uu直接通信,或者支持PC5直接通信且支持Uu直接通信;通过在直接通信建立请求消息未包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第二终端设备指示第一终端设备的路径切换能力,从而节约信令资源。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the second terminal device that the first terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it is possible to indicate to the second terminal device that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the first terminal device can be indicated to the second terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,且在第一终端设备的路径切换能力指示中包括第一终端设备的切换指示,向第二终端设备指示第一终端 设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,且在第一终端设备的路径切换能力指示中未包括第一终端设备的切换指示,向第二终端设备指示第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the first terminal device in the direct communication establishment request message, and not including the switching indication of the first terminal device in the path switching capability indication of the first terminal device, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
在一些实现方式中,可以通过在直接通信建立请求消息中包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立请求消息未包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the first terminal device in the direct communication establishment request message, it can be indicated to the second terminal device that the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
可选地,直接通信建立请求消息还可以包括以下信息中的至少一种:第一终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment request message may further include at least one of the following information: security information of the first terminal device, and user information of the first terminal device.
步骤S1002:向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。Step S1002: Send a direct communication establishment response message to the first terminal device. When the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication. When the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
在本申请的实施例中,第二终端设备响应于接收到第一终端设备发送的直接通信建立请求消息,可以向第一终端设备发送直接通信建立响应消息,相应地,第一终端设备可以接收到第二终端设备发送的直接通信建立响应消息,以建立第一终端设备与第二终端设备之间的通信连接。In an embodiment of the present application, the second terminal device may send a direct communication establishment response message to the first terminal device in response to receiving a direct communication establishment request message sent by the first terminal device. Correspondingly, the first terminal device may receive the direct communication establishment response message sent by the second terminal device to establish a communication connection between the first terminal device and the second terminal device.
可选地,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的PC5直接通信路径;或者,直接通信建立响应消息,用于建立第一终端设备与第二终端设备之间的Uu直接通信路径。Optionally, the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device; or, the direct communication establishment response message is used to establish a Uu direct communication path between the first terminal device and the second terminal device.
在本申请实施例中,直接通信建立响应消息,不仅可以用于建立第一终端设备与第二终端设备之间的通信连接,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In an embodiment of the present application, the direct communication establishment response message can not only be used to establish a communication connection between the first terminal device and the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,即向第一终端设备指示第二终端设备支持PC5直接通信,或者支持Uu直接通信,或者支持PC5直接通信且支持Uu直接通信;通过在直接通信建立响应消息未包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。由此,可以在不增加第一终端设备与第二终端设备之间的交互信令的情况下,实现向第一终端设备指示第二终端设备的路径切换能力,从而节约信令资源。In some implementations, the path switching capability indication of the second terminal device can be included in the direct communication establishment response message to indicate to the first terminal device that the second terminal device supports PC5 direct communication and/or supports Uu direct communication, that is, to indicate to the first terminal device that the second terminal device supports PC5 direct communication, or supports Uu direct communication, or supports PC5 direct communication and supports Uu direct communication; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, to indicate to the first terminal device that the second terminal device does not support PC5 direct communication and does not support Uu direct communication. In this way, the path switching capability of the second terminal device can be indicated to the first terminal device without increasing the interactive signaling between the first terminal device and the second terminal device, thereby saving signaling resources.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,且在第二终端设备的路径切换能力指示中包括第二终端设备的切换指示,向第一终端设备指示第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu直接通信路径切换至PC5直接通信路径;通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,且在第二终端设备的路径切换能力指示中未包括第二终端设备的切换指示,向第一终端设备指示第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by including the path switching capability indication of the second terminal device in the direct communication establishment response message, and not including the switching indication of the second terminal device in the path switching capability indication of the second terminal device, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
在一些实现方式中,可以通过在直接通信建立响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径,和/或支持从Uu 直接通信路径切换至PC5直接通信路径;通过在直接通信建立响应消息未包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,且不支持从Uu直接通信路径切换至PC5直接通信路径。In some implementations, by including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and/or supports switching from the Uu direct communication path to the PC5 direct communication path; by not including the path switching capability indication of the second terminal device in the direct communication establishment response message, it can be indicated to the first terminal device that the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, and does not support switching from the Uu direct communication path to the PC5 direct communication path.
可选地,第二终端设备发送的直接通信建立响应消息,还可以包括以下信息中的至少一种:第二终端设备的安全信息、第一终端设备的用户信息。Optionally, the direct communication establishment response message sent by the second terminal device may also include at least one of the following information: security information of the second terminal device and user information of the first terminal device.
在本申请的实施例中,第二终端设备接收到直接通信建立请求消息后,可以根据直接通信建立请求消息中是否包括第一终端设备的路径切换能力指示,确定第一终端设备的路径切换能力。其中,在直接通信建立请求消息中包括第一终端设备的路径切换能力指示的情况下,可以确定第一终端设备的路径切换能力为:第一终端设备支持PC5直接通信,或者,第一终端设备支持Uu直接通信,或者第一终端设备支持PC5直接通信且支持Uu直接通信;在直接通信建立请求消息中未包括第一终端设备的路径切换能力指示的情况下,可以确定第一终端设备的路径切换能力为:第一终端设备不支持PC5直接通信,且不支持Uu直接通信。In an embodiment of the present application, after receiving the direct communication establishment request message, the second terminal device can determine the path switching capability of the first terminal device according to whether the direct communication establishment request message includes the path switching capability indication of the first terminal device. Wherein, in the case where the direct communication establishment request message includes the path switching capability indication of the first terminal device, the path switching capability of the first terminal device can be determined as follows: the first terminal device supports PC5 direct communication, or the first terminal device supports Uu direct communication, or the first terminal device supports PC5 direct communication and supports Uu direct communication; in the case where the direct communication establishment request message does not include the path switching capability indication of the first terminal device, the path switching capability of the first terminal device can be determined as follows: the first terminal device does not support PC5 direct communication, and does not support Uu direct communication.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以在包括第三指示信息时,用于指示对应终端设备支持PC5直接通信,在未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。As a possible implementation method, the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports PC5 direct communication when the third indication information is included, and can be used to indicate that the corresponding terminal device does not support PC5 direct communication when the third indication information is not included.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示,均可以在包括第四指示信息时,用于指示对应终端设备支持Uu直接通信,在未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。As a possible implementation method, the path switching capability indication of the first terminal device and the second terminal device can be used to indicate that the corresponding terminal device supports Uu direct communication when the fourth indication information is included, and can be used to indicate that the corresponding terminal device does not support Uu direct communication when the fourth indication information is not included.
可选地,路径切换能力指示包括第三指示信息、未包括第四指示信息,可以确定对应终端设备支持PC5直接通信,不支持Uu直接通信。可选地,路径切换能力指示未包括第三指示信息、包括第四指示信息,可以确定对应终端设备不支持PC5直接通信,支持Uu直接通信。可选地,路径切换能力指示包括第三指示信息、包括第四指示信息,可以确定对应终端设备支持PC5直接通信,且支持Uu直接通信。可选地,路径切换能力指示未包括第三指示信息、未包括第四指示信息,可以确定对应终端设备不支持PC5直接通信,且不支持Uu直接通信。Optionally, the path switching capability indication includes the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication but does not support Uu direct communication. Optionally, the path switching capability indication does not include the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication but supports Uu direct communication. Optionally, the path switching capability indication includes the third indication information but includes the fourth indication information, which can determine that the corresponding terminal device supports PC5 direct communication and supports Uu direct communication. Optionally, the path switching capability indication does not include the third indication information but does not include the fourth indication information, which can determine that the corresponding terminal device does not support PC5 direct communication and does not support Uu direct communication.
需要说明的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It should be noted that the above schematic description of the path switching capability indication is applicable to the path switching capability indication of the first terminal device and the path switching capability indication of the second terminal device.
需要说明的是,第一终端设备和第二终端设备在执行步骤S1001和S1002之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S1001 and S1002, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第二终端设备可以接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信,第二终端设备还可以向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信,直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信,由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the second terminal device can receive a direct communication establishment request message sent by the first terminal device. When the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication. When the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication. The second terminal device can also send a direct communication establishment response message to the first terminal device. When the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication. When the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication. As a result, path switching capability interaction can be performed between the two terminal devices, thereby reducing the occurrence of path switching failures.
请参见图11,图11是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法可以由第二终端设备执行。如图11所示,该方法可以包括但不限于如下步骤:Please refer to Figure 11, which is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application. The method for interacting with path switching capabilities can be executed by a second terminal device. As shown in Figure 11, the method may include but is not limited to the following steps:
步骤S1101:接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,其中,直接通信建立请求消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Step S1101: receiving a direct communication establishment request message sent by a first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
步骤S1102:向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,其中,直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Step S1102: Send a direct communication establishment response message to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
关于步骤S1101~S1102的具体介绍,可参见上述实施例中相关内容如步骤S801~S802或步骤S901~S902或步骤S1001~S1002的记载,此处不再赘述。For a detailed introduction to steps S1101 to S1102, please refer to the relevant contents in the above embodiments, such as the records of steps S801 to S802 or steps S901 to S902 or steps S1001 to S1002, which will not be repeated here.
步骤S1103:根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。Step S1103: Determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
在本申请的实施例中,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。在第一终端设备接收到直接通信建立响应消息后,就可以开始与第二终端设备建立PC5直接通信路径。在第一终端设备和第二终端设备建立PC5直接通信路径后,第二终端设备与第一终端设备就可以进行PC5直接通信。In the embodiment of the present application, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device. After the first terminal device receives the direct communication establishment response message, it can start to establish a PC5 direct communication path with the second terminal device. After the first terminal device and the second terminal device establish the PC5 direct communication path, the second terminal device and the first terminal device can perform PC5 direct communication.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,第二终端设备可以实时检测PC5直接通信路径的信号质量,在检测到PC5直接通信路径的信号质量未满足信号质量条件时,为了保证第一终端设备和第二终端设备之间的通信质量,第二终端设备可以尝试从PC5直接通信路径向Uu直接通信路径切换。In some implementations, during the process of communication between the first terminal device and the second terminal device through the PC5 direct communication path, the second terminal device can detect the signal quality of the PC5 direct communication path in real time. When it is detected that the signal quality of the PC5 direct communication path does not meet the signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the second terminal device can attempt to switch from the PC5 direct communication path to the Uu direct communication path.
在一些实现方式中,第二终端设备可以主动中断与第一终端设备之间的PC5直接通信路径,在此种情况下,第二终端设备也需要从PC5直接通信路径切换至Uu直接通信路径。In some implementations, the second terminal device may actively interrupt the PC5 direct communication path between the second terminal device and the first terminal device. In this case, the second terminal device also needs to switch from the PC5 direct communication path to the Uu direct communication path.
本申请的实施例中,在从PC5直接通信路径切换至Uu直接通信路径之前,第二终端设备可以根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。In an embodiment of the present application, before switching from the PC5 direct communication path to the Uu direct communication path, the second terminal device may determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device respectively.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信时,确定允许从PC5直接通信路径切换至Uu直接通信路径;而在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。In some implementations, during communication between a first terminal device and a second terminal device via a PC5 direct communication path, when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
在一些实现方式中,在第一终端设备与第二终端设备通过PC5直接通信路径进行通信的过程中,在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信,且第一终端设备支持从PC5直接通信路径切换至Uu直接通信路径,且第二终端设备支持从PC5直接通信路径切换至Uu直接通信路径时,确定允许从PC5直接通信路径切换至Uu直接通信路径;而在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信,或者第一终端设备不支持从PC5直接通信路径切换至Uu直接通信路径,或者,第二终端设备不支持从PC5直接通信路径切换至Uu直接通信路径时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。In some implementations, during communication between a first terminal device and a second terminal device via a PC5 direct communication path, when the first terminal device supports Uu direct communication, and the second terminal device supports Uu direct communication, and the first terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, and the second terminal device supports switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed; and when the first terminal device does not support Uu direct communication, or the second terminal device does not support Uu direct communication, or the first terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, or the second terminal device does not support switching from the PC5 direct communication path to the Uu direct communication path, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
在一些实现方式中,在确定不允许从PC5直接通信路径切换至Uu直接通信路径的情况下,不进行 路径切换,可以在第二终端设备进行提醒。在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第二终端设备可以执行以下步骤:创建PDU会话用于建立Uu直接通信路径;向第一终端设备发送第二切换通知消息,用于通知第一终端设备创建PDU会话,用以建立Uu直接通信路径。In some implementations, if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, the path switching is not performed, and a reminder may be made on the second terminal device. If it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, the second terminal device may perform the following steps: create a PDU session for establishing the Uu direct communication path; send a second switching notification message to the first terminal device to notify the first terminal device to create a PDU session for establishing the Uu direct communication path.
可以理解的是,Uu直接通信路径为第一终端设备和第二终端设备通过网络设备进行通信。第一终端设备和第二终端设备需要分别与网络设备建立一部分Uu直接通信路径,网络设备将第一终端设备对应的Uu直接通信路径与第二终端设备对应的Uu直接通信路径进行对接,形成第一终端设备与第二终端设备之间的Uu直接通信路径。It can be understood that the Uu direct communication path is for the first terminal device and the second terminal device to communicate through the network device. The first terminal device and the second terminal device need to establish a part of the Uu direct communication path with the network device respectively, and the network device connects the Uu direct communication path corresponding to the first terminal device with the Uu direct communication path corresponding to the second terminal device to form a Uu direct communication path between the first terminal device and the second terminal device.
本申请实施例中,第二终端设备可以创建PDU会话,与网络设备进行PDU会话的过程,在进行PDU会话的过程中建立第二终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第二终端设备通过无线接入网(Radio Access Network,RAN)与核心网的用户面功能(User Plane Function,UPF)之间建立的通信路径,可以标记为UE2-RAN-UPF。In an embodiment of the present application, the second terminal device can create a PDU session and conduct a PDU session with the network device. During the PDU session, a Uu direct communication path is established between the second terminal device and the network device. This part of the Uu direct communication path is a communication path established between the second terminal device through the radio access network (Radio Access Network, RAN) and the user plane function (User Plane Function, UPF) of the core network, which can be marked as UE2-RAN-UPF.
本申请实施例中,在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第二终端设备还需要向第一终端设备发送第二切换通知消息,该第二切换通知消息指示第一终端设备与网络设备创建PDU会话,用以进行Uu直接通信路径的建立。相应地,第一终端设备根据第二切换通知消息,可以创建PDU会话,与网络设备进行PDU会话的过程,在进行PDU会话的过程中建立第一终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第一终端设备通过RAN与核心网的UPF(UPF2)之间建立的通信路径,可以标记为UE1-RAN-UPF(UPF2)。In the embodiment of the present application, when it is determined that the switch from the PC5 direct communication path to the Uu direct communication path is allowed, the second terminal device also needs to send a second switching notification message to the first terminal device, and the second switching notification message instructs the first terminal device to create a PDU session with the network device to establish the Uu direct communication path. Accordingly, the first terminal device can create a PDU session according to the second switching notification message, and conduct a PDU session with the network device. In the process of conducting the PDU session, a Uu direct communication path is established between the first terminal device and the network device. This part of the Uu direct communication path is a communication path established between the first terminal device and the UPF (UPF2) of the core network through the RAN, which can be marked as UE1-RAN-UPF (UPF2).
在第一终端设备和第二终端设备完成Uu直接通信路径的建立后,可以将UE1-RAN-UPF和UE2-RAN-UPF进行对接,形成第一终端设备与第二终端设备之间的Uu直接通信路径:UE1-RAN-UPF(URF2)-RAN-UE2。After the first terminal device and the second terminal device complete the establishment of the Uu direct communication path, UE1-RAN-UPF and UE2-RAN-UPF can be connected to form a Uu direct communication path between the first terminal device and the second terminal device: UE1-RAN-UPF (URF2) -RAN-UE2.
在Uu直接通信路径创建完成后,第二终端设备从PC5直接通信路径上切换到Uu直接通信路径上,与第一终端设备通过Uu直接通信路径继续通信。After the Uu direct communication path is created, the second terminal device switches from the PC5 direct communication path to the Uu direct communication path, and continues to communicate with the first terminal device through the Uu direct communication path.
可以理解的是,第一终端设备与第二终端设备间从PC5直接通信路径切换至Uu直接通信路径后,该PC5直接通信路径可以进行释放,以节省资源。It can be understood that after the first terminal device and the second terminal device switch from the PC5 direct communication path to the Uu direct communication path, the PC5 direct communication path can be released to save resources.
在一些实现方式中,在确定允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第一终端设备可以执行以下步骤:创建PDU会话用于建立Uu直接通信路径;向第二终端设备发送第一切换通知消息,用于通知第二终端设备创建PDU会话,用以建立Uu直接通信路径。相应的,第二终端设备可以接收在接收到第一终端设备的第一切换通知消息时,创建PDU会话用于建立Uu直接通信路径。In some implementations, when it is determined that the switching from the PC5 direct communication path to the Uu direct communication path is allowed, the first terminal device may perform the following steps: create a PDU session for establishing the Uu direct communication path; send a first switching notification message to the second terminal device to notify the second terminal device to create a PDU session for establishing the Uu direct communication path. Correspondingly, the second terminal device may create a PDU session for establishing the Uu direct communication path when receiving the first switching notification message from the first terminal device.
需要说明的是,在第一终端设备和第二终端设备通过Uu直接通信路径进行通信的过程中,第一终端设备和/或第二终端设备可以根据需要,决定是否从Uu直接通信路径切换至PC5直接通信路径。It should be noted that, during the communication between the first terminal device and the second terminal device via the Uu direct communication path, the first terminal device and/or the second terminal device may decide whether to switch from the Uu direct communication path to the PC5 direct communication path as needed.
本申请的实施例中,在从Uu直接通信路径切换至PC5直接通信路径之前,第二终端设备可以根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从Uu直接通信路径切换至PC5直接通信路径。具体过程与根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径的过程类似,此处不再赘述。在确定不允许从Uu直接通信路径切换至PC5直接通信路径的情况下,不进行路径切换,可以在第二终端设备进行提醒。在确定允许从Uu直接通信路径切换至PC5直接通信路径的情况下,第一终端设备和第二终端设备可以进行PC5直接通信路径的建立。在PC5直接通信路径创建完成后,第二终端设备从Uu直接通信路径上切换到PC5 直接通信路径上,与第一终端设备通过PC5直接通信路径继续通信。In an embodiment of the present application, before switching from the Uu direct communication path to the PC5 direct communication path, the second terminal device may determine whether to allow switching from the Uu direct communication path to the PC5 direct communication path based on the path switching capabilities of the first terminal device and the second terminal device. The specific process is similar to the process of determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path based on the path switching capabilities of the first terminal device and the second terminal device, and will not be repeated here. In the case where it is determined that switching from the Uu direct communication path to the PC5 direct communication path is not allowed, the path switching is not performed, and a reminder may be made on the second terminal device. In the case where it is determined that switching from the Uu direct communication path to the PC5 direct communication path is allowed, the first terminal device and the second terminal device may establish a PC5 direct communication path. After the PC5 direct communication path is created, the second terminal device switches from the Uu direct communication path to the PC5 direct communication path, and continues to communicate with the first terminal device through the PC5 direct communication path.
需要说明的是,第一终端设备和第二终端设备在执行步骤S1101和S1102之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S1101 and S1102, both the first terminal device and the second terminal device need to perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
本申请实施例提供的路径切换能力的交互方法中,第二终端设备可以接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力,其中,直接通信建立请求消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径,向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力,其中,直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径,根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。由此,能够在两个终端设备之间进行路径切换能力的交互,从而减少路径切换失败的情况发生。In the path switching capability interaction method provided in the embodiment of the present application, the second terminal device can receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device, wherein the direct communication establishment request message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device, wherein the direct communication establishment response message is used to establish a PC5 direct communication path between the first terminal device and the second terminal device, and determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device. Thus, the path switching capability can be interacted between the two terminal devices, thereby reducing the occurrence of path switching failures.
其中,需要说明的是,“携带”和“包括”在本申请中的含义相同。本申请中的“包括”是开放性限定,即除了包括本申请中指出的内容,还可能包括本申请中未指出的,但未来可能出现的内容。It should be noted that "carry" and "include" have the same meaning in this application. "Include" in this application is an open limitation, that is, in addition to the contents specified in this application, it may also include contents that are not specified in this application but may appear in the future.
上述本申请提供的实施例中,分别从终端设备,例如第一终端设备和第二终端设备的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,终端设备可以包括硬件结构、软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能可以以硬件结构、软件模块、或者硬件结构加软件模块的方式来执行。In the embodiments provided in the present application, the methods provided in the embodiments of the present application are introduced from the perspectives of terminal devices, such as the first terminal device and the second terminal device. In order to implement the functions in the methods provided in the embodiments of the present application, the terminal device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
请参见图12,为本申请实施例提供的一种通信装置120的结构示意图。图12所示的通信装置120可包括收发单元1201和处理单元1202。收发单元1201可包括发送单元和/或接收单元,发送单元用于实现发送功能,接收单元用于实现接收功能,收发单元1201可以实现发送功能和/或接收功能。Please refer to Figure 12, which is a schematic diagram of the structure of a communication device 120 provided in an embodiment of the present application. The communication device 120 shown in Figure 12 may include a transceiver unit 1201 and a processing unit 1202. The transceiver unit 1201 may include a sending unit and/or a receiving unit, the sending unit is used to implement a sending function, the receiving unit is used to implement a receiving function, and the transceiver unit 1201 may implement a sending function and/or a receiving function.
通信装置120可以是终端设备(如前述方法实施例中的第一终端设备或者第二终端设备),也可以是终端设备中的装置,还可以是能够与终端设备匹配使用的装置。The communication device 120 may be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), or may be a device in the terminal device, or may be a device that can be used in conjunction with the terminal device.
通信装置120为终端设备(如前述方法实施例中的第一终端设备):The communication device 120 is a terminal device (such as the first terminal device in the aforementioned method embodiment):
收发单元1201,用于向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力;以及用于接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。The transceiver unit 1201 is used to send a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and to receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Optionally, the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication; the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
可选地,路径切换能力指示包括:第一指示信息和/或第二指示信息;第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。Optionally, the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立响应消息未包括第二终端设备的路径切 换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;路径切换能力指示中未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。Optionally, when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;路径切换能力指示未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。Optionally, when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
可选地,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Optionally, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
可选地,处理单元1202,用于根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processing unit 1202 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
可选地,处理单元1202,还用于在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信时,确定允许从PC5直接通信路径切换至Uu直接通信路径;以及用于在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processing unit 1202 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
通信装置120为终端设备(如前述方法实施例中的第二终端设备):The communication device 120 is a terminal device (such as the second terminal device in the aforementioned method embodiment):
收发单元1201,用于接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力;向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。The transceiver unit 1201 is used to receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Optionally, the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication; the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
可选地,路径切换能力指示包括:第一指示信息和/或第二指示信息;第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。Optionally, the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;路径切换能力指示中未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。Optionally, when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;路径切换能力指示未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。Optionally, when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
可选地,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Optionally, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
可选地,处理单元1202,用于根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processing unit 1202 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
可选地,处理单元1202,还用于在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信时,确定允许从PC5直接通信路径切换至Uu直接通信路径;以及用于在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processing unit 1202 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
请参见图13,图13是本申请实施例提供的另一种通信装置130的结构示意图。通信装置130可以是终端设备(如前述方法实施例中的第一终端设备或者第二终端设备),也可以是支持终端设备实现上述方法的芯片、芯片系统、或处理器等。该装置可用于实现上述方法实施例中描述的方法,具体可以参见上述方法实施例中的说明。Please refer to Figure 13, which is a schematic diagram of the structure of another communication device 130 provided in an embodiment of the present application. The communication device 130 can be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), or a chip, a chip system, or a processor that supports the terminal device to implement the above method. The device can be used to implement the method described in the above method embodiment, and the details can be referred to the description in the above method embodiment.
通信装置130可以包括一个或多个处理器1301。处理器1301可以是通用处理器或者专用处理器等。例如可以是基带处理器或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端设备、终端设备芯片,DU或CU等)进行控制,执行计算机程序,处理计算机程序的数据。The communication device 130 may include one or more processors 1301. The processor 1301 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and communication data, and the central processing unit may be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute a computer program, and process the data of the computer program.
可选的,通信装置130中还可以包括一个或多个存储器1302,其上可以存有计算机程序1304,处理器1301执行所述计算机程序1304,以使得通信装置130执行上述方法实施例中描述的方法。可选的,所述存储器1302中还可以存储有数据。通信装置130和存储器1302可以单独设置,也可以集成在一起。Optionally, the communication device 130 may further include one or more memories 1302, on which a computer program 1304 may be stored, and the processor 1301 executes the computer program 1304 so that the communication device 130 performs the method described in the above method embodiment. Optionally, data may also be stored in the memory 1302. The communication device 130 and the memory 1302 may be provided separately or integrated together.
可选的,通信装置130还可以包括收发器1305、天线1306。收发器1305可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器1305可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。Optionally, the communication device 130 may further include a transceiver 1305 and an antenna 1306. The transceiver 1305 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and is used to implement a transceiver function. The transceiver 1305 may include a receiver and a transmitter, the receiver may be referred to as a receiver or a receiving circuit, etc., and is used to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., and is used to implement a transmitting function.
可选的,通信装置130中还可以包括一个或多个接口电路1307。接口电路1307用于接收代码指令并传输至处理器1301。处理器1301运行所述代码指令以使通信装置130执行上述方法实施例中描述的方法。Optionally, the communication device 130 may further include one or more interface circuits 1307. The interface circuit 1307 is used to receive code instructions and transmit them to the processor 1301. The processor 1301 runs the code instructions to enable the communication device 130 to execute the method described in the above method embodiment.
通信装置130为终端设备(如前述方法实施例中的第一终端设备):收发器1305用于执行图3中的步骤S301和S302;图4中的步骤S401和S402;图5中的步骤S501和S502;图6中的步骤S601和S602。The communication device 130 is a terminal device (such as the first terminal device in the aforementioned method embodiment): the transceiver 1305 is used to execute steps S301 and S302 in Figure 3; steps S401 and S402 in Figure 4; steps S501 and S502 in Figure 5; and steps S601 and S602 in Figure 6.
处理器1301用于执行图6中的步骤S603。The processor 1301 is configured to execute step S603 in FIG. 6 .
通信装置130为终端设备(如前述实施例中的第二终端设备):收发器1305用于执行图8中的步骤S801和S802;图9中的步骤S901和S902;图10中的步骤S1001和S1002;图11中的步骤S1101和S1102。The communication device 130 is a terminal device (such as the second terminal device in the aforementioned embodiment): the transceiver 1305 is used to execute steps S801 and S802 in Figure 8; steps S901 and S902 in Figure 9; steps S1001 and S1002 in Figure 10; steps S1101 and S1102 in Figure 11.
处理器1301用于执行图11中的步骤S1103。The processor 1301 is used to execute step S1103 in FIG. 11 .
在一种实现方式中,处理器1301中可以包括用于实现接收和发送功能的收发器。例如该收发器可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。In one implementation, the processor 1301 may include a transceiver for implementing the receiving and sending functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and sending functions may be separate or integrated. The above-mentioned transceiver circuit, interface, or interface circuit may be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
在一种实现方式中,处理器1301可以存有计算机程序1303,计算机程序1303在处理器1301上运行,可使得通信装置130执行上述方法实施例中描述的方法。计算机程序1303可能固化在处理器1301中,该种情况下,处理器1301可能由硬件实现。In one implementation, the processor 1301 may store a computer program 1303, which runs on the processor 1301 and enables the communication device 130 to perform the method described in the above method embodiment. The computer program 1303 may be fixed in the processor 1301, in which case the processor 1301 may be implemented by hardware.
在一种实现方式中,通信装置130可以包括电路,所述电路可以实现前述方法实施例中发送或接收 或者通信的功能。本申请中描述的处理器和收发器可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路RFIC、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器和收发器也可以用各种IC工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(bipolar junction transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。In one implementation, the communication device 130 may include a circuit that can implement the functions of sending or receiving or communicating in the aforementioned method embodiments. The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
以上实施例描述中的通信装置可以是终端设备(如前述方法实施例中的第一终端设备或者第二终端设备),但本申请中描述的通信装置的范围并不限于此,而且通信装置的结构可以不受图13的限制。通信装置可以是独立的设备或者可以是较大设备的一部分。例如所述通信装置可以是:The communication device described in the above embodiments may be a terminal device (such as the first terminal device or the second terminal device in the aforementioned method embodiment), but the scope of the communication device described in the present application is not limited thereto, and the structure of the communication device may not be limited by FIG. 13. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:
(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;(1) Independent integrated circuit IC, or chip, or chip system or subsystem;
(2)具有一个或多个IC的集合,可选的,该IC集合也可以包括用于存储数据,计算机程序的存储部件;(2) having a set of one or more ICs, and optionally, the IC set may also include a storage component for storing data and computer programs;
(3)ASIC,例如调制解调器(Modem);(3) ASIC, such as modem;
(4)可嵌入在其他设备内的模块;(4) Modules that can be embedded in other devices;
(5)接收机、终端设备、智能终端设备、蜂窝电话、无线设备、手持机、移动单元、车载设备、网络设备、云设备、人工智能设备等等;(5) Receivers, terminal devices, intelligent terminal devices, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
(6)其他等等。(6)Others
对于通信装置可以是芯片或芯片系统的情况,可参见图14所示的芯片的结构示意图。图14所示的芯片包括处理器1401和接口1402。其中,处理器1401的数量可以是一个或多个,接口1402的数量可以是多个。For the case where the communication device can be a chip or a chip system, please refer to the schematic diagram of the chip structure shown in Figure 14. The chip shown in Figure 14 includes a processor 1401 and an interface 1402. The number of processors 1401 can be one or more, and the number of interfaces 1402 can be multiple.
对于芯片用于实现本申请实施例中终端设备(如前述方法实施例中的第一终端设备)的功能的情况:For the case where the chip is used to implement the functions of the terminal device in the embodiment of the present application (such as the first terminal device in the aforementioned method embodiment):
接口1402,用于向第二终端设备发送直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力;接收第二终端设备发送的直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。 Interface 1402 is used to send a direct communication establishment request message to the second terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; receive a direct communication establishment response message sent by the second terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Optionally, the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication; the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
可选地,路径切换能力指示包括:第一指示信息和/或第二指示信息;第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。Optionally, the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;路径切换能力指示中未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。Optionally, when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;路径切换能力指示未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。Optionally, when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
可选地,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Optionally, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
可选地,处理器1401,用于根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processor 1401 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to a path switching capability of the first terminal device and a path switching capability of the second terminal device.
可选地,处理器1401,还用于在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通信时,确定允许从PC5直接通信路径切换至Uu直接通信路径;以及用于在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, processor 1401 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
对于芯片用于实现本申请实施例中终端设备(如前述方法实施例中的第二终端设备)的功能的情况:For the case where the chip is used to implement the functions of the terminal device in the embodiment of the present application (such as the second terminal device in the aforementioned method embodiment):
接口1402,用于接收第一终端设备发送的直接通信建立请求消息,直接通信建立请求消息用于指示第一终端设备的路径切换能力;向第一终端设备发送直接通信建立响应消息,直接通信建立响应消息用于指示第二终端设备的路径切换能力。 Interface 1402 is used to receive a direct communication establishment request message sent by the first terminal device, the direct communication establishment request message is used to indicate the path switching capability of the first terminal device; and send a direct communication establishment response message to the first terminal device, the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示,第一终端设备的路径切换能力指示,用于指示第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;直接通信建立响应消息包括第二终端设备的路径切换能力指示,第二终端设备的路径切换能力指示,用于指示第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。Optionally, the direct communication establishment request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication; the direct communication establishment response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device supports PC5 direct communication and/or whether it supports Uu direct communication.
可选地,路径切换能力指示包括:第一指示信息和/或第二指示信息;第一指示信息,用于指示对应终端设备是否支持PC5直接通信;第二指示信息,用于指示对应终端设备是否支持Uu直接通信。Optionally, the path switching capability indication includes: first indication information and/or second indication information; the first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
可选地,直接通信建立请求消息包括第一终端设备的路径切换能力指示时,用于指示第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立请求消息未包括第一终端设备的路径切换能力指示时,用于指示第一终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment request message includes the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,直接通信建立响应消息包括第二终端设备的路径切换能力指示时,用于指示第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;直接通信建立响应消息未包括第二终端设备的路径切换能力指示时,用于指示第二终端设备不支持PC5直接通信且不支持Uu直接通信。Optionally, when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication; when the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
可选地,路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;路径切换能力指示中未包括第三指示信息时,用于指示对应终端设备不支持PC5直接通信。Optionally, when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication; when the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
可选地,路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;路径切换能力指示未包括第四指示信息时,用于指示对应终端设备不支持Uu直接通信。Optionally, when the path switching capability indication includes the fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication; when the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
可选地,直接通信建立请求消息和直接通信建立响应消息,用于建立第一终端设备和第二终端设备之间的PC5直接通信路径。Optionally, the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
可选地,处理器1401,用于根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processor 1401 is configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to a path switching capability of the first terminal device and a path switching capability of the second terminal device.
可选地,处理器1401,还用于在第一终端设备支持Uu直接通信,且第二终端设备支持Uu直接通 信时,确定允许从PC5直接通信路径切换至Uu直接通信路径;以及用于在第一终端设备不支持Uu直接通信,或者,第二终端设备不支持Uu直接通信时,确定不允许从PC5直接通信路径切换至Uu直接通信路径。Optionally, the processor 1401 is further used to determine that switching from the PC5 direct communication path to the Uu direct communication path is allowed when the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication; and to determine that switching from the PC5 direct communication path to the Uu direct communication path is not allowed when the first terminal device does not support Uu direct communication or the second terminal device does not support Uu direct communication.
可选的,芯片还包括存储器1403,存储器1403用于存储必要的计算机程序和数据。Optionally, the chip further includes a memory 1403, and the memory 1403 is used to store necessary computer programs and data.
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。Those skilled in the art may also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application may be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.
本申请实施例还提供一种通信系统,该系统包括前述图13实施例中作为终端设备(如前述方法实施例中的第一终端设备)的通信装置和作为终端设备(如前述方法实施例中的第二终端设备)的通信装置,或者,该系统包括前述图14实施例中作为终端设备(如前述方法实施例中的第一终端设备)的通信装置和作为终端设备(如前述方法实施例中的第二终端设备)的通信装置。An embodiment of the present application also provides a communication system, which includes the communication device in the embodiment of Figure 13 as a terminal device (such as the first terminal device in the aforementioned method embodiment) and the communication device as a terminal device (such as the second terminal device in the aforementioned method embodiment), or the system includes the communication device in the embodiment of Figure 14 as a terminal device (such as the first terminal device in the aforementioned method embodiment) and the communication device as a terminal device (such as the second terminal device in the aforementioned method embodiment).
本申请还提供一种可读存储介质,其上存储有指令,该指令被计算机执行时实现上述任一方法实施例的功能。The present application also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.
本申请还提供一种计算机程序产品,该计算机程序产品被计算机执行时实现上述任一方法实施例的功能。The present application also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序。在计算机上加载和执行所述计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机程序可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by 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 programs. When the computer program is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer 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 (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
本领域普通技术人员可以理解:本申请中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。A person skilled in the art may understand that the various numerical numbers such as first and second involved in the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application, but also indicate the order of precedence.
本申请中的至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。在本申请实施例中,对于一种技术特征,通过“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”等区分该种技术特征中的技术特征,该“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”描述的技术特征间无先后顺序或者大小顺序。At least one in the present application can also be described as one or more, and a plurality can be two, three, four or more, which is not limited in the present application. In the embodiments of the present application, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", etc., and there is no order of precedence or size between the technical features described by the "first", "second", "third", "A", "B", "C" and "D".
本申请中各表所示的对应关系可以被配置,也可以是预定义的。各表中的信息的取值仅仅是举例,可以配置为其他值,本申请并不限定。在配置信息与各参数的对应关系时,并不一定要求必须配置各表中示意出的所有对应关系。例如,本申请中的表格中,某些行示出的对应关系也可以不配置。又例如,可以基于上述表格做适当的变形调整,例如,拆分,合并等等。上述各表中标题示出参数的名称也可以 采用通信装置可理解的其他名称,其参数的取值或表示方式也可以通信装置可理解的其他取值或表示方式。上述各表在实现时,也可以采用其他的数据结构,例如可以采用数组、队列、容器、栈、线性表、指针、链表、树、图、结构体、类、堆、散列表或哈希表等。The corresponding relationships shown in the tables in this application can be configured or predefined. The values of the information in each table are only examples and can be configured as other values, which are not limited by this application. When configuring the corresponding relationship between the information and each parameter, it is not necessarily required to configure all the corresponding relationships illustrated in each table. For example, in the table in this application, the corresponding relationships shown in some rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above table, such as splitting, merging, etc. The names of the parameters shown in the titles in the above tables can also use other names that can be understood by the communication device, and the values or representations of the parameters can also be other values or representations that can be understood by the communication device. When implementing the above tables, other data structures can also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables.
本申请中的预定义可以理解为定义、预先定义、存储、预存储、预协商、预配置、固化、或预烧制。The predefined in the present application may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (29)

  1. 一种路径切换能力的交互方法,其特征在于,所述方法由第一终端设备执行,所述方法包括:A path switching capability interaction method, characterized in that the method is executed by a first terminal device, and the method includes:
    向第二终端设备发送直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;Sending a direct communication establishment request message to the second terminal device, where the direct communication establishment request message is used to indicate a path switching capability of the first terminal device;
    接收所述第二终端设备发送的直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。A direct communication establishment response message sent by the second terminal device is received, where the direct communication establishment response message is used to indicate a path switching capability of the second terminal device.
  2. 根据权利要求1所述的方法,其特征在于,所述直接通信建立请求消息包括所述第一终端设备的路径切换能力指示,所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;The method according to claim 1, characterized in that the direct communication establishment request message includes a path switching capability indication of the first terminal device, the path switching capability indication of the first terminal device being used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
    所述直接通信建立响应消息包括所述第二终端设备的路径切换能力指示,所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。The direct communication establishment response message includes a path switching capability indication of the second terminal device, where the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
  3. 根据权利要求2所述的方法,其特征在于,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;The method according to claim 2, characterized in that the path switching capability indication comprises: first indication information and/or second indication information;
    所述第一指示信息,用于指示对应终端设备是否支持PC5直接通信;所述第二指示信息,用于指示对应终端设备是否支持Uu直接通信。The first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  4. 根据权利要求1所述的方法,其特征在于,所述直接通信建立请求消息包括所述第一终端设备的路径切换能力指示时,用于指示所述第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;The method according to claim 1, characterized in that when the direct communication establishment request message includes a path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication;
    所述直接通信建立请求消息未包括所述第一终端设备的路径切换能力指示时,用于指示所述第一终端设备不支持PC5直接通信且不支持Uu直接通信。When the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  5. 根据权利要求1所述的方法,其特征在于,所述直接通信建立响应消息包括所述第二终端设备的路径切换能力指示时,用于指示所述第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;The method according to claim 1, characterized in that when the direct communication establishment response message includes a path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication;
    所述直接通信建立响应消息未包括所述第二终端设备的路径切换能力指示时,用于指示所述第二终端设备不支持PC5直接通信且不支持Uu直接通信。When the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  6. 根据权利要求4或5所述的方法,其特征在于,所述路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;The method according to claim 4 or 5, characterized in that when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication;
    所述路径切换能力指示中未包括所述第三指示信息时,用于指示所述对应终端设备不支持PC5直接通信。When the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  7. 根据权利要求4或5所述的方法,其特征在于,所述路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;The method according to claim 4 or 5, characterized in that when the path switching capability indication includes fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication;
    所述路径切换能力指示未包括所述第四指示信息时,用于指示对应终端设备不支持Uu直接通信。When the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  8. 根据权利要求1所述的方法,其特征在于,所述直接通信建立请求消息和所述直接通信建立响应消息,用于建立所述第一终端设备和所述第二终端设备之间的PC5直接通信路径。The method according to claim 1 is characterized in that the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, characterized in that the method further comprises:
    根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径。It is determined whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径,包括:The method according to claim 9, characterized in that the determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device comprises:
    在所述第一终端设备支持Uu直接通信,且所述第二终端设备支持Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;When the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, determining to allow switching from the PC5 direct communication path to the Uu direct communication path;
    在所述第一终端设备不支持Uu直接通信,或者,所述第二终端设备不支持Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。When the first terminal device does not support Uu direct communication, or when the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  11. 一种路径切换能力的交互方法,其特征在于,所述方法由第二终端设备执行,所述方法包括:A path switching capability interaction method, characterized in that the method is executed by a second terminal device, and the method includes:
    接收第一终端设备发送的直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;receiving a direct communication establishment request message sent by a first terminal device, where the direct communication establishment request message is used to indicate a path switching capability of the first terminal device;
    向所述第一终端设备发送直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。A direct communication establishment response message is sent to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  12. 根据权利要求11所述的方法,其特征在于,所述直接通信建立请求消息包括所述第一终端设备的路径切换能力指示,所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否支持PC5直接通信和/或是否支持Uu直接通信;The method according to claim 11, characterized in that the direct communication establishment request message includes a path switching capability indication of the first terminal device, the path switching capability indication of the first terminal device being used to indicate whether the first terminal device supports PC5 direct communication and/or whether it supports Uu direct communication;
    所述直接通信建立响应消息包括所述第二终端设备的路径切换能力指示,所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否支持PC5直接通信和/或是否支持Uu直接通信。The direct communication establishment response message includes a path switching capability indication of the second terminal device, where the path switching capability indication of the second terminal device is used to indicate whether the second terminal device supports PC5 direct communication and/or supports Uu direct communication.
  13. 根据权利要求12所述的方法,其特征在于,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;The method according to claim 12, characterized in that the path switching capability indication comprises: first indication information and/or second indication information;
    所述第一指示信息,用于指示对应终端设备是否支持PC5直接通信;所述第二指示信息,用于指示对应终端设备是否支持Uu直接通信。The first indication information is used to indicate whether the corresponding terminal device supports PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device supports Uu direct communication.
  14. 根据权利要求11所述的方法,其特征在于,所述直接通信建立请求消息包括所述第一终端设备的路径切换能力指示时,用于指示所述第一终端设备支持PC5直接通信,和/或,支持Uu直接通信;The method according to claim 11, characterized in that when the direct communication establishment request message includes a path switching capability indication of the first terminal device, it is used to indicate that the first terminal device supports PC5 direct communication and/or supports Uu direct communication;
    所述直接通信建立请求消息未包括所述第一终端设备的路径切换能力指示时,用于指示所述第一终端设备不支持PC5直接通信且不支持Uu直接通信。When the direct communication establishment request message does not include the path switching capability indication of the first terminal device, it is used to indicate that the first terminal device does not support PC5 direct communication and does not support Uu direct communication.
  15. 根据权利要求11所述的方法,其特征在于,所述直接通信建立响应消息包括所述第二终端设 备的路径切换能力指示时,用于指示所述第二终端设备支持PC5直接通信,和/或,支持Uu直接通信;The method according to claim 11, characterized in that when the direct communication establishment response message includes the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device supports PC5 direct communication and/or supports Uu direct communication;
    所述直接通信建立响应消息未包括所述第二终端设备的路径切换能力指示时,用于指示所述第二终端设备不支持PC5直接通信且不支持Uu直接通信。When the direct communication establishment response message does not include the path switching capability indication of the second terminal device, it is used to indicate that the second terminal device does not support PC5 direct communication and does not support Uu direct communication.
  16. 根据权利要求14或15所述的方法,其特征在于,所述路径切换能力指示包括第三指示信息时,用于指示对应终端设备支持PC5直接通信;The method according to claim 14 or 15, characterized in that when the path switching capability indication includes the third indication information, it is used to indicate that the corresponding terminal device supports PC5 direct communication;
    所述路径切换能力指示中未包括所述第三指示信息时,用于指示所述对应终端设备不支持PC5直接通信。When the path switching capability indication does not include the third indication information, it is used to indicate that the corresponding terminal device does not support PC5 direct communication.
  17. 根据权利要求14或15所述的方法,其特征在于,所述路径切换能力指示包括第四指示信息时,用于指示对应终端设备支持Uu直接通信;The method according to claim 14 or 15, characterized in that when the path switching capability indication includes fourth indication information, it is used to indicate that the corresponding terminal device supports Uu direct communication;
    所述路径切换能力指示未包括所述第四指示信息时,用于指示对应终端设备不支持Uu直接通信。When the path switching capability indication does not include the fourth indication information, it is used to indicate that the corresponding terminal device does not support Uu direct communication.
  18. 根据权利要求11所述的方法,其特征在于,所述直接通信建立请求消息和所述直接通信建立响应消息,用于建立所述第一终端设备和所述第二终端设备之间的PC5直接通信路径。The method according to claim 11 is characterized in that the direct communication establishment request message and the direct communication establishment response message are used to establish a PC5 direct communication path between the first terminal device and the second terminal device.
  19. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method according to claim 18, characterized in that the method further comprises:
    根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径。It is determined whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device.
  20. 根据权利要求19所述的方法,其特征在于,所述根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径,包括:The method according to claim 19, characterized in that the determining whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capability of the first terminal device and the path switching capability of the second terminal device comprises:
    在所述第一终端设备支持Uu直接通信,且所述第二终端设备支持Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;When the first terminal device supports Uu direct communication and the second terminal device supports Uu direct communication, determining to allow switching from the PC5 direct communication path to the Uu direct communication path;
    在所述第一终端设备不支持Uu直接通信,或者,所述第二终端设备不支持Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。When the first terminal device does not support Uu direct communication, or when the second terminal device does not support Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  21. 一种通信装置,其特征在于,设置于第一终端设备,所述装置包括:A communication device, characterized in that it is arranged in a first terminal device, and comprises:
    收发单元,用于向第二终端设备发送直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;A transceiver unit, configured to send a direct communication establishment request message to a second terminal device, wherein the direct communication establishment request message is used to indicate a path switching capability of the first terminal device;
    所述收发单元,还用于接收所述第二终端设备发送的直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。The transceiver unit is further used to receive a direct communication establishment response message sent by the second terminal device, where the direct communication establishment response message is used to indicate a path switching capability of the second terminal device.
  22. 一种通信装置,其特征在于,设置于第二终端设备,所述装置包括:A communication device, characterized in that it is arranged in a second terminal device, and the device comprises:
    收发单元,用于接收第一终端设备发送的直接通信建立请求消息,所述直接通信建立请求消息用于指示所述第一终端设备的路径切换能力;A transceiver unit, configured to receive a direct communication establishment request message sent by a first terminal device, wherein the direct communication establishment request message is used to indicate a path switching capability of the first terminal device;
    向所述第一终端设备发送直接通信建立响应消息,所述直接通信建立响应消息用于指示所述第二终端设备的路径切换能力。A direct communication establishment response message is sent to the first terminal device, where the direct communication establishment response message is used to indicate the path switching capability of the second terminal device.
  23. 一种通信装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器执行所述存储器中存储的计算机程序,以使所述装置执行如权利要求1至10中任一项所述的方法。A communication device, characterized in that the device comprises a processor and a memory, the memory stores a computer program, and the processor executes the computer program stored in the memory so that the device performs the method as described in any one of claims 1 to 10.
  24. 一种通信装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器执行所述存储器中存储的计算机程序,以使所述装置执行如权利要求11至20中任一项所述的方法。A communication device, characterized in that the device comprises a processor and a memory, the memory stores a computer program, and the processor executes the computer program stored in the memory so that the device performs the method as described in any one of claims 11 to 20.
  25. 一种通信装置,其特征在于,包括:处理器和接口电路;A communication device, characterized in that it comprises: a processor and an interface circuit;
    所述接口电路,用于接收代码指令并传输至所述处理器;The interface circuit is used to receive code instructions and transmit them to the processor;
    所述处理器,用于运行所述代码指令以执行如权利要求1至10中任一项所述的方法。The processor is configured to run the code instructions to perform the method according to any one of claims 1 to 10.
  26. 一种通信装置,其特征在于,包括:处理器和接口电路;A communication device, characterized in that it comprises: a processor and an interface circuit;
    所述接口电路,用于接收代码指令并传输至所述处理器;The interface circuit is used to receive code instructions and transmit them to the processor;
    所述处理器,用于运行所述代码指令以执行如权利要求11至20中任一项所述的方法。The processor is configured to run the code instructions to perform the method according to any one of claims 11 to 20.
  27. 一种通信系统,包括第一终端设备以及第二终端设备,其特征在于,包括:A communication system, comprising a first terminal device and a second terminal device, characterized in that it comprises:
    所述第一终端设备执行如权利要求1至10中任一项所述的方法,所述第二终端设备执行如权利要求11至20中任一项所述的方法。The first terminal device executes the method according to any one of claims 1 to 10, and the second terminal device executes the method according to any one of claims 11 to 20.
  28. 一种计算机可读存储介质,用于存储有指令,当所述指令被执行时,使如权利要求1至10中任一项所述的方法被实现。A computer-readable storage medium is used to store instructions, and when the instructions are executed, the method according to any one of claims 1 to 10 is implemented.
  29. 一种计算机可读存储介质,用于存储有指令,当所述指令被执行时,使如权利要求11至20中任一项所述的方法被实现。A computer-readable storage medium is used to store instructions, and when the instructions are executed, the method according to any one of claims 11 to 20 is implemented.
PCT/CN2022/123641 2022-09-30 2022-09-30 Path switching capability interaction method and apparatus WO2024065840A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/123641 WO2024065840A1 (en) 2022-09-30 2022-09-30 Path switching capability interaction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/123641 WO2024065840A1 (en) 2022-09-30 2022-09-30 Path switching capability interaction method and apparatus

Publications (1)

Publication Number Publication Date
WO2024065840A1 true WO2024065840A1 (en) 2024-04-04

Family

ID=90475623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123641 WO2024065840A1 (en) 2022-09-30 2022-09-30 Path switching capability interaction method and apparatus

Country Status (1)

Country Link
WO (1) WO2024065840A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278169A (en) * 2018-12-27 2020-06-12 维沃移动通信有限公司 Switching method, first terminal and second terminal
CN111432457A (en) * 2019-01-09 2020-07-17 华为技术有限公司 Communication method and communication device
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals
CN113543266A (en) * 2020-04-16 2021-10-22 展讯半导体(南京)有限公司 Wireless communication link establishment method and device, terminal and relay equipment
CN114223225A (en) * 2019-08-15 2022-03-22 中兴通讯股份有限公司 Side link capability information transfer and security between peer terminals
CN114270918A (en) * 2019-08-21 2022-04-01 联想(新加坡)私人有限公司 Radio link failure recovery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278169A (en) * 2018-12-27 2020-06-12 维沃移动通信有限公司 Switching method, first terminal and second terminal
CN111432457A (en) * 2019-01-09 2020-07-17 华为技术有限公司 Communication method and communication device
CN114223225A (en) * 2019-08-15 2022-03-22 中兴通讯股份有限公司 Side link capability information transfer and security between peer terminals
CN114270918A (en) * 2019-08-21 2022-04-01 联想(新加坡)私人有限公司 Radio link failure recovery
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals
CN113543266A (en) * 2020-04-16 2021-10-22 展讯半导体(南京)有限公司 Wireless communication link establishment method and device, terminal and relay equipment

Similar Documents

Publication Publication Date Title
EP4336953A1 (en) Access failure processing method and apparatus, terminal device and storage medium
WO2022233064A1 (en) Method for releasing remote terminal device and apparatus therefor
CN113412632B (en) Link failure processing method and device, terminal equipment and storage medium
WO2023000149A1 (en) Relay terminal device measurement reporting method, and apparatus
WO2024065127A1 (en) Method for controlling transmission of relay device information and apparatus therefor
WO2024065840A1 (en) Path switching capability interaction method and apparatus
CN114208239A (en) Method and device for switching new air interface and new air interface sidelink
KR20240001256A (en) METHOD AND APPARATUS FOR DETERMINING ACTIVATION STATE OF TERMINAL
WO2024065844A1 (en) Interaction method for path switching capabilities and apparatus therefor
WO2024065842A1 (en) Path adding method and apparatus
WO2024065195A1 (en) Migration type determination methods and apparatuses therefor
WO2023010429A1 (en) Bandwidth part synchronization method and apparatus thereof
EP4354942A1 (en) Information acquisition method and apparatus, and storage medium
WO2024065131A1 (en) Multipath transmission method, apparatus, and device, and storage medium
WO2023240419A1 (en) Access control method and apparatus
WO2024031272A1 (en) Reporting methods, apparatuses, device, and storage medium
WO2024065121A1 (en) Multi-path transmission methods/apparatus/device, and storage medium
WO2024031274A1 (en) Recording and reporting method and apparatus for successful handover report (shr)
WO2023130321A1 (en) Data compression method and apparatus
WO2023155206A1 (en) Method for reporting maximum duration of joint channel estimation, and apparatus thereof
US20240114483A1 (en) Paging processing method, communication apparatus, and storage medium
WO2024065098A1 (en) Migration method and apparatus
WO2023221000A1 (en) Authentication and authorization method and apparatus for ai function in core network
WO2024065128A1 (en) Method for controlling connection of terminal device, and apparatus
WO2024031275A1 (en) Recording and reporting method and apparatus for successful handover report (shr) in radio access technology (rat)