WO2024065844A1 - Interaction method for path switching capabilities and apparatus therefor - Google Patents

Interaction method for path switching capabilities and apparatus therefor Download PDF

Info

Publication number
WO2024065844A1
WO2024065844A1 PCT/CN2022/123646 CN2022123646W WO2024065844A1 WO 2024065844 A1 WO2024065844 A1 WO 2024065844A1 CN 2022123646 W CN2022123646 W CN 2022123646W WO 2024065844 A1 WO2024065844 A1 WO 2024065844A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
direct communication
path switching
path
switching capability
Prior art date
Application number
PCT/CN2022/123646
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/123646 priority Critical patent/WO2024065844A1/en
Publication of WO2024065844A1 publication Critical patent/WO2024065844A1/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 path switching capability of a terminal device also called user equipment, User Equipment, UE
  • UE user equipment
  • PFC Policy Control function
  • the embodiment of the present application provides a path switching capability interaction method and device thereof, which can be used.
  • an embodiment of the present application provides a path switching capability interaction method, the method comprising:
  • a response message sent by the discovered second terminal device is received, where the response message is used to indicate a path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the other terminal device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • an embodiment of the present application provides another method for interacting with path switching capabilities, the method comprising:
  • a response message is sent to the first terminal device, where the response message is used to indicate the second path switching capability of the second terminal device.
  • 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 module and a processing module, and the processing module is configured to support the communication device to perform the corresponding functions in the above method.
  • the transceiver module is used to support communication between the communication device and other devices.
  • the communication device may also include a storage module, which is coupled to the transceiver module and the processing module, and stores computer programs and data necessary for the communication device.
  • the processing module may be a processor
  • the transceiver module may be a transceiver or a communication interface
  • the storage module 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 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 may 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 module and a processing module, and the processing module is configured to support the communication device to perform the corresponding functions in the above method.
  • the transceiver module is used to support communication between the communication device and other devices.
  • the communication device may also include a storage module, which is coupled to the transceiver module and the processing module, and stores computer programs and data necessary for the communication device.
  • 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 terminal device, and when the instructions are executed, the terminal device executes the method described in the 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, and is used to support a first 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, and the memory is used to store computer programs and data necessary for the first 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 second terminal device to implement the functions involved in the second 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, and the memory is used to store computer programs and data necessary for the second 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 flow chart of an interactive method for path switching capability provided in an embodiment of the present application.
  • FIG3 is a flow chart of another method for interacting with path switching capabilities provided in 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 flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG8 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.
  • word “if” as used herein may be interpreted as “at the time of” or “when” or “in response to determining” for the purpose of brevity and ease of understanding, the terms used herein when characterizing the size relationship are “greater than” or “less than”, “higher than” or “lower than”.
  • PC5 direct communication In order to support direct communication between terminal devices, the Sidelink communication mode is introduced.
  • the interface between the two terminal devices is the PC5 interface, and the communication between the two terminal devices through the PC5 interface is PC5 direct communication.
  • Proximity-based services support direct discovery and communication between terminal devices that are adjacent to each other.
  • Uu direct communication A terminal device communicates with another terminal device through a network device.
  • the interface between the two terminal devices is the Uu interface.
  • the communication between the two terminal devices through the Uu interface is Uu direct communication.
  • Protocol Data Unit is the information exchanged between peer layers by protocols in the protocol layer.
  • the Sidelink communication mode is introduced.
  • the interface between UE and UE is PC-5.
  • a UE can communicate with a network device (such as a base station) through the relay of another UE instead of directly connecting to the network device.
  • Figure 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure.
  • the communication system may include, but is not limited to, a network device and two terminal devices.
  • 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 disclosure. In actual applications, two or more network devices may be included.
  • the communication system shown in Figure 1 takes a network device 101 and two terminal devices UE (such as a first terminal device 102 and a second terminal device 103) as an example.
  • the first terminal device 102 and the second terminal device 103 communicate via a Sidelink direct link.
  • the first terminal device 102 can be directly connected to the network device 101 and communicate with the second terminal device 103 via the network device 101.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems.
  • the third generation (3G) universal mobile communication system (UMTS) long term evolution (LTE) system the fifth generation (5G) mobile communication system, the 5G new radio (NR) system, the sixth generation (6G) mobile communication system or other future new mobile communication systems.
  • the side link in the embodiments of the present application can also be called a side link or a through link.
  • the network device 101 in the embodiment of the present application may include 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 centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit (Control Unit).
  • CU centralized unit
  • DU distributed unit
  • Control Unit 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.
  • 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 (User Equipment, UE), a mobile station (Mobile Station, MS), a mobile terminal device (Mobile Terminal, 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 (Virtual Reality, VR) terminal device, an augmented reality (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 smart city (Smart City), a wireless terminal device in 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.
  • 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 method for controlling the transmission of information of a relay device provided in any embodiment of the present application can be executed alone, or can be executed in combination with possible implementation methods in other embodiments, or can be executed in combination with any technical solution in the related technology.
  • the first terminal device can send its own path switching capability to the second terminal device, and the second terminal device can send its own path switching capability to the first terminal device, so as to achieve the purpose of the path switching capability exchange between the terminal devices.
  • the two terminal devices exchange their respective path switching capabilities in the stage where the first terminal device discovers the second terminal device.
  • FIG. 2 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
  • the ProSe discovery request message is sent by the first terminal device to discover the second terminal devices around the first terminal device.
  • the first terminal device may periodically send a ProSe discovery request message, where the request message is used to discover the second terminal device.
  • the first terminal device may send a discovery request message of ProSe non-periodically.
  • the first terminal device may send a discovery request message of ProSe under certain set conditions.
  • the first terminal device and the second terminal device are in the same area, and the first terminal device may send a discovery request message of ProSe to the second terminal device based on some operations.
  • the first terminal device may notify the first terminal device. In this case, the first terminal device may also send a discovery request message of ProSe.
  • ProSe discovery request message is sent by the first terminal device, and the second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
  • the discovery request message of ProSe can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
  • S202 Receive a response message sent by a discovered second terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
  • the second terminal device can receive a ProSe discovery request message sent by the first terminal device.
  • the second terminal device may send a response message to the first terminal device, and accordingly, the first terminal device may receive the response message sent by the second terminal device.
  • the response message may be used to notify the first terminal device that the second terminal device exists around it.
  • the response message of the second terminal device can not only be used to notify the first terminal device of the existence of 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 first terminal device can be indicated to the second terminal device by including an indication of the path switching capability of the first terminal device in a discovery request message.
  • the path switching capability of the first terminal device can be indicated to the second terminal device as follows: the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the path switching capability of the second terminal device may be indicated to the first terminal device by including the path switching capability indication of the second terminal device in the response message.
  • the path switching capability of the second terminal device may be indicated to the first terminal device as follows: the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the first terminal device can determine whether the response message includes the path switching capability indication of the second terminal device. If the response message includes the path switching capability indication of the second terminal device, the first terminal device can determine the path switching capability of the second terminal device according to the path switching capability indication. If the response message does not include the path switching capability indication of the second terminal device, the first terminal device can determine that the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the path switching capability of the first terminal device is used to indicate whether the first terminal device allows PC5 direct communication, and/or whether it allows Uu direct communication.
  • the path switching capability of the second terminal device is used to indicate whether the second terminal device allows PC5 direct communication, and/or whether it allows Uu direct communication. It can be understood that if the first terminal device allows PC5 direct communication, the path switching capability of the first terminal device can support switching to the PC5 direct communication path. If the second terminal device allows Uu direct communication, the path switching capability of the first terminal device can support switching to the Uu direct communication path. If the first terminal device allows PC5 direct communication and allows 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.
  • the discovery request message and the response message may directly indicate to the peer device whether to allow switching from the PC5 direct communication path to the Uu direct communication path, and/or whether to allow switching from the PC5 direct communication path to the Uu direct communication path, through a path switching indication.
  • 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.
  • a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • FIG. 3 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
  • a ProSe discovery request message is sent by a first terminal device, and second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
  • the ProSe discovery request message can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
  • the path switching capability indication of the first terminal device can be carried in the ProSe discovery request message, and the path switching capability indication is used to indicate to the second terminal device whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  • a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message.
  • the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
  • the ProSe discovery request message may further include at least one of the following information: the type of discovery message, the ProSe query code, and security information of the first terminal device.
  • S302 Receive a response message sent by a discovered second terminal device, wherein the 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 the path switching capability of the second terminal device.
  • the second terminal device can receive the ProSe discovery request message sent by the first terminal device. After the second terminal device receives the ProSe discovery request message, the second terminal device can send a response message to the first terminal device, and accordingly, the first terminal device can receive the response message sent by the second terminal device.
  • the response message may carry a path switching capability indication of the second terminal device, through which the first terminal device is informed whether the second terminal device allows PC5 direct communication and/or allows Uu direct communication.
  • a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message.
  • the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
  • the response message of the second terminal device can not only be used to notify the first terminal device of the existence of 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 response message sent by the second terminal device may also include at least one of the following information: the type of discovery message, the response code of ProSe, and security information of the second terminal device.
  • the first terminal device can determine that the second terminal device allows PC5 direct communication and/or allows Uu direct communication. That is, based on the response message, it can be determined that the second terminal device can allow PC5 direct communication but not Uu direct communication, or does not allow PC5 direct communication but allows Uu direct communication, or allows PC5 direct communication and allows Uu direct communication; or does not allow PC5 direct communication and does not allow Uu direct communication.
  • 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 may be used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information may be used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the path switching capability indication includes first indication information, and it is determined according to the first indication information whether the terminal device allows PC5 direct communication or does not allow PC5 direct communication. For example, when the value of the first indication information is "1", it can be determined that PC5 direct communication is allowed, and when the value of the first indication information is "0", it can be determined that PC5 direct communication is not allowed. 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 allow Uu direct communication.
  • the path switching capability indication includes second indication information, and it is determined according to the second indication information whether the terminal device allows Uu direct communication or does not allow Uu direct communication. For example, when the value of the second indication information is "1", it can be determined that Uu direct communication is allowed, and when the value of the second indication information is "0", it can be determined that Uu direct communication is not allowed. 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 allow PC5 direct communication.
  • the path switching capability indication includes first indication information and second indication information, and whether the terminal device allows PC5 direct communication is determined according to the first indication information, and whether the terminal device allows 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 terminal device allows PC5 direct communication and allows Uu direct communication; if the path switching capability indication is "10", it can be determined that the terminal device allows PC5 direct communication and does not allow Uu direct communication; if the path switching capability indication is "01”, it can be determined that the terminal device does not allow PC5 direct communication and allows Uu direct communication; if the path switching capability indication is "00", it can be determined that the terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the path switching capability indication of the first terminal device and the second terminal device may be an index value, which may indicate whether the combination of PC5 direct communication and Uu direct communication is allowed.
  • index value 1 may indicate that the terminal device allows PC5 direct communication and allows Uu direct communication
  • index value 2 may indicate that the terminal device allows PC5 direct communication and does not allow Uu direct communication
  • index value 3 may indicate that the terminal device does not allow PC5 direct communication and allows Uu direct communication
  • index value 4 may indicate that the terminal device does not allow PC5 direct communication and does not allow 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 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.
  • a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • FIG 4 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
  • S402 Receive a response message sent by a discovered second terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
  • steps S401 to S402 For a detailed description of steps S401 to S402, reference may be made to the relevant contents in the above embodiments, such as the description of steps S201 to S202 or steps S301 to S302, which will not be repeated here.
  • S403 Establish a PC5 direct communication path with the second terminal device, and perform ProSe direct communication with the second terminal device through the PC5 direct communication path.
  • the first terminal device After the first terminal device receives the response message, it can be known that there is a second terminal device nearby, and can start to establish a PC5 direct communication path with the second terminal device.
  • Prose direct communication can be performed with the second terminal device.
  • S404 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 first terminal device may 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 a signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the first terminal device may 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 before switching from the PC5 direct communication path to the Uu direct communication path, can 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. It can be understood that when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication, it can be 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 allow Uu direct communication, and/or the second terminal device does not allow Uu direct communication, it can be determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • step S405 is executed; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, path switching is not performed, and a reminder can be issued in the first terminal device.
  • 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 conduct a PDU session with the network device, and establish a Uu direct communication path between the first terminal device and the network device during the PDU session.
  • 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 switch notification message to the second terminal device, and the switch notification message instructs the second terminal device to establish a Uu direct communication path with the network device.
  • the second terminal device can conduct a PDU session with the network device according to the switch notification message, and establish a Uu direct communication path between the second terminal device and the network device during the PDU session.
  • 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 and the second terminal device can switch from the PC5 direct communication path to the Uu direct communication path, and the first terminal device and the second terminal device continue to communicate through the Uu direct communication path.
  • the PC5 direct communication path can be released to save resources.
  • 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.
  • a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • Figure 5 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a second terminal device, and the method may include but is not limited to the following steps:
  • the ProSe discovery request message is sent by the first terminal device to discover the second terminal devices around the first terminal device.
  • ProSe discovery request message is sent by the first terminal device, and the second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
  • the discovery request message of ProSe can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
  • S502 Send a response message to the first terminal device, where the response message is used to indicate the path switching capability of the second terminal device.
  • the second terminal device may receive a ProSe discovery request message sent by the first terminal device. After receiving the ProSe discovery request message, the second terminal device may send a response message to the first terminal device. The response message may be used to notify the first terminal device that there is a second terminal device around the first terminal device.
  • the response message of the second terminal device can not only be used to notify the first terminal device of the existence of 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 first terminal device may be indicated to the second terminal device by including an indication of the path switching capability of the first terminal device in a discovery request message.
  • the path switching capability of the first terminal device can be indicated to the second terminal device as follows: the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the path switching capability of the second terminal device can be indicated to the first terminal device by including an indication of the path switching capability of the second terminal device in a response message.
  • the path switching capability of the second terminal device may be indicated to the first terminal device as follows: the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the first terminal device can determine whether the response message includes the path switching capability indication of the second terminal device. If the response message includes the path switching capability indication of the second terminal device, the first terminal device can determine the path switching capability of the second terminal device according to the path switching capability indication. If the response message does not include the path switching capability indication of the second terminal device, the first terminal device can determine that the second terminal device does not allow PC5 direct communication and does not allow 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 second terminal device can also discover other terminal devices around the second terminal device based on the discovery mechanism.
  • the second terminal discovers other terminal devices based on the discovery mechanism, and the process can refer to the processing flow of the first terminal device in the above embodiment.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • FIG. 6 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
  • S601 receiving a ProSe discovery request message sent by a first terminal device, wherein the discovery request message includes a path switching capability indication of the first terminal device.
  • a ProSe discovery request message is sent by a first terminal device, and second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
  • the ProSe discovery request message can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
  • the path switching capability indication of the first terminal device may be carried in the ProSe discovery request message, and the path switching capability indication may be used to indicate to the second terminal device whether the first terminal device allows PC5 direct communication and/or allows Uu direct communication.
  • a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message.
  • the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
  • the ProSe discovery request message may also include at least one of the following information: the type of discovery message, the ProSe query code, and security information of the first terminal device.
  • the second terminal device can determine based on the discovery request message whether the first and second terminal devices allow PC5 direct communication and/or allow Uu direct communication. That is, based on the response message, it can be determined that the first terminal device can allow PC5 direct communication but not Uu direct communication, or does not allow PC5 direct communication but allows Uu direct communication, or allows PC5 direct communication and Uu direct communication; or does not allow PC5 direct communication and does not allow Uu direct communication.
  • S602 Send a response message to the first terminal device, where the 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 the path switching capability of the second terminal device.
  • the second terminal device can receive the ProSe discovery request message sent by the first terminal device. After the second terminal device receives the ProSe discovery request message, the second terminal device can send a response message to the first terminal device, and accordingly, the first terminal device can receive the response message sent by the second terminal device.
  • the response message may carry a path switching capability indication of the second terminal device, through which the first terminal device is informed whether the second terminal device allows PC5 direct communication and/or allows Uu direct communication.
  • a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message.
  • the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
  • the response message of the second terminal device can not only be used to notify the first terminal device of the existence of 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 response message sent by the second terminal device may also include at least one of the following information: the type of discovery message, the response code of ProSe, and security information of the second 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 may be used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information may be used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the specific process please refer to the relevant contents of the above embodiment, which will not be repeated here.
  • the path switching capability indication of the first terminal device and the second terminal device may be an index value, which may indicate whether the combination of PC5 direct communication and Uu direct communication is allowed.
  • the specific process can be referred to the relevant contents of the above embodiment, which will not be repeated here.
  • 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.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • FIG. 7 is a flow chart of a path switching capability interaction method provided in an embodiment of the present application.
  • the execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
  • S701 receiving a ProSe discovery request message sent by a first terminal device, wherein the discovery request message is used to indicate a path switching capability of the first terminal device.
  • S702 Send a response message to the first terminal device, where the response message is used to indicate the path switching capability of the second terminal device.
  • steps S701 to S702 For a detailed description of steps S701 to S702, reference may be made to the relevant contents in the above embodiments, such as steps S501 to S502 or steps S601 to S602, which will not be repeated here.
  • S703 Establish a PC5 direct communication path with the first terminal device, and perform ProSe direct communication with the first terminal device through the PC5 direct communication path.
  • the first terminal device After the first terminal device receives the response message, it can be known that there is a second terminal device nearby, and can start to establish a PC5 direct communication path with the second terminal device.
  • Prose direct communication can be performed with the second terminal device.
  • S704 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 second terminal device may 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 a signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the second terminal device may 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 before switching from the PC5 direct communication path to the Uu direct communication path, the second terminal device can determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device.
  • the specific process can be found in the relevant contents of the above embodiment, which will not be repeated here.
  • step S705 is executed; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, path switching is not performed, and a reminder can be issued on the second terminal device.
  • 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 conduct a PDU session with the network device, and establish a Uu direct communication path between the second terminal device and the network device during the PDU session.
  • 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 (UPF2).
  • 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 switch notification message to the first terminal device, and the switch notification message instructs the first terminal device to establish a Uu direct communication path with the network device.
  • the first terminal device can conduct a PDU session with the network device according to the switch notification message, and establish a Uu direct communication path between the first terminal device and the network device during the PDU session.
  • 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.
  • UPF UPF
  • 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 and the second terminal device can switch from the PC5 direct communication path to the Uu direct communication path, and the first terminal device and the second terminal device continue to communicate through the Uu direct communication path.
  • the PC5 direct communication path can be released to save resources.
  • 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.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • Figure 8 is a flow chart of a method for interactively providing a path switching capability according to an embodiment of the present application.
  • the method may include but is not limited to the following steps:
  • S800 The first terminal device and the second terminal device perform Prose registration on the network device.
  • the first terminal device and the second terminal device respectively perform ProSe registration on the network device to obtain ProSe authentication and authorization of the first terminal device and the second terminal device by the network device.
  • a first terminal device sends a ProSe discovery request message to discover a second terminal device, wherein the discovery request message is used to indicate a path switching capability of the first terminal device.
  • the second terminal device sends a response message to the first terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
  • the first terminal device establishes a PC5 direct communication path with the second terminal device, and performs ProSe direct communication through the PC5 direct communication path.
  • the first terminal device determines whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device.
  • the second terminal device determines whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device.
  • step S804 and step S805 may be executed simultaneously, or only step S804 may be executed, or only step S805 may be executed.
  • the first terminal device communicates with the second terminal device via a Uu direct communication path.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • the methods provided by the embodiments of the present application are introduced from the perspectives of the first terminal device and the second terminal device, respectively.
  • the second terminal device and the second terminal device may include a hardware structure and a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • a certain function of the above functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • FIG. 9 is a schematic diagram of the structure of a communication device 900 provided in an embodiment of the present application.
  • the communication device 900 shown in Figure 9 may include a transceiver module 901 and a processing module 902.
  • the transceiver module 901 may include a sending module and/or a receiving module, the sending module is used to implement a sending function, the receiving module is used to implement a receiving function, and the transceiver module 901 may implement a sending function and/or a receiving function.
  • the communication device 900 may be a terminal device, or a device in a terminal device, or a device that can be used in conjunction with the terminal device.
  • the communication device 900 is a first terminal device:
  • the transceiver module 901 is used to send a discovery request message of the proximity service ProSe to discover the second terminal device, and the discovery request message is used to indicate the path switching capability of the first terminal device; and receive a response message sent by the second terminal device, and the response message is used to indicate the path switching capability of the second terminal device.
  • the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  • the discovery request message when the discovery request message includes the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
  • the discovery request message does not include the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  • the processing module 902 is used to determine that the second terminal device allows at least one of PC5 direct communication and Uu direct communication when the response message includes the path switching capability indication of the second terminal device; or, when the response message does not include the path switching capability indication of the second terminal device, determine that the second terminal device does not allow PC5 direct communication and does not allow 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the path switching capability indication is an index value of the path switching capability.
  • the transceiver module 901 is further configured to establish a PC5 direct communication path with the second terminal device; and perform the ProSe direct communication with the second terminal device through the PC5 direct communication path.
  • the processing module 902 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the second terminal device;
  • the transceiver module 901 is further configured to communicate with the second terminal device through the Uu direct communication path after the Uu direct communication path is created.
  • the transceiver module 901 is also used to send a switching notification message to the second terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the second terminal device to execute the PDU session to create the Uu direct communication path.
  • the processing module 902 is further configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication;
  • the first terminal device does not allow Uu direct communication and/or the second terminal device does not allow Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • the communication device 900 is a second network device:
  • the transceiver module 901 is used to receive a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device; and send a response message to the first terminal device, where the response message is used to indicate a second path switching capability of the second terminal device.
  • the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  • the processing module 902 is used to determine, when the discovery request message includes a path switching capability indication of the first terminal device, that the first terminal device allows at least one of PC5 direct communication and Uu direct communication based on the path switching capability indication; or, when the discovery request message does not include the path switching capability indication of the first terminal device, determine that the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed; or, the response message does not include a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  • 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the path switching capability indication is an index value of the path switching capability.
  • the transceiver module 901 is further used to establish a PC5 direct communication path with the first terminal device; and perform the ProSe direct communication with the first terminal device through the PC5 direct communication path.
  • the processing module 902 is further 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the first terminal device;
  • the transceiver module 901 is further configured to communicate with the first terminal device through the Uu direct communication path after the Uu direct communication path is created.
  • the transceiver module 901 is also used to send a switching notification message to the first terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the first terminal device to execute the PDU session to create the Uu direct communication path.
  • the processing module 902 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow Uu direct communication.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • FIG 10 is a schematic diagram of the structure of another communication device 1000 provided in an embodiment of the present application.
  • the communication device 1000 can be a first terminal device, or a second terminal device, or a chip, a chip system, or a processor that supports the first device or the second 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 1000 may include one or more processors 1001.
  • the processor 1001 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
  • 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 1000 may further include one or more memories 1002, on which a computer program 1004 may be stored, and the processor 1001 executes the computer program 1004 so that the communication device 1000 performs the method described in the above method embodiment.
  • data may also be stored in the memory 1002.
  • the communication device 1000 and the memory 1002 may be provided separately or integrated together.
  • the communication device 1000 may further include a transceiver 1005 and an antenna 1006.
  • the transceiver 1005 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., for implementing a transceiver function.
  • the transceiver 1005 may include a receiver and a transmitter, the receiver may be referred to as a receiver or a receiving circuit, etc., for implementing a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., for implementing a transmitting function.
  • the communication device 1000 may further include one or more interface circuits 1007.
  • the interface circuit 1007 is used to receive code instructions and transmit them to the processor 1001.
  • the processor 1001 executes the code instructions to enable the communication device 1000 to execute the method described in the above method embodiment.
  • the communication device 1000 is a first terminal device and can perform the functions of a first terminal device.
  • the communication device 1000 is a second terminal device and can perform the functions of a second terminal device.
  • the processor 1001 may include a transceiver for implementing 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 1001 may store a computer program 1003, which runs on the processor 1001 and enables the communication device 1000 to perform the method described in the above method embodiment.
  • the computer program 1003 may be fixed in the processor 1001, in which case the processor 1001 may be implemented by hardware.
  • the communication device 1000 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 (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS N-type metal oxide semiconductor
  • PMOS P-type metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • GaAs gallium arsenide
  • the communication device described in the above embodiments may be a network device or a terminal device (such as the first 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. 10.
  • 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 11 includes a processor 1101 and an interface 1102.
  • the number of processors 1101 can be one or more, and the number of interfaces 1102 can be multiple.
  • Interface 1102 used to send a ProSe discovery request message to discover a second terminal device, the discovery request message is used to indicate the path switching capability of the first terminal device; receive a response message sent by the second terminal device, the response message is used to indicate the path switching capability of the second terminal device
  • the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  • the discovery request message when the discovery request message includes the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
  • the discovery request message does not include the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  • processor 1101 is used to determine that the second terminal device allows at least one of PC5 direct communication and Uu direct communication when the response message includes a path switching capability indication of the second terminal device; or, when the response message does not include a path switching capability indication of the second terminal device, determine that the second terminal device does not allow PC5 direct communication and does not allow 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the path switching capability indication is an index value of the path switching capability.
  • the interface 1102 is further used to establish a PC5 direct communication path with the second terminal device; and perform the ProSe direct communication with the second terminal device through the PC5 direct communication path.
  • the processor 1101 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the second terminal device;
  • the interface 1102 is further used to communicate with the second terminal device through the Uu direct communication path after the Uu direct communication path is created.
  • interface 1102 is further used to send a switching notification message to the second terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the second terminal device to execute the PDU session to create the Uu direct communication path.
  • the processor 1101 is further configured to determine to allow switching from the PC5 direct communication path to the Uu direct communication path when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication;
  • the first terminal device does not allow Uu direct communication and/or the second terminal device does not allow Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
  • Interface 1102 is used to receive a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device; and send a response message to the first terminal device, where the response message is used to indicate a second path switching capability of the second terminal device.
  • the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  • processor 1101 is used to determine, when the discovery request message includes a path switching capability indication of the first terminal device, that the first terminal device allows at least one of PC5 direct communication and Uu direct communication based on the path switching capability indication; or, when the discovery request message does not include the path switching capability indication of the first terminal device, determine that the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  • the response message includes a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed; or, the response message does not include a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  • 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  • the path switching capability indication is an index value of the path switching capability.
  • the interface 1102 is further used to establish a PC5 direct communication path with the first terminal device; and perform the ProSe direct communication with the first terminal device through the PC5 direct communication path.
  • the processor 1101 is further 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the first terminal device;
  • the interface 1102 is further configured to communicate with the first terminal device through the Uu direct communication path after the Uu direct communication path is created.
  • interface 1102 is further used to send a switching notification message to the first terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the first terminal device to execute the PDU session to create the Uu direct communication path.
  • the processor 1101 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow Uu direct communication.
  • the chip 1100 further includes a memory 1103, and the memory 1103 is used to store necessary computer programs and data.
  • a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  • the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
  • An embodiment of the present application also provides a communication system, which includes the communication device as the first terminal device and the communication device as the second terminal device in the embodiment of Figure 8 above, or the system includes the communication device as the first terminal device and the communication device as the second terminal device in the embodiment of Figure 9 above.
  • 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 each table in the present 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 the present 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

Disclosed in the embodiments of the present application are an interaction method for path switching capabilities and an apparatus therefor, which can be applied to the technical field of communications. The method comprises: sending a ProSe discovery request message to discover a second terminal device, wherein the discovery request message is used for indicating a path switching capability of a first terminal device; and receiving a response message sent by the discovered second terminal device, wherein the response message is used for indicating a path switching capability of the second terminal device. In the present application, the first terminal device and the second terminal device can interact with respective path switching capabilities, thereby achieving the aim of implementing path switching capability interaction between terminal devices. Since a terminal device can learn of path switching capabilities of the terminal device itself and a peer device, the terminal device can make a determination when path switching is required, and the success rate of path switching can be improved.

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
相关技术中,终端设备(也称为用户设备,User Equipment,UE)的路径切换能力可以预先配置,也可以从策略控制功能(Policy Control function,PFC)中获取,但是终端设备之间无法交互路径切换能力。In the related art, the path switching capability of a terminal device (also called user equipment, User Equipment, UE) can be pre-configured or obtained from a policy control function (Policy Control function, PFC), but the path switching capability cannot be exchanged between terminal devices.
发明内容Summary of the invention
本申请实施例提供一种路径切换能力的交互方法及其装置,可以。The embodiment of the present application provides a path switching capability interaction method and device thereof, which can be used.
第一方面,本申请实施例提供一种路径切换能力的交互方法,该方法包括:In a first aspect, an embodiment of the present application provides a path switching capability interaction method, the method comprising:
发送邻近业务ProSe的发现请求消息以对第二终端设备进行发现,所述发现请求消息用于指示所述第一终端设备的路径切换能力;Sending a discovery request message of a proximity service ProSe to discover the second terminal device, where the discovery request message is used to indicate a path switching capability of the first terminal device;
接收发现的所述第二终端设备发送的响应消息,所述响应消息用于指示所述第二终端设备的路径切换能力。A response message sent by the discovered second terminal device is received, where the response message is used to indicate a path switching capability of the second terminal device.
在该技术方案中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In this technical solution, the first terminal device and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the other terminal device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
第二方面,本申请实施例提供另一种路径切换能力的交互方法,该方法包括:In a second aspect, an embodiment of the present application provides another method for interacting with path switching capabilities, the method comprising:
接收第一终端设备发送的ProSe的发送请求消息,所述请求消息用于指示所述第一终端设备的第一路径切换能力;Receiving a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device;
向所述第一终端设备发送响应消息,所述响应消息用于指示所述第二终端设备的第二路径切换能力。A response message is sent to the first terminal device, where the response message is used to indicate the second path switching capability of the second terminal device.
第三方面,本申请实施例提供一种通信装置,该通信装置具有实现上述第一方面所述的方法中第一终端设备的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。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 module and a processing module, and the processing module is configured to support the communication device to perform the corresponding functions in the above method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the transceiver module and the processing module, and stores computer programs and data necessary for the communication device.
作为示例,处理模块可以为处理器,收发模块可以为收发器或通信接口,存储模块可以为存储器。As an example, the processing module may be a processor, the transceiver module may be a transceiver or a communication interface, and the storage module 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 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 may 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 module and a processing module, and the processing module is configured to support the communication device to perform the corresponding functions in the above method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the transceiver module and the processing module, and stores computer programs and data necessary for the communication device.
第五方面,本申请实施例提供一种通信装置,该通信装置包括处理器,当该处理器调用存储器中的计算机程序时,执行上述第一方面所述的方法。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 terminal device, and when the instructions are executed, the terminal device executes the method described in the 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, and is used to support a first 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 a possible design, the chip system also includes a memory, and the memory is used to store computer programs and data necessary for the first 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 second terminal device to implement the functions involved in the second 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, and the memory is used to store computer programs and data necessary for the second 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 flow chart of an interactive method for path switching capability provided in an embodiment of the present application;
图3是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG3 is a flow chart of another method for interacting with path switching capabilities provided in 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 flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图8是本申请实施例提供的另一种路径切换能力的交互方法的流程示意图;FIG8 is a flow chart of another method for interacting with path switching capabilities provided in an embodiment of the present application;
图9是本申请实施例提供的一种通信装置的结构示意图;FIG9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;
图10是本申请实施例提供的一种通信装置的结构示意图;FIG10 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;
图11是本申请实施例提供的一种芯片的结构示意图。FIG. 11 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
在本公开实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开实施例。在本公开实施例和所附权利要求书中所使用的单数形式的“一种”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本公开实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”出于简洁和便于理解 的目的,本文在表征大小关系时,所使用的术语为“大于”或“小于”、“高于”或“低于”。但对于本领域技术人员来说,可以理解:术语“大于”也涵盖了“大于等于”的含义,“小于”也涵盖了“小于等于”的含义;术语“高于”涵盖了“高于等于”的含义,“低于”也涵盖了“低于等于”的含义。It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" for the purpose of brevity and ease of understanding, the terms used herein when characterizing the size relationship are "greater than" or "less than", "higher than" or "lower than". However, it can be understood by those skilled in the art that the term "greater than" also covers the meaning of "greater than or equal to", and "less than" also covers the meaning of "less than or equal to"; the term "higher than" covers the meaning of "higher than or equal to", and "lower than" also covers the meaning of "lower than or equal to".
为了便于理解,首先介绍本申请涉及的术语。To facilitate understanding, the terms involved in this application are first introduced.
PC5直接通信:为了支持终端设备与终端设备之间的直接通信,引入了Sidelink(侧链路)通信方式,两个终端设备间的接口为PC5接口,两个终端设备之间通过PC5接口进行的通信为PC5直接通信。PC5 direct communication: In order to support direct communication between terminal devices, the Sidelink communication mode is introduced. The interface between the two terminal devices is the PC5 interface, and the communication between the two terminal devices through the PC5 interface is PC5 direct communication.
邻近业务(proximity-based services,ProSe)支持在彼此相邻的终端设备之间进行直接发现和通信。Proximity-based services (ProSe) support direct discovery and communication between terminal devices that are adjacent to each other.
Uu直接通信:一个终端设备通过网络设备与另一个终端设备进行通信,两个终端设备之间的接口为Uu接口,两个终端设备之间通过Uu接口进行的通信,为Uu直接通信。Uu direct communication: A terminal device communicates with another terminal device through a network device. The interface between the two terminal devices is the Uu interface. The communication between the two terminal devices through the Uu interface is Uu direct communication.
协议数据单元PDU(Protocol Data Unit)是协议层的协议在对等层之间交换的信息。Protocol Data Unit (PDU) is the information exchanged between peer layers by protocols in the protocol layer.
为了支持终端设备(也称为用户设备,User Equipment,UE)与UE之间的直接通信,引入了Sidelink(侧链路)通信方式,UE与UE之间的接口为PC-5。一个UE可以不直接与网络设备(如基站)连接而通过另外一个UE的中继实现与网络设备的通信,In order to support direct communication between terminal devices (also called user equipment, User Equipment, UE) and UE, the Sidelink communication mode is introduced. The interface between UE and UE is PC-5. A UE can communicate with a network device (such as a base station) through the relay of another UE instead of directly connecting to the network device.
为了更好的理解本申请实施例公开的一种路径切换能力的交互方法,下面首先对本申请实施例适用的通信系统进行描述。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和两个终端设备UE(如第一终端设备102和第二终端设备103)为例。Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure. The communication system may include, but is not limited to, a network device and two terminal devices. 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 disclosure. In actual applications, two or more network devices may be included. The communication system shown in Figure 1 takes a network device 101 and two terminal devices UE (such as a first terminal device 102 and a second terminal device 103) as an example.
值得说明的是,在图1所示的无线通信系统中,第一终端设备102和第二终端设备103通过Sidelink直连链路通信。在一些实施方式种,第一终端设备102可以直接与网络设备101连接,通过网络设备101与第二终端设备103进行通信。It is worth noting that in the wireless communication system shown in Figure 1, the first terminal device 102 and the second terminal device 103 communicate via a Sidelink direct link. In some implementations, the first terminal device 102 can be directly connected to the network device 101 and communicate with the second terminal device 103 via the network device 101.
需要说明的是,本申请实施例的技术方案可以应用于各种通信系统。例如:第三代(3th Generation,3G)通用移动通信系统(Universal Mobile Telecommunications System,UMTS)长期演进(Long Term Evolution,LTE)系统、第五代(5th Generation,5G)移动通信系统、5G新空口(New Radio,NR)系统,第六代(5th Generation,6G)移动通信系统或者其他未来的新型移动通信系统等。还需要说明的是,本申请实施例中的侧链路还可以称为侧行链路或直通链路。It should be noted that the technical solutions of the embodiments of the present application can be applied to various communication systems. For example: the third generation (3G) universal mobile communication system (UMTS) long term evolution (LTE) system, the fifth generation (5G) mobile communication system, the 5G new radio (NR) system, the sixth generation (6G) mobile communication system or other future new mobile communication systems. It should also be noted that the side link in the embodiments of the present application can also be called a side link or a through link.
本申请实施例中的网络设备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 may include 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 centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit (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 (User Equipment, UE), a mobile station (Mobile Station, MS), a mobile terminal device (Mobile Terminal, 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 (Virtual Reality, VR) terminal device, an augmented reality (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 smart city (Smart City), a wireless terminal device in 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.
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。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.
需要说明的是,本申请中任一个实施例提供的控制中继设备信息发送的方法可以单独执行,或是结合其他实施例中的可能的实现方法一起被执行,还可以结合相关技术中的任一种技术方案一起被执行。It should be noted that the method for controlling the transmission of information of a relay device provided in any embodiment of the present application can be executed alone, or can be executed in combination with possible implementation methods in other embodiments, or can be executed in combination with any technical solution in the related technology.
本申请实施例中,第一终端设备可以向第二终端设备发送自身的路径切换能力,第二终端设备可以向第一终端设备发送自身的路径切换能力,以实现终端设备间可以交互路径切换能力的目的。下面各实施例在第一终端设备发现第二终端设备的阶段中,实现两个终端设备交互各自的路径切换能力。In the embodiment of the present application, the first terminal device can send its own path switching capability to the second terminal device, and the second terminal device can send its own path switching capability to the first terminal device, so as to achieve the purpose of the path switching capability exchange between the terminal devices. In the following embodiments, in the stage where the first terminal device discovers the second terminal device, the two terminal devices exchange their respective path switching capabilities.
下面结合附图对本申请所提供的路径切换能力的交互方法及其装置进行详细地介绍。The path switching capability interaction method and device provided by the present application are described in detail below with reference to the accompanying drawings.
请参考图2,图2为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法的执行主体为第一终端设备,该方法可以包括但不限于以下步骤:Please refer to Figure 2, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
S201,发送ProSe的发现请求消息以对第二终端设备进行发现,其中,发送请求消息用于指示第一终端设备的路径切换能力。S201, sending a ProSe discovery request message to discover a second terminal device, wherein the request message is used to indicate a path switching capability of the first terminal device.
需要说明的是,ProSe的发现请求消息由第一终端设备发送,以对第一终端设备周围的第二终端设备进行发现。It should be noted that the ProSe discovery request message is sent by the first terminal device to discover the second terminal devices around the first terminal device.
在一些实现中,第一终端设备可以周期性发送ProSe的发现请求消息,该发送请求消息用于发现第二终端设备。In some implementations, the first terminal device may periodically send a ProSe discovery request message, where the request message is used to discover the second terminal device.
在又一些实现中,第一终端设备可以非周期性的发送ProSe的发现请求消息。可选地,第一终端设备可以在满足一些设定条件下发送ProSe的发现请求消息。例如,第一终端设备与第二终端设备处于同一区域,第一终端设备可以基于一些操作向第二终端设备发送ProSe的发现请求消息。再例如,若第一终端设备处于一个局域网中,第二终端设备接入该局域网时,可以通知给第一终端设备,此种情况下,第一终端设备也可以发送ProSe的发现请求消息。In some other implementations, the first terminal device may send a discovery request message of ProSe non-periodically. Optionally, the first terminal device may send a discovery request message of ProSe under certain set conditions. For example, the first terminal device and the second terminal device are in the same area, and the first terminal device may send a discovery request message of ProSe to the second terminal device based on some operations. For another example, if the first terminal device is in a local area network, when the second terminal device accesses the local area network, it may notify the first terminal device. In this case, the first terminal device may also send a discovery request message of ProSe.
需要说明的是,ProSe的发现请求消息由第一终端设备发送,通过该ProSe的发现请求消息对第一终端设备周围的第二终端设备进行发现。It should be noted that the ProSe discovery request message is sent by the first terminal device, and the second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
本申请实施例中,ProSe的发现请求消息不仅可以用于发现周围的第二终端设备,还可以用于向周围的第二终端设备指示第一终端设备的路径切换能力。In an embodiment of the present application, the discovery request message of ProSe can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
S202,接收发现的第二终端设备发送的响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。S202: Receive a response message sent by a discovered second terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
在第一终端设备的周围存在第二终端设备时,第二终端设备可以接收到第一终端设备发送的ProSe的发现请求消息。When there is a second terminal device around the first terminal device, the second terminal device can receive a ProSe discovery request message sent by the first terminal device.
当存在第二终端设备接收到ProSe的发现请求消息后,第二终端设备可以向第一终端设备发送响应消息,相应地,第一终端设备可以接收到第二终端设备发送的响应消息。响应消息可以用于通知第一终端设备周围存在第二终端设备。When the second terminal device receives the ProSe discovery request message, the second terminal device may send a response message to the first terminal device, and accordingly, the first terminal device may receive the response message sent by the second terminal device. The response message may be used to notify the first terminal device that the second terminal device exists around it.
本申请实施例中,第二终端设备的响应消息不仅可以用于通知第一终端设备存在第二终端设备,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In the embodiment of the present application, the response message of the second terminal device can not only be used to notify the first terminal device of the existence of the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现中,可以通过在发现请求消息中包括第一终端设备的路径切换能力指示,向第二终端设 备指示第一终端设备的路径切换能力。In some implementations, the path switching capability of the first terminal device can be indicated to the second terminal device by including an indication of the path switching capability of the first terminal device in a discovery request message.
在一些实现中,若发现请求消息未包括第一终端设备的路径切换能力指示,可以向第二终端设备指示第一终端设备的路径切换能力为:第一终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, if it is found that the 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 indicated to the second terminal device as follows: the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,可以通过在响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指示第二终端设备的路径切换能力。In some implementations, the path switching capability of the second terminal device may be indicated to the first terminal device by including the path switching capability indication of the second terminal device in the response message.
在一些实现中,若响应消息中未包括第二终端设备的路径切换能力指示,可以向第一终端设备指示第二终端设备的路径切换能力为:第二终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, if the response message does not include the path switching capability indication of the second terminal device, the path switching capability of the second terminal device may be indicated to the first terminal device as follows: the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
也就是说,第一终端设备可以判断响应消息中是否包括第二终端设备的路径切换能力指示。若响应消息中包括第二终端设备的路径切换能力指示,第一终端设备可以根据该路径切换能力指示确定第二终端设备的路径切换能力。若响应消息中未包括第二终端设备的路径切换能力指示,第一终端设备可以确定第二终端设备不允许PC5直接通信,且不允许Uu直接通信。That is, the first terminal device can determine whether the response message includes the path switching capability indication of the second terminal device. If the response message includes the path switching capability indication of the second terminal device, the first terminal device can determine the path switching capability of the second terminal device according to the path switching capability indication. If the response message does not include the path switching capability indication of the second terminal device, the first terminal device can determine that the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
需要说明的是,第一终端设备的路径切换能力,用于指示第一终端设备是否允许PC5直接通信,和/或,是否允许Uu直接通信。第二终端设备的路径切换能力,用于指示第二终端设备是否允许PC5直接通信,和/或,是否允许Uu直接通信。可以理解的是,若第一终端设备允许PC5直接通信,第一终端设备的路径切换能力可以支持切换至PC5直接通信路径。若第二终端设备允许Uu直接通信,第一终端设备的路径切换能力可以支持切换至Uu直接通信路径。若第一终端设备允许PC5直接通信,且允许Uu直接通信,第一终端设备的路径切换能力可以支持在PC5直接通信路径和Uu直接通信之间切换。It should be noted that the path switching capability of the first terminal device is used to indicate whether the first terminal device allows PC5 direct communication, and/or whether it allows Uu direct communication. The path switching capability of the second terminal device is used to indicate whether the second terminal device allows PC5 direct communication, and/or whether it allows Uu direct communication. It can be understood that if the first terminal device allows PC5 direct communication, the path switching capability of the first terminal device can support switching to the PC5 direct communication path. If the second terminal device allows Uu direct communication, the path switching capability of the first terminal device can support switching to the Uu direct communication path. If the first terminal device allows PC5 direct communication and allows 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.
在一些实现中,发现请求消息和响应消息可以通过一个路径切换指示,向对端设备直接指示是否允许从PC5直接通信路径切换至Uu直接通信路径,和/或,否允许从PC5直接通信路径切换至Uu直接通信路径。In some implementations, the discovery request message and the response message may directly indicate to the peer device whether to allow switching from the PC5 direct communication path to the Uu direct communication path, and/or whether to allow switching from the PC5 direct communication path to the Uu direct communication path, through a path switching indication.
在需要说明的是,第一终端设备和第二终端设备在执行步骤S201和S202之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S201 and S202, 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.
本申请实施例中,发送ProSe的发现请求消息以发现第二终端设备,其中,发送请求消息用于指示第一终端设备的路径切换能力,接收第二终端设备发送的响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图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 execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
S301,发送ProSe的发现请求消息以对第二终端设备进行发现,其中,发现请求消息包括第一终端设备的路径切换能力指示。S301 , sending a ProSe discovery request message to discover a second terminal device, wherein the discovery request message includes a path switching capability indication of the first terminal device.
本申请实施例中,ProSe的发现请求消息由第一终端设备发送,通过该ProSe的发现请求消息对第一终端设备周围的第二终端设备进行发现。In an embodiment of the present application, a ProSe discovery request message is sent by a first terminal device, and second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
也就是说,该ProSe的发现请求消息不仅可以用于发现周围的第二终端设备,还可以用于向周围的第二终端设备指示第一终端设备的路径切换能力。That is to say, the ProSe discovery request message can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
在一些实现中,可以在ProSe的发现请求消息中携带第一终端设备的路径切换能力指示,通过该路 径切换能力指示,向第二终端设备指示第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。In some implementations, the path switching capability indication of the first terminal device can be carried in the ProSe discovery request message, and the path switching capability indication is used to indicate to the second terminal device whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
可以理解的是,本申请实例中,在原有ProSe的发现请求消息中增加了路径切换能力指示,例如,可以在ProSe的发现请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用ProSe的发现请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。It can be understood that, in the example of the present application, a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message. For another example, the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
可选地,ProSe的发现请求消息还可以包括以下信息中的至少一种:发现消息的类型、ProSe的查询码、第一终端设备的安全信息。Optionally, the ProSe discovery request message may further include at least one of the following information: the type of discovery message, the ProSe query code, and security information of the first terminal device.
S302,接收发现的第二终端设备发送的响应消息,其中,响应消息包括第二终端设备的路径切换能力指示。S302: Receive a response message sent by a discovered second terminal device, wherein the 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 the path switching capability of the second terminal device.
在第一终端设备的周围存在第二终端设备时,第二终端设备可以接收到第一终端设备发送的ProSe的发现请求消息。当存在第二终端设备接收到ProSe的发现请求消息后,第二终端设备可以向第一终端设备发送响应消息,相应地,第一终端设备可以接收到第二终端设备发送的响应消息。When there is a second terminal device around the first terminal device, the second terminal device can receive the ProSe discovery request message sent by the first terminal device. After the second terminal device receives the ProSe discovery request message, the second terminal device can send a response message to the first terminal device, and accordingly, the first terminal device can receive the response message sent by the second terminal device.
在一些实现中,可以在响应消息中携带第二终端设备的路径切换能力指示,通过该路径切换能力指示,向第一终端设备指示第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。In some implementations, the response message may carry a path switching capability indication of the second terminal device, through which the first terminal device is informed whether the second terminal device allows PC5 direct communication and/or allows Uu direct communication.
可以理解的是,本申请实例中,在原有ProSe的发现请求消息中增加了路径切换能力指示,例如,可以在ProSe的发现请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用ProSe的发现请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。It can be understood that, in the example of the present application, a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message. For another example, the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
本申请实施例中,第二终端设备的响应消息不仅可以用于通知第一终端设备存在第二终端设备,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In the embodiment of the present application, the response message of the second terminal device can not only be used to notify the first terminal device of the existence of the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
可选地,第二终端设备发送的响应消息还可以包括以下信息中的至少一种:发现消息的类型、ProSe的响应码、第二终端设备的安全信息。Optionally, the response message sent by the second terminal device may also include at least one of the following information: the type of discovery message, the response code of ProSe, and security information of the second terminal device.
可选地,第一终端设备接收到响应消息后,可以确定第二终端设备允许PC5直接通信,和/或,允许Uu直接通信,也就是说,可以根据响应消息,确定第二终端设备可以允许PC5直接通信,不允许Uu直接通信,或者不允许PC5直接通信,但允许Uu直接通信,或者,允许PC5直接通信且允许Uu直接通信;或者,不允许PC5直接通信,且不允许Uu直接通信。Optionally, after receiving the response message, the first terminal device can determine that the second terminal device allows PC5 direct communication and/or allows Uu direct communication. That is, based on the response message, it can be determined that the second terminal device can allow PC5 direct communication but not Uu direct communication, or does not allow PC5 direct communication but allows Uu direct communication, or allows PC5 direct communication and allows Uu direct communication; or does not allow PC5 direct communication and does not allow Uu direct communication.
作为一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示均可以包括第一指示信息和/或第二指示信息。其中,第一指示信息可以用于指示对应的终端设备是否允许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 may be used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information may be used to indicate whether the corresponding terminal device allows 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 terminal device allows PC5 direct communication or does not allow PC5 direct communication. For example, when the value of the first indication information is "1", it can be determined that PC5 direct communication is allowed, and when the value of the first indication information is "0", it can be determined that PC5 direct communication is not allowed. 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 allow 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 terminal device allows Uu direct communication or does not allow Uu direct communication. For example, when the value of the second indication information is "1", it can be determined that Uu direct communication is allowed, and when the value of the second indication information is "0", it can be determined that Uu direct communication is not allowed. 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 allow 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 terminal device allows PC5 direct communication is determined according to the first indication information, and whether the terminal device allows 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 terminal device allows PC5 direct communication and allows Uu direct communication; if the path switching capability indication is "10", it can be determined that the terminal device allows PC5 direct communication and does not allow Uu direct communication; if the path switching capability indication is "01", it can be determined that the terminal device does not allow PC5 direct communication and allows Uu direct communication; if the path switching capability indication is "00", it can be determined that the terminal device does not allow PC5 direct communication and does not allow 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 be an index value, which may indicate whether the combination of PC5 direct communication and Uu direct communication is allowed. For example, index value 1 may indicate that the terminal device allows PC5 direct communication and allows Uu direct communication; index value 2 may indicate that the terminal device allows PC5 direct communication and does not allow Uu direct communication; index value 3 may indicate that the terminal device does not allow PC5 direct communication and allows Uu direct communication; index value 4 may indicate that the terminal device does not allow PC5 direct communication and does not allow 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 response message.
可以理解的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It can be understood 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.
需要说明的是,第一终端设备和第二终端设备在执行步骤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.
本申请实施例中,发送ProSe的发现请求消息以发现第二终端设备,其中,发送请求消息用于指示第一终端设备的路径切换能力,接收第二终端设备发送的响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图4,图4为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法的执行主体为第一终端设备,该方法可以包括但不限于以下步骤:Please refer to Figure 4, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
S401,发送ProSe的发现请求消息以对第二终端设备进行发现,其中,发现请求消息用于指示第一终端设备的路径切换能力。S401, sending a ProSe discovery request message to discover a second terminal device, wherein the discovery request message is used to indicate a path switching capability of a first terminal device.
S402,接收发现的第二终端设备发送的响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。S402: Receive a response message sent by a discovered second terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
关于步骤S401~S402的具体介绍,可参见上述实施例中相关内容如步骤S201~S202或步骤S301~S302的记载,此处不再赘述。For a detailed description of steps S401 to S402, reference may be made to the relevant contents in the above embodiments, such as the description of steps S201 to S202 or steps S301 to S302, which will not be repeated here.
S403,与第二终端设备建立PC5直接通信路径,并通过PC5直接通信路径与第二终端设备进行ProSe直接通信。S403: Establish a PC5 direct communication path with the second terminal device, and perform ProSe direct communication with the second terminal device through the PC5 direct communication path.
在第一终端设备接收到响应消息后,可以得知周围存在第二终端设备,就可以开始与第二终端设备建立PC5直接通信路径。After the first terminal device receives the response message, it can be known that there is a second terminal device nearby, and can start to establish a PC5 direct communication path with the second terminal device.
在第一终端设备和第二终端设备建立PC5直接通信链路后,就可以与第二终端设备之间进行Prose直接通信。After the first terminal device and the second terminal device establish a PC5 direct communication link, Prose direct communication can be performed with the second terminal device.
S404,根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5 直接通信路径切换至Uu直接通信路径。S404: 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直接通信路径进行ProSe直接通信的过程中,第一终端设备可以实时检测PC5直接通信路径的信号质量,在检测到PC5直接通信路径的信号质量未满足信号质量条件时,为了保证第一终端设备和第二终端设备之间的通信质量,第一终端设备可以尝试从PC5直接通信路径向Uu直接通信路径切换。In some implementations, during ProSe direct communication between a first terminal device and a second terminal device via a PC5 direct communication path, the first terminal device may 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 a signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the first terminal device may 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直接通信路径。可以理解的是,在第一终端设备允许Uu直接通信,且第二终端设备允许Uu直接通信的情况下,可以确定出允许从PC5直接通信路径切换至Uu直接通信路径。而在第一终端设备不允许Uu直接通信,和/或,第二终端设备不允许Uu直接通信的情况下,可以确定出不允许从PC5直接通信路径切换至Uu直接通信路径。In the embodiment of the present application, before switching from the PC5 direct communication path to the Uu direct communication path, the first terminal device can 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. It can be understood that when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication, it can be 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 allow Uu direct communication, and/or the second terminal device does not allow Uu direct communication, it can be determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
在确定出允许从PC5直接通信路径切换至Uu直接通信路径的情况下,执行步骤S405;而在确定出不从PC5直接通信路径切换至Uu直接通信路径的情况下,不进行路径切换,可以在第一终端设备进行提醒。If it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, step S405 is executed; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, path switching is not performed, and a reminder can be issued in the first terminal device.
S405,在确定出允许从PC5直接通信路径切换至Uu直接通信路径的情况下,执行PDU会话创建与第二终端设备间的Uu直接通信路径。S405: When it is determined that the switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create a Uu direct communication path with the second terminal device.
S406,向第二终端设备发送切换通知消息,其中,切换通知消息用于指示第二终端设备执行PDU会话以创建与第一终端设备间的Uu直接通信路径。S406, sending a switching notification message to the second terminal device, wherein the switching notification message is used to instruct the second terminal device to execute a PDU session to create a Uu direct communication path with the first terminal device.
可以理解的是,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会话的过程中建立第一终端设备与网络设备之间的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 conduct a PDU session with the network device, and establish a Uu direct communication path between the first terminal device and the network device during the PDU session. 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直接通信路径的情况下,第一终端设备还需要向第二终端设备发送切换通知消息,该切换通知消息指示第二终端设备与网络设备进行Uu直接通信路径的建立。相应地,第二终端设备根据切换通知消息,可以与网络设备进行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 switch notification message to the second terminal device, and the switch notification message instructs the second terminal device to establish a Uu direct communication path with the network device. Accordingly, the second terminal device can conduct a PDU session with the network device according to the switch notification message, and establish a Uu direct communication path between the second terminal device and the network device during the PDU session. 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).
S407,在Uu直接通信路径创建完成后,与第二终端设备通过Uu直接通信路径进行通信。S407: After the Uu direct communication path is created, communicate with the second terminal device through the Uu direct communication path.
在第一终端设备和第二终端设备完成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 and the second terminal device can switch from the PC5 direct communication path to the Uu direct communication path, and the first terminal device and the second terminal device continue to communicate 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.
需要说明的是,第一终端设备和第二终端设备在执行步骤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.
本申请实施例中,发送ProSe的发现请求消息以发现第二终端设备,其中,发送请求消息用于指示第一终端设备的路径切换能力,接收第二终端设备发送的响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message is sent to discover a second terminal device, wherein the request message is used to indicate the path switching capability of the first terminal device, and a response message sent by the second terminal device is received, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图5,图5为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法的执行主体为第二终端设备,该方法可以包括但不限于以下步骤:Please refer to Figure 5, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The execution subject of the path switching capability interaction method is a second terminal device, and the method may include but is not limited to the following steps:
S501,接收第一终端设备发送的ProSe的发现请求消息,其中,发送请求消息用于指示第一终端设备的路径切换能力。S501, receiving a ProSe discovery request message sent by a first terminal device, wherein the request message is used to indicate a path switching capability of the first terminal device.
需要说明的是,ProSe的发现请求消息由第一终端设备发送,以对第一终端设备周围的第二终端设备进行发现。It should be noted that the ProSe discovery request message is sent by the first terminal device to discover the second terminal devices around the first terminal device.
关于第一终端设备发送ProSe的发现请求消息的时机,可参见上述实施例中相关内容如步骤S201中的记载,此处不再赘述。Regarding the timing when the first terminal device sends the ProSe discovery request message, please refer to the relevant content in the above embodiment such as the record in step S201, which will not be repeated here.
需要说明的是,ProSe的发现请求消息由第一终端设备发送,通过该ProSe的发现请求消息对第一终端设备周围的第二终端设备进行发现。It should be noted that the ProSe discovery request message is sent by the first terminal device, and the second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
本申请实施例中,ProSe的发现请求消息不仅可以用于发现周围的第二终端设备,还可以用于向周围的第二终端设备指示第一终端设备的路径切换能力。In an embodiment of the present application, the discovery request message of ProSe can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
S502,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。S502: Send a response message to the first terminal device, where the response message is used to indicate the path switching capability of the second terminal device.
第二终端设备处于第一终端设备的周围时,第二终端设备可以接收到第一终端设备发送的ProSe的发现请求消息。当接收到ProSe的发现请求消息后,第二终端设备可以向第一终端设备发送响应消息。其中,该响应消息可以用于通知第一终端设备周围存在第二终端设备。When the second terminal device is around the first terminal device, the second terminal device may receive a ProSe discovery request message sent by the first terminal device. After receiving the ProSe discovery request message, the second terminal device may send a response message to the first terminal device. The response message may be used to notify the first terminal device that there is a second terminal device around the first terminal device.
本申请实施例中,第二终端设备的响应消息不仅可以用于通知第一终端设备存在第二终端设备,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In the embodiment of the present application, the response message of the second terminal device can not only be used to notify the first terminal device of the existence of the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
在一些实现中,可以通过在发现请求消息中包括第一终端设备的路径切换能力指示,向第二终端设备指示第一终端设备的路径切换能力。In some implementations, the path switching capability of the first terminal device may be indicated to the second terminal device by including an indication of the path switching capability of the first terminal device in a discovery request message.
在一些实现中,若发现请求消息未包括第一终端设备的路径切换能力指示,可以向第二终端设备指示第一终端设备的路径切换能力为:第一终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, if it is found that the 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 indicated to the second terminal device as follows: the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,可以通过在响应消息中包括第二终端设备的路径切换能力指示,向第一终端设备指 示第二终端设备的路径切换能力。In some implementations, the path switching capability of the second terminal device can be indicated to the first terminal device by including an indication of the path switching capability of the second terminal device in a response message.
在一些实现中,若响应消息中未包括第二终端设备的路径切换能力指示,可以向第一终端设备指示第二终端设备的路径切换能力为:第二终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, if the response message does not include the path switching capability indication of the second terminal device, the path switching capability of the second terminal device may be indicated to the first terminal device as follows: the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
也就是说,第一终端设备可以判断响应消息中是否包括第二终端设备的路径切换能力指示。若响应消息中包括第二终端设备的路径切换能力指示,第一终端设备可以根据该路径切换能力指示确定第二终端设备的路径切换能力。若响应消息中未包括第二终端设备的路径切换能力指示,第一终端设备可以确定第二终端设备不允许PC5直接通信,且不允许Uu直接通信。That is, the first terminal device can determine whether the response message includes the path switching capability indication of the second terminal device. If the response message includes the path switching capability indication of the second terminal device, the first terminal device can determine the path switching capability of the second terminal device according to the path switching capability indication. If the response message does not include the path switching capability indication of the second terminal device, the first terminal device can determine that the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
关于第一终端设备的路径切换能力和第二终端设备的路径切换能力的解释说明,可参见上述实施例中相关内容的记载,此处不再赘述。For explanations of the path switching capability of the first terminal device and the path switching capability of the second terminal device, reference may be made to the relevant contents in the above embodiments, which will not be repeated here.
需要说明的是,第一终端设备和第二终端设备在执行步骤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 perform network registration to perform network authentication and authorization on the first terminal device and the second terminal device.
可以理解的是,第二终端设备也可以基于发现机制,发现存在第二终端设备周围的其他终端设备。在第二终端基于发现机制去发现其他终端设备,其过程可参见上述实施例中第一终端设备的处理流程。It is understandable that the second terminal device can also discover other terminal devices around the second terminal device based on the discovery mechanism. The second terminal discovers other terminal devices based on the discovery mechanism, and the process can refer to the processing flow of the first terminal device in the above embodiment.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图6,图6为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法的执行主体为第一终端设备,该方法可以包括但不限于以下步骤:Please refer to Figure 6, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
S601,接收第一终端设备发送的ProSe的发现请求消息,其中,发现请求消息包括第一终端设备的路径切换能力指示。S601, receiving a ProSe discovery request message sent by a first terminal device, wherein the discovery request message includes a path switching capability indication of the first terminal device.
本申请实施例中,ProSe的发现请求消息由第一终端设备发送,通过该ProSe的发现请求消息对第一终端设备周围的第二终端设备进行发现。In an embodiment of the present application, a ProSe discovery request message is sent by a first terminal device, and second terminal devices around the first terminal device are discovered through the ProSe discovery request message.
也就是说,该ProSe的发现请求消息不仅可以用于发现周围的第二终端设备,还可以用于向周围的第二终端设备指示第一终端设备的路径切换能力。That is to say, the ProSe discovery request message can not only be used to discover surrounding second terminal devices, but also be used to indicate the path switching capability of the first terminal device to the surrounding second terminal devices.
在一些实现中,可以在ProSe的发现请求消息中携带第一终端设备的路径切换能力指示,通过该路径切换能力指示,向第二终端设备指示第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。In some implementations, the path switching capability indication of the first terminal device may be carried in the ProSe discovery request message, and the path switching capability indication may be used to indicate to the second terminal device whether the first terminal device allows PC5 direct communication and/or allows Uu direct communication.
可以理解的是,本申请实例中,在原有ProSe的发现请求消息中增加了路径切换能力指示,例如,可以在ProSe的发现请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用ProSe的发现请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。It can be understood that, in the example of the present application, a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message. For another example, the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
可选地,ProSe的发现请求消息还可以包括以下信息中的至少一种:发现消息的类型、ProSe的查询码、第一终端设备的安全信息。Optionally, the ProSe discovery request message may also include at least one of the following information: the type of discovery message, the ProSe query code, and security information of the first terminal device.
可选地,第二终端设备接收到ProSe的发现请求消息后,可以根据该发现请求消息确定第一二终端设备允许PC5直接通信,和/或,允许Uu直接通信,也就是说,可以根据响应消息,确定第一终端设备可以允许PC5直接通信,不允许Uu直接通信,或者不允许PC5直接通信,但允许Uu直接通信,或者, 允许PC5直接通信且允许Uu直接通信;或者,不允许PC5直接通信,且不允许Uu直接通信。Optionally, after receiving the discovery request message of ProSe, the second terminal device can determine based on the discovery request message whether the first and second terminal devices allow PC5 direct communication and/or allow Uu direct communication. That is, based on the response message, it can be determined that the first terminal device can allow PC5 direct communication but not Uu direct communication, or does not allow PC5 direct communication but allows Uu direct communication, or allows PC5 direct communication and Uu direct communication; or does not allow PC5 direct communication and does not allow Uu direct communication.
S602,向第一终端设备发送响应消息,其中,响应消息包括第二终端设备的路径切换能力指示。S602: Send a response message to the first terminal device, where the 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 the path switching capability of the second terminal device.
在第一终端设备的周围存在第二终端设备时,第二终端设备可以接收到第一终端设备发送的ProSe的发现请求消息。当存在第二终端设备接收到ProSe的发现请求消息后,第二终端设备可以向第一终端设备发送响应消息,相应地,第一终端设备可以接收到第二终端设备发送的响应消息。When there is a second terminal device around the first terminal device, the second terminal device can receive the ProSe discovery request message sent by the first terminal device. After the second terminal device receives the ProSe discovery request message, the second terminal device can send a response message to the first terminal device, and accordingly, the first terminal device can receive the response message sent by the second terminal device.
在一些实现中,可以在响应消息中携带第二终端设备的路径切换能力指示,通过该路径切换能力指示,向第一终端设备指示第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。In some implementations, the response message may carry a path switching capability indication of the second terminal device, through which the first terminal device is informed whether the second terminal device allows PC5 direct communication and/or allows Uu direct communication.
可以理解的是,本申请实例中,在原有ProSe的发现请求消息中增加了路径切换能力指示,例如,可以在ProSe的发现请求消息的空闲信息域中增加该路径切换能力指示。再例如,可以复用ProSe的发现请求消息的指定信息域,在该指定信息域中增加该路径切换能力指示。It can be understood that, in the example of the present application, a path switching capability indication is added to the original ProSe discovery request message, for example, the path switching capability indication can be added to the idle information field of the ProSe discovery request message. For another example, the specified information field of the ProSe discovery request message can be reused, and the path switching capability indication can be added to the specified information field.
本申请实施例中,第二终端设备的响应消息不仅可以用于通知第一终端设备存在第二终端设备,还可以用于向第一终端设备指示第二终端设备的路径切换能力。In the embodiment of the present application, the response message of the second terminal device can not only be used to notify the first terminal device of the existence of the second terminal device, but also be used to indicate the path switching capability of the second terminal device to the first terminal device.
可选地,第二终端设备发送的响应消息还可以包括以下信息中的至少一种:发现消息的类型、ProSe的响应码、第二终端设备的安全信息。Optionally, the response message sent by the second terminal device may also include at least one of the following information: the type of discovery message, the response code of ProSe, and security information of the second 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 may be used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information may be used to indicate whether the corresponding terminal device allows Uu direct communication. For the specific process, please refer to the relevant contents of the above embodiment, which will not be repeated here.
作为另一种可能的实现方式,第一终端设备和第二终端设备的路径切换能力指示可以为一个索引值,该索引值可以指示PC5直接通信和Uu直接通信是否允许的组合情况。具体过程可参见上述实施例中相关内容的记载,此处不再赘述。As another possible implementation, the path switching capability indication of the first terminal device and the second terminal device may be an index value, which may indicate whether the combination of PC5 direct communication and Uu direct communication is allowed. The specific process can be referred to the relevant contents of the above embodiment, which will not be repeated here.
可以理解的是,上述对路径切换能力指示的示意说明,适用于第一终端设备的路径切换能力指示和第二终端设备的路径切换能力指示。It can be understood 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.
需要说明的是,第一终端设备和第二终端设备在执行步骤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.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图7,图7为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该路径切换能力的交互方法的执行主体为第一终端设备,该方法可以包括但不限于以下步骤:Please refer to Figure 7, which is a flow chart of a path switching capability interaction method provided in an embodiment of the present application. The execution subject of the path switching capability interaction method is a first terminal device, and the method may include but is not limited to the following steps:
S701,接收第一终端设备发送的ProSe的发现请求消息,其中,发现请求消息用于指示第一终端设备的路径切换能力。S701, receiving a ProSe discovery request message sent by a first terminal device, wherein the discovery request message is used to indicate a path switching capability of the first terminal device.
S702,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。S702: Send a response message to the first terminal device, where the response message is used to indicate the path switching capability of the second terminal device.
关于步骤S701~S702的具体介绍,可参见上述实施例中相关内容如步骤S501~S502或步骤S601~S602的记载,此处不再赘述。For a detailed description of steps S701 to S702, reference may be made to the relevant contents in the above embodiments, such as steps S501 to S502 or steps S601 to S602, which will not be repeated here.
S703,与第一终端设备建立PC5直接通信路径,并通过PC5直接通信路径与第一终端设备进行ProSe直接通信。S703: Establish a PC5 direct communication path with the first terminal device, and perform ProSe direct communication with the first terminal device through the PC5 direct communication path.
在第一终端设备接收到响应消息后,可以得知周围存在第二终端设备,就可以开始与第二终端设备建立PC5直接通信路径。After the first terminal device receives the response message, it can be known that there is a second terminal device nearby, and can start to establish a PC5 direct communication path with the second terminal device.
在第一终端设备和第二终端设备建立PC5直接通信链路后,就可以与第二终端设备之间进行Prose直接通信。After the first terminal device and the second terminal device establish a PC5 direct communication link, Prose direct communication can be performed with the second terminal device.
S704,根据第一终端设备的路径切换能力和第二终端设备的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。S704: 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直接通信路径进行ProSe直接通信的过程中,第二终端设备可以实时检测PC5直接通信路径的信号质量,在检测到PC5直接通信路径的信号质量未满足信号质量条件时,为了保证第一终端设备和第二终端设备之间的通信质量,第二终端设备可以尝试从PC5直接通信路径向Uu直接通信路径切换。In some implementations, during ProSe direct communication between a first terminal device and a second terminal device via a PC5 direct communication path, the second terminal device may 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 a signal quality condition, in order to ensure the communication quality between the first terminal device and the second terminal device, the second terminal device may 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 the embodiment of the present application, before switching from the PC5 direct communication path to the Uu direct communication path, the second terminal device can determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device. The specific process can be found in the relevant contents of the above embodiment, which will not be repeated here.
在确定出允许从PC5直接通信路径切换至Uu直接通信路径的情况下,执行步骤S705;而在确定出不从PC5直接通信路径切换至Uu直接通信路径的情况下,不进行路径切换,可以在第二终端设备进行提醒。If it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, step S705 is executed; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed, path switching is not performed, and a reminder can be issued on the second terminal device.
S705,在确定出允许从PC5直接通信路径切换至Uu直接通信路径的情况下,执行PDU会话创建与第一终端设备间的Uu直接通信路径。S705: When it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create a Uu direct communication path with the first terminal device.
S706,向第一终端设备发送切换通知消息,其中,切换通知消息用于指示第一终端设备执行PDU会话以创建与第二终端设备间的Uu直接通信路径。S706, sending a switching notification message to the first terminal device, wherein the switching notification message is used to instruct the first terminal device to execute a PDU session to create a Uu direct communication path with the second terminal device.
可以理解的是,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会话的过程中建立第二终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第二终端设备通过无线接入网(Radio Access Network,RAN)与核心网的用户面功能(User Plane Function,UPF)之间建立的通信路径,可以标记为UE2-RAN-UPF(UPF2)。In an embodiment of the present application, the second terminal device can conduct a PDU session with the network device, and establish a Uu direct communication path between the second terminal device and the network device during the PDU session. 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 (UPF2).
本申请实施例中,在确定出允许从PC5直接通信路径切换至Uu直接通信路径的情况下,第二终端设备还需要向第一终端设备发送切换通知消息,该切换通知消息指示第一终端设备与网络设备进行Uu 直接通信路径的建立。相应地,第一终端设备根据切换通知消息,可以与网络设备进行PDU会话的过程,在进行PDU会话的过程中建立第一终端设备与网络设备之间的Uu直接通信路径,该部分Uu直接通信路径为第一终端设备通过RAN与核心网的UPF(UPF2)之间建立的通信路径,可以标记为UE1-RAN-UPF。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 switch notification message to the first terminal device, and the switch notification message instructs the first terminal device to establish a Uu direct communication path with the network device. Accordingly, the first terminal device can conduct a PDU session with the network device according to the switch notification message, and establish a Uu direct communication path between the first terminal device and the network device during the PDU session. 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.
S707,在Uu直接通信路径创建完成后,与第一终端设备通过Uu直接通信路径进行通信。S707: After the Uu direct communication path is created, communicate with the first terminal device through the Uu direct communication path.
在第一终端设备和第二终端设备完成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 and the second terminal device can switch from the PC5 direct communication path to the Uu direct communication path, and the first terminal device and the second terminal device continue to communicate 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.
需要说明的是,第一终端设备和第二终端设备在执行步骤S701和S702之前,第一终端设备和第二终端设备均需要进行网络注册,以对第一终端设备和第二终端设备进行网络认证和授权。It should be noted that before the first terminal device and the second terminal device execute steps S701 and S702, 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.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参考图8,图8为本申请实施例提供的一种路径切换能力的交互方法的流程示意图。该方法可以包括但不限于以下步骤:Please refer to Figure 8, which is a flow chart of a method for interactively providing a path switching capability according to an embodiment of the present application. The method may include but is not limited to the following steps:
S800,第一终端设备和第二终端设备在网络设备进行Prose注册。S800: The first terminal device and the second terminal device perform Prose registration on the network device.
第一终端设备和第二终端设备分别在网络设备上进行Prose注册,以获取网络设备对第一终端设备和第二终端设备的ProSe的认证和授权。The first terminal device and the second terminal device respectively perform ProSe registration on the network device to obtain ProSe authentication and authorization of the first terminal device and the second terminal device by the network device.
S801,第一终端设备发送ProSe的发现请求消息以对第二终端设备进行发现,其中,发现请求消息用于指示所述第一终端设备的路径切换能力。S801, a first terminal device sends a ProSe discovery request message to discover a second terminal device, wherein the discovery request message is used to indicate a path switching capability of the first terminal device.
S802,第二终端设备向第一终端设备发送响应消息,其中,响应消息用于指示所述第二终端设备的路径切换能力。S802. The second terminal device sends a response message to the first terminal device, where the response message is used to indicate a path switching capability of the second terminal device.
S803,第一终端设备与第二终端设备建立PC5直接通信路径,并通过PC5直连通信路径进行ProSe直接通信。S803: The first terminal device establishes a PC5 direct communication path with the second terminal device, and performs ProSe direct communication through the PC5 direct communication path.
S804,第一终端设备根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。S804: The first terminal device determines whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device.
S805,第二终端设备根据第一终端设备和第二终端设备各自的路径切换能力,确定是否允许从PC5直接通信路径切换至Uu直接通信路径。S805: The second terminal device determines whether to allow switching from the PC5 direct communication path to the Uu direct communication path according to the path switching capabilities of the first terminal device and the second terminal device.
需要说明的是,步骤S804和步骤S805可以同时执行,也可以仅执行S804,或仅执行S805。It should be noted that step S804 and step S805 may be executed simultaneously, or only step S804 may be executed, or only step S805 may be executed.
S806,执行PDU会话创建第一终端设备与第二终端设备间的Uu直接通信路径。S806, execute the PDU session to create a Uu direct communication path between the first terminal device and the second terminal device.
S807,第一终端设备与第二终端设备通过Uu直接通信路径进行通信。S807, the first terminal device communicates with the second terminal device via a Uu direct communication path.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
上述本申请提供的实施例中,分别从第一终端设备、第二终端设备的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,第二终端设备和第二终端设备可以包括硬件结构、软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能可以以硬件结构、软件模块、或者硬件结构加软件模块的方式来执行。In the above embodiments provided by the present application, the methods provided by the embodiments of the present application are introduced from the perspectives of the first terminal device and the second terminal device, respectively. In order to implement the functions in the methods provided by the above embodiments of the present application, the second terminal device and the second terminal device may include a hardware structure and a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A certain function of the above functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.
请参见图9,为本申请实施例提供的一种通信装置900的结构示意图。图9所示的通信装置900可包括收发模块901和处理模块902。收发模块901可包括发送模块和/或接收模块,发送模块用于实现发送功能,接收模块用于实现接收功能,收发模块901可以实现发送功能和/或接收功能。Please refer to Figure 9, which is a schematic diagram of the structure of a communication device 900 provided in an embodiment of the present application. The communication device 900 shown in Figure 9 may include a transceiver module 901 and a processing module 902. The transceiver module 901 may include a sending module and/or a receiving module, the sending module is used to implement a sending function, the receiving module is used to implement a receiving function, and the transceiver module 901 may implement a sending function and/or a receiving function.
通信装置900可以是终端设备,也可以是终端设备中的装置,还可以是能够与终端设备匹配使用的装置。The communication device 900 may be a terminal device, or a device in a terminal device, or a device that can be used in conjunction with the terminal device.
通信装置900为第一终端设备:The communication device 900 is a first terminal device:
收发模块901,用于发送邻近业务ProSe的发现请求消息以对第二终端设备进行发现,所述发现请求消息用于指示所述第一终端设备的路径切换能力;接收所述第二终端设备发送的响应消息,所述响应消息用于指示所述第二终端设备的路径切换能力。The transceiver module 901 is used to send a discovery request message of the proximity service ProSe to discover the second terminal device, and the discovery request message is used to indicate the path switching capability of the first terminal device; and receive a response message sent by the second terminal device, and the response message is used to indicate the path switching capability of the second terminal device.
在一些实现中,所述发现请求消息包括所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信;In some implementations, the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
在一些实现中,所述发现请求消息中包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;In some implementations, when the discovery request message includes the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
所述发现请求消息中未包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示不允许PC5直连通信,且不允许Uu直连通信。When the discovery request message does not include the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
在一些实现中,处理模块902,用于在所述响应消息中包括所述第二终端设备的路径切换能力指示时,确定所述第二终端设备允许PC5直接通信和允许Uu直接通信中的至少一个;或者,在所述响应消息中未包括所述第二终端设备的路径切换能力指示时,确定所述第二终端设备不允许PC5直连通信,且不允许Uu直连通信。In some implementations, the processing module 902 is used to determine that the second terminal device allows at least one of PC5 direct communication and Uu direct communication when the response message includes the path switching capability indication of the second terminal device; or, when the response message does not include the path switching capability indication of the second terminal device, determine that the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;In some implementations, the path switching capability indication includes: first indication information and/or second indication information;
所述第一指示信息,用于指示对应终端设备是否允许PC5直接通信;所述第二指示信息,用于指示对应终端设备是否允许Uu直接通信。The first indication information is used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
在一些实现中,所述路径切换能力指示为所述路径切换能力的索引值。In some implementations, the path switching capability indication is an index value of the path switching capability.
在一些实现中,收发模块901,还用于与所述第二终端设备建立PC5直接通信路径;通过所述PC5 直连通信路径与所述第二终端设备进行所述ProSe直接通信。In some implementations, the transceiver module 901 is further configured to establish a PC5 direct communication path with the second terminal device; and perform the ProSe direct communication with the second terminal device through the PC5 direct communication path.
在一些实现中,处理模块902,用于根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第二终端设备间的所述Uu直接通信路径;In some implementations, the processing module 902 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the second terminal device;
在一些实现中,收发模块901,还用于在所述Uu直接通信路径创建完成后,与所述第二终端设备通过所述Uu直接通信路径进行通信。In some implementations, the transceiver module 901 is further configured to communicate with the second terminal device through the Uu direct communication path after the Uu direct communication path is created.
在一些实现中,收发模块901,还用于在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第二终端设备发送切换通知消息,所述切换通知消息用于指示所述第二终端设备执行所述PDU会话以创建所述Uu直接通信路径。In some implementations, the transceiver module 901 is also used to send a switching notification message to the second terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the second terminal device to execute the PDU session to create the Uu direct communication path.
在一些实现中,处理模块902,还用于在所述第一终端设备允许Uu直接通信,且所述第二终端设备允许Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;In some implementations, the processing module 902 is further configured to determine whether to allow switching from the PC5 direct communication path to the Uu direct communication path when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication;
在所述第一终端设备不允许Uu直接通信,和/或,所述第二终端设备不允许Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。When the first terminal device does not allow Uu direct communication and/or the second terminal device does not allow Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
通信装置900为第二网络设备:The communication device 900 is a second network device:
收发模块901,用于接收第一终端设备发送的ProSe的发送请求消息,所述请求消息用于指示所述第一终端设备的第一路径切换能力;向所述第一终端设备发送响应消息,所述响应消息用于指示所述第二终端设备的第二路径切换能力。The transceiver module 901 is used to receive a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device; and send a response message to the first terminal device, where the response message is used to indicate a second path switching capability of the second terminal device.
在一些实现中,所述发现请求消息包括所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信;In some implementations, the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
在一些实现中,处理模块902,用于在所述发现请求消息中包括所述第一终端设备的路径切换能力指示时,根据所述路径切换能力指示,确定所述第一终端设备允许PC5直接通信和允许Uu直接通信的至少一个;或者,在所述发现请求消息中未包括所述第一终端设备的路径切换能力指示时,确定所述第一终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, the processing module 902 is used to determine, when the discovery request message includes a path switching capability indication of the first terminal device, that the first terminal device allows at least one of PC5 direct communication and Uu direct communication based on the path switching capability indication; or, when the discovery request message does not include the path switching capability indication of the first terminal device, determine that the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,所述响应消息中包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;或者,所述响应消息中未包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示不允许PC5直连通信,且不允许Uu直连通信。In some implementations, the response message includes a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed; or, the response message does not include a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
在一些实现中,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;所述第一指示信息,用于指示对应终端设备是否允许PC5直接通信;所述第二指示信息,用于指示对应终端设备是否允许Uu直接通信。In some implementations, 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
在一些实现中,所述路径切换能力指示为所述路径切换能力的索引值。In some implementations, the path switching capability indication is an index value of the path switching capability.
在一些实现中,收发模块901,还用于与所述第一终端设备建立PC5直接通信路径;通过所述PC5直连通信路径与所述第一终端设备进行所述ProSe直接通信。In some implementations, the transceiver module 901 is further used to establish a PC5 direct communication path with the first terminal device; and perform the ProSe direct communication with the first terminal device through the PC5 direct communication path.
在一些实现中,处理模块902,还用于根据所述第一终端设备的路径切换能力和所述第二终端设备 的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第一终端设备间的所述Uu直接通信路径;In some implementations, the processing module 902 is further 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the first terminal device;
在一些实现中,收发模块901,还用于在所述Uu直接通信路径创建完成后,与所述第一终端设备通过所述Uu直接通信路径进行通信。In some implementations, the transceiver module 901 is further configured to communicate with the first terminal device through the Uu direct communication path after the Uu direct communication path is created.
在一些实现中,收发模块901,还用于在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第一终端设备发送切换通知消息,所述切换通知消息用于指示所述第一终端设备执行所述PDU会话以创建所述Uu直接通信路径。In some implementations, the transceiver module 901 is also used to send a switching notification message to the first terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the first terminal device to execute the PDU session to create the Uu direct communication path.
在一些实现中,处理模块902,还用于在所述第一终端设备允许Uu直接通信,且所述第二终端设备允许Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;在所述第一终端设备不允许Uu直接通信,和/或,所述第二终端设备不允许Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。In some implementations, the processing module 902 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow Uu direct communication.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
请参见图10,图10是本申请实施例提供的另一种通信装置1000的结构示意图。通信装置1000可以是第一终端设备,也可以是第二终端设备,也可以是支持第一设备或第二终端设备实现上述方法的芯片、芯片系统、或处理器等。该装置可用于实现上述方法实施例中描述的方法,具体可以参见上述方法实施例中的说明。Please refer to Figure 10, which is a schematic diagram of the structure of another communication device 1000 provided in an embodiment of the present application. The communication device 1000 can be a first terminal device, or a second terminal device, or a chip, a chip system, or a processor that supports the first device or the second 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.
通信装置1000可以包括一个或多个处理器1001。处理器1001可以是通用处理器或者专用处理器等。例如可以是基带处理器或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端设备、终端设备芯片,DU或CU等)进行控制,执行计算机程序,处理计算机程序的数据。The communication device 1000 may include one or more processors 1001. The processor 1001 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.
可选的,通信装置1000中还可以包括一个或多个存储器1002,其上可以存有计算机程序1004,处理器1001执行所述计算机程序1004,以使得通信装置1000执行上述方法实施例中描述的方法。可选的,所述存储器1002中还可以存储有数据。通信装置1000和存储器1002可以单独设置,也可以集成在一起。Optionally, the communication device 1000 may further include one or more memories 1002, on which a computer program 1004 may be stored, and the processor 1001 executes the computer program 1004 so that the communication device 1000 performs the method described in the above method embodiment. Optionally, data may also be stored in the memory 1002. The communication device 1000 and the memory 1002 may be provided separately or integrated together.
可选的,通信装置1000还可以包括收发器1005、天线1006。收发器1005可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器1005可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。Optionally, the communication device 1000 may further include a transceiver 1005 and an antenna 1006. The transceiver 1005 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., for implementing a transceiver function. The transceiver 1005 may include a receiver and a transmitter, the receiver may be referred to as a receiver or a receiving circuit, etc., for implementing a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., for implementing a transmitting function.
可选的,通信装置1000中还可以包括一个或多个接口电路1007。接口电路1007用于接收代码指令并传输至处理器1001。处理器1001运行所述代码指令以使通信装置1000执行上述方法实施例中描述的方法。Optionally, the communication device 1000 may further include one or more interface circuits 1007. The interface circuit 1007 is used to receive code instructions and transmit them to the processor 1001. The processor 1001 executes the code instructions to enable the communication device 1000 to execute the method described in the above method embodiment.
通信装置1000为第一终端设备,可以执行第一终端设备的功能。The communication device 1000 is a first terminal device and can perform the functions of a first terminal device.
通信装置1000为第二终端设备,可以执行第二终端设备的功能。The communication device 1000 is a second terminal device and can perform the functions of a second terminal device.
在一种实现方式中,处理器1001中可以包括用于实现接收和发送功能的收发器。例如该收发器可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。In one implementation, the processor 1001 may include a transceiver for implementing 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.
在一种实现方式中,处理器1001可以存有计算机程序1003,计算机程序1003在处理器1001上运行,可使得通信装置1000执行上述方法实施例中描述的方法。计算机程序1003可能固化在处理器1001中,该种情况下,处理器1001可能由硬件实现。In one implementation, the processor 1001 may store a computer program 1003, which runs on the processor 1001 and enables the communication device 1000 to perform the method described in the above method embodiment. The computer program 1003 may be fixed in the processor 1001, in which case the processor 1001 may be implemented by hardware.
在一种实现方式中,通信装置1000可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。本申请中描述的处理器和收发器可实现在集成电路(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 1000 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 (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
以上实施例描述中的通信装置可以是网络设备或者终端设备(如前述方法实施例中的第一终端设备),但本申请中描述的通信装置的范围并不限于此,而且通信装置的结构可以不受图10的限制。通信装置可以是独立的设备或者可以是较大设备的一部分。例如所述通信装置可以是:The communication device described in the above embodiments may be a network device or a terminal device (such as the first 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. 10. 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
对于通信装置可以是芯片或芯片系统的情况,可参见图11所示的芯片的结构示意图。图11所示的芯片1100包括处理器1101和接口1102。其中,处理器1101的数量可以是一个或多个,接口1102的数量可以是多个。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 11. The chip 1100 shown in Figure 11 includes a processor 1101 and an interface 1102. The number of processors 1101 can be one or more, and the number of interfaces 1102 can be multiple.
对于芯片用于实现本申请实施例中第一终端设备的功能的情况:For the case where the chip is used to implement the function of the first terminal device in the embodiment of the present application:
接口1102,用于发送ProSe的发现请求消息以对第二终端设备进行发现,所述发现请求消息用于指示所述第一终端设备的路径切换能力;接收所述第二终端设备发送的响应消息,所述响应消息用于指示所述第二终端设备的路径切换能力 Interface 1102, used to send a ProSe discovery request message to discover a second terminal device, the discovery request message is used to indicate the path switching capability of the first terminal device; receive a response message sent by the second terminal device, the response message is used to indicate the path switching capability of the second terminal device
在一些实现中,所述发现请求消息包括所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信;In some implementations, the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
在一些实现中,所述发现请求消息中包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;In some implementations, when the discovery request message includes the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
所述发现请求消息中未包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示不允许PC5直连通信,且不允许Uu直连通信。When the discovery request message does not include the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
在一些实现中,处理器1101,用于在所述响应消息中包括所述第二终端设备的路径切换能力指示时,确定所述第二终端设备允许PC5直接通信和允许Uu直接通信中的至少一个;或者,在所述响应消息中未包括所述第二终端设备的路径切换能力指示时,确定所述第二终端设备不允许PC5直连通信,且不允许Uu直连通信。In some implementations, processor 1101 is used to determine that the second terminal device allows at least one of PC5 direct communication and Uu direct communication when the response message includes a path switching capability indication of the second terminal device; or, when the response message does not include a path switching capability indication of the second terminal device, determine that the second terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;In some implementations, the path switching capability indication includes: first indication information and/or second indication information;
所述第一指示信息,用于指示对应终端设备是否允许PC5直接通信;所述第二指示信息,用于指示对应终端设备是否允许Uu直接通信。The first indication information is used to indicate whether the corresponding terminal device allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
在一些实现中,所述路径切换能力指示为所述路径切换能力的索引值。In some implementations, the path switching capability indication is an index value of the path switching capability.
在一些实现中,接口1102,还用于与所述第二终端设备建立PC5直接通信路径;通过所述PC5直连通信路径与所述第二终端设备进行所述ProSe直接通信。In some implementations, the interface 1102 is further used to establish a PC5 direct communication path with the second terminal device; and perform the ProSe direct communication with the second terminal device through the PC5 direct communication path.
在一些实现中,处理器1101,用于根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第二终端设备间的所述Uu直接通信路径;In some implementations, the processor 1101 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the second terminal device;
在一些实现中,接口1102,还用于在所述Uu直接通信路径创建完成后,与所述第二终端设备通过所述Uu直接通信路径进行通信。In some implementations, the interface 1102 is further used to communicate with the second terminal device through the Uu direct communication path after the Uu direct communication path is created.
在一些实现中,接口1102,还用于在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第二终端设备发送切换通知消息,所述切换通知消息用于指示所述第二终端设备执行所述PDU会话以创建所述Uu直接通信路径。In some implementations, interface 1102 is further used to send a switching notification message to the second terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the second terminal device to execute the PDU session to create the Uu direct communication path.
在一些实现中,处理器1101,还用于在所述第一终端设备允许Uu直接通信,且所述第二终端设备允许Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;In some implementations, the processor 1101 is further configured to determine to allow switching from the PC5 direct communication path to the Uu direct communication path when the first terminal device allows Uu direct communication and the second terminal device allows Uu direct communication;
在所述第一终端设备不允许Uu直接通信,和/或,所述第二终端设备不允许Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。When the first terminal device does not allow Uu direct communication and/or the second terminal device does not allow Uu direct communication, it is determined that switching from the PC5 direct communication path to the Uu direct communication path is not allowed.
对于芯片用于实现本申请实施例中第二终端设备的功能的情况:For the case where the chip is used to implement the function of the second terminal device in the embodiment of the present application:
接口1102,用于接收第一终端设备发送的ProSe的发送请求消息,所述请求消息用于指示所述第一终端设备的第一路径切换能力;向所述第一终端设备发送响应消息,所述响应消息用于指示所述第二终端设备的第二路径切换能力。 Interface 1102 is used to receive a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device; and send a response message to the first terminal device, where the response message is used to indicate a second path switching capability of the second terminal device.
在一些实现中,所述发现请求消息包括所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信;In some implementations, the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许 PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
在一些实现中,处理器1101,用于在所述发现请求消息中包括所述第一终端设备的路径切换能力指示时,根据所述路径切换能力指示,确定所述第一终端设备允许PC5直接通信和允许Uu直接通信的至少一个;或者,在所述发现请求消息中未包括所述第一终端设备的路径切换能力指示时,确定所述第一终端设备不允许PC5直接通信,且不允许Uu直接通信。In some implementations, processor 1101 is used to determine, when the discovery request message includes a path switching capability indication of the first terminal device, that the first terminal device allows at least one of PC5 direct communication and Uu direct communication based on the path switching capability indication; or, when the discovery request message does not include the path switching capability indication of the first terminal device, determine that the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
在一些实现中,所述响应消息中包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;或者,所述响应消息中未包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示不允许PC5直连通信,且不允许Uu直连通信。In some implementations, the response message includes a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed; or, the response message does not include a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
在一些实现中,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;所述第一指示信息,用于指示对应终端设备是否允许PC5直接通信;所述第二指示信息,用于指示对应终端设备是否允许Uu直接通信。In some implementations, 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
在一些实现中,所述路径切换能力指示为所述路径切换能力的索引值。In some implementations, the path switching capability indication is an index value of the path switching capability.
在一些实现中,接口1102,还用于与所述第一终端设备建立PC5直接通信路径;通过所述PC5直连通信路径与所述第一终端设备进行所述ProSe直接通信。In some implementations, the interface 1102 is further used to establish a PC5 direct communication path with the first terminal device; and perform the ProSe direct communication with the first terminal device through the PC5 direct communication path.
在一些实现中,处理器1101,还用于根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第一终端设备间的所述Uu直接通信路径;In some implementations, the processor 1101 is further 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; if it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, execute a PDU session to create the Uu direct communication path with the first terminal device;
在一些实现中,接口1102,还用于在所述Uu直接通信路径创建完成后,与所述第一终端设备通过所述Uu直接通信路径进行通信。In some implementations, the interface 1102 is further configured to communicate with the first terminal device through the Uu direct communication path after the Uu direct communication path is created.
在一些实现中,接口1102,还用于在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第一终端设备发送切换通知消息,所述切换通知消息用于指示所述第一终端设备执行所述PDU会话以创建所述Uu直接通信路径。In some implementations, interface 1102 is further used to send a switching notification message to the first terminal device when it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, and the switching notification message is used to instruct the first terminal device to execute the PDU session to create the Uu direct communication path.
在一些实现中,处理器1101,还用于在所述第一终端设备允许Uu直接通信,且所述第二终端设备允许Uu直接通信时,确定允许从所述PC5直接通信路径切换至Uu直接通信路径;在所述第一终端设备不允许Uu直接通信,和/或,所述第二终端设备不允许Uu直接通信时,确定不允许从所述PC5直接通信路径切换至Uu直接通信路径。In some implementations, the processor 1101 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow Uu direct communication.
可选的,芯片1100还包括存储器1103,存储器1103用于存储必要的计算机程序和数据。Optionally, the chip 1100 further includes a memory 1103, and the memory 1103 is used to store necessary computer programs and data.
本申请实施例中,接收第一终端设备发送的ProSe的发现请求消息,该发送请求消息用于指示第一终端设备的路径切换能力,向第一终端设备发送响应消息,其中,响应消息用于指示第二终端设备的路径切换能力。本申请实施例中,第一终端设备和第二终端设备可以交互各自的路径切换能力,实现了实现终端设备间交互路径切换能力的目的。由于终端设备可以得知自身和对端设备的路径切换能力,从而可以在需要进行路径切换时进行判定,能够提高路径切换的成功率。In an embodiment of the present application, a ProSe discovery request message sent by a first terminal device is received, the request message is used to indicate the path switching capability of the first terminal device, and a response message is sent to the first terminal device, wherein the 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 and the second terminal device can exchange their respective path switching capabilities, thereby achieving the purpose of realizing the interactive path switching capabilities between terminal devices. Since the terminal device can know the path switching capabilities of itself and the opposite device, it can make a judgment when path switching is required, which can improve the success rate of path switching.
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(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.
本申请实施例还提供一种通信系统,该系统包括前述图8实施例中作为第一终端设备的通信装置和作为第二终端设备的通信装置,或者,该系统包括前述图9实施例中作为第一终端设备的通信装置和作为第二终端设备的通信装置。An embodiment of the present application also provides a communication system, which includes the communication device as the first terminal device and the communication device as the second terminal device in the embodiment of Figure 8 above, or the system includes the communication device as the first terminal device and the communication device as the second terminal device in the embodiment of Figure 9 above.
本申请还提供一种可读存储介质,其上存储有指令,该指令被计算机执行时实现上述任一方法实施例的功能。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 each table in the present 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 the present 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 the present 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 skilled 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 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 (28)

  1. 一种路径切换能力的交互方法,其特征在于,由第一终端设备执行,所述方法包括:A path switching capability interaction method, characterized in that it is executed by a first terminal device, and the method includes:
    发送邻近业务ProSe的发现请求消息以对第二终端设备进行发现,所述发现请求消息用于指示所述第一终端设备的路径切换能力;Sending a discovery request message of a proximity service ProSe to discover the second terminal device, where the discovery request message is used to indicate a path switching capability of the first terminal device;
    接收发现的所述第二终端设备发送的响应消息,所述响应消息用于指示所述第二终端设备的路径切换能力。A response message sent by the discovered second terminal device is received, where the 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 discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
    所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  3. 根据权利要求2所述的方法,其特征在于,所述发现请求消息中包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;The method according to claim 2, characterized in that when the discovery request message includes a path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
    所述发现请求消息中未包括所述第一终端设备的路径切换能力指示时,用于向所述第二终端设备指示不允许PC5直连通信,且不允许Uu直连通信。When the discovery request message does not include the path switching capability indication of the first terminal device, it is used to indicate to the second terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, characterized in that the method further comprises:
    若所述响应消息中包括所述第二终端设备的路径切换能力指示,确定所述第二终端设备允许PC5直接通信和允许Uu直接通信中的至少一个;If the response message includes the path switching capability indication of the second terminal device, determining that the second terminal device allows at least one of PC5 direct communication and Uu direct communication;
    若所述响应消息中未包括所述第二终端设备的路径切换能力指示,确定所述第二终端设备不允许PC5直连通信,且不允许Uu直连通信。If the response message does not include the path switching capability indication of the second terminal device, it is determined that the second terminal device does not allow PC5 direct connection communication and does not allow Uu direct connection communication.
  5. 根据权利要求2-4中任一项所述的方法,其特征在于,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;The method according to any one of claims 2 to 4, 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  6. 根据权利要求2-4中任一项所述的方法,其特征在于,所述路径切换能力指示为所述路径切换能力的索引值。The method according to any one of claims 2 to 4, characterized in that the path switching capability indication is an index value of the path switching capability.
  7. 根据权利要求1-4中任一项所述的方法,其特征在于,所述接收所述第二终端设备发送的响应消息之后,还包括:The method according to any one of claims 1 to 4, characterized in that after receiving the response message sent by the second terminal device, it also includes:
    与所述第二终端设备建立PC5直接通信路径;Establishing a direct communication path between PC5 and the second terminal device;
    通过所述PC5直连通信路径与所述第二终端设备进行所述ProSe直接通信。The ProSe direct communication is performed with the second terminal device through the PC5 direct communication path.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, characterized in that the method further comprises:
    根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;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;
    在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第二终端设备间的所述Uu直接通信路径;In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, executing a PDU session to create the Uu direct communication path with the second terminal device;
    在所述Uu直接通信路径创建完成后,与所述第二终端设备通过所述Uu直接通信路径进行通信。After the Uu direct communication path is created, communication is performed with the second terminal device through the Uu direct communication path.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, characterized in that the method further comprises:
    在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第二终端设备发送切换通知消息,所述切换通知消息用于指示所述第二终端设备执行所述PDU会话以创建所述Uu直接通信路径。In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, a switching notification message is sent to the second terminal device, where the switching notification message is used to instruct the second terminal device to execute the PDU session to create the Uu direct communication path.
  10. 根据权利要求8所述的方法,其特征在于,所述根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径,包括:The method according to claim 8, 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow 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 it is executed by a second terminal device, and the method includes:
    接收第一终端设备发送的ProSe的发送请求消息,所述请求消息用于指示所述第一终端设备的第一路径切换能力;Receiving a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device;
    向所述第一终端设备发送响应消息,所述响应消息用于指示所述第二终端设备的第二路径切换能力。A response message is sent to the first terminal device, where the response message is used to indicate the second path switching capability of the second terminal device.
  12. 根据权利要求11所述的方法,其特征在于,所述发现请求消息包括所述第一终端设备的路径切换能力指示,用于指示所述第一终端设备是否允许PC5直接通信和/或是否允许Uu直接通信;The method according to claim 11, characterized in that the discovery request message includes a path switching capability indication of the first terminal device, which is used to indicate whether the first terminal device allows PC5 direct communication and/or whether it allows Uu direct communication;
    所述响应消息包括所述第二终端设备的路径切换能力指示,用于指示所述第二终端设备是否允许PC5直接通信和/或是否允许Uu直接通信。The response message includes a path switching capability indication of the second terminal device, which is used to indicate whether the second terminal device allows PC5 direct communication and/or whether it allows Uu direct communication.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, characterized in that the method further comprises:
    若所述发现请求消息中包括所述第一终端设备的路径切换能力指示,根据所述路径切换能力指示,确定所述第一终端设备允许PC5直接通信和允许Uu直接通信的至少一个;If the discovery request message includes a path switching capability indication of the first terminal device, determining, according to the path switching capability indication, that the first terminal device allows at least one of PC5 direct communication and Uu direct communication;
    若所述发现请求消息中未包括所述第一终端设备的路径切换能力指示,确定所述第一终端设备不允许PC5直接通信,且不允许Uu直接通信。If the discovery request message does not include the path switching capability indication of the first terminal device, it is determined that the first terminal device does not allow PC5 direct communication and does not allow Uu direct communication.
  14. 根据权利要求12所述的方法,其特征在于,所述响应消息中包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示允许PC5直连通信,和/或,允许Uu直连通信;The method according to claim 12, characterized in that the response message includes a path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is allowed and/or that Uu direct communication is allowed;
    所述响应消息中未包括所述第二终端设备的路径切换能力指示,用于向所述第一终端设备指示不允许PC5直连通信,且不允许Uu直连通信。The response message does not include the path switching capability indication of the second terminal device, which is used to indicate to the first terminal device that PC5 direct communication is not allowed and Uu direct communication is not allowed.
  15. 根据权利要求12-14中任一项所述的方法,其特征在于,所述路径切换能力指示包括:第一指示信息和/或第二指示信息;The method according to any one of claims 12 to 14, 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 allows PC5 direct communication; the second indication information is used to indicate whether the corresponding terminal device allows Uu direct communication.
  16. 根据权利要求12-14中任一项所述的方法,其特征在于,所述路径切换能力指示为所述路径切换能力的索引值。The method according to any one of claims 12 to 14, characterized in that the path switching capability indication is an index value of the path switching capability.
  17. 根据权利要求11-14中任一项所述的方法,其特征在于,所述向所述第一终端设备发送响应消 息之后,还包括:The method according to any one of claims 11 to 14, characterized in that after sending a response message to the first terminal device, it also includes:
    与所述第一终端设备建立PC5直接通信路径;Establishing a PC5 direct communication path with the first terminal device;
    通过所述PC5直连通信路径与所述第一终端设备进行所述ProSe直接通信。The ProSe direct communication is performed with the first terminal device through the PC5 direct communication path.
  18. 根据权利要求17所述的方法,其特征在于,所述方法还包括:The method according to claim 17, characterized in that the method further comprises:
    根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径;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;
    在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,执行PDU会话创建与所述第一终端设备间的所述Uu直接通信路径;In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, executing a PDU session to create the Uu direct communication path with the first terminal device;
    在所述Uu直接通信路径创建完成后,与所述第一终端设备通过所述Uu直接通信路径进行通信。After the Uu direct communication path is created, communication is performed with the first terminal device through the Uu direct communication path.
  19. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method according to claim 18, characterized in that the method further comprises:
    在确定允许从所述PC5直接通信路径切换至所述Uu直接通信路径的情况下,向所述第一终端设备发送切换通知消息,所述切换通知消息用于指示所述第一终端设备执行所述PDU会话以创建所述Uu直接通信路径。In the case where it is determined that switching from the PC5 direct communication path to the Uu direct communication path is allowed, a switching notification message is sent to the first terminal device, where the switching notification message is used to instruct the first terminal device to execute the PDU session to create the Uu direct communication path.
  20. 根据权利要求18所述的方法,其特征在于,所述根据所述第一终端设备的路径切换能力和所述第二终端设备的路径切换能力,确定是否允许从所述PC5直接通信路径切换至Uu直接通信路径,包括:The method according to claim 18, 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 allows Uu direct communication and the second terminal device allows 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 allow Uu direct communication and/or the second terminal device does not allow 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, comprising:
    收发模块,用于发送ProSe的发现请求消息以对第二终端设备进行发现,所述发现请求消息用于指示所述第一终端设备的路径切换能力;接收发现的所述第二终端设备发送的响应消息,所述响应消息用于指示所述第二终端设备的路径切换能力。A transceiver module is used to send a ProSe discovery request message to discover a second terminal device, wherein the discovery request message is used to indicate the path switching capability of the first terminal device; and receive a response message sent by the discovered second terminal device, wherein the response message is used to indicate the path switching capability of the second terminal device.
  22. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于接收第一终端设备发送的ProSe的发送请求消息,所述请求消息用于指示所述第一终端设备的第一路径切换能力;向所述第一终端设备发送响应消息,所述响应消息用于指示所述第二终端设备的第二路径切换能力。The transceiver module is used to receive a ProSe sending request message sent by a first terminal device, where the request message is used to indicate a first path switching capability of the first terminal device; and send a response message to the first terminal device, where the response message is used to indicate a second 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 according to 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 execute the code instructions to perform the method according to claims 11 to 20.
  27. 一种计算机可读存储介质,用于存储有指令,当所述指令被执行时,使如权利要求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.
  28. 一种计算机可读存储介质,用于存储有指令,当所述指令被执行时,使如权利要求11至20所述的方法被实现。A computer-readable storage medium is used to store instructions, and when the instructions are executed, the method according to claims 11 to 20 is implemented.
PCT/CN2022/123646 2022-09-30 2022-09-30 Interaction method for path switching capabilities and apparatus therefor WO2024065844A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/123646 WO2024065844A1 (en) 2022-09-30 2022-09-30 Interaction method for path switching capabilities and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/123646 WO2024065844A1 (en) 2022-09-30 2022-09-30 Interaction method for path switching capabilities and apparatus therefor

Publications (1)

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

Family

ID=90475620

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123646 WO2024065844A1 (en) 2022-09-30 2022-09-30 Interaction method for path switching capabilities and apparatus therefor

Country Status (1)

Country Link
WO (1) WO2024065844A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals
WO2021125691A1 (en) * 2019-12-20 2021-06-24 엘지전자 주식회사 Communication path switching
CN113950110A (en) * 2020-07-16 2022-01-18 展讯半导体(南京)有限公司 Method and device for switching Uu path to direct communication path and indicating candidate relay UE, storage medium, terminal and base station
WO2022057605A1 (en) * 2020-09-20 2022-03-24 Telefonaktiebolaget Lm Ericsson (Publ) Methods and terminal devices for enhanced discovery procedure
CN114423065A (en) * 2020-10-28 2022-04-29 华为技术有限公司 Computing service discovery method and communication device
US20220304085A1 (en) * 2019-10-01 2022-09-22 Samsung Electronics Co., Ltd. Direct communication session management method and apparatus in wireless communication system
US20220312176A1 (en) * 2020-05-21 2022-09-29 Apple Inc. Proximity Services Path Selection and Switching

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220304085A1 (en) * 2019-10-01 2022-09-22 Samsung Electronics Co., Ltd. Direct communication session management method and apparatus in wireless communication system
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals
WO2021125691A1 (en) * 2019-12-20 2021-06-24 엘지전자 주식회사 Communication path switching
US20220312176A1 (en) * 2020-05-21 2022-09-29 Apple Inc. Proximity Services Path Selection and Switching
CN113950110A (en) * 2020-07-16 2022-01-18 展讯半导体(南京)有限公司 Method and device for switching Uu path to direct communication path and indicating candidate relay UE, storage medium, terminal and base station
WO2022057605A1 (en) * 2020-09-20 2022-03-24 Telefonaktiebolaget Lm Ericsson (Publ) Methods and terminal devices for enhanced discovery procedure
CN114423065A (en) * 2020-10-28 2022-04-29 华为技术有限公司 Computing service discovery method and communication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LG ELECTRONICS INC.: "Interaction between path switching and access control", 3GPP DRAFT; R2-1701645 INTERACTION BETWEEN PATH SWITCHING AND ACCESS CONTROL, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Athens, Greece; 20170213 - 20170217, 4 February 2017 (2017-02-04), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051223588 *

Similar Documents

Publication Publication Date Title
EP4336953A1 (en) Access failure processing method and apparatus, terminal device and storage medium
EP4336902A1 (en) Method for releasing remote terminal device and apparatus therefor
WO2023000149A1 (en) Relay terminal device measurement reporting method, and apparatus
CN113892276A (en) Information transmission method and device
WO2024065127A1 (en) Method for controlling transmission of relay device information and apparatus therefor
WO2023225830A1 (en) Relay connection method and apparatus
WO2024065844A1 (en) Interaction method for path switching capabilities and apparatus therefor
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
WO2024065840A1 (en) Path switching capability interaction method and apparatus
WO2024065131A1 (en) Multipath transmission method, apparatus, and device, and storage medium
WO2024065121A1 (en) Multi-path transmission methods/apparatus/device, and storage medium
WO2024065842A1 (en) Path adding method and apparatus
EP4354942A1 (en) Information acquisition method and apparatus, and storage medium
US20240114483A1 (en) Paging processing method, communication apparatus, and storage medium
WO2024011547A1 (en) Data transmission method and apparatus
WO2024065195A1 (en) Migration type determination methods and apparatuses therefor
WO2024045039A1 (en) Capability interaction method and apparatus, and device and storage medium
WO2024065198A1 (en) Relay communication processing method and apparatus for terminal device in ue-to-ue relay scenario
WO2024065545A1 (en) Method and apparatus for determining movement
WO2023010429A1 (en) Bandwidth part synchronization method and apparatus thereof
WO2024031272A1 (en) Reporting methods, apparatuses, device, and storage medium
WO2024060143A1 (en) Reporting method/apparatus/device, and storage medium
WO2024000198A1 (en) Connection control method and apparatus, and device and storage medium
WO2024031274A1 (en) Recording and reporting method and apparatus for successful handover report (shr)