User plane connection processing method and device, computer equipment and storage medium

The AMF network element sends an instruction message to the AMF network element through the LMF network element, and the AMF network element sends a message to the terminal device to terminate the user plane connection, solving the problem of failure to clearly terminate the user plane connection of the terminal device in the prior art, and achieving efficient network resources release.

CN118945902APending Publication Date: 2024-11-12CHINA TELECOM CO LTD SHANGHAI RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310572997.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-12
Filing Date
2023-05-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The prior art has failed to clearly define the specific processing process of terminating the user-plane connection of the terminal device for positioning services, resulting in the inability to effectively terminate and release network resources.

Method used

Provide a user-plane connection processing method, sending an instruction message to the AMF network element through the LMF network element, and the AMF network element then sends a message to the terminal device to terminate the user-plane connection, so that the terminal device can terminate the user-plane connection according to the message, and passes through the PDU The session modification or release process enables the termination of the connection.

Benefits of technology

The specific process of LMF network element termination of user plane connections at terminal equipment is clarified, and the efficiency of releasing network resources and the efficiency of terminating user plane connections is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945902A_ABST
    Figure CN118945902A_ABST
Patent Text Reader

Abstract

The invention relates to a user plane connection processing method and device, computer equipment and a storage medium. The present invention relates to the technical field of communications, the method comprising: an LMF network element sending a first message to an AMF network element, the AMF network element sending a second message to a terminal device, the second message being used for instructing the terminal device to terminate a user plane connection, so that the terminal device can terminate the user plane connection according to the second message. According to the method and the device, the specific process that the LMF network element terminates the user plane connection of the terminal equipment under the condition that the LMF network element detects that the terminal equipment does not use the user plane connection for a long time is clarified, so that the release efficiency of network resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application number 202310540048.0, filed on May 12, 2023, and entitled “User plane connection processing method, device, computer equipment and storage medium”, the entire text of which is hereby incorporated by reference. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a user plane connection processing method, apparatus, computer equipment and storage medium. Background Art

[0003] In the 3GPP (3rd Generation Partnership Project) specification, eLCS (enhancement to the 5GC LoCation Services) R18 determined in the SA2#155 meeting that the LMF (Location Management Function) network element can determine to use the user plane for positioning services, and released the signaling processing process. Correspondingly, the LMF can also terminate the user plane connection for positioning services. For example, if the LMF network element detects that the user plane connection has not been used within a specific time, it terminates the user plane connection of the terminal device for positioning services, or, for some reason, the LMF decides to use the control plane for positioning services, thereby terminating the user plane connection of the terminal device for positioning services. .

[0004] However, the specific processing procedure of how to terminate the user plane connection of the terminal device for the positioning service is not specified in the prior art, so that the processing of terminating the user plane connection of the terminal device for the positioning service cannot be implemented. Summary of the invention

[0005] Based on this, it is necessary to provide a user plane connection processing method, apparatus, computer equipment and computer-readable storage medium that can clearly terminate the user plane connection process of the terminal device in response to the above technical problems.

[0006] In a first aspect, the present application provides a user plane connection processing method. Applied to an access and mobility management function AMF network element, the method comprising:

[0007] Receiving a first message sent by a location management function LMF network element;

[0008] A second message is sent to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0009] In one of the embodiments, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0010] In one of the embodiments, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0011] In one of the embodiments, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0012] In one of the embodiments, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0013] In one of the embodiments, the method further includes: receiving a first response message sent by the terminal device, wherein the first response message is used to respond to the second message.

[0014] In one of the embodiments, the method further includes: sending a second response message to the LMF network element, wherein the second response message is used to respond to the first message.

[0015] In one of the embodiments, terminating the user plane connection is initiating a protocol data unit PDU session modification process, or initiating a PDU session release process.

[0016] In one of the embodiments, the method further includes: receiving a release message sent by the LMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

[0017] In one of the embodiments, the method further comprises: releasing the positioning information user plane context information of the terminal device.

[0018] In a second aspect, the present application provides a user plane connection processing method. Applied to a terminal device, the method includes:

[0019] Receive a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0020] In one of the embodiments, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0021] In one of the embodiments, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0022] In one of the embodiments, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0023] In one of the embodiments, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0024] In one of the embodiments, the method further includes: sending a first response message to the AMF network element.

[0025] In one of the embodiments, the method further includes: initiating a process of terminating a user plane connection according to the second message.

[0026] In one of the embodiments, the process of initiating termination of the user plane connection according to the second message includes: if the positioning service uses an independent PDU session, initiating a PDU session release process; otherwise, initiating a PDU session modification process.

[0027] In one of the embodiments, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0028] In a third aspect, the present application provides a user plane connection processing method. Applied to an LMF network element, the method includes:

[0029] Send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0030] In one of the embodiments, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0031] In one of the embodiments, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0032] In one of the embodiments, the first message includes third indication information; the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0033] In one of the embodiments, the second message includes fourth indication information; the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0034] In one of the embodiments, the method further includes: receiving a second response message sent by the AMF network element.

[0035] In one of the embodiments, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0036] In one of the embodiments, the method further includes: sending a release message to the AMF network element.

[0037] In a fourth aspect, the present application further provides a user plane connection processing method. Applied to an LMF network element, the method comprises:

[0038] Send a target message to the AMF network element, where the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

[0039] In one embodiment, the method further comprises:

[0040] A first data packet is sent to a terminal device, where the first data packet is used to instruct the terminal device to terminate a user plane connection.

[0041] In one embodiment, the method further comprises:

[0042] A second data packet sent by the terminal device is received, where the second data packet is used to respond to the first data packet.

[0043] In a fifth aspect, the present application also provides a user plane connection processing method. Applied to a terminal device, the method includes:

[0044] Receiving a first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection;

[0045] In one embodiment, the method further comprises:

[0046] A process of terminating a user plane connection is initiated according to the first data packet.

[0047] In one embodiment, the process of initiating termination of the user plane connection according to the first data packet includes:

[0048] Initiate the PDU session release process;

[0049] Alternatively, initiate a PDU session modification process.

[0050] In one embodiment, the method further comprises:

[0051] Send a target request to the AMF network element, wherein the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0052] In one of the embodiments, the target request is a PDU session release request or a PDU session modification request.

[0053] In one embodiment, the method further comprises:

[0054] A second data packet is sent to the LMF network element, where the second data packet is used to respond to the first data packet.

[0055] In a sixth aspect, the present application also provides a user plane connection processing method. Applied to an AMF network element, the method includes:

[0056] Receive a target message sent by an LMF network element, or receive a target request sent by a terminal device; wherein the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0057] In one embodiment, the method further comprises:

[0058] According to the target message or the target request, the positioning user plane connection context information is released.

