Method for obtaining terminal measurement data, method and device for reporting measurement data

Through the measurement data of the NWDAF subscription terminal, the problem of difficulty in collecting terminal QoS and QoE data on the network side is solved, and real-time analysis and optimization of network quality is achieved.

CN113709789BActive Publication Date: 2024-11-08CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010437438.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-21
Publication Date
2024-11-08
Estimated Expiration
2040-05-21

AI Technical Summary

Technical Problem

The prior art is difficult to collect QoS and QoE measurement data of mobile terminals directly, timely and efficiently on the network side, resulting in the inability of real-time analysis and optimization of network quality on the network side.

Method used

The network data analysis function NWDAF obtains the user surface function UPF information and protocol data unit PDU session information corresponding to the terminal, and uses the measurement data of the PDU session to subscribe to the terminal to realize real-time and customized collection of UE measurement data.

Benefits of technology

It realizes timely and dynamic grasp of network or service quality data perceived by the user side, and supports efficient network adjustment and optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113709789B_ABST
    Figure CN113709789B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method for obtaining terminal measurement data, a method for reporting measurement data, and a device. The method on the NWDAF side includes: the NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF; the NWDAF subscribes the terminal measurement data to the UPF based on the PDU session. The solution of the present invention enables the network side to collect terminal measurement data in a timely and efficient manner, and use it for service quality analysis and optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method for acquiring terminal measurement data, and a method and device for reporting the measurement data. Background Art

[0002] The QoS (Quality of Service) / QoE (Quality of Experience) measurement data of mobile terminals is an important criterion for reflecting network quality. Under the existing mechanism, the quality data of these networks or services are generally tested and obtained through dial-up testing tools. The network side cannot directly obtain and perform real-time analysis and optimization based on network conditions.

[0003] In the existing technology, the network side can obtain user service experience data from AF (application server) through NEF (Network Exposure Function), but this mechanism relies on the cooperation of third-party AF, and there is no actual application case yet. In addition, under the existing mechanism, the base station can collect wireless measurement signals of some terminals through MDT (Minimization Drive Test). This solution uploads the measurement report of minimized drive test through the control plane, and the wireless measurement data of the terminal can be obtained based on the MDT drive test report, but it does not include network performance indicator KPI and service quality measurement data, and the efficiency of transmitting measurement data through the control plane is not as high as that through the user plane. Summary of the invention

[0004] The present invention provides a method for acquiring terminal measurement data, a method for reporting measurement data and a device, so that the network side can collect terminal measurement data in a timely and efficient manner and use it for service quality analysis and optimization.

[0005] To solve the above technical problems, the embodiments of the present invention provide the following solutions:

[0006] A method for obtaining terminal measurement data, applied to a network data analysis function NWDAF, the method comprising:

[0007] The NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0008] The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session.

[0009] Optionally, the NWDAF obtains user plane function UPF information corresponding to the terminal and information of a protocol data unit PDU session, including:

[0010] The NWDAF sends a subscription request to the session management function SMF, where the subscription request carries: a terminal or terminal group specified by the NWDAF;

[0011] The NWDAF receives the UPF information corresponding to the designated terminal and the information of at least one protocol data unit PDU session established between the designated terminal and the UPF fed back by the SMF.

[0012] Optionally, the method for obtaining terminal measurement data further includes:

[0013] The NWDAF selects a default PDU session or randomly selects a PDU session from the at least one PDU session.

[0014] Optionally, the NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session, including:

[0015] The NWDAF directly subscribes the measurement data of the terminal to the UPF based on the PDU session; or

[0016] The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF.

[0017] Optionally, the NWDAF subscribes directly to the UPF for the measurement data of the terminal based on the PDU session, including:

[0018] The NWDAF directly sends a first subscription event request to the UPF;

[0019] The NWDAF receives the measurement data of the terminal fed back by the UPF, where the measurement data is fed back by the UPF according to the first subscription event request through the transport layer connection established between the terminal and the UPF based on the PDU session.

[0020] Optionally, the measurement data is the UPF sending a first subscription request to the terminal through the PDU session selected by the NWDAF according to the first subscription event request, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0021] Optionally, the measurement data is that the UPF dynamically initiates a transport layer transmission control protocol TCP connection to the terminal according to the first subscription event request and based on the PDU session selected by the NWDAF, sends a first subscription request to the terminal through the TCP connection, and receives measurement data fed back by the terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality and experience quality data of a specified application.

[0022] Optionally, the method for obtaining terminal measurement data further includes:

[0023] When the NWDAF determines that the subscription needs to be cancelled, sending a cancellation request to the UPF; or,

[0024] In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the session management function SMF indicating that the PDU session is released, the NWDAF sends a cancellation notification to the UPF.

[0025] Optionally, the NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session through a session management function SMF, including:

[0026] The NWDAF initiates a second subscription event request to the SMF;

[0027] The NWDAF receives the measurement data of the terminal fed back by the SMF, where the measurement data is fed back by the SMF according to the second subscription event request through the transport layer connection established between the UPF, the terminal and the UPF based on the PDU session.

[0028] Optionally, the measurement data is the SMF sending a second subscription request to the UPF based on the second subscription event request, and the UPF sending the third subscription request to the terminal through the PDU session selected by the NWDAF, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of specified applications.

[0029] Optionally, the method for obtaining terminal measurement data further includes:

[0030] When the NWDAF determines to cancel the subscription, it sends a cancellation request to the SMF; or,

[0031] In the process of acquiring the measurement data of the terminal, after the NWDAF receives the release message sent by the SMF indicating that the PDU session is released, it sends a cancellation request to the SMF, and the SMF sends a cancellation notification to the UPF.

[0032] An embodiment of the present invention further provides a method for acquiring terminal measurement data, which is applied to a user plane function UPF, and the method includes:

[0033] The UPF receives a subscription event request, where the subscription event request is used to feed back measurement data of a terminal specified by the NWDAF to a network data analysis function NWDAF;

[0034] The UPF obtains the measurement data of the specified terminal according to the subscription event request;

[0035] The UPF feeds the measurement data back to the NWDAF.

[0036] Optionally, the UPF obtains the measurement data of the specified terminal according to the subscription event request, including:

[0037] The UPF receives a first subscription event request sent by the NWDAF;

[0038] The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the first subscription event request.

[0039] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0040] The UPF obtains the measurement data of the specified terminal according to the first subscription event request through the protocol data unit PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection established based on the PDU session.

[0041] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a PDU session selected by the NWDAF and a transport layer connection established based on the PDU session, including:

[0042] The UPF sends a first subscription request to the terminal through the PDU session selected by the NWDAF according to the first subscription event request;

[0043] The UPF establishes a transmission control protocol TCP connection based on the PDU session, and receives measurement data fed back by a specified terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0044] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0045] The UPF receives the measurement data fed back by the designated terminal according to the first subscription event request through the PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection dynamically established based on the PDU session.

[0046] Optionally, the UPF receives, according to the first subscription event request, measurement data fed back by the specified terminal through a PDU session between the terminal selected by the NWDAF and the UPF and a transport layer connection dynamically established based on the PDU session, including:

[0047] The UPF dynamically initiates a transmission control protocol TCP connection to the terminal based on the PDU session between the terminal selected by the NWDAF and the UPF according to the first subscription event request, and sends a first subscription request to the terminal through the TCP connection;

[0048] The UPF receives measurement data fed back by a designated terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0049] Optionally, the method for obtaining terminal measurement data further includes:

[0050] If a subscription cancellation request sent by the NWDAF is received, a subscription cancellation notification is sent to the terminal; or,

[0051] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received after the NWDAF receives a release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the terminal.

[0052] Optionally, the UPF obtains the measurement data of the specified terminal according to the subscription event request, including:

[0053] The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF.

[0054] Optionally, the UPF acquires the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF, including:

[0055] The UPF receives the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session according to the second subscription event request sent by the NWDAF to the SMF.

