WO2022227010A1 - Method for managing protocol data unit session, and device - Google Patents

Method for managing protocol data unit session, and device Download PDF

Info

Publication number
WO2022227010A1
WO2022227010A1 PCT/CN2021/091512 CN2021091512W WO2022227010A1 WO 2022227010 A1 WO2022227010 A1 WO 2022227010A1 CN 2021091512 W CN2021091512 W CN 2021091512W WO 2022227010 A1 WO2022227010 A1 WO 2022227010A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
data transmission
transmission device
connection
data
Prior art date
Application number
PCT/CN2021/091512
Other languages
French (fr)
Chinese (zh)
Inventor
赵鹏涛
李岩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/091512 priority Critical patent/WO2022227010A1/en
Publication of WO2022227010A1 publication Critical patent/WO2022227010A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Definitions

  • the present application relates to the field of communications, and, more particularly, to methods and apparatus for managing protocol data unit sessions.
  • the protocol data unit (PDU) session in service and session continuity mode 2 (SSC mode 2) in 3GPP TS 23.502 cannot guarantee service continuity for terminal equipment.
  • the network determines that the user plane function (UPF) of the anchor point needs to be changed (for example, the routing path of the anchor point UPF is too long relative to the current location of the terminal device), the network will trigger the release of the current PDU session and indicate The terminal device establishes a new PDU session, and selects a new anchor point UPF in the process of establishing the new PDU session, so that the routing path of the new session is more optimized. This way of establishing a PDU session is also called "break-before-build".
  • TCP Transmission Control Protocol
  • the present application provides a method and device for managing a protocol data unit session, which can synchronize the transmission and reception status of a transmission control protocol connection between a terminal device and an application server, reduce the waste of air interface resources, and avoid the increase in transmission delay of the resumed transmission service. big.
  • a first aspect provides a method for managing a protocol data unit session, comprising: a session management function network element sending first information to a first data transmission device, the first information indicating that the protocol data unit session will be released; The element determines that the transmission control protocol connection between the first data transmission device and the second data transmission device has been released according to the first information, the transmission control protocol connection bears the resume transmission service, and the protocol data unit session includes the transmission control protocol connection; session management The functional network element releases the protocol data unit session.
  • the first data transmission device may be a terminal device, and the second data transmission device may be an application server, or, the first data transmission device may be an application server, and the second data transmission device may be a terminal device.
  • the first data transmission device and the second data transmission can be synchronized by notifying the first data transmission device to disconnect the transmission control protocol connection carrying the resumed transmission service before the protocol data unit session is disconnected.
  • the transmission control protocol connection transceiver status of the device Since the transmission and reception status of the transmission control protocol connection of the first data transmission device and the second data transmission device are synchronized, retransmission of successfully transmitted data is avoided, and because the transmission control protocol connection release process is actively executed, it is avoided that the transmission control protocol connection is not delivered on the connection. data retransmission.
  • the waste of air interface resources can be reduced, and the transmission delay of the breakpoint part can be avoided from increasing.
  • the first information may be sent to the first data transmission device through the user plane, the session management function network element sends the first information through the user plane function network element, and the first information It is included in the packet header of the data packet of the user plane functional network element.
  • one manner may be that the session management function network element sends the first information to the user plane function network element, and the user plane management function network element directly includes the first information in the header of the data packet.
  • Another way may be that the session management function network element sends the first signaling to the user plane function network element, the user plane function network element generates the first information through the first signaling, and includes the first information in the packet header of the data packet middle.
  • the session management function network element when the session management function network element sends the first information to the first data transmission device through the control plane or the user, the session management function network element determines the first data transmission device The transmission control protocol connection with the second data transmission device has been released according to the first information, including:
  • the session function management network element starts a timer after sending the first information, and when the first time elapses after the first information is sent, it is determined that the transmission control protocol connection has been released according to the first information.
  • the session management function network element when the session management function network element sends the first information by controlling the terminal device or the application server, the session management function network element determines the relationship between the terminal device and the application server.
  • the TP connection has been released according to the first information, including:
  • the session function management network element receives the first feedback information from the terminal device or the application server, where the first feedback information indicates that the transmission control protocol connection has been released according to the first information.
  • a method for managing a protocol data unit session comprising: a first data transmission device receiving first information sent from a network element with a session management function, the first information indicating that the first protocol data unit session will be released; The first data transmission device determines that the transmission control protocol connection between the first data transmission device and the second data transmission device bears the resume-break service, and the protocol data unit session includes the transmission control protocol connection; the first data transmission device according to the first information , to release the Transmission Control Protocol connection.
  • the first data transmission device may be a terminal device, and the second data transmission device may be an application server, or, the first data transmission device may be an application server, and the second data transmission device may be a terminal device.
  • the first data transmission device and the second data transmission can be synchronized by notifying the first data transmission device to disconnect the transmission control protocol connection carrying the resumed transmission service before the protocol data unit session is disconnected. Transmit and receive status of the TP connection between the devices. Since the transmission and reception status of the transmission control protocol connection between the first data transmission device and the second data transmission device is synchronized, retransmission of successfully transmitted data is avoided, and because the transmission control protocol connection release process is actively executed, it is avoided that the transmission control protocol connection is not sent on the connection. Retransmission of data. The waste of air interface resources can be reduced, and the transmission delay of the breakpoint part can be avoided from increasing.
  • the first data transmission device when the first information is sent through the control plane, the first data transmission device sends the first feedback information to the session management network element after releasing the transmission control protocol connection, and the first data transmission device sends the first feedback information to the session management network element.
  • a feedback message indicates that the Transmission Control Protocol connection has been released.
  • the transmission control protocol connection is a transmission control protocol connection between the first data transmission device and the second data transmission device that bears the resumed transmission service.
  • the first data transmission device when the first information is sent through the user plane, decapsulates the data packet to receive the first information, and further, releases the transmission control according to the first information protocol connection.
  • the release of the TP connection can be initiated by the terminal device alone or by the application server alone.
  • a communication apparatus which includes a unit for performing each step of the communication method in any one of the first and second aspects and implementations thereof.
  • the communication device is a communication chip, which may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
  • the communication device is a communication device (eg, terminal device or network device, etc.), and the communication chip may include a transmitter for sending information or data, and a receiver for receiving information or data.
  • the communication chip may include a transmitter for sending information or data, and a receiver for receiving information or data.
  • a communication device including a processor and a memory, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device executes the above-mentioned first aspect and A communication method in any of the second aspects and implementations thereof.
  • processors there are one or more processors and one or more memories.
  • the memory may be integrated with the processor, or the memory may be provided separately from the processor.
  • the communication device further includes a transmitter (transmitter) and a receiver (receiver).
  • a computer program product comprising: a computer program (also referred to as code, or instructions), which, when the computer program is executed, causes a computer to execute the first aspect and the first aspect above. Any one of the two aspects and a communication method in each of its implementations.
  • a computer-readable medium stores a computer program (also referred to as code, or instruction), when it runs on a computer, causing the computer to execute the above-mentioned first aspect and the first aspect. Any one of the two aspects and a communication method in each of its implementations.
  • a chip system including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device installed with the chip system executes the above-mentioned A communication method in any of the first and second aspects and implementations thereof.
  • the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
  • FIG. 1 is a schematic diagram of a network architecture according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an application scenario of an embodiment of the present application.
  • FIG. 3 is a schematic diagram of another application scenario of the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a process of changing the anchor point UPF under SSC mode 2 according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a flow of establishing a TCP connection according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a process of releasing a TCP connection according to an embodiment of the present application.
  • FIG. 7 is a schematic interaction diagram of an example of a method for managing a PDU session according to an embodiment of the present application.
  • FIG. 8 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
  • FIG. 9 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
  • FIG. 10 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of another communication device according to an embodiment of the present application.
  • a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and the computing device may be components.
  • One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between 2 or more computers.
  • a component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals) Communicate through local and/or remote processes.
  • data packets eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • CDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • 5G 5th Generation
  • 5G 5th Generation
  • New Radio New Radio
  • the terminal device in this embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or user device.
  • the terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or future evolved Public Land Mobile Networks (PLMN)
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • a terminal device, etc. is not limited in this embodiment of the present application.
  • Fig. 1 is a network architecture applied to an embodiment of the present application, which is a schematic diagram of a 5G network architecture based on a point-to-point interface, which can be divided into three parts, namely user equipment (user equipment, UE), data network (data network, DN) and operation Each network element that may be involved in the network architecture will be described separately.
  • Terminal equipment refers to network terminal equipment, such as mobile phones, Internet of Things terminal equipment, etc.
  • RAN Radio Access Network, Radio Access Network
  • a device that provides wireless access for terminal devices including but not limited to gNodeB, eNodeB, WiFi AP, WiMAX BS, etc.
  • AMF Access and Mobility management Function: It is mainly responsible for mobility management in the mobile network, such as user location update, user registration network, user switching, etc.
  • SMF Session Management Function
  • Session Management Function It is mainly responsible for session management (such as session establishment, modification, and release) in the mobile network, IP address allocation and management, and UPF selection and control.
  • PCF Policy Control Function, policy control function: responsible for the generation of terminal equipment access policies and quality of service (quality of service, QoS) flow control policies.
  • UDM Unified Data Management
  • AUSF Authentication Server Function
  • NEF Network Exposure Function
  • UDR Unified Data Repository
  • NRF Network Repository Function
  • AF Application Function
  • UPF User Plane Function, user plane function
  • DN Data Network, data network: refers to a specific data service network that terminal equipment accesses.
  • the DN is identified by the Data Network Name (DNN) in the 5G network.
  • Typical DNs include Internet, IMS (IP Multi-media Service, IP Multimedia Service) networks, etc.
  • the operator network may include one or more of the following network elements: Authentication Server Function (AUSF) network element, Network Exposure Function (Network Exposure Function, NEF) network element, Policy Control Function (Policy Control Function, PCF) network element, Unified Data Management (UDM) network element, Unified Data Repository (UDR), Network Repository Function (NRF) network element, Application Function (AF) network element element, access and mobility management function (Access and Mobility Management Function, AMF) network element, session management function (Session Management Function, SMF) network element, radio access network (Radio Access Network, RAN) and user plane functions ( User Plane Function, UPF) network element, etc.
  • AUSF Authentication Server Function
  • NEF Network Exposure Function
  • Policy Control Function Policy Control Function
  • PCF Policy Control Function
  • UDM Unified Data Management
  • UDR Unified Data Repository
  • NRF Network Repository Function
  • AF Application Function
  • SMF Session Management Function
  • SMF Session Management Function
  • RAN Radio Access Network
  • network element may also be referred to as an entity, a device, an apparatus, or a module, etc., which is not particularly limited in this application.
  • the description of "network element” is omitted in some descriptions.
  • the NEF network element is abbreviated as NEF.
  • the “NEF” should be understood as the NEF network element or NEF entity, hereinafter, the description of the same or similar situations is omitted.
  • each network element included in FIG. 1 is only a name, and the name does not limit the function of the network element itself.
  • the above-mentioned network elements may also have other names, which are not specifically limited in this embodiment of the present application.
  • some or all of the above-mentioned network elements may use the terminology in 5G, or other names, etc., which will be uniformly described here, and will not be repeated below.
  • each network element in FIG. 1 does not necessarily exist at the same time, and which network elements are required can be determined according to requirements.
  • the connection relationship between each network element in FIG. 1 is not uniquely determined, and can be adjusted according to requirements.
  • network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform).
  • FIG. 2 shows a schematic diagram of an application scenario of an embodiment of the present application. As shown in Figure 2, it is a typical service and session continuity mode 2 (service and session continuity mode 2, SSC mode 2) business scenario.
  • service and session continuity mode 2 service and session continuity mode 2, SSC mode 2
  • FIG. 3 shows a schematic diagram of still another application scenario of the embodiment of the present application.
  • the SSC mode 2 service scenario shown in Figure 3 involves AS migration in the same DN.
  • RAN Used to implement wireless-related functions.
  • AMF responsible for user mobility management, including mobility status management, assigning user temporary identities, authenticating and authorizing users.
  • SMF It is mainly responsible for session management (such as session establishment, modification, and release) in the mobile network, IP address allocation and management, and UPF selection and control.
  • PCF responsible for the generation of terminal device access policies and quality of service (QoS) flow control policies.
  • QoS quality of service
  • UDM Responsible for managing subscription data, and informing the corresponding network element when the subscription data is modified.
  • AF Responsible for providing services to the 3GPP network, such as affecting service routing, interacting with PCF for policy control, etc.
  • UPF Provides user plane functions such as user packet forwarding, processing, connection to DN, session anchor, and QoS policy enforcement.
  • DN refers to a specific data service network that terminal equipment accesses.
  • the DN is identified by the data network name (DNN) in the 5G network.
  • Typical DNs include Internet, IMS (IP Multi-media Service, IP Multimedia Service) networks, etc.
  • the SMF decides to perform UPF reselection, that is, when the network determines that the UPF of the anchor point needs to be changed (for example, the routing path of the anchor point UPF is too long relative to the current position of the terminal device).
  • the network triggers the release of the current PDU session, and the path of the current PUD session is UPF1.
  • the terminal device establishes a new PDU session, and selects a new anchor point UPF2 in the process of establishing the new PDU session, so that the routing path of the new session is more optimized.
  • SSC mode 2 can carry services such as resumable uploading from breakpoints.
  • Resuming uploading from breakpoints is to artificially divide the task (a file or compressed package) into several parts during uploading/downloading, and each part uses a thread for uploading/downloading , if you encounter a network failure, you can continue uploading/downloading the unfinished part from the part that has already been uploaded/downloaded, instead of having to start uploading/downloading from the beginning. Save time and increase speed.
  • Common upload/download software that supports resumed uploads: QQ whirlwind, Xunlei, Kuaiche, eMule, Ku6, Tudou, Youku, Baidu Video, Sina Video, Tencent Video, Baidu Cloud, etc.
  • TCP provides a connection-oriented reliable byte stream service.
  • Connection-oriented means that two applications using TCP must establish a TCP connection before exchanging data with each other.
  • TCP uses "ports" to identify application processes at the source and destination. The port number can use any number between 0 and 65535.
  • the operating system dynamically assigns a port number to the client's application.
  • each service provides services to users on a "Well-Know Port".
  • FIG. 5 shows the flow of establishing a TCP connection. As shown in the figure, establishing a TCP connection has the following process:
  • the client When the client needs to send a data packet to the server, the client actively opens the connection. At this time, the server is notified to let the server also open the connection, so the server opens the connection passively. After the connection is opened, the server enters the listening state, waiting for the connection request from the client.
  • the client also begins to prepare connection request packets and starts sending them.
  • the first data packet sent by the client is a connection request segment.
  • SYN 1 (no change)
  • ACK 1
  • the client can be a terminal device
  • the server can be an application server
  • one terminal device can establish multiple TCP connections with multiple application servers, respectively carrying different tasks.
  • FIG. 6 shows the release flow of the TCP connection. As shown in Figure 6, releasing a TCP connection has the following process:
  • the w here is not necessarily v+1
  • the server enters the final confirmation state and waits for the confirmation of the client.
  • the release of the TCP connection can be initiated by the server or by the client.
  • the method 700 includes:
  • SMF1 decides to perform UPF reselection.
  • the SMF1 sends the first information to the first data transmission apparatus.
  • the first information indicates that the PDU session will be released, and indirectly instructs the first data transmission apparatus to release the TCP connection according to the first information.
  • the first information may directly instruct the first data transmission apparatus to release the TCP connection.
  • the TCP connection is between the first data transmission device and the second data transmission device, and bears the resume transmission service
  • the PDU session includes a TCP connection.
  • the TCP connection included in the PDU session is a bearer The transmission of the continuous transmission type service between the first data transmission device and the second data transmission device.
  • the first data transmission device may be a terminal device
  • the second data transmission device may be an application server
  • the first data transmission device may be an application server
  • the first data transmission device may be a terminal device.
  • first data transmission device and the second data transmission device may also be other data transmission devices, which are not limited in this application.
  • the first data transmission apparatus receives the first information, and further releases the TCP connection according to the first information.
  • the first data transmission apparatus receives the first information through the control plane, and further releases the TCP connection according to the first information.
  • the first data transmission apparatus receives the first information through the user plane decapsulation data packet, and further releases the TCP connection according to the first information.
  • SMF1 determines that the TCP connection has been released, and further, SMF1 releases the PDU session.
  • SMF1 indirectly determines that the TCP connection is released, and starts a timer after sending the first information.
  • the first time elapses, the default TCP connection of SMF1 is released, and the first time is the default TCP connection of SMF1 time required to be released.
  • the SMF1 directly determines that the TCP connection is released, the SMF1 receives the first feedback information sent from the first data transmission device or the second data transmission device, and the SMF1 determines that the TCP connection is released.
  • the SMF1 when the SMF1 sends the first information through the control plane, it may determine that the TCP connection has been released by starting a timer, or may determine that the TCP connection has been released by receiving the first feedback information. When the SMF1 sends the first information through the user plane data packet, it may determine that the TCP connection has been released by starting a timer.
  • the SMF1 determines that the TCP connection is released, it executes the release of the PDU session.
  • the method 800 includes:
  • SMF1 decides to perform UPF reselection.
  • the SMF1 sends the first information to the terminal device.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device to release the TCP connection, where the TCP connection is a TCP connection between the terminal device and the application server that bears the resumed transmission service, and the TCP connection belongs to the PDU session. .
  • the first information directly instructs the terminal device to release the TCP connection.
  • the content of the first information may be PDU Session Modification Command.
  • the SMF1 may send the first information to the terminal device through the AMF.
  • the SMF1 may send the first information through the Namf_Communication_N1N2MessageTransfer service of the AMF.
  • this PDU session is a PDU session for which SMF1 decides to perform UPF reselection.
  • the terminal device receives the first information, and further releases the TCP connection according to the first information.
  • one PDU session corresponds to one terminal device, and one terminal device has at least one TCP connection, which are respectively connected to different application servers and carry different services, some of which are of the type of continuous transmission.
  • the terminal device when the terminal device receives the first information, it immediately sends second feedback information to SMF1 through the AMF, and then releases the TCP connection according to the first information.
  • the second feedback information indicates that the terminal device has received the first information. a message.
  • the second feedback information may be Ack, and the second feedback information is used to notify the SMF1 terminal device that the first information has been received.
  • the terminal device after receiving the first information, initiates a process of releasing the TCP connection according to the first information, and after the TCP connection is released, it sends first feedback information to SMF1, the first feedback information Indicates that the TCP connection has been released, by way of example and not limitation, the first feedback information may be Ack.
  • S840 SMF1 determines that the TCP connection has been released, and further, SMF1 releases the PDU session.
  • the SMF1 starts a timer after sending the first information in step S820.
  • the timer may be a UPF relocation timer.
  • SMF1 determines that the TCP connection has been released, which is an indirect determination. SMF1 defaults that after the first time has elapsed, the TCP connection has been released, and then initiates the release of the PDU session.
  • the SMF1 starts a timer after receiving the second feedback information in step S830.
  • the timer may be a UPF relocation timer.
  • the SMF1 determines that the TCP connection has been released, which is an indirect determination. SMF1 defaults that after the first time elapses, the TCP connection has been released, and then initiates the release of the PDU session.
  • the SMF1 receives the first feedback information from the terminal device, directly determines that the TCP connection has been released, and then initiates the release of the PDU session.
  • the release of the PDU session specifically includes: as an example but not a limitation, the SMF1 can send the N1 SM Information to the terminal device by calling the Namf_Communication_N1N2MessageTransfer service of the AMF, and the N1 SM Information contains a PDU session release instruction, which includes the PDU session ID and the re-established PDU session. to the same DN.
  • the network and the terminal device complete the process of releasing the original PDU session.
  • the terminal device receives the PDU session release instruction, generates a new PDU session ID, and initiates a PDU session establishment process.
  • AMF selects SMF2, and SMF2 selects UPF2.
  • the network and the terminal device complete the re-establishment of the PDU session of SSC mode 2.
  • SMF1 and SMF2 are only exemplary, representing the session management function network element of the original PDU session and the session management function network element of the re-established PDU session, which may also be represented by SMF3 or the like.
  • UPF2 is only exemplary, and represents a newly created PDU session path, and may also be represented by UPF3 or the like.
  • the SMF notifies the terminal device through the control plane that the network should release the original PDU session, perform UPF reselection, and create a new PDU session to connect to the same DN.
  • the terminal device actively executes the release process of the TCP connection carrying the resumed transmission service on the PDU session, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the sending and receiving status of the TCP connection between the terminal device and the application server, the retransmission of successfully transmitted data is avoided, and the retransmission of undelivered data on the TCP connection is avoided due to the active execution of the TCP connection release process.
  • the method of this embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
  • the method 900 includes:
  • SMF1 decides to perform UPF reselection.
  • the SMF1 sends the first information to the application server.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the application server to release the TCP connection. PDU session.
  • the first information directly instructs the application server to release the TCP connection.
  • the SMF1 sends the first information to the application server, and the first information may actually be received by the application function network element in the application server.
  • the application function network element is mainly responsible for the control plane function and interacts with the 5G core network.
  • the application server is mainly responsible for It is responsible for user plane functions and transmits service data with terminal devices.
  • one PDU session corresponds to one terminal device, and one terminal device can be connected to at least one application server through at least one TCP connection, and some of the at least one TCP connection bears the resume transmission service, and some bears other services.
  • the TCP connection is located between the terminal device and the application server, and bears the resumed transmission service from a breakpoint.
  • the SMF1 sends the first information to all associated application servers through the control plane, and the application server determines whether the connection between it and the terminal device is a TCP connection carrying a resume-break service, and if it is a TCP connection The connection initiates the release, and if it is another TCP connection, the first information may be ignored and the release is not initiated.
  • the SMF1 sends the first information through the control plane to the application server carrying the resumed transmission service, in other words, the connection between the SMF1 and the terminal device is directly sent as a TCP connection It should be noted that if the application server provides enough information about itself when subscribing to the SMF1 for the first information, the SMF1 can only send the first information to the application server carrying the resumed transmission service.
  • this PDU session is a PDU session for which SMF1 decides to perform UPF reselection.
  • SMF1 may send the first information through the Nsmf_EventExposure_Notify service.
  • the SMF1 may directly send the first information to all associated application servers or application servers carrying the resume-break service.
  • the SMF1 may send the first information to the NEF, and forward the first information to all associated application servers or application servers that carry the resume-break service through the NEF.
  • the first information is subscribed to the SMF1 by the application server in advance.
  • the first information is subscribed when all associated application servers subscribe to SMF1 for early notification information.
  • the application server carrying the resume-break service when subscribing to SMF1 for the first information, the application server carrying the resume-break service also indicates that SMF1 needs to wait for its own first feedback information, and the first feedback information is used in applications that carry resume-break services. Sent when the server finishes releasing the TCP connection.
  • the application server when subscribing to the SMF1 for the first information, the application server that does not carry a service of the type of resumable transmission at a break point indicates that the SMF1 does not need to wait for its own first feedback information at the same time.
  • all the application servers associated with the PDU session have at least one application server indicating that they need to wait for their own first feedback information when subscribing, it indicates that there is a service that needs to be resumed on the PDU session.
  • the application server receives the first information, and further releases the TCP connection according to the first information.
  • the SMF1 sends the first information to all associated application servers, and the application server receives the first information and first determines whether it carries the resume-break service. If it carries the resume-break service, further , and release the TCP connection according to the first information.
  • the SMF1 sends the first information to the application server carrying the resume-break service, and the application server carrying the resume-break service receives the first information, and further releases the TCP according to the first information. connect.
  • the SMF1 determines that the TCP connection has been released, and further, the SMF1 triggers the release process of the original PDU session.
  • the SMF1 starts a timer after sending the first information to the application server, and after the first time elapses, the SMF1 determines that the TCP connection has been released, and further triggers the release process of the original PDU session.
  • a time is the time required for the SMF1 default TCP connection to be released.
  • the SMF1 receives the first feedback information to determine that the TCP connection has been released, and the first feedback information is sent to the SMF1 after the application server releases the TCP connection.
  • the SMF1 further triggers the release of the original PDU session.
  • all application servers associated with SMF1 indicate that SMF1 does not need to wait for the first feedback information when subscribing to the first information, and then SMF1 immediately triggers the release of the original PDU session after sending the first information.
  • SMF1 triggers the release process steps of the original PDU session, please refer to method 800.
  • the SMF1 notifies the application server through the control plane that the network should release the original PDU session, perform UPF reselection, and create a new PDU session to connect to the same DN.
  • the application server After the application server receives the first information, it actively executes the process of releasing the TCP connection with the terminal device carrying the resumed transmission service, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the TCP transceiver status between the terminal device and the application server, the retransmission of successfully transmitted data is avoided. In addition, due to the active execution of the TCP connection release process, the retransmission of undelivered data on the TCP connection is avoided.
  • the method of this embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
  • the method 1000 includes:
  • SMF1 decides to perform UPF reselection.
  • the SMF1 sends the first information to the terminal device or the application server.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device or the application server to release the TCP connection.
  • a connection belongs to a PDU session.
  • the first information directly instructs the terminal device or the application server to release the TCP connection.
  • the SMF1 may directly send the first information to the UPF, and the UPF directly includes the first information into the packet header of the UPF data packet.
  • the SMF1 may send the first signaling to the UPF, and the UPF generates the first information according to the first signaling, and includes the first information in the packet header of the UPF data packet.
  • the first information or the first signaling sent by the SMF1 to the UPF1 may specifically be an N4 Session Modification Request.
  • the UPF1 may also reply information to the SMF1, and then perform the action of adding the first information or adding the first information generated by the first signaling to the packet header of the data packet.
  • the reply information may specifically be an N4 Session Modification Response.
  • the terminal device or the application server receives the first information, and further releases the TCP connection according to the first information.
  • the application server decapsulates the uplink data packet and receives the first information
  • the terminal device decapsulates the downlink data packet and receives the first information
  • the SMF1 determines that the TCP connection has been released, and further, the SMF1 triggers the release process of the original PDU session.
  • the SMF1 when the SMF1 sends the first information or the first signaling to the UPF, it starts a timer. When the timer elapses for the first time, and the SMF1 determines that the TCP connection has been released, it initiates the release process of the PDU session. The first time The time required for the SMF1 default TCP connection release.
  • the process of releasing and re-establishing the PDU session is the same as in method 800 .
  • SMF1 or SMF2 is only an example, and represents switching from one original SMF to another target SMF, and may also be represented by SMF3 or SMF4 or the like.
  • UPF1 and UPF2 are only exemplary, representing the original PDU session path and the newly created PDU session path, and may also be UPF3, UPF4, and so on.
  • SMF1 notifies the terminal device or the application server by sending the first information through the user plane.
  • the first information exists in the IP header or TCP header of the data packet and can specifically instruct the terminal device and the application carrying the resume transmission service.
  • the server disconnects the TCP connection in the middle, and after receiving the notification, the terminal device or the application server actively executes the release process of the TCP connection carrying the resumed transmission service, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the TCP transceiver status between the terminal device and the application server, the retransmission of successfully transmitted data is avoided. In addition, due to the active execution of the TCP connection release process, the retransmission of undelivered data on the TCP connection is avoided.
  • This embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
  • FIG. 11 shows a schematic block diagram of a communication apparatus 1100 according to an embodiment of the present application, and the communication apparatus 1100 may be used to execute the methods or steps corresponding to the foregoing method SMF1.
  • each unit in the communication apparatus 1100 may be implemented by software.
  • the communication apparatus can be configured to execute the method or step corresponding to SMF1 in the method 800.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to send the first information.
  • the processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device to release the TCP connection, where the TCP connection is a TCP connection between the terminal device and the application server that bears the resumed transmission service, and the TCP connection belongs to the PDU session. .
  • the first information directly instructs the terminal device to release the TCP connection.
  • the content of the first information may be PDU Session Modification Command.
  • the transceiver unit 1110 may send the first information to the terminal device through the AMF.
  • the transceiver unit 1110 may send the first information through the Namf_Communication_N1N2MessageTransfer service of the AMF.
  • processing unit 1120 is further configured to decide to perform UPF reselection of a PDU session, and the PDU session is the PDU session for which the processing unit 1120 decides to perform UPF reselection.
  • the processing unit 1120 is further configured to start a timer.
  • the timer may be a UPF relocation timer.
  • the processing unit 1120 determines that the TCP connection has been released, which is an indirect determination. The processing unit 1120 defaults to the first time after the TCP connection has been released, and then initiates the release of the PDU session.
  • the transceiver unit 1110 is further configured to receive second feedback information, the second feedback information is sent by the terminal device after receiving the first information, and the processing unit 1120 receives the second feedback information after receiving the second feedback information.
  • a timer is started.
  • the timer may be a UPF relocation timer.
  • the processing unit 1120 determines that the TCP connection has been released, which is an indirect determination.
  • the processing unit 1120 defaults that after the first time elapses, the TCP connection has been released, and then initiates the release of the PDU session.
  • the transceiver unit 1110 receives the first feedback information from the terminal device, the first feedback information indicates that the TCP connection has been released, the processing unit 1120 directly determines that the TCP connection has been released, and then initiates a PDU session release.
  • the release of the PDU session specifically includes: as an example but not a limitation, the transceiver unit 1110 can send the N1 SM Information to the terminal device by calling the Namf_Communication_N1N2MessageTransfer service of the AMF, and the N1 SM Information includes a PDU session release instruction, and the instruction includes the PDU session ID and Reason for re-establishing the PDU session to the same DN.
  • the network and the terminal device complete the process of releasing the original PDU session.
  • the terminal device receives the PDU session release instruction, generates a new PDU session ID, and initiates a PDU session establishment process.
  • AMF selects SMF2, and SMF2 selects UPF2.
  • the network and the terminal device complete the re-establishment of the PDU session of SSC mode 2.
  • the communication apparatus may be configured to execute the method or step corresponding to SMF1 in the method 900.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to send the first information.
  • the processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the application server to release the TCP connection. PDU session.
  • the first information directly instructs the application server to release the TCP connection.
  • the transceiver unit 1110 sends the first information to the application server, and the first information may actually be received by the application function network element in the application server.
  • the application function network element is mainly responsible for the control plane function, interacts with the 5G core network, and applies
  • the server is mainly responsible for the user plane function and transmits service data with the terminal device.
  • one PDU session corresponds to one terminal device, and one terminal device can be connected to at least one application server through at least one TCP connection, and some of the at least one TCP connection bears the resume transmission service, and some bears other services.
  • the TCP connection is located between the terminal device and the application server, and bears the resumed transmission service from a breakpoint.
  • the transceiver unit 1110 sends the first information to all associated application servers through the control plane, and the application server determines whether the connection between it and the terminal device is a TCP connection that carries the resume transmission service. If it is a TCP connection, the release is initiated. If it is another TCP connection, the first information may be ignored and the release is not initiated.
  • the transceiver unit 1110 sends the first information through the control plane to the application server carrying the resume-break service, in other words, directly sends the first information to the connection with the terminal device as It should be noted that if the application server provides enough information about itself when subscribing to the SMF1 for the first information, the transceiver unit 1110 can only send the first information to the application server carrying the resumed transmission service. a message.
  • the processing unit is further configured to decide to perform UPF reselection of a PDU session, and the PDU session is the PDU session for which the processing unit 1120 decides to perform UPF reselection.
  • the transceiving unit 1110 may send the first information through the Nsmf_EventExposure_Notify service.
  • the transceiver unit 1110 may directly send the first information to all associated application servers.
  • the transceiver unit 1110 may send the first information to the NEF, and forward it to all associated application servers via the NEF.
  • the first information is subscribed by the application server to the processing unit 1120 in advance.
  • the first information is subscribed when all associated application servers subscribe to the processing unit 1120 for early notification information.
  • the application server that bears the resumed transmission service at the same time instructs the processing unit 1120 that it needs to wait for its own first feedback information, and the first feedback information resumes transmission when the transmission is interrupted. It is sent after the application server of the similar service completes the release of the TCP connection.
  • the application server that does not carry a service of the type of resumable transmission, at the same time instructs the processing unit 1120 that the processing unit 1120 does not need to wait for its own first feedback information.
  • all the application servers associated with the PDU session have at least one application server indicating that they need to wait for their own first feedback information when subscribing, it indicates that there is a service that needs to be resumed on the PDU session.
  • the transceiver unit 1110 starts a timer after sending the first information to the application server, and after the first time elapses, the processing unit 1120 determines that the TCP connection has been released, and further triggers the release of the original PDU session Flow, the first time is the time required by the processing unit 1120 to release the TCP connection by default.
  • the transceiver unit 1110 receives first feedback information to determine that the TCP connection has been released, and the first feedback information is sent to the transceiver unit 1110 after the application server releases the TCP connection.
  • the processing unit 1120 triggers the release of the original PDU session.
  • all application servers associated with the processing unit 1120 instruct the processing unit 1120 not to wait for the first feedback information when subscribing to the first information, and the transceiver unit 1110 triggers the original PDU session immediately after sending the first information release.
  • the communication apparatus may be configured to execute the method or step corresponding to SMF1 in the method 1000.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to send the first information.
  • the processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
  • the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device or the application server to release the TCP connection.
  • a connection belongs to a PDU session.
  • the first information directly instructs the terminal device or the application server to release the TCP connection.
  • the transceiver unit 1110 may directly send the first information to the UPF, and the UPF directly includes the first information into the packet header of the UPF data packet.
  • the transceiver unit 1110 may send the first signaling to the UPF, and the UPF generates the first information according to the first signaling, and includes the first information in the packet header of the UPF data packet.
  • the first information or the first signaling sent by the transceiver unit 1110 to the UPF1 may specifically be an N4 Session Modification Request.
  • the UPF1 can also reply the information to the transceiver unit 1110, and then perform the action of adding the first information or adding the first information generated by the first signaling to the data packet header.
  • the reply information may specifically be an N4 Session Modification Response.
  • the transceiver unit 1110 starts a timer when sending the first information or the first signaling to the UPF.
  • the processing unit 1120 determines that the TCP connection has been released, and then initiates a timer.
  • the first time is the time required by the processing unit 1120 to release the TCP connection by default.
  • the process of releasing the PDU session is the same as the above.
  • FIG. 11 shows a schematic block diagram of a communication apparatus 1100 according to an embodiment of the present application, where the communication apparatus 1100 may be used to execute the methods or steps corresponding to the terminal device or the application server of the foregoing method.
  • each unit in the communication apparatus 1100 may be implemented by software.
  • the communication apparatus may be configured to execute the method or step corresponding to the terminal device in the method 800.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to receive the first information.
  • the processing unit 1120 is configured to release the TCP connection according to the first information.
  • the transceiver unit 1110 upon receiving the first information, the transceiver unit 1110 immediately sends the second feedback information to the SMF1 through the AMF, and then the processing unit 1120 releases the TCP connection according to the first information, and the second feedback information indicates that the transmission and reception information is received.
  • Unit 1110 receives the first message.
  • the second feedback information may be Ack, and the second feedback information is used to notify the SMF1 that the transceiver unit 1110 has received the first information.
  • the processing unit 1120 initiates a process of releasing the TCP connection according to the first information.
  • the transceiver unit 1110 is further configured to send the first message to SMF1.
  • a feedback information indicates that the TCP connection has been released, as an example and not a limitation, the first feedback information may be sent to the SMF1 through the AMF.
  • the communication apparatus can be used to execute the method or step of the application server in the method 900.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to receive the first information.
  • the processing unit 1120 is configured to release the TCP connection according to the first information.
  • the SMF1 sends the first information to all associated transceiver units 1110, and the transceiver unit 1110 receives the first information.
  • the processing unit 1120 first determines whether it carries the breakpoint resume service. For resuming the transmission service, further, the processing unit 1120 releases the TCP connection according to the first information.
  • the SMF1 sends the first information to the transceiver unit 1110 carrying the resume-break service, and the transceiver unit 1110 carrying the resume-break service receives the first information; further, the processing unit 1120 Release the TCP connection according to the first information.
  • the transceiver unit 1110 is further configured to send first feedback information to the SMF1, where the first feedback information indicates that the TCP connection has been released.
  • the communication apparatus can be used to execute the method or step corresponding to the terminal device or the application server in the method 1000.
  • the apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
  • the transceiver unit 1110 is configured to receive the first information.
  • the processing unit 1120 is configured to release the TCP connection according to the first information.
  • the transceiver unit 1110 decapsulates the uplink data packet to receive the first information, or the transceiver unit 1110 decapsulates the downlink data packet to receive the first information.
  • the technical effects achieved may refer to methods 800-1000.
  • FIG. 12 is a schematic diagram of another communication apparatus 1200 according to an embodiment of the present application.
  • each unit in the communication apparatus 1100 may be implemented by software.
  • the transceiver 1210 in the communication device 1200 performs actions similar to the transceiver unit 1110 in the communication device 1100, and the processor 1220 in the communication device 1200 performs actions similar to the processing unit 1120 in the communication device 1100.
  • the processing unit 1120 in the communication device 1100 For detailed methods and steps, please refer to Description in Communication Device 1100 .
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