[0059] In one embodiment, the method further comprises:

[0060] The target message includes target indication information, and the positioning user plane connection context information is released according to the target indication information.

[0061] In one of the embodiments, the target message sent by the LMF network element is Nlmf_Location_UPNotify or Nlmf_Location_UPConfig Response.

[0062] In one of the embodiments, the target request is a PDU session release request or a PDU session modification request.

[0063] In a seventh aspect, the present application provides a user plane connection processing device. Applied to the AMF network element side, comprising:

[0064] A first receiving module, used to receive a first message sent by the LMF network element;

[0065] The first sending module is used to send a second message to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0066] In an eighth aspect, the present application provides a user plane connection processing device, which is applied to a terminal device side and includes:

[0067] The second receiving module is used to receive a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0068] In a ninth aspect, the present application provides a user plane connection processing device, which is applied to the LMF network element side, and includes:

[0069] The third sending module is used to send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0070] In a tenth aspect, the present application provides a user plane connection processing device, which is applied to the LMF network element side, and includes:

[0071] The target message sending module is used to send a target message to the AMF network element, and the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

[0072] In an eleventh aspect, the present application provides a user plane connection processing device, which is applied to a terminal device side and includes:

[0073] The first data receiving module is used to receive the first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0074] In a twelfth aspect, the present application provides a user plane connection processing device. Applied to the AMF network element side, comprising:

[0075] A target receiving module is used to receive a target message sent by an LMF network element, or to receive a target request sent by a terminal device; wherein the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0076] In a thirteenth aspect, the present application further provides a computer device. The computer device includes a memory, a processor and a transceiver, the memory stores a computer program, the transceiver is used to send and receive data under the control of the processor, and the processor implements the steps of the above-mentioned user plane connection processing method when executing the computer program.

[0077] In a fourteenth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned user plane connection processing method are implemented.

[0078] In a fifteenth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the user plane connection processing method are implemented.

[0079] The above-mentioned user plane connection processing method, apparatus, computer equipment, storage medium and computer program product, through the LMF network element, sends a first message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection. After the AMF network element receives the first message, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection, so that after the terminal device receives the second message, it can terminate the user plane connection according to the second message. This application clarifies the specific process of the LMF network element terminating the user plane connection of the terminal device.

[0080] The above-mentioned user plane connection processing method, device, computer equipment, storage medium and computer program product, the LMF network element sends a first data packet to the terminal device to instruct the terminal device to terminate the user plane connection, so that the terminal device can terminate the user plane connection according to the first data packet. The present application simplifies the process of the LMF network element terminating the user plane connection of the terminal device, improves the efficiency of terminating the user plane connection, and at the same time, improves the efficiency of releasing network resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 This is an application environment diagram of a method for processing a user plane connection in an embodiment;

[0082] Figure 2 A schematic diagram of a flow chart of a method for processing a user plane connection in an embodiment;

[0083] Figure 3 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0084] Figure 4 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0085] Figure 5It is a flowchart of a method for processing a user plane connection in another embodiment;

[0086] Figure 6 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0087] Figure 7 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0088] Figure 8 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0089] Fig. 9 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0090] Fig.10 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0091] Fig.11 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0092] Fig.12 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0093] Fig.13 It is a flowchart of a method for processing a user plane connection in another embodiment;

[0094] Fig.14 is a structural block diagram of a user plane connection processing device in an embodiment;

[0095] Fig.15 is a structural block diagram of a user plane connection processing device in another embodiment;

[0096] Fig.16 is a structural block diagram of a user plane connection processing device in another embodiment;

[0097] Fig.17 is a structural block diagram of a user plane connection processing device in another embodiment;

[0098] Fig.18 is a structural block diagram of a user plane connection processing device in another embodiment;

[0099] Fig.19 is a structural block diagram of a user plane connection processing device in another embodiment;

[0100] Fig. 20 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0101] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0102] The user plane connection processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown.

[0103] Among them, UE (user equipment) is also known as terminal equipment, which is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal equipment can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal device, etc. Terminal equipment may also be sometimes referred to as terminal, user equipment, access terminal equipment, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal equipment, mobile equipment, UE agent or UE device, etc. Terminal equipment may also be fixed or mobile. Figure 1 In this application, the terminal device is introduced by taking UE as an example.

[0104] UE accesses DN (Data Network) and so on by accessing the operator network, and can use the services provided by the operator or a third party on the DN. For the convenience of explanation, the user terminal, user equipment, terminal equipment or terminal in the embodiments of the present application may be collectively referred to as UE. That is, unless otherwise specified, the UE described in the embodiments of the present application hereinafter may be replaced by a user terminal, user equipment, terminal equipment or terminal, and of course they may be interchangeable with each other. Similarly, the AMF network element and AMF described in the embodiments hereinafter may be interchangeable with each other, and the LMF network element and LMF may be interchangeable with each other.

[0105] (R)AN: (Radio) access network (R)AN) mainly controls UE's wireless access to the mobile communication network.

[0106] Access and Mobility Management Function (AMF) is a control plane function in the 3GPP network, which is mainly responsible for access control and mobility management of UE access to the operator network.

[0107] The main function of LMF is to manage the coordination and resource management of positioning services of terminal devices registered or connected to 5GC.

[0108] UPF (User Plane Function) is the gateway for communication between the 3GPP network and the DN.

[0109] 3GPP network refers to a network that complies with 3GPP standards. Figure 1 The parts other than UE and DN can be regarded as 3GPP networks. 3GPP networks are not limited to 5G networks defined by 3GPP, but can also include 2G, 3G, and 4G networks. Usually 3GPP networks are operated by operators. Figure 1 N1, N2, N3, NLs, N6, etc. in the illustrated architecture represent reference points between related network entities / network functions.

[0110] In one embodiment, Figure 2 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 The AMF network element in the example is used to illustrate, including the following steps:

[0111] S202, receiving a first message sent by a location management function LMF network element.

[0112] There is no restriction on how the LMF determines the conditions for sending the first message. For example, it may be sent when the LMF network element detects that the terminal device has not used the user plane connection for positioning services within a preset time period, or when the LMF network element detects that the terminal device has not used the user plane connection for positioning services within a preset time period. The first message can be used to notify the AMF network element to send a second message to the terminal device, so that the AMF network element sends a second message to the terminal device to notify the terminal device to terminate the positioning service of the user plane connection, and the terminal device can terminate the positioning service of the user plane connection according to the second message. The LMF network element can directly send the first message to the AMF network element; or the LMF network element can carry the first message in other messages during the process of sending other messages, and the LMF network element sends the other messages together with the first message to the AMF network element. For the convenience of description, terminating the user plane connection used for positioning services is simply described as terminating the user plane connection, and the same is handled throughout the text.