[0056] Optionally, the UPF receives the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session according to the second subscription event request sent by the NWDAF to the SMF, including:

[0057] receiving a second subscription request sent by the SMF, where the second subscription request is sent by the SMF after receiving the second subscription event request sent by the NWDAF;

[0058] The third subscription request is sent to the terminal through the PDU session selected by the NWDAF, and the measurement data fed back by the specified terminal is received through the transmission control protocol TCP connection established based on the PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of the specified application.

[0059] Optionally, the method for obtaining terminal measurement data further includes:

[0060] If receiving the unsubscribe request sent by the SMF, sending a notification of unsubscribe to the terminal; or,

[0061] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received from the SMF, a cancellation notification is sent to the terminal. The cancellation request sent by the SMF is sent after the SMF feeds back a release message to the NWDAF that the PDU session is released and receives the cancellation request sent by the NWDAF.

[0062] An embodiment of the present invention further provides a method for reporting measurement data, which is applied to a terminal, and the method includes:

[0063] Receiving a subscription request sent by a user plane function UPF;

[0064] Collecting measurement data according to the subscription request;

[0065] The measurement data is sent to a network data analysis function NWDAF via the UPF.

[0066] Optionally, receiving a subscription request sent by a user plane function UPF includes:

[0067] Through the connection between the terminal and the UPF, a subscription request sent by the UPF is received.

[0068] Optionally, receiving a subscription request sent by the UPF through a connection between the terminal and the UPF, including

[0069] receiving a subscription request sent by the UPF through a protocol data unit (PDU) session selected by the NWDAF; or,

[0070] The subscription request sent by the UPF is received through a transmission control protocol TCP connection dynamically established based on the PDU session selected by the NWDAF.

[0071] Optionally, sending the measurement data to a network data analysis function NWDAF through the UPF includes:

[0072] The measurement data is sent to the UPF through a transmission control protocol TCP connection established between the terminal and the UPF based on the PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message; or,

[0073] The measurement data is sent to the UPF through a transmission control protocol TCP connection dynamically established between the terminal and the UPF based on a PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message.

[0074] An embodiment of the present invention further provides a device for acquiring terminal measurement data, which is applied to a network data analysis function NWDAF, and the device includes:

[0075] An acquisition module, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0076] A processing module is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

[0077] An embodiment of the present invention further provides a network data analysis functional entity, including:

[0078] A transceiver, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0079] A processor is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

[0080] An embodiment of the present invention further provides a device for acquiring terminal measurement data, which is applied to a user plane function UPF, and the device includes:

[0081] A transceiver module, used for receiving a subscription event request, wherein the subscription event request is used for feeding back to the network data analysis function NWDAF the measurement data of the terminal specified by the NWDAF;

[0082] A processing module, used for acquiring the measurement data of the specified terminal according to the subscription event request;

[0083] The transceiver module is further used to feed back the measurement data to the NWDAF.

[0084] An embodiment of the present invention further provides a user plane functional entity, including:

[0085] A transceiver, configured to receive a subscription event request, wherein the subscription event request is used to feed back measurement data of a terminal specified by a network data analysis function NWDAF to the NWDAF;

[0086] A processor, configured to obtain measurement data of a specified terminal according to the subscription event request;

[0087] The transceiver is further configured to feed back the measurement data to the NWDAF.

[0088] An embodiment of the present invention further provides a measurement data reporting device, which is applied to a terminal, and the device includes:

[0089] A transceiver module, used to receive a subscription request sent by a user plane function UPF;

[0090] A processing module, used for collecting measurement data according to the subscription request;

[0091] The transceiver module is also used to send the measurement data to the network data analysis function NWDAF through the UPF.

[0092] An embodiment of the present invention further provides a terminal, including:

[0093] A transceiver, configured to receive a subscription request sent by a user plane function UPF;

[0094] A processor, configured to collect measurement data according to the subscription request;

[0095] The transceiver is further configured to send the measurement data to a network data analysis function NWDAF via the UPF.

[0096] An embodiment of the present invention further provides a communication device, comprising: a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed.

[0097] An embodiment of the present invention further provides a computer-readable storage medium, comprising instructions, and when the instructions are executed on a computer, the computer executes the method as described above.

[0098] The above solution of the present invention includes at least the following beneficial effects:

[0099] In the above solution of the present invention, the NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF; the NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session. The NWDAF can collect UE measurement data, and through the real-time and customized collection of UE data, the network can timely and dynamically grasp the network or service quality data perceived from the user side, making adjustment and optimization on the network side possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] Figure 1 A flowchart of a method for obtaining terminal measurement data on the NWDAF side;

[0101] Figure 2 A schematic diagram of the architecture of a static subscription mode in a method for obtaining terminal measurement data on the NWDAF side;

[0102] Figure 3 A specific implementation flow chart of a method for obtaining terminal measurement data on the NWDAF side;

[0103] Figure 4 A schematic diagram of a terminal reporting measurement data in a method for obtaining terminal measurement data on the NWDAF side;

[0104] Figure 5 This is a layered diagram of the gRPC protocol;

[0105] Figure 6 A schematic diagram of the architecture of a dynamic subscription mode in a method for obtaining terminal measurement data on the NWDAF side;

[0106] Figure 7 Another specific implementation flow chart of the method for obtaining terminal measurement data on the NWDAF side;

[0107] Figure 8 It is another specific implementation flow chart of obtaining terminal measurement data on the NWDAF side;

[0108] Fig. 9A flowchart of a method for obtaining terminal measurement data on the UPF side;

[0109] Fig.10 A flowchart of a method for reporting measurement data on a terminal side. DETAILED DESCRIPTION

[0110] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0111] like Figure 1 As shown, an embodiment of the present invention provides a method for obtaining terminal measurement data, which is applied to a network data analysis function NWDAF, and the method includes:

[0112] Step 11, the NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0113] Step 12: The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session.

[0114] In this embodiment, the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF are obtained through the NWDAF; the NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session. The NWDAF can collect UE measurement data, and through real-time and customized collection of UE data, the network can timely and dynamically grasp the network or service quality data perceived from the user side, making adjustment and optimization on the network side possible.

[0115] In an optional embodiment of the present invention, step 11 may include:

[0116] Step 111, the NWDAF sends a subscription request to the session management function SMF, the subscription request carries: a terminal or a terminal group specified by the NWDAF;

[0117] Step 112: The NWDAF receives the UPF information corresponding to the designated terminal and the information of at least one protocol data unit (PDU) session established between the designated terminal and the UPF fed back by the SMF.

[0118] Further, optionally, the method for obtaining terminal measurement data may also include:

[0119] Step 113, the NWDAF receives information of at least one data connection of the application layer established between the designated terminal and the UPF fed back by the SMF;

[0120] Step 114: The NWDAF selects a default PDU session or randomly selects a PDU session from the at least one PDU session.

[0121] In specific implementation, NWDAF determines the objects to be collected according to the data collection requirements, including the collected terminal (UE) or terminal group, and the collected application ID (Applicantion ID).

[0122] NWDAF sends a subscription request (Nsmf_EventExposure_Subscribe) to SMF, requesting to obtain information of at least one PDU session corresponding to the UE or UE group, and the release reporting event of the PDU session.

[0123] SMF reports UPF and PDU session information to NWDAF.

[0124] NWDAF preferentially selects the default PDU session and its corresponding UPF as the channel for subsequent data transmission. If there is no default PDU session, it randomly selects one from multiple PDU sessions.

[0125] In an optional embodiment of the present invention, step 12 may include:

[0126] In the first implementation, in step 121, the NWDAF directly subscribes the measurement data of the terminal to the UPF based on the PDU session; or

[0127] In a second implementation manner, in step 122, the NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF.

[0128] In the first implementation, step 121 may include:

[0129] Step 1211, the NWDAF directly sends a first subscription event request to the UPF;

[0130] Optionally, the first subscription event request includes at least one of the following: an identifier of the subscription event; a destination address of the first subscription event request; event reporting information; and event filtering information; wherein the event reporting information includes: a specified terminal or terminal group, measurement data of the service quality collected by the terminal or terminal group, and / or experience quality data of a specified application; and the event filtering information includes: information on the specified terminal or specified terminal group.

[0131] Step 1212: The NWDAF receives the measurement data of the terminal fed back by the UPF, where the measurement data is fed back by the UPF according to the first subscription event request through the transport layer connection established between the terminal and the UPF based on the PDU session.

[0132] In a first implementation of step 1212, specifically, the NWDAF receives the first subscription event request from the UPF, sends a first subscription request to the terminal through the PDU session selected by the NWDAF, and receives measurement data fed back by the terminal through a transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality and experience quality data of a specified application.

[0133] It should be noted that, in an embodiment of the present invention, the subscription event request and the subscription request both include at least one of the following: an identifier of the subscription event; a destination address of the subscription request; event reporting information; and event filtering information; wherein the event reporting information includes: a specified terminal or terminal group, measurement data of the service quality collected by the terminal or terminal group, and / or experience quality data of a specified application; the event filtering information includes: information on the specified terminal or specified terminal group.

[0134] Combine the following Figures 2 to 5 , describing the specific implementation process of the above embodiment:

[0135] Step 1-3, NWDAF interacts with SMF to obtain the UPF connected to the terminal to be subscribed and the corresponding PDU session information;

[0136] Step 4. NWDAF initiates a subscription event request to UPF through Nnf_EventExposure_Subscribe. The message parameters include the mandatory parameter NF ID, event identifier (Event ID(s)), notification destination address (Notification TargetAddress), event reporting information (Event Reporting Information), and event filtering information (Event FilterInformation). Among them, Event Reporting Information is the network and service quality measurement data collected by the specified terminal or specified application and its, such as QoS data such as delay / jitter / packet loss, QoE data of the specified application ID, and sampling period. Event Filter Information is the information of the UE or UE group that needs to be collected.

[0137] Step 5. After receiving the subscription request, UPF returns a request response to NWDAF.

[0138] Step 6. UPF sends a subscription configuration request to the UE through the specified existing PDU session. The request message can be sent in HTTP or HTTPS mode. The message content includes the IP of the telemetry collector (here is the IP of UPF), subscription rules (data that the UE needs to report, such as QoS data such as latency / jitter / packet loss, QoE data of the specified application ID), sampling period, transmission protocol and encoding method used, etc. The UE is required to actively release this subscription configuration after the current PDU session is released.

[0139] Step 7-9. After receiving the subscription request, the UE, as a telemetry agent, feeds back the subscription response to the UPF and starts the relevant information collection work. The UE may collect relevant measurement data and methods, including: (1) Using the measurement tool installed on the UE, based on the sampling period and data requirements configured by the UPF, measure QoS data such as network delay / jitter / packet loss to obtain measurement data. (2) Based on the application ID configured by the UPF and its service experience data collection requirements, collect relevant service experience data through the application's built-in software development kit SDK, or perform service dialing and service experience indicator measurement on the application with the specified application ID through the service dialing and evaluation tool installed on the UE to obtain relevant service experience data.

[0140] Step 10. When the data reporting conditions are met, the UE initiates a TCP connection to the UPF, i.e. the collector. The UE encapsulates the collected measurement data using the GRPC protocol and pushes it from the UE to the collector UPF. See the data reporting message interaction process for details. Figure 4 , gRPC protocol layering see Figure 5 , where DATA refers to the data collected by the UE. Figure 5 The meanings of the fields shown in are as follows:

[0141] DATA: The data model of both communicating parties, based on business definition, generally adopts the YANG model;

[0142] Proto Buffer: data transmitted by GRPC, encoded in GPB format;

[0143] gRPC: Remote Procedure Call, defines the protocol interaction format for remote procedure calls;

[0144] HTTP2: GRPC is carried on the HTTP2 protocol, taking advantage of HTTP2's bidirectional streaming, flow control, header compression, and multiplexing requests on a single connection.

[0145] TCP: underlying communication protocol, based on TCP connection.

[0146] Step 11. After receiving the collected data pushed by the UE, the UPF uses the Nnf_EventExposure_Notify message to report the collected data of the UE to the NWDAF accordingly.

[0147] In an optional embodiment of the present invention, the method for obtaining terminal measurement data may further include:

[0148] Step 13: When the NWDAF determines to cancel the subscription, it sends a cancellation request to the UPF; or,

[0149] Step 14: In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the UPF.

[0150] Specifically, the implementation of step 13 is as follows Figure 3 As shown:

[0151] Step 12. When NWDAF needs to end data collection, NWDAF sends an unsubscribe request Nnf_EventExposure_UnSubscribe to UPF.

[0152] Step 13. After receiving the unsubscribe request, UPF sends an unsubscribe request UnSubscribe to the UE.

[0153] Step 14. The UE returns a cancellation response and deletes the collection-related configuration.

[0154] Step 15. The UPF returns an unsubscribe response to the NWDAF.

[0155] Step 16. NWDAF sends an unsubscribe message Nsmf_EventExposure_UnSubscribe to SMF.

[0156] Step 17. SMF returns a cancel subscription response to NWDAF.

[0157] Specifically, the implementation of step 14 is as follows Figure 3 As shown:

[0158] Step 18. When the PDU session is released during data collection, SMF reports Nsmf_EventExposure_Notify to NWDAF to notify the PDU session release event.

[0159] Step 19. After receiving the PDU session release message, NWDAF sends a subscription cancellation message to UPF.

[0160] Step 20. UPF feeds back a cancellation response to NWDAF;

[0161] Step 21. NWDAF sends a cancellation message to SMF;

[0162] Step 22. SMF feeds back a cancel subscription response to NWDAF.

[0163] It should be noted that NWDAF decides whether to continue to query SMF for information about the PDU session of the specified user or user group through Nsmf_PDUSession_SMcontextStatus Subscribe based on its own needs. When it is found that the user or user group has other PDU sessions, it can continue to make subscription requests based on the new PDU session, following the same steps as above.

[0164] In the second implementation of step 1212, specifically:

[0165] The NWDAF receives the measurement data collected by the terminal and fed back by the UPF based on the transport layer connection dynamically established based on the PDU session selected by the NWDAF according to the first subscription event request.

[0166] Further, this step may include: the NWDAF receives measurement data of the terminal fed back by the UPF, the measurement data being the UPF dynamically initiating a transport layer transmission control protocol TCP connection to the terminal based on the PDU session selected by the NWDAF according to the first subscription event request, sending a first subscription request to the terminal through the TCP connection, and receiving measurement data fed back by the terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0167] like Figure 6 and Figure 7 FIG. 1 is a specific flow chart of a second implementation of step 1212, including:

[0168] Step 1-3: NWDAF interacts with SMF to obtain the UPF connected to the terminal to be subscribed and the corresponding PDU session information;

[0169] Step 4. NWDAF subscribes to UPF for network and service quality data of a specified user or application, such as QoS data such as latency / jitter / packet loss, and QoE data of a specified application ID.

[0170] Step 5. After receiving the subscription request, UPF initiates the establishment of a TCP connection to the corresponding UE.

[0171] Step 6. UPF initiates a subscription request to the UE based on the telemetry mechanism on the newly created TCP connection. The request content includes the IP of the telemetry collector (here is the IP of UPF), subscription rules (data to be pushed, such as QoS data such as latency / jitter / packet loss, QoE data of the specified application ID), sampling period, transmission protocol and encoding method used, etc.

[0172] Step 7. UE acts as a telemetry agent and starts relevant information collection after receiving the subscription request. The UE may collect relevant measurement data and methods, including: (1) Using the measurement tool installed on the UE, based on the sampling period and data requirements configured by the UPF, measure QoS data such as network delay / jitter / packet loss to obtain measurement data. (2) Based on the application ID configured by the UPF and its service experience data collection requirements, collect relevant service experience data through the SDK built into the APP, or perform service dialing and service experience index measurement on the application with the specified application ID through the service dialing and evaluation tool installed on the UE to obtain relevant service experience data.