The present application provides a method for managing a protocol data unit session, and a communication device. The method comprises: a session management function network element sends first information to a first data transmission device, the first information indicating that a protocol data unit session will be released; the session management function network element determines that the transmission control protocol connection between the first data transmission device and a second data transmission device has been released according to the first information, the transmission control protocol connection bearing a breakpoint resume service, and the protocol data unit session comprising the transmission control protocol connection; and the session management function network element releases the protocol data unit session. The first data transmission device receives the first information and releases the transmission control protocol connection according to the first information. The communication method and device provided by the present application can reduce the waste of air interface resources and prevent an increase in the transmission delay at a breakpoint part.

Description

管理协议数据单元会话的方法和装置Method and apparatus for managing protocol data unit sessions 技术领域technical field
本申请涉及通信领域,并且,更具体地,涉及管理协议数据单元会话的方法和装置。The present application relates to the field of communications, and, more particularly, to methods and apparatus for managing protocol data unit sessions.
背景技术Background technique
3GPP TS 23.502中的业务和会话连续性模式2(service and session continuity mode 2,SSC mode 2)下的协议数据单元(protocol data unit,PDU)会话不能为终端设备保证业务连续性。当网络判断锚点用户面功能网元(user plane function,UPF)需要改变时(如相对于终端设备当前位置,该锚点UPF的路由路径过长),网络会触发释放当前PDU会话,并指示终端设备建立一个新的PDU会话,并在建立新PDU会话的过程中选择新的锚点UPF,使得新会话的路由路径更加优化。这种建立PDU会话的方式,也被称为“先断后建”。但是这种“先断后建”会导致原PDU会话上的传输控制协议(Transmission Control Protocol,TCP)连接硬性中断,应用服务器和终端设备两端状态未能同步,可能导致成功传输的数据以及TCP连接上未送达数据的重复发送,浪费空口资源,导致断点部分传输时延增大。The protocol data unit (PDU) session in service and session continuity mode 2 (SSC mode 2) in 3GPP TS 23.502 cannot guarantee service continuity for terminal equipment. When the network determines that the user plane function (UPF) of the anchor point needs to be changed (for example, the routing path of the anchor point UPF is too long relative to the current location of the terminal device), the network will trigger the release of the current PDU session and indicate The terminal device establishes a new PDU session, and selects a new anchor point UPF in the process of establishing the new PDU session, so that the routing path of the new session is more optimized. This way of establishing a PDU session is also called "break-before-build". However, this "break first and then build" will cause the transmission control protocol (Transmission Control Protocol, TCP) connection on the original PDU session to be hard interrupted, and the state of the application server and the terminal device cannot be synchronized, which may lead to the successful transmission of data and TCP connections. The repeated transmission of undelivered data on the Internet wastes air interface resources and increases the transmission delay of the breakpoint part.
发明内容SUMMARY OF THE INVENTION
本申请提供一种管理协议数据单元会话的方法和装置,能够使终端设备和应用服务器间的传输控制协议连接收发状态同步,可以降低空口资源的浪费,避免断点续传业务的传输时延增大。The present application provides a method and device for managing a protocol data unit session, which can synchronize the transmission and reception status of a transmission control protocol connection between a terminal device and an application server, reduce the waste of air interface resources, and avoid the increase in transmission delay of the resumed transmission service. big.
第一方面,提供了一种管理协议数据单元会话的方法,包括:会话管理功能网元向第一数据传输装置发送第一信息,第一信息指示协议数据单元会话会被释放;会话管理功能网元确定第一数据传输装置和第二数据传输装置之间的传输控制协议连接已根据第一信息释放,传输控制协议连接承载断点续传业务,协议数据单元会话包括传输控制协议连接;会话管理功能网元释放协议数据单元会话,。A first aspect provides a method for managing a protocol data unit session, comprising: a session management function network element sending first information to a first data transmission device, the first information indicating that the protocol data unit session will be released; The element determines that the transmission control protocol connection between the first data transmission device and the second data transmission device has been released according to the first information, the transmission control protocol connection bears the resume transmission service, and the protocol data unit session includes the transmission control protocol connection; session management The functional network element releases the protocol data unit session.
该第一数据传输装置可以为终端设备,该第二数据传输装置可以为应用服务器,或,该第一数据传输装置可以为应用服务器,该第二数据传输装置可以为终端设备。The first data transmission device may be a terminal device, and the second data transmission device may be an application server, or, the first data transmission device may be an application server, and the second data transmission device may be a terminal device.
根据本申请提供的通信方法,通过在协议数据单元会话断开之前,通知第一数据传输装置断开承载断点续传业务的传输控制协议连接,能够同步第一数据传输装置和第二数据传输装置的传输控制协议连接收发状态。由于第一数据传输装置和第二数据传输装置的传输控制协议连接收发状态同步,避免了成功传输数据的重传,由于主动执行传输控制协议连接释放流程,避免了传输控制协议连接上未送达数据的重发。可以降低空口资源的浪费,避免断点部分的传输时延增大。According to the communication method provided by the present application, the first data transmission device and the second data transmission can be synchronized by notifying the first data transmission device to disconnect the transmission control protocol connection carrying the resumed transmission service before the protocol data unit session is disconnected. The transmission control protocol connection transceiver status of the device. Since the transmission and reception status of the transmission control protocol connection of the first data transmission device and the second data transmission device are synchronized, retransmission of successfully transmitted data is avoided, and because the transmission control protocol connection release process is actively executed, it is avoided that the transmission control protocol connection is not delivered on the connection. data retransmission. The waste of air interface resources can be reduced, and the transmission delay of the breakpoint part can be avoided from increasing.
结合第一方面,在第一方面的某些实现方式中,第一信息可以通过用户面发送给第一数据传输装置,会话管理功能网元通过用户面功能网元发送第一信息,第一信息包含在用 户面功能网元的数据包的包头中。With reference to the first aspect, in some implementations of the first aspect, the first information may be sent to the first data transmission device through the user plane, the session management function network element sends the first information through the user plane function network element, and the first information It is included in the packet header of the data packet of the user plane functional network element.
在该实现方式中,一种方式可能为,会话管理功能网元向用户面功能网元发送第一信息,用户面管理功能网元直接将第一信息包含在数据包的包头中。另一种方式可能为,会话管理功能网元向用户面功能网元发送第一信令,用户面功能网元通过第一信令生成第一信息,并将第一信息包含在数据包的包头中。In this implementation manner, one manner may be that the session management function network element sends the first information to the user plane function network element, and the user plane management function network element directly includes the first information in the header of the data packet. Another way may be that the session management function network element sends the first signaling to the user plane function network element, the user plane function network element generates the first information through the first signaling, and includes the first information in the packet header of the data packet middle.
结合第一方面,在第一方面的某些实现方式中,当会话管理功能网元通过控制面或用户面向第一数据传输装置发送第一信息时,会话管理功能网元确定第一数据传输装置和第二数据传输装置之间的传输控制协议连接已根据第一信息释放,包括:With reference to the first aspect, in some implementations of the first aspect, when the session management function network element sends the first information to the first data transmission device through the control plane or the user, the session management function network element determines the first data transmission device The transmission control protocol connection with the second data transmission device has been released according to the first information, including:
会话功能管理网元在发送第一信息后开启定时器,当第一信息发送后经过第一时间,则确定传输控制协议连接已根据第一信息释放。The session function management network element starts a timer after sending the first information, and when the first time elapses after the first information is sent, it is determined that the transmission control protocol connection has been released according to the first information.
结合第一方面,在第一方面的某些实现方式中,当会话功能管理功能网元通过控制面向终端设备或应用服务器发送第一信息时,会话管理功能网元确定终端设备和应用服务器之间的传输控制协议连接已根据第一信息释放,包括:With reference to the first aspect, in some implementations of the first aspect, when the session management function network element sends the first information by controlling the terminal device or the application server, the session management function network element determines the relationship between the terminal device and the application server. The TP connection has been released according to the first information, including:
会话功能管理网元接收到来自终端设备或应用服务器的第一反馈信息,第一反馈信息指示传输控制协议连接已根据第一信息释放。The session function management network element receives the first feedback information from the terminal device or the application server, where the first feedback information indicates that the transmission control protocol connection has been released according to the first information.
第二方面,提供了一种管理协议数据单元会话的方法,包括:第一数据传输装置接收来自会话管理功能网元发送的第一信息,第一信息指示第一协议数据单元会话会被释放;第一数据传输装置判断第一数据传输装置和第二数据传输装置之间的传输控制协议连接承载断点续传业务,协议数据单元会话包括传输控制协议连接;第一数据传输装置根据第一信息,释放传输控制协议连接。In a second aspect, a method for managing a protocol data unit session is provided, comprising: a first data transmission device receiving first information sent from a network element with a session management function, the first information indicating that the first protocol data unit session will be released; The first data transmission device determines that the transmission control protocol connection between the first data transmission device and the second data transmission device bears the resume-break service, and the protocol data unit session includes the transmission control protocol connection; the first data transmission device according to the first information , to release the Transmission Control Protocol connection.
该第一数据传输装置可以为终端设备,该第二数据传输装置可以为应用服务器,或,该第一数据传输装置可以为应用服务器,该第二数据传输装置可以为终端设备。The first data transmission device may be a terminal device, and the second data transmission device may be an application server, or, the first data transmission device may be an application server, and the second data transmission device may be a terminal device.
根据本申请提供的通信方法,通过在协议数据单元会话断开之前,通知第一数据传输装置断开承载断点续传业务的传输控制协议连接,能够同步第一数据传输装置和第二数据传输装置间的传输控制协议连接收发状态。由于第一数据传输装置和第二数据传输装置间的传输控制协议连接收发状态同步,避免了成功传输数据的重传,由于主动执行传输控制协议连接释放流程,避免了传输控制协议连接上未送达数据的重发。可以降低空口资源的浪费,避免断点部分的传输时延增大。According to the communication method provided by the present application, the first data transmission device and the second data transmission can be synchronized by notifying the first data transmission device to disconnect the transmission control protocol connection carrying the resumed transmission service before the protocol data unit session is disconnected. Transmit and receive status of the TP connection between the devices. Since the transmission and reception status of the transmission control protocol connection between the first data transmission device and the second data transmission device is synchronized, retransmission of successfully transmitted data is avoided, and because the transmission control protocol connection release process is actively executed, it is avoided that the transmission control protocol connection is not sent on the connection. Retransmission of data. The waste of air interface resources can be reduced, and the transmission delay of the breakpoint part can be avoided from increasing.
结合第二方面,在第二方面的某些实现方式中,当第一信息通过控制面发送时,第一数据传输装置释放传输控制协议连接之后,向会话管理网元发送第一反馈信息,第一反馈信息指示传输控制协议连接已释放。传输控制协议连接是第一数据传输装置和第二数据传输装置之间的承载断点续传业务的传输控制协议连接。With reference to the second aspect, in some implementations of the second aspect, when the first information is sent through the control plane, the first data transmission device sends the first feedback information to the session management network element after releasing the transmission control protocol connection, and the first data transmission device sends the first feedback information to the session management network element. A feedback message indicates that the Transmission Control Protocol connection has been released. The transmission control protocol connection is a transmission control protocol connection between the first data transmission device and the second data transmission device that bears the resumed transmission service.
结合第二方面,在第二方面的某些实现方式中,当第一信息通过用户面发送时,第一数据传输装置解封装数据包接收第一信息,进一步地,根据第一信息释放传输控制协议连接。In combination with the second aspect, in some implementations of the second aspect, when the first information is sent through the user plane, the first data transmission device decapsulates the data packet to receive the first information, and further, releases the transmission control according to the first information protocol connection.
传输控制协议连接的释放可以由终端设备单独发起,也可以由应用服务器单独发起。The release of the TP connection can be initiated by the terminal device alone or by the application server alone.
第三方面,提供了一种通信装置,包括用于执行上述第一方面和第二中的任一方面及其各实现方式中的通信方法的各步骤的单元。In a third aspect, a communication apparatus is provided, which includes a unit for performing each step of the communication method in any one of the first and second aspects and implementations thereof.
在一种设计中,该通信装置为通信芯片,通信芯片可以包括用于发送信息或数据的输 入电路或者接口,以及用于接收信息或数据的输出电路或者接口。In one design, the communication device is a communication chip, which may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
在另一种设计中,所述通信装置为通信设备(例如,终端设备或网络设备等),通信芯片可以包括用于发送信息或数据的发射机,以及用于接收信息或数据的接收机。In another design, the communication device is a communication device (eg, terminal device or network device, etc.), and the communication chip may include a transmitter for sending information or data, and a receiver for receiving information or data.
第四方面,提供了一种通信设备,包括,处理器,存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得该通信设备执行上述第一方面和第二方面中的任一方面及其各实现方式中的通信方法。In a fourth aspect, a communication device is provided, including a processor and a memory, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device executes the above-mentioned first aspect and A communication method in any of the second aspects and implementations thereof.
可选地,所述处理器为一个或多个,所述存储器为一个或多个。Optionally, there are one or more processors and one or more memories.
可选地,所述存储器可以与所述处理器集成在一起,或者所述存储器与处理器分离设置。Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
可选的,该通信设备还包括,发射机(发射器)和接收机(接收器)。Optionally, the communication device further includes a transmitter (transmitter) and a receiver (receiver).
第五方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序(也可以称为代码,或指令),当所述计算机程序被运行时,使得计算机执行上述第一方面和第二方面中的任一方面及其各实现方式中的通信方法。In a fifth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instructions), which, when the computer program is executed, causes a computer to execute the first aspect and the first aspect above. Any one of the two aspects and a communication method in each of its implementations.
第六方面,提供了一种计算机可读介质,所述计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面和第二方面中的任一方面及其各实现方式中的通信方法。In a sixth aspect, a computer-readable medium is provided, the computer-readable medium stores a computer program (also referred to as code, or instruction), when it runs on a computer, causing the computer to execute the above-mentioned first aspect and the first aspect. Any one of the two aspects and a communication method in each of its implementations.
第七方面,提供了一种芯片系统,包括存储器和处理器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得安装有该芯片系统的通信设备执行上述第一方面和第二方面中的任一方面及其各实现方式中的通信方法。In a seventh aspect, a chip system is provided, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device installed with the chip system executes the above-mentioned A communication method in any of the first and second aspects and implementations thereof.
其中,该芯片系统可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。Wherein, the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
附图说明Description of drawings
图1是本申请实施例的网络架构的示意图。FIG. 1 is a schematic diagram of a network architecture according to an embodiment of the present application.
图2是本申请实施例的一个应用场景示意图。FIG. 2 is a schematic diagram of an application scenario of an embodiment of the present application.
图3是本申请实施例的另一个应用场景示意图。FIG. 3 is a schematic diagram of another application scenario of the embodiment of the present application.
图4是本申请实施例SSC mode 2下变更锚点UPF的流程的示意图。FIG. 4 is a schematic diagram of a process of changing the anchor point UPF under SSC mode 2 according to an embodiment of the present application.
图5是本申请实施例TCP连接的建立流程的示意图。FIG. 5 is a schematic diagram of a flow of establishing a TCP connection according to an embodiment of the present application.
图6是本申请实施例TCP连接的释放流程的示意图。FIG. 6 is a schematic diagram of a process of releasing a TCP connection according to an embodiment of the present application.
图7是本申请实施例的管理PDU会话的方法的一例示意性交互图。FIG. 7 is a schematic interaction diagram of an example of a method for managing a PDU session according to an embodiment of the present application.
图8是本申请实施例的管理PDU会话的方法的另一例示意性交互图。FIG. 8 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
图9是本申请实施例的管理PDU会话的方法的又一例示意性交互图。FIG. 9 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
图10是本申请实施例的管理PDU会话的方法的再一例示意性交互图。FIG. 10 is a schematic interaction diagram of another example of a method for managing a PDU session according to an embodiment of the present application.
图11是本申请实施例的一个通信装置示意图。FIG. 11 is a schematic diagram of a communication apparatus according to an embodiment of the present application.
图12是本申请实施例的另一个通信装置示意图。FIG. 12 is a schematic diagram of another communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。在本申请中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软 件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The technical solutions in the present application will be described below with reference to the accompanying drawings. As used in this application, the terms "component," "module," "system," etc. are used to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device may be components. One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between 2 or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more data packets (eg, data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet interacting with other systems via signals) Communicate through local and/or remote processes.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统、第五代(5th Generation,5G)系统或新无线(New Radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: a Global System of Mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a wideband Code Division Multiple Access (CDMA) system (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (Long Term Evolution, LTE) system, LTE Frequency Division Duplex (Frequency Division Duplex, FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, 5th Generation (5G) System or New Radio (New Radio, NR), etc.
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device in this embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or user device. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or future evolved Public Land Mobile Networks (PLMN) A terminal device, etc., is not limited in this embodiment of the present application.
图1是应用于本申请实施例的网络架构,是基于点对点接口的5G网络架构示意图,可以分为三部分,分别是用户设备(user equipment,UE)、数据网络(data network,DN)和运营商网络,该网络架构中可能涉及的各个网元分别进行说明。终端设备:指的是网络终端设备,如手机、物联网终端设备等。Fig. 1 is a network architecture applied to an embodiment of the present application, which is a schematic diagram of a 5G network architecture based on a point-to-point interface, which can be divided into three parts, namely user equipment (user equipment, UE), data network (data network, DN) and operation Each network element that may be involved in the network architecture will be described separately. Terminal equipment: refers to network terminal equipment, such as mobile phones, Internet of Things terminal equipment, etc.
RAN(Radio Access Network,无线接入网):为终端设备提供无线接入的设备,包括但不限于gNodeB、eNodeB、WiFi AP、WiMAX BS等。RAN (Radio Access Network, Radio Access Network): A device that provides wireless access for terminal devices, including but not limited to gNodeB, eNodeB, WiFi AP, WiMAX BS, etc.
AMF(Access and Mobility management Function,接入与移动性管理功能):主要负责移动网络中的移动性管理,如用户位置更新、用户注册网络、用户切换等。AMF (Access and Mobility management Function): It is mainly responsible for mobility management in the mobile network, such as user location update, user registration network, user switching, etc.
SMF(Session Management Function,会话管理功能):主要负责移动网络中的会话管理(如会话建立、修改、释放),IP地址分配和管理、UPF的选择和控制等。SMF (Session Management Function): It is mainly responsible for session management (such as session establishment, modification, and release) in the mobile network, IP address allocation and management, and UPF selection and control.
PCF(Policy Control Function,策略控制功能):负责终端设备接入策略和服务质量(quality of service,QoS)流控制策略的生成。PCF (Policy Control Function, policy control function): responsible for the generation of terminal equipment access policies and quality of service (quality of service, QoS) flow control policies.
UDM(Unified Data Management,统一数据管理):负责管理签约数据,当签约数据修改的时候,负责通知相应的网元。UDM (Unified Data Management): Responsible for managing subscription data, and notifying the corresponding network element when the subscription data is modified.
AUSF(Authentication Server Function,鉴权服务器功能):负责对用户接入5G网络的授权。AUSF (Authentication Server Function): Responsible for authorizing users to access 5G networks.
NEF(Network Exposure Function,网络开放功能):对外提供5G网络的能力和事件的开放,以及接收相关的外部消息。NEF (Network Exposure Function): Provide 5G network capabilities and events to the outside world, and receive related external messages.
UDR(Unified Data Repository,统一数据库):提供签约数据、策略数据及能力开放相关数据的存储能力。UDR (Unified Data Repository): Provides storage capabilities for contract data, policy data, and data related to capability opening.
NRF(Network Repository Function,网络存储功能):提供5G网络中网元的注册和发现能力。NRF (Network Repository Function): Provides registration and discovery capabilities for network elements in 5G networks.
AF(Application Function,应用功能):负责向3GPP网络提供业务,如影响业务路由、与PCF之间交互以进行策略控制等。AF (Application Function): Responsible for providing services to the 3GPP network, such as affecting service routing, interacting with PCF for policy control, etc.
UPF(User Plane Function,用户面功能):提供用户报文的转发、处理、与DN的连接、会话锚点、QoS策略执行等用户面功能。UPF (User Plane Function, user plane function): Provides user plane functions such as forwarding, processing, connection with DN, session anchor, and QoS policy execution of user packets.
DN(Data Network,数据网络):指终端设备接入的某个特定的数据服务网络。DN在5G网络中由数据网络名称(Data Network Name,DNN)进行标识。典型的DN包括Internet、IMS(IP Multi-media Service,IP多媒体业务)网络等。DN (Data Network, data network): refers to a specific data service network that terminal equipment accesses. The DN is identified by the Data Network Name (DNN) in the 5G network. Typical DNs include Internet, IMS (IP Multi-media Service, IP Multimedia Service) networks, etc.
运营商网络可包括以下网元中的一个或多个:鉴权服务器功能(Authentication Server Function,AUSF)网元、网络开放功能(Network Exposure Function,NEF)网元、策略控制功能(Policy Control Function,PCF)网元、统一数据管理(Unified Data Management,UDM)网元、统一数据库(Unified Data Repository,UDR)、网络存储功能(Network Repository Function,NRF)网元、应用功能(Application Function,AF)网元、接入与移动性管理功能(Access and Mobility Management Function,AMF)网元、会话管理功能(Session Management Function,SMF)网元、无线接入网(Radio Access Network,RAN)以及用户面功能(User Plane Function,UPF)网元等。上述运营商网络中,除RAN之外的部分可以称为核心网络部分。The operator network may include one or more of the following network elements: Authentication Server Function (AUSF) network element, Network Exposure Function (Network Exposure Function, NEF) network element, Policy Control Function (Policy Control Function, PCF) network element, Unified Data Management (UDM) network element, Unified Data Repository (UDR), Network Repository Function (NRF) network element, Application Function (AF) network element element, access and mobility management function (Access and Mobility Management Function, AMF) network element, session management function (Session Management Function, SMF) network element, radio access network (Radio Access Network, RAN) and user plane functions ( User Plane Function, UPF) network element, etc. In the above-mentioned operator network, the part other than the RAN may be referred to as the core network part.
需要说明的是,上述“网元”也可以称为实体、设备、装置或模块等,本申请并未特别限定。并且,在本申请中,为了便于理解和说明,在对部分描述中省略“网元”这一描述,例如,将NEF网元简称NEF,此情况下,该“NEF”应理解为NEF网元或NEF实体,以下,省略对相同或相似情况的说明。It should be noted that the above-mentioned "network element" may also be referred to as an entity, a device, an apparatus, or a module, etc., which is not particularly limited in this application. In addition, in this application, in order to facilitate understanding and description, the description of "network element" is omitted in some descriptions. For example, the NEF network element is abbreviated as NEF. In this case, the "NEF" should be understood as the NEF network element or NEF entity, hereinafter, the description of the same or similar situations is omitted.
需要说明的是,图1中包括的各个网元的命名仅是一个名字,名字对网元本身的功能不构成限定。在5G网络以及未来其它的网络中,上述各个网元也可以是其他的名字,本申请实施例对此不作具体限定。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能是其他命名,等等,在此进行统一说明,以下不再赘述。It should be noted that the name of each network element included in FIG. 1 is only a name, and the name does not limit the function of the network element itself. In the 5G network and other future networks, the above-mentioned network elements may also have other names, which are not specifically limited in this embodiment of the present application. For example, in a 6G network, some or all of the above-mentioned network elements may use the terminology in 5G, or other names, etc., which will be uniformly described here, and will not be repeated below.
需要说明的是,图1中的各个网元不是必须同时存在的,可以根据需求确定需要哪些网元。图1中的各个网元之间的连接关系也不是唯一确定的,可以根据需求进行调整。It should be noted that each network element in FIG. 1 does not necessarily exist at the same time, and which network elements are required can be determined according to requirements. The connection relationship between each network element in FIG. 1 is not uniquely determined, and can be adjusted according to requirements.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。It can be understood that the above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform).
图2示出了本申请实施例的一个应用场景示意图。如图2所示,为典型的业务和会话连续性模式2(service and session continuity mode 2,SSC mode 2)业务场景。FIG. 2 shows a schematic diagram of an application scenario of an embodiment of the present application. As shown in Figure 2, it is a typical service and session continuity mode 2 (service and session continuity mode 2, SSC mode 2) business scenario.
图3示出了本申请实施例的又一个应用场景示意图。图3表示的SSC mode 2业务场景涉及同一DN中的AS迁移。FIG. 3 shows a schematic diagram of still another application scenario of the embodiment of the present application. The SSC mode 2 service scenario shown in Figure 3 involves AS migration in the same DN.
在图2和图3的场景中可能涉及的网元或模块的功能如下:The functions of network elements or modules that may be involved in the scenarios of Figures 2 and 3 are as follows:
RAN:用于实现无线有关的功能。RAN: Used to implement wireless-related functions.
AMF:负责用户的移动性管理,包括移动状态管理,分配用户临时身份标识,认证和授权用户。AMF: Responsible for user mobility management, including mobility status management, assigning user temporary identities, authenticating and authorizing users.
SMF:主要负责移动网络中的会话管理(如会话建立、修改、释放),IP地址分配和管理、UPF的选择和控制等。SMF: It is mainly responsible for session management (such as session establishment, modification, and release) in the mobile network, IP address allocation and management, and UPF selection and control.
PCF:负责终端设备接入策略和服务质量(quality of service,QoS)流控制策略的生成。PCF: Responsible for the generation of terminal device access policies and quality of service (QoS) flow control policies.
UDM:负责管理签约数据,当签约数据修改的时候,负责通知相应的网元。UDM: Responsible for managing subscription data, and informing the corresponding network element when the subscription data is modified.
AF:负责向3GPP网络提供业务,如影响业务路由、与PCF之间交互以进行策略控制等。AF: Responsible for providing services to the 3GPP network, such as affecting service routing, interacting with PCF for policy control, etc.
UPF:提供用户报文的转发、处理、与DN的连接、会话锚点、QoS策略执行等用户面功能。UPF: Provides user plane functions such as user packet forwarding, processing, connection to DN, session anchor, and QoS policy enforcement.
DN:指终端设备接入的某个特定的数据服务网络。DN在5G网络中由数据网络名称(data network name,DNN)进行标识。典型的DN包括Internet、IMS(IP Multi-media Service,IP多媒体业务)网络等。DN: refers to a specific data service network that terminal equipment accesses. The DN is identified by the data network name (DNN) in the 5G network. Typical DNs include Internet, IMS (IP Multi-media Service, IP Multimedia Service) networks, etc.
为了对技术方案展开描述,下面将结合附图对PDU会话变更锚点流程以及传输控制协议(Transmission Control Protocol,TCP)连接建立和释放流程展开介绍。In order to describe the technical solution, the following will introduce the PDU session anchor point change process and the Transmission Control Protocol (Transmission Control Protocol, TCP) connection establishment and release process with reference to the accompanying drawings.
下面将结合图4具体说明本申请实施例SSC mode 2下变更锚点UPF的流程。该模式下的PDU会话不能为终端设备保证业务连续性。该流程包括以下步骤:The following will specifically describe the process of changing the anchor point UPF under SSC mode 2 in the embodiment of the present application with reference to FIG. 4 . PDU sessions in this mode cannot guarantee service continuity for terminal equipment. The process includes the following steps:
1.SMF决定进行UPF重选,即网络判断锚点UPF需要改变时(如相对于终端设备当前位置,该锚点UPF的路由路径过长)。1. The SMF decides to perform UPF reselection, that is, when the network determines that the UPF of the anchor point needs to be changed (for example, the routing path of the anchor point UPF is too long relative to the current position of the terminal device).
2.网络触发释放当前PDU会话,当前PUD会话的路径为UPF1。2. The network triggers the release of the current PDU session, and the path of the current PUD session is UPF1.
3.PDU会话重建,终端设备建立一个新的PDU会话,并在建立新PDU会话的过程中选择新的锚点UPF2,使得新会话的路由路径更加优化。3. PDU session reconstruction, the terminal device establishes a new PDU session, and selects a new anchor point UPF2 in the process of establishing the new PDU session, so that the routing path of the new session is more optimized.
这种建立PDU会话的方式,也被称为“先断后建”。This way of establishing a PDU session is also called "break-before-build".
SSC mode 2可以承载断点续传类业务,断点续传是在上传/下载时,将任务(一个文件或压缩包)人为的划分为几个部分,每一个部分采用一个线程进行上传/下载,如果碰到网络故障,可以从已经上传/下载的部分开始继续上传/下载未完成的部分,而没有必要从头开始上传/下载。可以节省时间,提高速度。常见的支持断点续传的上传/下载软件:QQ旋风、迅雷、快车、电驴、酷6、土豆、优酷、百度视频、新浪视频、腾讯视频、百度云等。SSC mode 2 can carry services such as resumable uploading from breakpoints. Resuming uploading from breakpoints is to artificially divide the task (a file or compressed package) into several parts during uploading/downloading, and each part uses a thread for uploading/downloading , if you encounter a network failure, you can continue uploading/downloading the unfinished part from the part that has already been uploaded/downloaded, instead of having to start uploading/downloading from the beginning. Save time and increase speed. Common upload/download software that supports resumed uploads: QQ whirlwind, Xunlei, Kuaiche, eMule, Ku6, Tudou, Youku, Baidu Video, Sina Video, Tencent Video, Baidu Cloud, etc.
在SSC mode 2下的任意一个PDU会话上,存在一个或多个TCP连接,下面将介绍TCP连接。On any PDU session under SSC mode 2, there are one or more TCP connections, which will be described below.
TCP提供一种面向连接的可靠的字节流服务。面向连接意味着两个使用TCP的应用在彼此交换数据之前,必须先建立一个TCP连接。TCP通过使用“端口”来标识源端和目标端的应用进程。端口号可以使用0到65535之间的任何数字。在收到服务请求时,操作系统动态地为客户端的应用程序分配端口号。在服务器端,每种服务在“众所周知的端口”(Well-Know Port)为用户提供服务。TCP provides a connection-oriented reliable byte stream service. Connection-oriented means that two applications using TCP must establish a TCP connection before exchanging data with each other. TCP uses "ports" to identify application processes at the source and destination. The port number can use any number between 0 and 65535. When a service request is received, the operating system dynamically assigns a port number to the client's application. On the server side, each service provides services to users on a "Well-Know Port".
TCP标志位中存在TCP连接建立和释放所使用的的字段,各字段作用如下:There are fields used in the establishment and release of TCP connections in the TCP flag. The functions of each field are as follows:
(1)URG:为1时,紧急指针有效。(1) URG: When it is 1, the emergency pointer is valid.
(2)ACK:为1时,确认序号有效。(2) ACK: When it is 1, the confirmation serial number is valid.
(3)PSH:为1时,接收方应该尽快将这个报文段交给应用层。(3) PSH: When it is 1, the receiver should hand over this segment to the application layer as soon as possible.
(4)RST:为1时,重建连接。(4) RST: When it is 1, the connection is rebuilt.
(5)SYN:为1时,同步程序,发起一个连接。(5) SYN: When it is 1, the program is synchronized and a connection is initiated.
(6)FIN:为1时,发送端完成任务,释放一个连接。(6) FIN: When it is 1, the sender completes the task and releases a connection.
下面将结合图5和图6具体说明本申请实施例TCP连接的建立流程和TCP连接的释放流程。The following will specifically describe a process for establishing a TCP connection and a process for releasing a TCP connection in this embodiment of the present application with reference to FIG. 5 and FIG. 6 .
图5表示TCP连接的建立流程。如图所示,建立一条TCP连接有以下过程:Figure 5 shows the flow of establishing a TCP connection. As shown in the figure, establishing a TCP connection has the following process:
1.请求端(客户端)向服务器发送连接请求报文:SYN=1,seq=x。在初始时刻,客户端和服务器都处于关闭状态,客户端需要给服务端发送数据包的时候,客户端主动打开连接。这个时候通知了服务端,让服务端也打开连接,所以服务端是被动打开连接。打开连接之后服务端进入监听状态,等待客户端的连接请求。客户端也开始准备连接请求数据包,开始发送。客户端发送的第一个数据包是一个连接请求报文段,这个报文的内容如图,是一个同步位SYN=1,另一个是一个初始序号seq=x。TCP规定,SYN=1的报文段不能携带数据,但是消耗一个序列号。客户端发送了这个报文之后,进入同步已发送状态。1. The requester (client) sends a connection request message to the server: SYN=1, seq=x. At the initial moment, both the client and the server are in a closed state. When the client needs to send a data packet to the server, the client actively opens the connection. At this time, the server is notified to let the server also open the connection, so the server opens the connection passively. After the connection is opened, the server enters the listening state, waiting for the connection request from the client. The client also begins to prepare connection request packets and starts sending them. The first data packet sent by the client is a connection request segment. The content of this message is as shown in the figure. It is a synchronization bit SYN=1, and the other is an initial sequence number seq=x. TCP stipulates that a segment with SYN=1 cannot carry data, but consumes a sequence number. After the client sends this message, it enters the synchronous sent state.
2.服务器收到连接请求报文后,向客户端发送确认报文:SYN=1,ACK=1,seq=y,ack=x+1。服务器收到连接请求报文后,知道有客户端请求连接。如果当前有资源,可以 同意连接,则给客户端发送确认报文。这个确认报文的内容有:SYN=1(没有变化),seq=y(服务端的序列号),新增ACK=1,ack=x+1(客户端序列号+1)。这里SYN=1,所以报文不能携带数据,同样消耗了服务端的一个序列号。然后服务端进入了同步收到状态。2. After receiving the connection request message, the server sends an acknowledgement message to the client: SYN=1, ACK=1, seq=y, ack=x+1. After the server receives the connection request message, it knows that a client requests a connection. If there are currently resources available and the connection can be approved, a confirmation message will be sent to the client. The contents of this confirmation message are: SYN=1 (no change), seq=y (serial number of the server), newly added ACK=1, ack=x+1 (serial number of the client+1). Here SYN=1, so the message cannot carry data, which also consumes a sequence number of the server. Then the server enters the synchronous reception state.
3.客户端收到确认报文后,给服务器发送一个客户端的确认报文:ACK=1,seq=x+1,ack=y+1。客户端发送确认报文之后,客户端进入已建立连接状态,服务器收到客户端的确认报文后,也进入已连接状态。3. After the client receives the acknowledgment message, it sends a client acknowledgment message to the server: ACK=1, seq=x+1, ack=y+1. After the client sends the confirmation message, the client enters the established connection state, and the server also enters the connected state after receiving the confirmation message from the client.
这三个报文段完成连接的建立,连接的建立只能由客户端发起。在我们的实施例中,客户端可以是终端设备,服务器可以是应用服务器,一个终端设备可以与多个应用服务器建立多条TCP连接,分别承载不同的任务。These three message segments complete the establishment of the connection, and the establishment of the connection can only be initiated by the client. In our embodiment, the client can be a terminal device, the server can be an application server, and one terminal device can establish multiple TCP connections with multiple application servers, respectively carrying different tasks.
图6表示TCP连接的释放流程。如图6所示,释放一条TCP连接有以下过程:Figure 6 shows the release flow of the TCP connection. As shown in Figure 6, releasing a TCP connection has the following process:
1.客户端向服务器发送连接释放请求报文:FIN=1,seq=u。当TCP连接需要释放时,客户端和服务器都处于已建立连接状态,此时,当客户端数据发送完毕后,想要结束连接,主动发出连接释放请求数据包,该数据包内容为:FIN=1,seq=u(这个u是这个数据包之前一个数据包的序列号+1),然后客户端进入终止等待1状态,不再发送数据包,等待服务器确认。1. The client sends a connection release request message to the server: FIN=1, seq=u. When the TCP connection needs to be released, both the client and the server are in the established connection state. At this time, after the client data is sent, it wants to end the connection and actively sends out a connection release request packet. The content of the packet is: FIN= 1, seq=u (this u is the sequence number of a data packet before this data packet + 1), and then the client enters the termination waiting state of 1, no longer sends data packets, and waits for the server to confirm.
2.服务器收到连接释放请求数据包后,向客户端发送确认报文:ACK=1,seq=v,ack=u+1(这个v是服务端上一个发送的数据包的序列号+1)。服务器发送完确认报文之后,进入关闭等待状态,此时客户端到服务器的连接已经结束,但是TCP是全双工通信,因为此时是客户端主动发起的结束,在服务器这边可能还存在着数据没有完全发送给客户端,所以服务器到客户端仍然没有结束,客户端不再发送数据,但服务器端有数据发送,客户端仍能接收。客户端接收服务器的确认报文,进入终止等待2状态。2. After the server receives the connection release request packet, it sends an acknowledgment packet to the client: ACK=1, seq=v, ack=u+1 (this v is the sequence number+1 of the last data packet sent by the server ). After the server sends the confirmation message, it enters the shutdown waiting state. At this time, the connection between the client and the server has ended, but TCP is full-duplex communication, because it is the end initiated by the client at this time, and there may still exist on the server side. The data is not completely sent to the client, so the server to the client is still not over, the client no longer sends data, but the server has data to send, and the client can still receive it. The client receives the confirmation message from the server and enters the termination waiting state 2.
3.服务器向客户端发送连接释放报文:FIN=1,ACK=1,seq=w,ack=u+1。最后,没有数据要发送了之后,服务器发送连接释放数据包,这个数据包内容:FIN=1,ACK=1,seq=w(因为在服务器回复客户端的连接请求(数据包的序列号是v)之后,可能仍然有其他数据包要发送,所以这里的w不一定是v+1),ack=u+1(确认号和上次回复客户端的请求释放连接的确认号一样)。接着服务端进入最后确认状态,等待客户端的确认。3. The server sends a connection release message to the client: FIN=1, ACK=1, seq=w, ack=u+1. Finally, after there is no data to be sent, the server sends a connection release packet, the content of this packet: FIN=1, ACK=1, seq=w (because the server replies to the client's connection request (the sequence number of the packet is v) After that, there may still be other data packets to be sent, so the w here is not necessarily v+1), ack=u+1 (the acknowledgment number is the same as the acknowledgment number of the last reply to the client's request to release the connection). Then the server enters the final confirmation state and waits for the confirmation of the client.
4.客户端收到服务器的连接释放报文之后,发出一个确认报文:ACK=1,seq=u+1,ack=w+1。然后客户端进入时间等待状态。这个时候TCP连接还没有释放。仍需要经过时间等待计时器设置的时间2个最长报文段寿命后,客户端才会进入关闭状态。需要说明的是,该最长报文段寿命可以为2分钟。4. After receiving the connection release message from the server, the client sends an acknowledgement message: ACK=1, seq=u+1, ack=w+1. Then the client enters the time waiting state. At this time, the TCP connection has not been released. The client still needs to wait for the time set by the timer for the two longest segment lifetimes before the client enters the shutdown state. It should be noted that the longest segment lifetime may be 2 minutes.
由图5和图6可知,TCP连接的建立和释放过程都不是一步完成的。As can be seen from Figure 5 and Figure 6, the establishment and release of the TCP connection are not completed in one step.
TCP连接的释放可以由服务器发起,也可以由客户端发起。The release of the TCP connection can be initiated by the server or by the client.
下面将结合图7描述本申请实施例提供的用于管理PDU会话的方法700,该方法700包括:A method 700 for managing a PDU session provided by an embodiment of the present application will be described below with reference to FIG. 7 . The method 700 includes:
S710,SMF1决定进行UPF重选。S710, SMF1 decides to perform UPF reselection.
S720,SMF1向第一数据传输装置发送第一信息。S720, the SMF1 sends the first information to the first data transmission apparatus.
在一种可能的实现方式中,该第一信息指示PDU会话会被释放,间接指示第一数据传输装置根据该第一信息释放TCP连接。In a possible implementation manner, the first information indicates that the PDU session will be released, and indirectly instructs the first data transmission apparatus to release the TCP connection according to the first information.
在一种可能的实现方式中,该第一信息可以直接指示该第一数据传输装置释放TCP连接。In a possible implementation manner, the first information may directly instruct the first data transmission apparatus to release the TCP connection.
需要说明的是,该TCP连接在第一数据传输装置和第二数据传输装置之间,承载断点续传业务,该PDU会话包括TCP连接,换句话说,该PDU会话包含的TCP连接为承载第一数据传输装置和第二数据传输装置之间的断点续传类业务的传输。It should be noted that the TCP connection is between the first data transmission device and the second data transmission device, and bears the resume transmission service, and the PDU session includes a TCP connection. In other words, the TCP connection included in the PDU session is a bearer The transmission of the continuous transmission type service between the first data transmission device and the second data transmission device.
优选的,该第一数据传输装置可以为终端设备,该第二数据传输装置可以为应用服务器,或,该第一数据传输装置可以为应用服务器,该第一数据传输装置可以为终端设备。Preferably, the first data transmission device may be a terminal device, the second data transmission device may be an application server, or the first data transmission device may be an application server, and the first data transmission device may be a terminal device.
需要说明的是,该第一数据传输装置和第二数据传输装置也可以为其他数据传输装置,本申请在此不做限定。It should be noted that the first data transmission device and the second data transmission device may also be other data transmission devices, which are not limited in this application.
S730,第一数据传输装置接收第一信息,进一步的,根据第一信息释放TCP连接。S730, the first data transmission apparatus receives the first information, and further releases the TCP connection according to the first information.
在一种可能的实现方式中,该第一数据传输装置通过控制面接收第一信息,进一步的,根据第一信息释放TCP连接。In a possible implementation manner, the first data transmission apparatus receives the first information through the control plane, and further releases the TCP connection according to the first information.
在一种可能的实现方式中,该第一数据传输装置通过用户面解封装数据包接收第一信息,进一步的,根据第一信息释放TCP连接。In a possible implementation manner, the first data transmission apparatus receives the first information through the user plane decapsulation data packet, and further releases the TCP connection according to the first information.
S740,SMF1确定TCP连接已释放,进一步的,SMF1释放PDU会话。S740, SMF1 determines that the TCP connection has been released, and further, SMF1 releases the PDU session.
需要说明的是,SMF1确定TCP连接已释放有至少可能的两种方式:It should be noted that there are at least two possible ways for SMF1 to determine that a TCP connection has been released:
在一种可能的实现方式中,SMF1间接确定TCP连接被释放,SMF1发送第一信息后启动定时器,当经过第一时间后,SMF1默认TCP连接被释放,该第一时间为SMF1默认TCP连接被释放所需的时间。In a possible implementation manner, SMF1 indirectly determines that the TCP connection is released, and starts a timer after sending the first information. When the first time elapses, the default TCP connection of SMF1 is released, and the first time is the default TCP connection of SMF1 time required to be released.
在一种可能的实现方式中,SMF1直接确定TCP连接被释放,SMF1接收来自第一数据传输装置或第二数据传输装置发送的第一反馈信息,SMF1确定TCP连接被释放。In a possible implementation manner, the SMF1 directly determines that the TCP connection is released, the SMF1 receives the first feedback information sent from the first data transmission device or the second data transmission device, and the SMF1 determines that the TCP connection is released.
需要说明的是,SMF1通过控制面发送第一信息时,可以采用开启定时器的方式确定TCP连接已释放,也可以通过接收第一反馈信息确定TCP连接已释放。SMF1通过用户面数据包发送第一信息时,可以采用开启定时器的方式确定TCP连接已释放。It should be noted that when the SMF1 sends the first information through the control plane, it may determine that the TCP connection has been released by starting a timer, or may determine that the TCP connection has been released by receiving the first feedback information. When the SMF1 sends the first information through the user plane data packet, it may determine that the TCP connection has been released by starting a timer.
需要说明的是,当SMF1确定TCP连接被释放后,执行PDU会话的释放。It should be noted that when the SMF1 determines that the TCP connection is released, it executes the release of the PDU session.
下面将结合图8描述本申请实施例提供的用于管理PDU会话的方法800,该方法800包括:A method 800 for managing a PDU session provided by an embodiment of the present application will be described below with reference to FIG. 8 . The method 800 includes:
S810,SMF1决定进行UPF重选。S810, SMF1 decides to perform UPF reselection.
S820,SMF1向终端设备发送第一信息。S820, the SMF1 sends the first information to the terminal device.
可选的,第一信息表示PDU会话即将要释放,间接指示终端设备释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device to release the TCP connection, where the TCP connection is a TCP connection between the terminal device and the application server that bears the resumed transmission service, and the TCP connection belongs to the PDU session. .
可选的,第一信息直接指示终端设备释放TCP连接。Optionally, the first information directly instructs the terminal device to release the TCP connection.
作为示例而非限定,该第一信息的内容可以为PDU Session Modification Command。As an example and not a limitation, the content of the first information may be PDU Session Modification Command.
需要说明的是,SMF1可能通过AMF向终端设备发送第一信息,作为示例而非限定,SMF1可能通过AMF的Namf_Communication_N1N2MessageTransfer服务发送第一信息。It should be noted that the SMF1 may send the first information to the terminal device through the AMF. As an example and not a limitation, the SMF1 may send the first information through the Namf_Communication_N1N2MessageTransfer service of the AMF.
需要说明的是,该PDU会话为SMF1决定进行UPF重选的PDU会话。It should be noted that this PDU session is a PDU session for which SMF1 decides to perform UPF reselection.
S830,终端设备接收第一信息,进一步的,根据第一信息释放TCP连接。S830, the terminal device receives the first information, and further releases the TCP connection according to the first information.
需要说明的是,一个PDU会话对应一个终端设备,一个终端设备上有至少一个TCP连接,分别与不同的应用服务器相连,承载不同的业务,其中,某些业务是断点续传类的。It should be noted that one PDU session corresponds to one terminal device, and one terminal device has at least one TCP connection, which are respectively connected to different application servers and carry different services, some of which are of the type of continuous transmission.
在一种可能的实现方式中,终端设备在收到第一信息时,立即通过AMF向SMF1发送第二反馈信息,然后根据第一信息释放TCP连接,该第二反馈信息表示终端设备收到第一信息。In a possible implementation manner, when the terminal device receives the first information, it immediately sends second feedback information to SMF1 through the AMF, and then releases the TCP connection according to the first information. The second feedback information indicates that the terminal device has received the first information. a message.
作为示例而非限定,该第二反馈信息可以为Ack,该第二反馈信息用于通知SMF1终端设备已经接收到第一信息。As an example and not a limitation, the second feedback information may be Ack, and the second feedback information is used to notify the SMF1 terminal device that the first information has been received.
在一种可能的实现方式中,终端设备在收到第一信息之后,根据第一信息发起释放TCP连接的流程,当TCP连接释放完毕后,向SMF1发送第一反馈信息,该第一反馈信息指示TCP连接已释放,作为示例而非限定,该第一反馈信息可以为Ack。In a possible implementation manner, after receiving the first information, the terminal device initiates a process of releasing the TCP connection according to the first information, and after the TCP connection is released, it sends first feedback information to SMF1, the first feedback information Indicates that the TCP connection has been released, by way of example and not limitation, the first feedback information may be Ack.
S840,SMF1确定TCP连接已释放,进一步的,SMF1释放PDU会话。S840, SMF1 determines that the TCP connection has been released, and further, SMF1 releases the PDU session.
在一种可能的实现方式中,SMF1在步骤S820中发送第一信息后,开启定时器,作为示例而非限定,该定时器可以为UPF relocation定时器。当定时器经过第一时间后,SMF1确定TCP连接已释放,该确定是间接的确定,SMF1默认经过第一时间后,TCP连接已释 放完毕,然后发起PDU会话的释放。In a possible implementation manner, the SMF1 starts a timer after sending the first information in step S820. As an example and not a limitation, the timer may be a UPF relocation timer. When the timer elapses for the first time, SMF1 determines that the TCP connection has been released, which is an indirect determination. SMF1 defaults that after the first time has elapsed, the TCP connection has been released, and then initiates the release of the PDU session.
在一种可能的实现方式中,SMF1在步骤S830收到第二反馈信息后开启定时器,作为示例而非限定,该定时器可以为UPF relocation定时器。当定时器经过第一时间后,SMF1确定TCP连接已释放,该确定是间接的确定,SMF1默认经过第一时间后,TCP连接已释放完毕,然后发起PDU会话的释放。In a possible implementation manner, the SMF1 starts a timer after receiving the second feedback information in step S830. As an example and not a limitation, the timer may be a UPF relocation timer. When the timer elapses for the first time, the SMF1 determines that the TCP connection has been released, which is an indirect determination. SMF1 defaults that after the first time elapses, the TCP connection has been released, and then initiates the release of the PDU session.
在一种可能的实现方式中,SMF1收到来自终端设备的第一反馈信息,直接确定TCP连接已释放完毕,然后发起PDU会话的释放。In a possible implementation manner, the SMF1 receives the first feedback information from the terminal device, directly determines that the TCP connection has been released, and then initiates the release of the PDU session.
该PDU会话的释放具体包括:作为示例而非限定,SMF1可以通过调用AMF的Namf_Communication_N1N2MessageTransfer服务向终端设备发送N1 SM Information,N1 SM Information中包含PDU会话释放指令,该指令包含PDU会话ID和重建PDU会话到相同DN的原因。网络和终端设备完成原PDU会话的释放流程。终端设备接收PDU会话释放指令,生成一个新的PDU会话ID,并发起PDU会话建立流程,AMF选择SMF2,SMF2选择UPF2。网络和终端设备完成SSC mode 2的PDU会话的重新建立。The release of the PDU session specifically includes: as an example but not a limitation, the SMF1 can send the N1 SM Information to the terminal device by calling the Namf_Communication_N1N2MessageTransfer service of the AMF, and the N1 SM Information contains a PDU session release instruction, which includes the PDU session ID and the re-established PDU session. to the same DN. The network and the terminal device complete the process of releasing the original PDU session. The terminal device receives the PDU session release instruction, generates a new PDU session ID, and initiates a PDU session establishment process. AMF selects SMF2, and SMF2 selects UPF2. The network and the terminal device complete the re-establishment of the PDU session of SSC mode 2.
需要说明的是,该SMF1、SMF2仅是是示例性的,表示原PDU会话的会话管理功能网元,和重新建立的PDU会话的会话管理功能网元,也可以用SMF3等表示。It should be noted that the SMF1 and SMF2 are only exemplary, representing the session management function network element of the original PDU session and the session management function network element of the re-established PDU session, which may also be represented by SMF3 or the like.
需要说明的是,该UPF2仅是示例性的,表示新建的PDU会话路径,也可以用UPF3等表示。It should be noted that the UPF2 is only exemplary, and represents a newly created PDU session path, and may also be represented by UPF3 or the like.
该实施例中SMF通过控制面通知终端设备,网络要释放原PDU会话,执行UPF重选,新建PDU会话以连接相同DN。收到通知后,终端设备主动执行该PDU会话上承载断点续传业务的TCP连接的释放流程,同步终端设备和应用服务器间的TCP收发状态。由于终端设备和应用服务器间的TCP连接收发状态同步,避免了成功传输数据的重传,由于主动执行TCP连接释放流程,避免了TCP连接上未送达数据的重发。该实施例的方法可以降低空口资源的浪费,避免断点部分的传输时延增大。In this embodiment, the SMF notifies the terminal device through the control plane that the network should release the original PDU session, perform UPF reselection, and create a new PDU session to connect to the same DN. After receiving the notification, the terminal device actively executes the release process of the TCP connection carrying the resumed transmission service on the PDU session, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the sending and receiving status of the TCP connection between the terminal device and the application server, the retransmission of successfully transmitted data is avoided, and the retransmission of undelivered data on the TCP connection is avoided due to the active execution of the TCP connection release process. The method of this embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
下面将结合图9描述本申请实施例提供的用于管理PDU会话的方法900,该方法900包括:A method 900 for managing a PDU session provided by an embodiment of the present application will be described below with reference to FIG. 9 . The method 900 includes:
S910,SMF1决定进行UPF重选。S910, SMF1 decides to perform UPF reselection.
S920,SMF1向应用服务器发送第一信息。S920, the SMF1 sends the first information to the application server.
可选的,第一信息表示该PDU会话即将要释放,间接指示该应用服务器释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the application server to release the TCP connection. PDU session.
可选的,第一信息直接指示应用服务器释放TCP连接。Optionally, the first information directly instructs the application server to release the TCP connection.
需要说明的是,SMF1向应用服务器发送第一信息,实际可能由应用服务器中的应用功能网元接收第一信息,应用功能网元主要负责控制面功能,与5G核心网进行交互,应用服务器主要负责用户面功能,与终端设备之间传输业务数据。It should be noted that the SMF1 sends the first information to the application server, and the first information may actually be received by the application function network element in the application server. The application function network element is mainly responsible for the control plane function and interacts with the 5G core network. The application server is mainly responsible for It is responsible for user plane functions and transmits service data with terminal devices.
需要说明的是,一个PDU会话对应一个终端设备,一个终端设备可以与至少一个应用服务器通过至少一个TCP连接相连,该至少一个TCP连接有的承载断点续传业务,有的承载其他业务,在本申请实施例中,TCP连接位于终端设备和应用服务器之间,承载断点续传业务。It should be noted that, one PDU session corresponds to one terminal device, and one terminal device can be connected to at least one application server through at least one TCP connection, and some of the at least one TCP connection bears the resume transmission service, and some bears other services. In the embodiment of the present application, the TCP connection is located between the terminal device and the application server, and bears the resumed transmission service from a breakpoint.
在一种可能的实现方式中,SMF1通过控制面发送该第一信息给所有关联的应用服务器,由应用服务器判断其与终端设备之间是否为承载断点续传业务的TCP连接,若为TCP连接则发起释放,若为其他TCP连接则可能忽略该第一信息不发起释放。In a possible implementation manner, the SMF1 sends the first information to all associated application servers through the control plane, and the application server determines whether the connection between it and the terminal device is a TCP connection carrying a resume-break service, and if it is a TCP connection The connection initiates the release, and if it is another TCP connection, the first information may be ignored and the release is not initiated.
在一种可能的实现方式中,SMF1通过控制面发送该第一信息给承载断点续传业务的应用服务器,换句话说,将第一信息直接发送给与终端设备之间的连接为TCP连接的应用服务器,需要说明的是,若应用服务器在向SMF1订阅第一信息时,提供的关于自身的信息足够多,则SMF1可以仅向承载断点续传业务的应用服务器发送第一信息。In a possible implementation manner, the SMF1 sends the first information through the control plane to the application server carrying the resumed transmission service, in other words, the connection between the SMF1 and the terminal device is directly sent as a TCP connection It should be noted that if the application server provides enough information about itself when subscribing to the SMF1 for the first information, the SMF1 can only send the first information to the application server carrying the resumed transmission service.
需要说明的是,该PDU会话为SMF1决定进行UPF重选的PDU会话。It should be noted that this PDU session is a PDU session for which SMF1 decides to perform UPF reselection.
作为示例而非限定,SMF1可以通过Nsmf_EventExposure_Notify服务发送该第一信息。By way of example and not limitation, SMF1 may send the first information through the Nsmf_EventExposure_Notify service.
可选的,SMF1可以直接向所有关联的所有应用服务器或承载断点续传业务的应用服务器发送第一信息。Optionally, the SMF1 may directly send the first information to all associated application servers or application servers carrying the resume-break service.
可选的,SMF1可以将第一信息发送到NEF,经NEF转发给关联的所有应用服务器或承载断点续传业务的应用服务器。Optionally, the SMF1 may send the first information to the NEF, and forward the first information to all associated application servers or application servers that carry the resume-break service through the NEF.
需要说明的是,该第一信息是应用服务器事先向SMF1订阅的。It should be noted that the first information is subscribed to the SMF1 by the application server in advance.
作为示例而非限定,该第一信息是关联的所有应用服务器向SMF1订阅early notification信息时订阅的。As an example and not a limitation, the first information is subscribed when all associated application servers subscribe to SMF1 for early notification information.
可选的,承载断点续传类业务的应用服务器在向SMF1订阅第一信息时,同时指示SMF1需要等待自身的第一反馈信息,该第一反馈信息在承载断点续传类业务的应用服务器完成释放TCP连接后发送。Optionally, when subscribing to SMF1 for the first information, the application server carrying the resume-break service also indicates that SMF1 needs to wait for its own first feedback information, and the first feedback information is used in applications that carry resume-break services. Sent when the server finishes releasing the TCP connection.
可选的,不承载断点续传类业务的应用服务器在向SMF1订阅第一信息时,同时指示SMF1不需要等待自身的第一反馈信息。Optionally, when subscribing to the SMF1 for the first information, the application server that does not carry a service of the type of resumable transmission at a break point indicates that the SMF1 does not need to wait for its own first feedback information at the same time.
需要说明的是,若该PDU会话关联的所有应用服务器在订阅时都指示不需等待自身的第一反馈信息,则表明该PDU会话上的业务不需进行断点续传。此时,SMF1不需等待第一反馈信息,可以直接发起该PDU会话的释放。It should be noted that if all the application servers associated with the PDU session indicate that they do not need to wait for their own first feedback information when subscribing, it indicates that the service on the PDU session does not need to be resumed. At this time, SMF1 can directly initiate the release of the PDU session without waiting for the first feedback information.
需要说明的是,若该PDU会话关联的所有应用服务器在订阅时有至少一个应用服务器指示需要等待自身的第一反馈信息,则表明该PDU会话上存在需要进行断点续传的业务。It should be noted that if all the application servers associated with the PDU session have at least one application server indicating that they need to wait for their own first feedback information when subscribing, it indicates that there is a service that needs to be resumed on the PDU session.
S930,应用服务器接收第一信息,进一步的,根据第一信息释放TCP连接。S930, the application server receives the first information, and further releases the TCP connection according to the first information.
在一种可能的实现方式中,SMF1向所有关联的应用服务器发送第一信息,则应用服务器接收第一信息,先判断自身是否承载断点续传业务,若承载断点续传业务,进一步的,根据第一信息释放TCP连接。In a possible implementation manner, the SMF1 sends the first information to all associated application servers, and the application server receives the first information and first determines whether it carries the resume-break service. If it carries the resume-break service, further , and release the TCP connection according to the first information.
在一种可能的实现方式中,SMF1向承载断点续传业务的应用服务器发送第一信息,则该承载断点续传业务的应用服务器接收第一信息,进一步的,根据第一信息释放TCP连接。In a possible implementation manner, the SMF1 sends the first information to the application server carrying the resume-break service, and the application server carrying the resume-break service receives the first information, and further releases the TCP according to the first information. connect.
S940,SMF1确定TCP连接已释放,进一步的,SMF1触发原PDU会话的释放流程。S940, the SMF1 determines that the TCP connection has been released, and further, the SMF1 triggers the release process of the original PDU session.
在一种可能的实现方式中,SMF1在向应用服务器发送第一信息后开启定时器,在经过第一时间之后,SMF1确定TCP连接已释放,进一步的,触发原PDU会话的释放流程,该第一时间为SMF1默认TCP连接被释放需要的时间。In a possible implementation manner, the SMF1 starts a timer after sending the first information to the application server, and after the first time elapses, the SMF1 determines that the TCP connection has been released, and further triggers the release process of the original PDU session. A time is the time required for the SMF1 default TCP connection to be released.
在一种可能的实现方式中,SMF1接收第一反馈信息,确定TCP连接已释放,该第一反馈信息是应用服务器释放TCP连接完毕后向SMF1发送的。可选的,SMF1接收到所有向其订阅第一信息时指示需等待第一反馈信息的应用服务器的第一反馈信息后,进一步的,触发原PDU会话的释放。In a possible implementation manner, the SMF1 receives the first feedback information to determine that the TCP connection has been released, and the first feedback information is sent to the SMF1 after the application server releases the TCP connection. Optionally, after receiving the first feedback information from all the application servers to which the first information is subscribed and indicating that the first feedback information needs to be waited, the SMF1 further triggers the release of the original PDU session.
在一种可能的实现方式中,SMF1关联的所有应用服务器在订阅第一信息时都指示SMF1不需等待第一反馈信息,则SMF1发送第一信息后立即触发原PDU会话的释放。In a possible implementation manner, all application servers associated with SMF1 indicate that SMF1 does not need to wait for the first feedback information when subscribing to the first information, and then SMF1 immediately triggers the release of the original PDU session after sending the first information.
SMF1触发原PDU会话的释放流程步骤可参见方法800.SMF1 triggers the release process steps of the original PDU session, please refer to method 800.
该实施例中SMF1通过控制面通知应用服务器,网络要释放原PDU会话,执行UPF重选,新建PDU会话以连接相同DN。应用服务器收到第一信息后,主动执行与终端设备间承载断点续传业务的TCP连接的释放流程,同步终端设备和应用服务器间的TCP收发状态。由于终端设备和应用服务器间的TCP收发状态同步,避免了成功传输数据的重传,此外,由于主动执行TCP连接释放流程,避免了TCP连接上未送达数据的重发。该实施例的方法可以降低空口资源的浪费,避免断点部分的传输时延增大。In this embodiment, the SMF1 notifies the application server through the control plane that the network should release the original PDU session, perform UPF reselection, and create a new PDU session to connect to the same DN. After the application server receives the first information, it actively executes the process of releasing the TCP connection with the terminal device carrying the resumed transmission service, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the TCP transceiver status between the terminal device and the application server, the retransmission of successfully transmitted data is avoided. In addition, due to the active execution of the TCP connection release process, the retransmission of undelivered data on the TCP connection is avoided. The method of this embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
下面将结合图10描述本申请实施例提供的用于管理PDU会话的方法1000,该方法1000包括:A method 1000 for managing a PDU session provided by an embodiment of the present application will be described below with reference to FIG. 10 . The method 1000 includes:
S1010,SMF1决定进行UPF重选。S1010, SMF1 decides to perform UPF reselection.
S1020,SMF1向终端设备或应用服务器发送第一信息。S1020, the SMF1 sends the first information to the terminal device or the application server.
可选的,第一信息表示该PDU会话即将要释放,间接指示终端设备或应用服务器释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device or the application server to release the TCP connection. A connection belongs to a PDU session.
可选的,第一信息直接指示终端设备或应用服务器释放TCP连接。Optionally, the first information directly instructs the terminal device or the application server to release the TCP connection.
在一种可能的实现方式中,SMF1可以直接发送第一信息给UPF,UPF将该第一信息直接包含到UPF数据包的包头中。In a possible implementation manner, the SMF1 may directly send the first information to the UPF, and the UPF directly includes the first information into the packet header of the UPF data packet.
在一种可能的实现方式中,SMF1可以发送第一信令给UPF,UPF根据该第一信令生成第一信息,并把第一信息包含在UPF数据包的包头中。In a possible implementation manner, the SMF1 may send the first signaling to the UPF, and the UPF generates the first information according to the first signaling, and includes the first information in the packet header of the UPF data packet.
作为示例而非限定,SMF1给UPF1发送的第一信息或第一信令具体可以是N4 Session Modification Request。可选的,UPF1接收到该第一信息或第一信令,也可以给SMF1回复信息,再执行添加第一信息或添加由第一信令生成的第一信息到数据包包头的动作。作为示例而非限定,该回复信息具体可以是N4 Session Modification Response。As an example and not a limitation, the first information or the first signaling sent by the SMF1 to the UPF1 may specifically be an N4 Session Modification Request. Optionally, after receiving the first information or the first signaling, the UPF1 may also reply information to the SMF1, and then perform the action of adding the first information or adding the first information generated by the first signaling to the packet header of the data packet. As an example and not a limitation, the reply information may specifically be an N4 Session Modification Response.
S1030,终端设备或应用服务器接收第一信息,进一步的,根据第一信息释放TCP连接。S1030, the terminal device or the application server receives the first information, and further releases the TCP connection according to the first information.
具体的,应用服务器解封装上行数据包,接收第一信息,或,终端设备解封装下行数据包,接收第一信息。Specifically, the application server decapsulates the uplink data packet and receives the first information, or the terminal device decapsulates the downlink data packet and receives the first information.
S1040,SMF1确定TCP连接已释放,进一步的,SMF1触发原PDU会话的释放流程。S1040, the SMF1 determines that the TCP connection has been released, and further, the SMF1 triggers the release process of the original PDU session.
具体的,SMF1在发送第一信息或第一信令给UPF时,开启定时器,当该定时器经过第一时间,SMF1确定TCP连接已释放,则发起PDU会话的释放流程,该第一时间为SMF1默认TCP连接释放所需要的的时间。Specifically, when the SMF1 sends the first information or the first signaling to the UPF, it starts a timer. When the timer elapses for the first time, and the SMF1 determines that the TCP connection has been released, it initiates the release process of the PDU session. The first time The time required for the SMF1 default TCP connection release.
该PDU会话的释放和重建流程与方法800中相同。The process of releasing and re-establishing the PDU session is the same as in method 800 .
需要说明的是,该SMF1或SMF2仅是示例性的,表示从一个原SMF切换到另一个目标SMF,也可以是SMF3或SMF4等来表示。It should be noted that the SMF1 or SMF2 is only an example, and represents switching from one original SMF to another target SMF, and may also be represented by SMF3 or SMF4 or the like.
需要说明的是,该UPF1、UPF2仅是示例性的,表示原PDU会话路径和新建的PDU会话路径,也可以是UPF3、UPF4等。It should be noted that the UPF1 and UPF2 are only exemplary, representing the original PDU session path and the newly created PDU session path, and may also be UPF3, UPF4, and so on.
该实施例中SMF1通过用户面发送第一信息通知终端设备或应用服务器,该第一信息存在于数据包的IP头或TCP头中,能特定的指示终端设备和承载断点续传业务的应用服务器断开其中间的TCP连接,收到通知后,终端设备或应用服务器主动执行承载断点续传业务的TCP连接的释放流程,同步终端设备和应用服务器间的TCP收发状态。由于终端设备和应用服务器间的TCP收发状态同步,避免了成功传输数据的重传,此外,由于主动执行TCP连接释放流程,避免了TCP连接上未送达数据的重发。该实施例可以降低空口资源的浪费,避免断点部分的传输时延增大。In this embodiment, SMF1 notifies the terminal device or the application server by sending the first information through the user plane. The first information exists in the IP header or TCP header of the data packet and can specifically instruct the terminal device and the application carrying the resume transmission service. The server disconnects the TCP connection in the middle, and after receiving the notification, the terminal device or the application server actively executes the release process of the TCP connection carrying the resumed transmission service, and synchronizes the TCP sending and receiving status between the terminal device and the application server. Due to the synchronization of the TCP transceiver status between the terminal device and the application server, the retransmission of successfully transmitted data is avoided. In addition, due to the active execution of the TCP connection release process, the retransmission of undelivered data on the TCP connection is avoided. This embodiment can reduce the waste of air interface resources and avoid increasing the transmission delay of the breakpoint part.
图11示出了根据本申请实施例通信装置1100的示意性框图,所述通信装置1100可以用于执行前述方法SMF1对应的方法或步骤。可选的,该通信装置1100中各个单元可以通过软件来实现。FIG. 11 shows a schematic block diagram of a communication apparatus 1100 according to an embodiment of the present application, and the communication apparatus 1100 may be used to execute the methods or steps corresponding to the foregoing method SMF1. Optionally, each unit in the communication apparatus 1100 may be implemented by software.
在一种可能的实施例中,该通信装置可以用于执行方法800中SMF1对应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus can be configured to execute the method or step corresponding to SMF1 in the method 800. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于发送第一信息。The transceiver unit 1110 is configured to send the first information.
处理单元1120,用于确定TCP连接已释放后释放PDU会话。The processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
可选的,第一信息表示PDU会话即将要释放,间接指示终端设备释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属 于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device to release the TCP connection, where the TCP connection is a TCP connection between the terminal device and the application server that bears the resumed transmission service, and the TCP connection belongs to the PDU session. .
可选的,第一信息直接指示终端设备释放TCP连接。Optionally, the first information directly instructs the terminal device to release the TCP connection.
作为示例而非限定,该第一信息的内容可以为PDU Session Modification Command。As an example and not a limitation, the content of the first information may be PDU Session Modification Command.
需要说明的是,该收发单元1110可能通过AMF向终端设备发送第一信息,作为示例而非限定,该收发单元1110可能通过AMF的Namf_Communication_N1N2MessageTransfer服务发送第一信息。It should be noted that the transceiver unit 1110 may send the first information to the terminal device through the AMF. As an example and not a limitation, the transceiver unit 1110 may send the first information through the Namf_Communication_N1N2MessageTransfer service of the AMF.
需要说明的是,该处理单元1120还用于决定进行PDU会话的UPF重选,该PDU会话为该处理单元1120决定进行UPF重选的PDU会话。It should be noted that the processing unit 1120 is further configured to decide to perform UPF reselection of a PDU session, and the PDU session is the PDU session for which the processing unit 1120 decides to perform UPF reselection.
在一种可能的实现方式中,该收发单元1110发送第一信息后,该处理单元1120还用于开启定时器,作为示例而非限定,该定时器可以为UPF relocation定时器。当定时器经过第一时间后,该处理单元1120确定TCP连接已释放,该确定是间接的确定,处理单元1120默认经过第一时间后,TCP连接已释放完毕,然后发起PDU会话的释放。In a possible implementation manner, after the transceiver unit 1110 sends the first information, the processing unit 1120 is further configured to start a timer. As an example and not a limitation, the timer may be a UPF relocation timer. When the timer elapses for the first time, the processing unit 1120 determines that the TCP connection has been released, which is an indirect determination. The processing unit 1120 defaults to the first time after the TCP connection has been released, and then initiates the release of the PDU session.
在一种可能的实现方式中,该收发单元1110还用于接收第二反馈信息,该第二反馈信息由终端设备在收到第一信息后发送,该处理单元1120收到第二反馈信息后开启定时器,作为示例而非限定,该定时器可以为UPF relocation定时器。当定时器经过第一时间后,处理单元1120确定TCP连接已释放,该确定是间接的确定,处理单元1120默认经过第一时间后,TCP连接已释放完毕,然后发起PDU会话的释放。In a possible implementation manner, the transceiver unit 1110 is further configured to receive second feedback information, the second feedback information is sent by the terminal device after receiving the first information, and the processing unit 1120 receives the second feedback information after receiving the second feedback information. A timer is started. As an example and not a limitation, the timer may be a UPF relocation timer. When the timer elapses for the first time, the processing unit 1120 determines that the TCP connection has been released, which is an indirect determination. The processing unit 1120 defaults that after the first time elapses, the TCP connection has been released, and then initiates the release of the PDU session.
在一种可能的实现方式中,收发单元1110收到来自终端设备的第一反馈信息,该第一反馈信息表示TCP连接已释放,该处理单元1120直接确定TCP连接已释放完毕,然后发起PDU会话的释放。In a possible implementation manner, the transceiver unit 1110 receives the first feedback information from the terminal device, the first feedback information indicates that the TCP connection has been released, the processing unit 1120 directly determines that the TCP connection has been released, and then initiates a PDU session release.
该PDU会话的释放具体包括:作为示例而非限定,该收发单元1110可以通过调用AMF的Namf_Communication_N1N2MessageTransfer服务向终端设备发送N1 SM Information,N1 SM Information中包含PDU会话释放指令,该指令包含PDU会话ID和重建PDU会话到相同DN的原因。网络和终端设备完成原PDU会话的释放流程。终端设备接收PDU会话释放指令,生成一个新的PDU会话ID,并发起PDU会话建立流程,AMF选择SMF2,SMF2选择UPF2。网络和终端设备完成SSC mode 2的PDU会话的重新建立。The release of the PDU session specifically includes: as an example but not a limitation, the transceiver unit 1110 can send the N1 SM Information to the terminal device by calling the Namf_Communication_N1N2MessageTransfer service of the AMF, and the N1 SM Information includes a PDU session release instruction, and the instruction includes the PDU session ID and Reason for re-establishing the PDU session to the same DN. The network and the terminal device complete the process of releasing the original PDU session. The terminal device receives the PDU session release instruction, generates a new PDU session ID, and initiates a PDU session establishment process. AMF selects SMF2, and SMF2 selects UPF2. The network and the terminal device complete the re-establishment of the PDU session of SSC mode 2.
在一种可能的实施例中,该通信装置可以用于执行方法900中SMF1对应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus may be configured to execute the method or step corresponding to SMF1 in the method 900. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于发送第一信息。The transceiver unit 1110 is configured to send the first information.
处理单元1120,用于确定TCP连接已释放后释放PDU会话。The processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
可选的,第一信息表示该PDU会话即将要释放,间接指示该应用服务器释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the application server to release the TCP connection. PDU session.
可选的,第一信息直接指示应用服务器释放TCP连接。Optionally, the first information directly instructs the application server to release the TCP connection.
需要说明的是,收发单元1110向应用服务器发送第一信息,实际可能由应用服务器中的应用功能网元接收第一信息,应用功能网元主要负责控制面功能,与5G核心网进行交互,应用服务器主要负责用户面功能,与终端设备之间传输业务数据。It should be noted that the transceiver unit 1110 sends the first information to the application server, and the first information may actually be received by the application function network element in the application server. The application function network element is mainly responsible for the control plane function, interacts with the 5G core network, and applies The server is mainly responsible for the user plane function and transmits service data with the terminal device.
需要说明的是,一个PDU会话对应一个终端设备,一个终端设备可以与至少一个应用服务器通过至少一个TCP连接相连,该至少一个TCP连接有的承载断点续传业务,有的承载其他业务,在本申请实施例中,TCP连接位于终端设备和应用服务器之间,承载断点续传业务。It should be noted that, one PDU session corresponds to one terminal device, and one terminal device can be connected to at least one application server through at least one TCP connection, and some of the at least one TCP connection bears the resume transmission service, and some bears other services. In the embodiment of the present application, the TCP connection is located between the terminal device and the application server, and bears the resumed transmission service from a breakpoint.
在一种可能的实现方式中,收发单元1110通过控制面发送该第一信息给所有关联的应用服务器,由应用服务器判断其与终端设备之间是否为承载断点续传业务的TCP连接,若为TCP连接则发起释放,若为其他TCP连接则可能忽略该第一信息不发起释放。In a possible implementation manner, the transceiver unit 1110 sends the first information to all associated application servers through the control plane, and the application server determines whether the connection between it and the terminal device is a TCP connection that carries the resume transmission service. If it is a TCP connection, the release is initiated. If it is another TCP connection, the first information may be ignored and the release is not initiated.
在一种可能的实现方式中,收发单元1110通过控制面发送该第一信息给承载断点续 传业务的应用服务器,换句话说,将第一信息直接发送给与终端设备之间的连接为TCP连接的应用服务器,需要说明的是,若应用服务器在向SMF1订阅第一信息时,提供的关于自身的信息足够多,则收发单元1110可以仅向承载断点续传业务的应用服务器发送第一信息。In a possible implementation manner, the transceiver unit 1110 sends the first information through the control plane to the application server carrying the resume-break service, in other words, directly sends the first information to the connection with the terminal device as It should be noted that if the application server provides enough information about itself when subscribing to the SMF1 for the first information, the transceiver unit 1110 can only send the first information to the application server carrying the resumed transmission service. a message.
需要说明的是,该处理单元还用于决定进行PDU会话的UPF重选,该PDU会话为处理单元1120决定进行UPF重选的PDU会话。It should be noted that the processing unit is further configured to decide to perform UPF reselection of a PDU session, and the PDU session is the PDU session for which the processing unit 1120 decides to perform UPF reselection.
作为示例而非限定,收发单元1110可以通过Nsmf_EventExposure_Notify服务发送该第一信息。As an example and not a limitation, the transceiving unit 1110 may send the first information through the Nsmf_EventExposure_Notify service.
可选的,收发单元1110可以直接向所有关联的所有应用服务器发送第一信息。Optionally, the transceiver unit 1110 may directly send the first information to all associated application servers.
可选的,收发单元1110可以将第一信息发送到NEF,经NEF转发给关联的所有应用服务器。Optionally, the transceiver unit 1110 may send the first information to the NEF, and forward it to all associated application servers via the NEF.
需要说明的是,该第一信息是应用服务器事先向处理单元1120订阅的。It should be noted that the first information is subscribed by the application server to the processing unit 1120 in advance.
作为示例而非限定,该第一信息是关联的所有应用服务器向处理单元1120订阅early notification信息时订阅的。As an example and not a limitation, the first information is subscribed when all associated application servers subscribe to the processing unit 1120 for early notification information.
可选的,承载断点续传类业务的应用服务器在向处理单元1120订阅第一信息时,同时指示处理单元1120需要等待自身的第一反馈信息,该第一反馈信息在承载断点续传类业务的应用服务器完成释放TCP连接后发送。Optionally, when subscribing to the processing unit 1120 for the first information, the application server that bears the resumed transmission service at the same time instructs the processing unit 1120 that it needs to wait for its own first feedback information, and the first feedback information resumes transmission when the transmission is interrupted. It is sent after the application server of the similar service completes the release of the TCP connection.
可选的,不承载断点续传类业务的应用服务器在向处理单元1120订阅第一信息时,同时指示处理单元1120不需要等待自身的第一反馈信息。Optionally, when subscribing to the processing unit 1120 for the first information, the application server that does not carry a service of the type of resumable transmission, at the same time instructs the processing unit 1120 that the processing unit 1120 does not need to wait for its own first feedback information.
需要说明的是,若该PDU会话关联的所有应用服务器在订阅时都指示不需等待自身的第一反馈信息,则表明该PDU会话上的业务不需进行断点续传。此时,SMF1不需等待第一反馈信息,可以直接发起该PDU会话的释放。It should be noted that if all the application servers associated with the PDU session indicate that they do not need to wait for their own first feedback information when subscribing, it indicates that the service on the PDU session does not need to be resumed. At this time, SMF1 can directly initiate the release of the PDU session without waiting for the first feedback information.
需要说明的是,若该PDU会话关联的所有应用服务器在订阅时有至少一个应用服务器指示需要等待自身的第一反馈信息,则表明该PDU会话上存在需要进行断点续传的业务。It should be noted that if all the application servers associated with the PDU session have at least one application server indicating that they need to wait for their own first feedback information when subscribing, it indicates that there is a service that needs to be resumed on the PDU session.
在一种可能的实现方式中,收发单元1110在向应用服务器发送第一信息后开启定时器,在经过第一时间之后,处理单元1120确定TCP连接已释放,进一步的,触发原PDU会话的释放流程,该第一时间为处理单元1120默认TCP连接被释放需要的时间。In a possible implementation manner, the transceiver unit 1110 starts a timer after sending the first information to the application server, and after the first time elapses, the processing unit 1120 determines that the TCP connection has been released, and further triggers the release of the original PDU session Flow, the first time is the time required by the processing unit 1120 to release the TCP connection by default.
在一种可能的实现方式中,收发单元1110接收第一反馈信息,确定TCP连接已释放,该第一反馈信息是应用服务器释放TCP连接完毕后向收发单元1110发送的。可选的,收发单元1110接收到所有向其订阅第一信息时指示需等待第一反馈信息的应用服务器的第一反馈信息后,进一步的,处理单元1120触发原PDU会话的释放。In a possible implementation manner, the transceiver unit 1110 receives first feedback information to determine that the TCP connection has been released, and the first feedback information is sent to the transceiver unit 1110 after the application server releases the TCP connection. Optionally, after the transceiver unit 1110 receives the first feedback information from all the application servers to which the first information is subscribed indicating that it needs to wait for the first feedback information, further, the processing unit 1120 triggers the release of the original PDU session.
在一种可能的实现方式中,处理单元1120关联的所有应用服务器在订阅第一信息时都指示处理单元1120不需等待第一反馈信息,则收发单元1110发送第一信息后立即触发原PDU会话的释放。In a possible implementation, all application servers associated with the processing unit 1120 instruct the processing unit 1120 not to wait for the first feedback information when subscribing to the first information, and the transceiver unit 1110 triggers the original PDU session immediately after sending the first information release.
处理单元1120触发原PDU会话的释放流程步骤可参见前述步骤。For the process steps of the processing unit 1120 triggering the release of the original PDU session, reference may be made to the foregoing steps.
在一种可能的实施例中,该通信装置可以用于执行方法1000中SMF1对应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus may be configured to execute the method or step corresponding to SMF1 in the method 1000. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于发送第一信息。The transceiver unit 1110 is configured to send the first information.
处理单元1120,用于确定TCP连接已释放后释放PDU会话。The processing unit 1120 is configured to release the PDU session after determining that the TCP connection has been released.
可选的,第一信息表示该PDU会话即将要释放,间接指示终端设备或应用服务器释放TCP连接,该TCP连接为终端设备和应用服务器之间的承载断点续传业务的TCP连接,该TCP连接属于PDU会话。Optionally, the first information indicates that the PDU session is about to be released, and indirectly instructs the terminal device or the application server to release the TCP connection. A connection belongs to a PDU session.
可选的,第一信息直接指示终端设备或应用服务器释放TCP连接。Optionally, the first information directly instructs the terminal device or the application server to release the TCP connection.
在一种可能的实现方式中,收发单元1110可以直接发送第一信息给UPF,UPF将该 第一信息直接包含到UPF数据包的包头中。In a possible implementation manner, the transceiver unit 1110 may directly send the first information to the UPF, and the UPF directly includes the first information into the packet header of the UPF data packet.
在一种可能的实现方式中,收发单元1110可以发送第一信令给UPF,UPF根据该第一信令生成第一信息,并把第一信息包含在UPF数据包的包头中。In a possible implementation manner, the transceiver unit 1110 may send the first signaling to the UPF, and the UPF generates the first information according to the first signaling, and includes the first information in the packet header of the UPF data packet.
作为示例而非限定,收发单元1110给UPF1发送的第一信息或第一信令具体可以是N4 Session Modification Request。可选的,UPF1接收到该第一信息或第一信令,也可以给收发单元1110回复信息,再执行添加第一信息或添加由第一信令生成的第一信息到数据包包头的动作。作为示例而非限定,该回复信息具体可以是N4 Session Modification Response。As an example and not a limitation, the first information or the first signaling sent by the transceiver unit 1110 to the UPF1 may specifically be an N4 Session Modification Request. Optionally, after receiving the first information or the first signaling, the UPF1 can also reply the information to the transceiver unit 1110, and then perform the action of adding the first information or adding the first information generated by the first signaling to the data packet header. . As an example and not a limitation, the reply information may specifically be an N4 Session Modification Response.
在一种可能的实现方式中,收发单元1110在发送第一信息或第一信令给UPF时,开启定时器,当该定时器经过第一时间,处理单元1120确定TCP连接已释放,则发起PDU会话的释放流程,该第一时间为处理单元1120默认TCP连接释放所需要的的时间。In a possible implementation manner, the transceiver unit 1110 starts a timer when sending the first information or the first signaling to the UPF. When the timer elapses for the first time, the processing unit 1120 determines that the TCP connection has been released, and then initiates a timer. For the release process of the PDU session, the first time is the time required by the processing unit 1120 to release the TCP connection by default.
该PDU会话的释放流程与前述相同。The process of releasing the PDU session is the same as the above.
图11示出了根据本申请实施例通信装置1100的示意性框图,所述通信装置1100可以用于执行前述方法终端设备或应用服务器对应的方法或步骤。可选的,该通信装置1100中各个单元可以通过软件来实现。FIG. 11 shows a schematic block diagram of a communication apparatus 1100 according to an embodiment of the present application, where the communication apparatus 1100 may be used to execute the methods or steps corresponding to the terminal device or the application server of the foregoing method. Optionally, each unit in the communication apparatus 1100 may be implemented by software.
在一种可能的实施例中,该通信装置可以用于执行方法800中终端设备对应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus may be configured to execute the method or step corresponding to the terminal device in the method 800. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于接收第一信息。The transceiver unit 1110 is configured to receive the first information.
处理单元1120,用于根据第一信息释放TCP连接。The processing unit 1120 is configured to release the TCP connection according to the first information.
在一种可能的实现方式中,收发单元1110在收到第一信息时,立即通过AMF向SMF1发送第二反馈信息,然后处理单元1120根据第一信息释放TCP连接,该第二反馈信息表示收发单元1110收到第一信息。In a possible implementation manner, upon receiving the first information, the transceiver unit 1110 immediately sends the second feedback information to the SMF1 through the AMF, and then the processing unit 1120 releases the TCP connection according to the first information, and the second feedback information indicates that the transmission and reception information is received. Unit 1110 receives the first message.
作为示例而非限定,该第二反馈信息可以为Ack,该第二反馈信息用于通知SMF1该收发单元1110已经接收到第一信息。As an example and not a limitation, the second feedback information may be Ack, and the second feedback information is used to notify the SMF1 that the transceiver unit 1110 has received the first information.
在一种可能的实现方式中,收发单元1110收到第一信息之后,处理单元1120根据第一信息发起释放TCP连接的流程,当TCP连接释放完毕后,收发单元1110还用于向SMF1发送第一反馈信息,该第一反馈信息指示TCP连接已释放,作为示例而非限定,该第一反馈信息可以通过AMF发送给SMF1。In a possible implementation manner, after the transceiver unit 1110 receives the first information, the processing unit 1120 initiates a process of releasing the TCP connection according to the first information. After the TCP connection is released, the transceiver unit 1110 is further configured to send the first message to SMF1. A feedback information, the first feedback information indicates that the TCP connection has been released, as an example and not a limitation, the first feedback information may be sent to the SMF1 through the AMF.
在一种可能的实施例中,该通信装置可以用于执行方法900中应用服务器应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus can be used to execute the method or step of the application server in the method 900. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于接收第一信息。The transceiver unit 1110 is configured to receive the first information.
处理单元1120,用于根据第一信息释放TCP连接。The processing unit 1120 is configured to release the TCP connection according to the first information.
在一种可能的实现方式中,SMF1向所有关联的收发单元1110发送第一信息,则收发单元1110接收第一信息,该处理单元1120先判断自身是否承载断点续传业务,若承载断点续传业务,进一步的,该处理单元1120根据第一信息释放TCP连接。In a possible implementation manner, the SMF1 sends the first information to all associated transceiver units 1110, and the transceiver unit 1110 receives the first information. The processing unit 1120 first determines whether it carries the breakpoint resume service. For resuming the transmission service, further, the processing unit 1120 releases the TCP connection according to the first information.
在一种可能的实现方式中,SMF1向承载断点续传业务的收发单元1110发送第一信息,则该承载断点续传业务的收发单元1110接收第一信息,进一步的,该处理单元1120根据第一信息释放TCP连接。In a possible implementation manner, the SMF1 sends the first information to the transceiver unit 1110 carrying the resume-break service, and the transceiver unit 1110 carrying the resume-break service receives the first information; further, the processing unit 1120 Release the TCP connection according to the first information.
该收发单元1110还用于向SMF1发送第一反馈信息,该第一反馈信息表示TCP连接已释放。The transceiver unit 1110 is further configured to send first feedback information to the SMF1, where the first feedback information indicates that the TCP connection has been released.
在一种可能的实施例中,该通信装置可以用于执行方法1000中终端设备或应用服务器对应的方法或步骤,该装置如图11所示,该通信装置1100包括:In a possible embodiment, the communication apparatus can be used to execute the method or step corresponding to the terminal device or the application server in the method 1000. The apparatus is shown in FIG. 11 , and the communication apparatus 1100 includes:
收发单元1110,用于接收第一信息。The transceiver unit 1110 is configured to receive the first information.
处理单元1120,用于根据第一信息释放TCP连接。The processing unit 1120 is configured to release the TCP connection according to the first information.
具体的,该收发单元1110解封装上行数据包,接收第一信息,或,该收发单元1110 解封装下行数据包,接收第一信息。Specifically, the transceiver unit 1110 decapsulates the uplink data packet to receive the first information, or the transceiver unit 1110 decapsulates the downlink data packet to receive the first information.
该通信装置1110在实施时,达到的技术效果可参见方法800-1000.When the communication device 1110 is implemented, the technical effects achieved may refer to methods 800-1000.
如图12所示为本申请实施例的又一个通信装置1200示意图,可选的,该通信装置1100中各个单元可以通过软件来实现。该通信装置1200中的收发器1210执行与通信装置1100中收发单元1110类似的动作,该通信装置1200中的处理器1220执行与通信装置1100中处理单元1120类似的动作,详细方法和步骤可参见通信装置1100中的描述。FIG. 12 is a schematic diagram of another communication apparatus 1200 according to an embodiment of the present application. Optionally, each unit in the communication apparatus 1100 may be implemented by software. The transceiver 1210 in the communication device 1200 performs actions similar to the transceiver unit 1110 in the communication device 1100, and the processor 1220 in the communication device 1200 performs actions similar to the processing unit 1120 in the communication device 1100. For detailed methods and steps, please refer to Description in Communication Device 1100 .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (19)

  1. 一种管理协议数据单元会话的方法,其特征在于,包括:A method for managing a protocol data unit session, comprising:
    会话管理功能网元向第一数据传输装置发送第一信息,所述第一信息指示协议数据单元会话会被释放;The session management function network element sends first information to the first data transmission device, the first information indicating that the protocol data unit session will be released;
    所述会话管理功能网元确定所述第一数据传输装置和第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,所述传输控制协议连接承载断点续传业务,所述协议数据单元会话包括所述传输控制协议连接;The session management function network element determines that the transmission control protocol connection between the first data transmission device and the second data transmission device has been released according to the first information, and the transmission control protocol connection bears a resume transmission service, the protocol data unit session includes the transmission control protocol connection;
    所述会话管理功能网元释放所述协议数据单元会话。The session management function network element releases the protocol data unit session.
  2. 根据权利要求1所述的方法,其特征在于,所述第一数据传输装置为终端设备,所述第二数据传输装置为应用服务器,或,The method according to claim 1, wherein the first data transmission device is a terminal device, and the second data transmission device is an application server, or,
    所述第一数据传输装置为应用服务器,所述第二数据传输装置为终端设备。The first data transmission device is an application server, and the second data transmission device is a terminal device.
  3. 根据权利要求1所述的方法,其特征在于,所述第一信息通过用户面功能网元发送,所述第一信息包含在所述用户面功能网元的数据包的包头中。The method according to claim 1, wherein the first information is sent by a user plane function network element, and the first information is included in a packet header of a data packet of the user plane function network element.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述会话管理功能网元确定所述第一数据传输装置和所述第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,包括:The method according to any one of claims 1 to 3, wherein the session management function network element determines that the transmission control protocol connection between the first data transmission device and the second data transmission device has been The first information release includes:
    当所述第一信息发送后经过第一时间,所述会话管理功能网元确定所述传输控制协议连接已根据所述第一信息释放。When the first time elapses after the first information is sent, the session management function network element determines that the transmission control protocol connection has been released according to the first information.
  5. 根据权利要求1或2所述的方法,其特征在于,所述会话管理功能网元确定所述第一数据传输装置和所述第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,包括:The method according to claim 1 or 2, wherein the session management function network element determines that the transmission control protocol connection between the first data transmission device and the second data transmission device has been A release of information, including:
    所述会话管理功能网元接收所述第一数据传输装置发送的第一反馈信息,所述第一反馈信息指示所述传输控制协议连接已释放;receiving, by the session management function network element, first feedback information sent by the first data transmission apparatus, where the first feedback information indicates that the transmission control protocol connection has been released;
    所述会话管理功能网元根据所述第一反馈信息,确定所述传输控制协议连接已根据所述第一信息释放。The session management function network element determines, according to the first feedback information, that the transmission control protocol connection has been released according to the first information.
  6. 一种管理协议数据单元会话的方法,其特征在于,包括:A method for managing a protocol data unit session, comprising:
    第一数据传输装置接收来自会话管理功能网元发送的第一信息,所述第一信息指示协议数据单元会话会被释放;the first data transmission device receives first information sent from the session management function network element, the first information indicating that the protocol data unit session will be released;
    所述第一数据传输装置判断所述第一数据传输装置和第二数据传输装置之间的传输控制协议连接承载断点续传业务,所述协议数据单元会话包括所述传输控制协议连接;The first data transmission device judges that the transmission control protocol connection between the first data transmission device and the second data transmission device bears a resume transmission service, and the protocol data unit session includes the transmission control protocol connection;
    所述第一数据传输装置根据所述第一信息,释放所述传输控制协议连接。The first data transmission apparatus releases the transmission control protocol connection according to the first information.
  7. 根据权利要求6所述的方法,其特征在于,所述第一数据传输装置为终端设备,所述第二数据传输装置为应用服务器,或,The method according to claim 6, wherein the first data transmission device is a terminal device, and the second data transmission device is an application server, or,
    所述第一数据传输装置为应用服务器,所述第二数据传输装置为终端设备。The first data transmission device is an application server, and the second data transmission device is a terminal device.
  8. 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:The method according to claim 6 or 7, wherein the method further comprises:
    所述第一数据传输装置根据所述第一信息,释放所述传输控制协议连接之后,向所述会话管理网元发送第一反馈信息,所述第一反馈信息指示所述传输控制协议连接已释放。After releasing the TP connection according to the first information, the first data transmission apparatus sends first feedback information to the session management network element, where the first feedback information indicates that the TP connection has been connected. freed.
  9. 一种管理协议数据单元会话的通信装置,其特征在于,包括:A communication device for managing a protocol data unit session, comprising:
    收发器,用于向第一数据传输装置发送第一信息,所述第一信息指示协议数据单元会话会被释放;a transceiver, configured to send first information to the first data transmission device, the first information indicating that the protocol data unit session will be released;
    处理器,用于确定所述第一数据传输装置和第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,所述传输控制协议连接承载断点续传业务,所述协议数据单元会话包括所述传输控制协议连接;a processor, configured to determine that the transmission control protocol connection between the first data transmission device and the second data transmission device has been released according to the first information, the transmission control protocol connection bears a resume transmission service, the transmission control protocol connection a protocol data unit session including the transmission control protocol connection;
    所述处理器还用于释放所述协议数据单元会话。The processor is also configured to release the protocol data unit session.
  10. 根据权利要求9所述的通信装置,其特征在于,所述第一数据传输装置为终端设备,所述第二数据传输装置为应用服务器,或,The communication device according to claim 9, wherein the first data transmission device is a terminal device, and the second data transmission device is an application server, or,
    所述第一数据传输装置为应用服务器,所述第二数据传输装置为终端设备。The first data transmission device is an application server, and the second data transmission device is a terminal device.
  11. 根据权利要求9或10所述的通信装置,其特征在于,所述收发器通过用户面功能网元发送所述第一信息,所述第一信息包含在所述用户面功能网元的数据包的包头中。The communication device according to claim 9 or 10, wherein the transceiver sends the first information through a user plane function network element, and the first information is included in a data packet of the user plane function network element in the header.
  12. 根据权利要求9至11任一项所述的通信装置,其特征在于,所述处理器确定所述第一数据传输装置和所述第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,包括:The communication device according to any one of claims 9 to 11, wherein the processor determines that a transmission control protocol connection between the first data transmission device and the second data transmission device has been The first information release, including:
    当所述第一信息发送后经过第一时间,所述处理器确定所述传输控制协议连接已根据所述第一信息释放。When a first time elapses after the first information is sent, the processor determines that the TP connection has been released according to the first information.
  13. 根据权利要求9或10所述的通信装置,其特征在于,所述处理器确定所述第一数据传输装置和所述第二数据传输装置之间的传输控制协议连接已根据所述第一信息释放,包括:The communication device according to claim 9 or 10, wherein the processor determines that a transmission control protocol connection between the first data transmission device and the second data transmission device has been established according to the first information release, including:
    所述收发器接收所述第一数据传输装置发送的第一反馈信息,所述第一反馈信息指示所述传输控制协议连接已释放;receiving, by the transceiver, first feedback information sent by the first data transmission apparatus, the first feedback information indicating that the transmission control protocol connection has been released;
    所述处理器确定所述传输控制协议连接已根据所述第一信息释放。The processor determines that the Transmission Control Protocol connection has been released according to the first information.
  14. 一种管理协议数据单元会话的通信装置,其特征在于,包括:A communication device for managing a protocol data unit session, comprising:
    收发器,用于接收来自会话管理功能网元发送的第一信息,所述第一信息指示协议数据单元会话会被释放;a transceiver, configured to receive first information sent from the session management function network element, the first information indicating that the protocol data unit session will be released;
    处理器,用于判断所述通信装置和数据传输装置之间的传输控制协议连接承载断点续传业务,所述协议数据单元会话包括所述传输控制协议连接;a processor for judging that the transmission control protocol connection between the communication device and the data transmission device bears a resume transmission service, and the protocol data unit session includes the transmission control protocol connection;
    所述处理器还用于根据所述第一信息,释放所述传输控制协议连接。The processor is further configured to release the transmission control protocol connection according to the first information.
  15. 根据权利要求14所述的通信装置,其特征在于,所述通信装置为终端设备,所述数据传输装置为应用服务器,或,The communication device according to claim 14, wherein the communication device is a terminal device, and the data transmission device is an application server, or,
    所述通信装置为应用服务器,所述数据传输装置为终端设备。The communication device is an application server, and the data transmission device is a terminal device.
  16. 根据权利要求14或15所述的通信装置,其特征在于,The communication device according to claim 14 or 15, characterized in that:
    所述处理器根据所述第一信息,释放传输控制协议连接之后,所述收发器向所述会话管理网元发送第一反馈信息,所述第一反馈信息指示所述传输控制协议连接已释放。After the processor releases the TP connection according to the first information, the transceiver sends first feedback information to the session management network element, the first feedback information indicating that the TP connection has been released .
  17. 一种用于管理协议数据单元会话的通信系统,其特征在于,包括权利要求9-16所述的通信装置。A communication system for managing a protocol data unit session, characterized by comprising the communication device described in claims 9-16.
  18. 一种计算机可读存储介质,其特征在于,包括计算机程序,所述计算机程序在计算机上被执行时,使得计算机执行如权利要求1-8中任一项所述的方法。A computer-readable storage medium, characterized by comprising a computer program, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1-8.
  19. 一种芯片,其特征在于,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行如权利要求1-8中任一项所述的方法。A chip, characterized in that it comprises a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute any one of claims 1-8. one of the methods described.
PCT/CN2021/091512 2021-04-30 2021-04-30 Method for managing protocol data unit session, and device WO2022227010A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/091512 WO2022227010A1 (en) 2021-04-30 2021-04-30 Method for managing protocol data unit session, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/091512 WO2022227010A1 (en) 2021-04-30 2021-04-30 Method for managing protocol data unit session, and device

Publications (1)

Publication Number Publication Date
WO2022227010A1 true WO2022227010A1 (en) 2022-11-03

Family

ID=83847487

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/091512 WO2022227010A1 (en) 2021-04-30 2021-04-30 Method for managing protocol data unit session, and device

Country Status (1)

Country Link
WO (1) WO2022227010A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738086A (en) * 2017-04-21 2018-11-02 华为技术有限公司 A kind of method and device of user plane gravity treatment
CN110063084A (en) * 2016-10-07 2019-07-26 Lg电子株式会社 The method and device thereof of selection session and service modulus of continuity formula in a wireless communication system
CN110582126A (en) * 2018-06-11 2019-12-17 华为技术有限公司 Communication method and device
WO2020067677A1 (en) * 2018-09-27 2020-04-02 삼성전자 주식회사 Method for operating application requiring communication with external device, and electronic device therefor
CN111586670A (en) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 Method for realizing service continuity and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110063084A (en) * 2016-10-07 2019-07-26 Lg电子株式会社 The method and device thereof of selection session and service modulus of continuity formula in a wireless communication system
CN108738086A (en) * 2017-04-21 2018-11-02 华为技术有限公司 A kind of method and device of user plane gravity treatment
CN110582126A (en) * 2018-06-11 2019-12-17 华为技术有限公司 Communication method and device
WO2020067677A1 (en) * 2018-09-27 2020-04-02 삼성전자 주식회사 Method for operating application requiring communication with external device, and electronic device therefor
CN111586670A (en) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 Method for realizing service continuity and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VIVO: "Newly added UE behaviour for eEDGE in SSC mode 2 and 3", 3GPP DRAFT; S2-2102741, vol. SA WG2, 6 April 2021 (2021-04-06), pages 1 - 4, XP051994115 *

Similar Documents

Publication Publication Date Title
US11937131B2 (en) Resume request followed by release and redirect
JP6105665B2 (en) Method and apparatus for identification and transfer in internet protocol multimedia subsystem collaborative sessions
WO2019076306A1 (en) Data transmission channel processing method, apparatus and system
WO2011035100A2 (en) Method and apparatus for providing peer-to-peer communication with network connection
US11419027B2 (en) User plane link establishment method, base station, and mobility management device
WO2009015525A1 (en) A method for switching the session control path of ip multimedia core network subsystem centralized service
WO2021042653A1 (en) Path switching method, communication apparatus, and communication system
US11722574B2 (en) Packet transmission method, communication apparatus, and communication system
WO2018068598A1 (en) Session management method, mobile management functional entity and session management functional entity
TWI792415B (en) Multi-access pdu session state synchronization between ue and network
CN111787580A (en) Data stream processing method, device and storage medium
US8914049B2 (en) Method for managing a status of a mobile station in a wireless network
JP2023534597A (en) A mechanism for coordinating seamless service continuity to edge application servers during relocation
US20110173292A1 (en) Push based inter-operator inter-device transfer
WO2011146679A1 (en) User equipment initiated inter user equipment transfer, iut, based on policy
US20230018378A1 (en) Parameter configuration method, apparatus and system, device and storage medium
WO2022227010A1 (en) Method for managing protocol data unit session, and device
US20110205937A1 (en) Pull based inter-operator inter-device transfer
WO2021134756A1 (en) Method and apparatus for link switching, and communication device
JP7377987B2 (en) Communication network configuration and method for providing communication services
TWI805465B (en) A method of enhancing 3gpp session establishment procedure and an user equipment thereof
CN113993169B (en) Method, device, equipment and storage medium for changing data transmission mode
WO2022179500A1 (en) Communication method and apparatus
WO2023045839A1 (en) Communication method and apparatus, core network device and communication device
WO2022165787A1 (en) Parameter configuration method and apparatus, device, and storage medium

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: 21938484

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21938484

Country of ref document: EP

Kind code of ref document: A1