[0113] In one embodiment, in the process of the LMF network element sending a Namf_Communication_N1N2Transfer or Nlmf_Location_UPNotify message to the AMF network element, the first message may be a Namf_Communication_N1N2Transfer message or a Nlmf_Location_UPNotify message, and the Namf_Communication_N1N2Transfer message or the Nlmf_Location_UPNotify message carries an indication of terminating the user plane connection. The specific form of the indication information is not limited, for example, Terminates User Plane.

[0114] In one embodiment, in the process of the LMF network element sending a Namf_Communication_N1N2Transfer message or a Nlmf_Location_UPNotify message to the AMF network element, the Namf_Communication_N1N2Transfer message or the Nlmf_Location_UPNotify message may include a first message. The first message carries an indication of terminating a user plane connection, for example, Terminates User Plane.

[0115] In one embodiment, the name of the first message is not limited and may be a Namf_User_Plane_Termination message. The LMF network element may send a Namf_User_Plane_Termination message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0116] S204, sending a second message to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0117] The second message may be sent when the AMF network element receives the first message sent by the LMF network element. The AMF network element may directly send the second message to the terminal device, or the AMF network element may carry the second message in other messages while sending other messages, and the AMF network element sends the other messages together with the second message to the terminal device.

[0118] In one embodiment, in the process of the AMF network element sending a DL NAS Transport message to the terminal device, the second message may be a DL NAS Transport message, which carries indication information for indicating the termination of the user plane connection. Here, the present application does not specifically limit the form of the specific indication.

[0119] In one embodiment, in the process of the AMF network element sending a DL NAS Transport message to the terminal device, the DL NAS Transport message includes a second message, and the second message may carry indication information for indicating the termination of the user plane connection.

[0120] In one embodiment, the specific name of the second message is not limited, for example, it can be a Release the UserPlane message, and the AMF network element can send a Release the User Plane message to the terminal device to instruct the terminal device to terminate the user plane connection.

[0121] In this embodiment, the LMF network element sends a first message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection. After receiving the first message, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection, so that after the terminal device receives the second message, it can terminate the user plane connection according to the second message. This application clarifies the specific process of the LMF network element terminating the user plane connection of the terminal device to improve the release efficiency of network resources.

[0122] It should be noted that in the process of performing positioning services between the LMF network element and the terminal device, if the LMF network element terminates the user plane connection of the terminal device, at this time, there will be two situations: canceling the positioning service or continuing the positioning service. Therefore, the present application provides the following two embodiments, which formulate clear processes for the two possible situations of terminating the user plane connection and canceling the positioning service, and terminating the user plane connection and continuing the positioning service. Please refer to the following embodiments for details.

[0123] In one embodiment, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection. The second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection. In the present application, the LMF network element sends a first message to the AMF network element, and can notify the terminal device to terminate the user plane connection by instructing the AMF network element. Further, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection, so that the terminal device can terminate the user plane connection according to the second message. The present application clarifies the specific process by which the LMF network element initiates the termination of the user plane connection for positioning services in certain circumstances. For example, when it is detected that the terminal device has not used the user plane connection for positioning services for a long time, the LMF network element terminates the specific process of the user plane connection of the terminal device. That is, the LMF network element determines the specific process of terminating the user plane connection with the terminal device for positioning services.

[0124] In one embodiment, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection for the positioning service, and to perform the positioning service through the control plane connection. The second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection for the positioning service, and to perform the positioning service through the control plane connection. In this application, the LMF network element can notify the AMF network element to instruct the terminal device to perform the positioning service through the control plane after terminating the user plane connection, so that the terminal device can perform the positioning service through the control plane after terminating the user plane connection according to the second message sent by the AMF network element. This application clarifies the specific process of the LMF network element initiating the termination of the user plane connection for the positioning service in some cases. For example, when it is detected that the terminal device has not used the user plane connection for the positioning service for a long time, the LMF network element terminates the user plane connection of the terminal device and allows the terminal device to perform the positioning service through the control plane. That is, the LMF network element determines to terminate the user plane connection of the terminal device, and performs the specific process of the LCS positioning service of the terminal device through the control plane connection. Among them, the indication form of the third indication information can be Control plane or Terminates User Plane, etc., which is not specifically limited in this application. In the present disclosure, after the terminal device terminates the user plane connection, the terminal device can perform positioning services through the control plane connection, thereby ensuring the stability of the positioning services of the terminal device.

[0125] In one embodiment, the method further includes: receiving a first response message sent by the terminal device, the first response message being used to respond to the second message. After terminating the user plane connection according to the second message, the terminal device sends a first response message to the AMF network element so as to inform the AMF network element that the terminal device has received the second message. The first response message may be carried in a UL NAS Transport (ACK) message sent by the terminal device to the AMF network element, or the first response message may be used as a Release the User Plane ACK message, and the terminal device directly sends the Release the User Plane (ACK) message to the AMF network element.

[0126] In one embodiment, after receiving the first response message sent by the terminal device, the method further includes: releasing the location information user plane context information (LCS-UP, LCS (LoCation Services UserPlane)) of the terminal device.

[0127] In one embodiment, the above method also includes: receiving a release message sent by the LMF network element, wherein the release message is used to instruct the AMF network element to release the user plane context information of the positioning information, or the release message includes indication information used to instruct the AMF network element to release the user plane context information of the positioning information. The name of the release message is not limited. For example, the release message may be Nlmf_Location_UPNotify. When the release message includes indication information instructing the AMF network element to release the user plane context information of the positioning information, the indication information may be LCS-UP context release indication. Optionally, after the AMF network element receives the release message sent by the LMF network element, the AMF network element may release the user plane context information of the positioning information of the terminal device.

[0128] In one embodiment, the above method also includes: sending a second response message to the LMF network element, and the second response message is used to respond to the first message. After receiving the first response message, the AMF network element can send a second response message to the LMF network element, and the second response message can also be used to notify the LMF network element that it has received a message to terminate the user plane connection of the terminal device, or to notify the LMF network element that the user plane connection of the terminal device has been terminated and the positioning service is performed through the control plane connection. Among them, the second response message can be carried in the Namf_Communication_N1N2Transferresponse message or the Nlmf_Location_UPNotify message sent by the AMF network element to the LMF network element, or the second response message is used as a Namf_User_Plane_Termination Ack message, and the AMF network element directly sends the Namf_User_Plane_Termination Ack message to the LMF network element.

[0129] In one embodiment, terminating the user plane connection is initiating a PDU session modification process or initiating a PDU session release process. The terminal device may initiate a PDU session modification process or a PDU session release process according to the second message to terminate the user plane connection of the terminal device. For example, if the positioning service is performed by using a separate PDU session, the terminal device initiates a PDU session release process; if the positioning service is performed by using a shared PDU session, the terminal device initiates a PDU session modification process.

[0130] In one embodiment, Figure 3 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 The UE in FIG. 1 is taken as an example to illustrate, and the following steps are included:

[0131] S302, receiving a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on receiving the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection used for the positioning service.

[0132] In this embodiment, the LMF network element sends a first message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection for the positioning service. After receiving the first message, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection for the positioning service, so that after the terminal device receives the second message, it can terminate the user plane connection for the positioning service according to the second message. This application clarifies the specific process of the LMF network element terminating the user plane connection of the terminal device for the positioning service to improve the release efficiency of network resources.

[0133] Optionally, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection for the positioning service.

[0134] Optionally, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection for the positioning service.

[0135] Optionally, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection used for the positioning service, and perform the positioning service through the control plane connection.

[0136] Optionally, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection used for the positioning service and perform the positioning service through the control plane connection.

[0137] In one embodiment, the method further includes: sending a first response message to the AMF network element. After the terminal device receives the second message, the first response message can be sent to the AMF network element to notify the AMF network element that the terminal device has received the second message.

[0138] In one embodiment, the above method also includes: initiating a process of terminating the user plane connection according to the second message. The process of initiating the termination of the user plane connection according to the second message may include: initiating a PDU session release process; or, initiating a PDU session modification process. For example, if the positioning service is performed by using a separate PDU session, a PDU session release process is initiated; if the positioning service is performed by using a shared PDU session, a PDU session modification process is initiated. Among them, a shared PDU session refers to a PDU session for performing positioning service that also has other application services, that is, reusing the PDU session of other services, and the same treatment is used throughout the text.

[0139] In one embodiment, the process of initiating termination of the user plane connection according to the second message may include:

[0140] If the positioning service uses a separate PDU session, a PDU session release process is initiated; otherwise, a PDU session modification process is initiated.

[0141] Among them, the PDU session release process initiated can be the PDU session release requested by the terminal device. The UE sends a NAS message (PDU session release request) to the AMF, and the AMF sends a PDU session release request message to the SMF. The PDU session release request message includes the PDU session identifier of the positioning service, and then the SMF network element releases the corresponding PDU session.

[0142] If the UE initiates the PDU session modification process, the terminal device initiates a PDUSession Modification Request by sending a NAS message to release the user plane resources for the positioning service in the PDU session. For example, the TFT (Traffic Flow Template) can be updated to delete the information of the positioning service flow (five-tuple or three-tuple information), so that the data flow related to the positioning service cannot be transmitted in the PDU session.

[0143] In one embodiment, the terminal device can receive a notification of terminating the user plane connection sent by the LMF network element through the application layer network; or the terminal device can also receive a notification of terminating the user plane connection sent by the LMF network element through the application layer network and switching to the control plane connection to report location information.

[0144] In one embodiment, Figure 4 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 Take LMF in the example as an example, including the following steps:

[0145] S402, send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection used for the positioning service.

[0146] In this embodiment, the LMF network element sends a first message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection for the positioning service. After receiving the first message, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection for the positioning service, so that after the terminal device receives the second message, it can terminate the user plane connection according to the second message. This application clarifies the specific process of the LMF network element terminating the user plane connection of the terminal device to improve the efficiency of releasing network resources.

[0147] Optionally, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection for the positioning service.

[0148] Optionally, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection for the positioning service.

[0149] Optionally, the first message includes third indication information; the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection used for the positioning service, and perform the positioning service through the control plane connection.

[0150] Optionally, the second message includes fourth indication information; the fourth indication information is used to instruct the terminal device to terminate the user plane connection for the positioning service and perform the positioning service through the control plane.

[0151] In one embodiment, the method further includes: receiving a second response message sent by the AMF network element. After the AMF network element receives the first response message sent by the terminal device, the AMF network element sends a second response message to the LMF network element so as to notify the LMF network element of the message that the AMF receives the first message.

[0152] In one embodiment, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0153] In one embodiment, the LMF network element may notify the terminal device through the application layer network to terminate the user plane connection; alternatively, the LMF network element may also notify the terminal device through the application layer network to terminate the user plane connection and use the control plane for positioning services.

[0154] In one embodiment, the above method also includes: sending a release message to the AMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

[0155] For example, this embodiment provides an optional implementation process based on the above embodiment, see Figure 5 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0156] S502, LMF sends a first message to AMF.

[0157] Among them, the first message can be used to instruct the AMF network element to notify the terminal device to terminate the user plane connection used for the positioning service, or to instruct the AMF network element to notify the terminal device to terminate the user plane connection used for the positioning service and perform the positioning service through the control plane connection.

[0158] S504, AMF sends a second message to the UE.

[0159] The second message may be used to instruct the terminal device to terminate the user plane connection for the positioning service, or to instruct the terminal device to terminate the user plane connection for the positioning service and perform the positioning service through the control plane.

[0160] S506, UE sends a first response message to AMF.

[0161] Among them, the first response message can be used to notify the AMF network element that the second message has been received.

[0162] S508, AMF sends a second response message to LMF.

[0163] Among them, the second response message can be used to notify the LMF network element that the AMF network element has received the first message.

[0164] In this embodiment, the LMF network element sends a first message to the AMF network element to instruct the AMF network element to notify the terminal device to terminate the user plane connection. After receiving the first message, the AMF network element sends a second message to the terminal device to instruct the terminal device to terminate the user plane connection, so that after the terminal device receives the second message, it can terminate the user plane connection according to the second message. This application clarifies the specific process of the LMF network element terminating the user plane connection of the terminal device to improve the release efficiency of network resources.

[0165] The specific process of S502-S508 above can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0166] In one embodiment, the first message is a Namf_Communication_N1N2Transfer message or a Namf_Communication_N1N2Transfer message carrying a first message, the second message is a DL NAS Transport message or a DLNAS Transport message carrying a second message, the first response message is a UL NAS Transport message, and the second response message is a Namf_Communication_N1N2Transfer response message. For example, this embodiment provides an optional implementation process, see Figure 6 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0167] S602, LMF sends an N1N2 transmission message to AMF.

[0168] Among them, the N1N2 transmission message under the communication service interface is the Namf_Communication_N1N2Transfer message.

[0169] S604, AMF sends a downlink non-access layer transmission message to the UE.

[0170] The downlink non-access layer transport message is a DL NAS Transport message.

[0171] S606, the UE sends an uplink non-access layer transmission message to the AMF.

[0172] The uplink non-access layer transport message is a UL NAS Transport message.

[0173] S608, AMF sends an N1N2 transmission response message under the communication service interface to LMF.

[0174] Among them, the N1N2 transfer response message under the communication service interface is the Namf_Communication_N1N2Transfer response message.

[0175] The specific process of S602-S608 above can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0176] In one embodiment, the first message is a Namf_User_Plane_Termination message, the second message is a Release the User Plane message, the first response message is a Release the User Plane (ACK) message, and the second response message is a Namf_User_Plane_Termination (ACK) message. This embodiment provides an optional implementation process, see Figure 7 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0177] S702, LMF sends a termination user plane message to AMF.

[0178] The user plane termination message is a Namf_User_Plane_Termination message.

[0179] S704, AMF sends a user plane release message to the UE.

[0180] The message for releasing the user plane is a Release the User Plane message.

[0181] S706, the UE sends a release user plane response message to the AMF.

[0182] The user plane release confirmation message is a Release the User Plane message.

[0183] S708, AMF sends a termination user plane response message to LMF.

[0184] The user plane termination confirmation message is a Namf_User_Plane_Termination message.

[0185] The specific process of S702-S708 above can be found in the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0186] In one embodiment, the first message is an Nlmf_Location_UPNotify (UP Disconnection) message carrying the first message, the second message is a DL NAS Transport message or a DL NAS Transport message carrying the second message, the first response message is a UL NAS Transport message, and the second response message is an Nlmf_Location_UPNOtify (UPDisconnection Acknowledge) message. For example, this embodiment provides an optional implementation process, see Figure 8 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0187] S802, LMF sends an N1N2 transmission message to AMF.

[0188] Among them, the user plane connection notification message for positioning services under the communication service interface is the Nlmf_Location_UPNOtify message.

[0189] S804, AMF sends a downlink non-access layer transmission message to the UE.

[0190] S806, the UE sends an uplink non-access layer transmission message to the AMF.

[0191] S808, AMF sends an N1N2 transmission response message under the communication service interface to LMF.

[0192] Among them, the user plane connection notification message for positioning services under the communication service interface is the Nlmf_Location_UPNotify message.

[0193] The specific process of S802-S808 above can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0194] In one embodiment, Fig. 9 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 Take LMF in the example as an example, including the following steps:

[0195] S902, send the target message to the AMF network element.

[0196] Among them, the target message is used to instruct the AMF network element to release the positioning user plane connection context information. Releasing the positioning user plane connection context also means deleting the positioning user plane connection context, which is handled the same throughout the text.

[0197] There is no limitation on the name of the target message. For example, the target message may be Nlmf_Location_UPNOtify. When the target message includes target indication information instructing the AMF network element to release the context information of the positioning user plane connection, the target indication information may be LCS-UP context release indication, or termination. Optionally, after the AMF network element receives the target message sent by the LMF network element, the AMF network element may release the context information of the positioning user plane connection between the terminal device and the LMF device. In this embodiment, the LMF network element improves the efficiency of releasing network resources by sending a target message to the AMF network element to instruct the AMF network element to release the context information of the positioning user plane connection.

[0198] Optionally, this embodiment can be applied to a scenario in which a user plane connection is established between a terminal device and an LMF network element, and positioning-related data packets are transmitted between the terminal device and the LMF network element.

[0199] In one embodiment, the method further includes: sending a first data packet to the terminal device, the first data packet being used to instruct the terminal device to terminate the user plane connection. It should be noted that terminating the user plane connection can also be described as releasing the user plane connection, which is the same throughout the text.

[0200] It should be noted that the conditions for LMF to send the first data packet are not limited. For example, the first data packet may be sent when the LMF network element detects that the terminal device does not use the user plane connection for positioning services within a preset time period, or when the LMF network element is triggered to terminate the user plane connection of the terminal device. The preset time period may be any custom time period. The first data packet may be directly used to instruct the terminal device to terminate the user plane connection, or may carry indication information for instructing the terminal device to terminate the user plane connection. The specific form of the indication information is not limited, for example, termination the user plane connection.

[0201] In this embodiment, the LMF network element sends a first data packet to the terminal device to instruct the terminal device to terminate the user plane connection, so that the terminal device can terminate the user plane connection according to the first data packet. This application simplifies the process of the LMF network element terminating the user plane connection of the terminal device, improves the efficiency of terminating the user plane connection, and at the same time, improves the efficiency of releasing network resources.

[0202] In one embodiment, the method further includes: receiving a second data packet sent by the terminal device, the second data packet being used to respond to the first data packet. The second data packet may include information for confirming the termination of the user plane connection, such as termination of the user plane connection ack. The LMF network element confirms that the terminal device has received the indication of terminating the user plane connection by receiving the second data packet sent by the terminal device.

[0203] In one embodiment, Fig.10 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 The UE in FIG. 1 is taken as an example to illustrate, including the following steps:

[0204] S1002, receiving the first data packet sent by the LMF network element.

[0205] The first data packet is used to instruct the terminal device to terminate the user plane connection.

[0206] In this embodiment, the LMF network element sends a first data packet to the terminal device to instruct the terminal device to terminate the user plane connection, so that the terminal device can terminate the user plane connection according to the first data packet. This application simplifies the process of the LMF network element terminating the user plane connection of the terminal device, improves the efficiency of terminating the user plane connection, and at the same time, improves the efficiency of releasing network resources.

[0207] In one embodiment, the above method further includes: initiating a process of terminating the user plane connection according to the first data packet.

[0208] Optionally, the terminal device initiates a process of terminating the user plane connection based on the first data packet, which may include: initiating a PDU session release process; or initiating a PDU session modification process.

[0209] Among them, the PDU session release process initiated can be the PDU session release requested by the terminal device. The UE sends a NAS message (PDU session release request) to the AMF, and the AMF sends a PDU session release request message to the SMF. The PDU session release request message includes the PDU session identifier of the positioning service, and then the SMF network element releases the corresponding PDU session.

[0210] The PDU session modification process can be initiated by the terminal device initiating a PDUSession Modification Request by sending a NAS message to release the user plane resources for the positioning service in the PDU session. For example, the TFT (Traffic Flow Template) can be updated to delete the information of the positioning service flow (five-tuple or three-tuple information), so that the data flow related to the positioning service cannot be transmitted in the PDU session.

[0211] In one of the embodiments, the method further includes: sending a target request to the AMF network element, wherein the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element. The target request may be a PDU session release request or a PDU session modification request. By sending a target request to the AMF network element, the terminal device instructs the AMF network element to release the positioning user plane connection context information to improve the release efficiency of network resources.

[0212] In one embodiment, the method further includes: sending a second data packet to the LMF network element, the second data packet being used to respond to the first data packet. The terminal device sends a second data packet to the LMF network element indicating that the user plane connection has been confirmed to be terminated, so that the LMF network element confirms that the terminal device has received the indication of terminating the user plane connection.

[0213] In one embodiment, Fig.11 As shown, a user plane connection processing method is provided, and the method is applied to Figure 1 The AMF in the example is used to illustrate, including the following steps:

[0214] S1102, receiving a target message sent by an LMF network element, or receiving a target request sent by a terminal device.

[0215] Among them, the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request the AMF network element to modify the PDU session process or release the PDU session process.

[0216] In this embodiment, after receiving the target message or target request, the AMF network element can release the positioning user plane connection context information according to the target message or target request to improve the release efficiency of network resources.

[0217] In one embodiment, the method further comprises:

[0218] According to the target message or target request, the positioning user plane connection context information is released.

[0219] In one of the embodiments, the target request may include indication information instructing the AMF network element to release the positioning information user plane context information (LCS-UP), and the specific content of the indication information is not limited, for example, termination indication. Optionally, after receiving the target request sent by the terminal device, the method also includes: releasing the positioning information user plane context information in response to the target request.

[0220] In one embodiment, the target request is a PDU session release request or a PDU session modification request.

[0221] In one embodiment, the method further comprises:

[0222] The target message includes target indication information, and the positioning user plane connection context information is released according to the target indication information. The specific form of the target indication information is not limited, for example, it can be termination.

[0223] In one embodiment, the target message sent by the LMF network element is Nlmf_Location_UPNotify or Nlmf_Location_UPConfig Response.

[0224] For example, this embodiment provides an optional implementation process based on the above embodiment, see Fig.12 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0225] S1202, the LMF network element sends a first data packet to the terminal device.

[0226] The first data packet is used to instruct the terminal device to terminate the user plane connection.

[0227] S1204, the terminal device sends a second data packet to the LMF network element.

[0228] The second data packet is used to respond to the first data packet.

[0229] S1206, the terminal device sends a target request to the AMF network element.

[0230] Among them, the target request is used to request the AMF network element to modify the PDU session process or release the PDU session process.

[0231] S1208, the LMF network element sends the target message to the AMF network element.

[0232] Among them, the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

[0233] S1210, in response to the target message, the AMF network element releases the positioning user plane connection context information.

[0234] The specific process of the above S1202-S1210 can refer to the description of the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0235] For example, this embodiment provides an optional implementation process based on the above embodiment, see Fig.13 The flowchart of another method for processing a user plane connection is shown, and the process may specifically include the following steps:

[0236] S1302, the LMF network element sends a first data packet to the terminal device.

[0237] The first data packet is used to instruct the terminal device to terminate the user plane connection.

[0238] S1304, the terminal device sends a second data packet to the LMF network element.

[0239] The second data packet is used to respond to the first data packet.

[0240] S1306, the terminal device sends a target request to the AMF network element.

[0241] Among them, the target request is used to request the AMF network element to modify the PDU session process or release the PDU session process.

[0242] S1308, in response to the target request, the AMF network element releases the positioning user plane connection context information.

[0243] The specific process of the above S1302-S1308 can be found in the description of the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0244] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0245] Based on the same inventive concept, the embodiment of the present application also provides a user plane connection processing device for implementing the user plane connection processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more user plane connection processing device embodiments provided below can refer to the above limitations on the user plane connection processing method, which will not be repeated here.

[0246] In one embodiment, Fig.14 As shown, a user plane connection processing device is provided, which can be applied to the AMF network element side, including:

[0247] The first receiving module 1410 is used to receive a first message sent by the LMF network element;

[0248] The first sending module 1420 is used to send a second message to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0249] In one embodiment, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0250] In one embodiment, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0251] In one embodiment, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0252] In one embodiment, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0253] In one embodiment, the apparatus further includes a first response receiving module, wherein the first response receiving module is configured to receive a first response message sent by the terminal device, wherein the first response message is used to respond to the second message.

[0254] In one embodiment, the above-mentioned device also includes a second response sending module, which is used to send a second response message to the LMF network element, and the second response message is used to respond to the first message.

[0255] In one embodiment, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0256] In one of the embodiments, the apparatus further comprises an information release module, wherein the information release module is configured to release the positioning information user plane context information of the terminal device.

[0257] In one embodiment, the above-mentioned device also includes a release message receiving module, which is used to receive a release message sent by the LMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

[0258] In one embodiment, Fig.15 As shown, a user plane connection processing device is provided, which can be applied to a terminal device side, including:

[0259] The second receiving module 1510 is used to receive a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0260] In one embodiment, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0261] In one embodiment, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0262] In one embodiment, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0263] In one embodiment, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0264] In one embodiment, the above-mentioned device also includes a first response message sending module, which is used to send a first response message to the AMF network element.

[0265] In one embodiment, the above-mentioned device further includes a connection termination module, and the connection termination module is used to initiate a process of terminating the user plane connection according to the second message.

[0266] In one embodiment, the connection termination module includes a session modification unit and a session release unit;

[0267] The session modification unit is used to initiate a PDU session release process if the positioning service uses an independent PDU session.

[0268] The session release unit is used to initiate a PDU session modification process if the positioning service uses a shared PDU session.

[0269] In one embodiment, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0270] In one embodiment, Fig.16 As shown, a user plane connection processing device is provided, which can be applied to the LMF network element side, including:

[0271] The third sending module 1610 is used to send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0272] In one embodiment, the first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

[0273] In one embodiment, the second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

[0274] In one embodiment, the first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0275] In one embodiment, the second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

[0276] In one embodiment, the above-mentioned device also includes a second response receiving module, which is used to receive a second response message sent by the AMF network element.

[0277] In one embodiment, terminating the user plane connection is initiating a PDU session modification process, or initiating a PDU session release process.

[0278] In one embodiment, the above-mentioned device also includes a release message sending module, which is used to send a release message to the AMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

[0279] In one embodiment, Fig.17 As shown, a user plane connection processing device is provided, which can be applied to the LMF network element side, including:

[0280] The target message sending module is used to send a target message to the AMF network element, and the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

[0281] In one embodiment, the apparatus further includes a first data sending module, which is used to send a first data packet to the terminal device, where the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0282] In one embodiment, the above-mentioned apparatus further includes a second data receiving module, wherein the second data receiving module is used to receive a second data packet sent by the terminal device, and the second data packet is used to respond to the first data packet.

[0283] In one embodiment, Fig.18 As shown, a user plane connection processing device is provided, which can be applied to a terminal device side, including:

[0284] The first data receiving module is used to receive the first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0285] In one embodiment, the above-mentioned device further includes a connection termination module, and the connection termination module is used to initiate a process of terminating the user plane connection according to the first data packet.

[0286] In one embodiment, the connection termination module is further used to initiate a PDU session release process; or initiate a PDU session modification process.

[0287] In one embodiment, the above-mentioned device also includes a target request sending module, which is used to send a target request to the AMF network element, wherein the target request is used to request a PDU session modification process or a PDU session release process to the AMF network element.

[0288] In one embodiment, the target request is a PDU session release request or a PDU session modification request.

[0289] In one embodiment, the above-mentioned device also includes a second data sending module, which is used to send a second data packet to the LMF network element, and the second data packet is used to respond to the first data packet.

[0290] In one embodiment, Fig.19 As shown, a user plane connection processing device is provided, which can be applied to the AMF network element side, including:

[0291] The target receiving module is used to receive the target message sent by the LMF network element, or to receive the target request sent by the terminal device; wherein the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request the AMF network element to modify the PDU session process or the PDU session release process.

[0292] In one embodiment, the above-mentioned device further includes an information releasing module, and the information releasing module is used to release the positioning user plane connection context information according to the target message or target request.

[0293] In one embodiment, the target message includes target indication information, and the information releasing module is further configured to release the positioning user plane connection context information according to the target indication information.

[0294] In one embodiment, the target request is a PDU session release request or a PDU session modification request.

[0295] In one embodiment, the target message sent by the LMF network element is Nlmf_Location_UPNotify or Nlmf_Location_UPConfig Response.

[0296] Each module in the above-mentioned user plane connection processing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0297] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 20 As shown. The computer device includes a processor, a memory and a network interface connected by a system bus, and a transceiver (not shown in the figure). Among them, the processor of the computer device is used to provide computing and control capabilities, and the transceiver is used to send and receive data under the control of the processor. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as messages or indication information involved in the embodiments of the present application, for example, a first message, a second message, a first indication information, a second indication information, a first response message, a target message, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user plane connection processing method is implemented.

[0298] Those skilled in the art will understand that Fig. 20 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0299] In one embodiment, a computer device is provided, including a memory, a processor, and a transceiver, wherein a computer program is stored in the memory, and the transceiver is used to send and receive data under the control of the processor, and the processor implements the following steps when executing the computer program:

[0300] Receiving a first message sent by a location management function LMF network element;

[0301] A second message is sent to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0302] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: receiving a first response message sent by the terminal device, where the first response message is used to respond to the second message.

[0303] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: sending a second response message to the LMF network element, where the second response message is used to respond to the first message.

[0304] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: receiving a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on receiving the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0305] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: sending a first response message to the AMF network element.

[0306] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: initiating a process of terminating the user plane connection according to the second message.

[0307] In one embodiment, when the processor executes the processing logic of initiating the process of terminating the user plane connection according to the second message in the computer program, the following steps are implemented: if the positioning service uses an independent PDU session, a PDU session release process is initiated; otherwise, a PDU session modification process is initiated.

[0308] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program: sending a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0309] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are implemented: receiving a second response message sent by the AMF network element.

[0310] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0311] A first data packet is sent to the terminal device, where the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0312] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0313] A second data packet sent by the terminal device is received, where the second data packet is used to respond to the first data packet.

[0314] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0315] Send a target message to the AMF network element, where the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0316] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0317] Receive the first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0318] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0319] A process of terminating a user plane connection is initiated according to the first data packet.

[0320] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0321] Initiate the PDU session release process; or, initiate the PDU session modification process.

[0322] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0323] Send a target request to the AMF network element, where the target request is used to request the AMF network element to perform a PDU session modification process or a PDU session release process.

[0324] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0325] A second data packet is sent to the LMF network element, where the second data packet is used to respond to the first data packet.

[0326] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0327] When the terminal device receives the first data packet sent by the LMF network element, it receives the target request sent by the terminal device; wherein the first data packet is used to instruct the terminal device to terminate the user plane connection, and the target request is used to request the AMF network element to modify the PDU session or release the PDU session.

[0328] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0329] In response to the target request, the positioning information user plane context information is released.

[0330] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0331] Receive the target message sent by the LMF network element, where the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0332] In one embodiment, the processor implements the following steps when executing the processing logic in the computer program:

[0333] In response to the target message, the positioning information user plane context information is released.

[0334] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0335] Receiving a first message sent by a location management function LMF network element;

[0336] A second message is sent to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0337] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: receiving a first response message sent by the terminal device, where the first response message is used to respond to the second message.

[0338] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a second response message to the LMF network element, where the second response message is used to respond to the first message.

[0339] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on receiving the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0340] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a first response message to the AMF network element.

[0341] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: initiating a process of terminating the user plane connection according to the second message.

[0342] In one embodiment, when the processing logic of initiating a process of terminating the user plane connection according to the second message in the computer program is executed by the processor, the following steps are also implemented: if the positioning service uses an independent PDU session, a PDU session release process is initiated; otherwise, a PDU session modification process is initiated.

[0343] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0344] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a second response message sent by the AMF network element.

[0345] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: sending a first data packet to the terminal device, where the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0346] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: receiving a second data packet sent by the terminal device, the second data packet being used to respond to the first data packet.

[0347] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a target message to the AMF network element, the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0348] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0349] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: initiating a process of terminating the user plane connection according to the first data packet.

[0350] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: initiating a PDU session release process; or initiating a PDU session modification process.

[0351] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a target request to the AMF network element, wherein the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0352] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a second data packet to the LMF network element, where the second data packet is used to respond to the first data packet.

[0353] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: when the terminal device receives the first data packet sent by the LMF network element, receiving the target request sent by the terminal device; wherein the first data packet is used to instruct the terminal device to terminate the user plane connection, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0354] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: in response to the target request, releasing the positioning information user plane context information.

[0355] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a target message sent by the LMF network element, the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0356] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: in response to the target message, releasing the positioning information user plane context information.

[0357] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0358] Receiving a first message sent by a location management function LMF network element;

[0359] A second message is sent to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

[0360] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: receiving a first response message sent by the terminal device, where the first response message is used to respond to the second message.

[0361] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a second response message to the LMF network element, where the second response message is used to respond to the first message.

[0362] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on receiving the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0363] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a first response message to the AMF network element.

[0364] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: initiating a process of terminating the user plane connection according to the second message.

[0365] In one embodiment, when the processing logic of initiating a process of terminating the user plane connection according to the second message in the computer program is executed by the processor, the following steps are also implemented: if the positioning service uses an independent PDU session, a PDU session release process is initiated; otherwise, a PDU session modification process is initiated.

[0366] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

[0367] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a second response message sent by the AMF network element.

[0368] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: sending a first data packet to the terminal device, where the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0369] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: receiving a second data packet sent by the terminal device, the second data packet being used to respond to the first data packet.

[0370] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a target message to the AMF network element, the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0371] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

[0372] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: initiating a process of terminating the user plane connection according to the first data packet.

[0373] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: initiating a PDU session release process; or initiating a PDU session modification process.