[0173] Step 8. The UE uses the GRPC protocol to encapsulate the collected measurement data and pushes it from the UE to the collector UPF. See the data reporting message interaction process for details. Figure 4 , gRPC protocol layering see Figure 5 .

[0174] Step 9. After receiving the collected data pushed by the UE, the UPF uses the Nnf_EventExposure_Notify message to report the UE's collected data to the NWDAF accordingly.

[0175] In an optional embodiment of the present invention, the method for obtaining terminal measurement data may further include:

[0176] Step 13, after obtaining the measurement data of the terminal, sending a cancellation request to the UPF; or, step 14, in the process of obtaining the measurement data of the terminal, after receiving the release message sent by the session management function SMF that the PDU session is released, sending a cancellation notification to the UPF.

[0177] Specifically, the implementation of step 13 is as follows:

[0178] Step 12. When NWDAF needs to end data collection, NWDAF sends an unsubscribe request Nnf_EventExposure_UnSubscribe to UPF.

[0179] Step 13. After receiving the unsubscribe request, UPF sends an unsubscribe request UnSubscribe to the UE.

[0180] Step 14. The UE returns a cancellation response and deletes the collection-related configuration.

[0181] Step 15. The UPF returns an unsubscribe response to the NWDAF.

[0182] Step 16. NWDAF sends an unsubscribe message Nsmf_EventExposure_UnSubscribe to SMF.

[0183] Step 17. SMF returns a cancel subscription response to NWDAF.

[0184] Specifically, the implementation of step 14 is as follows:

[0185] Step 18. When the PDU session connection is released during data collection, SMF reports Nsmf_EventExposure_Notify to NWDAF to notify the PDU session release event.

[0186] Step 19. After receiving the PDU session release message, NWDAF sends a subscription cancellation message to UPF.

[0187] Step 20. UPF feeds back a cancellation response to NWDAF;

[0188] Step 21. NWDAF sends a cancellation message to SMF;

[0189] Step 22. SMF feeds back a cancel subscription response to NWDAF.

[0190] It should be noted that NWDAF decides whether to continue to query SMF for PDU session information of the specified user or user group through Nsmf_PDUSession_SMcontextStatus Subscribe according to its own needs. When it is found that the user or user group has other PDU sessions, it can continue to make subscription requests based on the new PDU session, following the same steps as above.

[0191] In a second implementation, step 122 may include:

[0192] Step 1221, the NWDAF initiates a second subscription event request to the SMF;

[0193] Step 1222, the NWDAF receives the measurement data of the terminal fed back by the SMF, and the measurement data is fed back by the SMF according to the second subscription event request through the UPF, the terminal and the UPF through the transport layer connection established based on the PDU session.

[0194] Specifically, the step may include:

[0195] The NWDAF receives the measurement data of the terminal fed back by the SMF, and the SMF sends a second subscription request to the UPF according to the second subscription event request, sends a second subscription request to the UPF, and the UPF sends the third subscription request to the terminal through the PDU session selected by the NWDAF, and receives the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0196] The specific process of this embodiment is as follows Figure 8 As shown, including:

[0197] Step 1-3. NWDAF subscribes to the terminal data collection requirements from UPF through SMF;

[0198] Step 4. NWDAF initiates a subscription request Nsmf_EventExposure_Subscribe to SMF based on the PDU session and UPF information of the UE determined in the previous step, requesting that the PDU session specified by the specified UPF be sent to the specified user or user group IP for network measurement data collection requirements, such as QoS data such as latency / jitter / packet loss, QoE measurement data of the specified application ID, and sampling period.

[0199] Step 5. SMF returns a request response after receiving the subscription request.

[0200] Step 6. SMF initiates a session modification request (Session Modification Request) to UPF, requesting that network measurement data collection requirements be sent to the specified user or user group IP in the specified PDU session, such as QoS data such as latency / jitter / packet loss, QoE measurement data of the specified application ID, and sampling period.

[0201] Step 7. UPF replies with a Session Modification Response.

[0202] Step 8. UPF sends a subscription configuration request to the UE in the specified PDU session according to the request of SMF. The request message can be sent in HTTP or HTTPS mode. The message content includes the IP of the telemetry collector (here is the IP of UPF), subscription rules (data that the UE needs to report, such as QoS data such as latency / jitter / packet loss, QoE data of the specified application ID), sampling period, transmission protocol and encoding method used, etc. The UE is required to actively release this subscription configuration after the current PDU session is released.

[0203] Steps 9-10. UPF sends subscription configuration to UE, and the process of UE reporting collected data to UPF is the same as above Figure 4 The process shown.

[0204] Step 11. UPF reports the data collected by UE to SMF through N4 Session Report.

[0205] Step 12.SMF responds with Session Report ACK.

[0206] Step 13. SMF reports the side data collected by UE to NWDAF through Nsmf_EventExposure_Notify.

[0207] In an optional embodiment of the present invention, the method for obtaining terminal measurement data may further include:

[0208] Step 15: When the NWDAF determines to cancel the subscription, it sends a cancellation request to the SMF; or,

[0209] Step 16, in the process of acquiring the measurement data of the terminal, after the NWDAF receives the release message sent by the SMF indicating that the PDU session is released, it sends a cancellation request to the SMF, and the SMF sends a cancellation notification to the UPF.

[0210] The specific implementation of step 15 is as follows Figure 8 As shown, including:

[0211] Step 20. When NWDAF needs to end data collection, NWDAF sends an unsubscribe request Nsmf_EventExposure_UnSubscribe to SMF.

[0212] Step 21. After receiving the unsubscribe message, SMF sends a session modification request (SessionModification Request) to UPF to cancel the collection of UE's measurement data. After receiving the unsubscribe message, UPF sends an unsubscribe message to UE; after receiving the unsubscribe message, UE deletes the local collection configuration file and returns an unsubscribe response to UPF; after receiving the unsubscribe response, UPF deletes the local related configuration and sends a session modification response (SessionModification Response) to SMF; after receiving the Session Modification Response, SMF sends an unsubscribe response Nsmf_EventExposure_UnSubscribe Response to NWDAF; NWDAF sends a request to SMF to unsubscribe from the PDU session; SMF replies to the unsubscribe response.

[0213] The specific implementation of step 16 is as follows Figure 8 As shown, including:

[0214] Step 22. When the PDU session is released during data collection, SMF reports Nsmf_EventExposure_Notify to NWDAF to notify the PDU session release event.

[0215] Step 23. After receiving the PDU session release message, NWDAF sends a cancellation message Nsmf_EventExposure_UnSubscribe to SMF.

[0216] Step 24. After receiving the unsubscribe message, SMF sends N4 Session Modification Request to UPF to cancel UE's message collection.

[0217] Step 25. After receiving the Session Modification Request, UPF deletes the local related configuration and responds to SMF with N4 Session Modification Response;

[0218] Step 26. After receiving the Session Modification Response from UPF, SMF sends an unsubscribe response Nsmf_EventExposure_UnSubscribe Response to NWDAF.

[0219] In the above-mentioned embodiments of the present invention, the network analysis function NWDAF collects UE data in real time and in a customized manner, so that the network can timely and dynamically grasp the network or service quality data perceived from the user side, making adjustment and optimization on the network side possible. The telmentry (telemetry or long-distance measurement) mechanism used in this solution to configure and report data collection on the user side has the following advantages: through task subscription and push reporting, efficient and real-time (supporting seconds) data collection performance can be achieved. Using GPB format encoding and uploading data to the collector through the GRPC protocol can achieve high-speed data collection and low bandwidth.

[0220] like Fig. 9 As shown, an embodiment of the present invention further provides a method for obtaining terminal measurement data, which is applied to a user plane function UPF, and the method includes:

[0221] Step 91, the UPF receives a subscription event request, where the subscription event request is used to feed back measurement data of a terminal specified by the NWDAF to a network data analysis function NWDAF;

[0222] Step 92, the UPF obtains the measurement data of the specified terminal according to the subscription event request;

[0223] Step 93: The UPF feeds back the measurement data to the NWDAF.

[0224] The UPF obtains the measurement data of the specified terminal according to the subscription event request, including:

[0225] The UPF receives a first subscription event request sent by the NWDAF;

[0226] The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the first subscription event request.

[0227] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0228] The UPF obtains the measurement data of the specified terminal according to the first subscription event request through the protocol data unit PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection established based on the PDU session.

[0229] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a PDU session selected by the NWDAF and a transport layer connection established based on the PDU session, including:

[0230] The UPF sends a first subscription request to the terminal through the PDU session selected by the NWDAF according to the first subscription event request;

[0231] The UPF establishes a transmission control protocol TCP connection based on the PDU session, and receives measurement data fed back by a specified terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application;

[0232] Correspondingly, the UPF feeds back the measurement data collected by the terminal to the NWDAF. Specifically, the UPF feeds back the measurement data collected by the terminal to the NWDAF through a notification message (Notify).

[0233] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0234] The UPF receives the measurement data fed back by the designated terminal according to the first subscription event request through the PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection dynamically established based on the PDU session.

[0235] Optionally, the UPF receives, according to the first subscription event request, measurement data fed back by the specified terminal through a PDU session between the terminal selected by the NWDAF and the UPF and a transport layer connection dynamically established based on the PDU session, including:

[0236] The UPF dynamically initiates a transmission control protocol TCP connection to the terminal based on the PDU session between the terminal selected by the NWDAF and the UPF according to the first subscription event request, and sends a first subscription request to the designated terminal through the TCP connection;

[0237] The UPF receives measurement data fed back by a designated terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0238] Optionally, the method for obtaining terminal measurement data may further include:

[0239] If a subscription cancellation request sent by the NWDAF is received, a subscription cancellation notification is sent to the terminal; or,

[0240] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received after the NWDAF receives a release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the terminal.

[0241] Optionally, the UPF obtains the measurement data of the specified terminal according to the subscription event request, including:

[0242] The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF.

[0243] Optionally, the UPF acquires the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF, including:

[0244] The UPF receives the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session according to the second subscription event request sent by the NWDAF to the SMF.

[0245] Optionally, the UPF receives measurement data fed back by a specified terminal through a PDU session selected by the NWDAF and a transport layer connection established based on the PDU session according to a second subscription event request sent by the NWDAF to the SMF, including:

[0246] receiving a second subscription request sent by the SMF, where the second subscription request is sent by the SMF after receiving the second subscription event request sent by the NWDAF;

[0247] The third subscription request is sent to the terminal through the PDU session selected by the NWDAF, and the measurement data fed back by the specified terminal is received through the transmission control protocol TCP connection established based on the PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of the specified application.

[0248] The optional method for obtaining terminal measurement data may also include:

[0249] If receiving the unsubscribe request sent by the SMF, sending a notification of unsubscribe to the terminal; or,

[0250] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received from the SMF, a cancellation notification is sent to the terminal. The cancellation request sent by the SMF is sent after the SMF feeds back a release message to the NWDAF that the PDU session is released and receives the cancellation request sent by the NWDAF.

[0251] It should be noted that the method in this embodiment is a method on the UPF side corresponding to the method in the above embodiments, and all implementation methods in the above embodiments are applicable to this embodiment and can achieve the same technical effect.

[0252] like Fig.10 As shown, an embodiment of the present invention further provides a method for reporting measurement data, which is applied to a terminal, and the method includes:

[0253] Step 101, receiving a subscription request sent by a user plane function UPF;

[0254] Step 102, collecting measurement data according to the subscription request;

[0255] Step 103: Send the measurement data to a network data analysis function NWDAF through the UPF.

[0256] Optionally, receiving a subscription request sent by a user plane function UPF includes:

[0257] Through the connection between the terminal and the UPF, a subscription request sent by the UPF is received.

[0258] Optionally, receiving a subscription request sent by the UPF through a connection between the terminal and the UPF, including

[0259] receiving a subscription request sent by the UPF through a protocol data unit (PDU) session selected by the NWDAF; or,

[0260] The subscription request sent by the UPF is received through a transmission control protocol TCP connection dynamically established based on the PDU session selected by the NWDAF.

[0261] Optionally, sending the measurement data to a network data analysis function NWDAF through the UPF includes:

[0262] The measurement data is sent to the UPF through a transmission control protocol TCP connection established between the terminal and the UPF based on the PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message; or,

[0263] The measurement data is sent to the UPF through a transmission control protocol TCP connection dynamically established between the terminal and the UPF based on a PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message.

[0264] It should be noted that the method in this embodiment is a terminal-side method corresponding to the method in the above embodiments, and all implementation methods in the above embodiments are applicable to this embodiment and can achieve the same technical effect.

[0265] An embodiment of the present invention further provides a device for acquiring terminal measurement data, which is applied to a network data analysis function NWDAF, and the device includes:

[0266] An acquisition module, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0267] A processing module is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

[0268] Optionally, the acquisition module is specifically used for:

[0269] Send a subscription request to the session management function SMF, the subscription request carrying: the terminal or terminal group specified by the NWDAF;

[0270] Receive the UPF information corresponding to the designated terminal and the information of at least one protocol data unit PDU session established between the designated terminal and the UPF fed back by the SMF.

[0271] Optionally, the acquisition module is further used to: select a default PDU session or randomly select a PDU session from the at least one PDU session.

[0272] Optionally, the processing module is specifically used for:

[0273] Subscribe the measurement data of the terminal directly to the UPF based on the PDU session; or

[0274] Through the session management function SMF, the measurement data of the terminal is subscribed to the UPF based on the PDU session.

[0275] Optionally, directly subscribing the measurement data of the terminal to the UPF based on the PDU session, including:

[0276] Sending a first subscription event request directly to the UPF;

[0277] Receive the measurement data of the terminal fed back by the UPF, where the measurement data is fed back by the UPF according to the first subscription event request through the transport layer connection established between the terminal and the UPF based on the PDU session.

[0278] Optionally, the measurement data is the UPF sending a first subscription request to the terminal through the selected PDU session based on the first subscription event request, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0279] Optionally, the measurement data is that the UPF dynamically initiates a transport layer transmission control protocol TCP connection to the terminal based on the selected PDU session according to the first subscription event request, sends a first subscription request to the terminal through the TCP connection, and receives measurement data fed back by the terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality and experience quality data of a specified application.

[0280] Optionally, the processing module is also used to send a cancellation request to the UPF when it is determined that cancellation of subscription is required; or, in the process of obtaining the measurement data of the terminal, after receiving a release message sent by the session management function SMF indicating that the PDU session is released, send a cancellation notification to the UPF.

[0281] Optionally, subscribing the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF, including:

[0282] Initiate a second subscription event request to SMF;

[0283] Receive the measurement data of the terminal fed back by the SMF, where the measurement data is fed back by the SMF according to the second subscription event request through the transport layer connection established between the UPF, the terminal and the UPF based on the PDU session.

[0284] Optionally, the measurement data is the SMF sending a second subscription request to the UPF based on the second subscription event request, and the UPF sending the third subscription request to the terminal through the selected PDU session, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of specified applications.

[0285] Optionally, the processing module is further configured to send a subscription cancellation request to the SMF when determining to cancel the subscription; or,

[0286] In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the SMF indicating that the PDU session is released, a cancellation request is sent to the SMF, and the SMF sends a cancellation notification to the UPF.

[0287] It should be noted that the above method embodiments are also applicable to this embodiment and can achieve the same technical effects.

[0288] An embodiment of the present invention further provides a network data analysis functional entity, including:

[0289] A transceiver, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF;

[0290] A processor is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

