WO2022041854A1 - 一种通信方法及通信装置 - Google Patents

一种通信方法及通信装置 Download PDF

Info

Publication number
WO2022041854A1
WO2022041854A1 PCT/CN2021/093893 CN2021093893W WO2022041854A1 WO 2022041854 A1 WO2022041854 A1 WO 2022041854A1 CN 2021093893 W CN2021093893 W CN 2021093893W WO 2022041854 A1 WO2022041854 A1 WO 2022041854A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
identifier
response
session
address
Prior art date
Application number
PCT/CN2021/093893
Other languages
English (en)
French (fr)
Inventor
银宇
戚彩霞
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21859699.7A priority Critical patent/EP4192186A4/en
Publication of WO2022041854A1 publication Critical patent/WO2022041854A1/zh
Priority to US18/176,211 priority patent/US20230217527A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1063Application servers providing network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Definitions

  • the terminal device communicates with the data network through a protocol data unit (PDU) session, and the PDU session is the connection between the terminal device and the data network.
  • PDU protocol data unit
  • the session management function (SMF) is the control plane anchor of the PDU session.
  • a communication device in a first aspect, includes a communication protocol module and a QUIC module.
  • the communication protocol module is used to send a first request to the mobility management network element, where the first request is used to request the establishment of a first protocol data unit PDU session for the first data network;
  • the communication protocol module is further for receiving a first response from a first session management network element, and after receiving the first response, sending a first notification to the QUIC module, where the first response is used to indicate the first PDU session
  • the establishment is successful, the first response includes the first IP address of the terminal device, the first notification includes the first IP address;
  • the QUIC module is configured to receive the first IP address from the communication protocol module a notification, and after receiving the first notification, send a second request to the application server of the first data network, where the second request is used to request to establish a first QUIC connection, and the second request includes the first QUIC connection.
  • the communication device can establish a QUIC connection between the communication device and the application server after the PDU session is successfully established, instead of a TCP connection.
  • the IP address of the device changes, there is no need to disconnect the connection between the communication device and the application server, thereby helping to maintain business continuity and improving user experience.
  • the communication protocol module is further configured to send a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network ;
  • the communication protocol module is further configured to receive a third response from the second session management network element, and after receiving the third response, send a second notification to the QUIC module, where the third response is used for indicating that the second PDU session is successfully established, and the third response includes the second IP address of the terminal device, and the second notification includes the first IP address and the second IP address;
  • the QUIC module is configured to receive the second notification from the communication protocol module, and after receiving the second notification, determine the first connection identifier according to the first IP address, and use the The IP address on the terminal device side of the first QUIC connection identified by the first connection identifier is modified to the second IP address.
  • the above technical solution helps to make it unnecessary to disconnect the connection between the communication device and the application server when the IP address of the terminal device side is changed due to the re-establishment of the PDU session, thereby helping to maintain business continuity and improving user experience. It also helps to reduce the complexity of the solution implementation.
  • the first notification further includes a first session identifier, where the first session identifier is used to identify the first PDU session, and the first session identifier is that the communication protocol module is allocated by the first PDU session; the QUIC module is further configured to associate the first session identifier with the first connection identifier after receiving the second response.
  • the communication protocol module does not need to acquire the first connection identifier, which helps to improve the security of the first connection identifier.
  • the communication protocol module is further configured to send a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network ;
  • the communication protocol module is further configured to receive a third response from the second session management network element, and after receiving the third response, send a second notification to the QUIC module, where the third response is used for Indicates that the second PDU session is successfully established, the third response includes the second IP address of the terminal device, and the second notification includes the first session identifier, the second IP address and the second session identifier , the second session identifier is used to identify the second PDU session, and the second session identifier is allocated by the communication protocol module for the second PDU session;
  • the QUIC module is configured to receive the second notification from the communication protocol module, and after receiving the second notification, determine the first connection identifier according to the first session identifier, and convert the Modify the IP address of the terminal device side of the first QUIC connection identified by the first connection identifier to the second IP address, and modify the first session identifier associated with the first connection identifier to the the second session identifier.
  • the above technical solution helps to make it unnecessary to disconnect the connection between the communication device and the application server when the IP address on the terminal device side is changed due to the re-establishment of the PDU session, thereby helping to maintain service continuity.
  • the QUIC module is further configured to send a third IP address to the communication protocol module after modifying the IP address of the terminal device connected to the first QUIC to the second IP address notification, the third notification is used to indicate that the QUIC connection migration is successful;
  • the communication protocol module is further configured to delete the first PDU session after receiving the third notification.
  • the QUIC module is further configured to receive the second notification from the communication protocol module, and after receiving the second notification, connect with the first QUIC identified by the first mapping identifier
  • the IP address of the terminal device side is modified to the second IP address, and a third notification is sent to the communication protocol module, where the third notification is used to indicate that the QUIC connection is successfully migrated;
  • the communication protocol module is further configured to, after receiving the third notification, modify the first IP address associated with the first mapping identifier to the second IP address; or, the communication protocol module, further configured to, after receiving the third notification, modify the first session identifier associated with the first mapping identifier to the second session identifier, where the second session identifier is used to identify all the second PDU session, and the second session identifier is allocated by the communication protocol module for the second PDU session.
  • the communication protocol module is further configured to delete the first PDU session after receiving the third notification. This helps to avoid wasting resources.
  • the first mapping identifier is associated with the first connection identifier.
  • the IP address of the terminal device side of a QUIC connection is the first IP address; the terminal device receives a second response sent from the application server, where the second response is used to indicate that the first QUIC connection is successfully established , the second response includes the first connection identifier.
  • the terminal device sends a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network;
  • the first session identifier is associated with the first connection identifier
  • the first session identifier is used to identify the first PDU session
  • the terminal device determines according to the first session identifier
  • modify the first session identification associated with the first connection identification is a second session identifier, where the second session identifier is used to identify the second PDU session.
  • the first IP address or the first session identifier is associated with a first mapping identifier
  • the first session identifier is used to identify the first PDU session
  • the first mapping identifier is used to identify the first PDU session. Identifies the first QUIC connection.
  • the terminal device determines the first mapping identifier according to the first IP address or the first session identifier, and modifies the first IP address associated with the first mapping identifier to the second IP address, or modify the first session identifier associated with the first mapping identifier to the second session identifier, where the second session identifier is used to identify the second PDU session.
  • embodiments of the present application further provide a computer-readable storage medium, including a computer program, which, when run on a computer, enables the computer to execute the second aspect and any possible design method of the second aspect.
  • an embodiment of the present application further provides a chip system, where the chip system includes a processor, and may also include a memory, for implementing the second aspect and any possible design method of the second aspect.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the embodiments of the present application further provide a computer program product, including a computer program that, when run on a computer, enables the computer to execute the second aspect and any possible design method of the second aspect.
  • FIG. 2 is a schematic structural diagram of a communication device according to an embodiment of the application.
  • FIG. 4 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another communication method according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another communication apparatus according to an embodiment of the present application.
  • At least one refers to one or more, and "a plurality” refers to two or more.
  • And/or which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one (item) of the following or its similar expression refers to any combination of these items, including any combination of single item (item) or plural item (item).
  • transmission can include sending and/or receiving, and can be a noun or a verb.
  • the "network element” involved in the embodiments of this application may also be referred to as "equipment”, which is not limited.
  • the network element may be hardware, software divided by function, or a combination of the above two structures.
  • the network elements may include core network network elements, access network network elements (such as access network equipment), and the like. Core network elements, such as session management network elements, user plane network elements, etc.
  • the network architecture includes an access network device, a mobility management network element, a session management network element, a user plane network element, and an application server in a data network (DN).
  • the access network equipment is an access network network element
  • the mobility management network element, the session management network element and the user plane network element are the core network network elements.
  • the mobility management network element is used for the mobility management of terminal equipment, such as mobility management entity (mobility management entity, MME), or access and mobility management function entity (access and mobility management function, AMF) entity, etc.
  • mobility management entity mobility management entity
  • MME mobility management entity
  • AMF access and mobility management function entity
  • Session management network elements are used to control the establishment, modification and deletion of PDU sessions, such as session management function (session management function, SMF) entities.
  • session management function session management function, SMF
  • User plane network elements are responsible for connecting external networks (such as data networks), such as user plane function (UPF) entities.
  • external networks such as data networks
  • UPF user plane function
  • RAN nodes can also be referred to as RAN equipment, RAN network elements, access network equipment or access nodes, including but not limited to: (g nodeB, gNB) in 5G, evolved node B (evolved node B, eNB), Radio Network Controller (RNC), Node B (NB, NB), Base Station Controller (BSC), Base Transceiver Station (BTS), Home Base Station (for example, home evolved nodeB, or home node B, HNB), base band unit (BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • RAN nodes also It may include a wireless fidelity (wireless fidelity, wifi) access point (access point, AP) and the like.
  • the "entity" in each functional entity is removed.
  • the AMF entity is abbreviated as AMF
  • the UPF entity is abbreviated as UPF.
  • Other entities are similar and will not be listed one by one.
  • the communication between any two network elements can adopt a service-oriented communication mode.
  • AMF and terminal equipment can communicate through N1 interface
  • AMF and RAN node can communicate through N2 interface
  • RAN node and UPF can communicate through N3 interface
  • SMF and UPF can communicate through N4 interface
  • air interface between terminal equipment and RAN node Communication between UPFs is through the N9 interface.
  • the service-oriented interfaces between the above network elements may also be replaced by point-to-point interfaces.
  • the network elements related to the present application are mainly: access network equipment, mobility management network elements, session management network elements, user plane network elements and application servers in the DN.
  • the structure of the terminal device in this embodiment of the present application may be as shown in FIG. 2 , including a communication protocol module 201 and a QUIC module 202 .
  • the communication protocol module 201 is used for sending a first request to the mobility management network element, where the first request is used for requesting to establish a first PDU session for the first data network;
  • the communication protocol module 202 is further configured to receive a first response from the first session management network element, and after receiving the first response, send a first notification to the QUIC module 202, where the first response is used to indicate that the first PDU session is successfully established , the first response includes the first IP address of the terminal device, and the first notification includes the first IP address;
  • the QUIC module 202 is configured to receive the first notification from the communication protocol module 201, and after receiving the first notification, send a second request to the application server of the first data network, where the second request is used to request the establishment of the first QUIC connection,
  • the second request includes a first connection identifier, the first connection identifier is used to identify the first QUIC connection, the first connection identifier is allocated by the QUIC module 202 for the first QUIC connection, and the IP address of the terminal device side of the first QUIC connection is the first QUIC connection. an IP address;
  • the QUIC module 202 is further configured to receive a second response from the application server, where the second response is used to indicate that the first QUIC connection is successfully established, and the second response includes the first connection identifier.
  • the communication protocol module 201 is further configured to send a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network;
  • the communication protocol module 201 is further configured to receive a third response from the second session management network element, and after receiving the third response, send a second notification to the QUIC module 202, where the third response is used to indicate that the second PDU session is successfully established , and the third response includes the second IP address of the terminal device, and the second notification includes the first IP address and the second IP address;
  • the QUIC module 202 is configured to receive the second notification from the communication protocol module 201, and after receiving the second notification, determine the first connection identifier according to the first IP address, and connect the first QUIC identified by the first connection identifier
  • the IP address on the side of the terminal device is modified to the second IP address.
  • the QUIC module 202 is further configured to associate the first session identifier with the first connection identifier after receiving the second response.
  • the communication protocol module 201 is further configured to send a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network;
  • the QUIC module 202 is configured to receive the second notification from the communication protocol module 201, and after receiving the second notification, determine the first connection identifier according to the first session identifier, and assign the first QUIC identified by the first connection identifier
  • the IP address on the side of the connected terminal device is modified to the second IP address, and the first session identification associated with the first connection identification is modified to the second session identification.
  • the QUIC module 202 is further configured to send a third notification to the communication protocol module 201 after modifying the IP address of the terminal device side connected to the first QUIC to the second IP address, The third notification is used to indicate that the QUIC connection is successfully migrated; the communication protocol module 201 is further configured to delete the first PDU session after receiving the third notification.
  • the communication protocol module 201 is further configured to receive the fourth notification from the QUIC module 202, and after receiving the fourth notification, associate the first mapping identifier with the first IP address or the first session identifier, where the first session identifier is used to identify The first PDU session, and the first session identifier is allocated by the communication protocol module 201 for the first PDU session.
  • the communication protocol module 201 is further configured to send a third request to the mobility management network element, where the third request is used to request to establish a second PDU session for the first data network;
  • the communication protocol module 202 is further configured to receive a third response from the second session management network element, and after receiving the third response, determine the first mapping identifier according to the first IP address or the first session identifier, and send the message to the QUIC module 201. sending a second notification, where the third response is used to indicate that the second PDU session is successfully established, the third response includes the second IP address of the terminal device, and the second notification includes the first mapping identifier and the second IP address;
  • the QUIC module 202 is further configured to receive the second notification from the communication protocol module 201, and after receiving the second notification, modify the IP address on the side of the terminal device connected to the first QUIC identified by the first mapping identifier to the second notification. IP address, and send a third notification to the communication protocol module 201, where the third notification is used to indicate that the QUIC connection is successfully migrated;
  • the communication protocol module 201 is further configured to, after receiving the third notification, modify the first IP address associated with the first mapping identifier to the second IP address; or, the communication protocol module 201 is configured to, after receiving the QUIC connection migration success notification Afterwards, the first session identifier associated with the first mapping identifier is modified into a second session identifier, the second session identifier is used to identify the second PDU session, and the second session identifier is allocated by the communication protocol module 201 for the second PDU session of.
  • the communication protocol module 201 and the QUIC module 202 may be deployed on the same chip (eg, modem) of the terminal device, or may be deployed on different chips in the terminal device, which is not limited thereto.
  • the communication method of the embodiment of the present application will be described in detail below by taking the terminal device having the structure shown in FIG. 2 and the 5G network architecture as an example.
  • FIG. 3 it is a schematic flowchart of a communication method according to an embodiment of the present application, which specifically includes the following steps.
  • the terminal device triggers the PDU session establishment process through a certain event. For example, when the terminal device needs to perform a service, the PDU session establishment process is triggered. For example, in response to the user's operation of opening the video, the terminal device needs to obtain data from the application server in the data network, and then triggers the communication protocol module to send request 1 to the AMF. For another example, in response to the user's operation of uploading a document, the terminal device needs to upload the document to the application server in the data network, and triggers the communication protocol module to send request 1 to the AMF.
  • the AMF After receiving the request 1 from the terminal device, the AMF sends a request 2 to the SMF1, where the request 2 is used to initiate a process of establishing a session context for the PDU session to the SMF1 for the terminal device.
  • the AMF after receiving request 1 from the terminal device, the AMF selects an SMF for serving the terminal device.
  • the AMF selected for serving the terminal device is SMF1
  • the AMF sends request 2 to SMF1.
  • the AMF may select an SMF for providing services to the terminal device according to information such as the current location area identifier of the terminal device and the slice identifier in request 1.
  • the request 2 may also be referred to as a request for establishing a session context, or a request for establishing a session context, etc., which is not limited thereto.
  • the request 2 may include information such as the terminal device identifier, the PDU session identifier 1, the requested SSC mode, the DNN, and the slice identifier.
  • the SMF1 After receiving the request 2 from the AMF, the SMF1 sends a request 3 to the UPF1, and the request 3 is used to initiate the process of establishing an N4 session between the SMF1 and the UPF1 to the UPF1 for the PDU session requested by the terminal device to be established.
  • the SMF1 after receiving the request 2 from the AMF, the SMF1 selects a UPF for serving the PDU session requested by the terminal device to be established. If the selected UPF is UPF1, the SMF1 sends the request 3 to the UPF1. For example, for the manner in which the SMF1 selects the UPF for providing the service for the PDU session requested by the terminal device to be established, reference may be made to the related existing implementation, which is not limited in the embodiment of the present application.
  • the request 3 may also be referred to as an N4 session establishment request, or an N4 session establishment request, etc., which is not limited thereto.
  • the SMF1 After receiving the response 3 from the UPF1, the SMF1 sends a response 2 to the AMF, where the response 2 is a response to the request 2.
  • the response 2 may also be referred to as a session context establishment response, a session context establishment response, or the like.
  • the SMF1 sends an N1N2 message to the AMF, where the N1N2 message includes response 1 and request 4.
  • the response 1 is a response to the request 1, which is sent by the SMF 1 to the communication protocol module of the terminal device.
  • the response 1 is used to indicate that the PDU session is established successfully, that is, the response 1 is used to indicate that the PDU session identified by the PDU session identifier 1 is successfully established.
  • the response 1 may also be referred to as a PDU session establishment accept message, and the response 1 may include the IP address of the terminal device allocated by the SMF1 or the UPF1 for the PDU session requested to be established.
  • the IP address of the terminal device is abbreviated as UE IP address below.
  • the AMF receives the N1N2 message from the SMF, and sends request 4 and response 1 to the RAN node.
  • the RAN node After receiving the request 4 and the response 1, the RAN node forwards the response 1 to the terminal device.
  • the terminal device receives the response 1 through the communication protocol module, and after receiving the response 1, the communication protocol module sends a PDU session establishment completion message to the RAN node.
  • the RAN node receives the PDU session establishment complete message, and forwards the PDU session establishment complete message to the AMF.
  • the RAN node also sends a response 4 to the AMF.
  • the response 4 is a response to the request 4, which may also be referred to as a PDU session resource establishment response message, or a PDU session resource establishment response, or the like.
  • the response 4 may include service data packet forwarding information allocated by the RAN node for the PDU session requested to be established by the terminal device, for example, the tunnel endpoint identifier and/or IP address of the RAN node.
  • the SMF1 After receiving the request 5 sent from the AMF, the SMF1 sends the request 6 to the UPF1.
  • Request 6 is used to request to update the N4 session, also known as the N4 session update request, or the update N4 session request, etc., which may include the tunnel endpoint identifier of the RAN node, and/or the IP address and other PDUs that the RAN node requests to establish for the terminal device Service packet forwarding information allocated by the session.
  • the QUIC module receives notification 1, and after receiving notification 1, sends request 7 to the application server in the data network.
  • Request 7 is used to request the establishment of a QUIC connection, that is, request 7 is used to trigger the terminal device to initiate a QUIC connection establishment process to the application server.
  • request 7 includes QUIC connection identifier 1, which is used to identify the QUIC connection established by the request.
  • the QUIC connection identifier is assigned by the QUIC module.
  • the IP address of the terminal device side of the QUIC connection identified by the QUIC connection identifier 1 is the UE IP address 1.
  • Response 7 is a response to request 7, which is used to indicate that the QUIC connection identified by QUIC connection identifier 1 is successfully established, and may include QUIC connection identifier 1.
  • the application server sends the response 7 to the QUIC module of the terminal device, that is, the terminal device receives the response 7 through the QUIC module.
  • the request 7 may be a handshake request or a handshake message
  • the response 7 may be a handshake response, so as to implement a QUIC connection between the application server and the terminal device.
  • the QUIC module of the terminal device After receiving the response 7, the QUIC module of the terminal device returns a QUIC connection establishment completion message to the application server. Or, after receiving the response 7, the QUIC module of the terminal device sends a session establishment completion notification to the communication protocol module.
  • steps 315 to 318 are located after step 308, and there is no necessary sequence between steps 309, 310, 311, 312, 313, and 314.
  • the terminal device can establish a QUIC connection after the PDU session is successfully established, thereby helping to avoid the terminal device and the application from the terminal device and the application after the UE IP address is changed due to the reestablishment of the PDU session.
  • the connection between servers is broken, which helps maintain business continuity and improves user experience.
  • the communication protocol module may further carry the PDU session identifier 1 in the notification 1 and send it to the QUIC module, and then the QUIC module may further associate the QUIC connection identifier 1 with the PDU session identifier 1 after receiving the notification 1.
  • the association relationship between the QUIC connection identifier 1 and the PDU session identifier 1 may be stored in the terminal device, and may be read by the QUIC module.
  • the association relationship between the QUIC connection identifier 1 and the PDU session identifier 1 may not be able to be read by the communication protocol module.
  • the association relationship between the QUIC connection identifier 1 and the PDU session identifier 1 may be stored in the terminal device in a list format, for example, as shown in Table 1.
  • association between the QUIC connection identifier 1 and the PDU session identifier 1 may also be stored in other formats, which is not limited.
  • the QUIC connection ID 1 is different from the mapping ID 1, and the association between the QUIC connection ID 1 and the mapping ID 1 can be read by the QUIC module, but the communication protocol module is restricted from reading, which helps to improve the security of the QUIC connection ID 1 sex.
  • the storage format of the association between the QUIC connection identifier 1 and the mapping identifier 1 may be as shown in Table 2.
  • the QUIC module also sends notification 2 to the communication protocol module.
  • the notification 2 includes the mapping identifier 1 .
  • the communication protocol module associates the mapping identification 1 with the PDU session identification 1 or the UE IP address 1.
  • the association relationship between the mapping identification 1 and the PDU session identification 1 or the UE IP address 1 can be stored in the terminal device correspondingly in the form of a list, and the association relationship can be read by the communication protocol module.
  • the storage format of the association relationship between the mapping identifier 1 and the PDU session identifier 1 may be as shown in Table 3.
  • mapping ID 1 and PDU session ID 1 or UE IP address 1 or UE IP address 1 can also be stored in other formats. Not limited.
  • the association between the mapping identifier 1 and the QUIC connection identifier 1 It can be read by the QUIC module, but cannot be read by the communication protocol module; and the association between the mapping ID 1 and the PDU session ID 1 or UE IP address 1 can be read by the communication protocol module.
  • the association relationship between the mapping identifier 1 and the PDU session identifier 1 or the UE IP address 1 can be read by the QUIC module or cannot be read by the QUIC module, which is not limited.
  • Example 2 On the basis of Example 1, when SMF1 detects that it is not the optimal SMF for providing services to the terminal device, it triggers the PDU session migration process. For example, when SMF1 detects that the terminal device moves out of the service area of SMF1, it triggers the PDU session migration process. Exemplarily, in the case that the terminal device includes the QUIC module, the migration process of the PDU session may be as shown in FIG. 4 , which specifically includes the following steps.
  • the SMF1 detects an event that triggers the PDU session migration process, and sends an N1N2 message to the AMF.
  • the N1N2 message may include information such as PDU session identifier 1, SMF change indication, and request 8.
  • the request 8 is used to request the terminal device to update the PDU session, which may also be referred to as a PDU session update request or the like.
  • the AMF may send the request 8 to the communication protocol module of the terminal device through the RAN node.
  • the RAN node is used to forward the request 8.
  • the communication protocol module of the terminal device After receiving the request 8, the communication protocol module of the terminal device sends a response 8 to the AMF.
  • Response 8 is a response to request 8, which can also be called a PDU session change response.
  • the communication protocol module of the terminal device sends the response 8 to the AMF through the RAN node.
  • the RAN node is used to forward the response 8.
  • the AMF receives the response 8, and sends the request 9 to the SMF1.
  • the request 9 is used to forward the response 8, which may also be referred to as an update session context request message, a session context update request, or a session context update request, and the like.
  • the SMF1 receives the request 9, and sends a response 9 to the AMF.
  • the response 9 is a response to the request 9, which can also be called an update session context response message, an update session context response, or a session update context response.
  • the communication protocol module of the terminal device After receiving the request 8, the communication protocol module of the terminal device sends a request 10 to the AMF, where the request 10 is used to request to establish a new PDU session for the same data network.
  • request 10 is used to request to establish a new PDU session for the same data network.
  • request 1 is used to request the establishment of a PDU session for the first data network
  • request 10 is used to request the establishment of a new PDU session for the first data network.
  • the request 10 may also be referred to as a PDU session establishment request, or a PDU session establishment request, or the like.
  • the request 10 may include one or more of information such as PDU session identifier 2, PDU session identifier 1, requested SSC mode, data network name and/or slice identifier.
  • the PDU session identifier 2 is allocated by the communication protocol module of the terminal device and used to identify the new PDU session requested to be established. It should be noted that the PDU session identifier 1 is used to identify the PDU session established in the communication method shown in FIG. 3 .
  • the communication protocol module of the terminal device sends the request 10 to the AMF through the RAN node. Specifically, the communication protocol module first sends the request 10 to the RAN node, and then the RAN node forwards the request 10 to the AMF.
  • the AMF After receiving the request 10, the AMF sends the request 11 to the SMF2.
  • the request 11 is used for initiating the process of establishing a session context to the SMF2 for the terminal device.
  • the AMF upon receiving the request 10, selects an SMF to serve the terminal device.
  • the selected SMF for serving the terminal device is SMF2
  • the AMF sends a request 11 to SMF2.
  • the AMF selects an SMF2 different from the SMF1 to provide services for the terminal device according to one or more of the SMF change instruction, the current location area identifier of the terminal device, the slice identifier, and/or the data network name.
  • the request 11 may also be referred to as a request for establishing a session context, or a request for establishing a session context, etc., which is not limited thereto.
  • the request 11 may include one or more of information such as terminal device identification, PDU session identification 1, PDU session identification 2, requested SSC mode, data network name and/or slice identification.
  • the SMF2 After receiving the request 11, the SMF2 sends the request 12 to the UPF2, and the request 12 is used to initiate the process of establishing the N4 session between the SMF2 and the UPF2 to the UPF2 for the new PDU session requested to be established by the terminal device.
  • the request 12 may also be referred to as an N4 session establishment request, or an N4 session establishment request, etc., which is not limited thereto.
  • the SMF2 sends an N1N2 message to the AMF, where the N1N2 message includes the response 10 and the request 13.
  • the response 10 is a response to the request 10, which is sent by the SMF2 to the communication protocol module of the terminal device.
  • the response 10 is used to indicate that the PDU session is established successfully, that is, the response 10 is used to indicate that the PDU session identified by the PDU session identifier 2 is successfully established.
  • the response 10 may also be referred to as a PDU session establishment accept message, and may include the IP address of the terminal device allocated by the SMF2 or the UPF2 for the PDU session requested to be established.
  • the IP address of the terminal device is abbreviated as UE IP address below.
  • the response 10 may include UE IP address 2.
  • the response 10 may also include the SSC mode selected by the SMF2.
  • SMF2 may select the corresponding SSC mode according to the SSC mode requested in request 10.
  • the request 13 is used to request the RAN node to establish a PDU session, which may also be referred to as a PDU session resource establishment message or a PDU session resource establishment request.
  • the request 13 may include information such as the tunnel-to-endpoint identifier and/or IP address of the UPF1.
  • the AMF After receiving the N1N2 message, the AMF sends the response 10 and the request 13 to the RAN node.
  • the RAN node After receiving the request 13 and the response 10, the RAN node forwards the response 10 to the terminal device.
  • the terminal device receives the response 10 through the communication protocol module, and after receiving the response 10, the communication protocol module sends a PDU session establishment completion message to the RAN node.
  • the RAN node After receiving the PDU session establishment complete message, the RAN node forwards the PDU session establishment complete message to the AMF.
  • the RAN node also sends a response 13 to the AMF.
  • the response 13 is a response to the request 13, which may also be referred to as a PDU session resource establishment response message, or a PDU session resource establishment response.
  • the response 13 may include service data packet forwarding information allocated by the RAN node for the PDU session requested to be established by the terminal device, for example, the tunnel endpoint identifier and/or IP address of the RAN node.
  • the AMF receives the response 13, and sends the request 14 to the SMF2.
  • the request 14 is used to request to update the session context, which can also be referred to as an update session context request, or a session context update request, etc., which may include the tunnel endpoint identifier of the RAN node, and/or the IP address and other PDUs that the RAN node requests to establish for the terminal device Service packet forwarding information allocated by the session.
  • the SMF2 After receiving the request 14, the SMF2 sends the request 15 to the UPF2.
  • Request 15 is used to request to update the N4 session, also known as the N4 session update request, or the update N4 session request, etc., which may include the tunnel endpoint identifier of the RAN node, and/or the IP address and other PDUs that the RAN node requests to establish for the terminal device Service packet forwarding information allocated by the session.
  • the UPF2 After receiving the request 15, the UPF2 sends the response 15 to the SMF2.
  • Response 15 is a response to request 15, and is used to indicate that the N4 session is updated successfully.
  • the response 15 may also be referred to as an N4 session update response, or an update N4 session response, which is not limited in this application.
  • the SMF1 After receiving the response 15, the SMF1 sends the response 14 to the AMF.
  • Response 14 is a response to request 14 and is used to indicate that updating the session context is successful.
  • the response 14 may also be referred to as an update session context response message, or an update session context response, etc., which is not limited thereto.
  • the communication protocol module of the terminal device After receiving the response 10, the communication protocol module of the terminal device sends a notification 3 to the QUIC module, where the notification 3 includes the UE IP address 1 and the UE IP address 2.
  • the QUIC module of the terminal device determines the QUIC connection identifier 1 according to the UE IP address 1.
  • the UE IP address 1 is the IP address of the terminal device side of the QUIC connection identified by the QUIC connection identifier 1.
  • the QUIC module modifies the IP address of the terminal device side of the QUIC connection identified by the QUIC connection identifier 1 to the UE IP address 2. Therefore, the terminal device communicates with the application server through the modified IP address of the terminal device connected to the QUIC, without disconnecting the QUIC connection and rebuilding the connection and communication with the application server, thereby realizing the migration of the PDU session.
  • steps 420 and 421 are located after step 413 , and there is no necessary sequence with steps 414 , 415 , 416 , 417 , 418 and 419 .
  • Step 420-A after receiving the response 10, the communication protocol module of the terminal device sends a notification 4 to the QUIC module, and the notification 4 includes the PDU session identifier 1, the PDU session identifier 2 and the UE IP address 2.
  • UPF2 receives request 23, and sends response 23 to SMF1.
  • the response 23 is a response to the request 23, which may also be referred to as an N4 session establishment response, or an N4 session establishment response, or the like.
  • the RAN node receives the request 27 and sends the response 27 to the AMF.
  • the response 27 is a response to the request 27, which may also be referred to as a PDU session resource update response, or an update PDU session resource response, or the like.
  • step 615 and step 616 and the replacement steps reference may be made to the method shown in FIG. 4 , which will not be repeated here.
  • the SMF1 sends a request 29 to the UPF3.
  • Request 29 is used to request to delete the service data packet forwarding channel of UPF1.
  • the request 29 may also be referred to as an N4 session update request, an update N4 session request, or the like.
  • SMF1 receives response 29, and sends request 30 to UPF1.
  • the request 30 is used to request to delete the N4 session between the SMF1 and the UPF1, and may also be referred to as an N4 session deletion request, or a N4 session deletion request, and the like.
  • the UPF1 receives the request 30, and sends the response 30 to the SMF1.
  • the response 30 is a response to the request 30, which may also be referred to as an N4 session deletion response, or an N4 session deletion response, or the like.
  • UPF2 receives request 31, and sends response 31 to SMF1.
  • the response 31 is a response to the request 31, which may also be referred to as an N4 session update response, an update N4 session response, or the like.
  • the SMF1 receives the response 31 and sends an N1N2 message to the AMF.
  • the N1N2 message includes service data packet forwarding information allocated by UPF2.
  • the AMF receives the response 32, and sends the request 33 to the SMF1.
  • Request 33 is used to forward response 32.
  • request 33 includes response 32 .
  • the request 33 may also be referred to as a request for updating session context, a request for updating session context, or the like.
  • SMF1 sends request 34 to UPF3.
  • the request 34 is used to request to delete the N4 session, and may also be referred to as an N4 session deletion request, a delete N4 session request, or the like.
  • UPF3 receives request 34, and sends response 34 to SMF1.
  • the response 34 is a response to the request 34, and may also be referred to as an N4 session deletion response, a N4 session deletion response, or the like.
  • an embodiment of the present application provides a communication method, as shown in FIG. 8 , which specifically includes the following steps.
  • the terminal device sends a first request to a mobility management network element, where the first request is used to request to establish a first PDU session for a first data network;
  • the terminal device sends a second request to the application server of the first data network, where the second request is used to request to establish a first QUIC connection, the second request includes a first connection identifier, and the first connection identifier is used to identify the first QUIC connection,
  • the IP address of the terminal device side connected to the first QUIC is the first IP address;
  • the terminal device further sends a third request to the mobility management network element, where the third request is used to request the establishment of a second PDU session for the first data network, and the terminal device receives the message from the second session management network element.
  • the third response is used to indicate that the second PDU session is successfully established, and the third response includes the second IP address of the terminal device. Then, the terminal device modifies the IP address of the terminal device side connected to the first QUIC to the second IP address.
  • the first session identifier is associated with the first connection identifier
  • the first session identifier is used to identify the first PDU session
  • the terminal device determines the first connection identifier according to the first session identifier, and then connects the first QUIC connection
  • the IP address on the terminal device side is modified to a second IP address
  • the first session ID associated with the first connection ID is modified to a second session ID, where the second session ID is used to identify the second PDU session.
  • the first IP address or the first session identifier is associated with a first mapping identifier
  • the first session identifier is used to identify the first PDU session
  • the first mapping identifier is used to identify the first QUIC connection
  • the first session identifier is used to identify the first QUIC connection.
  • a session identification is different from the first mapping identification.
  • an embodiment of the present application also provides a communication device, the structure of which may be as shown in FIG. 2 , including a communication protocol module and a QUIC module, and the communication device may be a chip in a terminal device or a terminal device, This is not limited.
  • another communication apparatus 900 includes at least one processor 910 , which can be used to implement the functions of the terminal device in the methods shown in FIGS. 3 to 7 .
  • the communication device 900 may also include a memory 920 .
  • the computer program is stored in the memory 920 .
  • Memory 920 is coupled to processor 910 .
  • the coupling in the embodiments of the present application is the spaced coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information interaction between the devices, units or modules.
  • the memory 920 may also be located outside the communication device 900 .
  • the processor 910 may cooperate with the memory 920 .
  • the processor 910 can call the computer program stored in the memory 920, so as to implement the communication method provided by the above embodiments. At least one of the at least one memory may be included in the processor.
  • the communication apparatus 900 may further include a communication interface 930 for communicating with other devices through a transmission medium, so that the devices used in the communication apparatus 900 may communicate with other devices.
  • communication interface 930 may be a transceiver, circuit, bus, module, or other type of communication interface, and the other device may be other terminal.
  • the processor 910 uses the communication interface 930 to send and receive information, and is used to implement the methods in the above embodiments.
  • the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which can implement or
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may also be a volatile memory (volatile memory), for example Random-access memory (RAM).
  • Memory is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the memory in this embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing computer programs and/or data.
  • the methods provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment, or other programmable apparatus.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server or data center by wire (eg coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available media that can be accessed by a computer, or a data storage device such as a server, data center, etc. that includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, digital video discs (DVD)), or semiconductor media (eg, SSDs), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种通信方法及通信装置,涉及通信技术领域。该通信装置包括通信协议模块和QUIC模块。通信协议模块用于发送用于请求针对第一数据网络建立第一PDU会话的第一请求,以及接收来用于指示第一PDU会话建立成功的第一响应,并在接收到第一响应后,向QUIC模块发送包括第一IP地址的第一通知;QUIC模块用于在接收到第一通知后,向第一数据网络的应用服务器发送用于请求建立第一QUIC连接的第二请求,以及接收用于指示第一QUIC连接建立成功的第二响应,第一QUIC连接的终端设备侧的IP地址为第一IP地址。这种技术方案使得在PDU会话重建导致终端设备侧的IP地址发生变化时,有助于保持业务连续性。

Description

一种通信方法及通信装置
相关申请的交叉引用
本申请要求在2020年08月31日提交中国专利局、申请号为202010895486.5、申请名称为“一种通信方法及通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别涉及一种通信方法及通信装置。
背景技术
第五代移动通信技术(5th generation,5G)中,终端设备通过协议数据单元(protocol data unit,PDU)会话与数据网络进行通信,PDU会话是终端设备和数据网络之间的连接。具体的,会话管理功能(session management function,SMF)是PDU会话的控制面锚点,当终端设备移出SMF的服务区域的情况下,终端设备需要重新建立与具有相同数据网络名称(data network name,DNN)的数据网络之间的PDU会话,使得终端设备可以仍然与数据网络继续通信。
然而,现有技术中,终端设备如果重新建立PDU会话,会导致终端设备侧的互联协议(internet protocol,IP)地址发生变化,从而终端设备与数据网络间的传输控制协议(transmission control protocol,TCP)连接需要重建。因此,PDU会话的重建会导致TCP连接断开,导致业务中断,影响用户体验。
发明内容
本申请实施例提供了一种通信方法及通信装置,使得在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性,提高用户体验。
第一方面,为本申请实施例提供的一种通信装置,包括通信协议模块和QUIC模块。其中,所述通信协议模块,用于向移动性管理网元发送第一请求,所述第一请求用于请求针对第一数据网络建立第一协议数据单元PDU会话;所述通信协议模块,还用于接收来自第一会话管理网元的第一响应,并在接收到所述第一响应后,向所述QUIC模块发送第一通知,所述第一响应用于指示所述第一PDU会话建立成功,所述第一响应包括所述终端设备的第一IP地址,所述第一通知包括所述第一IP地址;所述QUIC模块,用于接收来自所述通信协议模块的所述第一通知,并在接收到所述第一通知后,向所述第一数据网络的应用服务器发送第二请求,所述第二请求用于请求建立第一QUIC连接,所述第二请求包括第一连接标识,所述第一连接标识用于标识所述第一QUIC连接,所述第一连接标识是所述QUIC模块为所述第一QUIC连接分配的,所述第一QUIC连接的终端设备侧的IP地址为所述第一IP地址;所述QUIC模块,还用于接收来自所述应用服务器的第二响应,所述第二响应用于指示所述第一QUIC连接建立成功,所述第二响应包括所述第一连接标 识。
本申请实施例中,由于增加了QUIC模块,使得通信装置可以在PDU会话建立成功后,在通信装置和应用服务器之间建立QUIC连接,而非TCP连接,因此,在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性,提高用户体验。
在一种可能的设计中,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,且所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一IP地址和所述第二IP地址;
所述QUIC模块,用于接收来自所述通信协议模块的所述第二通知,并在接收到所述第二通知后,根据所述第一IP地址,确定所述第一连接标识,并将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址。
通过上述技术方案,有助于使得在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性,提高用户体验,另外还有助于降低方案实现的复杂性。
在一种可能的设计中,所述第一通知还包括第一会话标识,所述第一会话标识用于标识所述第一PDU会话,且所述第一会话标识是所述通信协议模块为所述第一PDU会话分配的;所述QUIC模块,还用于在接收到所述第二响应后,将所述第一会话标识与所述第一连接标识关联。使得通信协议模块无需获取第一连接标识,有助于提高第一连接标识的安全性。
在一种可能的设计中,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一会话标识、所述第二IP地址和第二会话标识,所述第二会话标识用于标识所述第二PDU会话,所述第二会话标识是所述通信协议模块为所述第二PDU会话分配的;
所述QUIC模块,用于接收来自所述通信协议模块的所述第二通知,并在接收到所述第二通知后,根据所述第一会话标识,确定所述第一连接标识,将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,并将与所述第一连接标识关联的所述第一会话标识修改为所述第二会话标识。
通过上述技术方案,有助于使得在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性。
在一种可能的设计中,所述QUIC模块,还用于在将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址后,向所述通信协议模块发送第三通知,所述第三通知用于指示QUIC连接迁移成功;
所述通信协议模块,还用于在接收到所述第三通知后,删除所述第一PDU会话。
通过上述技术方案,有助于避免资源浪费。
在一种可能的设计中,所述QUIC模块,还用于向所述通信协议模块发送第四通知,所述第四通知包括第一映射标识,所述第一映射标识用于标识所述第一QUIC连接,所述第一映射标识是由所述QUIC模块分配的;
所述通信协议模块,还用于接收来自所述QUIC模块的所述第四通知,并在接收到所述第四通知后,将所述第一映射标识与所述第一IP地址或第一会话标识关联,所述第一会话标识用于标识所述第一PDU会话,且所述第一会话标识是由通信协议模块为所述第一PDU会话分配的。
在一种可能的设计中,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,根据所述第一IP地址或所述第一会话标识,确定所述第一映射标识,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一映射标识和所述第二IP地址;
所述QUIC模块,还用于接收来自所述通信协议模块的所述第二通知,并在接收到所述第二通知后,将与所述第一映射标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,并向所述通信协议模块发送第三通知,所述第三通知用于指示QUIC连接迁移成功;
所述通信协议模块,还用于在接收到所述第三通知后,将与所述第一映射标识关联的所述第一IP地址修改为所述第二IP地址;或者,所述通信协议模块,还用于在接收到所述第三通知后,将与所述第一映射标识关联的所述第一会话标识修改为所述第二会话标识,所述第二会话标识用于标识所述第二PDU会话,且所述第二会话标识是由所述通信协议模块为所述第二PDU会话分配的。
通过上述技术方案,不但有助于使得在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性,还有助于提高映射标识与会话标识关联关系的可靠性。
在一种可能的设计中,所述通信协议模块,还用于在接收到所述第三通知后,删除所述第一PDU会话。从而有助于避免资源浪费。
在一种可能的设计中,所述第一映射标识与所述第一连接标识关联。
第二方面,为本申请实施例的一种通信方法,具体包括:
终端设备向移动性管理网元发送第一请求,所述第一请求用于请求针对第一数据网络建立第一协议数据单元PDU会话;然后,所述终端设备接收来自第一会话管理网元的第一响应,所述第一响应用于指示所述第一PDU会话建立成功,所述第一响应包括所述终端设备的第一IP地址;所述终端设备向所述第一数据网络的应用服务器发送第二请求,所述第二请求用于请求建立第一QUIC连接,所述第二请求包括第一连接标识,所述第一连接标识用于标识所述第一QUIC连接,所述第一QUIC连接的终端设备侧的IP地址为所述第一IP地址;所述终端设备接收来自所述应用服务器发送的第二响应,所述第二响应用于指示所述第一QUIC连接建立成功,所述第二响应包括所述第一连接标识。
在一种可能的设计中,所述终端设备向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
所述终端设备接收来自第二会话管理网元的第三响应,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址;
所述终端设备将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址。
在一种可能的设计中,第一会话标识与所述第一连接标识关联,所述第一会话标识用于标识所述第一PDU会话,所述终端设备根据所述第一会话标识,确定所述第一连接标识之后,将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,然后,将与所述第一连接标识关联的所述第一会话标识修改为第二会话标识,所述第二会话标识用于标识所述第二PDU会话。
在一种可能的设计中,所述第一IP地址或第一会话标识与第一映射标识关联,所述第一会话标识用于标识所述第一PDU会话,所述第一映射标识用于标识所述第一QUIC连接。
在一种可能的设计中,所述终端设备向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
所述终端设备接收来自第二会话管理网元的第三响应,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址;
所述终端设备根据所述第一IP地址或者所述第一会话标识,确定所述第一映射标识,并将与所述第一映射标识关联的所述第一IP地址修改为所述第二IP地址、或者,将与所述第一映射标识关联的所述第一会话标识修改为所述第二会话标识,所述第二会话标识用于标识所述第二PDU会话。
在一种可能的设计中,所述终端设备将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址之后,删除所述第一PDU会话。
第三方面,本申请实施例提供一种通信装置,所述通信装置包括处理器,用于实现上述第二方面以及第二方面任一可能的设计的方法。所述通信装置还可以包括存储器,用于存储计算机程序和数据。所述存储器与所述处理器耦合,所述处理器执行所述存储器中存储的计算机程序时,可以实现上述第二方面以及第二方面任一可能的设计的方法。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信,示例性的,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口,其它设备可以为网络设备或终端设备等。
第四方面,本申请实施例还提供一种计算机可读存储介质,包括计算机程序,当其在计算机上运行时,使得计算机执行第二方面以及第二方面任一可能的设计的方法。
第五方面,本申请实施例还提供一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现第二方面以及第二方面任一可能的设计的方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。
第六方面,本申请实施例中还提供一种计算机程序产品,包括计算机程序,当其在计算机上运行时,使得计算机执行第二方面以及第二方面任一可能的设计的方法。
另外,第二方面至第六方面中任一种可能设计方式所带来的技术效果可参通信装置法部分中不同设计方式所带来的技术效果,此处不再赘述。
附图说明
图1为本申请实施例适用的一种网络架构的示意图;
图2为本申请实施例的一种通信装置的结构示意图;
图3为本申请实施例的一种通信方法的流程示意图;
图4为本申请实施例的另一通信方法的流程示意图;
图5为本申请实施例的另一通信方法的流程示意图;
图6为本申请实施例的另一通信方法的流程示意图;
图7为本申请实施例的另一通信方法的流程示意图;
图8为本申请实施例的另一通信方法的流程示意图;
图9为本申请实施例的另一通信装置的结构示意图。
具体实施方式
针对背景技术中所提出的问题,本申请提供了一种通信装置和通信方法,使得通信装置可以在PDU会话建立成功后,在通信装置和应用服务器之间建立QUIC连接,而非TCP连接,因此,在PDU会话重建导致终端设备侧的IP地址发生变化时,无需断开通信装置和应用服务器之间连接,从而有助于保持业务连续性,提高用户体验。
应理解,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一(项)个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a、b、c中的每一个本身可以是元素,也可以是包含一个或多个元素的集合。
在本申请实施例中,“示例的”、“在一些实施例中”、“在另一实施例中”等用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
本申请实施例中“的(of)”、“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用。应当指出的是,在不强调其区别时,其所要表达的含义是一致的。本申请实施例中通信、传输有时可以混用,应当指出的是,在不强调区别是,其所表达的含义是一致的。例如传输可以包括发送和/或接收,可以为名词,也可以是动词。
需要指出的是,本申请实施例中涉及的“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。本申请实施例中涉及的等于可以与大于连用,适用于大于时所采用的技术方案,也可以与小于连用,适用于与小于时所采用的技术方案,需要说明的是,当等于与大于连用时,不与小于连用;当等于与小于连用时,不与大于连用。
本申请实施例中涉及的“网元”也可以称为“设备”,对此不作限定。网元可以是硬件,也可以是从功能上划分的软件或者以上二者结合后的结构。网元可以包括核心网网元,接入网网元(比如接入网设备)等。核心网网元,比如会话管理网元、用户面网元等。
如图1所示,为本申请实施例适用的一种网络架构的示意图。如图所示,该网络架构包括接入网设备、移动管理网元、会话管理网元、用户面网元和数据网络(data network,DN)中的应用服务器。其中,接入网设备为接入网网元,移动管理网元、会话管理网元和用户面网元为核心网网元。
移动管理网元用于负责终端设备的移动性管理,例如移动管理实体(mobility management entity,MME)、或者接入和移动性管理功能实体(access and mobility management function,AMF)实体等。
会话管理网元用于控制PDU会话的建立、修改和删除,例如会话管理功能(session management function,SMF)实体。
用户面网元用于负责连接外部网络(如数据网络),例如用户面功能(user plane function,UPF)实体。
执行本申请通信方法涉及到终端设备。应理解,在本申请实施例中,终端又可以称之为终端设备、用户设备(user equipment)、移动终端等。
示例的,图1所示的网络架构可以为第五代移动通信技术(the 5th generation mobile communication technology,5G)网络架构。在这种情况下,接入网设备可以为无线接入网(radio access network,RAN)节点,移动管理网元可以为AMF实体,会话管理网元可以为SMF实体,用户面网元可以为UPF实体。
RAN节点(又可称之为接入网络(access network,AN)节点)的主要功能是控制终端设备通过无线接入到移动通信网络。RAN节点又可以称之为RAN设备、RAN网元、接入网设备或接入节点,包括但不限于:5G中的(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(base band unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等,此外,RAN节点还可以包括无线保真(wireless fidelity,wifi)接入点(access point,AP)等。
另外,为了描述更为简洁,在后续描述时,将各个功能实体中的“实体”去掉,比如AMF实体简称为AMF,UPF实体简称为UPF,其它实体类似,不再一一例举。
具体的,在5G网络架构中,AMF、SMF、UPF等网元任意两个网元之间通信可以采用服务化通信方式。另外,AMF与终端设备可通过N1接口通信,AMF与RAN节点可通过N2接口通信,RAN节点和UPF可通过N3接口通信,SMF与UPF可通过N4接口通信,终端设备与RAN节点之间进行空口通信,UPF之间通过N9接口通信。需要说明的是,上述的各个网元之间的服务化的接口还可以替换为点对点的接口。
其中,图1所示的网络架构中,与本申请有关的网元主要是:接入网设备、移动管理网元、会话管理网元、用户面网元和DN中的应用服务器。
需要说明的是,图1仅为本申请实施例适用的一种网络架构的示例,并不构成对本申请实施例的限定。本申请实施例还可以应用于其它网络架构,例如,未来移动通信网络架构(如6G网络架构)等。
应理解,本申请实施例中的终端设备是一种具有无线收发功能的设备或装置,又可以称之为用户设备(user equipment,UE)、移动终端、移动装置、无线终端设备等,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。例如,终端设备可以是手机(mobile phone)、平板电脑(pad)、智慧屏、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无 人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。
示例的,本申请实施例的终端设备的结构可以如图2所示,包括通信协议模块201和QUIC模块202。其中,通信协议模块201用于向移动性管理网元发送第一请求,第一请求用于请求针对第一数据网络建立第一PDU会话;
通信协议模块202还用于接收来自第一会话管理网元的第一响应,并在接收到第一响应后,向QUIC模块202发送第一通知,第一响应用于指示第一PDU会话建立成功,第一响应包括终端设备的第一IP地址,第一通知包括第一IP地址;
QUIC模块202用于接收来自通信协议模块201的第一通知,并在接收到第一通知后,向第一数据网络的应用服务器发送第二请求,第二请求用于请求建立第一QUIC连接,第二请求包括第一连接标识,第一连接标识用于标识第一QUIC连接,第一连接标识是QUIC模块202为第一QUIC连接分配的,第一QUIC连接的终端设备侧的IP地址为第一IP地址;
QUIC模块202还用于接收来自应用服务器的第二响应,第二响应用于指示第一QUIC连接建立成功,第二响应包括第一连接标识。
在一些实施例中,通信协议模块201还用于向移动性管理网元发送第三请求,第三请求用于请求针对第一数据网络建立第二PDU会话;
通信协议模块201还用于接收来自第二会话管理网元的第三响应,并在接收到第三响应后,向QUIC模块202发送第二通知,第三响应用于指示第二PDU会话建立成功,且第三响应包括终端设备的第二IP地址,第二通知包括第一IP地址和第二IP地址;
QUIC模块202用于接收来自通信协议模块201的第二通知,并在接收到第二通知后,根据第一IP地址,确定第一连接标识,并将第一连接标识所标识的第一QUIC连接的终端设备侧的IP地址修改为第二IP地址。
进一步的,在一些实施例中,第一通知还包括第一会话标识,第一会话标识用于标识第一PDU会话,且第一会话标识是通信协议模块201为第一PDU会话分配的;
QUIC模块202还用于在接收到第二响应后,将第一会话标识与第一连接标识关联。
或者,在一些实施例中,通信协议模块201还用于向移动性管理网元发送第三请求,第三请求用于请求针对第一数据网络建立第二PDU会话;
通信协议模块201还用于接收来自第二会话管理网元的第三响应,并在接收到第三响应后,向QUIC模块202发送第二通知,第三响应用于指示第二PDU会话建立成功,第三响应包括终端设备的第二IP地址,第二通知包括第一会话标识、第二IP地址和第二会话标识,第二会话标识用于标识第二PDU会话,第二会话标识是通信协议模块201为第二PDU会话分配的;
QUIC模块202用于接收来自通信协议模块201的所述第二通知,并在接收到第二通知后,根据第一会话标识,确定第一连接标识,将第一连接标识所标识的第一QUIC连接的终端设备侧的IP地址修改为第二IP地址,并将与第一连接标识关联的第一会话标识修改为第二会话标识。
此外,在本申请另一些实施例中,QUIC模块202还用于在将第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址后,向通信协议模块201发送第三通知,第三通 知用于指示QUIC连接迁移成功;通信协议模块201还用于在接收到第三通知后,删除第一PDU会话。
或者,在一些实施例中,QUIC模块202还用于向通信协议模块201发送第四通知,第四通知包括第一映射标识,第一映射标识用于标识第一QUIC连接,第一映射标识是由QUIC模块202分配的;示例的,第一映射标识用于标识第一QUIC连接,可以通过将第一映射标识与第一连接标识关联实现。
通信协议模块201还用于接收来自QUIC模块202的第四通知,并在接收到第四通知后,将第一映射标识与第一IP地址或第一会话标识关联,第一会话标识用于标识第一PDU会话,且第一会话标识是由通信协议模块201为第一PDU会话分配的。
进一步的,在一些实施例中,通信协议模块201还用于向移动性管理网元发送第三请求,第三请求用于请求针对第一数据网络建立第二PDU会话;
通信协议模块202还用于接收来自第二会话管理网元的第三响应,并在接收到第三响应后,根据第一IP地址或第一会话标识,确定第一映射标识,向QUIC模块201发送第二通知,第三响应用于指示所述第二PDU会话建立成功,第三响应包括终端设备的第二IP地址,第二通知包括第一映射标识和第二IP地址;
QUIC模块202还用于接收来自通信协议模块201的第二通知,并在接收到第二通知后,将与第一映射标识所标识的第一QUIC连接的终端设备侧的IP地址修改为第二IP地址,并向通信协议模块201发送第三通知,第三通知用于指示QUIC连接迁移成功;
通信协议模块201还用于在接收到第三通知后,将与第一映射标识关联的第一IP地址修改为第二IP地址;或者,通信协议模块201用于在接收到QUIC连接迁移成功通知后,将与第一映射标识关联的第一会话标识修改为第二会话标识,第二会话标识用于标识第二PDU会话,且第二会话标识是由通信协议模块201为第二PDU会话分配的。
在一些实施例中,通信协议模块201还用于在接收到第三通知后,删除第一PDU会话。
需要说明的是,通信协议模块201和QUIC模块202可以部署在终端设备的同一芯片(例如调制解调器(moderm))上,也可以部署在终端设备中的不同芯片上,对此不作限定。
下面以具有图2所示的结构的终端设备和5G网络架构为例,对本申请实施例通信方法进行详细说明。
示例一:
如图3所示,为本申请实施例的一种通信方法的流程示意图,具体包括以下步骤。
301、终端设备中的通信协议模块向AMF发送请求1,请求1用于针对数据网络建立PDU会话。
在一些实施例中,终端设备通过某一事件触发PDU会话建立流程。示例的,终端设备当需要进行业务时,触发PDU会话建立流程。例如,终端设备响应于用户打开视频的操作,需要从数据网络中的应用服务器获取数据,则触发通信协议模块向AMF发送请求1。再例如,终端设备响应于用户上传文档的操作,需要将文档上传到数据网络中的应用服务器上,则触发通信协议模块向AMF发送请求1。
其中,请求1又可以称之为PDU会话建立请求。示例的,请求1中包括PDU会话标识1、请求的会话与业务连续性模式(Session and Service Continuity mode,SSC mode)、 数据网络名称(data network name,DNN)和/或切片标识等信息。需要说明的是,PDU会话标识1是由终端设备为请求建立的PDU会话分配的。例如,PDU会话标识1是由通信协议模块为请求建立的PDU会话分配的。另外,在请求建立SSC mode3类型的PDU会话的情况下,则请求的SSC mode为SSC mode 3。
示例的,请求1是通信协议模块发送给RAN节点,然后由RAN节点转发给AMF的。
302、AMF接收到来自终端设备的请求1后,向SMF1发送请求2,请求2用于针对终端设备向SMF1发起针对PDU会话的建立会话上下文的流程。
在一些实施例中,AMF接收到来自终端设备的请求1后,选择用于为终端设备提供服务的SMF。在选择的用于为终端设备提供服务的SMF为SMF1的情况下,AMF向SMF1发送请求2。示例的,AMF可以根据终端设备当前所在的位置区域标识和请求1中的切片标识等信息,选择用于为终端设备提供服务的SMF。
其中,请求2又可以称之为建立会话上下文请求、或者会话上下文建立请求等,对此不作限定。示例的,请求2中可以包括终端设备标识、PDU会话标识1、请求的SSC mode、DNN和切片标识等信息。
303、SMF1接收到来自AMF的请求2后,向UPF1发送请求3,请求3用于针对终端设备请求建立的PDU会话向UPF1发起建立SMF1与UPF1之间的N4会话的流程。
在一些实施例中,SMF1接收到来自AMF的请求2后,选择用于为终端设备请求建立的PDU会话提供服务的UPF,在选择的UPF为UPF1的情况下,SMF1向UPF1发送请求3。示例的,SMF1选择用于为终端设备请求建立的PDU会话提供服务的UPF的方式可以参见现有的相关实现,本申请实施例不作限定。
其中,请求3又可以称之为N4会话建立请求、或者建立N4会话请求等,对此不作限定。
304、UPF1接收到来自SMF1发送的请求3后,向SMF1回复响应3,响应3为针对请求3的响应。示例的,响应3又可以称之为N4会话建立响应、或者建立N4会话响应等,可以包括UPF1为终端设备请求建立的PDU会话分配的业务数据包转发信息,例如,UPF1的隧道端点标识、和/或IP地址等。
305、SMF1接收到来自UPF1的响应3后,向AMF发送响应2,响应2为针对请求2的响应。示例的,响应2又可以称之为建立会话上下文响应、或者会话上下文建立响应等。
306、SMF1向AMF发送N1N2消息,N1N2消息中包括响应1和请求4。具体的,响应1是针对请求1的响应,是SMF 1发送给终端设备的通信协议模块的。响应1用于指示PDU会话建立成功,即响应1用于指示PDU会话标识1所标识的PDU会话建立成功。示例的,响应1又可以称之为PDU会话建立接受消息,响应1中可以包括SMF1或者UPF1为请求建立的PDU会话分配的终端设备的IP地址。为便于描述,以下将终端设备的IP地址简称为UE IP地址。在SMF1或者UPF1为请求建立的PDU会话分配的UE IP地址为UE IP地址1的情况下,响应1可以包括UE IP地址1。在一些实施例中,响应1还可以包括SMF 1选择的SSC mode。例如,SMF1可以是根据请求2中请求的SSC mode选择相应的SSC mode的。请求4用于向RAN节点请求建立PDU会话,又可以称之为PDU会话资源建立消息、或者PDU会话资源建立请求。示例的,请求4中可以包括UPF1的隧道到端点标识、和/或IP地址等信息。
307、AMF接收到来自SMF的N1N2消息,将请求4和响应1发送给RAN节点。
308、RAN节点在接收到请求4和响应1后,将响应1转发给终端设备。
309、终端设备通过通信协议模块接收响应1,通信协议模块在接收到响应1后,向RAN节点发送PDU会话建立完成消息。
310、RAN节点接收PDU会话建立完成消息,将PDU会话建立完成消息转发给AMF。此外,RAN节点还向AMF发送响应4。其中,响应4为针对请求4的响应,又可以称之为PDU会话资源建立响应消息、或者PDU会话资源建立响应等。示例的,响应4可以包括RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息,例如,RAN节点的隧道端点标识、和/或IP地址等。
311、AMF接收到来自RAN节点的响应4,向SMF1发送请求5。请求5用于请求更新会话上下文,又可以称之为更新会话上下文请求、或者会话上下文更新请求等,可以包括RAN节点的隧道端点标识、和/或IP地址等RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息。
312、SMF1接收到来自AMF发送的请求5后,向UPF1发送请求6。请求6用于请求更新N4会话,又可以称之为N4会话更新请求、或者更新N4会话请求等,可以包括RAN节点的隧道端点标识、和/或IP地址等RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息。
313、UPF1接收到SMF1发送的请求6后,向SMF1发送响应6。响应6为针对请求6的响应,用于指示N4会话更新成功。示例的,响应6又可以称之为N4会话更新响应、或者更新N4会话响应,对此本申请不作限定。
314、SMF1接收到来自UPF1的响应6后,向AMF发送响应5。响应5为针对请求5的响应,用于指示更新会话上下文成功。示例的,响应5又可以称之为更新会话上下文响应消息、或者更新会话上下文响应等,对此不作限定。
315、终端设备的通信协议模块在接收到响应1后,向QUIC模块发送通知1,通知1包括SMF1或者UPF1为请求建立的PDU会话分配的UE IP地址。以下以SMF1或者UPF1为请求建立的PDU会话分配的UE IP地址为UE IP地址1为例,即通知1包括UE IP地址1。
316、QUIC模块接收通知1,并在接收到通知1后,向数据网络中的应用服务器发送请求7。请求7用于请求建立QUIC连接,即请求7用于触发终端设备向应用服务器发起QUIC连接建立流程。示例的,请求7包括QUIC连接标识1,用于标识请求建立的QUIC连接。在一些实施例中,QUIC连接标识是由QUIC模块分配的。具体的,QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址为UE IP地址1。
317、应用服务器接收到请求7后,向终端设备发送响应7。响应7为针对请求7的响应,用于指示QUIC连接标识1所标识的QUIC连接建立成功,可以包括QUIC连接标识1。
示例的,应用服务器是向终端设备的QUIC模块发送响应7的,即终端设备是通过QUIC模块接收响应7的。
需要说明的是,本申请实施例中,请求7可以为握手请求、或握手消息,响应7可以为握手响应,从而实现应用服务器和终端设备之间的QUIC连接。
进一步的,在一些实施例中,图3所示的通信方法还可以包括步骤318:
318、终端设备的QUIC模块接收到响应7后,向应用服务器返回QUIC连接建立完成 消息。或者,终端设备的QUIC模块接收到响应7后,向通信协议模块发送会话建立完成通知。
需要说明的是,本申请实施例步骤315~步骤318位于步骤308之后,与步骤309、步骤310、步骤311、步骤312、步骤313和步骤314之间没有必然的先后顺序。
本申请实施例中,终端设备由于增加了QUIC模块,使得终端设备可以在PDU会话建立成功后,建立QUIC连接,从而有助于避免终端设备在PDU会话重建导致UE IP地址改变后终端设备与应用服务器之间的连接断开,从而有助于保持业务的连续性,提高用户体验。
在一些实施例中,通信协议模块还可以将PDU会话标识1携带在通知1中发送给QUIC模块,然后QUIC模块还可以在接收到通知1后,将QUIC连接标识1与PDU会话标识1关联。示例的,QUIC连接标识1与PDU会话标识1的关联关系可以存储在终端设备中,可以被QUIC模块读取。示例的,QUIC连接标识1与PDU会话标识1的关联关系可以不能够被通信协议模块读取。示例的,QUIC连接标识1与PDU会话标识1的关联关系可以以列表的格式存储在终端设备中,例如,如表1所示。
表1
QUIC连接标识 PDU会话标识
QUIC连接标识1 PDU会话标识1
需要说明的是,QUIC连接标识1与PDU会话标识1的关联关系还可以通过其它格式进行存储,对此不作限定。
或者,在一些实施例中,QUIC模块针对QUIC连接标识1所标识的QUIC连接分配映射标识1,映射标识1用于标识QUIC连接标识1所标识的QUIC连接。例如,映射标识1可以通过与QUIC连接标识1或者UE IP地址1建立关联关系,从而实现对QUIC连接标识1所标识的QUIC连接进行标识。示例的,QUIC连接标识1与映射标识1的关联关系可以通过列表的形式对应存储在终端设备中。例如,QUIC连接标识1与映射标识1不同,且QUIC连接标识1和映射标识1的关联关系可以由QUIC模块读取,但是限制通信协议模块读取,从而有助于提高QUIC连接标识1的安全性。例如,QUIC连接标识1与映射标识1的关联关系的存储格式可以如表2所示。
表2
QUIC连接标识 映射标识
QUIC连接标识1 映射标识1
在这种情况下,QUIC模块还向通信协议模块发送通知2。该通知2包括映射标识1。通信协议模块在接收到映射标识1后,将映射标识1与PDU会话标识1或UE IP地址1关联。其中,映射标识1与PDU会话标识1或UE IP地址1的关联关系可以通过列表的形式对应存储在终端设备中,该关联关系可以被通信协议模块读取。以映射标识1与PDU会话标识1的关联关系的存储格式可以如表3所示。
表3
PDU会话标识 映射标识
PDU会话标识1 映射标识1
需要说明的是,对于映射标识1与PDU会话标识1或UE IP地址1关联关系、或者映射标识1与QUIC连接标识1关联关系除列表以外,还可以通过其它格式存储,本申请实 施例对此不作限定。
另外,应理解,对于将映射标识1与UE IP地址1关联的情况下,可以由QUIC模块执行,也可以由通信协议模块执行,而映射标识1与UE IP地址1的关联关系即可以被通信协议模块读取,也可以被QUIC模块读取。当然,在QUIC模块将映射标识1与QUIC连接标识1关联,而通信协议模块将映射标识1与PDU会话标识1或者UE IP地址1关联的情况下,映射标识1与QUIC连接标识1的关联关系可以被QUIC模块读取,而不能被通信协议模块读取;而映射标识1与PDU会话标识1或者UE IP地址1关联关系能够被通信协议模块读取。当然,映射标识1与PDU会话标识1或者UE IP地址1关联关系可以被QUIC模块读取,也可以不能被QUIC模块读取,对此不作限定。
示例二、在示例一的基础上,SMF1当检测到自身不是用于为终端设备提供服务的最优SMF时,触发PDU会话迁移流程。例如,SMF1当检测到终端设备移出SMF1的服务区域时,触发PDU会话迁移流程。示例的,在终端设备包括QUIC模块的情况下,PDU会话的迁移流程可以如图4所示,具体包括以下步骤。
401、SMF1检测到触发PDU会话迁移流程的事件,向AMF发送N1N2消息。N1N2消息可以包括PDU会话标识1、SMF变更指示、请求8等信息。其中,请求8用于请求终端设备更新PDU会话,又可以称之为PDU会话更新请求等。
402、AMF接收到N1N2消息,向终端设备的通信协议模块发送请求8。
示例的,AMF可以通过RAN节点将请求8发送给终端设备的通信协议模块。在这种情况下,RAN节点用于转发请求8。
403、终端设备的通信协议模块接收到请求8后,向AMF发送响应8。响应8为针对请求8的响应,又可以称之为PDU会话变更响应。
示例的,终端设备的通信协议模块是通过RAN节点将响应8发送给AMF的。在这种情况下,RAN节点用于转发响应8。
404、AMF接收到响应8,向SMF1发送请求9。请求9用于转发响应8,又可以称之为更新会话上下文请求消息、更新会话上下文请求、或者会话上下文更新请求等。
405、SMF1接收到请求9,向AMF发送响应9,响应9为针对请求9的响应,又可以称之为更新会话上下文响应消息、更新会话上下响应、或者会话更新上下文响应等。
406、终端设备的通信协议模块接收到请求8后,向AMF发送请求10,请求10用于请求针对相同的数据网络建立新的PDU会话。例如,图3所示的步骤301中请求1用于请求针对第一数据网络建立PDU会话,则请求10用于请求针对第一数据网络建立新的PDU会话。
其中,请求10又可以称之为PDU会话建立请求、或者建立PDU会话请求等。示例的,请求10可以包括PDU会话标识2、PDU会话标识1、请求的SSC mode、数据网络名称和/或切片标识等信息中的一个或多个。其中,PDU会话标识2为终端设备的通信协议模块分配的,用于标识请求建立的新的PDU会话。需要说明的是,PDU会话标识1用于标识在图3所示的通信方法中建立的PDU会话。
具体的,终端设备的通信协议模块在接收到请求8后,确定需要切换用于为终端设备提供服务的SMF,则触发PDU会话建立流程,即触发通信协议模块向AMF发送请求10。
在一些实施例中,终端设备的通信协议模块是通过RAN节点将请求10发送给AMF 的。具体的,通信协议模块先将请求10发送给RAN节点,再由RAN节点将请求10转发给AMF。
407、AMF接收到请求10后,向SMF2发送请求11。请求11用于针对终端设备向SMF2发起建立会话上下文的流程。
在一些实施例中,AMF接收到请求10后,选择用于为终端设备提供服务的SMF。在选择的用于为终端设备提供服务的SMF为SMF2的情况下,AMF向SMF2发送请求11。示例的,AMF根据SMF变更指示、终端设备当前所在的位置区域标识、切片标识、和/或数据网络名称等信息中的一个或多个,选择一个不同于SMF1的SMF2为终端设备提供服务。
其中,请求11又可以称之为建立会话上下文请求、或者会话上下文建立请求等,对此不作限定。示例的,请求11中可以包括终端设备标识、PDU会话标识1、PDU会话标识2、请求的SSC mode、数据网络名称和/或切片标识等信息中的一个或多个。
408、SMF2接收到请求11后,向UPF2发送请求12,请求12用于针对终端设备请求建立的新的PDU会话向UPF2发起建立SMF2于UPF2之间的N4会话的流程。
在一些实施例中,SMF2接收到来自AMF的请求11后,选择用于为终端设备请求建立新的PDU会话提供服务的UPF,在选择的UPF为UPF2的情况下,SMF2向UPF2发送请求12。示例的,SMF2选择用于为终端设备请求建立新的PDU会话提供服务的UPF的方式可以参见现有的相关实现,本申请实施例不作限定。
其中,请求12又可以称之为N4会话建立请求、或者建立N4会话请求等,对此不作限定。
409、UPF2接收到请求12后,向SMF2发送响应12。响应12为针对请求12的响应。示例的,响应12又可以称之为N4会话建立响应、或者建立N4会话响应等,可以包括UPF2为终端设备请求建立的PDU会话分配的业务数据包转发信息,例如,UPF2的隧道端点标识、和/或IP地址等。
410、SMF2接收到响应12后,向AMF发送响应11。响应11为针对请求11的响应。示例的,响应11又可以称之为建立会话上下文响应、或者会话上下文建立响应等。
411、SMF2向AMF发送N1N2消息,N1N2消息中包括响应10和请求13。具体的,响应10是针对请求10的响应,是SMF2发送给终端设备的通信协议模块的。响应10用于指示PDU会话建立成功,即响应10用于指示PDU会话标识2所标识的PDU会话建立成功。示例的,响应10又可以称之为PDU会话建立接受消息,可以包括SMF2或者UPF2为请求建立的PDU会话分配的终端设备的IP地址。为便于描述,以下将终端设备的IP地址简称为UE IP地址。在SMF2或者UPF2为请求建立新的PDU会话分配的UE IP地址为UE IP地址2的情况下,响应10可以包括UE IP地址2。在一些实施例中,响应10还可以包括SMF2选择的SSC mode。例如,SMF2可以是根据请求10中请求的SSC mode选择相应的SSC mode的。请求13用于向RAN节点请求建立PDU会话,又可以称之为PDU会话资源建立消息、或者PDU会话资源建立请求。示例的,请求13中可以包括UPF1的隧道到端点标识、和/或IP地址等信息。
412、AMF接收到N1N2消息后,将响应10和请求13发送给RAN节点。
413、RAN节点在接收到请求13和响应10后,将响应10转发给终端设备。
414、终端设备通过通信协议模块接收响应10,通信协议模块在接收到响应10后,向RAN节点发送PDU会话建立完成消息。
415、RAN节点接收到PDU会话建立完成消息后,将PDU会话建立完成消息转发给AMF。RAN节点还向AMF发送响应13。其中,响应13为针对请求13的响应,又可以称之为PDU会话资源建立响应消息、或者PDU会话资源建立响应等。示例的,响应13可以包括RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息,例如,RAN节点的隧道端点标识、和/或IP地址等。
416、AMF接收到响应13,向SMF2发送请求14。请求14用于请求更新会话上下文,又可以称之为更新会话上下文请求、或者会话上下文更新请求等,可以包括RAN节点的隧道端点标识、和/或IP地址等RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息。
417、SMF2接收到请求14后,向UPF2发送请求15。请求15用于请求更新N4会话,又可以称之为N4会话更新请求、或者更新N4会话请求等,可以包括RAN节点的隧道端点标识、和/或IP地址等RAN节点为终端设备请求建立的PDU会话分配的业务数据包转发信息。
418、UPF2接收到请求15后,向SMF2发送响应15。响应15为针对请求15的响应,用于指示N4会话更新成功。示例的,响应15又可以称之为N4会话更新响应、或者更新N4会话响应,对此本申请不作限定。
419、SMF1接收到响应15后,向AMF发送响应14。响应14为针对请求14的响应,用于指示更新会话上下文成功。示例的,响应14又可以称之为更新会话上下文响应消息、或者更新会话上下文响应等,对此不作限定。
420、终端设备的通信协议模块在接收到响应10后,向QUIC模块发送通知3,通知3包括UE IP地址1和UE IP地址2。
421、终端设备的QUIC模块接收到通知3后,根据UE IP地址1确定QUIC连接标识1。其中,UE IP地址1为QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址。然后,QUIC模块将QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址修改为UE IP地址2。从而使得终端设备通过修改后QUIC连接的终端设备侧的IP地址和应用服务器通信,而无需断开QUIC连接与应用服务器重建连接通信,从而实现PDU会话的迁移。
需要说明的是,步骤420和421位于步骤413之后,与步骤414、415、416、417、418和419无必然的先后顺序。
此外,在另一些实施例中,在QUIC连接标识1与PDU会话标识1关联的情况下,步骤420和步骤421可以替换为步骤420-A和421-A:
步骤420-A,终端设备的通信协议模块在接收到响应10后,向QUIC模块发送通知4,通知4包括PDU会话标识1、PDU会话标识2和UE IP地址2。
步骤421-A,终端设备的QUIC模块接收到通知4后,根据PDU会话标识1,确定QUIC连接标识1。然后,QUIC模块将QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址修改为UE IP地址2。
进一步的,在一些实施例中,QUIC模块将QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址修改为UE IP地址2后,还向通信协议模块发送通知5,通知5用于指示QUIC连接迁移成功。通信协议模块在接收到通知5后,释放PDU会话标识1所标识 的PDU会话。
或者,在映射标识1与PDU会话标识1或UE IP地址1关联的情况下,步骤420和步骤421还可以替换为步骤420-B和421-B,需要说明的是关于映射标识1可以参见图3所示的通信方法中的相关介绍,在此不再赘述。
420-B,终端设备的通信协议模块接收到响应10后,根据PDU会话标识1,确定映射标识1,然后向QUIC模块发送通知6。通知6中包括映射标识1和UE IP地址2。然后,QUIC模块在接收到通知6后,将映射标识1所标识的QUIC连接的终端设备侧的IP地址修改为UE IP地址2,并向通信协议模块发送通知5,通知5用于指示QUIC连接迁移成功。
421-B,通信协议模块在接收到通知5后,将与映射标识1关联的PDU会话标识1修改为PDU会话标识2。
应理解,在映射标识1与UE IP地址1关联的情况下,终端设备的QUIC模块接收到响应10后执行的步骤,可以参见在映射标识1与PDU会话标识1关联的情况下终端设备的QUIC模块接收到响应10后执行的步骤,不同之处在于:将步骤420-B中的根据PDU会话标识1,确定映射标识1,替换为:根据UE IP地址1,确定映射标识1,以及将步骤421-B中将与映射标识1关联的PDU会话标识1修改为PDU会话标识2,替换为将与映射标识1关联的UE IP地址1修改为UE IP地址2。
进一步的,在一些实施例中,应用服务器接收到终端设备从终端设备侧IP地址修改为UE IP地址2的QUIC连接上发送的业务数据包时,应用服务器获知QUIC连接的终端设备侧的IP地址迁移到了UE IP地址2上,应用服务器启动路径有效性检测。示例的,应用服务器可以基于下述方式进行路径有效性检测:应用服务器发送路径检测(PATH CHALLENGE)数据包给QUIC模块,数据包中的目的IP地址为UE IP地址2。终端设备的QUIC模块接收到来自应用服务器的路径检测数据包后,向应用服务器返回路径检测响应(PATH RESPONSE)。应用服务器在接收到来自终端设备的QUIC模块返回的路径检测响应后,确定UE IP地址2有效,则后续业务数据包将会在终端设备侧的IP地址为UE IP地址2的QUIC连接上传输。需要说明的是,本申请实施例中,应用服务器和终端设备的QUIC模块还可以在路径检测过程中、或者其他数据包交互过程中为终端设备侧的IP地址迁移到UE IP地址2的QUIC连接分配新的QUIC连接标识,如QUIC连接标识2。在这种情况下,QUIC模块需要将QUIC连接标识1修改为QUIC连接标识2。
或者,在一些实施例中,应用服务器确定UE IP地址2有效后,向终端设备的QUIC模块发送通知7。通知7用于指示UE IP地址2有效。终端设备的QUIC模块在接收到通知7后,再向通信协议模块发送通知5。
在本申请的另一些实施例中,通信协议模块在接收到通知5后,释放PDU会话标识1所标识的PDU会话。或者,通信协议模块在接收到通知5后,删除PDU会话标识1所标识的PDU会话。换句话说,通信协议模块在接收到通知5后,发起释放PDU会话标识1所标识的PDU会话的流程。具体的释放PDU会话的流程可以参见示例三中的相关介绍,在此不再赘述。
示例三、终端设备的通信协议模块可以在接收到用于指示QUIC连接迁移成功的通知5后,发起释放PDU会话标识1所标识的PDU会话的流程。或者通信协议模块在接收到请 求8后,启动定时器,在定时器计时结束时,发起释放PDU会话标识1所标识的PDU会话的流程。当然,上述仅为触发通信协议模块发起释放PDU会话流程的举例介绍,本申请实施例中还可以通过其它方式触发释放PDU会话的流程,对此不作限定。
示例的,以释放PDU会话标识1所标识的PDU会话为例,如图5所示,为本申请实施例的释放PDU会话的方法流程示意图,具体包括以下步骤。
501、终端设备的通信协议模块向AMF发送请求16。请求16用于请求删除PDU会话标识1所标识的PDU会话。示例的,请求16又可以称之为PDU会话删除请求、删除PDU会话请求等。例如,请求16中可以包括PDU会话标识1。
在一些实施例中,通信协议模块可以是通过RAN节点将请求16发送给AMF的。例如,通信协议模块将请求16发送给RAN节点,由RAN节点将请求16转发给AMF。
502、AMF接收到请求16后,向SMF1发送请求17。请求17用于转发请求16,请求17又可以称之为更新会话上下文请求消息、更新会话上下文请求、或者会话上下文更新请求等。
503、SMF1接收到请求17,向AMF发送响应17。响应17为针对请求17的响应,又可以称之为更新会话上下文响应消息、更新会话上下响应、或者会话更新上下文响应等。
504、SMF1向UPF1发送请求18,请求18用于请求删除SMF1与UPF1之间针对PDU会话标识1所标识的PDU会话的N4会话。示例的,请求18又可以称之为N4会话删除请求消息、N4会话删除请求、或者删除N4会话请求等。
505、UPF1接收到请求18,删除SMF1与UPF1之间针对PDU会话标识1所标识的PDU会话的N4会话,向SMF1发送响应18。响应18为针对请求18的响应,又可以称之为N4会话删除响应消息、N4会话删除响应、或者删除N4会话响应等。
506、SMF1接收到响应18,向AMF发送N1N2消息。N1N2消息中包括请求19和请求20。具体的,请求19用于请求删除PDU会话资源,是SMF1发送给RAN节点的,又可以称之为PDU会话资源删除请求、删除PDU会话资源请求等。请求20用于请求删除PDU会话,是SMF1发送给终端设备的通信协议模块的,请求20又可以称之为PDU会话删除请求。
507、AMF接收到N1N2消息,将请求19和请求20发送给RAN节点。
508、RAN节点接收到请求19和请求20,将请求20转发给终端设备的通信协议模块。
509、RAN节点向AMF发送响应19,响应19为针对请求19的响应,用于指示PDU会话删除,又可以称之为PDU会话删除响应、或者删除PDU会话响应等。
510、AMF接收到响应19,向SMF1发送请求21,请求21用于转发响应19。示例的,请求21中包括响应19。其中,请求21又可以称之为更新会话上下文请求、或者会话上下文更新请求等。
511、SMF1接收到请求21,向AMF发送响应21。响应21为针对请求21的响应,又可以称之为更新会话上下文响应、或者会话上下文更新响应等。
512、终端设备的通信协议模块接收到请求20,向AMF发送响应20,响应20为针对请求20的响应,又可以称之为PDU会话删除接受消息、或者删除PDU会话接受消息等。
示例的,终端设备的通信协议模块是通过RAN节点将响应20转发给AMF的。
513、AMF接收到响应20,向SMF1发送请求22。请求22用于转发响应20。示例的,请求22中包括响应20。其中,请求22又可以称之为更新会话上下文请求、或者会话上下 文更新请求等。
514、SMF1接收到请求22,向AMF发送响应22,响应22为针对请求22的响应,又可以称之为更新会话上下文响应、或者会话上下文更新响应等。
515、SMF1向AMF发送会话上下文状态通知。其中,会话上下文状态通知用于通知AMF删除PDU会话标识1所标识的PDU会话。
516、AMF接收到会话上下文状态通知,向SMF1发送会话上下文状态通知响应。从而释放PDU会话标识1所标识的PDU会话。
示例四、在示例一的基础上,SMF1当判断需要触发变更用于为终端设备提供服务的UPF时,触发PDU会话迁移流程。例如,当UPF1不是用于为终端设备提供服务的最优UPF时,SMF1判断需要触发变更用于为终端设备提供服务的UPF。再例如,UPF1发生故障,SMF1判断需要触发变更用于为终端设备提供服务的UPF。示例的,在终端设备包括QUIC模块的情况下,PDU会话的迁移流程可以如图6所示,具体包括以下步骤。
601、SMF1检测到触发变更用于为终端设备提供服务的UPF的事件,选择UPF2为终端设备提供服务,然后,向UPF2发送请求23。请求23用于请求建立N4会话。其中,请求23又可以称之为N4会话建立请求、或者建立N4会话请求等。
602、UPF2接收到请求23,向SMF1发送响应23。响应23为针对请求23的响应,又可以称之为N4会话建立响应、或者建立N4会话响应等。
603、SMF1接收到响应23,选择UPF3用于分流UPF1和UPF2的业务数据包。然后,SMF1向UPF3发送请求24。请求24用于请求建立N4会话。其中,请求24又可以称之为N4会话建立请求、或者建立N4会话请求等。
需要说明的是,UPF3又可以称之为分流UPF。
604、UPF3接收到请求24,向SMF1发送响应24。响应24为针对请求24的响应,可以包括UPF3分配的N9接口业务数据包转发信息和N3接口的业务数据包转发信息。业务数据包转发信息可以包括隧道端点标识、和/或IP地址等。其中,响应24又可以称之为N4会话建立响应、或者建立N4会话响应等。
605、SMF1接收到响应24,向UPF1发送请求25。示例的,请求25中包括UPF3的N9接口的业务数据包转发信息。其中,请求25又可以称之为N4会话更新请求、N4会话更新请求消息、更新N4会话请求等,对此不作限定。
606、UPF1接收到请求25,向SMF1发送响应25。响应25为针对请求25的响应,又可以称之为N4会话更新响应、N4会话更新响应消息、更新N4会话响应等,对此不作限定。
607、SMF1接收响应25,以及接收到响应24还向UPF2发送请求26。请求26中包括UPF3分配的N9接口的业务数据包转发信息。其中,请求26又可以称之为N4会话更新请求、N4会话更新请求消息、更新N4会话请求等,对此不作限定。
608、UPF2接收到请求26,向SMF1发送响应26。响应26为针对请求26的响应,又可以称之为N4会话更新响应、N4会话更新响应消息、更新N4会话响应等,对此不作限定。
609、SMF1接收到响应26,向AMF发送N1N2消息。N1N2消息中包括请求27等信息。其中,请求27用于请求更新PDU会话资源,是SMF1发送给RAN节点。示例的, 请求27中包括UPF3分配的N3接口的业务数据包转发信息。例如,请求27又可以称之为PDU会话资源更新请求、或者更新PDU会话资源请求等。
610、AMF接收到N1N2消息,将请求27转发给RAN节点。
611、RAN节点接收到请求27,向AMF发送响应27。响应27为针对请求27的响应,又可以称之为PDU会话资源更新响应、或者更新PDU会话资源响应等。
612、AMF接收到响应27,向SMF1发送请求28。请求28用于转发响应27,又可以称之为更新会话上下文请求消息、更新会话上下文请求、或者会话上下文更新请求等,对此不作限定。
613、SMF1接收到请求28,向AMF发送响应28。响应28为针对请求28的响应,又可以称之为更新会话上下文响应消息、更新会话上下文响应、或者会话上下文更新响应等,对此不作限定。
614、UPF1和UPF2向终端设备的通信协议模块发送IPv6路由发布消息。其中,UPF1将分配给终端设备的IPv6前缀(UE IP地址1)的有效时间修改为0,UPF2将分配的新的IPv6前缀(UE IP地址2)携带在IPv6路由发布消息中发送给终端设备。其中,UPF1和UPF2是在SMF1的指示下发送IPv6路由发布消息的。例如,SMF1向AMF发送响应28后,指示UPF1和UPF2向终端设备的通信协议模块发送IPv6路由发布消息。
615、终端设备的通信协议模块接收到IPv6路由发布消息,向QUIC模块发送通知3,通知3包括UE IP地址1和UE IP地址2。其中,IPv6路由发布消息用于指示PDU会话建立成功。
616、终端设备的QUIC模块接收到通知3后,根据UE IP地址1确定QUIC连接标识1。其中,UE IP地址1为QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址。然后,QUIC模块将QUIC连接标识1所标识的QUIC连接的终端设备侧的IP地址修改为UE IP地址2。从而使得终端设备通过修改后QUIC连接的终端设备侧的IP地址和应用服务器通信,而无需断开QUCI连接并建立新的连接和应用服务器通信,从而实现PDU会话的迁移。
其中,关于步骤615和步骤616的相关实现、以及替换步骤可以参见图4所示的方法,在此不再赘述。
示例五、本申请实施例中还可以由SMF1触发释放PDU会话的流程。例如在图6所示的方法中,SMF1可以在判断需要触发变更用于为终端设备提供服务的UPF时、或者在向UPF3发送请求24后、或者接收到响应24时等,启动定时器,在定时器计时结束时,触发释放PDU会话的流程。示例的,结合图6所示的方法,在释放PDU会话的流程由SMF触发的情况下,释放PDU会话的流程可以如图7所示,具体包括以下步骤。
701、SMF1在定时器计时结束时,向UPF3发送请求29。请求29用于请求删除UPF1的业务数据包转发通道。例如,请求29又可以称之为N4会话更新请求、更新N4会话请求等。
702、UPF3接收到请求29,向SMF1发送响应29。响应29为针对请求29的响应,又可以称之为N4会话更新响应、更新N4会话响应等。
703、SMF1接收到响应29,向UPF1发送请求30。请求30用于请求删除SMF1和UPF1之间的N4会话,又可以称之为N4会话删除请求、或者删除N4会话请求等。
704、UPF1接收到请求30,向SMF1发送响应30。响应30为针对请求30的响应,又 可以称之为N4会话删除响应、或者删除N4会话响应等。
705、SMF1接收到响应30,向UPF2发送请求31。请求31用于请求删除到UPF3的业务数据包转发通道。请求31又可以称之为N4会话更新请求、更新N4会话请求等。
706、UPF2接收到请求31,向SMF1发送响应31。响应31为针对请求31的响应,又可以称之为N4会话更新响应、更新N4会话响应等。
707、SMF1接收到响应31,向AMF发送N1N2消息。N1N2消息包括UPF2分配的业务数据包转发信息。
708、AMF接收到N1N2消息,向RAN节点发送请求32。请求32用于更新PDU会话资源,可以包括UPF2分配的业务数据包转发信息。其中,请求32又可以称之为PDU会话资源更新请求、更新PDU会话资源请求等。
709、RAN节点接收到请求32,向AMF发送响应32。响应32为针对请求32的响应,又可以称之为PDU会话资源更新响应、更新PDU会话资源响应等。
710、AMF接收到响应32,向SMF1发送请求33。请求33用于转发响应32。示例的,请求33包括响应32。其中,请求33又可以称之为更新会话上下文请求、会话上下文更新请求等。
711、SMF1接收到请求33,向AMF发送响应33。响应33为针对请求33的响应。示例的,响应33又可以称之为更新会话上下文响应、会话上下文更新响应等。
712、SMF1向UPF3发送请求34。请求34用于请求删除N4会话,又可以称之为N4会话删除请求、删除N4会话请求等。
713、UPF3接收到请求34,向SMF1发送响应34。响应34为针对请求34的响应,又可以称之为N4会话删除响应、删除N4会话响应等。
以上各个实施例可以相互结合使用,可以单独使用,对此不作限定。
结合上述各个实施例,本申请实施例提供了一种通信方法,如图8所示,具体包括以下步骤。
801、终端设备向移动性管理网元发送第一请求,第一请求用于请求针对第一数据网络建立第一PDU会话;
802、终端设备接收来自第一会话管理网元的第一响应,第一响应用于指示第一PDU会话建立成功,第一响应包括终端设备的第一IP地址。
803、终端设备向第一数据网络的应用服务器发送第二请求,第二请求用于请求建立第一QUIC连接,第二请求包括第一连接标识,第一连接标识用于标识第一QUIC连接,第一QUIC连接的终端设备侧的IP地址为第一IP地址;
804、终端设备接收来自应用服务器发送的第二响应,第二响应用于指示第一QUIC连接建立成功,第二响应包括第一连接标识。
在一些实施例中,终端设备还向所述移动性管理网元发送第三请求,第三请求用于请求针对第一数据网络建立第二PDU会话,终端设备接收来自第二会话管理网元的第三响应,第三响应用于指示第二PDU会话建立成功,第三响应包括终端设备的第二IP地址。然后,终端设备将第一QUIC连接的终端设备侧的IP地址修改为第二IP地址。
在一些实施例中,第一会话标识与第一连接标识关联,第一会话标识用于标识第一PDU会话,终端设备根据第一会话标识,确定第一连接标识,然后将第一QUIC连接的终端设备侧的IP地址修改为第二IP地址,再将与所述第一连接标识关联的第一会话标识修 改为第二会话标识,第二会话标识用于标识第二PDU会话。
在另一些实施例中,第一IP地址或第一会话标识与第一映射标识关联,第一会话标识用于标识所第一PDU会话,第一映射标识用于标识第一QUIC连接,其中第一会话标识不同于第一映射标识。
在又一些实施例中,终端设备向移动性管理网元发送第三请求,第三请求用于请求针对第一数据网络建立第二PDU会话;终端设备接收来自第二会话管理网元的第三响应,第三响应用于指示第二PDU会话建立成功,第三响应包括终端设备的第二IP地址;然后,终端设备根据第一IP地址或者第一会话标识,确定第一映射标识,将第一映射标识所标识的第一QUIC连接的终端设备侧的IP地址修改为第二IP地址,并将与第一映射标识关联的第一IP地址修改为第二IP地址、或者,将与第一映射标识关联的第一会话标识修改为第二会话标识,第二会话标识用于标识第二PDU会话。
在又一些实施例中,终端设备将第一映射标识所标识的第一QUIC连接的终端设备侧的IP地址修改为第二IP地址后,删除所述第一PDU会话。
示例的,本申请实施例的还提供了一种通信装置,其结构可以如图2所示,包括通信协议模块和QUIC模块,该通信装置可以为终端设备中的芯片,也可以为终端设备,对此不作限定。
具体的,关于通信协议模块和QUIC模块可以参见方法部分的相关介绍,在此不再赘述。
又示例的,如图9所示,为本申请实施例的另一通信装置900,包括至少一个处理器910,可以用于实现图3~图7所示的方法中终端设备的功能。
在一示例中,通信装置900还可以包括存储器920。其中,存储器920中存储有计算机程序。存储器920和处理器910耦合。本申请实施例中的耦合是装置、单元或模块之间的间隔耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。作为另一种实现,存储器920还可以位于通信装置900之外。处理器910可以和存储器920协同操作。处理器910可以调用存储器920中存储的计算机程序,从而实现上述实施例提供的通信方法。所述至少一个存储器中的至少一个可以包括于处理器中。
在一些实施例中,通信装置900还可以包括通信接口930,用于通过传输介质和其它设备进行通信,从而用于通信装置900中的装置可以和其它设备进行通信。示例性地,通信接口930可以是收发器、电路、总线、模块或其它类型的通信接口,该其它设备可以是其它终端。处理器910利用通信接口930收发信息,并用于实现上述实施例中的方法。
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储计 算机程序和/或数据。
本申请实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,简称DVD))、或者半导体介质(例如,SSD)等。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (16)

  1. 一种通信装置,其特征在于,包括通信协议模块和QUIC模块;
    所述通信协议模块,用于向移动性管理网元发送第一请求,所述第一请求用于请求针对第一数据网络建立第一协议数据单元PDU会话;
    所述通信协议模块,还用于接收来自第一会话管理网元的第一响应,并在接收到所述第一响应后,向所述QUIC模块发送第一通知,所述第一响应用于指示所述第一PDU会话建立成功,所述第一响应包括所述终端设备的第一IP地址,所述第一通知包括所述第一IP地址;
    所述QUIC模块,用于接收来自所述通信协议模块的所述第一通知,并在接收到所述第一通知后,向所述第一数据网络的应用服务器发送第二请求,所述第二请求用于请求建立第一QUIC连接,所述第二请求包括第一连接标识,所述第一连接标识用于标识所述第一QUIC连接,所述第一连接标识是所述QUIC模块为所述第一QUIC连接分配的,所述第一QUIC连接的终端设备侧的IP地址为所述第一IP地址;
    所述QUIC模块,还用于接收来自所述应用服务器的第二响应,所述第二响应用于指示所述第一QUIC连接建立成功,所述第二响应包括所述第一连接标识。
  2. 如权利要求1所述的通信装置,其特征在于,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
    所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,且所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一IP地址和所述第二IP地址;
    所述QUIC模块,用于接收来自所述通信协议模块的所述第二通知,并在接收到所述第二通知后,根据所述第一IP地址,确定所述第一连接标识,并将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址。
  3. 如权利要求1所述的通信装置,其特征在于,所述第一通知还包括第一会话标识,所述第一会话标识用于标识所述第一PDU会话,且所述第一会话标识是所述通信协议模块为所述第一PDU会话分配的;
    所述QUIC模块,还用于在接收到所述第二响应后,将所述第一会话标识与所述第一连接标识关联。
  4. 如权利要求3所述的通信装置,其特征在于,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
    所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一会话标识、所述第二IP地址和第二会话标识,所述第二会话标识用于标识所述第二PDU会话,所述第二会话标识是所述通信协议模块为所述第二PDU会话分配的;
    所述QUIC模块,用于接收来自所述通信协议模块的所述第二通知,并在接收到所述 第二通知后,根据所述第一会话标识,确定所述第一连接标识,将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,并将与所述第一连接标识关联的所述第一会话标识修改为所述第二会话标识。
  5. 如权利要求2或4所述的通信装置,其特征在于,所述QUIC模块,还用于在将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址后,向所述通信协议模块发送第三通知,所述第三通知用于指示QUIC连接迁移成功;
    所述通信协议模块,还用于在接收到所述第三通知后,删除所述第一PDU会话。
  6. 如权利要求1所述的通信装置,其特征在于,所述QUIC模块,还用于向所述通信协议模块发送第四通知,所述第四通知包括第一映射标识,所述第一映射标识用于标识所述第一QUIC连接,所述第一映射标识是由所述QUIC模块分配的;
    所述通信协议模块,还用于接收来自所述QUIC模块的所述第四通知,并在接收到所述第四通知后,将所述第一映射标识与所述第一IP地址或第一会话标识关联,所述第一会话标识用于标识所述第一PDU会话,且所述第一会话标识是由通信协议模块为所述第一PDU会话分配的。
  7. 如权利要求6所述的通信装置,其特征在于,所述通信协议模块,还用于向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
    所述通信协议模块,还用于接收来自第二会话管理网元的第三响应,并在接收到所述第三响应后,根据所述第一IP地址或所述第一会话标识,确定所述第一映射标识,向所述QUIC模块发送第二通知,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址,所述第二通知包括所述第一映射标识和所述第二IP地址;
    所述QUIC模块,还用于接收来自所述通信协议模块的所述第二通知,并在接收到所述第二通知后,将与所述第一映射标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,并向所述通信协议模块发送第三通知,所述第三通知用于指示QUIC连接迁移成功;
    所述通信协议模块,还用于在接收到所述第三通知后,将与所述第一映射标识关联的所述第一IP地址修改为所述第二IP地址;或者,所述通信协议模块,还用于在接收到所述第三通知后,将与所述第一映射标识关联的所述第一会话标识修改为所述第二会话标识,所述第二会话标识用于标识所述第二PDU会话,且所述第二会话标识是由所述通信协议模块为所述第二PDU会话分配的。
  8. 如权利要求7所述的通信装置,其特征在于,所述通信协议模块,还用于在接收到所述第三通知后,删除所述第一PDU会话。
  9. 如权利要求6至8任一所述的通信装置,其特征在于,所述第一映射标识与所述第一连接标识关联。
  10. 一种通信方法,其特征在于,所述方法包括:
    终端设备向移动性管理网元发送第一请求,所述第一请求用于请求针对第一数据网络建立第一协议数据单元PDU会话;
    所述终端设备接收来自第一会话管理网元的第一响应,所述第一响应用于指示所述第一PDU会话建立成功,所述第一响应包括所述终端设备的第一IP地址;
    所述终端设备向所述第一数据网络的应用服务器发送第二请求,所述第二请求用于请求建立第一QUIC连接,所述第二请求包括第一连接标识,所述第一连接标识用于标识所述第一QUIC连接,所述第一QUIC连接的终端设备侧的IP地址为所述第一IP地址;
    所述终端设备接收来自所述应用服务器发送的第二响应,所述第二响应用于指示所述第一QUIC连接建立成功,所述第二响应包括所述第一连接标识。
  11. 如权利要求10所述的方法,其特征在于,所述方法还包括:
    所述终端设备向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
    所述终端设备接收来自第二会话管理网元的第三响应,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址;
    所述终端设备将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址。
  12. 如权利要求11所述的方法,其特征在于,第一会话标识与所述第一连接标识关联,所述第一会话标识用于标识所述第一PDU会话,所述终端设备将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址之前,还包括:
    所述终端设备根据所述第一会话标识,确定所述第一连接标识;
    所述终端设备将所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址之后,还包括:
    所述终端设备与所述第一连接标识关联的所述第一会话标识修改为第二会话标识,所述第二会话标识用于标识所述第二PDU会话。
  13. 如权利要求10所述的方法,其特征在于,所述第一IP地址或第一会话标识与第一映射标识关联,所述第一会话标识用于标识所述第一PDU会话,所述第一映射标识用于标识所述第一QUIC连接。
  14. 如权利要求13所述的方法,其特征在于,所述方法还包括:
    所述终端设备向所述移动性管理网元发送第三请求,所述第三请求用于请求针对所述第一数据网络建立第二PDU会话;
    所述终端设备接收来自第二会话管理网元的第三响应,所述第三响应用于指示所述第二PDU会话建立成功,所述第三响应包括所述终端设备的第二IP地址;
    所述终端设备根据所述第一IP地址或者所述第一会话标识,确定所述第一映射标识,将所述第一映射标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址,并将与所述第一映射标识关联的所述第一IP地址修改为所述第二IP地址、或者,将与所述第一映射标识关联的所述第一会话标识修改为所述第二会话标识,所述第二会话标识用于标识所述第二PDU会话。
  15. 如权利要求11至14任一所述的方法,其特征在于,所述终端设备将所述第一连接标识所标识的所述第一QUIC连接的终端设备侧的IP地址修改为所述第二IP地址之后,还包括:
    所述终端设备删除所述第一PDU会话。
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时,用于实现如权利要求10-15任一所述的方法。
PCT/CN2021/093893 2020-08-31 2021-05-14 一种通信方法及通信装置 WO2022041854A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21859699.7A EP4192186A4 (en) 2020-08-31 2021-05-14 COMMUNICATION METHOD AND COMMUNICATION APPARATUS
US18/176,211 US20230217527A1 (en) 2020-08-31 2023-02-28 Communication method and communication apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010895486.5A CN114126082A (zh) 2020-08-31 2020-08-31 一种通信方法及通信装置
CN202010895486.5 2020-08-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/176,211 Continuation US20230217527A1 (en) 2020-08-31 2023-02-28 Communication method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2022041854A1 true WO2022041854A1 (zh) 2022-03-03

Family

ID=80352579

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093893 WO2022041854A1 (zh) 2020-08-31 2021-05-14 一种通信方法及通信装置

Country Status (4)

Country Link
US (1) US20230217527A1 (zh)
EP (1) EP4192186A4 (zh)
CN (1) CN114126082A (zh)
WO (1) WO2022041854A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167195A (zh) * 2018-02-13 2019-08-23 华为技术有限公司 通信方法和通信装置
US20200084663A1 (en) * 2018-09-12 2020-03-12 Kyungmin Park Session Packet Duplication Control
US20200107213A1 (en) * 2018-09-28 2020-04-02 Kyungmin Park Packet Duplication by Core Network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112997460B (zh) * 2018-08-27 2023-06-20 瑞典爱立信有限公司 在电信网络中检测用户设备ue与内容提供者cp之间的快速用户数据报协议互联网连接quic业务的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167195A (zh) * 2018-02-13 2019-08-23 华为技术有限公司 通信方法和通信装置
US20200084663A1 (en) * 2018-09-12 2020-03-12 Kyungmin Park Session Packet Duplication Control
US20200107213A1 (en) * 2018-09-28 2020-04-02 Kyungmin Park Packet Duplication by Core Network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Procedures for the 5G System (5GS); Stage 2 (Release 16)", 3GPP STANDARD; TECHNICAL SPECIFICATION; 3GPP TS 23.502, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. V16.5.1, 6 August 2020 (2020-08-06), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 594, XP051925869 *
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on enhancement of support for Edge Computing in 5G Core network (5GC) (Release 17)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 23.748, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, no. V0.4.0, 3 August 2020 (2020-08-03), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 184, XP051925858 *
See also references of EP4192186A4 *

Also Published As

Publication number Publication date
EP4192186A4 (en) 2024-01-31
US20230217527A1 (en) 2023-07-06
EP4192186A1 (en) 2023-06-07
CN114126082A (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2020057328A1 (zh) 一种通信方法和装置
JP6727341B2 (ja) 通信制御方法および関連するネットワーク要素
US20200383035A1 (en) Communications method and apparatus
WO2019196811A1 (zh) 通信方法和相关装置
WO2018232570A1 (zh) 一种注册及会话建立的方法、终端和amf实体
WO2019185062A1 (zh) 一种通信方法及装置
US10827003B2 (en) Application data migration method and network device
EP4142376A1 (en) Network access method and communication apparatus
WO2020001257A1 (zh) 一种数据传输方法及装置
WO2021093438A1 (zh) 一种接入网络的方法及通信装置
EP3570491B1 (en) Association management method and network node
CN113206894B (zh) Dns服务器的发现方法、装置、计算机设备及存储介质
WO2021051420A1 (zh) 一种dns缓存记录的确定方法及装置
WO2019192445A1 (zh) 一种组播组创建、组播组加入方法及装置
JP2022519387A (ja) 無線通信システムでサービスをフレキシブルに提供する方法及び装置
US20210329504A1 (en) Communication method and apparatus
WO2021097858A1 (zh) 一种通信方法及装置
US11497071B2 (en) Association handling method and device
WO2022068771A1 (zh) 一种通信方法及通信装置
WO2024037611A1 (zh) 注册信息同步方法、装置、设备及介质
US20240064864A1 (en) Communication method and communication apparatus
WO2023087965A1 (zh) 一种通信方法及装置
WO2022041854A1 (zh) 一种通信方法及通信装置
WO2012152226A1 (zh) 数据传输的方法、无线接入网设备和通信系统
WO2019136925A1 (zh) 一种数据传输方法及装置、计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21859699

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021859699

Country of ref document: EP

Effective date: 20230302

NENP Non-entry into the national phase

Ref country code: DE