Communication path switching method, apparatus, first terminal, and second terminal
By providing a communication path switching method and apparatus, based on target path switching information, the consistency of the communication path switching triggering conditions and timing between the first terminal and the second terminal is ensured, synchronous switching is achieved, the communication path switching problem existing in the prior art is solved, and the quality of service is improved.
Patent Information
- Application Number
- CN202111146285.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2041-09-28
AI Technical Summary
In the existing technology, how to determine the switching trigger conditions and timing between the PC5 communication path and the direct Uu communication path is an urgent problem to be solved.
A communication path switching method is provided, which uses a switching device for a first terminal and a second communication path to perform communication path switching based on target path switching information, ensuring the consistency of the communication path switching trigger conditions and timing between the first terminal and the second terminal, and achieving synchronous switching.
It achieves business continuity between the first terminal and the second terminal, and improves the quality of business services.
Smart Images

Figure CN115884284B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a communication path switching method and device, a first terminal and a second terminal. BACKGROUND
[0002] Proximity communication enables direct communication between user equipment within a certain distance. Direct communication between user equipment means that data of one user equipment is transmitted to another user equipment without passing through a cellular network. User equipment performing proximity communication is scattered throughout the network, each user equipment can transmit and receive signals, and has the function of automatic routing (forwarding messages). In a proximity communication network, user equipment plays the role of both server and client, and users can be aware of each other's existence and self-organize into a virtual or actual group.
[0003] In the prior art, user equipment performing direct PC5 communication may not be able to continue proximity communication due to mobility, and has to consider switching services to direct universal user network interface (Uu) communication (i.e. cellular network) to continue communication, or when the cellular network is overloaded or loses cellular network coverage or does not meet the Quality of Service (QoS) requirements of services, and user equipment meets proximity communication, it is necessary to switch between direct PC5 communication path and direct Uu communication path.
[0004] However, how to determine the switching trigger condition and timing between the PC5 communication path and the direct Uu communication path is a problem to be solved. SUMMARY
[0005] Embodiments of the present application provide a communication path switching method and device, a first terminal and a second terminal, which can solve the problem of determining the switching trigger condition and timing between the PC5 communication path and the direct Uu communication path.
[0006] In a first aspect, a communication path switching method is provided, applied to a first terminal, and the method comprises:
[0007] The first terminal performs switching between a first communication path and a second communication path based on target path switching information;
[0008] The first communication path is a communication path for direct communication between the first terminal and the second terminal, and the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device. The target path switching information includes a trigger condition for triggering switching between the first communication path and the second communication path.
[0009] In a second aspect, a communication path switching method is provided, applied to a second terminal, and the method comprises:
[0010] The second terminal performs switching of a first communication path and a second communication path based on target path switching information.
[0011] The first communication path is a communication path for direct communication between the first terminal and the second terminal, the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device, and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path.
[0012] In a third aspect, a communication path switching apparatus is provided, applied to a first terminal, and comprising:
[0013] The first switching module is configured to perform switching of a first communication path and a second communication path based on target path switching information.
[0014] The first communication path is a communication path for direct communication between the first terminal and the second terminal, the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device, and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path.
[0015] In a fourth aspect, a communication path switching apparatus is provided, applied to a second terminal, and comprising:
[0016] The second switching module is configured to perform switching of a first communication path and a second communication path based on target path switching information.
[0017] The first communication path is a communication path for direct communication between the first terminal and the second terminal, the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device, and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path.
[0018] In a fifth aspect, a first terminal is provided, comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and the program or instructions are executed by the processor to implement the steps of the communication path switching method according to the first aspect.
[0019] In a sixth aspect, a first terminal is provided, comprising a processor and a communication interface, wherein the processor is configured to perform switching of a first communication path and a second communication path based on target path switching information; the first communication path is a communication path for direct communication between the first terminal and a second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering the switching of the first communication path and the second communication path.
[0020] In a seventh aspect, a second terminal is provided, comprising a processor, a memory, and a program or instructions stored in the memory and executable in the processor, and the program or instructions, when executed by the processor, implement the steps of the communication path switching method according to the second aspect.
[0021] In an eighth aspect, a second terminal is provided, comprising a processor and a communication interface, wherein the processor is configured to perform switching of a first communication path and a second communication path based on target path switching information; the first communication path is a communication path for direct communication between the first terminal and a second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering the switching of the first communication path and the second communication path.
[0022] In a ninth aspect, a readable storage medium is provided, and the readable storage medium stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the communication path switching method according to the first aspect or the steps of the communication path switching method according to the second aspect.
[0023] In a tenth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is configured to run a program or instructions to implement the steps of the communication path switching method according to the first aspect or the steps of the communication path switching method according to the second aspect.
[0024] In an eleventh aspect, a computer program / program product is provided, and the computer program / program product is stored in a non-transitory storage medium, and the program / program product is executed by at least one processor to implement the steps of the communication path switching method according to the first aspect or the steps of the communication path switching method according to the second aspect.
[0025] In the embodiment of the present application, the first terminal performs switching of the first communication path and the second communication path based on the path switching indication information, so that the first terminal and the second terminal can have consistent understanding of the switching trigger condition and timing between the first communication path and the second communication path based on the same path switching indication information, realize synchronous path switching between direct communication and wireless communication, and ensure the continuity of services between the first terminal and the second terminal, thereby improving the quality of service. BRIEF DESCRIPTION OF DRAWINGS
[0026] Figure 1 A structure diagram of a wireless communication system to which the embodiment of the present application can be applied is shown;
[0027] Figure 2 is one of flow diagrams of the communication path switching method provided by the embodiment of the present application;
[0028] Figure 3 is the second flow diagram of the communication path switching method provided by the embodiment of the present application;
[0029] Figure 4 is a signaling flow diagram of the negotiation process initiated by the first terminal provided by the embodiment of the present application;
[0030] Figure 5 is a signaling flow diagram of the path switching cancellation process initiated by the first terminal provided by the embodiment of the present application;
[0031] Figure 6 is one of structure diagrams of the communication path switching device provided by the embodiment of the present application;
[0032] Figure 7 is the second structure diagram of the communication path switching device provided by the embodiment of the present application;
[0033] Figure 8 is one of structure diagrams of the first terminal provided by the embodiment of the present application;
[0034] Figure 9 is the second structure diagram of the first terminal provided by the embodiment of the present application;
[0035] Figure 10 is a structure diagram of the second terminal provided by the embodiment of the present application. DETAILED DESCRIPTION
[0036] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0037] The terms "first", "second", and the like in the description and in the claims of the present application are used for distinguishing between similar objects and are not necessarily used to describe a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the present application encompasses any of the possible sequences or arrangements of steps. It is also to be understood that the terminology "and / or" includes both conjunctive and disjunctive meanings, unless the context clearly indicates otherwise. As used herein, the term "if" can mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the term "response to" or "in response to" can include any one of the following: "if" or "when" or "upon" or "in response to determining" or "in response to detecting."
[0038] It is worth noting that the techniques described in the embodiments of the present application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, and can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" are often used interchangeably in the embodiments of the present application, and the described techniques can be used in the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New Radio (NR) system for the purpose of example, and NR terminology is used in most of the following description, but these techniques can also be applied outside of NR system applications, such as 6th Generation (6G) communication systems. th
[0039] Figure 1 A structural diagram of a wireless communication system to which the embodiments of the present application can be applied is shown. As shown in FIG. 1, the wireless communication system includes base stations 101, 102, and 103 and user equipment (UE) 151, 152, and 153. Although the wireless communication system includes three base stations and three UEs, the number of base stations and UEs is not limited thereto. Figure 1 As shown, the wireless communication system includes a first terminal 11, a first terminal 12, a network-side device 13, and a core network 14; wherein the first terminal 11 and the first terminal 12 can perform wireless communication via the network-side device 13, for example, the first terminal 11 and the first terminal 12 respectively establish a wireless connection with the network-side device 13 based on a Uu interface, and then implement communication by means of the network-side device 13; the first terminal 11 and the first terminal 12 can also directly communicate, for example, the first terminal 11 and the first terminal 12 perform direct PC5 communication based on a PC5 interface without using a cellular network.
[0040] The first terminal 11 and the first terminal 12 can also be referred to as terminal devices or user equipment (UE). The first terminal 11 and the first terminal 12 can be a mobile phone, a tablet personal computer (PC), a laptop computer, a personal digital assistant (PDA), a palmtop computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, a vehicle-mounted device (VUE), a pedestrian terminal (PUE), a smart home (a home device with a wireless communication function, such as a refrigerator, a television, a washing machine, or furniture), or the like. The wearable device includes a smart watch, a smart bracelet, a smart earphone, smart glasses, smart jewelry (a smart bracelet, a smart necklace, a smart ring, a smart necklace, a smart anklet, a smart necklace, and the like), a smart wristband, smart clothing, a game console, and the like. It should be noted that the specific type of the first terminal 11 and the first terminal 12 is not limited in the embodiments of the present application. The network side device 13 can be a base station. The base station can be referred to as a node B, an evolved node B, an access point, a base transceiver station (BTS), a radio base station, a radio transceiver, a basic service set (BSS), an extended service set (ESS), a node B, an evolved node B (eNB), a home node B, a home evolved node B, a WLAN access point, a WiFi node, a transmitting receiving point (TRP), or some other appropriate term in the art, as long as the same technical effect is achieved. The base station is not limited to a specific technical term, and it should be noted that only a base station in an NR system is taken as an example in the embodiments of the present application, but the specific type of the base station is not limited.
[0041] The communication path switching provided by the embodiments of the present application will be described in detail in combination with the accompanying drawings and some embodiments and application scenarios.
[0042] The embodiment of the present application provides a communication path switching method, which can be applied to a direct communication scene, and supports a first terminal in direct communication to perform switching of a first communication path and a second communication path based on target path switching information, so that the first terminal and a second terminal can have consistent understanding of switching trigger conditions and timing between the first communication path and the second communication path based on the same path switching indication information, realize synchronous path switching between direct communication and wireless communication, can guarantee service continuity between the first terminal and the second terminal, and improve service quality.
[0043] Figure 2 FIG. 1 is one of flow diagrams of the communication path switching method provided by the embodiment of the present application, as shown in the figure, the method comprises the following steps: Figure 2
[0044] Step 201, the first terminal performs switching of the first communication path and the second communication path based on target path switching information; wherein the first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path.
[0045] Optionally, the embodiment of the present application can be applied to a direct communication scene; the direct communication can comprise but is not limited to at least one of the following: proximity-based services (ProSe), vehicle-to-everything (V2X). The first communication path can comprise a direct PC5 communication path; the second communication path can comprise a direct Uu communication path. The first terminal and the second terminal can comprise but are not limited to the types of the first terminal 11 and the first terminal 12 listed above. The network side device can comprise but is not limited to the type of the network side device 13 listed above.
[0046] Optionally, the target path switching information comprises a trigger condition; wherein the trigger condition is used to trigger switching of the first communication path and the second communication path.
[0047] The communication path switching method provided by the embodiments of the present application can ensure the continuity of services between the first terminal and the second terminal and improve the quality of service.
[0048] Optionally, the first terminal performs switching of the first communication path and the second communication path based on the target path switching information, including: the first terminal switches from the first communication path to the second communication path based on the target path switching information when the current communication path is the first communication path; or the first terminal switches from the second communication path to the first communication path based on the target path switching information when the current communication path is the second communication path.
[0049] For example, the first communication path is a direct PC5 communication path, and the second communication path is a direct Uu communication path, and the switching of the direct PC5 communication path and the direct Uu communication path includes: switching from the direct PC5 communication path to the direct Uu communication path when the current communication path is the direct PC5 communication path; or switching from the direct Uu communication path to the direct PC5 communication path when the current communication path is the second communication path.
[0050] Optionally, in addition to the trigger condition, the target path switching information can further include at least one of the following information: a first path switching indication, a second path switching indication, a third path switching indication, a fourth path switching indication, and a path switching direction.
[0051] The first path switching indication is used to indicate that at least one of all services, all sessions, and all QoS flows on the current communication path between the first terminal and the second terminal is switched from the first communication path to the second communication path when the trigger condition is met.
[0052] The second path switching indication includes a first service type and / or a first session type, and is used to indicate that the services corresponding to the first service type and / or the sessions corresponding to the first session type on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met.
[0053] Optionally, the second path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path.
[0054] Alternatively, the second path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on all services and / or all sessions on the current communication path.
[0055] Optionally, the first service type can include at least one of the following: a high priority type, an emergency type, a public safety type. The first session type can include at least one of the following: a high priority type, an emergency type, a public safety type.
[0056] The third path switching indication includes a first service identifier and / or a first session identifier, and is used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path, or on all services and / or all sessions on the current communication path.
[0057] Optionally, the third path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path.
[0058] Alternatively, the third path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on all services and / or all sessions on the current communication path.
[0059] Optionally, the service identifier can include at least one of the following: a ProSe identifier (ID), an Application ID, a ProSe type, a V2X service type. The session identifier can include a Protocol Data Unit (PDU) session ID.
[0060] The fourth path switching indication includes a first QoS flow identifier, and is used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on the QoS flow corresponding to the first QoS flow identifier on the current communication path, or on all services and / or all sessions on the current communication path.
[0061] Optionally, the fourth path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on the QoS flow corresponding to the first QoS flow identification of the current communication path.
[0062] Alternatively, the fourth path switching indication can be used to indicate that, in the case that the trigger condition is met, the switching of the first communication path and the second communication path is performed on all services and / or all sessions of the current communication path.
[0063] The path switching direction is used to represent the switching direction of the communication path.
[0064] Optionally, the switching direction of the communication path can include at least one of the following: switching from a direct PC5 communication path to a direct Uu communication path; switching from a direct Uu communication path to a direct PC5 communication path.
[0065] Optionally, the trigger condition can include but is not limited to at least one of the following information:
[0066] The first QoS threshold and / or the first communication interruption information, the second QoS threshold and / or the second communication interruption information, the third QoS threshold and / or the third communication interruption information, the fourth QoS threshold and / or the fourth communication interruption information, the fifth QoS threshold and the Reference Signal Receiving Power (RSRP) threshold; wherein:
[0067] 1) The first QoS threshold and the first communication interruption information are associated with the current communication path between the first terminal and the second terminal, and the first QoS threshold is a threshold of the QoS parameter of the current communication path.
[0068] Optionally, based on the first QoS threshold, in the case that the QoS parameter of the current communication path does not meet the first QoS threshold, the switching of the first communication path and the second communication path is triggered to be performed on each service and / or each session of the current communication path.
[0069] Optionally, based on the first communication interruption information, in the case that the current communication path is interrupted, the switching of the first communication path and the second communication path is triggered to be performed; wherein the switching of the first communication path and the second communication path includes at least one of the following:
[0070] The switching of the first communication path and the second communication path is performed on all services and / or all sessions of the current communication path.
[0071] performing the switching of the first communication path to the second communication path for the service and the session associated with the interruption on the current communication path.
[0072] 2) the second QoS threshold and the second communication interruption information are associated with a first service type and / or a first session type, and the second QoS threshold is a threshold of a QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path;
[0073] Optionally, based on the second QoS threshold, if the QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path does not meet the second QoS threshold, triggering the performing of the switching of the first communication path to the second communication path; wherein the performing of the switching of the first communication path to the second communication path comprises at least one of:
[0074] performing the switching of the first communication path to the second communication path for the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path;
[0075] performing the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0076] Optionally, based on the second communication interruption information, if an interruption occurs on the current communication path, triggering the performing of the switching of the first communication path to the second communication path; wherein the performing of the switching of the first communication path to the second communication path comprises at least one of:
[0077] performing the switching of the first communication path to the second communication path for the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path;
[0078] performing the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0079] 3) the third QoS threshold and / or the third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, and the third QoS threshold being a threshold of a QoS parameter of the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path;
[0080] Optionally, based on the third QoS threshold, in a case that the QoS parameter of the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path does not satisfy the third QoS threshold, triggering execution of the switching of the first communication path and the second communication path; wherein the execution of the switching of the first communication path and the second communication path comprises at least one of:
[0081] performing the switching of the first communication path and the second communication path on the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path;
[0082] performing the switching of the first communication path and the second communication path on all services and / or all sessions on the current communication path.
[0083] Optionally, based on the fourth communication interruption information, in a case that an interruption occurs on the current communication path, triggering execution of the switching of the first communication path and the second communication path; wherein the execution of the switching of the first communication path and the second communication path comprises at least one of:
[0084] performing the switching of the first communication path and the second communication path on the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path;
[0085] performing the switching of the first communication path and the second communication path on all services and / or all sessions on the current communication path.
[0086] 4) the fourth QoS threshold and the fourth communication interruption information are associated with a first QoS flow identifier, the fourth QoS threshold is a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0087] Optionally, based on the fourth QoS threshold, in a case that the QoS parameter of the QoS flow corresponding to the first QoS flow identifier on the current communication path does not satisfy the fourth QoS threshold, triggering execution of the switching of the first communication path and the second communication path; wherein the execution of the switching of the first communication path and the second communication path comprises at least one of:
[0088] performing the switching of the first communication path and the second communication path on the QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0089] performing the switching of the first communication path and the second communication path on all services and / or all sessions on the current communication path.
[0090] Optionally, based on the fourth communication interruption information, in a case where an interruption occurs in a current communication path, triggering execution of switching of the first communication path and the second communication path; wherein the execution of the switching of the first communication path and the second communication path comprises at least one of:
[0091] switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path;
[0092] switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path.
[0093] 5) the fifth QoS threshold and the RSRP threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of RSRP on the second communication path.
[0094] Optionally, based on the fifth QoS threshold and the RSRP threshold, in a case where the current communication path is the first communication path, the QoS parameter of the first communication path does not satisfy the fifth QoS threshold, and the RSRP on the second communication path is higher than the RSRP threshold, triggering execution of switching from the first communication path to the second communication path.
[0095] Optionally, the implementation manner of the first terminal for performing the switching of the first communication path and the second communication path based on the target path switching information can comprise at least one of:
[0096] 1) in a case where the target path switching information comprises a first path switching indication, a first QoS threshold, and / or first communication interruption information, the first terminal performs the switching of the first communication path and the second communication path for at least one of all services, all sessions, and all QoS flows on the current communication path in a case where an interruption occurs in the current communication path or a QoS parameter that can be achieved or satisfied by the current communication path does not satisfy the first QoS threshold;
[0097] 2) in a case where the target path switching information comprises a second path switching indication, a second QoS threshold, and / or second communication interruption information, the first terminal performs the switching of the first communication path and the second communication path for services corresponding to a first service type and / or sessions corresponding to a first session type on the current communication path in a case where an interruption occurs in the current communication path or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type on the current communication path does not satisfy the second QoS threshold;
[0098] Alternatively, the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in case of occurrence of interruption on the current communication path, or in case that the QoS parameters of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be reached or satisfied on the current communication path do not satisfy the second QoS threshold.
[0099] 3) In case that the target path switching information comprises a third path switching indication, a third QoS threshold and / or third interruption information, the first terminal performs the switching of the first communication path to the second communication path for the services corresponding to the first service identifier and / or the sessions corresponding to the first session identifier on the current communication path in case of occurrence of interruption on the current communication path, or in case that the QoS parameters of the services corresponding to the first service identifier and / or the sessions corresponding to the first session identifier that can be reached or satisfied on the current communication path do not satisfy the third QoS threshold.
[0100] Alternatively, the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in case of occurrence of interruption on the current communication path, or in case that the QoS parameters of the services corresponding to the first service identifier and / or the sessions corresponding to the first session identifier that can be reached or satisfied on the current communication path do not satisfy the third QoS threshold.
[0101] 4) In case that the target path switching information comprises a fourth path switching indication, a fourth QoS threshold and / or fourth interruption information, the first terminal performs the switching of the first communication path to the second communication path for the QoS flow corresponding to the first QoS flow identifier on the current communication path in case of occurrence of interruption on the current communication path, or in case that the QoS parameters of the QoS flow corresponding to the first QoS flow identifier that can be reached or satisfied on the current communication path do not satisfy the fourth QoS threshold.
[0102] Alternatively, the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in case of occurrence of interruption on the current communication path, or in case that the QoS parameters of the QoS flow corresponding to the first QoS flow identifier that can be reached or satisfied on the current communication path do not satisfy the fourth QoS threshold.
[0103] 5) in the case that the target path switching information comprises a fifth QoS threshold and an RSRP threshold, in the case that the current communication path is interrupted, or in the case that the current communication path is the first communication path, the achievable or satisfied QoS parameter of the first communication path does not satisfy the fifth QoS threshold, and the RSRP on the second communication path is higher than the RSRP threshold, the first terminal performs switching from the first communication path to the second communication path.
[0104] Optionally, the QoS parameter can include, but is not limited to, at least one of the following: delay, packet loss rate, guaranteed flow bit rate, and maximum flow bit rate.
[0105] Optionally, the first terminal first acquires the target path switching information, and then performs switching of the first communication path and the second communication path based on the target path switching information. Specifically, the implementation of the first terminal acquiring the target path switching information can include at least one of the following acquisition manners: pre-setting, pre-provision by a protocol, network side device configuration (for example, the first terminal receives the target path switching information sent by the network side device), negotiation between the first terminal and the second terminal, and sending of the target path switching information by another terminal. The following describes each acquisition manner.
[0106] The another terminal sending the target path switching information can include: the first terminal receiving the target path switching information sent by the second terminal.
[0107] For example, the second terminal sends the target path switching information to the first terminal through direct PC5 communication and / or direct Uu communication.
[0108] Alternatively, the second terminal carries the target path switching information in a discovery message; after the first terminal receives the discovery message, in the case that the first terminal accepts switching of the first communication path and the second communication path, and accepts the triggering condition, the triggering condition is determined as a condition for path switching, and the first terminal performs switching of the first communication path and the second communication path based on the target path switching information.
[0109] Optionally, the implementation of the first terminal and the first terminal negotiating to determine the target path switching information can include: a negotiation process initiated by the first terminal, or a negotiation process initiated by the second terminal; it should be noted that the negotiation process can be performed in a first communication path establishment process or a first communication path update process; the first communication path can include a PC5 communication link.
[0110] The following describes the negotiation process initiated by the first terminal:
[0111] 1) The first terminal sends first path switching information to the second terminal; wherein the first path switching information includes a trigger condition accepted by the first terminal for triggering the switching of the first communication path and the second communication path. Optionally, the first path switching information includes at least one of the following: a first path switching indication, a second path switching indication, a third path switching indication, a fourth path switching indication, a path switching direction, a first QoS threshold and / or first communication interruption information, a second QoS threshold and / or second communication interruption information, a third QoS threshold and / or third communication interruption information, a fourth QoS threshold and / or fourth communication interruption information, a fifth QoS threshold and an RSRP threshold.
[0112] 2) After the second terminal receives the first path switching information sent by the first terminal, if the second terminal accepts the switching of the first communication path and the second communication path, the second terminal determines target path switching information based on the first path switching information, and then sends the target path switching information to the first terminal; wherein the target path switching information is information that can be accepted by the second terminal in the first path switching information. The first terminal receives the target path switching information sent by the second terminal; the first terminal and the second terminal perform the switching of the first communication path and the second communication path based on the target path switching information. It should be noted that the target path switching information can be a subset of the first path switching information. Optionally, if the target path switching information is a higher requirement than the requirement of the first path switching information, after the first terminal receives the target path switching information sent by the second terminal, the first terminal determines the information that can be accepted by the first terminal in the target path switching information as updated target path switching information, and informs the second terminal; the first terminal and the second terminal perform the switching of the first communication path and the second communication path based on the updated target path switching information.
[0113] Alternatively, after the second terminal receives the first path switching information sent by the first terminal, if the second terminal does not accept the switching of the first communication path and the second communication path, or does not accept the first path switching information, the second terminal sends first switching rejection information to the first terminal, wherein the first switching rejection information is used to indicate that the second terminal does not accept the switching of the first communication path and the second communication path, or does not accept the first path switching information; after the first terminal receives the first switching rejection information sent by the second terminal, the first terminal does not perform the switching of the first communication path and the second communication path.
[0114] It should be noted that each negotiation message involved in the negotiation process can be an independent PC5 signaling or completed using an existing PC5 signaling.
[0115] For the negotiation process initiated by the second terminal, the following is explained:
[0116] The second terminal sends second path switching information to the first terminal; wherein the second path switching information includes the trigger condition accepted by the second terminal for triggering the switching of the first communication path and the second communication path.
[0117] After the first terminal receives the second path switching information sent by the second terminal, the first terminal determines the target path switching information based on the second path switching information; wherein the target path switching information is the information accepted by the first terminal in the second path switching information; the first terminal sends the target path switching information to the second terminal. The second terminal receives the target path switching information sent by the first terminal.
[0118] Alternatively, after the first terminal receives the second path switching information sent by the second terminal, in the case that the first terminal does not accept the switching of the first communication path and the second communication path, or does not accept the second path switching information, the first terminal sends second switching rejection information to the second terminal, the second switching rejection information being used to indicate that the first terminal does not accept the switching of the first communication path and the second communication path, or does not accept the second path switching information; after the second terminal receives the second switching rejection information sent by the first terminal, the second terminal does not perform the switching of the first communication path and the second communication path. It should be noted that each negotiation message involved in the negotiation process can be an independent PC5 signaling or completed using an existing PC5 signaling.
[0119] Optionally, after the first terminal obtains the target path switching information, the first terminal performs the following procedures in the case that it cannot perform the switching of the first communication path and the second communication path:
[0120] 1) The first terminal sends first path switching cancellation information to the second terminal; wherein the first path switching cancellation information is used to indicate that the second terminal does not perform the switching of the first communication path and the second communication path.
[0121] 2) The second terminal receives the first path switching cancellation information sent by the first terminal; the second terminal does not perform the switching of the first communication path and the second communication path based on the first path switching cancellation information; the second terminal sends first path switching cancellation reply information to the first terminal.
[0122] 3) The first terminal receives the first path switching cancellation reply information sent by the second terminal.
[0123] Optionally, the first path switching cancellation information comprises at least one of the following reason values: congestion control information, mobility restriction information, not in the coverage of cellular signals.
[0124] Optionally, the first path switching cancellation information comprises:
[0125] trigger condition deactivation information; wherein the trigger condition deactivation information comprises a deactivation reason value, used to instruct the second terminal to deactivate the trigger condition; wherein the deactivation reason value comprises at least one of the following reason values: congestion control information, mobility restriction information, not in the coverage of cellular signals.
[0126] or, path switching termination information; wherein the path switching termination information is used to instruct the second terminal to terminate the execution of the switching of the first communication path and the second communication path.
[0127] Optionally, after the second terminal deactivates the trigger condition, in the case where the trigger condition is met, the second terminal cancels the execution of the switching of the first communication path and the second communication path;
[0128] Optionally, in the case where the congestion control information is included in the deactivation reason value, the trigger condition deactivation information can further comprise a timer; specifically, after the second terminal receives the trigger condition deactivation information, the second terminal starts the timer; before the timer reaches a target time length, in the case where the trigger condition is met, the second terminal does not execute the switching of the first communication path and the second communication path; after the timer reaches the target time length, the second terminal reactivates the trigger condition, i.e., in the case where the trigger condition is met, the second terminal executes the switching of the first communication path and the second communication path.
[0129] Optionally, after the first terminal receives the first path switching cancellation reply information sent by the second terminal, in the case where the first path switching cancellation information comprises the path switching termination information, the first terminal deletes the target path switching information; or,
[0130] In the case where the first path switching cancellation information comprises the trigger condition deactivation information, the first terminal deactivates the trigger condition, i.e., in the case where the trigger condition is met, the first terminal cancels the execution of the switching of the first communication path and the second communication path.
[0131] Optionally, after the first terminal deactivates the trigger condition in the case that the first terminal receives the first path switch cancellation information including the trigger condition deactivation information, the first terminal sends first trigger condition activation information to the second terminal in the case that the first terminal resumes performing the first communication path and the second communication path switching; wherein the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition. After the second terminal receives the first trigger condition activation information, the second terminal activates the trigger condition based on the first trigger condition activation information. Optionally, the second terminal sends first trigger condition activation reply information to the first terminal; wherein the first trigger condition activation reply information is used to indicate that the second terminal has activated the trigger condition; and the first terminal receives the second trigger condition activation reply information.
[0132] Optionally, after the first terminal obtains the target path switch information, the first terminal sends second trigger condition activation information to the second terminal; wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition. After the second terminal receives the second trigger condition activation information, the second terminal activates the trigger condition based on the second trigger condition activation information.
[0133] Optionally, after the first terminal obtains the target path switch information, the first terminal sends second trigger condition activation information to the second terminal; wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition. After the second terminal receives the second trigger condition activation information, the second terminal activates the trigger condition based on the second trigger condition activation information. The second terminal sends second trigger condition activation reply information to the first terminal; wherein the second trigger condition activation reply information is used to indicate that the second terminal has activated the trigger condition. After the first terminal receives the second trigger condition activation reply information, the first terminal activates the trigger condition based on the first trigger condition activation reply information.
[0134] Optionally, after the second terminal obtains the target path switch information, the second terminal performs the following procedures in the case that the second terminal cannot perform the first communication path and the second communication path switching.
[0135] 1) The second terminal sends second path switch cancellation information to the first terminal; wherein the second path switch cancellation information is used to instruct the first terminal not to perform the first communication path and the second communication path switching.
[0136] 2) the first terminal receives second path switch cancellation information sent by the second terminal; the first terminal does not perform the first communication path and the second communication path switching based on the second path switch cancellation information; and the first terminal sends second path switch cancellation reply information to the second terminal.
[0137] 3) the second terminal receives the second path switch cancellation reply information sent by the first terminal.
[0138] Figure 3 Figure 2 is a flowchart of a communication path switching method provided by an embodiment of the present application, as shown in the figure, the method comprises the following steps: Figure 3
[0139] Step 301: the second terminal performs the first communication path and the second communication path switching based on the target path switching information; wherein the first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering the first communication path and the second communication path switching.
[0140] Optionally, the embodiment of the present application can be applied to a direct communication scenario; the direct communication can include but is not limited to at least one of the following: ProSe, V2X. The first communication path can include a direct PC5 communication path; the second communication path can include a direct Uu communication path. The first terminal and the second terminal can include but are not limited to the types of the first terminal 11 and the first terminal 12 listed above. The network side device can include but is not limited to the type of the network side device 13 listed above.
[0141] In the communication path switching method provided by the embodiment of the present application, the second terminal performs the first communication path and the second communication path switching based on the path switching indication information, so that the first terminal and the second terminal can have a consistent understanding of the switching trigger condition and timing between the first communication path and the second communication path based on the same path switching indication information, realize the path switching between the direct communication and the wireless communication synchronously, and ensure the continuity of the service between the first terminal and the second terminal, thereby improving the service quality.
[0142] Optionally, the second terminal first acquires the target path switching information, and then performs switching of the first communication path and the second communication path based on the target path switching information. Specifically, the implementation of the second terminal acquiring the target path switching information can include at least one of the following acquisition manners: pre-setting, pre-provision by a protocol, network side device configuration (for example, the second terminal receives target path switching information sent by the network side device), negotiation between the first terminal and the second terminal, and sending of the target path switching information by another terminal. The following describes each acquisition manner.
[0143] The another terminal sending the target path switching information can include the second terminal receiving the target path switching information sent by the first terminal.
[0144] For example, the first terminal sends the target path switching information to the second terminal through direct PC5 communication and / or direct Uu communication.
[0145] Alternatively, the first terminal carries the target path switching information in a discovery message; after the second terminal receives the discovery message, in the case that the second terminal accepts switching of the first communication path and the second communication path and accepts the trigger condition, the second terminal determines that the trigger condition is a condition for path switching, and performs switching of the first communication path and the second communication path based on the target path switching information.
[0146] Optionally, the implementation of the first terminal and the second terminal negotiating to determine the target path switching information can include a negotiation process initiated by the first terminal or a negotiation process initiated by the second terminal; it should be noted that the negotiation process can be performed in a first communication path establishment process or a first communication path update process; the first communication path can include a PC5 communication link.
[0147] Optionally, the negotiation process initiated by the first terminal is described as follows:
[0148] The second terminal acquiring the target path switching information includes the second terminal receiving first path switching information sent by the first terminal; the first path switching information includes a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path; the second terminal determines the target path switching information based on the first path switching information; the target path switching information is information accepted by the second terminal in the first path switching information; and the second terminal sends the target path switching information to the first terminal.
[0149] It should be noted that each negotiation message involved in the negotiation process can be an independent PC5 signaling or be completed using an existing PC5 signaling.
[0150] Optionally, the negotiation process initiated by the second terminal is described as follows:
[0151] The second terminal obtaining the target path switching information includes that the second terminal sends second path switching information to the first terminal, wherein the second path switching information includes a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path; and the second terminal receives the target path switching information sent by the first terminal, wherein the target path switching information is information accepted by the first terminal in the second path switching information.
[0152] It should be noted that the description and explanation of the negotiation process initiated by the first terminal and the negotiation process initiated by the second terminal can refer to the above and achieve the same technical effect. To avoid repetition, it will not be described here. It should be noted that each negotiation message involved in the negotiation process can be an independent PC5 signaling or completed using an existing PC5 signaling.
[0153] Optionally, the target path switching information further includes at least one of the following information:
[0154] The first path switching indication is used to indicate that at least one of all services, all sessions, and all QoS flows on the current communication path between the first terminal and the second terminal is switched from the first communication path to the second communication path when the trigger condition is met.
[0155] The second path switching indication includes a first service type and / or a first session type, and is used to indicate that the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met.
[0156] The third path switching indication includes a first service identifier and / or a first session identifier, and is used to indicate that the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met.
[0157] The fourth path switching indication includes a first QoS flow identifier, and is used to indicate that the QoS flow corresponding to the first QoS flow identifier on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met.
[0158] path switching direction, used for indicating the switching direction of the communication path.
[0159] It should be noted that the description and explanation of various information included in the target path switching information can refer to the foregoing, and the same technical effects can be achieved. To avoid repetition, they will not be described here.
[0160] Optionally, the trigger condition includes at least one of the following information:
[0161] a first QoS threshold and / or a first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path;
[0162] a second QoS threshold and / or a second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path;
[0163] a third QoS threshold and / or a third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path;
[0164] a fourth QoS threshold and / or a fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0165] a fifth QoS threshold and an RSRP threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
[0166] It should be noted that the description and explanation of various information included in the trigger condition can refer to the foregoing, and the same technical effects can be achieved. To avoid repetition, they will not be described here.
[0167] Optionally, the second terminal performs the implementation of the switching of the first communication path and the second communication path based on the target path switching information, and the implementation manner can include at least one of the following:
[0168] 1) in case that the target path switch information includes a first path switch indication, a first QoS threshold and / or a first communication interruption information, the second terminal performs the switch from the first communication path to the second communication path for at least one of all services, all sessions, all QoS flows on the current communication path in case that the current communication path has an interruption, or the QoS parameter of the current communication path does not meet the first QoS threshold;
[0169] 2) in case that the target path switch information includes a second path switch indication, a second QoS threshold and / or a second communication interruption information, the second terminal performs the switch from the first communication path to the second communication path for the first service type corresponding service and / or the first session type corresponding session on the current communication path in case that the current communication path has an interruption, or the QoS parameter of the first service type corresponding service and / or the first session type corresponding session on the current communication path does not meet the second QoS threshold;
[0170] or, the second terminal performs the switch from the first communication path to the second communication path for all services and / or all sessions on the current communication path in case that the current communication path has an interruption, or the QoS parameter of the first service type corresponding service and / or the first session type corresponding session on the current communication path does not meet the second QoS threshold.
[0171] 3) in case that the target path switch information includes a third path switch indication, a third QoS threshold and / or a third communication interruption information, the second terminal performs the switch from the first communication path to the second communication path for the first service identifier corresponding service and / or the first session identifier corresponding session on the current communication path in case that the current communication path has an interruption, or the QoS parameter of the first service identifier corresponding service and / or the first session identifier corresponding session on the current communication path does not meet the third QoS threshold;
[0172] or, the second terminal performs the switch from the first communication path to the second communication path for all services and / or all sessions on the current communication path in case that the current communication path has an interruption, or the QoS parameter of the first service identifier corresponding service and / or the first session identifier corresponding session on the current communication path does not meet the third QoS threshold.
[0173] 4) in the case that the target path switching information comprises a fourth path switching indication, a fourth QoS threshold and / or fourth communication interruption information, the second terminal performs the switching of the first communication path to the second communication path for all traffic and / or all sessions on the current communication path in the case that the current communication path is interrupted or the QoS parameter of the QoS flow corresponding to the first QoS flow identifier on the current communication path does not satisfy the fourth QoS threshold.
[0174] Alternatively, the second terminal performs the switching of the first communication path to the second communication path for all traffic and / or all sessions on the current communication path in the case that the current communication path is interrupted or the QoS parameter of the QoS flow corresponding to the first QoS flow identifier on the current communication path does not satisfy the fourth QoS threshold.
[0175] Optionally, the second terminal receives first path switching cancellation information sent by the first terminal, wherein the first path switching cancellation information is used to indicate that the second terminal does not perform the switching of the first communication path to the second communication path; the second terminal does not perform the switching of the first communication path to the second communication path based on the first path switching cancellation information; and the second terminal sends first path switching cancellation reply information to the first terminal.
[0176] Optionally, the first path switching cancellation information comprises at least one of the following reason values: congestion control information, mobility restriction information, and not being in the coverage of a cellular signal.
[0177] Optionally, the first path switching cancellation information comprises trigger condition deactivation information used to indicate that the second terminal deactivates the trigger condition, or path switching termination information used to indicate that the second terminal terminates the switching of the first communication path to the second communication path.
[0178] Optionally, the second terminal does not perform the switching of the first communication path to the second communication path based on the first path switching cancellation information comprises: in the case that the first path switching cancellation information comprises the path switching termination information, the second terminal deletes the target path switching information.
[0179] Optionally, the second terminal does not perform the switching of the first communication path to the second communication path based on the first path switching cancellation information comprises: in the case that the first path switching cancellation information comprises the trigger condition deactivation information, the second terminal deactivates the trigger condition.
[0180] Optionally, after the second terminal deactivates the trigger condition in the case that the trigger condition deactivation information is included in the first path switching cancellation information, the second terminal receives first trigger condition activation information sent by the first terminal; the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition; and the second terminal activates the trigger condition based on the first trigger condition activation information.
[0181] Optionally, after the second terminal obtains the target path switching information, the second terminal receives second trigger condition activation information sent by the first terminal; the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition; and the second terminal activates the trigger condition based on the second trigger condition activation information.
[0182] Optionally, in the case that the second terminal cannot perform the first communication path and the second communication path switching, the second terminal sends second path switching cancellation information to the first terminal; the second path switching cancellation information is used to instruct the first terminal not to perform the first communication path and the second communication path switching; and the second terminal receives second path switching cancellation reply information sent by the first terminal.
[0183] Optionally, the second terminal performs the first communication path and the second communication path switching based on the target path switching information, including: in the case that the current communication path between the first terminal and the second terminal is the first communication path, the second terminal switches from the first communication path to the second communication path based on the target path switching information; or in the case that the current communication path is the second communication path, the second terminal switches from the second communication path to the first communication path based on the target path switching information.
[0184] Optionally, taking the first communication path as a direct PC5 communication path and the second communication path as a direct Uu communication path as an example, after the first terminal obtains the target path switching information, the first terminal performs the direct PC5 communication path and the direct Uu communication path switching based on the target path switching information; the initial communication of the first terminal is one of direct PC5 communication and direct Uu communication, and the communication after switching is different from the initial communication.
[0185] Optionally, taking the first communication path as a direct PC5 communication path and the second communication path as a direct Uu communication path as an example, Figure 4 is a signaling flow diagram of a negotiation process initiated by a first terminal provided by the embodiment of the application, as shown in Figure 4 the method includes the following steps:
[0186] Step 401, the first terminal sends first path switching information to the second terminal; wherein the first path switching information includes a trigger condition accepted by the first terminal for triggering switching of the direct PC5 communication path and the direct Uu communication path.
[0187] Optionally, the first path switching information includes at least one of the following: a first path switching indication, a second path switching indication, a third path switching indication, a fourth path switching indication, a path switching direction, a first QoS threshold and / or first communication interruption information, a second QoS threshold and / or second communication interruption information, a third QoS threshold and / or third communication interruption information, a fourth QoS threshold and / or fourth communication interruption information, a fifth QoS threshold and an RSRP threshold.
[0188] Step 402, after the second terminal receives the first path switching information sent by the first terminal, if the second terminal accepts switching of the direct PC5 communication path and the direct Uu communication path, the second terminal determines target path switching information based on the first path switching information.
[0189] Step 403, the second terminal sends the target path switching information to the first terminal; wherein the target path switching information is information that can be accepted by the second terminal in the first path switching information.
[0190] Step 404, the first terminal receives the target path switching information sent by the second terminal; and the first terminal and the second terminal perform switching of the direct PC5 communication path and the direct Uu communication path based on the target path switching information.
[0191] Optionally, taking the first communication path as the direct PC5 communication path and the second communication path as the direct Uu communication path as an example, Figure 5 is a signaling flow diagram of a path switching cancellation process initiated by the first terminal provided by the embodiments of the present application, as shown in Figure 5 the method comprises the following steps:
[0192] Step 501, the first terminal sends first path switching cancellation information to the second terminal in a case where the first terminal cannot perform switching of the direct PC5 communication path and the direct Uu communication path; wherein the first path switching cancellation information is used to instruct the second terminal not to perform switching of the first communication path and the second communication path.
[0193] Optionally, the first path switching cancellation information includes at least one of the following reason values: congestion control information, mobility restriction information, and not being in a cellular signal coverage range.
[0194] Step 502, the second terminal receives the first path switching cancellation information sent by the first terminal; and the second terminal does not perform the switching of the first communication path and the second communication path based on the first path switching cancellation information.
[0195] Optionally, the first path switching cancellation information comprises:
[0196] trigger condition deactivation information; wherein the trigger condition deactivation information comprises a deactivation reason value, which is used to instruct the second terminal to deactivate the trigger condition; and wherein the deactivation reason value comprises at least one of the following reason values: congestion control information, mobility restriction information, and not being in a cellular signal coverage range.
[0197] Or, path switching termination information; wherein the path switching termination information is used to instruct the second terminal to terminate the switching of the first communication path and the second communication path.
[0198] Optionally, after the second terminal deactivates the trigger condition, if the trigger condition is met, the second terminal cancels the switching of the first communication path and the second communication path.
[0199] Optionally, if the congestion control information is included in the deactivation reason value, the trigger condition deactivation information can further comprise a timer; specifically, after the second terminal receives the trigger condition deactivation information, the second terminal starts the timer; before the timer reaches a target time length, if the trigger condition is met, the second terminal does not perform the switching of the first communication path and the second communication path; after the timer reaches the target time length, the second terminal reactivates the trigger condition, i.e., if the trigger condition is met, the second terminal performs the switching of the first communication path and the second communication path.
[0200] Step 503, the second terminal sends first path switching cancellation reply information to the first terminal; and the first terminal receives the first path switching cancellation reply information sent by the second terminal.
[0201] Optionally, after the first terminal receives the first path switching cancellation reply information sent by the second terminal, if the first path switching cancellation information comprises the path switching termination information, the first terminal deletes the target path switching information; or,
[0202] The first terminal deactivates the trigger condition in a case that the first path switching cancellation information comprises the trigger condition deactivation information, that is, the first terminal cancels performing switching of the first communication path and the second communication path in a case that the trigger condition is met.
[0203] It should be noted that the communication path switching method provided in the embodiments of the present application can be executed by a communication path switching device, or a control module in the communication path switching device for executing the communication path switching method. In the embodiments of the present application, the communication path switching device is taken as an example to illustrate the communication path switching device provided in the embodiments of the present application.
[0204] Figure 6 is one of the structural diagrams of the communication path switching device provided in the embodiments of the present application, as shown in Figure 6 The communication path switching device 600 is applied to a first terminal and comprises:
[0205] A first switching module 601 is configured to perform switching of a first communication path and a second communication path based on target path switching information.
[0206] The first communication path is a communication path for direct communication between the first terminal and the second terminal, the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device, and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path.
[0207] The communication path switching device provided in the embodiments of the present application performs switching of the first communication path and the second communication path based on path switching indication information, so that the first terminal and the second terminal can have a consistent understanding of the trigger condition and timing of switching between the first communication path and the second communication path based on the same path switching indication information, the path switching between direct communication and wireless communication can be performed synchronously, the continuity of services between the first terminal and the second terminal can be ensured, and the quality of service can be improved.
[0208] Optionally, the communication path switching device further comprises:
[0209] A first obtaining module is configured to obtain the target path switching information.
[0210] Optionally, the first obtaining module is specifically configured to:
[0211] receive the target path switching information sent by the network side device; or
[0212] receive the target path switching information sent by the second terminal.
[0213] Optionally, the first obtaining module is specifically configured to: send first path switching information to the second terminal, wherein the first path switching information comprises a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path; and receive the target path switching information sent by the second terminal, wherein the target path switching information is information accepted by the second terminal in the first path switching information.
[0214] Optionally, the first obtaining module is specifically configured to: receive second path switching information sent by the second terminal, wherein the second path switching information comprises a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path; determine the target path switching information based on the second path switching information, wherein the target path switching information is information accepted by the first terminal in the second path switching information; and send the target path switching information to the second terminal.
[0215] Optionally, the target path switching information further comprises at least one of the following information:
[0216] a first path switching indication, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on at least one of all services, all sessions, and all quality of service (QoS) flows on a current communication path between the first terminal and the second terminal;
[0217] a second path switching indication comprising a first service type and / or a first session type, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service type and / or sessions corresponding to the first session type on the current communication path, or on all services and / or all sessions on the current communication path;
[0218] a third path switching indication comprising a first service identifier and / or a first session identifier, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service identifier and / or sessions corresponding to the first session identifier on the current communication path, or on all services and / or all sessions on the current communication path;
[0219] a fourth path switching indication comprising a first QoS flow identifier, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on a QoS flow corresponding to the first QoS flow identifier on the current communication path, or on all services and / or all sessions on the current communication path.
[0220] a path switching direction, used to indicate a switching direction of a communication path.
[0221] Optionally, the trigger condition comprises at least one of the following information:
[0222] a first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path;
[0223] a second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path;
[0224] a third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path;
[0225] a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0226] a fifth QoS threshold and a reference signal received power (RSRP) threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
[0227] Optionally, the method further comprises:
[0228] a first sending module, configured to send, to the second terminal, first path switching cancellation information in a case where the first communication path and the second communication path cannot be switched; the first path switching cancellation information is used to instruct the second terminal not to perform the switching of the first communication path and the second communication path.
[0229] a first receiving module, configured to receive first path switching cancellation reply information sent by the second terminal.
[0230] Optionally, the first path switching cancellation information comprises at least one of the following reason values:
[0231] congestion control information, mobility restriction information, out of cellular signal coverage.
[0232] Optionally, the first path switching cancellation information comprises:
[0233] trigger condition deactivation information, used to instruct the second terminal to deactivate the trigger condition;
[0234] or, path switching termination information, used to instruct the second terminal to terminate execution of the switching of the first communication path and the second communication path.
[0235] Optionally, further comprising:
[0236] deletion module, configured to delete the target path switching information if the first path switching cancellation information comprises the path switching termination information.
[0237] Optionally, further comprising:
[0238] deactivation module, configured to deactivate the trigger condition if the first path switching cancellation information comprises the trigger condition deactivation information.
[0239] Optionally, further comprising:
[0240] second sending module, configured to send first trigger condition activation information to the second terminal if the execution of the switching of the first communication path and the second communication path is resumed; wherein the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0241] Optionally, further comprising:
[0242] third sending module, configured to send second trigger condition activation information to the second terminal; wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0243] Optionally, further comprising:
[0244] second receiving module, configured to receive second path switching cancellation information sent by the second terminal; wherein the second path switching cancellation information is used to instruct the first terminal not to execute the switching of the first communication path and the second communication path.
[0245] first cancellation execution module, configured to not execute the switching of the first communication path and the second communication path based on the second path switching cancellation information.
[0246] a fourth sending module, configured to send second path switch cancel reply information to the second terminal.
[0247] Optionally, the first switching module 601 is specifically configured to:
[0248] switch from the first communication path to the second communication path in a case where the current communication path between the first terminal and the second terminal is the first communication path;
[0249] or, switch from the second communication path to the first communication path in a case where the current communication path is the second communication path.
[0250] Optionally, the first switching module 601 is specifically configured to at least one of:
[0251] in a case where the target path switch information includes the first path switch indication, the first QoS threshold and / or first communication interruption information, perform the switching of the first communication path and the second communication path for at least one of all services, all sessions and all QoS flows on the current communication path in a case where the current communication path is interrupted or a QoS parameter that can be achieved or satisfied by the current communication path does not satisfy the first QoS threshold;
[0252] in a case where the target path switch information includes the second path switch indication, the second QoS threshold and / or second communication interruption information, perform the switching of the first communication path and the second communication path for services corresponding to a first service type and / or sessions corresponding to a first session type on the current communication path in a case where the current communication path is interrupted or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied by the current communication path does not satisfy the second QoS threshold; or, perform the switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path in a case where the current communication path is interrupted or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied by the current communication path does not satisfy the second QoS threshold;
[0253] In a case where the third path switching indication, the third QoS threshold and / or third communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path for the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path; or, in a case where an interruption occurs on the current communication path, or the QoS parameter of the service corresponding to the first service identifier and / or the session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0254] In a case where the fourth path switching indication, the fourth QoS threshold and / or fourth communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path for the QoS flow corresponding to the first QoS flow identifier on the current communication path; or, in a case where an interruption occurs on the current communication path, or the QoS parameter of the QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0255] In a case where the fifth QoS threshold and the RSRP threshold are included in the target path switching information, in a case where an interruption occurs on the current communication path, or in a case where the current communication path is the first communication path, a QoS parameter that can be achieved or satisfied on the first communication path does not satisfy the fifth QoS threshold, and an RSRP on the second communication path is higher than the RSRP threshold, performing switching from the first communication path to the second communication path.
[0256] The communication path switching device in the embodiments of the present applicationapplicationbe a device, a device having an operating system, or an electronic device, andapplicationalso be a component, an integrated circuit, or a chip in an electronic device. The device or the electronic deviceapplicationbe a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminalapplicationinclude, but is not limited to, the types of the first terminal 11 listed above, and the non-mobile terminalapplicationbe a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, which are not limited in the embodiments of the present application.
[0257] Figure 7 FIG. 2 is a schematic structural diagram of the communication path switching device according to an embodiment of the present application. Figure 7 As shown in FIG. 2, the communication path switching device 700applicationbe applied to a second terminal and include:
[0258] a second switching module 701 configured to perform switching of a first communication path and a second communication path based on target path switching information.
[0259] The first communication pathapplicationbe a communication path for direct communication between the first terminal and the second terminal, and the second communication pathapplicationbe a communication path for wireless communication between the first terminal and the second terminal via a network side device. The target path switching informationapplicationinclude a trigger condition for triggering the switching of the first communication path and the second communication path.
[0260] The communication path switching device provided in the embodiments of the present applicationapplicationperform switching of the first communication path and the second communication path based on path switching indication information, so that the first terminal and the second terminalapplicationhave a consistent understanding of a trigger condition and a timing for the switching between the first communication path and the second communication path based on the same path switching indication information, andapplicationrealize synchronous switching between direct communication and wireless communication, thereby ensuring continuity of services between the first terminal and the second terminal and improving service quality.
[0261] Optionally, the communication path switching deviceapplicationfurther include:
[0262] a second obtaining module configured to obtain the target path switching information.
[0263] Optionally, the second obtaining moduleapplicationbe specifically configured to:
[0264] receive the target path switching information sent by the network side device; or
[0265] receive the target path switching information sent by the first terminal.
[0266] Optionally, the second obtaining module is specifically configured to: receive first path switching information sent by the first terminal; wherein the first path switching information comprises a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path; determine the target path switching information based on the first path switching information; wherein the target path switching information is information accepted by the second terminal in the first path switching information; and send the target path switching information to the first terminal.
[0267] Optionally, the second obtaining module is specifically configured to: send second path switching information to the first terminal; wherein the second path switching information comprises a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path; and receive the target path switching information sent by the first terminal; wherein the target path switching information is information accepted by the first terminal in the second path switching information.
[0268] Optionally, the target path switching information further comprises at least one of the following information:
[0269] a first path switching indication, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on at least one of all services, all sessions, and all quality of service (QoS) flows on a current communication path between the first terminal and the second terminal;
[0270] a second path switching indication comprising a first service type and / or a first session type, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service type and / or sessions corresponding to the first session type on the current communication path, or on all services and / or all sessions on the current communication path;
[0271] a third path switching indication comprising a first service identifier and / or a first session identifier, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service identifier and / or sessions corresponding to the first session identifier on the current communication path, or on all services and / or all sessions on the current communication path;
[0272] a fourth path switching indication comprising a first QoS flow identifier, used for instructing, in a case where the trigger condition is met, to perform switching of the first communication path and the second communication path on a QoS flow corresponding to the first QoS flow identifier on the current communication path, or on all services and / or all sessions on the current communication path;
[0273] path switching direction, used for indicating a switching direction of a communication path.
[0274] Optionally, the trigger condition comprises at least one of the following information:
[0275] a first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path;
[0276] a second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path;
[0277] a third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path;
[0278] a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0279] a fifth QoS threshold and a reference signal receiving power (RSRP) threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
[0280] Optionally, the method further comprises:
[0281] a third receiving module, configured to receive first path switching cancellation information sent by the first terminal, the first path switching cancellation information being used to indicate that the second terminal does not perform switching between the first communication path and the second communication path;
[0282] a second cancellation execution module, configured to, based on the first path switching cancellation information, not perform switching between the first communication path and the second communication path;
[0283] a fifth sending module, configured to send first path switching cancellation reply information to the first terminal.
[0284] Optionally, the first path switching cancellation information comprises at least one of the following reason values:
[0285] Congestion control information, mobility restriction information, not in cellular signal coverage.
[0286] Optionally, the first path switching cancellation information comprises:
[0287] Trigger condition deactivation information, used to instruct the second terminal to deactivate the trigger condition;
[0288] Or, path switching termination information, used to instruct the second terminal to terminate execution of the switching of the first communication path and the second communication path.
[0289] Optionally, the second cancellation execution module is specifically configured to, in a case where the first path switching cancellation information comprises the path switching termination information, delete the target path switching information.
[0290] Optionally, the second cancellation execution module is specifically configured to, in a case where the first path switching cancellation information comprises the trigger condition deactivation information, deactivate the trigger condition.
[0291] Optionally, the method further comprises:
[0292] The fourth receiving module is configured to receive first trigger condition activation information sent by the first terminal, wherein the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0293] The first activation module is configured to activate the trigger condition based on the first trigger condition activation information.
[0294] Optionally, the method further comprises:
[0295] The fifth receiving module is configured to receive second trigger condition activation information sent by the first terminal, wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0296] The second activation module is configured to activate the trigger condition based on the second trigger condition activation information.
[0297] Optionally, the method further comprises:
[0298] The sixth sending module is configured to, in a case where the first communication path and the second communication path cannot be switched, send second path switching cancellation information to the first terminal, wherein the second path switching cancellation information is used to instruct the first terminal not to perform the switching of the first communication path and the second communication path.
[0299] a sixth receiving module, configured to receive second path switch cancel reply information sent by the first terminal.
[0300] Optionally, the second switching module 701 is specifically configured to:
[0301] switch from the first communication path to the second communication path in a case where the current communication path between the first terminal and the second terminal is the first communication path;
[0302] or, switch from the second communication path to the first communication path in a case where the current communication path is the second communication path.
[0303] Optionally, the second switching module 701 is specifically configured to at least one of:
[0304] in a case where the target path switching information includes the first path switch indication, the first QoS threshold and / or first communication interruption information, perform switching of the first communication path and the second communication path on at least one of all services, all sessions and all QoS flows on the current communication path in a case where the current communication path is interrupted or a QoS parameter that can be achieved or satisfied by the current communication path does not satisfy the first QoS threshold;
[0305] in a case where the target path switching information includes the second path switch indication, the second QoS threshold and / or second communication interruption information, perform switching of the first communication path and the second communication path on services corresponding to a first service type and / or sessions corresponding to a first session type on the current communication path in a case where the current communication path is interrupted or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied on the current communication path does not satisfy the second QoS threshold; or, perform switching of the first communication path and the second communication path on all services and / or all sessions on the current communication path in a case where the current communication path is interrupted or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied on the current communication path does not satisfy the second QoS threshold;
[0306] In a case where the third path switching indication, the third QoS threshold and / or the third communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path for the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path; or, in a case where an interruption occurs on the current communication path, or the QoS parameter of the service corresponding to the first service identifier and / or the session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0307] In a case where the fourth path switching indication, the fourth QoS threshold and / or the fourth communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path for the QoS flow corresponding to the first QoS flow identifier on the current communication path; or, in a case where an interruption occurs on the current communication path, or the QoS parameter of the QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path.
[0308] In a case where the fifth QoS threshold and the RSRP threshold are included in the target path switching information, in a case where an interruption occurs on the current communication path, or in a case where the current communication path is the first communication path, a QoS parameter that can be achieved or satisfied on the first communication path does not satisfy the fifth QoS threshold, and an RSRP on the second communication path is higher than the RSRP threshold, performing switching from the first communication path to the second communication path.
[0309] The communication path switching device in this application embodiment can be a device, a device with an operating system, or an electronic device, or it can be a component, integrated circuit, or chip in an electronic device. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, a mobile terminal can include, but is not limited to, the types of the second terminal 12 listed above, and a non-mobile terminal can be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the type of terminal.
[0310] The communication path switching device provided in this application embodiment can achieve... Figures 2 to 7 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0311] Figure 8 This is one of the structural schematic diagrams of the first terminal provided in the embodiments of this application, such as... Figure 8 As shown, the first terminal 800 includes: a processor 801, a memory 802, and a program or instructions stored in the memory 802 and executable on the processor 801. When the program or instructions are executed by the processor 801, they implement the various processes of the above-described communication path switching method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0312] This application embodiment also provides a first terminal, including a processor and a communication interface. The processor is used by the first terminal to switch between a first communication path and a second communication path based on target path switching information. The first communication path is a direct communication path between the first terminal and the second terminal; the second communication path is a wireless communication path between the first terminal and the second terminal via a network-side device. The target path switching information includes triggering conditions for initiating the switch between the first and second communication paths. This first terminal embodiment corresponds to the above-described first terminal-side method embodiment. All implementation processes and methods of the above method embodiments can be applied to this first terminal embodiment and achieve the same technical effects.
[0313] Figure 9 This is a second schematic diagram of the structure of the first terminal provided in the embodiments of this application, as shown below. Figure 9As shown, the first terminal 900 includes, but is not limited to, at least part of the components such as a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
[0314] Those skilled in the art can understand that the first terminal 900 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 910 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 9 The structure of the first terminal shown in the figure does not constitute a limitation on the first terminal, and the first terminal can include more or fewer components than those shown, or combine certain components, or different component arrangements, which are not described here.
[0315] It should be understood that in the embodiments of the present application, the input unit 904 can include a graphics processing unit (GPU) 9041 and a microphone 9042. The graphics processing unit 9041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 can include a display panel 9061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 can include two parts of a touch detection device and a touch controller. The other input devices 9072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, joysticks, etc., which are not described here.
[0316] In the embodiments of the present application, the radio frequency unit 901 receives downlink data from a network side device and processes the data by the processor 910; in addition, the radio frequency unit 901 sends uplink data to the network side device. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
[0317] The memory 909 can be used to store software programs or instructions and various data. The memory 909 can mainly include a storage program or instruction area and a storage data area, wherein the storage program or instruction area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), etc. In addition, the memory 909 can include a high-speed random access memory, and can also include a non-volatile memory, which can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), or a flash memory. For example, at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device.
[0318] The processor 910 can include one or more processing units; optionally, the processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communication, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 910.
[0319] The processor 910 is configured to perform switching of a first communication path and a second communication path based on target path switching information; the first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information includes a trigger condition for triggering the switching of the first communication path and the second communication path.
[0320] The first terminal provided by the embodiments of the present application performs switching of a first communication path and a second communication path based on path switching indication information, so that the first terminal and the second terminal synchronously realize path switching between direct communication and wireless communication based on the same path switching indication information, which can guarantee the continuity of services between the first terminal and the second terminal and improve the quality of service.
[0321] Optionally, the processor 910 is further configured to acquire the target path switching information.
[0322] Optionally, the processor 910 is further configured to receive the target path switching information sent by the network side device; or receive the target path switching information sent by the second terminal.
[0323] Optionally, the processor 910 is further configured to:
[0324] send first path switching information to the second terminal, wherein the first path switching information comprises a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path;
[0325] receive the target path switching information sent by the second terminal, wherein the target path switching information is information accepted by the second terminal in the first path switching information.
[0326] Optionally, the processor 910 is further configured to:
[0327] receive second path switching information sent by the second terminal, wherein the second path switching information comprises a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path;
[0328] determine the target path switching information based on the second path switching information, wherein the target path switching information is information accepted by the first terminal in the second path switching information;
[0329] send the target path switching information to the second terminal.
[0330] Optionally, the target path switching information further comprises at least one of the following information:
[0331] a first path switching indication, used to instruct, in the case where the trigger condition is met, to perform switching of the first communication path and the second communication path on at least one of all services, all sessions, and all quality of service (QoS) flows on a current communication path between the first terminal and the second terminal;
[0332] a second path switching indication, comprising a first service type and / or a first session type, used to instruct, in the case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service type and / or sessions corresponding to the first session type on the current communication path, or on all services and / or all sessions on the current communication path;
[0333] a third path switching indication, comprising a first service identifier and / or a first session identifier, used to instruct, in the case where the trigger condition is met, to perform switching of the first communication path and the second communication path on services corresponding to the first service identifier and / or sessions corresponding to the first session identifier on the current communication path, or on all services and / or all sessions on the current communication path;
[0334] a fourth path switching indication including a first QoS flow identifier, used to indicate that, in the case that the trigger condition is met, switching of the first communication path and the second communication path is performed on a QoS flow corresponding to the first QoS flow identifier on the current communication path, or on all services and / or all sessions on the current communication path;
[0335] a path switching direction, used to represent a switching direction of a communication path.
[0336] Optionally, the trigger condition includes at least one of the following information:
[0337] a first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path;
[0338] a second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path;
[0339] a third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path;
[0340] a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path;
[0341] a fifth QoS threshold and a reference signal received power (RSRP) threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
[0342] Optionally, the radio frequency unit 901 is configured to, in a case where the first communication path and the second communication path cannot be switched, send first path switching cancellation information to the second terminal; the first path switching cancellation information is used to instruct the second terminal not to perform the first communication path and the second communication path switching; and the radio frequency unit 901 is configured to receive first path switching cancellation reply information sent by the second terminal.
[0343] Optionally, the first path switching cancellation information includes at least one of the following reason values:
[0344] Congestion control information, mobility restriction information, and out of cellular signal coverage.
[0345] Optionally, the first path switching cancellation information includes:
[0346] Trigger condition deactivation information, used to instruct the second terminal to deactivate the trigger condition;
[0347] Or, path switching termination information, used to instruct the second terminal to terminate the execution of the first communication path and the second communication path switching.
[0348] Optionally, the processor 910 is further configured to, in a case where the first path switching cancellation information includes the path switching termination information, delete the target path switching information.
[0349] Optionally, the processor 910 is further configured to, in a case where the first path switching cancellation information includes the trigger condition deactivation information, deactivate the trigger condition.
[0350] Optionally, the radio frequency unit 901 is further configured to, in a case where the first communication path and the second communication path switching are resumed, send first trigger condition activation information to the second terminal; the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0351] Optionally, the radio frequency unit 901 is further configured to send second trigger condition activation information to the second terminal; the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
[0352] Optionally, the radio frequency unit 901 is further configured to receive second path switching cancellation information sent by the second terminal; the second path switching cancellation information is used to instruct the first terminal not to perform the first communication path and the second communication path switching.
[0353] The processor 910 is further configured to, based on the second path switching cancellation information, not perform the first communication path and the second communication path switching.
[0354] The radio frequency unit 901 is further configured to send second path switching cancellation reply information to the second terminal.
[0355] Optionally, the processor 910 is further configured to:
[0356] switch from the first communication path to the second communication path in a case that the current communication path between the first terminal and the second terminal is the first communication path;
[0357] Or, switch from the second communication path to the first communication path in a case that the current communication path is the second communication path.
[0358] Optionally, the processor 910 is further configured to at least one of:
[0359] in a case that the target path switching information comprises the first path switching indication, the first QoS threshold and / or first communication interruption information, perform the switching of the first communication path and the second communication path for at least one of all services, all sessions, all QoS flows on the current communication path in a case that the current communication path occurs interruption, or a QoS parameter capable of being achieved or satisfied by the current communication path does not satisfy the first QoS threshold;
[0360] in a case that the target path switching information comprises the second path switching indication, the second QoS threshold and / or second communication interruption information, perform the switching of the first communication path and the second communication path for services corresponding to a first service type and / or sessions corresponding to a first session type on the current communication path in a case that the current communication path occurs interruption, or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type capable of being achieved or satisfied by the current communication path does not satisfy the second QoS threshold; or, perform the switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path in a case that the current communication path occurs interruption, or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type capable of being achieved or satisfied by the current communication path does not satisfy the second QoS threshold;
[0361] In a case where the third path switching indication, the third QoS threshold and / or the third communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path on the service corresponding to the first service identifier and / or the session corresponding to the first session identifier on the current communication path; or in a case where an interruption occurs on the current communication path, or the QoS parameter of the service corresponding to the first service identifier and / or the session corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold, performing switching of the first communication path to the second communication path on all services and / or all sessions on the current communication path.
[0362] In a case where the fourth path switching indication, the fourth QoS threshold and / or the fourth communication interruption information are included in the target path switching information, in a case where an interruption occurs on the current communication path, or a QoS parameter of a QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path on the QoS flow corresponding to the first QoS flow identifier on the current communication path; or in a case where an interruption occurs on the current communication path, or the QoS parameter of the QoS flow corresponding to the first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, performing switching of the first communication path to the second communication path on all services and / or all sessions on the current communication path.
[0363] In a case where the fifth QoS threshold and the RSRP threshold are included in the target path switching information, in a case where an interruption occurs on the current communication path, or in a case where the current communication path is the first communication path, a QoS parameter that can be achieved or satisfied on the first communication path does not satisfy the fifth QoS threshold, and an RSRP on the second communication path is higher than the RSRP threshold, performing switching from the first communication path to the second communication path.
[0364] Figure 10 is a structural schematic diagram of a second terminal provided by an embodiment of the present application, as Figure 10As shown, the second terminal 1000 comprises a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001, which, when executed by the processor 1001, implements each process of the above-mentioned communication path switching method embodiment and achieves the same technical effects. To avoid repetition, details are not described herein.
[0365] The second terminal provided by the embodiment of the present application comprises a processor and a communication interface, and the processor is configured to: perform switching of a first communication path and a second communication path based on target path switching information; wherein the first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering the switching of the first communication path and the second communication path. The second terminal embodiment corresponds to the above-mentioned second terminal side method embodiment, and each implementation process and implementation manner of the above-mentioned method embodiment can be applied to the second terminal embodiment and achieve the same technical effects.
[0366] The readable storage medium provided by the embodiment of the present application can be volatile or non-volatile, and a program or instruction is stored in the readable storage medium, which, when executed by a processor, implements each process of the above-mentioned communication path switching method embodiment and achieves the same technical effects. To avoid repetition, details are not described herein.
[0367] The processor is the processor in the terminal in the above-mentioned embodiments. The readable storage medium comprises a computer readable storage medium, such as a computer readable memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
[0368] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface and the processor are coupled, and the processor is configured to run a program or instruction to implement each process of the above-mentioned communication path switching method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0369] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system or a system on chip, etc.
[0370] The embodiment of the present application further provides a computer program / program product stored in a non-transitory storage medium, which is executed by at least one processor to implement each process of the communication path switching method embodiment described above, and can achieve the same technical effects. To avoid repetition, details are not described herein.
[0371] It should be noted that, in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element. In addition, it should be pointed out that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but can also include performing functions in a substantially simultaneous manner or in reverse order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted, or combined. In addition, features described with reference to certain examples can be combined in other examples.
[0372] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and a necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network equipment, etc.) execute the method described in each embodiment of the present application.
[0373] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, the above specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims.
Claims
1. A communication path switching method characterized by comprising: The method comprises: The first terminal performs switching of the first communication path and the second communication path based on target path switching information; The first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information comprises a trigger condition for triggering switching of the first communication path and the second communication path. The trigger condition comprises at least one of the following information: a first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path; a second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path; a third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path; a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path; a fifth QoS threshold and a reference signal received power (RSRP) threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
2. The communication path switching method according to claim 1, characterized by, The method further comprises: The first terminal obtains the target path switching information.
3. The communication path switching method according to claim 2, characterized by, The first terminal obtains the target path switching information, comprising: The first terminal receives the target path switching information sent by the network side device; or The first terminal receives the target path switching information sent by the second terminal.
4. The communication path switching method according to claim 2, characterized by, The first terminal obtains the target path switching information, comprising: The first terminal sends first path switching information to the second terminal; wherein the first path switching information comprises a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path; The first terminal receives the target path switching information sent by the second terminal; wherein the target path switching information is information accepted by the second terminal in the first path switching information.
5. The communication path switching method according to claim 2, characterized by, The first terminal obtains the target path switching information, comprising: The first terminal receives second path switching information sent by the second terminal; wherein the second path switching information comprises a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path; The first terminal determines the target path switching information based on the second path switching information; wherein the target path switching information is information accepted by the first terminal in the second path switching information; The first terminal sends the target path switching information to the second terminal.
6. The communication path switching method according to claim 1, wherein The target path switching information further comprises at least one of the following information: A first path switching indication for indicating that, in the case of meeting the trigger condition, switching of the first communication path and the second communication path is performed on at least one of all services, all sessions, all quality of service (QoS) flows on a current communication path between the first terminal and the second terminal; A second path switching indication comprising a first service type and / or a first session type, for indicating that, in the case of meeting the trigger condition, switching of the first communication path and the second communication path is performed on services corresponding to the first service type and / or sessions corresponding to the first session type on the current communication path, or on all services and / or all sessions on the current communication path; A third path switching indication comprising a first service identifier and / or a first session identifier, for indicating that, in the case of meeting the trigger condition, switching of the first communication path and the second communication path is performed on services corresponding to the first service identifier and / or sessions corresponding to the first session identifier on the current communication path, or on all services and / or all sessions on the current communication path; A fourth path switching indication comprising a first QoS flow identifier, for indicating that, in the case of meeting the trigger condition, switching of the first communication path and the second communication path is performed on a QoS flow corresponding to the first QoS flow identifier on the current communication path, or on all services and / or all sessions on the current communication path; A path switching direction for indicating a switching direction of a communication path.
7. The communication path switching method according to claim 1, wherein The method further comprises: In the case that the first terminal cannot perform switching of the first communication path and the second communication path, the first terminal sends first path switching cancellation information to the second terminal; wherein the first path switching cancellation information is used for indicating that the second terminal does not perform switching of the first communication path and the second communication path; The first terminal receives first path switching cancellation reply information sent by the second terminal.
8. The communication path switching method according to claim 7, characterized by, The first path switching cancellation information comprises at least one of the following reason values: Congestion control information, mobility restriction information, and not being in a range of cellular signal coverage.
9. The communication path switching method according to claim 7, characterized by, The first path switching cancellation information comprises: Trigger condition deactivation information for indicating that the second terminal deactivates the trigger condition; or path switching termination information for indicating that the second terminal terminates execution of switching of the first communication path and the second communication path. 10. The communication path switching method according to claim 9, wherein After the first terminal receives the first path switch cancel reply information sent by the second terminal, the method further comprises: In a case where the first path switch cancel information comprises the path switch termination information, the first terminal deletes the target path switch information.
11. The communication path switching method according to claim 9, wherein After the first terminal receives the first path switch cancel reply information sent by the second terminal, the method further comprises: In a case where the first path switch cancel information comprises the trigger condition deactivation information, the first terminal deactivates the trigger condition.
12. The communication path switching method according to claim 11, wherein After the first terminal deactivates the trigger condition in the case where the first path switch cancel information comprises the trigger condition deactivation information, the method further comprises: In a case where the first terminal resumes execution of the first communication path and the second communication path switching, the first terminal sends first trigger condition activation information to the second terminal; wherein the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
13. The communication path switching method according to claim 1, wherein After the first terminal acquires the target path switch information, the method further comprises: The first terminal sends second trigger condition activation information to the second terminal; wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition.
14. The communication path switching method according to claim 1, wherein The method further comprises: The first terminal receives second path switch cancel information sent by the second terminal; wherein the second path switch cancel information is used to instruct the first terminal not to perform the first communication path and the second communication path switching; The first terminal does not perform the first communication path and the second communication path switching based on the second path switch cancel information; The first terminal sends second path switch cancel reply information to the second terminal.
15. The communication path switching method according to claim 1, wherein The first terminal performs the first communication path and the second communication path switching based on the target path switch information, comprising: In a case where the current communication path between the first terminal and the second terminal is the first communication path based on the target path switch information, the first terminal switches from the first communication path to the second communication path; Or, in a case where the current communication path is the second communication path based on the target path switch information, the first terminal switches from the second communication path to the first communication path.
16. The communication path switching method according to claim 6, wherein The first terminal performs the first communication path and the second communication path switching based on the target path switch information, comprising at least one of the following: In a case where the target path switch information comprises the first path switch instruction, the first QoS threshold and / or first communication interruption information, the first terminal performs the first communication path and the second communication path switching on at least one of all services, all sessions, all QoS flows on the current communication path in a case where the current communication path occurs interruption, or the QoS parameter that the current communication path can reach or meet does not meet the first QoS threshold; In a case that the target path switching information comprises the second path switching indication, the second QoS threshold and / or the second communication interruption information, the first terminal performs the switching of the first communication path to the second communication path for the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path cannot reach or satisfy the second QoS threshold; or the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path cannot reach or satisfy the second QoS threshold; In a case that the target path switching information comprises the third path switching indication, the third QoS threshold and / or the third communication interruption information, the first terminal performs the switching of the first communication path to the second communication path for the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path cannot reach or satisfy the third QoS threshold; or the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the service corresponding to the first service type and / or the session corresponding to the first session type on the current communication path cannot reach or satisfy the third QoS threshold; In a case that the target path switching information comprises the fourth path switching indication, the fourth QoS threshold and / or the fourth communication interruption information, the first terminal performs the switching of the first communication path to the second communication path for the QoS flow corresponding to the first QoS flow identifier on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the QoS flow corresponding to the first QoS flow identifier on the current communication path cannot reach or satisfy the fourth QoS threshold; or the first terminal performs the switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in a case that the current communication path is interrupted or a QoS parameter of the QoS flow corresponding to the first QoS flow identifier on the current communication path cannot reach or satisfy the fourth QoS threshold. In a case that the fifth QoS threshold and the RSRP threshold are included in the target path switching information, in a case that the current communication path is interrupted, or in a case that the current communication path is the first communication path, a QoS parameter of the first communication path that can be reached or satisfied does not satisfy the fifth QoS threshold, and an RSRP on the second communication path is higher than the RSRP threshold, the first terminal performs switching from the first communication path to the second communication path.
17. A communication path switching method characterized by comprising: Comprise: The second terminal performs switching of the first communication path and the second communication path based on target path switching information; The first communication path is a communication path for direct communication between the first terminal and the second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; the target path switching information includes a trigger condition for triggering switching of the first communication path and the second communication path; The trigger condition includes at least one of the following information: A first QoS threshold and / or a first communication interruption information, the first QoS threshold and the first communication interruption information are associated with a current communication path between the first terminal and the second terminal, and the first QoS threshold is a threshold of a QoS parameter of the current communication path; A second QoS threshold and / or a second communication interruption information, the second QoS threshold and the second communication interruption information are associated with a first service type and / or a first session type, and the second QoS threshold is a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path; A third QoS threshold and / or a third communication interruption information, the third QoS threshold and the third communication interruption information are associated with a first service identifier and / or a first session identifier, and the third QoS threshold is a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path; A fourth QoS threshold and / or a fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information are associated with a first QoS flow identifier, and the fourth QoS threshold is a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path; A fifth QoS threshold and a reference signal receiving power (RSRP) threshold, the current communication path is the first communication path, the fifth QoS threshold is a threshold of a QoS parameter of the first communication path, and the RSRP threshold is a threshold of an RSRP on the second communication path.
18. The communication path switching method according to claim 17, wherein The method further comprises: The second terminal obtains the target path switching information.
19. The communication path switching method according to claim 18, wherein The second terminal obtains the target path switching information, comprising: The second terminal receives the target path switching information sent by the network side device; or, The second terminal receives the target path switching information sent by the first terminal.
20. The communication path switching method according to claim 18, wherein The second terminal obtains the target path switching information, comprising: The second terminal receives first path switching information sent by the first terminal; wherein the first path switching information includes a trigger condition accepted by the first terminal for triggering switching of the first communication path and the second communication path; The second terminal determines the target path switching information based on the first path switching information; wherein the target path switching information is information accepted by the second terminal in the first path switching information; The second terminal sends the target path switching information to the first terminal.
21. The communication path switching method according to claim 18, wherein The second terminal acquires the target path switching information, including: The second terminal sends second path switching information to the first terminal; wherein the second path switching information includes a trigger condition accepted by the second terminal for triggering switching of the first communication path and the second communication path; The second terminal receives the target path switching information sent by the first terminal; wherein the target path switching information is information accepted by the first terminal in the second path switching information.
22. The communication path switching method according to claim 17, wherein The target path switching information further includes at least one of the following information: A first path switching indication, used to indicate that at least one of all services, all sessions, and all quality of service (QoS) flows on a current communication path between the first terminal and the second terminal is switched from the first communication path to the second communication path when the trigger condition is met; A second path switching indication, including a first service type and / or a first session type, used to indicate that services corresponding to the first service type and / or sessions corresponding to the first session type on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met; A third path switching indication, including a first service identifier and / or a first session identifier, used to indicate that services corresponding to the first service identifier and / or sessions corresponding to the first session identifier on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met; A fourth path switching indication, including a first QoS flow identifier, used to indicate that a QoS flow corresponding to the first QoS flow identifier on the current communication path, or all services and / or all sessions on the current communication path, are switched from the first communication path to the second communication path when the trigger condition is met; A path switching direction, used to indicate a switching direction of a communication path.
23. The communication path switching method according to claim 17, wherein The method further includes: The second terminal receives first path switching cancellation information sent by the first terminal; wherein the first path switching cancellation information is used to indicate that the second terminal does not perform switching of the first communication path and the second communication path; The second terminal does not perform switching of the first communication path and the second communication path based on the first path switching cancellation information; The second terminal sends first path switching cancellation reply information to the first terminal.
24. The communication path switching method according to claim 23, wherein The first path switching cancellation information includes at least one of the following reason values: Congestion control information, mobility restriction information, not in the coverage of the cellular signal.
25. The communication path switching method according to claim 23, wherein The first path switching cancellation information includes: Trigger condition deactivation information, used to instruct the second terminal to deactivate the trigger condition; Or, path switching termination information, used to instruct the second terminal to terminate the execution of the switching of the first communication path and the second communication path.
26. The communication path switching method according to claim 25, wherein The second terminal, based on the first path switching cancellation information, does not perform the switching of the first communication path and the second communication path, including: In the case that the first path switching cancellation information includes the path switching termination information, the second terminal deletes the target path switching information.
27. The communication path switching method according to claim 25, wherein The second terminal, based on the first path switching cancellation information, does not perform the switching of the first communication path and the second communication path, including: In the case that the second terminal includes the trigger condition deactivation information in the first path switching cancellation information, the second terminal deactivates the trigger condition.
28. The communication path switching method according to claim 27, wherein In the case that the second terminal deactivates the trigger condition in the first path switching cancellation information, the second terminal further includes: The second terminal receives first trigger condition activation information sent by the first terminal; wherein the first trigger condition activation information is used to instruct the second terminal to activate the trigger condition; The second terminal activates the trigger condition based on the first trigger condition activation information.
29. The communication path switching method according to claim 18, wherein After the second terminal acquires the target path switching information, the second terminal further includes: The second terminal receives second trigger condition activation information sent by the first terminal; wherein the second trigger condition activation information is used to instruct the second terminal to activate the trigger condition; The second terminal activates the trigger condition based on the second trigger condition activation information.
30. The communication path switching method according to claim 17, wherein The method further includes: In the case that the second terminal cannot perform the switching of the first communication path and the second communication path, the second terminal sends second path switching cancellation information to the first terminal; wherein the second path switching cancellation information is used to instruct the first terminal not to perform the switching of the first communication path and the second communication path; The second terminal receives second path switching cancellation reply information sent by the first terminal.
31. The communication path switching method according to claim 17, wherein The second terminal, based on the target path switching information, performs the switching of the first communication path and the second communication path, including: In the case that the current communication path between the first terminal and the second terminal is the first communication path, the second terminal, based on the target path switching information, switches from the first communication path to the second communication path; Or, in the case that the current communication path is the second communication path, the second terminal, based on the target path switching information, switches from the second communication path to the first communication path.
32. The communication path switching method according to claim 22, wherein The second terminal, based on the target path switching information, performs the switching of the first communication path and the second communication path, including at least one of the following: In the case that the current communication path between the first terminal and the second terminal is the first communication path, the second terminal, based on the target path switching information, switches from the first communication path to the second communication path; Or, in the case that the current communication path is the second communication path, the second terminal, based on the target path switching information, switches from the second communication path to the first communication path. In a case that the first path switching indication, the first QoS threshold and / or the first communication interruption information are included in the target path switching information, the second terminal performs the switching of the first communication path and the second communication path for at least one of all services, all sessions and all QoS flows on the current communication path in a case that an interruption occurs on the current communication path or a QoS parameter that can be achieved or satisfied on the current communication path does not satisfy the first QoS threshold; In a case that the second path switching indication, the second QoS threshold and / or the second communication interruption information are included in the target path switching information, the second terminal performs the switching of the first communication path and the second communication path for services corresponding to a first service type and / or sessions corresponding to a first session type on the current communication path in a case that an interruption occurs on the current communication path or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied on the current communication path does not satisfy the second QoS threshold; or the second terminal performs the switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path in a case that an interruption occurs on the current communication path or a QoS parameter of the services corresponding to the first service type and / or the sessions corresponding to the first session type that can be achieved or satisfied on the current communication path does not satisfy the second QoS threshold; In a case that the third path switching indication, the third QoS threshold and / or the third communication interruption information are included in the target path switching information, the second terminal performs the switching of the first communication path and the second communication path for services corresponding to a first service identifier and / or sessions corresponding to a first session identifier on the current communication path in a case that an interruption occurs on the current communication path or a QoS parameter of the services corresponding to the first service identifier and / or the sessions corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold; or the second terminal performs the switching of the first communication path and the second communication path for all services and / or all sessions on the current communication path in a case that an interruption occurs on the current communication path or a QoS parameter of the services corresponding to the first service identifier and / or the sessions corresponding to the first session identifier that can be achieved or satisfied on the current communication path does not satisfy the third QoS threshold. In a case where the fourth path switching indication, the fourth QoS threshold and / or fourth communication interruption information are included in the target path switching information, the second terminal performs switching of the first communication path to the second communication path in a case where the current communication path is interrupted, or a QoS parameter of a QoS flow corresponding to a first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold, for the QoS flow corresponding to the first QoS flow identifier on the current communication path; or the second terminal performs switching of the first communication path to the second communication path for all services and / or all sessions on the current communication path in a case where the current communication path is interrupted, or a QoS parameter of a QoS flow corresponding to a first QoS flow identifier that can be achieved or satisfied on the current communication path does not satisfy the fourth QoS threshold; In a case where the fifth QoS threshold and the RSRP threshold are included in the target path switching information, the second terminal performs switching from the first communication path to the second communication path in a case where the current communication path is interrupted, or the current communication path is the first communication path, a QoS parameter that can be achieved or satisfied on the first communication path does not satisfy the fifth QoS threshold, and an RSRP on the second communication path is higher than the RSRP threshold.
33. A communication path switching apparatus characterized by comprising: Applied to a first terminal, comprising: A first switching module, configured to perform switching of a first communication path to a second communication path based on target path switching information; The first communication path is a communication path for direct communication between the first terminal and a second terminal; the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device; and the target path switching information includes a trigger condition for triggering switching of the first communication path to the second communication path. The trigger condition includes at least one of the following information: A first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, and the first QoS threshold being a threshold of a QoS parameter of the current communication path; A second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, and the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path; A third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, and the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path; a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path; a fifth QoS threshold and a reference signal received power, RSRP, threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
34. A communication path switching apparatus characterized by comprising: applicable to a second terminal, comprising: a second switching module configured to perform switching of a first communication path and a second communication path based on target path switching information; wherein the first communication path is a communication path for direct communication between a first terminal and the second terminal, the second communication path is a communication path for wireless communication between the first terminal and the second terminal via a network side device, and the target path switching information comprises a triggering condition for triggering the switching of the first communication path and the second communication path; the triggering condition comprises at least one of the following information: a first QoS threshold and / or first communication interruption information, the first QoS threshold and the first communication interruption information being associated with a current communication path between the first terminal and the second terminal, the first QoS threshold being a threshold of a QoS parameter of the current communication path; a second QoS threshold and / or second communication interruption information, the second QoS threshold and the second communication interruption information being associated with a first service type and / or a first session type, the second QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service type and / or a session corresponding to the first session type on the current communication path; a third QoS threshold and / or third communication interruption information, the third QoS threshold and the third communication interruption information being associated with a first service identifier and / or a first session identifier, the third QoS threshold being a threshold of a QoS parameter of a service corresponding to the first service identifier and / or a session corresponding to the first session identifier on the current communication path; a fourth QoS threshold and / or fourth communication interruption information, the fourth QoS threshold and the fourth communication interruption information being associated with a first QoS flow identifier, the fourth QoS threshold being a threshold of a QoS parameter of a QoS flow corresponding to the first QoS flow identifier on the current communication path; a fifth QoS threshold and a reference signal received power, RSRP, threshold, the current communication path being the first communication path, the fifth QoS threshold being a threshold of a QoS parameter of the first communication path, and the RSRP threshold being a threshold of an RSRP on the second communication path.
35. A first terminal, comprising: comprising: a processor, a memory, and a program or instructions stored in the memory and executable on the processor, the program or instructions being executed by the processor to implement the steps of the communication path switching method according to any one of claims 1 to 16.
36. A second terminal, comprising: comprising: a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the communication path switching method according to any one of claims 17 to 32.
37. A readable storage medium characterized by, a program or instructions stored on the readable storage medium, the program or instructions, when executed by a processor, implementing the communication path switching method according to any one of claims 1 to 16, or implementing the steps of the communication path switching method according to any one of claims 17 to 32.