[0291] Optionally, the transceiver is specifically used to: send a subscription request to a session management function SMF, where the subscription request carries: a terminal or a terminal group specified by the NWDAF;

[0292] Receive the UPF information corresponding to the designated terminal and the information of at least one protocol data unit PDU session established between the designated terminal and the UPF fed back by the SMF.

[0293] Optionally, the transceiver is further used to: select a default PDU session or randomly select a PDU session from the at least one PDU session.

[0294] Optionally, the processor is specifically configured to: directly subscribe the measurement data of the terminal to the UPF based on the PDU session; or

[0295] Through the session management function SMF, the measurement data of the terminal is subscribed to the UPF based on the PDU session.

[0296] Optionally, directly subscribing the measurement data of the terminal to the UPF based on the PDU session, including:

[0297] Sending a first subscription event request directly to the UPF;

[0298] Receive the measurement data of the terminal fed back by the UPF, where the measurement data is fed back by the UPF according to the first subscription event request through the transport layer connection established between the terminal and the UPF based on the PDU session.

[0299] Optionally, the measurement data is the UPF sending a first subscription request to the terminal through the selected PDU session based on the first subscription event request, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

[0300] Optionally, the measurement data is that the UPF dynamically initiates a transport layer transmission control protocol TCP connection to the terminal based on the selected PDU session according to the first subscription event request, sends a first subscription request to the terminal through the TCP connection, and receives measurement data fed back by the terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality and experience quality data of a specified application.

[0301] Optionally, the processor is further configured to: when determining that the subscription needs to be cancelled, send a cancellation request to the UPF; or,

[0302] In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the session management function SMF that the PDU session is released, a cancellation notification is sent to the UPF.

[0303] Optionally, subscribing the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF, including:

[0304] Initiate a second subscription event request to SMF;

[0305] Receive the measurement data of the terminal fed back by the SMF, where the measurement data is fed back by the SMF according to the second subscription event request through the transport layer connection established between the UPF, the terminal and the UPF based on the PDU session.

[0306] Optionally, the measurement data is the SMF sending a second subscription request to the UPF based on the second subscription event request, and the UPF sending the third subscription request to the terminal through the selected PDU session, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of specified applications.

[0307] Optionally, the processor is further configured to:

[0308] When determining to cancel the subscription, sending a cancel subscription request to the SMF; or,

[0309] In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the SMF indicating that the PDU session is released, a cancellation request is sent to the SMF, and the SMF sends a cancellation notification to the UPF.

[0310] It should be noted that the above method embodiments are also applicable to this embodiment and can achieve the same technical effects.

[0311] An embodiment of the present invention further provides a device for acquiring terminal measurement data, which is applied to a user plane function UPF, and the device includes:

[0312] A transceiver module, used for receiving a subscription event request, wherein the subscription event request is used for feeding back to the network data analysis function NWDAF the measurement data of the terminal specified by the NWDAF;

[0313] A processing module, used for acquiring the measurement data of the specified terminal according to the subscription event request;

[0314] The transceiver module is further used to feed back the measurement data to the NWDAF.

[0315] Optionally, obtaining measurement data of a specified terminal according to the subscription event request includes:

[0316] Receiving a first subscription event request sent by the NWDAF;

[0317] According to the first subscription event request, the measurement data of the specified terminal is obtained through the connection between the terminal and the UPF.

[0318] Optionally, acquiring measurement data of a specified terminal through a connection between the terminal and the UPF according to the first subscription event request includes:

[0319] According to the first subscription event request, the measurement data of the specified terminal is obtained through the protocol data unit PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection established based on the PDU session.

[0320] Optionally, according to the first subscription event request, obtaining measurement data of a specified terminal through a PDU session connection selected by the NWDAF and a transport layer connection established based on the PDU session, including:

[0321] Sending a first subscription request to a terminal through the PDU session selected by the NWDAF according to the first subscription event request;

[0322] A transmission control protocol TCP connection is established based on the PDU session to receive measurement data fed back by a designated terminal; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0323] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0324] According to the first subscription event request, the measurement data fed back by the specified terminal is received through the PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection dynamically established based on the PDU session.

[0325] Optionally, according to the first subscription event request, receiving measurement data fed back by a specified terminal through a PDU session between the terminal selected by the NWDAF and the UPF and a transport layer connection dynamically established based on the PDU session, including:

[0326] According to the first subscription event request, based on the PDU session between the terminal selected by the NWDAF and the UPF, dynamically initiate a transmission control protocol TCP connection to the terminal, and send a first subscription request to the terminal through the TCP connection;

[0327] The measurement data fed back by the designated terminal is received through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0328] Optionally, the transceiver module is also used to

[0329] If a subscription cancellation request sent by the NWDAF is received, a subscription cancellation notification is sent to the terminal; or,

[0330] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received after the NWDAF receives a release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the terminal.

[0331] Optionally, obtaining measurement data of a specified terminal according to the subscription event request includes:

[0332] According to the second subscription event request sent by the NWDAF to the SMF, the measurement data of the specified terminal is obtained through the connection between the terminal and the UPF.

[0333] Optionally, according to the second subscription event request sent by the NWDAF to the SMF, obtaining the measurement data of the specified terminal through the connection between the terminal and the UPF includes:

[0334] According to the second subscription event request sent by the NWDAF to the SMF, the measurement data fed back by the specified terminal is received through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session.

[0335] Optionally, according to the second subscription event request sent by the NWDAF to the SMF, receiving the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session, including:

[0336] receiving a second subscription request sent by the SMF, where the second subscription request is sent by the SMF after receiving the second subscription event request sent by the NWDAF;

[0337] The third subscription request is sent to the terminal through the PDU session selected by the NWDAF, and the measurement data fed back by the specified terminal is received through the transmission control protocol TCP connection established based on the PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of the specified application.

[0338] Optionally, the transceiver module is also used to send a cancellation notification to the terminal if a cancellation request sent by the SMF is received; or, in the process of feeding back the measurement data to the NWDAF, if a cancellation request sent by the SMF is received, a cancellation notification is sent to the terminal. The cancellation request sent by the SMF is sent after the SMF feeds back a release message to the NWDAF indicating that the PDU session is released and the SMF receives the cancellation request sent by the NWDAF.

[0339] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0340] An embodiment of the present invention further provides a user plane functional entity, including:

[0341] A transceiver, configured to receive a subscription event request, wherein the subscription event request is used to feed back measurement data of a terminal specified by a network data analysis function NWDAF to the NWDAF;

[0342] A processor, configured to obtain measurement data of a specified terminal according to the subscription event request;

[0343] The transceiver is further configured to feed back the measurement data to the NWDAF.

[0344] Optionally, obtaining measurement data of a specified terminal according to the subscription event request includes:

[0345] Receiving a first subscription event request sent by the NWDAF;

[0346] According to the first subscription event request, the measurement data of the specified terminal is obtained through the connection between the terminal and the UPF.

[0347] Optionally, acquiring measurement data of a specified terminal through a connection between the terminal and the UPF according to the first subscription event request includes:

[0348] According to the first subscription event request, the measurement data of the specified terminal is obtained through the protocol data unit PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection established based on the PDU session.

[0349] Optionally, according to the first subscription event request, obtaining measurement data of a specified terminal through a PDU session selected by the NWDAF and a transport layer connection established based on the PDU session, including:

[0350] Sending a first subscription request to a terminal through the PDU session selected by the NWDAF according to the first subscription event request;

[0351] A transmission control protocol TCP connection is established based on the PDU session to receive measurement data fed back by a designated terminal; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0352] Optionally, the UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including:

[0353] According to the first subscription event request, the measurement data fed back by the specified terminal is received through the PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection dynamically established based on the PDU session.

[0354] Optionally, the UPF receives, according to the first subscription event request, measurement data fed back by the specified terminal through a PDU session between the terminal selected by the NWDAF and the UPF and a transport layer connection dynamically established based on the PDU session, including:

[0355] According to the first subscription event request, based on the PDU session between the terminal selected by the NWDAF and the UPF, dynamically initiate a transmission control protocol TCP connection to the terminal, and send a first subscription request to the terminal through the TCP connection;

[0356] The measurement data fed back by the designated terminal is received through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

[0357] Optionally, the processor is further configured to send a notification of unsubscribing to the terminal if a unsubscribing request sent by the NWDAF is received; or,

[0358] In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received after the NWDAF receives a release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the terminal.

[0359] Optionally, obtaining measurement data of a specified terminal according to the subscription event request includes:

[0360] According to the second subscription event request sent by the NWDAF to the SMF, the measurement data of the specified terminal is obtained through the connection between the terminal and the UPF.

[0361] Optionally, according to the second subscription event request sent by the NWDAF to the SMF, obtaining the measurement data of the specified terminal through the connection between the terminal and the UPF includes:

[0362] According to the second subscription event request sent by the NWDAF to the SMF, the measurement data fed back by the terminal is received through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session.

[0363] Optionally, according to the second subscription event request sent by the NWDAF to the SMF, receiving the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session, including:

[0364] receiving a second subscription request sent by the SMF, where the second subscription request is sent by the SMF after receiving the second subscription event request sent by the NWDAF;

[0365] The third subscription request is sent to the terminal through the PDU session selected by the NWDAF, and the measurement data fed back by the specified terminal is received through the transmission control protocol TCP connection established based on the PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of the specified application.

[0366] Optionally, the processor is also used to send a notification of unsubscription to the terminal if a unsubscription request sent by the SMF is received; or, in the process of feeding back the measurement data to the NWDAF, if a unsubscription request sent by the SMF is received, send a notification of unsubscription to the terminal, and the unsubscription request sent by the SMF is sent after the SMF feeds back a release message to the NWDAF that the PDU session is released and the unsubscription request sent by the NWDAF is received.

[0367] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0368] An embodiment of the present invention further provides a measurement data reporting device, which is applied to a terminal, and the device includes:

[0369] A transceiver module, used to receive a subscription request sent by a user plane function UPF;

[0370] A processing module, used for collecting measurement data according to the subscription request;

[0371] The transceiver module is also used to send the measurement data to the network data analysis function NWDAF through the UPF.

[0372] Optionally, the transceiver module is specifically used to receive a subscription request sent by the UPF through the connection between the terminal and the UPF.

[0373] Optionally, receiving a subscription request sent by the UPF through a connection between the terminal and the UPF includes:

[0374] receiving a subscription request sent by the UPF through a protocol data unit (PDU) session selected by the NWDAF; or,

[0375] The subscription request sent by the UPF is received through a transmission control protocol TCP connection dynamically established based on the PDU session selected by the NWDAF.

[0376] Optionally, sending the measurement data to a network data analysis function NWDAF through the UPF includes:

[0377] The measurement data is sent to the UPF through a transmission control protocol TCP connection established between the terminal and the UPF based on the PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message; or,

[0378] The measurement data is sent to the UPF through a transmission control protocol TCP connection dynamically established between the terminal and the UPF based on a PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message.

[0379] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0380] An embodiment of the present invention further provides a terminal, including:

[0381] A transceiver, configured to receive a subscription request sent by a user plane function UPF;

[0382] A processor, configured to collect measurement data according to the subscription request;

[0383] The transceiver is further configured to send the measurement data to a network data analysis function NWDAF via the UPF.

[0384] Optionally, the transceiver is specifically used to receive a subscription request sent by the UPF through the connection between the terminal and the UPF.

[0385] Optionally, receiving a subscription request sent by the UPF through a connection between the terminal and the UPF, including

[0386] receiving a subscription request sent by the UPF through a protocol data unit (PDU) session selected by the NWDAF; or,

[0387] The subscription request sent by the UPF is received through a transmission control protocol TCP connection dynamically established based on the PDU session selected by the NWDAF.

[0388] Optionally, sending the measurement data to a network data analysis function NWDAF through the UPF includes:

[0389] The measurement data is sent to the UPF through a transmission control protocol TCP connection established between the terminal and the UPF based on the PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message; or,

[0390] The measurement data is sent to the UPF through a transmission control protocol TCP connection dynamically established between the terminal and the UPF based on a PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message.

[0391] It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0392] An embodiment of the present invention further provides a communication device, comprising: a processor, a memory storing a computer program, and when the computer program is executed by the processor, the method described above is executed. It should be noted that all implementation methods in the above method embodiments are applicable to the embodiments of the computing power network element, and can also achieve the same technical effect.

[0393] The embodiment of the present invention further provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute the method described above. It should be noted that all implementations in the above method embodiments are applicable to the embodiments of the computing power network element, and can achieve the same technical effect.

[0394] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0395] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0396] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0397] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0398] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0399] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0400] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0401] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0402] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for obtaining terminal measurement data, characterized in that: Applied to the network data analysis function NWDAF, the method comprises: The NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF; The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session.

2. The method for obtaining terminal measurement data according to claim 1, characterized in that: The NWDAF obtains the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session, including: The NWDAF sends a subscription request to the session management function SMF, where the subscription request carries: a terminal or terminal group specified by the NWDAF; The NWDAF receives the UPF information corresponding to the designated terminal and the information of at least one protocol data unit PDU session established between the designated terminal and the UPF fed back by the SMF.

3. The method for obtaining terminal measurement data according to claim 2, characterized in that: Also includes: The NWDAF selects a default PDU session or randomly selects a PDU session from the at least one PDU session.

4. The method for obtaining terminal measurement data according to claim 1, characterized in that: The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session, including: The NWDAF directly subscribes the measurement data of the terminal to the UPF based on the PDU session; or The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF.

5. The method for obtaining terminal measurement data according to claim 4, characterized in that: The NWDAF subscribes the measurement data of the terminal directly to the UPF based on the PDU session, including: The NWDAF directly sends a first subscription event request to the UPF; The NWDAF receives the measurement data of the terminal fed back by the UPF, where the measurement data is fed back by the UPF according to the first subscription event request through the transport layer connection established between the terminal and the UPF based on the PDU session.

6. The method for obtaining terminal measurement data according to claim 5, characterized in that: The measurement data is the UPF sending a first subscription request to the terminal through the PDU session selected by the NWDAF according to the first subscription event request, and receiving the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of the specified application.

7. The method for obtaining terminal measurement data according to claim 5, characterized in that: The measurement data is that the UPF dynamically initiates a transport layer transmission control protocol TCP connection to the terminal based on the PDU session selected by the NWDAF according to the first subscription event request, sends a first subscription request to the terminal through the TCP connection, and receives measurement data fed back by the terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality and experience quality data of a specified application.

8. The method for obtaining terminal measurement data according to any one of claims 5 to 7, characterized in that: Also includes: When the NWDAF determines that the subscription needs to be cancelled, sending a cancellation request to the UPF; or, In the process of acquiring the measurement data of the terminal, after receiving the release message sent by the session management function SMF indicating that the PDU session is released, the NWDAF sends a cancellation notification to the UPF.

9. The method for obtaining terminal measurement data according to claim 4, characterized in that: The NWDAF subscribes the measurement data of the terminal to the UPF based on the PDU session through the session management function SMF, including: The NWDAF initiates a second subscription event request to the SMF; The NWDAF receives the measurement data of the terminal fed back by the SMF, where the measurement data is fed back by the SMF according to the second subscription event request through the transport layer connection established between the UPF, the terminal and the UPF based on the PDU session.

10. The method for obtaining terminal measurement data according to claim 9, characterized in that: The measurement data is that the SMF sends a second subscription request to the UPF according to the second subscription event request, and the UPF sends a third subscription request to the terminal through the PDU session selected by the NWDAF, and receives the measurement data fed back by the terminal through the transmission control protocol TCP connection established based on the selected PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of specified applications.

11. The method for obtaining terminal measurement data according to claim 9 or 10, characterized in that: Also includes: When the NWDAF determines to cancel the subscription, sending a cancellation request to the SMF; or, In the process of acquiring the measurement data of the terminal, after the NWDAF receives the release message sent by the SMF indicating that the PDU session is released, it sends a cancellation request to the SMF, and the SMF sends a cancellation notification to the UPF.

12. A method for obtaining terminal measurement data, characterized in that: Applied to a user plane function UPF, the method comprises: The UPF receives a subscription event request, where the subscription event request is used to feed back measurement data of a terminal specified by the NWDAF to a network data analysis function NWDAF; The UPF obtains the measurement data of the specified terminal according to the subscription event request; The UPF feeds back the measurement data to the NWDAF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

13. The method for obtaining terminal measurement data according to claim 12, characterized in that: The UPF obtains the measurement data of the specified terminal according to the subscription event request, including: The UPF receives a first subscription event request sent by the NWDAF; The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the first subscription event request.

14. The method for obtaining terminal measurement data according to claim 13, characterized in that: The UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including: The UPF obtains the measurement data of the specified terminal according to the first subscription event request through the protocol data unit PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection established based on the PDU session.

15. The method for obtaining terminal measurement data according to claim 14, characterized in that: The UPF obtains, according to the first subscription event request, measurement data of the specified terminal through the PDU session selected by the NWDAF and a transport layer connection established based on the PDU session, including: The UPF sends a first subscription request to the terminal through the PDU session selected by the NWDAF according to the first subscription event request; The UPF establishes a transmission control protocol TCP connection based on the PDU session, and receives measurement data fed back by a specified terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a specified application.

16. The method for obtaining terminal measurement data according to claim 13, characterized in that: The UPF obtains, according to the first subscription event request, measurement data of a specified terminal through a connection between the terminal and the UPF, including: The UPF receives the measurement data fed back by the designated terminal according to the first subscription event request through the PDU session between the terminal selected by the NWDAF and the UPF and the transport layer connection dynamically established based on the PDU session.

17. The method for obtaining terminal measurement data according to claim 16, characterized in that: The UPF receives, according to the first subscription event request, measurement data fed back by the specified terminal through a PDU session between the terminal selected by the NWDAF and the UPF and a transport layer connection dynamically established based on the PDU session, including: The UPF dynamically initiates a transmission control protocol TCP connection to the terminal based on the PDU session between the terminal selected by the NWDAF and the UPF according to the first subscription event request, and sends a first subscription request to the terminal through the TCP connection; The UPF receives measurement data fed back by a designated terminal through the TCP connection; the measurement data includes at least one of the following: measurement data of service quality, and experience quality data of a designated application.

18. The method for obtaining terminal measurement data according to any one of claims 13 to 17, characterized in that: Also includes: If a subscription cancellation request is received from the NWDAF, a subscription cancellation notification is sent to the terminal; or, In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received after the NWDAF receives a release message sent by the session management function SMF indicating that the PDU session is released, a cancellation notification is sent to the terminal.

19. The method for obtaining terminal measurement data according to claim 13, characterized in that: The UPF obtains the measurement data of the specified terminal according to the subscription event request, including: The UPF obtains the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF.

20. The method for obtaining terminal measurement data according to claim 19, characterized in that: The UPF acquires the measurement data of the specified terminal through the connection between the terminal and the UPF according to the second subscription event request sent by the NWDAF to the SMF, including: The UPF receives the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the transport layer connection established based on the PDU session according to the second subscription event request sent by the NWDAF to the SMF.

21. The method for obtaining terminal measurement data according to claim 20, characterized in that: The UPF receives, according to the second subscription event request sent by the NWDAF to the SMF, the measurement data fed back by the specified terminal through the PDU session selected by the NWDAF and the connection of the transport layer established based on the PDU session, including: receiving a second subscription request sent by the SMF, where the second subscription request is sent by the SMF after receiving the second subscription event request sent by the NWDAF; A third subscription request is sent to the terminal through the PDU session selected by the NWDAF, and measurement data fed back by the specified terminal is received through a transmission control protocol TCP connection established based on the PDU session; the measurement data includes at least one of the following: measurement data of service quality, experience quality data of a specified application.

22. The method for obtaining terminal measurement data according to any one of claims 19 to 21, characterized in that: Also includes: If a cancellation request is received from the SMF, a cancellation notification is sent to the terminal; or, In the process of feeding back the measurement data to the NWDAF, if a cancellation request is received from the SMF, a cancellation notification is sent to the terminal. The cancellation request sent by the SMF is sent after the SMF feeds back a release message to the NWDAF that the PDU session is released and receives the cancellation request sent by the NWDAF.

23. A method for reporting measurement data, characterized in that: Applied to a terminal, the method comprises: Receiving a subscription request sent by a user plane function UPF; Collecting measurement data according to the subscription request; The measurement data is sent to a network data analysis function NWDAF through the UPF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

24. The method for reporting measurement data according to claim 23, characterized in that: Receiving a subscription request sent by the user plane function UPF, including: Through the connection between the terminal and the UPF, a subscription request sent by the UPF is received.

25. The method for reporting measurement data according to claim 24, characterized in that: Receiving a subscription request sent by the UPF through the connection between the terminal and the UPF, including Receiving a subscription request sent by the UPF through a protocol data unit PDU session selected by the NWDAF; or, The subscription request sent by the UPF is received through a transmission control protocol TCP connection dynamically established based on the PDU session selected by the NWDAF.

26. The method for reporting measurement data according to claim 25, characterized in that: The measurement data is sent to a network data analysis function NWDAF through the UPF, including: The measurement data is sent to the UPF through a transmission control protocol TCP connection established between the terminal and the UPF based on the PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message; or, The measurement data is sent to the UPF through a transmission control protocol TCP connection dynamically established between the terminal and the UPF based on a PDU session, and the UPF sends the measurement data to a network data analysis function NWDAF through a notification message.

27. A device for obtaining terminal measurement data, characterized in that: Applied to the network data analysis function NWDAF, the device comprises: An acquisition module, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF; A processing module is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

28. A network data analysis functional entity, characterized in that: include: A transceiver, used to obtain the user plane function UPF information corresponding to the terminal and the information of the protocol data unit PDU session established between the terminal and the UPF; A processor is used to subscribe the measurement data of the terminal to the UPF based on the PDU session.

29. A device for obtaining terminal measurement data, characterized in that: Applied to a user plane function UPF, the device comprises: A transceiver module, used for receiving a subscription event request, wherein the subscription event request is used for feeding back to the network data analysis function NWDAF the measurement data of the terminal specified by the NWDAF; A processing module, used for acquiring the measurement data of the specified terminal according to the subscription event request; The transceiver module is also used to feed back the measurement data to the NWDAF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

30. A user plane functional entity, characterized in that: include: A transceiver, configured to receive a subscription event request, wherein the subscription event request is used to feed back measurement data of a terminal specified by a network data analysis function NWDAF to the NWDAF; A processor, configured to obtain measurement data of a specified terminal according to the subscription event request; The transceiver is also used to feed back the measurement data to the NWDAF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

31. A measurement data reporting device, characterized in that: Applied to a terminal, the device comprises: A transceiver module, used to receive a subscription request sent by a user plane function UPF; A processing module, used for collecting measurement data according to the subscription request; The transceiver module is also used to send the measurement data to the network data analysis function NWDAF through the UPF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

32. A terminal, characterized in that: include: A transceiver, configured to receive a subscription request sent by a user plane function UPF; A processor, configured to collect measurement data according to the subscription request; The transceiver is also used to send the measurement data to the network data analysis function NWDAF through the UPF; wherein the measurement data is subscribed to the UPF based on the PDU session after the NWDAF obtains the UPF information corresponding to the terminal and the information of the PDU session established between the terminal and the UPF.

33. A communication device, characterized in that: include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 11, any one of 12 to 22, or any one of 23 to 26 is performed.

34. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 11, any one of claims 12 to 22, or any one of claims 23 to 26.