[0374] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a target request to the AMF network element, wherein the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0375] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: sending a second data packet to the LMF network element, where the second data packet is used to respond to the first data packet.

[0376] In one embodiment, the processing logic in the computer program also implements the following steps when executed by the processor: when the terminal device receives the first data packet sent by the LMF network element, receiving the target request sent by the terminal device; wherein the first data packet is used to instruct the terminal device to terminate the user plane connection, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

[0377] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: in response to the target request, releasing the positioning information user plane context information.

[0378] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a target message sent by the LMF network element, the target message is used to instruct the AMF network element to release the positioning information user plane context information.

[0379] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are further implemented: in response to the target message, releasing the positioning information user plane context information.

[0380] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0381] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0382] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A user plane connection processing method, characterized in that: Applied to an access and mobility management function AMF network element, the method comprises: Receiving a first message sent by a location management function LMF network element; A second message is sent to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

2. The method according to claim 1, characterized in that The first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

3. The method according to claim 2, characterized in that The second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

4. The method according to claim 1, characterized in that: The first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

5. The method according to claim 4, characterized in that The second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

6. The method according to claim 1, characterized in that The method further comprises: Receive a first response message sent by the terminal device, where the first response message is used to respond to the second message.

7. The method according to claim 1, characterized in that The method further comprises: A second response message is sent to the LMF network element, where the second response message is used to respond to the first message.

8. The method according to claim 1, characterized in that Terminating the user plane connection is to initiate a protocol data unit PDU session modification process, or to initiate a PDU session release process.

9. The method according to claim 1, characterized in that: The method further comprises: Receive a release message sent by the LMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

10. The method according to claim 1, characterized in that The method further comprises: Release the positioning information user plane context information of the terminal device.

11. A user plane connection processing method, characterized in that: Applied to a terminal device, the method comprises: Receive a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

12. The method according to claim 11, characterized in that The first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

13. The method according to claim 12, characterized in that The second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

14. The method according to claim 11, characterized in that The first message includes third indication information, and the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

15. The method according to claim 14, characterized in that in, The second message includes fourth indication information, and the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

16. The method according to claim 11, characterized in that The method further comprises: Send a first response message to the AMF network element.

17. The method according to claim 11, characterized in that The method further comprises: A process of terminating the user plane connection is initiated according to the second message.

18. The method according to claim 17, characterized in that The process of initiating termination of the user plane connection according to the second message includes: If the positioning service uses an independent PDU session, a PDU session release process is initiated; otherwise, a PDU session modification process is initiated.

19. The method according to claim 11, characterized in that Terminating the user plane connection is to initiate a PDU session modification process or a PDU session release process.

20. A user plane connection processing method, characterized in that: Applied to LMF network element, the method comprises: Send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

21. The method according to claim 20, characterized in that The first message includes first indication information, and the first indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection.

22. The method according to claim 21, characterized in that The second message includes second indication information, and the second indication information is used to instruct the terminal device to terminate the user plane connection.

23. The method according to claim 20, characterized in that The first message includes third indication information; the third indication information is used to instruct the AMF network element to notify the terminal device to terminate the user plane connection and report the location information through the control plane connection.

24. The method according to claim 23, characterized in that The second message includes fourth indication information; the fourth indication information is used to instruct the terminal device to terminate the user plane connection and report the location information through the control plane connection.

25. The method according to claim 20, characterized in that The method further comprises: Receive a second response message sent by the AMF network element.

26. The method according to claim 20, characterized in that Terminating the user plane connection is to initiate a PDU session modification process or a PDU session release process.

27. The method according to claim 20, characterized in that The method further comprises: Send a release message to the AMF network element, wherein the release message is used to instruct the AMF network element to release the positioning information user plane context information.

28. A user plane connection processing method, characterized in that: Applied to LMF network element, the method comprises: Send a target message to the AMF network element, where the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

29. The method according to claim 28, characterized in that The method further comprises: A first data packet is sent to a terminal device, where the first data packet is used to instruct the terminal device to terminate a user plane connection.

30. The method according to claim 28, characterized in that The method further comprises: A second data packet sent by the terminal device is received, where the second data packet is used to respond to the first data packet.

31. A user plane connection processing method, characterized in that: Applied to an AMF network element, the method comprises: Receive a target message sent by an LMF network element, or receive a target request sent by a terminal device; wherein the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

32. The method according to claim 31, characterized in that The method further comprises: According to the target message or the target request, the positioning user plane connection context information is released.

33. The method according to claim 31, characterized in that The method further comprises: The target message includes target indication information, and the positioning user plane connection context information is released according to the target indication information.

34. The method according to claim 31, characterized in that The target request sent by the terminal device is a PDU session release request or a PDU session modification request.

35. The method according to claim 31, characterized in that The target message sent by the LMF network element is Nlmf_Location_UPNotify or Nlmf_Location_UPConfig Response.

36. A user plane connection processing device, characterized in that: Applied to the AMF network element side, including: A first receiving module, used to receive a first message sent by the LMF network element; The first sending module is used to send a second message to the terminal device according to the first message; the second message is used to instruct the terminal device to terminate the user plane connection.

37. A user plane connection processing device, characterized in that: Applied to the terminal device side, including: The second receiving module is used to receive a second message sent by the AMF network element; wherein the second message is sent by the AMF network element based on the first message sent by the LMF network element, and the second message is used to instruct the terminal device to terminate the user plane connection.

38. A user plane connection processing device, characterized in that: Applied to the LMF network element side, including: The third sending module is used to send a first message to the AMF network element; the first message is used to instruct the AMF network element to send a second message to the terminal device, and the second message is used to instruct the terminal device to terminate the user plane connection.

39. A user plane connection processing device, characterized in that: Applied to the LMF network element side, including: The target message sending module is used to send a target message to the AMF network element, and the target message is used to instruct the AMF network element to release the positioning user plane connection context information.

40. A user plane connection processing device, characterized in that: Applied to the terminal device side, including: The first data receiving module is used to receive the first data packet sent by the LMF network element; the first data packet is used to instruct the terminal device to terminate the user plane connection.

41. A user plane connection processing device, characterized in that: Applied to the AMF network element side, including: A target receiving module is used to receive a target message sent by an LMF network element, or to receive a target request sent by a terminal device; wherein the target message is used to instruct the AMF network element to release the positioning user plane connection context information, and the target request is used to request a PDU session modification process or a PDU session release process from the AMF network element.

42. A computer device comprising a memory, a processor and a transceiver, wherein the memory stores a computer program, characterized in that: The transceiver is used to send and receive data under the control of the processor, and the processor implements the steps of any one of the methods of claims 1 to 35 when executing the computer program.

43. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 35 are implemented.