CN117545039A - Path conversion method, device and system - Google Patents
Path conversion method, device and system Download PDFInfo
- Publication number
- CN117545039A CN117545039A CN202210921149.8A CN202210921149A CN117545039A CN 117545039 A CN117545039 A CN 117545039A CN 202210921149 A CN202210921149 A CN 202210921149A CN 117545039 A CN117545039 A CN 117545039A
- Authority
- CN
- China
- Prior art keywords
- terminal
- communication path
- path
- communication
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 58
- 238000004891 communication Methods 0.000 claims abstract description 344
- 230000007704 transition Effects 0.000 claims abstract description 13
- 230000008569 process Effects 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 19
- 230000011664 signaling Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/34—Modification of an existing route
- H04W40/38—Modification of an existing route adapting due to varying relative distances between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a path conversion method, device and system, and relates to the technical field of information communication. Wherein the method comprises the following steps: in the case where the communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path, the first terminal transmits address indication information for indicating that a session address under the first communication path is used under the second communication path to the second terminal; the first terminal communicates with the second terminal through the second communication path based on the session address in the first communication path. By the method, the continuity of the session can be ensured when the path conversion is carried out, and the influence of the path conversion on business service is reduced as much as possible.
Description
Technical Field
The present disclosure relates to the field of information communications technologies, and in particular, to a path conversion method, device, and system.
Background
The terminals may communicate via a communication path based on a mobile communication network interface (e.g., uu interface) or via a communication path based on a direct communication interface (e.g., PC5 interface).
In some scenarios, such as when the distance between terminals changes, a communication path transition is required.
Disclosure of Invention
The disclosure provides a path conversion method, device and system.
According to one aspect of the present disclosure, there is provided a path switching method including: in the case where the communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path, the first terminal transmits address indication information for indicating that a session address under the first communication path is used under the second communication path to the second terminal; the first terminal communicates with the second terminal through the second communication path based on the session address in the first communication path.
In some embodiments, further comprising: the first terminal establishes a second communication path with the second terminal, wherein the first terminal sends address indication information to the second terminal is executed in the process of establishing the second communication path with the second terminal.
In some embodiments, the first communication path is a communication path based on a direct communication interface and the second communication path is a communication path through a mobile network; alternatively, the first communication path is a communication path through a mobile network and the second communication path is a communication path based on a direct communication interface.
In some embodiments, the first communication path is a Uu interface-based communication path and the second communication path is a PC5 interface-based communication path.
In some embodiments, the first terminal sending the address indication information to the second terminal includes: and sending a direct link security mode command message to the second terminal, wherein the direct link security mode command message comprises the address indication information.
In some embodiments, the first terminal establishing a second communication path with the second terminal further comprises: before sending a direct link security mode command message to the second terminal, sending a direct communication request to the second terminal; and after the direct link security mode command message is sent to the second terminal, receiving a direct link security mode completion message and a direct communication acceptance message sent by the second terminal.
In some embodiments, the direct link security mode complete message does not include address configuration information of the second terminal.
In some embodiments, the session address under the first communication path includes: the address of the protocol data unit PDU session.
In some embodiments, the path switch trigger condition includes: the method comprises the steps that a first terminal receives a path conversion instruction sent by an application server; or the first terminal is automatically triggered.
In some embodiments, further comprising: before the first terminal sends address indication information to the second terminal, the first terminal sends a discovery request to an application server; the first terminal receives first terminal indication information sent by the application server, wherein the first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through a first communication path previously is a second terminal.
In some embodiments, the discovery request includes an identification of the first terminal.
In some embodiments, further comprising: the first terminal sends a path switching indication message to the second terminal, wherein the path switching indication message is used for indicating the second terminal to switch the first communication path to the second communication path.
In some embodiments, further comprising: and the first terminal receives a path conversion response message which is sent by the second terminal and corresponds to the path conversion indication message.
In some embodiments, further comprising: after switching the first communication path to the second communication path, the first terminal releases the session under the first communication path or deactivates the radio bearer of the session under the first communication path.
In some embodiments, the path switch indication message includes at least one of: the path switch direction and the indication that traffic is no longer being transmitted through the first communication path.
According to a second aspect of the present disclosure, there is provided another path conversion method, comprising: the second terminal receives address indication information sent by the first terminal, wherein the address indication information is used for indicating a session address under a second communication path and using the first communication path; the second terminal communicates with the first terminal through the second communication path based on the session address in the first communication path.
According to a third aspect of the present disclosure, there is provided a path switching device provided at a first terminal, including: a transmission module configured to transmit address indication information for indicating use of a session address under the first communication path under the second communication path to the second terminal, in a case where communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path; and a communication module configured to communicate with the second terminal through the second communication path based on the session address under the first communication path.
According to a fourth aspect of the present disclosure, there is provided a path switching device provided at a second terminal, including: the receiving module is configured to receive address indication information sent by the first terminal, wherein the address indication information is used for indicating a session address under the second communication path and using the first communication path; and a communication module configured to communicate with the first terminal through the second communication path based on the session address under the first communication path.
According to a fifth aspect of the present disclosure, there is provided a path switching device including: a memory; and a processor coupled to the memory, the processor configured to perform the path switching method of any of the embodiments described above based on instructions stored in the memory.
According to a sixth aspect of the present disclosure, there is provided a path switching system comprising: a first terminal configured to transmit address indication information for indicating use of a session address under the first communication path under the second communication path to the second terminal in a case where communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path; and the second terminal is configured to communicate with the first terminal through a second communication path based on the session address under the first communication path after receiving the address indication information.
In some embodiments, the first terminal is further configured to discover the second terminal before sending the address indication information to the second terminal.
In some embodiments, the first terminal discovering the second terminal includes: the first terminal sends a discovery request to an application server; the application server determines that the terminal which is communicated with the first terminal through the first communication path previously is a second terminal according to the discovery request; the application server sends first terminal indication information to the first terminal, wherein the first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through a first communication path previously is a second terminal.
In some embodiments, the first terminal discovering the second terminal further comprises: the application server sends second terminal indication information to the second terminal, wherein the second terminal indication information is used for indicating that a terminal which is communicated with the second terminal through the first communication path previously is a first terminal.
In some embodiments, the first terminal is further configured to send a path switch indication message to the second terminal, wherein the path switch indication message is used to indicate a switch from the first communication path to the second communication path; the second terminal is further configured to send a path conversion response message corresponding to the path conversion indication message to the first terminal after receiving the path conversion indication message.
In some embodiments, at least one of the first terminal and the second terminal is further configured to: after switching the first communication path to the second communication path, the session under the first communication path is released or the radio bearer of the session under the first communication path is deactivated.
According to a seventh aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a path switching method as described in any of the above embodiments.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The disclosure may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1a is a diagram of a path switch architecture according to some embodiments of the present disclosure;
fig. 1b is a schematic diagram of a mapping relationship between services and PC5 links between terminals according to some embodiments of the present disclosure;
FIG. 2 is a flow chart illustrating a path conversion method according to some embodiments of the present disclosure;
FIG. 3 is a flow chart illustrating a path conversion method according to further embodiments of the present disclosure;
fig. 4 is a flow chart illustrating establishment of a second communication path according to some embodiments of the present disclosure;
FIG. 5 is a flow chart illustrating a path conversion method according to still further embodiments of the present disclosure;
fig. 6 is a block diagram illustrating a path switching apparatus according to some embodiments of the present disclosure;
fig. 7 is a block diagram illustrating a path switching apparatus according to further embodiments of the present disclosure;
FIG. 8 is a schematic diagram illustrating the component architecture of a path switching system according to some embodiments of the present disclosure;
fig. 9 is a block diagram illustrating a path switching apparatus according to still further embodiments of the present disclosure;
FIG. 10 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
In some scenarios, a transition of the communication path between terminals is required. How to optimize the communication path switching is a problem to be solved.
In order to solve the problem, the present disclosure provides a path conversion method, device and system, which can ensure continuity of a session when path conversion is performed, and reduce influence of path conversion on business services as much as possible.
Fig. 1a is a diagram of a path switch architecture according to some embodiments of the present disclosure. As shown in fig. 1a, terminal a and terminal B may communicate via path 110 or path 120.
Path 110 is a communication path through a mobile communication network. For example, terminal a communicates with terminal B via the Uu interface shown in fig. 1a, the access network on the terminal a side, the core network, the data network, and the access network on the terminal B side. The Uu interface is an interface between terminals and a base station, which may be referred to as a radio interface or an air interface, and traffic transmitted between terminals over the Uu interface needs to pass through a core network.
Path 120 is a communication path through a direct communication interface. For example, terminal a communicates with terminal B via a PC5 interface. The PC5 interface is an interface for direct communication between two terminals, and traffic transmitted between the terminals through the PC5 interface does not pass through the core network.
Fig. 1b is a schematic diagram of a mapping relationship between services and PC5 links between terminals according to some embodiments of the present disclosure.
In the embodiment of the disclosure, one or more PC5 unicast links may be established between two terminals, and different services (or services) may correspond to different PC5 unicast links, or may correspond to the same PC5 unicast link.
For example, as shown in fig. 1b, there are two PC5 unicast links for the first terminal and the second terminal. The service A and the service B in the first terminal and the second terminal correspond to the same PC5 unicast link, the link can be represented by a pair of application layer identifiers, namely an application layer identifier 1 and an application layer identifier 2, the service C and the service D in the first terminal and the second terminal correspond to the same PC5 unicast link, and the link can be represented by a pair of application layer identifiers, namely an application layer identifier 3 and an application layer identifier 4.
Fig. 2 is a flow chart illustrating a path conversion method according to some embodiments of the present disclosure. As shown in fig. 2, the path conversion method of the embodiment of the present disclosure includes:
step S210: in the case where the communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path, the first terminal transmits address indication information to the second terminal.
Prior to step S210, the first terminal communicates with the second terminal through a first communication path. After a path transition trigger condition from the first communication path to the second communication path is satisfied, the first terminal transmits address indication information to the second terminal.
In some embodiments, the first communication path is a communication path based on a direct communication interface and the second communication path is a communication path through a mobile network. For example, the first communication path is a path for direct communication through the PC5 interface, and the second communication path is a path for communication through the Uu interface.
In other embodiments, the first communication path is a communication path through a mobile network and the second communication path is a communication path based on a direct communication interface. For example, the first communication path is a path for communication through the Uu interface, and the second communication path is a path for communication through the PC5 interface.
In some embodiments, the path switch trigger condition is: the first terminal receives a path conversion instruction sent by the application server. For example, the first terminal receives a path switching instruction sent by a proximity service (Proximity Services, abbreviated as Prose) application server.
In other embodiments, the path switch trigger condition is: the first terminal is automatically triggered. For example, the first terminal triggers a path switch when detecting that the distance between the two terminals is smaller than a preset threshold. For another example, the first terminal triggers a path switch when traffic needs to be offloaded from the network.
In still other embodiments, the path switch trigger condition is: the first terminal receives a path switching instruction sent by a core network element. For example, the first terminal receives a path switching instruction sent by the 5G core network element.
The address indication information is used for indicating that the session address under the first communication path is used under the second communication path.
In some embodiments, the session address under the first communication path is an address of a protocol data unit (Protocol Data Unit, PDU) session. In the implementation, the address type of the PDU session is different according to the data type of the PDU session. For example, when the data type of the PDU session is an IP type, the address of the PDU session is an IP address. In addition, the data type of the PDU session may be an ethernet type or a non-structure type, and correspondingly, the PDU session address may be other types besides an IP address.
In some embodiments, the address indication information includes: information indicating use of a session address corresponding to a previously designated proximity service. For example, the first terminal transmits address indication information to indicate the second terminal to use the PDU session address corresponding to service a under the previous first communication path.
Step S220: the first terminal communicates with the second terminal through the second communication path based on the session address in the first communication path.
After the first terminal switches the first communication path to the second communication path, data transmission is performed with the second terminal based on the session address under the first communication path.
In some embodiments, step S220 includes: the first terminal transmits service data to the second terminal through the second communication path based on the session address under the first communication path.
In some embodiments, step S220 includes: the first terminal receives service data sent by the second terminal through the second communication path based on the session address under the first communication path.
For example, when the first communication path is a path for communication through the Uu interface and the second communication path is a path for communication through the PC5 interface (or referred to as a PC5 link), after switching the communication path from the first communication path to the second communication path, the first terminal transmits the service data to the second terminal through the PC5 link using the IP address of the previous second terminal as the destination address; or the first terminal receives the service data sent by the second terminal through the PC5 link, wherein the second terminal takes the IP address of the first terminal under the communication path based on the Uu interface as the destination address when sending the service data based on the PC5 link.
In the embodiment of the disclosure, after the first terminal meets the path conversion triggering condition, the address indication information is sent to the second terminal, so that the two terminals can still use the session address under the previous first communication path after converting to the second communication path, thereby ensuring the continuity of the session when converting the path and reducing the influence of the path conversion on the business service as much as possible. Moreover, by using the session address under the previous first communication path, the signaling overhead caused by configuring the session address for the second communication path is reduced, and the path switching flow is optimized.
Fig. 3 is a flowchart illustrating a path switching method according to further embodiments of the present disclosure.
As shown in fig. 3, the path conversion method of the embodiment of the present disclosure includes:
step S310: the first terminal determines that the path switch triggering condition is satisfied.
In some embodiments, step S310 includes: the first terminal receives a path conversion instruction sent by the application server. For example, the first terminal receives a path switching instruction sent by a proximity service (Proximity Services, abbreviated as Prose) application server.
In other embodiments, step S310 includes: when the first terminal detects that the distance between the two terminals is smaller than a preset threshold value, automatically triggering path conversion; or when the first terminal needs to unload the traffic from the network, automatically triggering the path conversion; or the first terminal automatically triggers the path conversion when detecting that other preset conditions are met.
Step S320: the first terminal establishes a second communication path with the second terminal.
Wherein in the process of establishing the second communication path between the first terminal and the second terminal, the method further comprises the following steps: the first terminal transmits address indication information for indicating that a session address under the first communication path is used under the second communication path to the second terminal. For example, after the security is established, the first terminal and the second terminal send IP address indication information if the session is of the IP communication type.
In some embodiments, the second communication path is a communication path through a mobile network. In these embodiments, the address indication information is transmitted to the second terminal in the process of the first terminal establishing a communication path through the mobile network.
In some embodiments, the second communication path is a communication path based on a direct communication interface. In these embodiments, the address indication information is sent to the second terminal during the process of the first terminal establishing a communication path through the direct communication interface.
In the embodiment of the disclosure, the address indication information is sent to the second terminal in the process of establishing the second communication path, so that complicated address configuration operation between the terminals is not needed, the signaling overhead in the process of establishing the second communication path is reduced,
Step S330: the first terminal sends a path switch indication message to the second terminal.
In some embodiments, step S330 is performed during the establishment of the second communication path by the first terminal.
In other embodiments, step S330 is performed after the first terminal establishes the second communication path.
In some embodiments, the path switch indication message includes at least one of: the path switch direction and the indication that traffic is no longer being transmitted through the first communication path.
Step S340: the first terminal receives a path conversion response message sent by the second terminal.
In the embodiment of the disclosure, by sending the path conversion instruction message to the second terminal, the second terminal can be switched to the second communication path in time when appropriate, and the path conversion flow is optimized.
Step S350: the first terminal communicates with the second terminal through the second communication path based on the session address in the first communication path.
In some embodiments, the first terminal switches the communication path with the second terminal to the second communication path after receiving the path switch response message.
In some embodiments, step S350 includes: the first terminal transmits service data to the second terminal through the second communication path based on the session address under the first communication path.
In some embodiments, step S350 includes: the first terminal receives service data sent by the second terminal through the second communication path based on the session address under the first communication path.
In the embodiment of the disclosure, through the steps, the two terminals can still use the session address under the previous first communication path after switching to the second communication path, so that the continuity of the session can be ensured when the path switching is performed, and the influence of the path switching on the business service is reduced as much as possible. In addition, address indication information is sent to the second terminal in the process of establishing the second communication path, so that complicated address configuration operation between the terminals is not needed, signaling overhead in the process of establishing the second communication path is reduced, and the path conversion processing flow is further optimized.
Fig. 4 is a flow chart illustrating establishment of a second communication path according to some embodiments of the present disclosure. The embodiment of the present disclosure is an exemplary description of step S320 in the path conversion flow shown in fig. 3.
As shown in fig. 4, the process of establishing the second communication path according to the embodiment of the present disclosure includes:
step 410: the first terminal sends a direct communication request to the second terminal.
In some embodiments, the second communication path is a PC5 unicast link. In these embodiments, the first terminal sends a proximity services direct communication request (Prose Direct Link Establishment Request Message) to the second terminal.
In some embodiments, prior to step 410, further comprising: the first terminal sets up a second communication path for a specified service previously communicated through the first communication path as a service to be switched. For example, the first terminal uses the service a and the service B shown in fig. 1B as the services to be switched, and establishes a PC5 link for the two services.
In some embodiments, prior to step 410, further comprising: the second terminal determines a target L2 layer identity for signaling reception.
Step 420: the first terminal sends a direct link security mode command message to the second terminal.
In some embodiments, the second communication path is a PC5 unicast link. In these embodiments, the first terminal sends a proximity services direct link security mode command message (Prose Direct Link Security Mode Command Message) to the second terminal.
In some embodiments, the direct link security mode command message includes address indication information. The address indication information is used for indicating that the session address under the first communication path is used under the second communication path.
Step 430: the second terminal sends a direct link security mode complete message to the first terminal.
In some embodiments, the second communication path is a PC5 unicast link. In these embodiments, the second terminal sends a proximity services direct link security mode complete message (Prose Direct Link Security Mode Complete Message).
In some embodiments, the direct link security mode complete message does not include address configuration information of the second terminal. For example, when the second terminal supports only the IPV4 address allocation mechanism, the direct link security mode complete message does not include the following address configuration information: DHCPv4 server (DHCPv 4 server).
Step 440: the second terminal sends a direct communication acceptance message to the first terminal.
In some embodiments, the second communication path is a PC5 unicast link. In these embodiments, the second terminal sends a proximity services direct communication accept message (Prose Direct Link Establishment Accept Messages) to the first terminal.
In the embodiment of the disclosure, through the above steps, on one hand, since the address configuration information is not required to be transmitted in the process of establishing the second communication path, the second communication path establishment flow can be simplified, and signaling overhead in the process of establishing the second communication path is reduced, and on the other hand, by sending the address indication information to the second terminal, two terminals can still use the session address under the previous first communication path after switching to the second communication path, so that the continuity of the session can be ensured when the path switching is performed, and the influence of the path switching on the service can be reduced as much as possible.
Fig. 5 is a flow chart illustrating a path conversion method according to further embodiments of the present disclosure.
As shown in fig. 5, the path conversion method of the embodiment of the present disclosure includes:
step 510: the application server assists in executing the terminal discovery procedure.
In some embodiments, steps 510 through 560 are performed in the event that a path switch trigger condition is satisfied.
In some embodiments, step 510 includes: the first terminal sends a discovery request to an application server; the application server determines that the terminal which is communicated with the first terminal through the first communication path previously is a second terminal according to the discovery request; then, the application server transmits first terminal indication information to the first terminal, wherein the first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through a first communication path previously is a second terminal; next, the first terminal may perform a discovery procedure for the second terminal.
In some embodiments described above, step 510 may further comprise: the application server sends second terminal indication information to the second terminal, where the second terminal indication information is used to indicate that a terminal that previously communicates with the second terminal through the first communication path is the first terminal, so as to assist a subsequent process of the first terminal finding the second terminal.
In other embodiments, the first terminal may also determine which of the plurality of terminals is the second terminal with the aid of the application server after discovering the plurality of terminals.
In some embodiments, the discovery request sent by the first terminal includes a terminal identification of the first terminal. Illustratively, the terminal identification includes at least one of: an application layer identification (application layer ID), an L2 layer identification (L2 ID), a proximity service discovery terminal identification (ProSe Discovery UE ID).
In some embodiments, after receiving the discovery request of the first terminal, the application server determines whether the discovery request of the second terminal is also received within a preset time; if so, judging whether the two terminals are two terminals which communicate through a first communication path or not according to the identification of the first terminal and the identification of the second terminal carried by the discovery request; if yes, the first terminal indication information is sent to the first terminal, and the second terminal indication information is sent to the second terminal.
In other embodiments, after receiving the discovery request of the first terminal, the application server determines an identifier of the first terminal according to the discovery request, and queries PDU session information under the first communication path according to the identifier of the first terminal; and if the query result shows that the first terminal communicates with the second terminal previously, sending first terminal indication information to the first terminal.
In some embodiments, prior to step 510, further comprising: the first terminal and the second terminal respectively complete the authorization of the proximity service and receive the strategy information issued by the proximity service application server; the first terminal and the second terminal respectively establish PDU session and communicate through the mobile network. Illustratively, the policy information issued by the proximity service application server includes: whether policy of path conversion can be executed, interface priority at the time of path conversion, and the like.
Step 520: the first terminal establishes a PC5 connection with the second terminal.
In some embodiments, the first terminal and the second terminal send address indication information to the second terminal during establishment of a PC5 connection (otherwise known as a PC5 link, or a PC5 interface-based communication path). The address indication information is used for indicating a PDU session address when the second terminal communicates with the first terminal through the wireless access network before the second terminal is used under the connection of the PC 5.
Step 530: the first terminal sends a path switch indication to the second terminal.
Step 540: the second terminal transmits a path switch response to the first terminal.
Step 550: the first terminal releases the radio bearer of the PDU session or deactivates the PDU session.
In some embodiments, the first terminal releases the PDU session for the specified service on the first communication path or deactivates the radio bearer for the PDU session.
Step 560: the second terminal releases the radio bearer of the PDU session or deactivates the PDU session.
In some embodiments, the second terminal releases the PDU session for the specified service on the first communication path or deactivates the radio bearer for the PDU session.
In other embodiments of the present disclosure, the first terminal or the second terminal may also reserve the PDU session and the corresponding resources under the first communication path.
In the embodiment of the disclosure, the above steps can ensure the continuity of the session when the path conversion is performed, and the influence of the path conversion on the business service is reduced as much as possible. Meanwhile, the PC5 connection establishment flow can be simplified, and the signaling overhead in the establishment of PC5 connection is reduced
Fig. 6 is a block diagram illustrating a path switching apparatus according to some embodiments of the present disclosure. As shown in fig. 6, a path switching device 600 according to an embodiment of the present disclosure is provided at a first terminal, and includes: a transmitting module 610, a communication module 620.
The transmitting module 610 is configured to transmit address indication information to the second terminal in a case where communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path.
In some embodiments, the first communication path is a communication path based on a direct communication interface and the second communication path is a communication path through a mobile network. For example, the first communication path is a path for direct communication through the PC5 interface, and the second communication path is a path for communication through the Uu interface.
In other embodiments, the first communication path is a communication path through a mobile network and the second communication path is a communication path based on a direct communication interface. For example, the first communication path is a path for communication through the Uu interface, and the second communication path is a path for communication through the PC5 interface.
The address indication information is used for indicating that the session address under the first communication path is used under the second communication path.
In some embodiments, the session address under the first communication path is an address of a protocol data unit (Protocol Data Unit, PDU) session. In the implementation, the address type of the PDU session is different according to the data type of the PDU session. For example, when the data type of the PDU session is an IP type, the address of the PDU session is an IP address. In addition, the data type of the PDU session may be an ethernet type or a non-structure type, and correspondingly, the PDU session address may be other types besides an IP address.
In some embodiments, the address indication information includes: information indicating use of a session address corresponding to a previously designated proximity service. For example, the first terminal transmits address indication information to indicate the second terminal to use the PDU session address corresponding to service a under the previous first communication path.
The communication module 620 is configured to communicate with the second terminal through the second communication path based on the session address under the first communication path.
In some embodiments, the communication module 620 transmits the service data to the second terminal through the second communication path based on the session address under the first communication path.
In some embodiments, the communication module 620 receives the service data transmitted by the second terminal through the second communication path based on the session address under the first communication path.
In the embodiment of the disclosure, through the device, the two terminals can still use the session address under the previous first communication path after switching to the second communication path, so that the continuity of the session can be ensured when the path switching is performed, and the influence of the path switching on the business service is reduced as much as possible. Moreover, by using the session address under the previous first communication path, the signaling overhead caused by configuring the session address for the second communication path is reduced, and the path switching flow is optimized.
Fig. 7 is a block diagram illustrating a path switching apparatus according to further embodiments of the present disclosure. As shown in fig. 7, a path switching device 700 according to an embodiment of the present disclosure is provided at a second terminal, and includes: a receiving module 710, a communicating module 720.
The receiving module 710 is configured to receive address indication information sent by the first terminal. The address indication information is used for indicating that the session address under the first communication path is used under the second communication path.
Wherein the first terminal transmits the address indication information to the second terminal when the communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path. The second terminal can learn that the second terminal performs data transmission with the first terminal based on the previous session address after the second terminal is switched to the second communication path based on the address indication information.
The communication module 720 is configured to communicate with the first terminal through the second communication path based on the session address under the first communication path.
In some embodiments, the communication module 720 sends the traffic data to the first terminal over the second communication path based on the session address under the first communication path.
In some embodiments, the communication module 720 receives the service data sent by the first terminal through the second communication path based on the session address under the first communication path.
In the embodiment of the disclosure, the above device can enable the two terminals to still use the session address under the previous first communication path after switching to the second communication path, so that the continuity of the session can be ensured when the path switching is performed, and the influence of the path switching on the business service is reduced as much as possible. Moreover, by using the session address under the previous first communication path, the signaling overhead caused by configuring the session address for the second communication path is reduced, and the path switching flow is optimized.
Fig. 8 is a schematic diagram illustrating a component architecture of a path switching system according to some embodiments of the present disclosure. As shown in fig. 8, the path switching system of the embodiment of the present disclosure includes: a first terminal 810, a second terminal 820, an application server 830.
A first terminal 810 configured to discover a second terminal.
In some embodiments, the first terminal 810 discovering the second terminal 820 includes: the first terminal 810 transmits a discovery request to the application server 830; the application server 830 determines that the terminal previously communicating with the first terminal through the first communication path is the second terminal 820 according to the discovery request; the application server 830 transmits the first terminal indication information to the first terminal 810. The first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through the first communication path is a second terminal.
Further, in some embodiments described above, the first terminal 810 discovering the second terminal 820 may further include: the application server 830 transmits second terminal indication information for indicating that a terminal previously communicating with the second terminal through the first communication path is the first terminal to the second terminal 820.
The first terminal 810 is further configured to send address indication information to the second terminal 820 in case the communication between the first terminal and the second terminal satisfies a path switch trigger condition from the first communication path to the second communication path. The address indication information is used for indicating that the session address under the first communication path is used under the second communication path.
In some embodiments, the first terminal transmits address indication information to the second terminal 820 in the process of establishing the second communication path with the second terminal.
The first terminal 810 is further configured to send a path switch indication message to the second terminal 820. The path switching indication message is used for indicating switching from the first communication path to the second communication path.
The second terminal 820 is configured to transmit a path switch response message to the first terminal 810 after receiving the path switch indication message.
The first terminal 810 and the second terminal 820 are further configured to communicate through a second communication path based on the session address under the first communication path.
In some embodiments, at least one of the first terminal 810 and the second terminal 820 is further configured to: after switching the first communication path to the second communication path, the session under the first communication path is released or the radio bearer of the session under the first communication path is deactivated.
In the embodiment of the disclosure, the above system can enable the two terminals to still use the session address under the previous first communication path after switching to the second communication path, so that the continuity of the session can be ensured when the path switching is performed, and the influence of the path switching on the business service is reduced as much as possible. Moreover, by using the session address under the previous first communication path, the signaling overhead caused by configuring the session address for the second communication path is reduced, and the path switching flow is optimized.
Fig. 9 is a block diagram illustrating a path switching apparatus according to still further embodiments of the present disclosure.
As shown in fig. 9, the path switching device 900 includes a memory 910; and a processor 920 coupled to the memory 910. The memory 910 is used to store instructions for performing the corresponding embodiments of the path conversion method. The processor 920 is configured to perform the path switching method in any of some embodiments of the present disclosure based on instructions stored in the memory 710.
FIG. 10 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
As shown in FIG. 10, computer system 1000 may be embodied in the form of a general purpose computing device. Computer system 1000 includes a memory 1010, a processor 1020, and a bus 1030 that connects the various system components.
Memory 1010 may include, for example, system memory, non-volatile storage media, and the like. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs. The system memory may include volatile storage media, such as Random Access Memory (RAM) and/or cache memory. The non-volatile storage medium stores, for example, instructions to perform a corresponding embodiment of at least one of the determined path conversion methods. Non-volatile storage media include, but are not limited to, disk storage, optical storage, flash memory, and the like.
The processor 1020 may be implemented in discrete hardware components such as a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gates or transistors, or the like. Accordingly, each module, such as the transmission module, the communication module, may be implemented by a Central Processing Unit (CPU) running instructions in a memory to perform the corresponding steps, or may be implemented by dedicated circuitry to perform the corresponding steps.
Bus 1030 may use any of a variety of bus architectures. For example, bus structures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
Computer system 1000 may also include input/output interfaces 1040, network interfaces 1050, storage interfaces 1060, and the like. These interfaces 1040, 1050, 1060, and the memory 1010 and the processor 1020 may be connected via a bus 1030. The input output interface 1040 may provide a connection interface for input output devices such as a display, mouse, keyboard, etc. Network interface 1050 provides a connection interface for a variety of networked devices. The storage interface 1060 provides a connection interface for external storage devices such as a floppy disk, a USB flash disk, an SD card, and the like.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor, create means for implementing the functions specified in the flowchart and/or block diagram block or blocks.
These computer readable program instructions may also be stored in a computer readable memory that can direct a computer to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart and/or block diagram block or blocks.
The present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
By the path conversion method, the device and the system in the embodiment, the continuity of the session can be ensured when the path conversion is carried out, and the influence of the path conversion on business services is reduced as much as possible.
Heretofore, path switching methods, apparatuses, and systems according to the present disclosure have been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
Claims (26)
1. A path switching method, comprising:
in the case where the communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path, the first terminal transmits address indication information for indicating that a session address under the first communication path is used under the second communication path to the second terminal;
The first terminal communicates with the second terminal through the second communication path based on the session address in the first communication path.
2. The path switching method of claim 1, further comprising:
the first terminal establishes a second communication path with the second terminal, wherein the first terminal sends address indication information to the second terminal is executed in the process of establishing the second communication path with the second terminal.
3. The path switching method according to claim 1, wherein,
the first communication path is a communication path based on a direct communication interface, and the second communication path is a communication path through a mobile network; or,
the first communication path is a communication path through a mobile network and the second communication path is a communication path based on a direct communication interface.
4. The path conversion method according to claim 3, wherein the first communication path is a Uu interface-based communication path, and the second communication path is a PC5 interface-based communication path.
5. The path switching method of claim 2, wherein the first terminal transmitting address indication information to the second terminal comprises:
and sending a direct link security mode command message to the second terminal, wherein the direct link security mode command message comprises the address indication information.
6. The path switching method of claim 5, wherein the first terminal establishing a second communication path with the second terminal further comprises:
before sending a direct link security mode command message to the second terminal, sending a direct communication request to the second terminal;
and after the direct link security mode command message is sent to the second terminal, receiving a direct link security mode completion message and a direct communication acceptance message sent by the second terminal.
7. The path conversion method of claim 6, wherein the direct link security mode complete message does not include address configuration information of the second terminal.
8. The path conversion method according to claim 1, wherein the session address under the first communication path includes: the address of the protocol data unit PDU session.
9. The path switching method of claim 1, wherein the path switching trigger condition comprises:
the method comprises the steps that a first terminal receives a path conversion instruction sent by an application server; or,
the first terminal is automatically triggered.
10. The path switching method of claim 1, further comprising:
before the first terminal sends address indication information to the second terminal, the first terminal sends a discovery request to an application server;
The first terminal receives first terminal indication information sent by the application server, wherein the first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through a first communication path previously is a second terminal.
11. The path switching method as claimed in claim 10, wherein,
the discovery request includes an identification of the first terminal.
12. The path switching method of claim 1, further comprising:
the first terminal sends a path switching indication message to the second terminal, wherein the path switching indication message is used for indicating the second terminal to switch the first communication path to the second communication path.
13. The path switching method of claim 12, further comprising:
and the first terminal receives a path conversion response message which is sent by the second terminal and corresponds to the path conversion indication message.
14. The path switching method of claim 1, further comprising:
after switching the first communication path to the second communication path, the first terminal releases the session under the first communication path or deactivates the radio bearer of the session under the first communication path.
15. The path switching method of claim 12, wherein the path switching indication message includes at least one of: the path switch direction and the indication that traffic is no longer being transmitted through the first communication path.
16. A path switching method, comprising:
the second terminal receives address indication information sent by the first terminal, wherein the address indication information is used for indicating a session address under a second communication path and using the first communication path;
the second terminal communicates with the first terminal through the second communication path based on the session address in the first communication path.
17. A path switching device, disposed at a first terminal, comprising:
a transmission module configured to transmit address indication information for indicating use of a session address under the first communication path under the second communication path to the second terminal, in a case where communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path;
and a communication module configured to communicate with the second terminal through the second communication path based on the session address under the first communication path.
18. A path switching device, disposed at a second terminal, comprising:
the receiving module is configured to receive address indication information sent by the first terminal, wherein the address indication information is used for indicating a session address under the second communication path and using the first communication path;
And a communication module configured to communicate with the first terminal through the second communication path based on the session address under the first communication path.
19. A path switching device comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the path switching method of any of claims 1 to 16 based on instructions stored in the memory.
20. A path switching system, comprising:
a first terminal configured to transmit address indication information for indicating use of a session address under the first communication path under the second communication path to the second terminal in a case where communication between the first terminal and the second terminal satisfies a path transition trigger condition from the first communication path to the second communication path;
and the second terminal is configured to communicate with the first terminal through a second communication path based on the session address under the first communication path after receiving the address indication information.
21. The path switching system of claim 20, wherein the first terminal is further configured to discover the second terminal before sending the address indication information to the second terminal.
22. The path switching system of claim 21, wherein the first terminal discovering the second terminal comprises:
the first terminal sends a discovery request to an application server;
the application server determines that the terminal which is communicated with the first terminal through the first communication path previously is a second terminal according to the discovery request;
the application server sends first terminal indication information to the first terminal, wherein the first terminal indication information is used for indicating that a terminal which is communicated with the first terminal through a first communication path previously is a second terminal.
23. The path switching system of claim 21, wherein the first terminal discovering the second terminal further comprises:
the application server sends second terminal indication information to the second terminal, wherein the second terminal indication information is used for indicating that a terminal which is communicated with the second terminal through the first communication path previously is a first terminal.
24. The path switching system of claim 20, wherein,
the first terminal is further configured to send a path conversion instruction message to the second terminal, wherein the path conversion instruction message is used for instructing conversion from the first communication path to the second communication path;
The second terminal is further configured to send a path conversion response message corresponding to the path conversion indication message to the first terminal after receiving the path conversion indication message.
25. The path switching system of claim 20, wherein,
at least one of the first terminal and the second terminal is further configured to: after switching the first communication path to the second communication path, the session under the first communication path is released or the radio bearer of the session under the first communication path is deactivated.
26. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the path switching method of any of claims 1 to 16.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210921149.8A CN117545039A (en) | 2022-08-02 | 2022-08-02 | Path conversion method, device and system |
PCT/CN2023/107695 WO2024027491A1 (en) | 2022-08-02 | 2023-07-17 | Path switching method, apparatus, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210921149.8A CN117545039A (en) | 2022-08-02 | 2022-08-02 | Path conversion method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117545039A true CN117545039A (en) | 2024-02-09 |
Family
ID=89794467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210921149.8A Pending CN117545039A (en) | 2022-08-02 | 2022-08-02 | Path conversion method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117545039A (en) |
WO (1) | WO2024027491A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9967727B2 (en) * | 2013-02-22 | 2018-05-08 | Intel IP Corporation | Systems and methods for access network selection and traffic routing |
CN105247947B (en) * | 2013-05-14 | 2019-05-03 | 三星电子株式会社 | The system and method for IP conversation continuity are used in device-to-device communication system |
WO2016169015A1 (en) * | 2015-04-23 | 2016-10-27 | 华为技术有限公司 | Method and apparatus for switching network communication and direct communication |
CN112654070B (en) * | 2019-10-12 | 2022-02-08 | 大唐移动通信设备有限公司 | Communication method, device, equipment and storage medium between user terminals |
WO2021125691A1 (en) * | 2019-12-20 | 2021-06-24 | 엘지전자 주식회사 | Communication path switching |
-
2022
- 2022-08-02 CN CN202210921149.8A patent/CN117545039A/en active Pending
-
2023
- 2023-07-17 WO PCT/CN2023/107695 patent/WO2024027491A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024027491A1 (en) | 2024-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018137583A1 (en) | Information transmission method, base station and user equipment | |
US20220272607A1 (en) | Network Access Method and Communication Apparatus | |
KR102246978B1 (en) | Routing method and device | |
CN113141673B (en) | Link configuration method, device, system and storage medium in multi-link system | |
CN110830282A (en) | Method, device and equipment for configuring user plane function | |
US11057813B2 (en) | Method and apparatus for transmitting downlink data | |
US20220053369A1 (en) | Data processing method, and communication apparatus and system | |
WO2017128185A1 (en) | Method and terminal for controlling service connection | |
CN109802982B (en) | Dual-connection implementation method, device and system | |
CN112153753B (en) | Network connection method and device | |
CN104426816A (en) | Virtual machine communication method and device | |
CN110856213B (en) | Method and device for switching data transmission modes, storage medium and electronic equipment | |
CN117545039A (en) | Path conversion method, device and system | |
CN115866544A (en) | Shunting method, proxy gateway and shunting system | |
WO2022017503A1 (en) | Information processing method, terminal, device and readable storage medium | |
WO2021012939A1 (en) | Method and device for sidelink | |
CN111314272B (en) | Task processing method and device | |
KR20230005233A (en) | Network switching method, device, communication equipment and system | |
CN116325895A (en) | Data transmission method and related equipment | |
CN112073368A (en) | Method for switching network interaction modes and related device thereof | |
CN106992878B (en) | Multicast detection method and device | |
CN116761221B (en) | Inter-satellite switching method, system and device for satellite call service | |
CN112954781B (en) | Communication control method, communication control device, electronic device, and storage medium | |
CN117377131A (en) | Communication processing method and system and electronic equipment | |
WO2017054284A1 (en) | Communication method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |