WO2023056784A1 - Data collection method, communication apparatus and communication system - Google Patents

Data collection method, communication apparatus and communication system Download PDF

Info

Publication number
WO2023056784A1
WO2023056784A1 PCT/CN2022/113349 CN2022113349W WO2023056784A1 WO 2023056784 A1 WO2023056784 A1 WO 2023056784A1 CN 2022113349 W CN2022113349 W CN 2022113349W WO 2023056784 A1 WO2023056784 A1 WO 2023056784A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
information
application
network
request message
Prior art date
Application number
PCT/CN2022/113349
Other languages
French (fr)
Chinese (zh)
Inventor
丁辉
李飞
周晓云
时书锋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023056784A1 publication Critical patent/WO2023056784A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal

Definitions

  • the present application relates to the technical field of wireless communication, in particular to a data collection method, a communication device and a communication system.
  • the data analysis network element can collect data from the application function network element when the terminal device accesses an application in the application function, and analyze the collected data to obtain analysis results, which can be used as an improvement References for user experience.
  • the present application provides a data collection method, a communication device, and a communication system to improve the security of data collection.
  • the embodiment of the present application provides a data collection method, which can be executed by a data analysis network element or a module (such as a chip) applied to the data analysis network element.
  • the method includes: determining the address information of the first session used by the terminal device to access the application; sending a first request message to the application function network element providing the application, the first request message including the identification information of the application and the first session the address information of the first session; the address information of the first session is used to collect the application data of the terminal device; and receive the application data from the application function network element.
  • the address information of the first session is used to collect the data of the application of the terminal device, for example, the application function network element collects the data of the application of the terminal device according to the address information of the first session. Wherein, the application function network element collects the data of the application of the terminal device. For example, the application function network element may send a request message to the terminal device to request the data of the application of the terminal device. The functional network element records the data in the process of the terminal device accessing the application through the first session.
  • the data analysis network element can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the session to the application function network element, and the terminal device may not access the session.
  • the address information of all sessions of the application is sent to the application function network element, which avoids exposing the session information of the terminal device that should not be sensed by the application function network element to the application function network element, and reduces security risks.
  • the network information corresponding to the application includes data network name and/or slice identification information
  • send a second request message to the communication device corresponding to the network information the second request message includes The identification information of the application and the application start event, the second request message also includes the network information or the identification information of the session corresponding to the network information; receiving the address information of the first session from the first communication device, the first session It is a session in which the application start event of the application is detected among the sessions corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
  • the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and the communication device sends the address information of the first session to the data analysis network element, which can accurately determine the address information of the session used by the terminal device to access the application.
  • the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
  • the data analysis network element provides session parameter information to the communication device, and the communication device can filter the sessions to be performed application start event detection according to the session parameter information, thus reducing the number of sessions for which the communication device performs application start event detection, and can Reduce communication equipment overhead.
  • the session parameter information of the network element, the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  • the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; send a fourth request message to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the network information corresponding The identification information of the session; receiving the address information of the first session from the first communication device, the first session is a session corresponding to the first session parameter information in the session corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
  • the data analysis network element slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application.
  • the routing descriptor includes the first session parameter information, and the data analysis network element uses the first session parameter.
  • the information is provided to the communication device, so that the communication device can determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is the session used when the terminal device accesses the application. Then the communication device sends the address information of the first session to the data analysis network element, so that the address information of the session used by the terminal device to access the application can be accurately determined.
  • the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; receiving the communication with the network information from the communication device The address information of the session corresponding to the network information, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the address of the session corresponding to the network information The address information of the first session is determined in the information, and the session parameter information of the first session is the first session parameter information.
  • the data analysis network element slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application.
  • the routing descriptor includes the first session parameter information, and the data analysis network element obtains a Address information and session parameter information of one or more sessions, and determine the first session corresponding to the first session parameter information from the one or more sessions, and the first session is the session used when the terminal device accesses the application , can accurately determine the address information of the session used when the terminal device accesses the application.
  • the address information of the communication device corresponding to the network information and the identification information of the session are obtained from the data management network element, and the communication device is a session management network element; or, from the binding support network element Obtain the address information of the communication device and the identification information of the session corresponding to the network information, where the communication device is a session management policy control network element.
  • the address information of the communication device corresponding to the network information is obtained from the binding support network element, and the communication device is a session management policy control network element.
  • the embodiment of the present application provides a data collection method, which can be executed by a communication device or a module (such as a chip) applied in the communication device, and the communication device is a session management policy control network element or a session management network Yuan.
  • the method includes: receiving a second request message from a data analysis network element, the second request message includes application identification information and an application start event, and the second request message also includes network information or identification information of a session corresponding to the network information ;
  • the application start event of the application is detected on the first session of the sessions corresponding to the network information; the address information of the first session is sent to the data analysis network element, and the address information of the first session is used to collect terminal equipment of the app's data.
  • the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and the communication device sends the address information of the first session to the data analysis network element, which can accurately determine the address information of the session used by the terminal device to access the application.
  • the second request message also includes session parameter information; determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; execute the application on the one or more sessions Detection of a start event, the one or more sessions including the first session.
  • the embodiment of the present application provides a data collection method, which can be executed by a communication device or a module (such as a chip) applied in the communication device, and the communication device is a session management policy control network element or a session management network Yuan.
  • the method includes: receiving a fourth request message from a data analysis network element, where the fourth request message includes first session parameter information, and the fourth request message also includes network information or identification information of a session corresponding to the network information; Address information of a session, the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information; sending the address information of the first session to the data analysis network element, the first session The address information is used to collect data for this application of the terminal device.
  • the data analysis network element provides the first session parameter information to the communication device, so that the communication device can determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is The session used by the terminal device to access the application. Then the communication device sends the address information of the first session to the data analysis network element, so that the address information of the session used by the terminal device to access the application can be accurately determined.
  • the session parameter information and/or the first session parameter information in any implementation method from the first aspect to the third aspect include one or more of the following information: session and business continuity mode, Access type or session type.
  • the embodiment of the present application provides a data collection method, which can be executed by an application function network element or a module (such as a chip) applied to the application function network element.
  • the method includes: receiving a data subscription request message from a data analysis network element, the data subscription request message including identification information of a terminal device and an external application ID (External Application ID); opening a function (network exposure function, NEF) network element to the network Sending a first request message, the first request message including the identification information of the terminal device and the external application identification, the first request message is used to query the address information of the session used by the terminal device to access the application corresponding to the external application identification; receiving The terminal device from the NEF network element accesses the address information of the first session used by the application corresponding to the external application identifier; according to the address information of the first session, collects the application data of the terminal device corresponding to the external application identifier ; Send the application data to the data analysis network element.
  • NEF network exposure function
  • the embodiment of the present application provides a data collection method, which can be executed by a network element with an open network function or a module (such as a chip) applied to the network element with an open network function.
  • the method includes: receiving a first request message from an application function network element, the first request message includes identification information of the terminal device and an external application identification, and the first request message is used to query the terminal equipment to access the corresponding external application identification The address information of the session used by the application; acquiring the address information of the first session used by the terminal device to access the application corresponding to the external application identifier; sending the address information of the first session to the application function network element.
  • acquiring the address information of the first session used by the terminal device to access the application corresponding to the external application identifier specifically includes: acquiring network information corresponding to the application, the network information including data network name and/or slice identification information; send a second request message to the communication device corresponding to the network information, the second request message includes the external application identifier and the application start event, and the second request message also includes the network information or the session corresponding to the network information identification information; receive address information of the first session from the first communication device, where the first session is a session in which the application start event of the application is detected in the session corresponding to the network information, and the first communication device is One of the communication devices corresponding to the network information.
  • the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and receives the address information of the first session from the communication device, which can realize accurate determination Address information of the session used when the terminal device accesses the application.
  • the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
  • the session parameter information is provided to the communication device, and the communication device can filter the sessions for which application start event detection is to be performed according to the session parameter information, thereby reducing the number of sessions for which the communication device performs application start event detection, and can reduce the communication device's overhead.
  • the session parameter information of the network element, the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  • the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; send a fourth request message to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the network information corresponding The identification information of the session; receiving the address information of the first session from the first communication device, the first session is a session corresponding to the first session parameter information in the session corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
  • the slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application, the routing descriptor includes the first session parameter information, and provides the first session parameter information to the communication device, so that the communication
  • the device may determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is the session used when the terminal device accesses the application. Then, receiving the address information of the first session from the communication device can accurately determine the address information of the session used when the terminal device accesses the application.
  • the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; receiving the communication with the network information from the communication device The address information of the session corresponding to the network information, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the address of the session corresponding to the network information The address information of the first session is determined in the information, and the session parameter information of the first session is the first session parameter information.
  • the slave management policy controls the network element to obtain the routing descriptor used when the terminal device accesses the application, the routing descriptor includes the first session parameter information, and obtains the address information and address information of one or more sessions from the communication device. Session parameter information, and determine the first session corresponding to the first session parameter information from the one or more sessions, the first session is the session used when the terminal device accesses the application, and can accurately determine the terminal device Address information for the session used to access the app.
  • the address information of the communication device corresponding to the network information and the identification information of the session are obtained from the data management network element, and the communication device is a session management network element; or, from the binding support network element Obtain the address information of the communication device and the identification information of the session corresponding to the network information, where the communication device is a session management policy control network element.
  • the address information of the communication device corresponding to the network information is obtained from the binding support network element, and the communication device is a session management policy control network element.
  • the embodiment of the present application provides a communication device, and the device may be a data analysis network element, or may be a module (such as a chip) for the data analysis network element.
  • the device has the function of realizing any realization method of the first aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, which may be a communication device, or a module (such as a chip) used for the communication device, and the communication device is a session management policy control network element or a session management network element .
  • the device has the function of realizing any realization method of the second aspect or the third aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device.
  • the device may be an application function network element, or may be a module (such as a chip) for the application function network element.
  • the device has the function of realizing any realization method of the fourth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device.
  • the device may be a network element with a network opening function, or may be a module (such as a chip) for the network element with a network opening function.
  • the device has the function of implementing any implementation method of the fifth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory so that the device executes Any implementation method in the first aspect to the fifth aspect above.
  • the embodiment of the present application provides a communication device, including a unit or means (means) for performing each step of any implementation method in the first aspect to the fifth aspect.
  • the embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is used to communicate with other devices through the interface circuit, and execute any implementation method in the first to fifth aspects above .
  • the processor includes one or more.
  • the embodiment of the present application provides a communication device, including a processor coupled to a memory, and the processor is used to call a program stored in the memory to execute any implementation in the first aspect to the fifth aspect above method.
  • the memory may be located within the device or external to the device. And there may be one or more processors.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a communication device, the above-mentioned first to fifth aspects Any implementation method of is executed.
  • the embodiment of the present application also provides a computer program product, the computer program product includes a computer program or instruction, when the computer program or instruction is run by the communication device, any of the above first to fifth aspects The implementation method is executed.
  • the embodiment of the present application further provides a chip system, including: a processor, configured to execute any implementation method in the first aspect to the fifth aspect above.
  • the embodiment of the present application further provides a communication system, including a data analysis network element and an application function network element.
  • the data analysis network element is used to execute any implementation method of the first aspect.
  • the application function network element is used to receive a first request message from the data analysis network element, where the first request message includes application identification information and address information of the first session; and sends the terminal device information to the data analysis network element App data.
  • the embodiment of the present application further provides a communication system, including a data analysis network element and a communication device.
  • the communication device is configured to execute any implementation method of the second aspect.
  • the data analysis network element is configured to send a second request message to the communication device, where the second request message includes application identification information and an application start event, and where the second request message also includes network information or a session corresponding to the network information identification information; and receiving address information of a first session from the communication device, where the first session is a session in which an application start event of the application is detected in a session corresponding to the network information, and the address information of the first session is used for collecting the data of the application of the terminal device.
  • the communication device is a session management network element or a session management policy control network element.
  • the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
  • the embodiment of the present application further provides a communication system, including a data analysis network element and a communication device.
  • the communication device is configured to execute any implementation method of the third aspect.
  • the data analysis network element is configured to send a fourth request message to the communication device, where the fourth request message includes first session parameter information, and the fourth request message also includes network information or identification information of a session corresponding to the network information; and receiving address information of a first session from the communication device, where the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information, and the address information of the first session is used to collect the information of the terminal device data for this application.
  • the communication device is a session management network element or a session management policy control network element.
  • the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
  • the data analysis network element is also used to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, and the routing descriptor includes network information and the first Session parameter information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device, the fifth request message including the network information or the identification information of the session corresponding to the network information; receiving from The address information of the session corresponding to the network information of the communication device, and the session parameter information of the session corresponding to the network information; and according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the network
  • the address information of the first session is determined in the address information of the session corresponding to the information, and the session parameter information of the first session is the first session parameter information.
  • the embodiment of the present application also provides a communication system, including an application function network element for performing any implementation method of the fourth aspect, and a network open function network for performing any implementation method of the fifth aspect Yuan.
  • FIG. 1(a) is a schematic diagram of a communication system provided by an embodiment of the present application.
  • Figure 1(b) is a schematic diagram of another communication system provided by the embodiment of the present application.
  • Figure 2(a) is a schematic diagram of a 5G network architecture based on a service architecture
  • Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface
  • FIG. 3 is a schematic flow chart of a data collection method provided in an embodiment of the present application.
  • Figure 4(a) is a schematic flow diagram of a data collection method provided in the embodiment of the present application.
  • FIG. 4(b) is a schematic flowchart of a method for determining address information of a first session used by a terminal device to access an application provided in an embodiment of the present application;
  • FIG. 4(c) is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application;
  • Fig. 4(d) is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application;
  • Figure 4(e) is a schematic flow diagram of a data collection method provided in the embodiment of the present application.
  • FIG. 5 is a schematic flow diagram of a data collection method provided in an embodiment of the present application.
  • FIG. 6 is a schematic flow diagram of a data collection method provided in an embodiment of the present application.
  • FIG. 7 is a schematic flow diagram of a data collection method provided in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • the present application provides a communication system, which includes a data analysis network element and an application function network element.
  • the system further includes a mobility management policy control network element and/or a communication device, where the communication device is a session management network element or a session management policy control network element.
  • the data analysis network element is used to determine the address information of the first session used by the terminal device to access the application; and send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the first session address information of a session; the address information of the first session is used to collect the application data of the terminal device; and receive the application data from the application function network element.
  • An application function network element configured to receive the first request message from the data analysis network element; and send the application data of the terminal device to the data analysis network element.
  • the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
  • the data analysis network element is used to obtain network information corresponding to the application, the network information including data network name and/or slice identification information; sending a second request message to the communication device corresponding to the network information , the second request message includes identification information of the application and an application start event, the second request message further includes identification information of the network information or a session corresponding to the network information; and receiving the first session from the first communication device address information, the first session is a session in which the application start event of the application is detected among the sessions corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
  • the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
  • the data analysis network element is configured to send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; and Receive the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  • the mobility management policy control network element is used to obtain the session parameter information according to the identification information of the terminal equipment and the flow descriptor of the application, and send the session parameter information to the data analysis network element.
  • the data analysis network element is configured to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, where the routing descriptor includes network information and first session parameters information, the network information includes data network name and/or slice identification information; a fourth request message is sent to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes The network information or the identification information of the session corresponding to the network information; and receiving the address information of the first session from the first communication device, the first session is the first session parameter information in the session corresponding to the network information For a corresponding session, the first communication device is one of the communication devices corresponding to the network information.
  • the data analysis network element is configured to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, where the routing descriptor includes network information and first session parameters Information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes identification information of the network information or the session corresponding to the network information; receiving the address information of the session corresponding to the network information from the communication device, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the The address information of the first session is determined in the address information of the session corresponding to the network information, and the session parameter information of the first session is the first session parameter information.
  • the data analysis network element is configured to obtain the address information of the communication device and the identification information of the session corresponding to the network information from the data management network element, where the communication device is a session management network element; or The address information of the communication device and the identification information of the session corresponding to the network information are obtained from the binding support network element, where the communication device is a session management policy control network element.
  • the system shown in Figure 1(a) can be used in the fifth generation (the 5th generation, 5G) network architecture shown in Figure 2(a) or Figure 2(b), of course, it can also be used in future network architectures,
  • the sixth generation (6th generation, 6G) network architecture, etc. are not limited in this application.
  • the present application provides a communication system, which includes a data analysis network element and a communication device, where the communication device may be a session management network element or a session management policy control network element.
  • the communication device is configured to receive a second request message from a data analysis network element, where the second request message includes application identification information and an application start event, and where the second request message also includes network information or The identification information of the session corresponding to the network information; detecting the application start event of the application on the first session of the sessions corresponding to the network information; and sending the address information of the first session to the data analysis network element, the second session
  • the address information of a session is used to collect the application data of the terminal device.
  • a data analysis network element configured to send the second request message to the communication device; and receive address information of the first session from the communication device.
  • the second request message also includes session parameter information; the communication device is further configured to determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; Detection of an application start event is performed by one or more sessions, including the first session.
  • the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
  • the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
  • the communication device is configured to receive a fourth request message from the data analysis network element, the fourth request message includes the first session parameter information, and the fourth request message also includes network information or the network information
  • the identification information of the corresponding session acquire the address information of the first session, the first session is the session corresponding to the first session parameter information among the sessions corresponding to the network information; and send the first session to the data analysis network element
  • the address information of the session, the address information of the first session is used to collect the application data of the terminal device.
  • a data analysis network element configured to send the fourth request message to the communication device, and receive address information of the first session from the communication device.
  • the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
  • the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
  • the data analysis network element is also used to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, and the routing descriptor includes network information and the first Session parameter information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device, the fifth request message including the network information or the identification information of the session corresponding to the network information; receiving from The address information of the session corresponding to the network information of the communication device, and the session parameter information of the session corresponding to the network information; and according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the network
  • the address information of the first session is determined in the address information of the session corresponding to the information, and the session parameter information of the first session is the first session parameter information.
  • the system shown in Figure 1(b) can be used in the 5G network architecture shown in Figure 2(a) or Figure 2(b). Of course, it can also be used in future network architectures, such as 6G network architectures. This application does not Do limited.
  • next generation mobile communication network system Next Generation System
  • 5G network architecture Next Generation Mobile communication network system
  • This architecture not only supports wireless access technologies (such as long term evolution (LTE) access technologies, 5G radio access network (RAN) access technologies, etc.) defined by the 3GPP standard group to access the 5G core Network (core network, CN), and supports the use of non-3GPP (non-3GPP) access technology through non-3GPP interworking function (non-3GPP interworking function, N3IWF) or next generation access gateway (next generation packet data gateway, ngPDG) Access to the core network.
  • LTE long term evolution
  • RAN radio access network
  • N3IWF non-3GPP interworking function
  • N3IWF next generation access gateway
  • ngPDG next generation packet data gateway
  • FIG. 1 is a schematic diagram of a 5G network architecture based on a service-based architecture.
  • the 5G network architecture shown in FIG. 1 may include terminal equipment, access network equipment, and core network equipment.
  • the terminal device accesses the data network (data network, DN) through the access network device and the core network device.
  • data network data network
  • the core network equipment includes but not limited to some or all of the following network elements: authentication server function (authentication server function, AUSF) network element (not shown in the figure), unified data management (unified data management, UDM) network element, unified data repository (unified data repository, UDR) network element, network repository function (network repository function, NRF) network element (not shown in the figure), network exposure function (network exposure function, NEF) network element (not shown in the figure) shown), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, binding support function (binding support function, BSF) network element (not shown in the figure), network data analysis function (network data analysis function, NWDAF) network element (not shown in the figure).
  • authentication server function authentication server function, AUSF
  • UDM unified data management
  • the terminal device may be a user equipment (user equipment, UE), a mobile station, a mobile terminal, and the like.
  • Terminal devices can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (internet of things, IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc.
  • Terminal devices can be mobile phones, tablet computers, computers with wireless transceiver functions, wearable devices, vehicles, urban air vehicles (such as drones, helicopters, etc.), ships, robots, robotic arms, smart home devices, etc.
  • the access network device may be a radio access network (RAN) device or a wired access network (wireline access network, FAN) device.
  • the wireless access network equipment includes 3GPP access network equipment, untrusted non-3GPP access network equipment and trusted non-3GPP access network equipment.
  • 3GPP access network equipment includes but not limited to: evolved base station (evolved NodeB, eNodeB) in LTE, next generation base station (next generation NodeB, gNB) in 5G mobile communication system, base station or completed base station in future mobile communication system Partial functional modules or units, such as centralized unit (central unit, CU), distributed unit (distributed unit, DU), etc.
  • Untrusted non-3GPP access network equipment includes but not limited to: untrusted non-3GPP access gateway or N3IWF equipment, untrusted wireless local area network (wireless local area network, WLAN) access point (access point, AP), switch ,router.
  • Trusted non-3GPP access network devices include, but are not limited to: trusted non-3GPP access gateways, trusted WLAN APs, switches, and routers.
  • Wired access network equipment includes but not limited to: wired access gateway (wireline access gateway), fixed telephone network equipment, switches, routers.
  • Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air.
  • the embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
  • the AMF network element includes functions such as mobility management and access authentication/authorization. In addition, it is also responsible for transferring user policies between terminal equipment and PCF.
  • the SMF network element includes the functions of executing session management, executing the control strategy issued by the PCF, selecting UPF, and assigning the Internet protocol (internet protocol, IP) address of the terminal device, etc.
  • the UPF network element includes functions such as user plane data forwarding, session/flow-based charging statistics, and bandwidth limitation.
  • UDM network element including the execution management of subscription data, user access authorization and other functions.
  • UDR including the access function of execution contract data, policy data, application data and other types of data.
  • NEF network elements are used to support the opening of capabilities and events.
  • the AF network element transmits the requirements from the application side to the network side, such as QoS requirements or user status event subscription.
  • the AF may be a third-party functional entity, or an application service deployed by an operator, such as an IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) voice call service.
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • the AF network element includes an AF network element in the core network (that is, an operator's AF network element) and a third-party AF network element (such as an application server of an enterprise).
  • the PCF network element includes policy control functions such as charging for sessions and service flow levels, QoS bandwidth guarantee, mobility management, and terminal policy decision-making.
  • PCF network elements include access and mobility management policy control function (access and mobility management policy control function, AM PCF) network elements and session management policy control function (session management PCF, SM PCF) network elements, AM PCF network elements can To provide mobility management policies, SM PCF network elements can provide session management policies.
  • the NRF network element can be used to provide a network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements.
  • NRF also provides network element management services, such as network element registration, update, de-registration, network element status subscription and push, etc.
  • BSF network element can provide functions such as BSF service registration/deregistration/update, connection detection with NRF, creation of session binding information, acquisition of UE information, query of session binding information with duplicate IP addresses, etc.
  • the AUSF network element is responsible for authenticating users to determine whether users or devices are allowed to access the network.
  • NWDAF network elements are mainly used to collect data (including one or more of terminal equipment data, access network equipment data, core network network element data, and third-party application data), and provide data analysis services based on machine learning models, Data analysis results can be output for network, network management, and application execution policy decisions.
  • a NWDAF network element may be a single network element, or it may be set up together with other network elements, for example, the NWDAF network element is set in a PCF network element or an AMF network element.
  • DN is a network outside the operator's network.
  • the operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminals.
  • DN is a private network of a smart factory.
  • the sensors installed in the workshop of the smart factory can be terminals, and the control server of the sensors is deployed in the DN, and the control server can provide services for the sensors.
  • the sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions.
  • DN is a company's internal office network.
  • the mobile phone or computer of the company's employees can be a terminal, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
  • Npcf, Nufr, Nudm, Naf, Namf, and Nsmf are the service interfaces provided by the above-mentioned PCF, UDR, UDM, AF, AMF, and SMF, respectively, and are used to call corresponding service operations.
  • N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers are as follows:
  • N1 the interface between the AMF and the terminal device, which can be used to transmit non-access stratum (non access stratum, NAS) signaling (such as including QoS rules from the AMF) to the terminal device.
  • non-access stratum non access stratum, NAS
  • N2 the interface between the AMF and the access network device, which can be used to transfer radio bearer control information from the core network side to the access network device.
  • N3 the interface between the access network device and the UPF, mainly used to transfer the uplink and downlink user plane data between the access network device and the UPF.
  • N4 The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the delivery of forwarding rules, QoS rules, traffic statistics rules, etc. for the user plane, as well as user plane information report.
  • N6 interface between UPF and DN, used to transmit uplink and downlink user data flow between UPF and DN.
  • Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface, and the introduction of the functions of the network elements can refer to the introduction of the functions of the corresponding network elements in Figure 2(a), and will not be repeated here.
  • the main difference between Figure 2(b) and Figure 2(a) is that the interface between each control plane network element in Figure 2(a) is a service interface, and each control plane network element in Figure 2(b) The interface between them is a point-to-point interface.
  • N1, N2, N3, N4 and N6 interfaces can refer to the foregoing description.
  • N5 the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
  • N7 the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
  • protocol data unit protocol data unit
  • PDU protocol data unit
  • N8 The interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to terminal equipment mobility management with UDM.
  • N9 a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
  • N10 the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register terminal device session-related information with UDM.
  • N11 The interface between SMF and AMF, which can be used to transfer the PDU session tunnel information between the access network device and UPF, transfer the control message sent to the terminal device, and transfer the wireless resource sent to the access network device control information, etc.
  • N15 the interface between the PCF and the AMF, which can be used to issue terminal policies and access control-related policies.
  • N35 the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
  • N36 the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • data analysis network element can be NWDAF network elements, UDM network elements, AMF network elements, SMF network elements, UPF network elements, AM PCF network elements, SM PCF network elements, AF network elements, and BSF network elements in the 5G system.
  • NWDAF network element UDM network element, AMF network element, SMF network element, UPF network element, AM PCF network element, SM PCF network element, AF network element, and BSF network element in future communications such as 6G networks network elements, which is not limited in this application.
  • the data analysis is performed with NWDAF network element, UDM network element, AMF network element, SMF network element, UPF network element, AM PCF network element, SM PCF network element, AF network element, and BSF network element respectively Network elements, data management network elements, mobility management network elements, session management network elements, user plane network elements, mobility management policy control network elements, session management policy control network elements, application function network elements, and binding support network elements An example is described.
  • NWDAF network elements, UDM network elements, AMF network elements, SMF network elements, UPF network elements, AM PCF network elements, SM PCF network elements, AF network elements, and BSF network elements are referred to as NWDAF, UDM, AMF, and SMF respectively.
  • UPF, AM PCF, SM PCF, AF, BSF are referred to as NWDAF, UDM, AMF, and SMF respectively.
  • FIG. 3 it is a schematic flowchart of the analysis method provided in the embodiment of the present application. The method includes the following steps:
  • step 301 the NWDAF determines to collect data on applications accessed by terminal devices.
  • NWDAF determines to collect data on applications accessed by terminal devices according to the subscription request.
  • the subscription request carries identification information of an application and identification information of at least one terminal device
  • the subscription request is used to request to subscribe to service experience information and/or service flow characteristic information of the at least one terminal device to access the application
  • the NWDAF determines to collect the data of the at least one terminal device accessing the application, so that the subsequent NWDAF can determine the service experience information and /or service flow characteristic information.
  • the subscription request carries the identification information of the application and the identification information of the terminal device group
  • the terminal device group includes one or more terminal devices
  • the subscription request is used to request to subscribe to the terminal device group
  • NWDAF determines to collect the data of terminal devices in the terminal device group accessing the application, so that subsequent NWDAF can
  • the terminal devices in the device group access the data of the application, and the service experience information and/or service flow characteristic information of the terminal devices in the terminal device group accessing the application are determined.
  • the subscription request carries application identification information and area identification information
  • the area indicated by the area identification information includes one or more terminal devices
  • the subscription request is used to request to subscribe to the area indicated by the area identification information
  • NWDAF determines to collect the application data accessed by terminal devices in the area indicated by the area identification information, so that subsequent NWDAF can collect
  • the terminal device in the area indicated by the area identification information accesses the data of the application, and it is determined that the terminal device in the area indicated by the area identification information accesses the service experience information and/or service flow characteristic information of the application.
  • Step 302 NWDAF acquires network information corresponding to AF, the network information includes DNN and/or slice identification information, and the slice identification information may be single network slice selection assistance information (single network slice selection assistance information, S-NSSAI).
  • the AF here refers to the AF corresponding to the application, that is, the AF that deploys or provides the application.
  • the number of network information corresponding to the AF acquired by the NWDAF may be one or more.
  • the NWDAF can acquire the network information corresponding to the AF from the NRF.
  • the AF can send a registration message to the NRF.
  • the registration message includes the address information of the AF and the network information that the terminal device may use to access the application on the AF, so as to realize the registration of the network information that the terminal device may use to access the application on the AF.
  • NRF NRF. Therefore, the NWDAF can send a discovery request message to the NRF, the discovery request message includes the address information of the AF, and the discovery request message is used to request to obtain the network information corresponding to the AF, so that the NRF returns the network information corresponding to the AF to the NWDAF.
  • the NWDAF can determine the network information corresponding to the AF according to the local configuration.
  • step 303 the NWDAF sends a query request message to the UDM.
  • the UDM receives the query request message.
  • the query request message may be a Nudm_UECM_Get_Request message.
  • the query request message includes the identification information of the terminal device and the network information corresponding to the AF, and the query request message is used to request to query the identification information of the SMF that provides services for the terminal device and corresponds to the network information.
  • the quantity of network information corresponding to AF may be one or more.
  • step 304 the UDM sends a query response message to the NWDAF.
  • the NWDAF receives the query response message.
  • the query response message may be a Nudm_UECM_Get_Response message.
  • the UDM After receiving the query request message, the UDM will query the address information of one or more SMFs and the identification information of the PDU session corresponding to each SMF according to the identification information of the terminal device and the network information corresponding to the AF, and send The address information and the identification information of the PDU session are carried in the query response message and returned to NWDAF.
  • information such as the address information of the SMF and the identification information of the PDU session stored on the UDM may be registered to the UDM by the SMF.
  • the AMF will select a service SMF for the terminal device's PDU session, and then the SMF can send a registration request message to the UDM, which carries the terminal device's identification information, network information, The identification information of the SMF, the address information of the SMF, and the identification information of the PDU session.
  • Registration information 1 of SMF1 identification information of terminal device 1, network information 1, address information of SMF1, identification information of SMF1, identification information of PDU session 1, and identification information of PDU session 2;
  • Registration information 2 of SMF2 identification information of terminal device 1, network information 2, address information of SMF2, identification information of SMF2 and identification information of PDU session 3;
  • Registration information 3 of SMF3 identification information of terminal device 2, network information 3, address information of SMF3, identification information of SMF3 and identification information of PDU session 4;
  • Registration information 4 of SMF4 identification information of terminal device 3, network information 4, address information of SMF4, identification information of SMF4 and identification information of PDU session 5.
  • each registration information includes identification information of a terminal device, network information, address information of an SMF, identification information of an SMF, and identification information of one or more PDU sessions.
  • the same network information corresponds to the identification information of one or more PDU sessions.
  • the above network information 1 corresponds to the identification information of two PDU sessions, which are respectively the identification information of PDU session 1 and the identification information of PDU session 2.
  • the above network information 2 , network information 3 and network information 4 all correspond to identification information of one PDU session.
  • the query response message may carry address information of multiple SMFs and each SMF Identification information of the corresponding PDU session.
  • the above query request message includes the identification information of terminal device 1, network information 1, and network information 2, and the query response message includes the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1, and the identification information of PDU session 2 , address information of SMF2, and identification information of PDU session 3 corresponding to SMF2.
  • the query response message may also carry address information of an SMF and identification information of a PDU session corresponding to the SMF.
  • step 305 the NWDAF sends a subscription request message to the SMF, and the SMF receives the subscription request message accordingly.
  • the subscription request message carries the event identifier and the identifier information of the terminal device.
  • the subscription request message also includes the network information corresponding to the AF or the identifier information of the PDU session corresponding to the SMF.
  • the event identifier is an address assignment event, and the subscription request message is used for Subscribe to the address information allocated for the PDU session of the terminal device.
  • the address information can be IPv4 address, IPv6 prefix or Ethernet address, etc.
  • the NWDAF sends a subscription request message to each SMF respectively.
  • NWDAF receives the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1 and the identification information of PDU session 2, the address information of SMF2, and the identification information of PDU session 3 corresponding to SMF2 in the above step 304, then NWDAF based on The address information of SMF1 sends a subscription request message to SMF1.
  • the subscription request message carries the event identifier and the identification information of the terminal device.
  • the subscription request message also carries network information 1 or carries the identification information of PDU session 1 and the PDU session 2. Identification information.
  • NWDAF sends a subscription request message to SMF2 based on the address information of SMF2.
  • the subscription request message carries the event identifier and the identification information of the terminal device.
  • the subscription request message also carries the network information 2 or the identification information of the PDU session 3.
  • the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
  • step 306 the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • This step 306 is an optional step.
  • step 307 the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the notification message may be an Nsmf_EventExposure_Notify message.
  • each SMF sends a notification message to NWDAF respectively, and each notification message carries address information of one or more PDU sessions of the terminal device, and the address information can be IPv4 address, IPv6 prefixes, Ethernet addresses, etc.
  • each SMF obtains the address information of the PDU session corresponding to the identification information of the PDU session according to the identification information of the PDU session in the subscription request message, and sends the address information of the PDU session to the NWDAF.
  • each SMF obtains the address information of the PDU session corresponding to the network information according to the network information in the subscription request message, and sends the address information of the PDU session to the NWDAF.
  • NWDAF may receive the address information of one PDU session, and may also receive the address information of multiple PDU sessions.
  • step 308 the NWDAF sends a data subscription request message to the AF.
  • the AF receives the data subscription request message.
  • the data subscription request message carries application identification information and address information of one or more PDU sessions.
  • the data subscription request message is used to request the PDU session to access the data of the application.
  • the data subscription request is used to request the AF to collect data related to the application from the terminal device.
  • the data subscription request is used to request the AF to collect data from the application of the terminal device (Datacollection from UE application to AF), and the collected data is used as an input of the NWDAF to generate an analysis result.
  • the terminal device will only access the service of the application on the AF through one PDU session, so if the data subscription request message carries the address information of multiple PDU sessions of a terminal device, only one PDU session in the multiple PDUs is used to access the AF An application on the AF, and other PDU sessions will not be used to access the application on the AF. That is, one application on one AF will only be accessed by one PDU session of one terminal device, and will not be accessed by multiple PDU sessions of the terminal device at the same time.
  • step 309 the AF sends a data subscription response message to the NWDAF.
  • the NWDAF receives the data subscription response message.
  • the data subscription response message is used to notify that the subscription is successful.
  • This step 309 is an optional step.
  • step 310 the AF sends a notification message to the NWDAF.
  • the NWDAF receives the notification message.
  • the AF can determine the address information of the PDU session actually used to access the application.
  • the address information of the PDU session actually used to access the application is the first data subscription request message carried in step 308.
  • Address information of a PDU session which is hereinafter referred to as a first PDU session.
  • AF can perform data collection and statistics of the service flow corresponding to the first PDU session, obtain the data of the terminal device accessing the application through the first PDU session, and store the data of the terminal device accessing the application through the first PDU session
  • the notification message carried in step 310 is sent to NWDAF.
  • the terminal device accesses the application through the first PDU session, it can be understood that the source address carried in the service message sent by the terminal device to the AF is the address information of the first PDU session.
  • the identification information of the application is divided into an internal application identification (internal applicaiton ID) and an external application identification (external applicaiton ID).
  • internal applicaiton ID an internal application identification
  • external applicaiton ID an external application identification
  • the network information that may be used by any terminal device to access any application on the AF1 includes network information 1 , network information 2 and network information 3 .
  • Each network information includes a DNN and/or a slice identification information.
  • NWDAF needs to collect the data when terminal device 1 accesses application 1 on AF1, NWDAF will send the identification information of terminal device 1, network information 1, network information 2 and network information 3 to UDM, where UDM stores the following SMF data:
  • Registration information 1 of SMF1 identification information of terminal device 1, network information 1, address information of SMF1, identification information of SMF1, identification information of PDU session 1, and identification information of PDU session 2;
  • Registration information 2 of SMF2 identification information of terminal device 1, network information 2, address information of SMF2, identification information of SMF2 and identification information of PDU session 3;
  • Registration information 3 of SMF3 identification information of terminal device 2, network information 3, address information of SMF3, identification information of SMF3 and identification information of PDU session 4;
  • Registration information 4 of SMF4 identification information of terminal device 3, network information 4, address information of SMF4, identification information of SMF4 and identification information of PDU session 5.
  • the result returned by UDM to NWDAF is: the address information of SMF1, the identification information of PDU session 1 and PDU session 2 corresponding to SMF1, the identification information of SMF2, and the identification information of PDU session 3 corresponding to SMF2.
  • NWDAF sends the event identifier and the identifier information of terminal device 1 to SMF1, and also sends network information 1 or sends the identifier information of PDU session 1 and the identifier information of PDU session 2, and receives the address information and address information of PDU session 1 from SMF1.
  • the address information of PDU session 2 and NWDAF sends the event identifier and the identification information of terminal device 1 to SMF2, and also sends network information 1 or the identification information of PDU session 3, and receives the address information of PDU session 3 from SMF2.
  • NWDFA sends the identification information of application 1, the address information of PDU session 1, the address information of PDU session 2 and the address information of PDU session 3 to AF1. NWDAF hopes to obtain the data when terminal device 1 accesses application 1 from AF1.
  • AF1 collects the data when terminal device 1 accesses application 1 using PDU session 1 and returns it to NWDAF, where PDU session 1 is the PDU session actually used when terminal device 1 accesses application 1 on AF1.
  • step 311 the NWDAF determines the service experience information and/or service flow characteristic information of the terminal device accessing the application according to the data of the terminal device accessing the application.
  • This step 311 is an optional step.
  • the service experience information includes, but is not limited to: one or more of service level agreement (service level agreement, SLA) satisfaction, time delay, packet loss rate, user satisfaction, and the like.
  • service level agreement service level agreement
  • SLA service level agreement
  • Service flow feature information includes, but is not limited to: one or more of packet header features, flow statistical features (such as period, packet size), etc.
  • NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved.
  • the terminal device when the terminal device accesses the application of AF, there may be multiple network information that can be used.
  • the terminal device will use one network information of the multiple network information to access the application of the AF, such as based on the terminal device Location, subscription data, etc., select one network information from multiple network information to access the AF application, so the network information used by the terminal device to actually access the AF application is not fixed.
  • the current protocol allows terminal devices to create multiple PDU sessions under the same network information, for example, these PDU sessions correspond to different access technologies (such as 3GPP access, non-3GPP access) or session and service continuity (session and service continuity, SSC) mode.
  • NWDAF will actually obtain the address information of multiple PDU sessions of the terminal device, but in fact only the address information of one PDU session will be used by the terminal device to access the AF application. Since NWDAF does not know which PDU session address information will be used by the terminal device to access the application of AF, when NWDAF requests AF to obtain the data of a PDU session to access an application, NWDAF will obtain all the PDUs of the terminal device The address information of the session is sent to the AF, and the AF judges the address information of the PDU session actually used by the application that the terminal device accesses the AF.
  • NWDAF sends the address information of all PDU sessions that the terminal device may access the application to the AF, and only one of the PDU session address information is used by the terminal device to access the application of the AF, it will cause There is a security risk, that is, the address information of the PDU session that the AF should not perceive is incorrectly provided to the AF.
  • Fig. 4(a) is a schematic flow chart of a data collection method provided by the embodiment of the present application. The method includes the following steps:
  • step 401a the NWDAF determines to collect the data of the terminal device's access to the application.
  • This step is the same as the above-mentioned step 301, and reference may be made to the foregoing description.
  • This step 401a is an optional step.
  • step 402a the NWDAF determines the address information of the first session used by the terminal device to access the application.
  • the NWDAF determines the address information of the first session used by the specific terminal device to access the specific application.
  • the NWDAF determines the address information of the first session used by the first terminal device to access the first application.
  • the session may be a PDU session, and the address information may be an IPv4 address, an IPv6 prefix, or an Ethernet address.
  • the first session refers to the session actually used by the terminal device to access a certain application.
  • step 403a the NWDAF sends a first request message (also referred to as request message 1) to the AF providing the application, where the first request message includes the identification information of the application and the address information of the first session.
  • the AF receives the first request message.
  • the first request message is used to request the terminal device to access data of the application through the first session.
  • the AF receives the data that the terminal device accesses the application, and then the AF preprocesses the received data, and then sends the processed data to the NWDAF.
  • the first request message is used to request the AF to collect data related to the application from the terminal device.
  • the first request message is used to request the AF to collect data from the application of the terminal device (Datacollection from UE application to AF).
  • the first request message may be a data subscription request message.
  • step 404a the AF sends to the NWDAF the data that the terminal device accesses the application through the first session.
  • the NWDAF receives the data that the terminal device accesses the application through the first session.
  • NWDAF can determine the service experience information and/or service flow of the terminal device accessing the application through the first session based on the data of the terminal device accessing the application through the first session characteristic information.
  • service experience information and service flow feature information For the content of the service experience information and service flow feature information, reference may be made to the description of step 311 above.
  • NWDAF can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the one session to the AF, and will not share the address information of all sessions of the terminal device that may access the application All are sent to the AF, which avoids exposing the session information of the terminal device that should not be perceived by the AF to the AF, and reduces security risks.
  • the NWDAF may determine the address information of the first session used by the terminal device to access the application according to various methods. Three methods for determining the address information of the first session used by the terminal device to access the application are introduced below with reference to the accompanying drawings.
  • FIG. 4( b ) it is a schematic flowchart of a method for determining address information of a first session used by a terminal device to access an application provided by an embodiment of the present application.
  • the method includes the following steps:
  • the NWDAF acquires network information corresponding to the application, and the network information includes DNN and/or slice identification information.
  • the NWDAF may acquire the network information corresponding to the AF providing the application from the NRF, and use the network information corresponding to the AF as the network information corresponding to the application.
  • the implementation method for the NWDAF to obtain the network information corresponding to the AF from the NRF may refer to the description of step 302 .
  • the NWDAF can determine the network information corresponding to the AF according to the local configuration.
  • NWDAF can also obtain the network information corresponding to the application from the AM PCF.
  • NWDAF sends a third request message (also referred to as request message 3) to AM PCF, the third request message includes the identification information of the terminal device and the flow descriptor (TrafficDescriptor) of the application, and the flow descriptor includes the application identifier ( APP ID), triplet, fully qualified domain name (fully qualified domain name, FQDN) or uniform resource locator (uniform resource locator, URL).
  • APP ID application identifier
  • APP ID application identifier
  • APP ID fully qualified domain name
  • FQDN uniform resource locator
  • URL uniform resource locator
  • step 402b the NWDAF acquires the identification information of the communication device corresponding to the network information and the session corresponding to the network information.
  • the communication device is an SMF
  • the NWDAF can send the identification information of the terminal device and the network information corresponding to the application to the UDM, and the UDM obtains the identification information corresponding to the terminal device according to the identification information of the terminal device and the network information
  • the communication device is an SM PCF
  • the NWDAF can send the identification information of the terminal device and the network information corresponding to the application to the BSF, and the BSF obtains the information related to the terminal device according to the identification information of the terminal device and the network information.
  • the address information of the SM PCF corresponding to the identification information of the network information and the network information, and the identification information of the session corresponding to the identification information of the terminal equipment and the network information.
  • the communication device is the SM PCF
  • the SM PCF may not store session identification information
  • the NWDAF can send the identification information of the terminal device to the BSF
  • the BSF obtains the information related to the terminal device according to the identification information of the terminal device.
  • the address information of the SM PCF corresponding to the identification information of the terminal equipment.
  • the address information of the SMF may be the unique identifier, IP address or FQDN of the SMF, etc., which is not limited in this application.
  • the address information of the SM PCF can be the unique identifier, IP address or FQDN of the SMF, etc., which is not limited in this application.
  • step 403b the NWDAF sends a second request message (also referred to as request message 2) to the communication device.
  • the communication device receives the second request message.
  • the second request message includes application identification information and an application start event, and the second request message also includes network information or identification information of a session corresponding to the network information, and the application start event is used for the application in the session corresponding to the network information Start.
  • the second request message also includes session parameter information corresponding to the application, and the session parameter information includes one or more of the following information: SSC mode, access type (AccessType) or session type (SessionType).
  • the session parameter information corresponding to the application may be obtained by NWDAF from AM PCF.
  • NWDAF sends a third request message to AM PCF
  • NWDAF receives from AM PCF the same
  • the network information corresponding to the application on the other hand, the NWDAF can also receive the session parameter information corresponding to the application from the AM PCF.
  • the SSC modes include SSC mode 1, SSC mode 2 and SSC mode 3.
  • SSC mode 1 requires the session to keep the IP address unchanged during its lifetime.
  • SSC mode 2 does not provide any business continuity, and completely relies on the application function network element to perform business continuity guarantee.
  • SSC mode 3 adopts the method of first establishing a new side link and then releasing the old side link, which ensures session continuity to a certain extent, but service continuity also depends on application function network elements.
  • the access type includes 3GPP access and non-3GPP (Non-3GPP) access.
  • the session type includes IP type, Ethernet type or Unstructured type.
  • step 404b the communication device detects an application start event of the application on the first session.
  • the communication device when the second request message includes network information, the communication device first obtains locally the identification information of the session corresponding to the network information according to the network information, and then according to the identification information of the session corresponding to the network information, the communication device All sessions corresponding to the network information respectively perform application event detection of the application, and an application start event of the application is detected in the first session among them.
  • the communication device detects the application event of the application for all the sessions corresponding to the network information according to the identification information of the session corresponding to the network information, and the first A session above detects the app's app start event.
  • the above-mentioned second request message includes not only network information or identification information of a session corresponding to the network information, but also session parameter information corresponding to the application.
  • the communication device first obtains locally the identification information of the session corresponding to the network information according to the network information, and if the second request message includes the identification information of the session corresponding to the network information, then the communication device The device obtains the identification information of the session corresponding to the network information from the second request message.
  • the communication device screens the sessions corresponding to the network information to obtain the sessions matching the session parameter information, and then performs the detection of the application start event of the application on these matching sessions, and An application start event of the application in which the first session is detected above.
  • the second request message carries identification information of five sessions, which are identification information of session 1, identification information of session 2, identification information of session 3, identification information of session 4, and identification information of session 5, and The second request message also carries three pieces of session parameter information corresponding to the application, which are session parameter information 1, session parameter information 2, and session parameter information 3, respectively.
  • the session parameter information corresponding to session 1 is the same as session parameter information 1
  • the session parameter information corresponding to session 2 is the same as session parameter information 2
  • the session parameter information corresponding to session 3 is the same as session parameter information 1, session parameter 2, and session parameter 3.
  • the session 1 matches the session parameter information 1
  • the session 2 matches the session parameter information 2
  • the communication device determines that the application event detection of the application is executed on the session 1 and the session 2, and the application event detection of the application is not executed on the session 3.
  • the application event detection in this way, can reduce the number of sessions that perform the application event detection of the application, and can reduce the overhead of the communication device.
  • Step 405b the first communication device sends the address information of the first session to the NWDAF.
  • the NWDAF receives the address information of the first session.
  • the address information of the first session is used for collecting data of the terminal device accessing the application through the first session.
  • the address of the first session is used to collect data of the application of the terminal device.
  • the first communication device here is one of the communication devices corresponding to the network information, that is, the communication device that detects the application start event of the application. Since the terminal device will only access the AF application in one session, other communication devices will not detect the application start event of the application in other sessions, so only one communication device, such as the first communication device, can detect the application The app start event for .
  • the communication device (such as SMF or SM PCF) performs the detection of the application start event on one or more sessions provided by the NWDAF.
  • the application start event of the application is detected on a certain session, such as the first session, then It indicates that the terminal device is an application that accesses the AF in the first session, and then the first communication device provides the address information of the first session to the NWDAF.
  • FIG. 4( c ) it is a schematic flowchart of another method for determining address information of a first session used by a terminal device to access an application provided by an embodiment of the present application.
  • the method includes the following steps:
  • Step 401c NWDAF acquires from AM PCF the routing selection descriptor (routing selection descriptor, RSD) used by the terminal device to access the application, the RSD includes network information and first session parameter information, the network information includes data network name and/or slice identifier information.
  • RSD routing selection descriptor
  • NWDAF sends the identification information of the terminal device and the flow descriptor of the application to AM PCF, and the flow descriptor includes application identification (APP ID), triplet, FQDN or URL.
  • the AM PCF obtains one or more RSDs corresponding to the identification information of the terminal device and the flow descriptor of the application according to the identification information of the terminal device and the flow descriptor of the application, and each RSD includes the flow descriptor , a piece of network information and a piece of session parameter information, where the session parameter information includes one or more of the following information: SSC mode, access type or session type.
  • the AM PCF selects one RSD from one or more RSDs corresponding to the identification information of the terminal device and the flow descriptor of the application and sends the selected RSD to the NWDAF. For example, select the RSD with the highest priority among the one or more RSDs, or select the intersection of the RSD corresponding to the Allowed NSSAI and the above-mentioned one or more RSDs according to the slice information (that is, the Allowed NSSAI) that is allowed to be accessed by the terminal device. Concentrate on the highest priority RSD.
  • the one or more RSDs corresponding to the identification information of the terminal device and the stream descriptor of the application include RSD1, RSD2, RSD3 and RSD4, and the priorities from high to low are: RSD1, RSD2, RSD3, RSD4.
  • the network information in RSD1 includes S-NSSAI1
  • the network information in RSD2 includes S-NSSAI2
  • the network information in RSD3 includes S-NSSAI3
  • the network information in RSD4 includes S-NSSAI4
  • Allowed NSSAI includes S-NSSAI1, S-NSSAI2 and S-NSSAI5, so the intersection of the RSD corresponding to the Allowed NSSAI and the above-mentioned one or more RSDs includes RSD1 and RSD2, then select the RSD1 with the highest priority from RSD1 and RSD2, and the RSD1 is the terminal device access The RSD used by the application.
  • step 402c the NWDAF acquires the identification information of the communication device corresponding to the network information and the session corresponding to the network information.
  • step 403c the NWDAF sends a fourth request message (also referred to as request message 4) to the communication device.
  • the communication device receives the fourth request message.
  • the quantity of the communication equipment here can be one or more, and this communication equipment can be SMF or SM PCF.
  • the fourth request message includes the first session parameter information, and further includes network information or identification information of a session corresponding to the network information.
  • Step 404c detecting a session matching the first session parameter information.
  • the communication device After receiving the first session parameter information and the network information or the identification information of the session corresponding to the network information, the communication device determines whether there is a session matching the first session parameter information among the sessions corresponding to the network information. Wherein, if the network information is carried in the fourth request message, the communication device first needs to acquire a session corresponding to the network information locally according to the network information. Exemplarily, a certain communication device receives the first session parameter information, the identification information of session 1, the identification information of session 2, and the identification information of session 3, if the communication device determines that the session parameter information corresponding to session 1 is the same as the first If the session parameter information is the same, the session 1 matches the first session parameter information, and the communication device acquires the address information of the session 1.
  • a certain communication device receives the first session parameter information and network information, the communication device first determines the identification information of session 1, the identification information of session 2 and the identification of session 3 corresponding to the network information according to the network information information, wherein, if the communication device determines that the session parameter information corresponding to the session 1 is the same as the first session parameter information, the session 1 matches the first session parameter information, and the communication device acquires the address information of the session 1.
  • the session matching the first session parameter information is referred to as the first session, that is, the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information.
  • the communication device that detects the session matching the first session parameter information is referred to as the first communication device. Since the terminal device will only access the AF application in one session, other communication devices will not detect a session that matches the first session parameter information, so only one communication device, that is, the first communication device, can detect a session that matches the first session parameter information. The session for which the session parameter information matches.
  • Step 405c the first communication device sends the address information of the first session to the NWDAF.
  • the NWDAF receives the address information of the first session.
  • the address information of the first session is used for collecting data of the terminal device accessing the application through the first session.
  • the first communication device is one of the communication devices corresponding to the network information.
  • the communication device judges whether one or more sessions provided by NWDAF match the first session parameter information provided by NWDAF. If the first session matches the first session parameter information, it means that the terminal device It is an application that accesses the AF on the first session, and then the first communication device provides the address information of the first session to the NWDAF.
  • FIG. 4( d ) it is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application.
  • the method includes the following steps:
  • Step 401d to step 402d are the same as the above step 401c to step 402c, and reference may be made to the foregoing description.
  • step 403d the NWDAF sends a fifth request message (also referred to as request message 5) to the communication device.
  • the communication device receives the fifth request message.
  • the quantity of the communication equipment here can be one or more, and this communication equipment can be SMF or SM PCF.
  • the fifth request message includes network information or identification information of a session corresponding to the network information.
  • step 404d the communication device sends the address information of the session corresponding to the network information and the session parameter information of the session to the NWDAF.
  • NWDAF receives the address information of the session corresponding to the network information and the session parameter information of the session.
  • the communication device sends the address information of the session corresponding to the network information to the NWDAF, and sends the session parameter information of the session corresponding to the network information.
  • the communication device needs to obtain locally the identification information of the session corresponding to the network information according to the network information.
  • Step 405d NWDAF determines the address information of the first session from the address information of the session corresponding to the network information according to the session parameter information of the session corresponding to the network information and the first session parameter information, and the session parameter information of the first session is the first Session parameter information.
  • NWDAF sent the identification information of session 1 and session 2 to SMF1, and sent the identification information of session 3 to SMF2, and then NWDAF received the address information of session 1 and the session parameters of session 1 from SMF1 Information 1, address information of session 2 and session parameter information 2 of session 2, address information of session 3 and session parameter information 3 of session 3 are received from SMF2.
  • the NWDAF determines that the session parameter information 3 is the same as the first session parameter information received in step 401d, it determines that the terminal device uses the session 3 to access the application, that is, the session 3 is the first session. Thus, the NWDAF acquires the address information of the first session.
  • NWDAF judges whether there is a session matching the first session parameter information in the session corresponding to the network information. If the first session matches the first session parameter information, it means that the terminal device accesses AF on the first session application, and then the NWDAF can acquire the address information of the first session.
  • Fig. 4(e) is a schematic flow chart of a data collection method provided in the embodiment of the present application. The method includes the following steps:
  • step 401e the NWDAF determines to collect the data of the terminal device's access to the application.
  • This step is the same as the above-mentioned step 301, and reference may be made to the foregoing description.
  • This step 401e is an optional step.
  • step 402e the NWDAF sends a data subscription request message to the AF.
  • the AF receives the data subscription request message.
  • the data subscription request message includes identification information of the terminal device and an external application identification, and the identification information of the terminal device may be, for example, a generic public subscription identity (GPSI).
  • GPSI generic public subscription identity
  • the data subscription request message is used to request the terminal device to access the data of the application.
  • step 403e the AF sends a first request message (also referred to as request message 1) to the NEF.
  • the NEF receives the first request message.
  • the first request message includes identification information of the terminal device and an external application identification, and the first request message is used to query the address information of the session used by the terminal device to access the application corresponding to the external application identification.
  • the first request message may be an Nnef_UEid_Get_Request message.
  • step 404e the NEF acquires the address information of the first session used by the terminal device to access the application corresponding to the external application identifier.
  • the implementation method of NEF obtaining the address information of the first session used by the terminal device to access the application corresponding to the external application identifier is the same as the above-mentioned NWDAF obtaining the address information of the first session used by the terminal device to access the application corresponding to the external application identifier
  • the implementation method is similar, and for details, reference may be made to the embodiment corresponding to the foregoing FIG. 4(b), FIG. 4(c) or FIG. 4(d).
  • step 405e the NEF sends the address information of the first session to the AF.
  • the NEF sends a first response message to the AF, where the first response message includes address information of the first session.
  • the first response message may be a Nnef_UEid_Get_Response message.
  • step 406e the AF collects application data corresponding to the external application identifier of the terminal device according to the address information of the first session.
  • the AF collects the data of the application corresponding to the external application identifier of the terminal device. For example, the AF may send a request message to the terminal device to request the data of the application of the terminal device. Another example may be that the AF Record the data in the process of the terminal device accessing the application through the first session.
  • step 407e the AF sends to the NWDAF the data that the terminal device accesses the application through the first session.
  • the NWDAF receives the data that the terminal device accesses the application through the first session.
  • NWDAF can determine the service experience information and/or service flow of the terminal device accessing the application through the first session based on the data of the terminal device accessing the application through the first session characteristic information.
  • service experience information and service flow feature information For the content of the service experience information and service flow feature information, reference may be made to the description of step 311 above.
  • NEF can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the one session to the AF, and does not share the address information of all sessions of the terminal device that may access the application All are sent to the AF, which avoids exposing the session information of the terminal device that should not be perceived by the AF to the AF, and reduces security risks.
  • the session established by the terminal device is a PDU session as an example for description.
  • FIG. 5 is a schematic flow chart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
  • Step 501 is the same as step 301 above.
  • This step 501 is an optional step.
  • step 502 the NWDAF acquires network information corresponding to the AF.
  • the NWDF may use any one of the two methods described in step 302 above to acquire the network information corresponding to the AF.
  • the third method can also use the following third method to obtain the network information corresponding to AF. Specifically, you can refer to the description of the following steps 702 to 704, and the third method is slightly different from the following steps 702 to 704:
  • the AM PCF obtains multiple RSDs that may be used by the terminal device access application, it does not need to combine the allowed slice information (that is, Allowed NSSAI) to further determine the actual value of the terminal device access application from the multiple RSDs.
  • RSDs used that is to say, through the third method, NWDAF can obtain multiple RSDs from AM PCF, and each RSD includes DNN, S-NSSAI, access type, SSC mode and PDU session type.
  • step 503 the NWDAF sends a subscription request message to the UDM.
  • the UDM receives the subscription request message.
  • the subscription request message includes identification information of the terminal device and one or more pieces of network information, and the subscription request message is used to subscribe to the SMF corresponding to the one or more pieces of network information.
  • the subscription request message also includes a subscription event, which is a UE context (UE context in SMF data) change event in SMF data.
  • a subscription event which is a UE context (UE context in SMF data) change event in SMF data.
  • the subscription request message may be a Nudm_SDM_Subscribe Request message.
  • step 504 the UDM sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be a Nudm_SDM_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • step 505 the UDM sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the notification message may be a Nudm_SDM_Notify message.
  • the notification message includes address information of one or more SMFs and identification information of a PDU session corresponding to each SMF.
  • the specific implementation method for the UDM to obtain the address information of the SMF and the identification information of the PDU session corresponding to each SMF can refer to the description in the above step 304 .
  • this step 505 may be executed multiple times, that is, whenever there is a new registration of the SMF corresponding to the one or more network information to the UDM, the UDM A notification message will be sent to the NWDAF to send the address information of the newly registered SMF and the identification information of the PDU session corresponding to the SMF to the NWDAF.
  • step 506 the NWDAF sends a subscription request message to the SMF.
  • the SMF receives the subscription request message.
  • the subscription request message carries the identification information and condition information of the event identification terminal device, and also carries the network information or the identification information of the PDU session corresponding to the SMF.
  • the event identification is an address assignment event
  • the subscription request message is used to subscribe to the terminal device
  • the address information allocated by the PDU session, the address information can be IPv4 address, IPv6 prefix or Ethernet address, etc.
  • the condition information in the subscription request message is used to instruct the SMF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, the address information of the PDU session will not be sent.
  • the NWDAF sends a subscription request message to each SMF respectively.
  • NWDAF receives the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1 and the identification information of PDU session 2, the address information of SMF2, and the identification information of PDU session 3 corresponding to SMF2 in the above step 505, and the PDU Both the identification information of session 1 and the identification information of PDU session 2 correspond to network information 1, and the identification information of PDU session 3 corresponds to network information 2, then NWDAF sends a subscription request message to SMF1 based on the address information of SMF1, and the subscription request message carries The event identifier, the identifier information and the condition information of the terminal device, and also carry the network information 1 or carry the identifier information of the PDU session 1 and the identifier information of the PDU session 2.
  • NWDAF sends a subscription request message to SMF2 based on the address information of SMF2.
  • the subscription request message carries the event identifier, the identifier information and condition information of the terminal device, and also carries the identifier information of network information 2 or PDU session 3.
  • condition information includes application identification information and an application start event (App_Start Event).
  • App_Start Event an application start event
  • the condition information may also include one or more of the access type, SSC mode or PDU session type.
  • the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
  • step 507 the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • This step 507 is an optional step.
  • step 508 the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the SMF After receiving the above subscription request message, the SMF performs application event detection on the PDU session in the subscription request message according to the condition information in the subscription request message, or performs application event detection on the PDU session corresponding to the network information in the subscription request message. If an application start event corresponding to an application is detected in a certain PDU session, it is determined that the terminal device actually uses the PDU session to access the application in the AF.
  • SMF1 performs application start event detection on PDU session 1 and PDU session 2, for example, if an application start event corresponding to an application is detected in PDU session 1, then SMF1 determines that the terminal device actually uses the PDU session 1 Visit the app in AF. Since the terminal device will only use one PDU session to access the application, SMF1 will not detect the application start event corresponding to the application in PDU session 2, and similarly, SMF2 will not detect the application start event corresponding to the application in PDU session 3 .
  • the SMF If the SMF detects that an application start event corresponding to an application is detected in a certain PDU session, the SMF sends a notification message to the NWDAF, and the notification message carries the address information of the PDU session.
  • the PDU session is referred to as the first PDU session, and the first PDU session is the PDU session actually used by the terminal device to access the application.
  • the SMF performs the detection of the application start event on the PDU session. Specifically, the SMF instructs the UPF to perform the detection of the application start event on the PDU session, and then the UPF returns the detection result to the SMF.
  • condition information also includes one or more of the access type, SSC mode or PDU session type
  • the SMF first One or more of them, filter the multiple PDU sessions in the subscription request message, get the PDU session that matches one or more of the access type, SSC mode or PDU session type in the condition information, and then Detection of application start events is performed on these matching PDU sessions. In this way, the number of PDU sessions performing application start event detection can be reduced, helping to reduce overhead.
  • a PDU session matches one or more of the access type, SSC mode, or PDU session type in the condition information, and refers to one or more of the access type, SSC mode, or PDU session type of the PDU session.
  • the condition information includes the access type, SSC mode, and PDU session type of the PDU session. If the access type, SSC mode, and PDU session type of a PDU session and the access type, SSC mode, and If the PDU session types are the same, it means that the PDU session matches the access type, SSC mode and PDU session type in the condition information.
  • the condition information includes the access type of the PDU session and the PDU session type. If the access type and the PDU session type of a PDU session are the same as the access type and the PDU session type in the condition information, it means The PDU session matches the access type and the PDU session type in the condition information.
  • the notification message may be an Nsmf_EventExposure_Notify message.
  • step 509 the NWDAF sends a data subscription request message to the AF.
  • the AF receives the data subscription request message.
  • the data subscription request message carries the identification information of the application and the address information of the first PDU session, where the first PDU session refers to the address information of the PDU session actually used by the terminal device to access the application.
  • the data subscription request message is used to request to obtain the data of the first PDU session access application.
  • step 510 the AF sends a data subscription response message to the NWDAF.
  • the NWDAF receives the data subscription response message.
  • the data subscription response message is used to notify that the subscription is successful.
  • This step 510 is an optional step.
  • step 511 the AF sends a notification message to the NWDAF.
  • the NWDAF receives the notification message.
  • the AF can collect and count the service flow corresponding to the first PDU session based on the subroutine corresponding to the application, obtain the data of the terminal device accessing the application through the first PDU session, and send the terminal device through the first PDU session.
  • the data of the first PDU session access application is carried in the notification message and sent to the NWDAF.
  • the source address carried in the message sent by the terminal device to the AF service is the address information of the first PDU session.
  • Step 512 is the same as step 311 above.
  • This step 512 is an optional step.
  • NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved.
  • NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not
  • the address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
  • FIG. 6 is a schematic flow chart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
  • Step 601 to step 602 are the same as above step 501 to step 502.
  • This step 601 is an optional step.
  • step 603 the NWDAF sends a subscription request message to the BSF.
  • the BSF receives the subscription request message.
  • the subscription request message includes identification information of the terminal device and one or more network information, and the subscription request message is used to subscribe to the online notification of the SM PCF corresponding to the one or more network information.
  • the subscription request message also includes a subscription event
  • the subscription event is an SM PCF online event
  • the BSF receives the subscription event, if it is found that the SM PCF corresponding to the one or more network information is registered with the BSF , then send the address information of the SM PCF to NWDAF.
  • the information that SM PCF registers with BSF includes but not limited to: identification information of terminal equipment, network information, address information of SM PCF, identification information of SM PCF, optional, SM PCF registers to The BSF information also includes identification information of one or more PDU sessions.
  • the subscription request message may be a Nbsf_NFManagement_Subscribe Request message.
  • step 604 the BSF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be a Nbsf_NFManagement_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • step 605 the BSF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the notification message may be an Nbsf_NFManagement_Notify message.
  • the notification message includes address information carrying one or more SM PCFs, and carrying identification information and/or network information of a PDU session corresponding to each SM PCF.
  • this step 605 may be executed multiple times, for example, each time when an SM PCF corresponding to the one or more network information is newly registered to the BSF, the BSF will send a notification message to the NWDAF to send the newly registered SM PCF.
  • the address information of the SM PCF and the identification information and/or network information of the PDU session corresponding to the SM PCF are sent to the NWDAF.
  • Step 606 NWDAF sends a subscription request message to SM PCF.
  • the SM PCF receives the SUBSCRIBE REQUEST message.
  • the subscription request message carries the event identifier, the identifier information and condition information of the terminal device, and carries the identifier information or network information of the PDU session.
  • This event is identified as an address allocation event, and the subscription request message is used to subscribe to the address information allocated for the PDU session of the terminal device.
  • the address information can be an IPv4 address, an IPv6 prefix, or an Ethernet address.
  • the condition information in the subscription request message is used to instruct the SM PCF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, then the address information of the PDU session is not sent.
  • NWDAF receives address information of multiple SM PCFs in the above step 605, then NWDAF sends a subscription request message to each SM PCF respectively.
  • NWDAF receives the address information of SM PCF1, the identification information of PDU session 1 corresponding to SM PCF2 and the identification information of PDU session 2, the address information of SM PCF2, and the identification information of PDU session 3 corresponding to SM PCF2 in the above step 605 , then NWDAF sends a subscription request message to SM PCF1 based on the address information of SM PCF1.
  • the subscription request message carries event identifiers, terminal device identification information and condition information, and also carries network information 1 or identification information of PDU session 1 and Identification information of PDU session 2.
  • NWDAF sends a subscription request message to SM PCF2 based on the address information of SM PCF2.
  • the subscription request message carries event identifiers, terminal device identification information and condition information, and also carries network information 2 or PDU session 3 identification information
  • condition information includes application identification information and an application start event (App_Start Event).
  • step 607 the SM PCF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message is used to notify that the subscription is successful.
  • This step 607 is an optional step.
  • step 608 the SM PCF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the SM PCF After receiving the above subscription request message, the SM PCF performs application event detection on the PDU session in the subscription request message according to the condition information in the subscription request message, or performs application event detection on the PDU session corresponding to the network information in the subscription request message . If an application start event corresponding to an application is detected in a certain PDU session, it is determined that the terminal device actually uses the PDU session to access the application in the AF.
  • SM PCF1 performs application start event detection on PDU session 1 and PDU session 2.
  • This PDU session 1 accesses the application in AF. Since the terminal device will only use one PDU session to access the application, SM PCF 1 will not detect the application start event corresponding to the application in PDU session 2. Similarly, SM PCF2 will not detect the corresponding application start event in PDU session 3. Application start event.
  • the SM PCF detects that an application start event corresponding to an application is detected in a certain PDU session, the SM PCF sends a notification message to the NWDAF, and the notification message carries the address information of the PDU session.
  • the PDU session is referred to as the first PDU session, and the first PDU session is the PDU session actually used by the terminal device to access the application.
  • SM PCF carries out the detection of application start event to PDU session, specifically can be: SM PCF instructs SMF or UPF to PDU session execution application start event detection, then SMF or UPF returns detection result to SM PCF.
  • Step 609 to step 612 are the same as step 509 to step 512.
  • NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved.
  • NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not
  • the address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
  • the NWDAF obtains the address information of the SM PCF from the BSF, and obtains the terminal device access information from the SM PCF.
  • the address information of the PDU session actually used by the application and in the above embodiment corresponding to Figure 5, NWDAF obtains the address information of the SMF from the UDM, and obtains the address information of the PDU session actually used by the terminal device to access the application from the SMF.
  • FIG. 7 is a schematic flowchart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
  • Step 701 is the same as step 301 above.
  • This step 701 is an optional step.
  • step 702 the NWDAF acquires flow description information corresponding to the application.
  • the stream description information can be an application identifier (APP ID), triplet, FQDN or URL.
  • a network element that sends a subscription request to the NWDAF may provide the NWDAF with flow description information corresponding to the application.
  • Step 703 NWDAF sends a request message to AM PCF.
  • the AM PCF receives the request message.
  • the request message includes identification information and a flow descriptor of the terminal device.
  • the stream descriptor is determined according to the above stream description information, for example, the stream descriptor includes an application identifier, triplet, FQDN or URL.
  • the request message is used to request the terminal device to access the RSD of the application.
  • Step 704 AM PCF sends a response message to NWDAF.
  • the NWDAF receives the response message.
  • the AM PCF determines one or more user routing selection policies (UE routing selection policy, URSP) that the terminal device may use to access the application corresponding to the flow descriptor according to the identification information of the terminal device and the flow descriptor , each URSP includes the stream descriptor and one or more RSDs.
  • UE routing selection policy URSP
  • each RSD includes DNN, S-NSSAI, access type, SSC mode and PDU session type.
  • the request message in the above step 703 includes the identification information of the terminal device 1 and the flow descriptor 1, and the AM PCF determines the URSP that contains the flow descriptor 1 allocated to the terminal device 1, for example, the determined URSP includes URSP1 and URSP2, where URSP1 includes stream descriptor 1 and (RSD1, RSD2, RSD3), and URSP2 includes stream descriptor 1 and (RSD4, RSD5, RSD6, RSD7). Therefore, according to the identification information of the terminal device 1 and the flow descriptor 1, the AM PCF determines that the RSDs that the terminal device may use to access the application corresponding to the flow descriptor include RSD1, RSD2, RSD3, RSD4, RSD5, RSD6 and RSD7.
  • the AM PCF determines that the RSDs that the terminal device may use to access the application corresponding to the flow descriptor include RSD1, RSD2, RSD3, RSD4, RSD5, RSD6 and RSD7.
  • the AM PCF also combines the allowed access slice information of the terminal device (that is, Allowed NSSAI), and selects one RSD from the determined RSDs, and this RSD is the RSD actually used by the terminal device to access the application.
  • Allowed NSSAI includes S-NSSAI 2, S-NSSAI 3 and S-NSSAI 4, where S-NSSAI 2, S-NSSAI 3 and S-NSSAI 4 belong to RSD2, RSD3 and RSD4 respectively, and RSD2, RSD3 and RSD4
  • the priority of the priority decreases in turn, and the AM PCF determines that RSD2 is the RSD actually used by the terminal device to access the application.
  • the response message sent by AM PCF to NWDAF includes an RSD, which includes DNN, S-NSSAI, access type, SSC mode, and PDU session type.
  • RSD is the RSD actually used by the terminal device to access the application. The following will The RSD actually used by the terminal device to access the application is called the first RSD.
  • Step 705 NWDAF sends a subscription request message to UDM.
  • the UDM receives the subscription request message.
  • the subscription request message includes identification information of the terminal device and a piece of network information, and the subscription request message is used to subscribe to the online notification of the SMF corresponding to the network information, and the network information comes from the first RSD.
  • the subscription request message also includes a subscription event, which is a UE context (UE context in SMF data) change event in SMF data.
  • UE context UE context in SMF data
  • the subscription event if it finds that the network information corresponds to The SMF registered to the UDM sends the address information of the SMF to the NWDAF.
  • the subscription request message may be a Nudm_SDM_Subscribe Request message.
  • step 706 the UDM sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be a Nudm_SDM_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • step 707 the UDM sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the notification message may be a Nudm_SDM_Notify message.
  • the notification message includes address information carrying an SMF.
  • step 708 the NWDAF sends a subscription request message to the SMF.
  • the SMF receives the subscription request message.
  • the subscription request message carries the event identifier and the identifier information of the terminal device, and the event identifier is an address assignment event.
  • the subscription request message is used to subscribe to the address information allocated for the PDU session of the terminal device, and the address information may be an IPv4 address, an IPv6 prefix, or an Ethernet address.
  • the subscription request message also includes condition information, which is used to instruct the SMF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, the PDU is not sent Address information for the session.
  • the condition information includes one or more of access type, SSC mode, or PDU session type, and the access type, SSC mode, and PDU session type are all from the first RSD.
  • the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
  • step 709 the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
  • the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
  • the subscription response message is used to notify that the subscription is successful.
  • step 710 the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
  • the SMF obtains the address information of the PDU session corresponding to the terminal device according to the event identifier and the identification information of the terminal device after receiving the above subscription request message , and obtain one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session, and carry the address information of the PDU session corresponding to the terminal device in the notification message, and the address information corresponding to each PDU session One or more of access type, SSC mode, or PDU session type.
  • NWDAF After NWDAF receives the notification message, it can correspond to each PDU session received in step 710 according to one or more of the access type, SSC mode or PDU session type in the first RSD received from step 704 above. Match one or more of the access type, SSC mode, or PDU session type.
  • step 710 receives the address information of 5 PDU sessions, and one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session, wherein NWDAF determines the access type corresponding to PDU session 1
  • NWDAF determines the access type corresponding to PDU session 1
  • NWDAF determines that the address information of the PDU session 1 is
  • the terminal device accesses the address information of the PDU session actually used by the application.
  • the matched PDU session is called the first PDU session. Therefore, based on this implementation method, the notification message carries the address information of the PDU session corresponding to the terminal device, and one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session.
  • the SMF obtains the PDU session corresponding to the terminal device according to the event identifier, terminal device identification information and condition information
  • the address information of the PDU session that matches the condition information, the PDU session is referred to as the first PDU session hereinafter.
  • the terminal device corresponds to 5 PDU sessions, and one or more of the access type, SSC mode or PDU session type corresponding to PDU session 1 is the same as the access type, SSC mode or PDU session type in the condition information. If one or more match respectively, the SMF obtains the address information of the PDU session 1, which is the address information of the PDU session actually used by the terminal device to access the application. Therefore, based on the implementation method, the notification message carries the address information of the first PDU session.
  • Step 711 to step 714 are the same as step 509 to step 512.
  • This step 714 is an optional step.
  • the AMF PCF may send the updated RSD to the NWDAF, the updated RSD
  • the RSD is the RSD used by the application that the terminal device currently accesses the AF. Then trigger re-execution of the above steps 705 to 714.
  • NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved.
  • NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not
  • the address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
  • the data analysis network element and the communication device include hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software with reference to the units and method steps of the examples described in the embodiments disclosed in the present application. Whether a certain function is executed by hardware or computer software drives the hardware depends on the specific application scenario and design constraints of the technical solution.
  • FIG. 8 and FIG. 9 are schematic structural diagrams of possible communication devices provided by the embodiments of the present application. These communication devices can be used to implement the functions of the data analysis network element or the communication device in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments.
  • the communication device may be a data analysis network element or a communication device, or a module (such as a chip) applied to a data analysis network element or a communication device.
  • a communication device 800 includes a processing unit 810 and a transceiver unit 820 .
  • the communication device 800 is configured to implement the functions of the data analysis network element or the communication device in the foregoing method embodiments.
  • the communication device is used to realize the function of the data analysis network element in the above method embodiment
  • the processing unit 810 is used to determine the address information of the first session used by the terminal device to access the application
  • the transceiver unit 820 It is used to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address information of the first session; the address information of the first session is used to collect the terminal device data of the application; and receiving the data of the application from the application function network element.
  • the processing unit 810 is further configured to determine to collect data on accessing the application by the terminal device.
  • the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining network information corresponding to the application, the network information including the data network name and /or slice identification information; used to send a second request message to the communication device corresponding to the network information through the transceiver unit 820, the second request message includes the application identification information and an application start event, and the second request message also includes The network information or the identification information of the session corresponding to the network information; used for receiving the address information of the first session from the first communication device through the transceiver unit 820, and the first session is a session in the session corresponding to the network information.
  • a session in which an application start event of the application is detected, the first communication device is one of the communication devices corresponding to the network information.
  • the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
  • the transceiving unit 820 is further configured to send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; And receiving the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  • the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining the terminal device from the mobility management policy control network element through the transceiver unit 820
  • the routing descriptor used by the device to access the application includes network information and first session parameter information, and the network information includes data network name and/or slice identification information; used to send data to the network via the transceiver unit 820
  • the communication device corresponding to the information sends a fourth request message, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the identification information of the session corresponding to the network information; 820 Receive address information of the first session from the first communication device, where the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information, and the first communication device is the session corresponding to the network information One of the communication devices in the communication device.
  • the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining the terminal device from the mobility management policy control network element through the transceiver unit 820
  • the routing descriptor used by the device to access the application, the routing descriptor includes network information and first session parameter information, and the network information includes data network name and/or slice identification information; used to send data to the network via the transceiver unit 820
  • the communication device corresponding to the information sends a fifth request message, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; and is used for receiving the communication corresponding to the network information from the communication device through the transceiver unit 820
  • the address information of the session, and the session parameter information of the session corresponding to the network information used to determine from the address information of the session corresponding to the network information according to the session parameter information of the session corresponding to the network information and the first session parameter information
  • the processing unit 810 is further configured to acquire address information of the communication device and identification information of the session corresponding to the network information from a data management network element, where the communication device is a session management network element; Or, acquire the address information of the communication device and the identification information of the session corresponding to the network information from the binding support network element, where the communication device is a session management policy control network element.
  • the communication device is used to implement the functions of the communication device in the above method embodiments
  • the transceiver unit 820 is used to receive the second request message from the data analysis network element, the second request message includes the application The identification information and the application start event, the second request message also includes identification information of the network information or the session corresponding to the network information
  • the processing unit 810 is configured to detect the application on the first session in the session corresponding to the network information Application start event
  • the transceiving unit 820 is further configured to send address information of the first session to the data analysis network element, where the address information of the first session is used to collect data of the application of the terminal device.
  • the second request message also includes session parameter information; the processing unit 810 is further configured to determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; The one or more sessions perform detection of an application start event, the one or more sessions including the first session.
  • the communication device is used to implement the functions of the communication device in the above method embodiments
  • the transceiver unit 820 is used to receive the fourth request message from the data analysis network element, the fourth request message includes the first Session parameter information, the fourth request message also includes network information or the identification information of the session corresponding to the network information
  • the processing unit 810 is configured to obtain the address information of the first session, and the first session is in the session corresponding to the network information The session corresponding to the first session parameter information
  • the transceiver unit 820 is further configured to send the address information of the first session to the data analysis network element, and the address information of the first session is used by the terminal device to pass the first session Collection of data about access to the app.
  • processing unit 810 and the transceiver unit 820 can be directly obtained by referring to related descriptions in the above method embodiments, and details are not repeated here.
  • a communication device 900 includes a processor 910 and an interface circuit 920 .
  • the processor 910 and the interface circuit 920 are coupled to each other.
  • the interface circuit 920 may be a transceiver or an input-output interface.
  • the communication device 900 may further include a memory 930 for storing instructions executed by the processor 910 or storing input data required by the processor 910 to execute the instructions or storing data generated after the processor 910 executes the instructions.
  • the processor 910 is used to implement the functions of the processing unit 810
  • the interface circuit 920 is used to implement the functions of the transceiver unit 820 .
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only Memory, registers, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • the ASIC can be located in the base station or the terminal.
  • the processor and the storage medium may also exist in the base station or the terminal as discrete components.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, a base station, user equipment or other programmable devices.
  • the computer program or instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be downloaded from a website, computer, A server or data center transmits to another website site, computer, server or data center by wired or wireless means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrating one or more available media.
  • the available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; and it may also be a semiconductor medium, such as a solid state disk.
  • the computer readable storage medium may be a volatile or a nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
  • “at least one” means one or more, and “multiple” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship; in the formulas of this application, the character “/” indicates that the contextual objects are a "division” Relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the present application are a data collection method, a communication apparatus and a communication system. The method comprises: determining address information of a first session, which is used by a terminal device to access an application; sending a first request message to an application function network element, which provides the application, wherein the first request message comprises identification information of the application and the address information of the first session, and the address information of the first session is used for collecting data of the application of the terminal device; and receiving the data of the application from the application function network element. In the solution, a data analysis network element can determine address information of one session, which is used by a terminal device to access an application, such that it is only necessary to provide the address information of the one session to an application function network element, rather than sending, to the application function network element, address information of all sessions that may be used by the terminal device to access the application, thereby avoiding information of a session, which should not be sensed by an AF, of the terminal device from being exposed to the application function network element, and reducing the security risk.

Description

数据收集方法、通信装置及通信系统Data collection method, communication device and communication system
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年10月08日提交中国专利局、申请号为202111172675.0、申请名称为“数据收集方法、通信装置及通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the China Patent Office on October 08, 2021, with application number 202111172675.0 and titled "Data Collection Method, Communication Device, and Communication System," the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及数据收集方法、通信装置及通信系统。The present application relates to the technical field of wireless communication, in particular to a data collection method, a communication device and a communication system.
背景技术Background technique
为提升用户体验,数据分析网元可以从应用功能网元收集终端设备在访问该应用功能内的某个应用的数据,并对收集到的数据进行分析得到分析结果,该分析结果可被作为改善用户体验的参考依据。In order to improve the user experience, the data analysis network element can collect data from the application function network element when the terminal device accesses an application in the application function, and analyze the collected data to obtain analysis results, which can be used as an improvement References for user experience.
然而,如何实现以一种安全的方式从应用功能网元收集数据,有待解决。However, how to collect data from application function network elements in a secure manner remains to be resolved.
发明内容Contents of the invention
本申请提供数据收集方法、通信装置及通信系统,用以提升数据收集时的安全性。The present application provides a data collection method, a communication device, and a communication system to improve the security of data collection.
第一方面,本申请实施例提供一种数据收集方法,该方法可以由数据分析网元或应用于数据分析网元中的模块(如芯片)来执行。该方法包括:确定终端设备访问该应用使用的第一会话的地址信息;向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;该第一会话的地址信息用于收集该终端设备的该应用的数据;接收来自该应用功能网元的该应用的数据。In the first aspect, the embodiment of the present application provides a data collection method, which can be executed by a data analysis network element or a module (such as a chip) applied to the data analysis network element. The method includes: determining the address information of the first session used by the terminal device to access the application; sending a first request message to the application function network element providing the application, the first request message including the identification information of the application and the first session the address information of the first session; the address information of the first session is used to collect the application data of the terminal device; and receive the application data from the application function network element.
其中,第一会话的地址信息用于收集该终端设备的该应用的数据,比如可以是:应用功能网元根据第一会话的地址信息,收集该终端设备的该应用的数据。其中,应用功能网元收集该终端设备的该应用的数据,比如可以是该应用功能网元向终端设备发送请求消息,以用于请求该终端设备的该应用的数据,再比如还可以是应用功能网元记录该终端设备通过第一会话访问该应用的过程中的数据。The address information of the first session is used to collect the data of the application of the terminal device, for example, the application function network element collects the data of the application of the terminal device according to the address information of the first session. Wherein, the application function network element collects the data of the application of the terminal device. For example, the application function network element may send a request message to the terminal device to request the data of the application of the terminal device. The functional network element records the data in the process of the terminal device accessing the application through the first session.
根据上述方案,数据分析网元可以确定终端设备访问应用时使用的那一个会话的地址信息,从而只需要向应用功能网元提供该一个会话的地址信息,而不会将终端设备的可能访问该应用的所有会话的地址信息都发送给应用功能网元,避免了将该终端设备的不应该被应用功能网元感知的会话的信息暴露给应用功能网元,降低了安全风险。According to the above solution, the data analysis network element can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the session to the application function network element, and the terminal device may not access the session. The address information of all sessions of the application is sent to the application function network element, which avoids exposing the session information of the terminal device that should not be sensed by the application function network element to the application function network element, and reduces security risks.
作为一种可能的实现方法,确定收集该终端设备访问该应用的数据。As a possible implementation method, it is determined to collect the data of the terminal device accessing the application.
作为一种可能的实现方法,获取该应用对应的网络信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第二请求消息,该第二请求消息包括该应用的标识信息和应用开始事件,该第二请求消息还包括该网络信息或该网络信息对应的会话的标识信息;接收来自第一通信设备的该第一会话的地址信息,该第一会话是 该网络信息对应的会话中的被检测到该应用的应用开始事件的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, obtain the network information corresponding to the application, the network information includes data network name and/or slice identification information; send a second request message to the communication device corresponding to the network information, the second request message includes The identification information of the application and the application start event, the second request message also includes the network information or the identification information of the session corresponding to the network information; receiving the address information of the first session from the first communication device, the first session It is a session in which the application start event of the application is detected among the sessions corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
根据上述方案,由通信设备通过检测会话中的应用开始事件,来确定该终端设备访问该应用时使用的第一会话的地址信息,并由通信设备将第一会话的地址信息发送给数据分析网元,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above scheme, the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and the communication device sends the address information of the first session to the data analysis network element, which can accurately determine the address information of the session used by the terminal device to access the application.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息,该会话参数信息用于确定该网络信息对应的会话中的一个或多个会话,该一个或多个会话是待执行应用开始事件检测的会话。As a possible implementation method, the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
根据上述方案,数据分析网元向通信设备提供会话参数信息,通信设备可以根据该会话参数信息筛选待执行应用开始事件检测的会话,因此减少了通信设备执行应用开始事件检测的会话的数量,可以减少通信设备的开销。According to the above solution, the data analysis network element provides session parameter information to the communication device, and the communication device can filter the sessions to be performed application start event detection according to the session parameter information, thus reducing the number of sessions for which the communication device performs application start event detection, and can Reduce communication equipment overhead.
作为一种可能的实现方法,向移动性管理策略控制网元发送第三请求消息,该第三请求消息包括该终端设备的标识信息和该应用的流描述符;接收来自该移动性管理策略控制网元的该会话参数信息,该会话参数信息与该流描述符信息和该终端设备的标识信息对应。As a possible implementation method, send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; The session parameter information of the network element, the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
作为一种可能的实现方法,从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第四请求消息,该第四请求消息包括该第一会话参数信息,该第四请求还包括该网络信息或该网络信息对应的会话的标识信息;接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; send a fourth request message to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the network information corresponding The identification information of the session; receiving the address information of the first session from the first communication device, the first session is a session corresponding to the first session parameter information in the session corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
根据上述方案,数据分析网元从动性管理策略控制网元获取终端设备访问应用时使用的路由选择描述符,该路由选择描述符包括第一会话参数信息,数据分析网元将第一会话参数信息提供给通信设备,使得通信设备可以从一个或多个会话中确定与该第一会话参数信息对应的第一会话,该第一会话即为终端设备访问该应用时使用的会话。然后通信设备将第一会话的地址信息发送给数据分析网元,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above solution, the data analysis network element slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application. The routing descriptor includes the first session parameter information, and the data analysis network element uses the first session parameter The information is provided to the communication device, so that the communication device can determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is the session used when the terminal device accesses the application. Then the communication device sends the address information of the first session to the data analysis network element, so that the address information of the session used by the terminal device to access the application can be accurately determined.
作为一种可能的实现方法,从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第五请求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; receiving the communication with the network information from the communication device The address information of the session corresponding to the network information, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the address of the session corresponding to the network information The address information of the first session is determined in the information, and the session parameter information of the first session is the first session parameter information.
根据上述方案,数据分析网元从动性管理策略控制网元获取终端设备访问应用时使用的路由选择描述符,该路由选择描述符包括第一会话参数信息,数据分析网元从通信设备获取一个或多个会话的地址信息及会话参数信息,并从该一个或多个会话中确定与该第一会话参数信息对应的第一会话,该第一会话即为终端设备访问该应用时使用的会话,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above solution, the data analysis network element slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application. The routing descriptor includes the first session parameter information, and the data analysis network element obtains a Address information and session parameter information of one or more sessions, and determine the first session corresponding to the first session parameter information from the one or more sessions, and the first session is the session used when the terminal device accesses the application , can accurately determine the address information of the session used when the terminal device accesses the application.
作为一种可能的实现方法,从数据管理网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理网元;或者,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the address information of the communication device corresponding to the network information and the identification information of the session are obtained from the data management network element, and the communication device is a session management network element; or, from the binding support network element Obtain the address information of the communication device and the identification information of the session corresponding to the network information, where the communication device is a session management policy control network element.
作为一种可能的实现方法,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the address information of the communication device corresponding to the network information is obtained from the binding support network element, and the communication device is a session management policy control network element.
第二方面,本申请实施例提供一种数据收集方法,该方法可以由通信设备或应用于通信设备中的模块(如芯片)来执行,该通信设备是会话管理策略控制网元或会话管理网元。该方法包括:接收来自数据分析网元的第二请求消息,该第二请求消息包括应用的标识信息和应用开始事件,该第二请求消息还包括网络信息或该网络信息对应的会话的标识信息;在该网络信息对应的会话中的第一会话上检测到该应用的应用开始事件;向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于收集终端设备的该应用的数据。In the second aspect, the embodiment of the present application provides a data collection method, which can be executed by a communication device or a module (such as a chip) applied in the communication device, and the communication device is a session management policy control network element or a session management network Yuan. The method includes: receiving a second request message from a data analysis network element, the second request message includes application identification information and an application start event, and the second request message also includes network information or identification information of a session corresponding to the network information ; The application start event of the application is detected on the first session of the sessions corresponding to the network information; the address information of the first session is sent to the data analysis network element, and the address information of the first session is used to collect terminal equipment of the app's data.
根据上述方案,由通信设备通过检测会话中的应用开始事件,来确定该终端设备访问该应用时使用的第一会话的地址信息,并由通信设备将第一会话的地址信息发送给数据分析网元,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above scheme, the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and the communication device sends the address information of the first session to the data analysis network element, which can accurately determine the address information of the session used by the terminal device to access the application.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息;确定该网络信息对应的会话中的与该会话参数信息对应的一个或多个会话;对该一个或多个会话执行应用开始事件的检测,该一个或多个会话包括该第一会话。As a possible implementation method, the second request message also includes session parameter information; determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; execute the application on the one or more sessions Detection of a start event, the one or more sessions including the first session.
第三方面,本申请实施例提供一种数据收集方法,该方法可以由通信设备或应用于通信设备中的模块(如芯片)来执行,该通信设备是会话管理策略控制网元或会话管理网元。该方法包括:接收来自数据分析网元的第四请求消息,该第四请求消息包括第一会话参数信息,该第四请求消息还包括网络信息或该网络信息对应的会话的标识信息;获取第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话;向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于收集终端设备的该应用的数据。In the third aspect, the embodiment of the present application provides a data collection method, which can be executed by a communication device or a module (such as a chip) applied in the communication device, and the communication device is a session management policy control network element or a session management network Yuan. The method includes: receiving a fourth request message from a data analysis network element, where the fourth request message includes first session parameter information, and the fourth request message also includes network information or identification information of a session corresponding to the network information; Address information of a session, the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information; sending the address information of the first session to the data analysis network element, the first session The address information is used to collect data for this application of the terminal device.
根据上述方案,数据分析网元将第一会话参数信息提供给通信设备,使得通信设备可以从一个或多个会话中确定与该第一会话参数信息对应的第一会话,该第一会话即为终端设备访问该应用时使用的会话。然后通信设备将第一会话的地址信息发送给数据分析网元,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above solution, the data analysis network element provides the first session parameter information to the communication device, so that the communication device can determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is The session used by the terminal device to access the application. Then the communication device sends the address information of the first session to the data analysis network element, so that the address information of the session used by the terminal device to access the application can be accurately determined.
作为一种可能的实现方法,上述第一方面至第三方面的任意实现方法中的会话参数信息和/或第一会话参数信息包括以下信息中的一个或多个:会话与业务连续性模式、接入类型或会话类型。As a possible implementation method, the session parameter information and/or the first session parameter information in any implementation method from the first aspect to the third aspect include one or more of the following information: session and business continuity mode, Access type or session type.
第四方面,本申请实施例提供一种数据收集方法,该方法可以由应用功能网元或应用于应用功能网元中的模块(如芯片)来执行。该方法包括:接收来自数据分析网元的数据订阅请求消息,该数据订阅请求消息包括终端设备的标识信息和外部应用标识(External Application ID);向网络开放功能(network exposure function,NEF)网元发送第一请求消息,该第一请求消息包括该终端设备的标识信息和外部应用标识,该第一请求消息用于查询该终端设备访问该外部应用标识对应的应用使用的会话的地址信息;接收来自该NEF网元的该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息;根据该第一会话的地址信息,收集该终端设备的与该外部应用标识对应的应用的数据;向该数据分 析网元发送该应用的数据。In a fourth aspect, the embodiment of the present application provides a data collection method, which can be executed by an application function network element or a module (such as a chip) applied to the application function network element. The method includes: receiving a data subscription request message from a data analysis network element, the data subscription request message including identification information of a terminal device and an external application ID (External Application ID); opening a function (network exposure function, NEF) network element to the network Sending a first request message, the first request message including the identification information of the terminal device and the external application identification, the first request message is used to query the address information of the session used by the terminal device to access the application corresponding to the external application identification; receiving The terminal device from the NEF network element accesses the address information of the first session used by the application corresponding to the external application identifier; according to the address information of the first session, collects the application data of the terminal device corresponding to the external application identifier ; Send the application data to the data analysis network element.
第五方面,本申请实施例提供一种数据收集方法,该方法可以由网络开放功能网元或应用于网络开放功能网元中的模块(如芯片)来执行。该方法包括:接收来自应用功能网元的第一请求消息,该第一请求消息包括终端设备的标识信息和外部应用标识,该第一请求消息用于查询该终端设备访问该外部应用标识对应的应用使用的会话的地址信息;获取该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息;向该应用功能网元发送该第一会话的地址信息。In the fifth aspect, the embodiment of the present application provides a data collection method, which can be executed by a network element with an open network function or a module (such as a chip) applied to the network element with an open network function. The method includes: receiving a first request message from an application function network element, the first request message includes identification information of the terminal device and an external application identification, and the first request message is used to query the terminal equipment to access the corresponding external application identification The address information of the session used by the application; acquiring the address information of the first session used by the terminal device to access the application corresponding to the external application identifier; sending the address information of the first session to the application function network element.
作为一种可能的实现方法,获取该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息,具体包括:获取该应用对应的网络信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第二请求消息,该第二请求消息包括该外部应用标识和应用开始事件,该第二请求消息还包括该网络信息或该网络信息对应的会话的标识信息;接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的被检测到该应用的应用开始事件的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, acquiring the address information of the first session used by the terminal device to access the application corresponding to the external application identifier specifically includes: acquiring network information corresponding to the application, the network information including data network name and/or slice identification information; send a second request message to the communication device corresponding to the network information, the second request message includes the external application identifier and the application start event, and the second request message also includes the network information or the session corresponding to the network information identification information; receive address information of the first session from the first communication device, where the first session is a session in which the application start event of the application is detected in the session corresponding to the network information, and the first communication device is One of the communication devices corresponding to the network information.
根据上述方案,由通信设备通过检测会话中的应用开始事件,来确定该终端设备访问该应用时使用的第一会话的地址信息,并从通信设备接收第一会话的地址信息,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above scheme, the communication device determines the address information of the first session used when the terminal device accesses the application by detecting the application start event in the session, and receives the address information of the first session from the communication device, which can realize accurate determination Address information of the session used when the terminal device accesses the application.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息,该会话参数信息用于确定该网络信息对应的会话中的一个或多个会话,该一个或多个会话是待执行应用开始事件检测的会话。As a possible implementation method, the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
根据上述方案,向通信设备提供会话参数信息,通信设备可以根据该会话参数信息筛选待执行应用开始事件检测的会话,因此减少了通信设备执行应用开始事件检测的会话的数量,可以减少通信设备的开销。According to the above solution, the session parameter information is provided to the communication device, and the communication device can filter the sessions for which application start event detection is to be performed according to the session parameter information, thereby reducing the number of sessions for which the communication device performs application start event detection, and can reduce the communication device's overhead.
作为一种可能的实现方法,向移动性管理策略控制网元发送第三请求消息,该第三请求消息包括该终端设备的标识信息和该应用的流描述符;接收来自该移动性管理策略控制网元的该会话参数信息,该会话参数信息与该流描述符信息和该终端设备的标识信息对应。As a possible implementation method, send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; The session parameter information of the network element, the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
作为一种可能的实现方法,从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第四请求消息,该第四请求消息包括该第一会话参数信息,该第四请求还包括该网络信息或该网络信息对应的会话的标识信息;接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; send a fourth request message to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the network information corresponding The identification information of the session; receiving the address information of the first session from the first communication device, the first session is a session corresponding to the first session parameter information in the session corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
根据上述方案,从动性管理策略控制网元获取终端设备访问应用时使用的路由选择描述符,该路由选择描述符包括第一会话参数信息,将第一会话参数信息提供给通信设备,使得通信设备可以从一个或多个会话中确定与该第一会话参数信息对应的第一会话,该第一会话即为终端设备访问该应用时使用的会话。然后从通信设备接收第一会话的地址信息,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above solution, the slave management strategy controls the network element to obtain the routing descriptor used when the terminal device accesses the application, the routing descriptor includes the first session parameter information, and provides the first session parameter information to the communication device, so that the communication The device may determine the first session corresponding to the first session parameter information from one or more sessions, and the first session is the session used when the terminal device accesses the application. Then, receiving the address information of the first session from the communication device can accurately determine the address information of the session used when the terminal device accesses the application.
作为一种可能的实现方法,从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息 包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第五请求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the routing descriptor used by the terminal device to access the application is obtained from the mobility management policy control network element, the routing descriptor includes network information and first session parameter information, and the network information includes data Network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; receiving the communication with the network information from the communication device The address information of the session corresponding to the network information, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the address of the session corresponding to the network information The address information of the first session is determined in the information, and the session parameter information of the first session is the first session parameter information.
根据上述方案,从动性管理策略控制网元获取终端设备访问应用时使用的路由选择描述符,该路由选择描述符包括第一会话参数信息,从通信设备获取一个或多个会话的地址信息及会话参数信息,并从该一个或多个会话中确定与该第一会话参数信息对应的第一会话,该第一会话即为终端设备访问该应用时使用的会话,可以实现准确确定该终端设备访问该应用时使用的会话的地址信息。According to the above solution, the slave management policy controls the network element to obtain the routing descriptor used when the terminal device accesses the application, the routing descriptor includes the first session parameter information, and obtains the address information and address information of one or more sessions from the communication device. Session parameter information, and determine the first session corresponding to the first session parameter information from the one or more sessions, the first session is the session used when the terminal device accesses the application, and can accurately determine the terminal device Address information for the session used to access the app.
作为一种可能的实现方法,从数据管理网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理网元;或者,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the address information of the communication device corresponding to the network information and the identification information of the session are obtained from the data management network element, and the communication device is a session management network element; or, from the binding support network element Obtain the address information of the communication device and the identification information of the session corresponding to the network information, where the communication device is a session management policy control network element.
作为一种可能的实现方法,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the address information of the communication device corresponding to the network information is obtained from the binding support network element, and the communication device is a session management policy control network element.
第六方面,本申请实施例提供一种通信装置,该装置可以是数据分析网元,还可以是用于数据分析网元的模块(如芯片)。该装置具有实现上述第一方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, the embodiment of the present application provides a communication device, and the device may be a data analysis network element, or may be a module (such as a chip) for the data analysis network element. The device has the function of realizing any realization method of the first aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第七方面,本申请实施例提供一种通信装置,该装置可以是通信设备,还可以是用于通信设备的模块(如芯片),该通信设备是会话管理策略控制网元或会话管理网元。该装置具有实现上述第二方面或第三方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In the seventh aspect, the embodiment of the present application provides a communication device, which may be a communication device, or a module (such as a chip) used for the communication device, and the communication device is a session management policy control network element or a session management network element . The device has the function of realizing any realization method of the second aspect or the third aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第八方面,本申请实施例提供一种通信装置,该装置可以是应用功能网元,还可以是用于应用功能网元的模块(如芯片)。该装置具有实现上述第四方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In an eighth aspect, the embodiment of the present application provides a communication device. The device may be an application function network element, or may be a module (such as a chip) for the application function network element. The device has the function of realizing any realization method of the fourth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第九方面,本申请实施例提供一种通信装置,该装置可以是网络开放功能网元,还可以是用于网络开放功能网元的模块(如芯片)。该装置具有实现上述第五方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a ninth aspect, the embodiment of the present application provides a communication device. The device may be a network element with a network opening function, or may be a module (such as a chip) for the network element with a network opening function. The device has the function of implementing any implementation method of the fifth aspect above. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第十方面,本申请实施例提供一种通信装置,包括处理器和存储器;该存储器用于存储计算机指令,当该装置运行时,该处理器执行该存储器存储的计算机指令,以使该装置执行上述第一方面至第五方面中的任意实现方法。In the tenth aspect, the embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory so that the device executes Any implementation method in the first aspect to the fifth aspect above.
第十一方面,本申请实施例提供一种通信装置,包括用于执行上述第一方面至第五方面中的任意实现方法的各个步骤的单元或手段(means)。In an eleventh aspect, the embodiment of the present application provides a communication device, including a unit or means (means) for performing each step of any implementation method in the first aspect to the fifth aspect.
第十二方面,本申请实施例提供一种通信装置,包括处理器和接口电路,所述处理器 用于通过接口电路与其它装置通信,并执行上述第一方面至第五方面中的任意实现方法。该处理器包括一个或多个。In the twelfth aspect, the embodiment of the present application provides a communication device, including a processor and an interface circuit, the processor is used to communicate with other devices through the interface circuit, and execute any implementation method in the first to fifth aspects above . The processor includes one or more.
第十三方面,本申请实施例提供一种通信装置,包括与存储器耦合的处理器,该处理器用于调用所述存储器中存储的程序,以执行上述第一方面至第五方面中的任意实现方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器可以是一个或多个。In a thirteenth aspect, the embodiment of the present application provides a communication device, including a processor coupled to a memory, and the processor is used to call a program stored in the memory to execute any implementation in the first aspect to the fifth aspect above method. The memory may be located within the device or external to the device. And there may be one or more processors.
第十四方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在通信装置上运行时,使得上述第一方面至第五方面中的任意实现方法被执行。In the fourteenth aspect, the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a communication device, the above-mentioned first to fifth aspects Any implementation method of is executed.
第十五方面,本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当计算机程序或指令被通信装置运行时,使得上述第一方面至第五方面中的任意实现方法被执行。In the fifteenth aspect, the embodiment of the present application also provides a computer program product, the computer program product includes a computer program or instruction, when the computer program or instruction is run by the communication device, any of the above first to fifth aspects The implementation method is executed.
第十六方面,本申请实施例还提供一种芯片系统,包括:处理器,用于执行上述第一方面至第五方面中的任意实现方法。In a sixteenth aspect, the embodiment of the present application further provides a chip system, including: a processor, configured to execute any implementation method in the first aspect to the fifth aspect above.
第十七方面,本申请实施例还提供了一种通信系统,包括数据分析网元和应用功能网元。该数据分析网元用于执行第一方面的任意实现方法。该应用功能网元用于接收来自该数据分析网元的第一请求消息,该第一请求消息包括应用的标识信息和第一会话的地址信息;以及向该数据分析网元发送终端设备的该应用的数据。In a seventeenth aspect, the embodiment of the present application further provides a communication system, including a data analysis network element and an application function network element. The data analysis network element is used to execute any implementation method of the first aspect. The application function network element is used to receive a first request message from the data analysis network element, where the first request message includes application identification information and address information of the first session; and sends the terminal device information to the data analysis network element App data.
第十八方面,本申请实施例还提供了一种通信系统,包括数据分析网元和通信设备。该通信设备用于执行第二方面的任意实现方法。该数据分析网元,用于向该通信设备发送第二请求消息,该第二请求消息包括应用的标识信息和应用开始事件,该第二请求消息还包括网络信息或该网络信息对应的会话的标识信息;以及接收来自该通信设备的第一会话的地址信息,该第一会话是该网络信息对应的会话中的被检测到该应用的应用开始事件的会话,该第一会话的地址信息用于收集该终端设备的该应用的数据。In an eighteenth aspect, the embodiment of the present application further provides a communication system, including a data analysis network element and a communication device. The communication device is configured to execute any implementation method of the second aspect. The data analysis network element is configured to send a second request message to the communication device, where the second request message includes application identification information and an application start event, and where the second request message also includes network information or a session corresponding to the network information identification information; and receiving address information of a first session from the communication device, where the first session is a session in which an application start event of the application is detected in a session corresponding to the network information, and the address information of the first session is used for collecting the data of the application of the terminal device.
作为一种可能的实现方法,该通信设备是会话管理网元或会话管理策略控制网元。As a possible implementation method, the communication device is a session management network element or a session management policy control network element.
作为一种可能的实现方法,该数据分析网元,还用于向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;以及接收来自该应用功能网元的该应用的数据。As a possible implementation method, the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
第十九方面,本申请实施例还提供了一种通信系统,包括数据分析网元和通信设备。该通信设备用于执行第三方面的任意实现方法。该数据分析网元用于向该通信设备发送第四请求消息,该第四请求消息包括第一会话参数信息,该第四请求消息还包括网络信息或该网络信息对应的会话的标识信息;以及接收来自该通信设备的第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话,该第一会话的地址信息用于收集终端设备的该应用的数据。In a nineteenth aspect, the embodiment of the present application further provides a communication system, including a data analysis network element and a communication device. The communication device is configured to execute any implementation method of the third aspect. The data analysis network element is configured to send a fourth request message to the communication device, where the fourth request message includes first session parameter information, and the fourth request message also includes network information or identification information of a session corresponding to the network information; and receiving address information of a first session from the communication device, where the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information, and the address information of the first session is used to collect the information of the terminal device data for this application.
作为一种可能的实现方法,该通信设备是会话管理网元或会话管理策略控制网元。As a possible implementation method, the communication device is a session management network element or a session management policy control network element.
作为一种可能的实现方法,该数据分析网元,还用于向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;以及接收来自该应用功能网元的该应用的数据。As a possible implementation method, the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
作为一种可能的实现方法,该数据分析网元,还用于从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该通信设备发送第五请 求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;以及根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the data analysis network element is also used to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, and the routing descriptor includes network information and the first Session parameter information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device, the fifth request message including the network information or the identification information of the session corresponding to the network information; receiving from The address information of the session corresponding to the network information of the communication device, and the session parameter information of the session corresponding to the network information; and according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the network The address information of the first session is determined in the address information of the session corresponding to the information, and the session parameter information of the first session is the first session parameter information.
第二十方面,本申请实施例还提供了一种通信系统,包括用于执行第四方面的任意实现方法的应用功能网元,和用于执行第五方面的任意实现方法的网络开放功能网元。In the twentieth aspect, the embodiment of the present application also provides a communication system, including an application function network element for performing any implementation method of the fourth aspect, and a network open function network for performing any implementation method of the fifth aspect Yuan.
附图说明Description of drawings
图1(a)为本申请实施例提供的一种通信系统示意图;FIG. 1(a) is a schematic diagram of a communication system provided by an embodiment of the present application;
图1(b)为本申请实施例提供的另一种通信系统示意图;Figure 1(b) is a schematic diagram of another communication system provided by the embodiment of the present application;
图2(a)为基于服务化架构的5G网络架构示意图;Figure 2(a) is a schematic diagram of a 5G network architecture based on a service architecture;
图2(b)为基于点对点接口的5G网络架构示意图;Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface;
图3为本申请实施例提供的一种数据收集方法的流程示意图;FIG. 3 is a schematic flow chart of a data collection method provided in an embodiment of the present application;
图4(a)为本申请实施例提供的一种数据收集方法的流程示意图;Figure 4(a) is a schematic flow diagram of a data collection method provided in the embodiment of the present application;
图4(b)为本申请实施例提供的一种确定终端设备访问应用使用的第一会话的地址信息的方法流程示意图;FIG. 4(b) is a schematic flowchart of a method for determining address information of a first session used by a terminal device to access an application provided in an embodiment of the present application;
图4(c)为本申请实施例提供的又一种确定终端设备访问应用使用的第一会话的地址信息的方法流程示意图;FIG. 4(c) is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application;
图4(d)为本申请实施例提供的又一种确定终端设备访问应用使用的第一会话的地址信息的方法示意流程图;Fig. 4(d) is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application;
图4(e)为本申请实施例提供的一种数据收集方法的流程示意图;Figure 4(e) is a schematic flow diagram of a data collection method provided in the embodiment of the present application;
图5为本申请实施例提供的一种数据收集方法的流程示意图;FIG. 5 is a schematic flow diagram of a data collection method provided in an embodiment of the present application;
图6为本申请实施例提供的一种数据收集方法的流程示意图;FIG. 6 is a schematic flow diagram of a data collection method provided in an embodiment of the present application;
图7为本申请实施例提供的一种数据收集方法的流程示意图;FIG. 7 is a schematic flow diagram of a data collection method provided in an embodiment of the present application;
图8为本申请实施例提供的一种通信装置示意图;FIG. 8 is a schematic diagram of a communication device provided by an embodiment of the present application;
图9为本申请实施例提供的一种通信装置示意图。FIG. 9 is a schematic diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
如图1(a)所示,本申请提供一种通信系统,该系统包括数据分析网元和应用功能网元。可选的,该系统还包括移动性管理策略控制网元和/或通信设备,该通信设备是会话管理网元或会话管理策略控制网元。As shown in FIG. 1(a), the present application provides a communication system, which includes a data analysis network element and an application function network element. Optionally, the system further includes a mobility management policy control network element and/or a communication device, where the communication device is a session management network element or a session management policy control network element.
数据分析网元,用于确定终端设备访问应用使用的第一会话的地址信息;向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;该第一会话的地址信息用于收集该终端设备的该应用的数据;以及接收来自该应用功能网元的该应用的数据。应用功能网元,用于接收来自该数据分析网元的该第一请求消息;以及向该数据分析网元发送终端设备的该应用的数据。The data analysis network element is used to determine the address information of the first session used by the terminal device to access the application; and send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the first session address information of a session; the address information of the first session is used to collect the application data of the terminal device; and receive the application data from the application function network element. An application function network element, configured to receive the first request message from the data analysis network element; and send the application data of the terminal device to the data analysis network element.
作为一种可能的实现方法,数据分析网元,还用于确定收集该终端设备访问该应用的数据。As a possible implementation method, the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
作为一种可能的实现方法,数据分析网元,用于获取该应用对应的网络信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第二请求消息,该第二请求消息包括该应用的标识信息和应用开始事件,该第二请求消息还包括该网络信息或该网络信息对应的会话的标识信息;以及接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的被检测到该应用的应用开始事件的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the data analysis network element is used to obtain network information corresponding to the application, the network information including data network name and/or slice identification information; sending a second request message to the communication device corresponding to the network information , the second request message includes identification information of the application and an application start event, the second request message further includes identification information of the network information or a session corresponding to the network information; and receiving the first session from the first communication device address information, the first session is a session in which the application start event of the application is detected among the sessions corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息,该会话参数信息用于确定该网络信息对应的会话中的一个或多个会话,该一个或多个会话是待执行应用开始事件检测的会话。As a possible implementation method, the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
作为一种可能的实现方法,数据分析网元,用于向移动性管理策略控制网元发送第三请求消息,该第三请求消息包括该终端设备的标识信息和该应用的流描述符;以及接收来自该移动性管理策略控制网元的该会话参数信息,该会话参数信息与该流描述符信息和该终端设备的标识信息对应。移动性管理策略控制网元,用于根据终端设备的标识信息和该应用的流描述符,获取该会话参数信息,以及向数据分析网元发送该会话参数信息。As a possible implementation method, the data analysis network element is configured to send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; and Receive the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device. The mobility management policy control network element is used to obtain the session parameter information according to the identification information of the terminal equipment and the flow descriptor of the application, and send the session parameter information to the data analysis network element.
作为一种可能的实现方法,数据分析网元,用于从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第四请求消息,该第四请求消息包括该第一会话参数信息,所述第四请求还包括该网络信息或该网络信息对应的会话的标识信息;以及接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the data analysis network element is configured to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, where the routing descriptor includes network information and first session parameters information, the network information includes data network name and/or slice identification information; a fourth request message is sent to the communication device corresponding to the network information, the fourth request message includes the first session parameter information, and the fourth request also includes The network information or the identification information of the session corresponding to the network information; and receiving the address information of the first session from the first communication device, the first session is the first session parameter information in the session corresponding to the network information For a corresponding session, the first communication device is one of the communication devices corresponding to the network information.
作为一种可能的实现方法,数据分析网元,用于从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该网络信息对应的通信设备发送第五请求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the data analysis network element is configured to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, where the routing descriptor includes network information and first session parameters Information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes identification information of the network information or the session corresponding to the network information; receiving the address information of the session corresponding to the network information from the communication device, and the session parameter information of the session corresponding to the network information; according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the The address information of the first session is determined in the address information of the session corresponding to the network information, and the session parameter information of the first session is the first session parameter information.
作为一种可能的实现方法,数据分析网元,用于从数据管理网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理网元;或者,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the data analysis network element is configured to obtain the address information of the communication device and the identification information of the session corresponding to the network information from the data management network element, where the communication device is a session management network element; or The address information of the communication device and the identification information of the session corresponding to the network information are obtained from the binding support network element, where the communication device is a session management policy control network element.
图1(a)所示的系统可以用在图2(a)或图2(b)所示的第五代(the 5th generation,5G)网络架构中,当然,也可以用在未来网络架构,比如第六代(6th generation,6G)网络架构等,本申请不做限定。The system shown in Figure 1(a) can be used in the fifth generation (the 5th generation, 5G) network architecture shown in Figure 2(a) or Figure 2(b), of course, it can also be used in future network architectures, For example, the sixth generation (6th generation, 6G) network architecture, etc., are not limited in this application.
如图1(b)所示,本申请提供一种通信系统,该系统包括数据分析网元和通信设备,该通信设备可以是会话管理网元或会话管理策略控制网元。As shown in FIG. 1( b ), the present application provides a communication system, which includes a data analysis network element and a communication device, where the communication device may be a session management network element or a session management policy control network element.
在第一个实施例中,通信设备,用于接收来自数据分析网元的第二请求消息,该第二请求消息包括应用的标识信息和应用开始事件,该第二请求消息还包括网络信息或该网络 信息对应的会话的标识信息;在该网络信息对应的会话中的第一会话上检测到该应用的应用开始事件;以及向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于收集终端设备的该应用的数据。数据分析网元,用于向该通信设备发送该第二请求消息;以及接收来自该通信设备的第一会话的地址信息。In the first embodiment, the communication device is configured to receive a second request message from a data analysis network element, where the second request message includes application identification information and an application start event, and where the second request message also includes network information or The identification information of the session corresponding to the network information; detecting the application start event of the application on the first session of the sessions corresponding to the network information; and sending the address information of the first session to the data analysis network element, the second session The address information of a session is used to collect the application data of the terminal device. A data analysis network element, configured to send the second request message to the communication device; and receive address information of the first session from the communication device.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息;通信设备,还用于确定该网络信息对应的会话中的与该会话参数信息对应的一个或多个会话;对该一个或多个会话执行应用开始事件的检测,该一个或多个会话包括该第一会话。As a possible implementation method, the second request message also includes session parameter information; the communication device is further configured to determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; Detection of an application start event is performed by one or more sessions, including the first session.
作为一种可能的实现方法,该数据分析网元,还用于向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;以及接收来自该应用功能网元的该应用的数据。As a possible implementation method, the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
作为一种可能的实现方法,数据分析网元,还用于确定收集该终端设备访问该应用的数据。As a possible implementation method, the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
在第二个实施例中,通信设备,用于接收来自数据分析网元的第四请求消息,该第四请求消息包括第一会话参数信息,该第四请求消息还包括网络信息或该网络信息对应的会话的标识信息;获取第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话;以及向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于收集终端设备的该应用的数据。数据分析网元,用于向该通信设备发送该第四请求消息,以及接收来自该通信设备的第一会话的地址信息。In the second embodiment, the communication device is configured to receive a fourth request message from the data analysis network element, the fourth request message includes the first session parameter information, and the fourth request message also includes network information or the network information The identification information of the corresponding session; acquire the address information of the first session, the first session is the session corresponding to the first session parameter information among the sessions corresponding to the network information; and send the first session to the data analysis network element The address information of the session, the address information of the first session is used to collect the application data of the terminal device. A data analysis network element, configured to send the fourth request message to the communication device, and receive address information of the first session from the communication device.
作为一种可能的实现方法,该数据分析网元,还用于向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;以及接收来自该应用功能网元的该应用的数据。As a possible implementation method, the data analysis network element is further configured to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address of the first session information; and receiving data of the application from the application function network element.
作为一种可能的实现方法,该数据分析网元,还用于确定收集该终端设备访问该应用的数据。As a possible implementation method, the data analysis network element is also used to determine and collect the data of the terminal device accessing the application.
作为一种可能的实现方法,该数据分析网元,还用于从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;向该通信设备发送第五请求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;以及根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the data analysis network element is also used to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, and the routing descriptor includes network information and the first Session parameter information, the network information including data network name and/or slice identification information; sending a fifth request message to the communication device, the fifth request message including the network information or the identification information of the session corresponding to the network information; receiving from The address information of the session corresponding to the network information of the communication device, and the session parameter information of the session corresponding to the network information; and according to the session parameter information of the session corresponding to the network information and the first session parameter information, from the network The address information of the first session is determined in the address information of the session corresponding to the information, and the session parameter information of the first session is the first session parameter information.
图1(b)所示的系统可以用在图2(a)或图2(b)所示的5G网络架构中,当然,也可以用在未来网络架构,比如6G网络架构等,本申请不做限定。The system shown in Figure 1(b) can be used in the 5G network architecture shown in Figure 2(a) or Figure 2(b). Of course, it can also be used in future network architectures, such as 6G network architectures. This application does not Do limited.
为了应对无线宽带技术的挑战,保持第三代合作伙伴计划(3rd generation partnership project,3GPP)网络的领先优势,3GPP标准组制定了下一代移动通信网络系统(Next Generation System)架构,称为5G网络架构。该架构不但支持3GPP标准组定义的无线接入技术(如长期演进(long term evolution,LTE)接入技术,5G无线接入网(radio access network,RAN)接入技术等)接入到5G核心网(core network,CN),而且支持使用非3GPP(non-3GPP)接入技术通过非3GPP转换功能(non-3GPP interworking function,N3IWF)或下一代接入网关(next generation packet data gateway,ngPDG)接入到核心网。In order to meet the challenges of wireless broadband technology and maintain the leading edge of the 3rd generation partnership project (3GPP) network, the 3GPP standard group has formulated the next generation mobile communication network system (Next Generation System) architecture, called 5G network architecture. This architecture not only supports wireless access technologies (such as long term evolution (LTE) access technologies, 5G radio access network (RAN) access technologies, etc.) defined by the 3GPP standard group to access the 5G core Network (core network, CN), and supports the use of non-3GPP (non-3GPP) access technology through non-3GPP interworking function (non-3GPP interworking function, N3IWF) or next generation access gateway (next generation packet data gateway, ngPDG) Access to the core network.
图2(a)为基于服务化架构的5G网络架构示意图。图1所示的5G网络架构中可包括终端设备、接入网设备以及核心网设备。终端设备通过接入网设备和核心网设备接入数据网络(data network,DN)。其中,核心网设备包括但不限于以下网元中的部分或者全部:鉴权服务器功能(authentication server function,AUSF)网元(图中未示出)、统一数据管理(unified data management,UDM)网元、统一数据库(unified data repository,UDR)网元、网络存储功能(network repository function,NRF)网元(图中未示出)、网络开放功能(network exposure function,NEF)网元(图中未示出)、应用功能(application function,AF)网元、策略控制功能(policy control function,PCF)网元、接入与移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、绑定支持功能(binding support function,BSF)网元(图中未示出)、网络数据分析功能(network data analysis function,NWDAF)网元(图中未示出)。Figure 2(a) is a schematic diagram of a 5G network architecture based on a service-based architecture. The 5G network architecture shown in FIG. 1 may include terminal equipment, access network equipment, and core network equipment. The terminal device accesses the data network (data network, DN) through the access network device and the core network device. Among them, the core network equipment includes but not limited to some or all of the following network elements: authentication server function (authentication server function, AUSF) network element (not shown in the figure), unified data management (unified data management, UDM) network element, unified data repository (unified data repository, UDR) network element, network repository function (network repository function, NRF) network element (not shown in the figure), network exposure function (network exposure function, NEF) network element (not shown in the figure) shown), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, binding support function (binding support function, BSF) network element (not shown in the figure), network data analysis function (network data analysis function, NWDAF) network element (not shown in the figure).
终端设备可以是用户设备(user equipment,UE)、移动台、移动终端等。终端设备可以广泛应用于各种场景,例如,设备到设备(device-to-device,D2D)、车物(vehicle to everything,V2X)通信、机器类通信(machine-type communication,MTC)、物联网(internet of things,IOT)、虚拟现实、增强现实、工业控制、自动驾驶、远程医疗、智能电网、智能家具、智能办公、智能穿戴、智能交通、智慧城市等。终端设备可以是手机、平板电脑、带无线收发功能的电脑、可穿戴设备、车辆、城市空中交通工具(如无人驾驶机、直升机等)、轮船、机器人、机械臂、智能家居设备等。The terminal device may be a user equipment (user equipment, UE), a mobile station, a mobile terminal, and the like. Terminal devices can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (internet of things, IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. Terminal devices can be mobile phones, tablet computers, computers with wireless transceiver functions, wearable devices, vehicles, urban air vehicles (such as drones, helicopters, etc.), ships, robots, robotic arms, smart home devices, etc.
接入网设备可以是无线接入网(RAN)设备或有线接入网(wirelineaccess network,FAN)设备。其中,无线接入网设备包括3GPP接入网设备、非可信非3GPP接入网设备和可信非3GPP接入网设备。3GPP接入网设备包括但不限于:LTE中的演进型基站(evolved NodeB,eNodeB)、5G移动通信系统中的下一代基站(next generation NodeB,gNB)、未来移动通信系统中的基站或完成基站部分功能的模块或单元,如集中式单元(central unit,CU),分布式单元(distributed unit,DU)等。非可信非3GPP接入网设备包括但不限于:非可信非3GPP接入网关或N3IWF设备、非可信无线局域网(wireless local area network,WLAN)接入点(access point,AP)、交换机、路由器。可信非3GPP接入网设备包括但不限于:可信非3GPP接入网关、可信WLAN AP、交换机、路由器。有线接入网设备包括但不限于:有线接入网关(wireline access gateway)、固定电话网络设备、交换机、路由器。The access network device may be a radio access network (RAN) device or a wired access network (wireline access network, FAN) device. Wherein, the wireless access network equipment includes 3GPP access network equipment, untrusted non-3GPP access network equipment and trusted non-3GPP access network equipment. 3GPP access network equipment includes but not limited to: evolved base station (evolved NodeB, eNodeB) in LTE, next generation base station (next generation NodeB, gNB) in 5G mobile communication system, base station or completed base station in future mobile communication system Partial functional modules or units, such as centralized unit (central unit, CU), distributed unit (distributed unit, DU), etc. Untrusted non-3GPP access network equipment includes but not limited to: untrusted non-3GPP access gateway or N3IWF equipment, untrusted wireless local area network (wireless local area network, WLAN) access point (access point, AP), switch ,router. Trusted non-3GPP access network devices include, but are not limited to: trusted non-3GPP access gateways, trusted WLAN APs, switches, and routers. Wired access network equipment includes but not limited to: wired access gateway (wireline access gateway), fixed telephone network equipment, switches, routers.
接入网设备和终端设备可以是固定位置的,也可以是可移动的。接入网设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对接入网设备和终端设备的应用场景不做限定。Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
AMF网元,包含执行移动性管理、接入鉴权/授权等功能。此外,还负责在终端设备与PCF间传递用户策略。The AMF network element includes functions such as mobility management and access authentication/authorization. In addition, it is also responsible for transferring user policies between terminal equipment and PCF.
SMF网元,包含执行会话管理、执行PCF下发的控制策略、选择UPF、分配终端设备的互联网协议(internet protocol,IP)地址等功能。The SMF network element includes the functions of executing session management, executing the control strategy issued by the PCF, selecting UPF, and assigning the Internet protocol (internet protocol, IP) address of the terminal device, etc.
UPF网元,包含完成用户面数据转发、基于会话/流级的计费统计、带宽限制等功能。The UPF network element includes functions such as user plane data forwarding, session/flow-based charging statistics, and bandwidth limitation.
UDM网元,包含执行管理签约数据、用户接入授权等功能。UDM network element, including the execution management of subscription data, user access authorization and other functions.
UDR,包含执行签约数据、策略数据、应用数据等类型数据的存取功能。UDR, including the access function of execution contract data, policy data, application data and other types of data.
NEF网元,用于支持能力和事件的开放。NEF network elements are used to support the opening of capabilities and events.
AF网元,传递应用侧对网络侧的需求,例如,QoS需求或用户状态事件订阅等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP Multimedia Subsystem,IMS)语音呼叫业务。其中,AF网元包括核心网内的AF网元(即运营商的AF网元)和第三方AF网元(如某个企业的应用服务器)。The AF network element transmits the requirements from the application side to the network side, such as QoS requirements or user status event subscription. The AF may be a third-party functional entity, or an application service deployed by an operator, such as an IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) voice call service. Wherein, the AF network element includes an AF network element in the core network (that is, an operator's AF network element) and a third-party AF network element (such as an application server of an enterprise).
PCF网元,包含负责针对会话、业务流级别进行计费、QoS带宽保障及移动性管理、终端策略决策等策略控制功能。PCF网元包括接入与移动性管理策略控制网元(access and mobility management policy control function,AM PCF)网元和会话管理策略控制功能(session management PCF,SM PCF)网元,AM PCF网元可以提供移动性管理策略,SM PCF网元可以提供会话管理策略。The PCF network element includes policy control functions such as charging for sessions and service flow levels, QoS bandwidth guarantee, mobility management, and terminal policy decision-making. PCF network elements include access and mobility management policy control function (access and mobility management policy control function, AM PCF) network elements and session management policy control function (session management PCF, SM PCF) network elements, AM PCF network elements can To provide mobility management policies, SM PCF network elements can provide session management policies.
NRF网元,可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。NRF还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。The NRF network element can be used to provide a network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements. NRF also provides network element management services, such as network element registration, update, de-registration, network element status subscription and push, etc.
BSF网元,可提供BSF服务注册/注销/更新,与NRF连接检测,会话绑定信息创建,UE信息的获取,IP地址重复的会话绑定信息查询等功能。BSF network element can provide functions such as BSF service registration/deregistration/update, connection detection with NRF, creation of session binding information, acquisition of UE information, query of session binding information with duplicate IP addresses, etc.
AUSF网元,负责对用户进行鉴权,以确定是否允许用户或设备接入网络。The AUSF network element is responsible for authenticating users to determine whether users or devices are allowed to access the network.
NWDAF网元,主要用于收集数据(包括终端设备数据、接入网设备数据、核心网网元数据以及第三方应用数据中的一种或者多种),并根据机器学习模型提供数据分析服务,可以输出数据分析结果,供网络、网管及应用执行策略决策使用。本申请实施例中,一个NWDAF网元可以是一个单独的网元,也可以与其他网元合设,例如将NWDAF网元设置到PCF网元或者AMF网元中。NWDAF network elements are mainly used to collect data (including one or more of terminal equipment data, access network equipment data, core network network element data, and third-party application data), and provide data analysis services based on machine learning models, Data analysis results can be output for network, network management, and application execution policy decisions. In the embodiment of the present application, a NWDAF network element may be a single network element, or it may be set up together with other network elements, for example, the NWDAF network element is set in a PCF network element or an AMF network element.
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。DN is a network outside the operator's network. The operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminals. For example, DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminals, and the control server of the sensors is deployed in the DN, and the control server can provide services for the sensors. The sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, DN is a company's internal office network. The mobile phone or computer of the company's employees can be a terminal, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
图2(a)中Npcf、Nufr、Nudm、Naf、Namf、Nsmf分别为上述PCF、UDR、UDM、AF、AMF和SMF提供的服务化接口,用于调用相应的服务化操作。N1、N2、N3、N4以及N6为接口序列号,这些接口序列号的含义如下:In Figure 2(a), Npcf, Nufr, Nudm, Naf, Namf, and Nsmf are the service interfaces provided by the above-mentioned PCF, UDR, UDM, AF, AMF, and SMF, respectively, and are used to call corresponding service operations. N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers are as follows:
1)、N1:AMF与终端设备之间的接口,可以用于向终端设备传递非接入层(non access stratum,NAS)信令(如包括来自AMF的QoS规则)等。1), N1: the interface between the AMF and the terminal device, which can be used to transmit non-access stratum (non access stratum, NAS) signaling (such as including QoS rules from the AMF) to the terminal device.
2)、N2:AMF与接入网设备之间的接口,可以用于传递核心网侧至接入网设备的无线承载控制信息等。2), N2: the interface between the AMF and the access network device, which can be used to transfer radio bearer control information from the core network side to the access network device.
3)、N3:接入网设备与UPF之间的接口,主要用于传递接入网设备与UPF间的上下行用户面数据。3), N3: the interface between the access network device and the UPF, mainly used to transfer the uplink and downlink user plane data between the access network device and the UPF.
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS规则、流量统计规则等的下发以及用户面的信息上报。4), N4: The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the delivery of forwarding rules, QoS rules, traffic statistics rules, etc. for the user plane, as well as user plane information report.
5)、N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。5), N6: interface between UPF and DN, used to transmit uplink and downlink user data flow between UPF and DN.
图2(b)为基于点对点接口的5G网络架构示意图,其中的网元的功能的介绍可以参考图2(a)中对应的网元的功能的介绍,不再赘述。图2(b)与图2(a)的主要区别在于:图2(a)中的各个控制面网元之间的接口是服务化的接口,图2(b)中的各个控制面网元之间的接口是点对点的接口。Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface, and the introduction of the functions of the network elements can refer to the introduction of the functions of the corresponding network elements in Figure 2(a), and will not be repeated here. The main difference between Figure 2(b) and Figure 2(a) is that the interface between each control plane network element in Figure 2(a) is a service interface, and each control plane network element in Figure 2(b) The interface between them is a point-to-point interface.
在图2(b)所示的架构中,各个网元之间的接口名称及功能如下:In the architecture shown in Figure 2(b), the interface names and functions between each network element are as follows:
1)、N1、N2、N3、N4和N6接口的含义可以参考前述描述。1), the meanings of N1, N2, N3, N4 and N6 interfaces can refer to the foregoing description.
2)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。2), N5: the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
3)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。3), N7: the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
4)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端设备移动性管理相关信息等。4), N8: The interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to terminal equipment mobility management with UDM.
5)、N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。5), N9: a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
6)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端设备会话相关信息等。6), N10: the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register terminal device session-related information with UDM.
7)、N11:SMF与AMF之间的接口,可以用于传递接入网设备和UPF之间的PDU会话隧道信息、传递发送给终端设备的控制消息、传递发送给接入网设备的无线资源控制信息等。7), N11: The interface between SMF and AMF, which can be used to transfer the PDU session tunnel information between the access network device and UPF, transfer the control message sent to the terminal device, and transfer the wireless resource sent to the access network device control information, etc.
8)、N15:PCF与AMF之间的接口,可以用于下发终端策略及接入控制相关策略。8), N15: the interface between the PCF and the AMF, which can be used to issue terminal policies and access control-related policies.
9)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。9), N35: the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
10)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。10), N36: the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It can be understood that the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
本申请中的数据分析网元、数据管理网元、移动性管理网元、会话管理网元、用户面网元、移动性管理策略控制网元、会话管理策略控制网元、应用功能网元、绑定支持网元分别可以是5G系统中的NWDAF网元、UDM网元、AMF网元、SMF网元、UPF网元、AM PCF网元、SM PCF网元、AF网元、BSF网元,也可以是未来通信如6G网络中具有上述NWDAF网元、UDM网元、AMF网元、SMF网元、UPF网元、AM PCF网元、SM PCF网元、AF网元、BSF网元的功能的网元,本申请对此不限定。在本申请的实施例中,以NWDAF网元、UDM网元、AMF网元、SMF网元、UPF网元、AM PCF网元、SM PCF网元、AF网元、BSF网元分别为数据分析网元、数据管理网元、移动性管理网元、会话管理网元、用户面网元、移动性管理策略控制网元、会话管理策略控制网元、应用功能网元、绑定支持网元的一个举例进行描述。并且,将NWDAF网元、UDM网元、AMF网元、SMF网元、UPF网元、AM PCF网元、SM PCF网元、AF网元、BSF网元分别简称为NWDAF、UDM、AMF、SMF、UPF、AM PCF、SM PCF、AF、BSF。In this application, data analysis network element, data management network element, mobility management network element, session management network element, user plane network element, mobility management policy control network element, session management policy control network element, application function network element, Binding support network elements can be NWDAF network elements, UDM network elements, AMF network elements, SMF network elements, UPF network elements, AM PCF network elements, SM PCF network elements, AF network elements, and BSF network elements in the 5G system. It can also be the functions of the above-mentioned NWDAF network element, UDM network element, AMF network element, SMF network element, UPF network element, AM PCF network element, SM PCF network element, AF network element, and BSF network element in future communications such as 6G networks network elements, which is not limited in this application. In the embodiment of the present application, the data analysis is performed with NWDAF network element, UDM network element, AMF network element, SMF network element, UPF network element, AM PCF network element, SM PCF network element, AF network element, and BSF network element respectively Network elements, data management network elements, mobility management network elements, session management network elements, user plane network elements, mobility management policy control network elements, session management policy control network elements, application function network elements, and binding support network elements An example is described. In addition, NWDAF network elements, UDM network elements, AMF network elements, SMF network elements, UPF network elements, AM PCF network elements, SM PCF network elements, AF network elements, and BSF network elements are referred to as NWDAF, UDM, AMF, and SMF respectively. , UPF, AM PCF, SM PCF, AF, BSF.
参考图3,为本申请实施例提供的分析方法的流程示意图。该方法包括以下步骤:Referring to FIG. 3 , it is a schematic flowchart of the analysis method provided in the embodiment of the present application. The method includes the following steps:
步骤301,NWDAF确定收集终端设备访问应用的数据。In step 301, the NWDAF determines to collect data on applications accessed by terminal devices.
比如,当NWDAF接收到来自其它网元,如AF或PCF的订阅请求,NWDAF根据该 订阅请求,确定收集终端设备访问应用的数据。For example, when NWDAF receives a subscription request from other network elements, such as AF or PCF, NWDAF determines to collect data on applications accessed by terminal devices according to the subscription request.
一种实现方法,该订阅请求中携带应用的标识信息和至少一个终端设备的标识信息,该订阅请求用于请求订阅该至少一个终端设备访问该应用的业务体验信息和/或业务流特征信息,NWDAF根据该订阅请求,确定收集该至少一个终端设备访问应用的数据,从而后续NWDAF可以根据收集到的该至少一个终端设备访问应用的数据,确定该至少一个终端设备访问该应用的业务体验信息和/或业务流特征信息。An implementation method, wherein the subscription request carries identification information of an application and identification information of at least one terminal device, and the subscription request is used to request to subscribe to service experience information and/or service flow characteristic information of the at least one terminal device to access the application, According to the subscription request, the NWDAF determines to collect the data of the at least one terminal device accessing the application, so that the subsequent NWDAF can determine the service experience information and /or service flow characteristic information.
另一种实现方法,该订阅请求中携带应用的标识信息和终端设备群组的标识信息,该终端设备群组包括一个或多个终端设备,该订阅请求用于请求订阅该终端设备群组内的终端设备访问该应用的业务体验信息和/或业务流特征信息,NWDAF根据该订阅请求,确定收集该终端设备群组内的终端设备访问应用的数据,从而后续NWDAF可以根据收集到的该终端设备群组内的终端设备访问应用的数据,确定该终端设备群组内的终端设备访问该应用的业务体验信息和/或业务流特征信息。Another implementation method, the subscription request carries the identification information of the application and the identification information of the terminal device group, the terminal device group includes one or more terminal devices, and the subscription request is used to request to subscribe to the terminal device group According to the subscription request, NWDAF determines to collect the data of terminal devices in the terminal device group accessing the application, so that subsequent NWDAF can The terminal devices in the device group access the data of the application, and the service experience information and/or service flow characteristic information of the terminal devices in the terminal device group accessing the application are determined.
另一种实现方法,该订阅请求中携带应用的标识信息和区域标识信息,该区域标识信息指示的区域内包括一个或多个终端设备,该订阅请求用于请求订阅该区域标识信息指示的区域内的终端设备访问该应用的业务体验信息和/或业务流特征信息,NWDAF根据该订阅请求,确定收集该区域标识信息指示的区域内的终端设备访问应用的数据,从而后续NWDAF可以根据收集到的该区域标识信息指示的区域内的终端设备访问应用的数据,确定该区域标识信息指示的区域内的终端设备访问该应用的业务体验信息和/或业务流特征信息。Another implementation method, the subscription request carries application identification information and area identification information, and the area indicated by the area identification information includes one or more terminal devices, and the subscription request is used to request to subscribe to the area indicated by the area identification information According to the subscription request, NWDAF determines to collect the application data accessed by terminal devices in the area indicated by the area identification information, so that subsequent NWDAF can collect The terminal device in the area indicated by the area identification information accesses the data of the application, and it is determined that the terminal device in the area indicated by the area identification information accesses the service experience information and/or service flow characteristic information of the application.
步骤302,NWDAF获取AF对应的网络信息,该网络信息包括DNN和/或切片标识信息,该切片标识信息可以是单网络切片选择辅助信息(single network slice selection assistance information,S-NSSAI)。Step 302, NWDAF acquires network information corresponding to AF, the network information includes DNN and/or slice identification information, and the slice identification information may be single network slice selection assistance information (single network slice selection assistance information, S-NSSAI).
这里的AF指的是应用对应的AF,也即部署或提供该应用的AF。The AF here refers to the AF corresponding to the application, that is, the AF that deploys or provides the application.
NWDAF获取到的AF对应的网络信息的数量,可以是一个或多个。The number of network information corresponding to the AF acquired by the NWDAF may be one or more.
一种实现方法,NWDAF可以从NRF获取AF对应的网络信息。比如,AF可以向NRF发送注册消息,该注册消息中包括AF的地址信息和终端设备访问AF上的应用可能使用的网络信息,从而实现将终端设备访问AF上的应用可能使用的网络信息注册到NRF。因此,NWDAF可以向NRF发送发现请求消息,该发现请求消息中包括AF的地址信息,该发现请求消息用于请求获取该AF对应的网络信息,从而NRF向NWDAF返回该AF对应的网络信息。In one implementation method, the NWDAF can acquire the network information corresponding to the AF from the NRF. For example, the AF can send a registration message to the NRF. The registration message includes the address information of the AF and the network information that the terminal device may use to access the application on the AF, so as to realize the registration of the network information that the terminal device may use to access the application on the AF. NRF. Therefore, the NWDAF can send a discovery request message to the NRF, the discovery request message includes the address information of the AF, and the discovery request message is used to request to obtain the network information corresponding to the AF, so that the NRF returns the network information corresponding to the AF to the NWDAF.
另一种实现方法,NWDAF可以根据本地配置,确定AF对应的网络信息。In another implementation method, the NWDAF can determine the network information corresponding to the AF according to the local configuration.
步骤303,NWDAF向UDM发送查询请求消息。相应的,UDM接收查询请求消息。In step 303, the NWDAF sends a query request message to the UDM. Correspondingly, the UDM receives the query request message.
一种实现方法,该查询请求消息可以是Nudm_UECM_Get_Request消息。An implementation method, the query request message may be a Nudm_UECM_Get_Request message.
该查询请求消息中包括终端设备的标识信息以及该AF对应的网络信息,该查询请求消息用于请求查询为该终端设备提供服务的、且对应该网络信息的SMF的标识信息。其中,AF对应的网络信息的数量可以是一个或多个。The query request message includes the identification information of the terminal device and the network information corresponding to the AF, and the query request message is used to request to query the identification information of the SMF that provides services for the terminal device and corresponds to the network information. Wherein, the quantity of network information corresponding to AF may be one or more.
步骤304,UDM向NWDAF发送查询响应消息。相应的,NWDAF接收查询响应消息。In step 304, the UDM sends a query response message to the NWDAF. Correspondingly, the NWDAF receives the query response message.
一种实现方法,该查询响应消息可以是Nudm_UECM_Get_Response消息。An implementation method, the query response message may be a Nudm_UECM_Get_Response message.
UDM收到该查询请求消息后,根据终端设备的标识信息以及AF对应的网络信息,查询到一个或多个SMF的地址信息以及每个SMF对应的PDU会话的标识信息,并将查询 到的SMF的地址信息及PDU会话的标识信息携带于查询响应消息中返回给NWDAF。After receiving the query request message, the UDM will query the address information of one or more SMFs and the identification information of the PDU session corresponding to each SMF according to the identification information of the terminal device and the network information corresponding to the AF, and send The address information and the identification information of the PDU session are carried in the query response message and returned to NWDAF.
其中,UDM上存储的SMF的地址信息及PDU会话的标识信息等信息,可以是由SMF注册至UDM的。比如,在终端设备建立PDU会话的过程中,AMF会为终端设备的PDU会话选择服务的SMF,然后SMF可以向UDM发送注册请求消息,该注册请求消息中携带终端设备的标识信息、网络信息、SMF的标识信息、SMF的地址信息以及PDU会话的标识信息。Wherein, information such as the address information of the SMF and the identification information of the PDU session stored on the UDM may be registered to the UDM by the SMF. For example, when a terminal device establishes a PDU session, the AMF will select a service SMF for the terminal device's PDU session, and then the SMF can send a registration request message to the UDM, which carries the terminal device's identification information, network information, The identification information of the SMF, the address information of the SMF, and the identification information of the PDU session.
下面结合一个示例进行说明,比如UDM上存储有以下信息:Let's illustrate with an example. For example, the following information is stored on UDM:
SMF1的注册信息1:终端设备1的标识信息、网络信息1、SMF1的地址信息、SMF1的标识信息、PDU会话1的标识信息以及PDU会话2的标识信息; Registration information 1 of SMF1: identification information of terminal device 1, network information 1, address information of SMF1, identification information of SMF1, identification information of PDU session 1, and identification information of PDU session 2;
SMF2的注册信息2:终端设备1的标识信息、网络信息2、SMF2的地址信息、SMF2的标识信息以及PDU会话3的标识信息;Registration information 2 of SMF2: identification information of terminal device 1, network information 2, address information of SMF2, identification information of SMF2 and identification information of PDU session 3;
SMF3的注册信息3:终端设备2的标识信息、网络信息3、SMF3的地址信息、SMF3的标识信息以及PDU会话4的标识信息;Registration information 3 of SMF3: identification information of terminal device 2, network information 3, address information of SMF3, identification information of SMF3 and identification information of PDU session 4;
SMF4的注册信息4:终端设备3的标识信息、网络信息4、SMF4的地址信息、SMF4的标识信息以及PDU会话5的标识信息。Registration information 4 of SMF4: identification information of terminal device 3, network information 4, address information of SMF4, identification information of SMF4 and identification information of PDU session 5.
其中,每个注册信息中包含一个终端设备的标识信息、一个网络信息、一个SMF的地址信息、一个SMF的标识信息以及一个或多个PDU会话的标识信息。同一个网络信息对应一个或多个PDU会话的标识信息,比如,上述网络信息1对应2个PDU会话的标识信息,分别为PDU会话1的标识信息和PDU会话2的标识信息,上述网络信息2、网络信息3以及网络信息4均对应1个PDU会话的标识信息。Wherein, each registration information includes identification information of a terminal device, network information, address information of an SMF, identification information of an SMF, and identification information of one or more PDU sessions. The same network information corresponds to the identification information of one or more PDU sessions. For example, the above network information 1 corresponds to the identification information of two PDU sessions, which are respectively the identification information of PDU session 1 and the identification information of PDU session 2. The above network information 2 , network information 3 and network information 4 all correspond to identification information of one PDU session.
由于在上述步骤303的查询请求消息中可能携带多个网络信息,并且同一个网络信息可能对应多个PDU会话的标识信息,因此该查询响应消息中可能携带多个SMF的地址信息以及每个SMF对应的PDU会话的标识信息。例如,上述查询请求消息中包括终端设备1的标识信息、网络信息1以及网络信息2,则查询响应消息中包括SMF1的地址信息、SMF1对应的PDU会话1的标识信息和PDU会话2的标识信息、SMF2的地址信息、SMF2对应的PDU会话3的标识信息。当然该查询响应消息中也可能携带一个SMF的地址信息以及该SMF对应的一个PDU会话的标识信息。Since the query request message in step 303 may carry multiple network information, and the same network information may correspond to identification information of multiple PDU sessions, the query response message may carry address information of multiple SMFs and each SMF Identification information of the corresponding PDU session. For example, the above query request message includes the identification information of terminal device 1, network information 1, and network information 2, and the query response message includes the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1, and the identification information of PDU session 2 , address information of SMF2, and identification information of PDU session 3 corresponding to SMF2. Of course, the query response message may also carry address information of an SMF and identification information of a PDU session corresponding to the SMF.
步骤305,NWDAF向SMF发送订阅请求消息,相应的,SMF接收该订阅请求消息。In step 305, the NWDAF sends a subscription request message to the SMF, and the SMF receives the subscription request message accordingly.
该订阅请求消息中携带事件标识和终端设备的标识信息,该订阅请求消息还包括AF对应的网络信息或者SMF对应的PDU会话的标识信息,该事件标识为地址分配事件,该订阅请求消息用于订阅为终端设备的PDU会话分配的地址信息,该地址信息可以是IPv4地址、IPv6前缀或以太地址等。The subscription request message carries the event identifier and the identifier information of the terminal device. The subscription request message also includes the network information corresponding to the AF or the identifier information of the PDU session corresponding to the SMF. The event identifier is an address assignment event, and the subscription request message is used for Subscribe to the address information allocated for the PDU session of the terminal device. The address information can be IPv4 address, IPv6 prefix or Ethernet address, etc.
如果NWDAF在上述步骤304中收到多个SMF的地址信息,则NWDAF分别向各个SMF发送一个订阅请求消息。比如,NWDAF在上述步骤304中收到SMF1的地址信息、SMF1对应的PDU会话1的标识信息和PDU会话2的标识信息、SMF2的地址信息、SMF2对应的PDU会话3的标识信息,则NWDAF基于SMF1的地址信息向SMF1发送订阅请求消息,该订阅请求消息中携带事件标识和终端设备的标识信息,该订阅请求消息中携带还携带网络信息1或者携带PDU会话1的标识信息和PDU会话2的标识信息。NWDAF基于SMF2的地址信息向SMF2发送订阅请求消息,该订阅请求消息中携带事件标识和终端设备的标识信息,该订阅请求消息中携带还携带网络信息2或者携带PDU会话3的标 识信息。If the NWDAF receives address information of multiple SMFs in the above step 304, the NWDAF sends a subscription request message to each SMF respectively. For example, NWDAF receives the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1 and the identification information of PDU session 2, the address information of SMF2, and the identification information of PDU session 3 corresponding to SMF2 in the above step 304, then NWDAF based on The address information of SMF1 sends a subscription request message to SMF1. The subscription request message carries the event identifier and the identification information of the terminal device. The subscription request message also carries network information 1 or carries the identification information of PDU session 1 and the PDU session 2. Identification information. NWDAF sends a subscription request message to SMF2 based on the address information of SMF2. The subscription request message carries the event identifier and the identification information of the terminal device. The subscription request message also carries the network information 2 or the identification information of the PDU session 3.
一种实现方法,该订阅请求消息可以是Nsmf_EventExposure_Subscribe Request消息。An implementation method, the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
步骤306,SMF向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 306, the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nsmf_EventExposure_Subscribe Response消息。An implementation method, the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
该步骤306为可选步骤。This step 306 is an optional step.
步骤307,SMF向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 307, the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
一种实现方法,该通知消息可以是Nsmf_EventExposure_Notify消息。An implementation method, the notification message may be an Nsmf_EventExposure_Notify message.
如果NWDAF向多个SMF发送了订阅请求消息,则每个SMF分别向NWDAF发送通知消息,每个通知消息中携带终端设备的一个或多个PDU会话的地址信息,该地址信息可以是IPv4地址、IPv6前缀、以太地址等。其中,每个SMF是根据订阅请求消息中的PDU会话的标识信息,获取与该PDU会话的标识信息对应的PDU会话的地址信息,并将PDU会话的地址信息发送给NWDAF。或者,每个SMF根据订阅请求消息中的网络信息,获取与该网络信息对应的PDU会话的地址信息,并将PDU会话的地址信息发送给NWDAF。If NWDAF sends a subscription request message to multiple SMFs, each SMF sends a notification message to NWDAF respectively, and each notification message carries address information of one or more PDU sessions of the terminal device, and the address information can be IPv4 address, IPv6 prefixes, Ethernet addresses, etc. Wherein, each SMF obtains the address information of the PDU session corresponding to the identification information of the PDU session according to the identification information of the PDU session in the subscription request message, and sends the address information of the PDU session to the NWDAF. Or, each SMF obtains the address information of the PDU session corresponding to the network information according to the network information in the subscription request message, and sends the address information of the PDU session to the NWDAF.
因此NWDAF可能收到一个PDU会话的地址信息,也可能收到多个PDU会话的地址信息。Therefore, NWDAF may receive the address information of one PDU session, and may also receive the address information of multiple PDU sessions.
步骤308,NWDAF向AF发送数据订阅请求消息。相应的,AF接收该数据订阅请求消息。In step 308, the NWDAF sends a data subscription request message to the AF. Correspondingly, the AF receives the data subscription request message.
该数据订阅请求消息中携带应用的标识信息以及一个或多个PDU会话的地址信息。The data subscription request message carries application identification information and address information of one or more PDU sessions.
该数据订阅请求消息用于请求获取PDU会话访问该应用的数据。或者,数据订阅请求用于请求AF收集来自终端设备的与该应用相关的数据。或者,该数据订阅请求用于请求AF从终端设备的应用收集数据(Datacollection from UE application to AF),该收集的数据作为NWDAF的输入,以用于生成分析结果。The data subscription request message is used to request the PDU session to access the data of the application. Alternatively, the data subscription request is used to request the AF to collect data related to the application from the terminal device. Alternatively, the data subscription request is used to request the AF to collect data from the application of the terminal device (Datacollection from UE application to AF), and the collected data is used as an input of the NWDAF to generate an analysis result.
终端设备只会通过一个PDU会话访问AF上的应用的业务,因此如果数据订阅请求消息中携带一个终端设备的多个PDU会话的地址信息,则该多个PDU中只有一个PDU会话用于访问AF上的某个应用,而其它PDU会话不会用于访问该AF上的该应用。也即,一个AF上的一个应用,只会被一个终端设备的一个PDU会话访问,不会被该终端设备的多个PDU会话同时访问。The terminal device will only access the service of the application on the AF through one PDU session, so if the data subscription request message carries the address information of multiple PDU sessions of a terminal device, only one PDU session in the multiple PDUs is used to access the AF An application on the AF, and other PDU sessions will not be used to access the application on the AF. That is, one application on one AF will only be accessed by one PDU session of one terminal device, and will not be accessed by multiple PDU sessions of the terminal device at the same time.
步骤309,AF向NWDAF发送数据订阅响应消息。相应的,NWDAF接收该数据订阅响应消息。In step 309, the AF sends a data subscription response message to the NWDAF. Correspondingly, the NWDAF receives the data subscription response message.
该数据订阅响应消息用于通知订阅成功。The data subscription response message is used to notify that the subscription is successful.
该步骤309为可选步骤。This step 309 is an optional step.
步骤310,AF向NWDAF发送通知消息。相应的,NWDAF接收该通知消息。In step 310, the AF sends a notification message to the NWDAF. Correspondingly, the NWDAF receives the notification message.
AF在收到数据订阅请求消息后,可以确定实际用于访问该应用的PDU会话的地址信息,比如实际用于访问该应用的PDU会话的地址信息是步骤308的数据订阅请求消息中携带的第一PDU会话的地址信息,以下将该PDU会话称为第一PDU会话。AF可以基于应用对应的子程序,执行第一PDU会话对应的业务流的数据收集和统计,得到终端设备通过第一PDU会话访问应用的数据,并将终端设备通过第一PDU会话访问应用的数据携带于该步骤310的通知消息中发送给NWDAF。其中,终端设备通过第一PDU会话访问应 用,可以理解为终端设备发送至AF的业务报文中携带的源地址是第一PDU会话的地址信息。After receiving the data subscription request message, the AF can determine the address information of the PDU session actually used to access the application. For example, the address information of the PDU session actually used to access the application is the first data subscription request message carried in step 308. Address information of a PDU session, which is hereinafter referred to as a first PDU session. Based on the subroutine corresponding to the application, AF can perform data collection and statistics of the service flow corresponding to the first PDU session, obtain the data of the terminal device accessing the application through the first PDU session, and store the data of the terminal device accessing the application through the first PDU session The notification message carried in step 310 is sent to NWDAF. Wherein, the terminal device accesses the application through the first PDU session, it can be understood that the source address carried in the service message sent by the terminal device to the AF is the address information of the first PDU session.
需要说明的是,应用的标识信息分为内部应用标识(internal applicaiton ID)和外部应用标识(external applicaiton ID)。其中,上述各步骤中,核心网网元之间的交互所使用的应用的标识信息可以看做是内部应用标识,核心网网元与AF交互所使用的应用的标识信息可以看做是外部应用标识。It should be noted that the identification information of the application is divided into an internal application identification (internal applicaiton ID) and an external application identification (external applicaiton ID). Wherein, in the above steps, the identification information of the application used for the interaction between the network elements of the core network can be regarded as an internal application identification, and the identification information of the application used for the interaction between the network elements of the core network and AF can be regarded as an external application logo.
下面结合一个具体示例进行说明。The following will describe with a specific example.
比如,AF1上有应用1,应用2和应用3。任意终端设备访问该AF1上的任意应用可能使用的网络信息包括网络信息1、网络信息2和网络信息3。每个网络信息包括一个DNN和/或一个切片标识信息。For example, there are App1, App2 and App3 on AF1. The network information that may be used by any terminal device to access any application on the AF1 includes network information 1 , network information 2 and network information 3 . Each network information includes a DNN and/or a slice identification information.
NWDAF如果需要收集终端设备1访问AF1上的应用1时的数据,则NWDAF向UDM发送终端设备1的标识信息以及网络信息1、网络信息2和网络信息3,其中UDM上保存以下SMF数据:If NWDAF needs to collect the data when terminal device 1 accesses application 1 on AF1, NWDAF will send the identification information of terminal device 1, network information 1, network information 2 and network information 3 to UDM, where UDM stores the following SMF data:
SMF1的注册信息1:终端设备1的标识信息、网络信息1、SMF1的地址信息、SMF1的标识信息、PDU会话1的标识信息以及PDU会话2的标识信息; Registration information 1 of SMF1: identification information of terminal device 1, network information 1, address information of SMF1, identification information of SMF1, identification information of PDU session 1, and identification information of PDU session 2;
SMF2的注册信息2:终端设备1的标识信息、网络信息2、SMF2的地址信息、SMF2的标识信息以及PDU会话3的标识信息;Registration information 2 of SMF2: identification information of terminal device 1, network information 2, address information of SMF2, identification information of SMF2 and identification information of PDU session 3;
SMF3的注册信息3:终端设备2的标识信息、网络信息3、SMF3的地址信息、SMF3的标识信息以及PDU会话4的标识信息;Registration information 3 of SMF3: identification information of terminal device 2, network information 3, address information of SMF3, identification information of SMF3 and identification information of PDU session 4;
SMF4的注册信息4:终端设备3的标识信息、网络信息4、SMF4的地址信息、SMF4的标识信息以及PDU会话5的标识信息。Registration information 4 of SMF4: identification information of terminal device 3, network information 4, address information of SMF4, identification information of SMF4 and identification information of PDU session 5.
因此,UDM向NWDAF返回的结果是:SMF1的地址信息、SMF1对应的PDU会话1的标识信息和PDU会话2的标识信息、SMF2的标识信息以及SMF2对应的PDU会话3的标识信息。Therefore, the result returned by UDM to NWDAF is: the address information of SMF1, the identification information of PDU session 1 and PDU session 2 corresponding to SMF1, the identification information of SMF2, and the identification information of PDU session 3 corresponding to SMF2.
接着,NWDAF向SMF1发送事件标识和终端设备1的标识信息,以及还发送网络信息1或者发送PDU会话1的标识信息和PDU会话2的标识信息,并从SMF1收到PDU会话1的地址信息和PDU会话2的地址信息,以及NWDAF向SMF2发送事件标识和终端设备1的标识信息,以及还发送网络信息1或发送PDU会话3的标识信息,并从SMF2收到PDU会话3的地址信息。Next, NWDAF sends the event identifier and the identifier information of terminal device 1 to SMF1, and also sends network information 1 or sends the identifier information of PDU session 1 and the identifier information of PDU session 2, and receives the address information and address information of PDU session 1 from SMF1. The address information of PDU session 2, and NWDAF sends the event identifier and the identification information of terminal device 1 to SMF2, and also sends network information 1 or the identification information of PDU session 3, and receives the address information of PDU session 3 from SMF2.
接着,NWDFA向AF1发送应用1的标识信息、PDU会话1的地址信息、PDU会话2的地址信息以及PDU会话3的地址信息,NWDAF希望从AF1获取到终端设备1访问应用1时的数据。Next, NWDFA sends the identification information of application 1, the address information of PDU session 1, the address information of PDU session 2 and the address information of PDU session 3 to AF1. NWDAF hopes to obtain the data when terminal device 1 accesses application 1 from AF1.
然后,AF1收集终端设备1使用PDU会话1访问应用1时的数据并返回给NWDAF,其中,PDU会话1是终端设备1访问AF1上的应用1时实际使用的PDU会话。Then, AF1 collects the data when terminal device 1 accesses application 1 using PDU session 1 and returns it to NWDAF, where PDU session 1 is the PDU session actually used when terminal device 1 accesses application 1 on AF1.
步骤311,NWDAF根据终端设备访问应用的数据,确定该终端设备访问该应用的业务体验信息和/或业务流特征信息。In step 311, the NWDAF determines the service experience information and/or service flow characteristic information of the terminal device accessing the application according to the data of the terminal device accessing the application.
该步骤311为可选步骤。This step 311 is an optional step.
其中,业务体验信息包括但不限于:服务等级协议(service level agreement,SLA)满足情况、时延、丢包率、用户满意度等中的一个或多个。The service experience information includes, but is not limited to: one or more of service level agreement (service level agreement, SLA) satisfaction, time delay, packet loss rate, user satisfaction, and the like.
业务流特征信息包括但不限于:报文包头特征、流统计特征(如周期、报文大小)等 中的一个或多个。Service flow feature information includes, but is not limited to: one or more of packet header features, flow statistical features (such as period, packet size), etc.
根据上述方案,NWDAF可以从AF收集到终端设备访问该AF中的某个应用的数据,并对收集到的数据进行分析,得到终端设备访问该应用的业务体验信息和/或业务流特征信息,可以实现对应用的使用体验进行精确分析。According to the above solution, NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved.
上述方案中,终端设备访问AF的应用,可能存在多个可以使用的网络信息,在某次访问中,终端设备会使用该多个网络信息的一个网络信息访问该AF的应用,比如基于终端设备所在的位置、签约数据等,从多个网络信息中选择一个网络信息用于访问AF的应用,因此终端设备实际访问AF的应用所使用的网络信息是不固定的。并且,当前协议允许终端设备在同一个网络信息下创建多个PDU会话,比如这些PDU会话对应不同的接入技术(如3GPP接入、非3GPP接入)或会话与业务连续性(session and service continuity,SSC)模式。In the above scheme, when the terminal device accesses the application of AF, there may be multiple network information that can be used. In a certain access, the terminal device will use one network information of the multiple network information to access the application of the AF, such as based on the terminal device Location, subscription data, etc., select one network information from multiple network information to access the AF application, so the network information used by the terminal device to actually access the AF application is not fixed. Moreover, the current protocol allows terminal devices to create multiple PDU sessions under the same network information, for example, these PDU sessions correspond to different access technologies (such as 3GPP access, non-3GPP access) or session and service continuity (session and service continuity, SSC) mode.
由于上述两方面的原因,将导致NWDAF实际获取到终端设备的多个PDU会话的地址信息,但实际上只有一个PDU会话的地址信息会被终端设备用于访问AF的应用。由于NWDAF并不知道哪个PDU会话的地址信息会被终端设备用于访问AF的应用,因此当NWDAF向AF请求获取PDU会话访问某个应用的数据,NWDAF会将获取到的该终端设备的所有PDU会话的地址信息都发送给AF,由AF判断终端设备访问AF的应用实际使用的PDU会话的地址信息。Due to the above two reasons, NWDAF will actually obtain the address information of multiple PDU sessions of the terminal device, but in fact only the address information of one PDU session will be used by the terminal device to access the AF application. Since NWDAF does not know which PDU session address information will be used by the terminal device to access the application of AF, when NWDAF requests AF to obtain the data of a PDU session to access an application, NWDAF will obtain all the PDUs of the terminal device The address information of the session is sent to the AF, and the AF judges the address information of the PDU session actually used by the application that the terminal device accesses the AF.
该方案存在的问题是:由于NWDAF将终端设备的可能访问该应用的所有PDU会话的地址信息都发送给AF,而其中只有一个PDU会话的地址信息被终端设备用于访问AF的应用,将导致存在安全风险,也即AF不应该感知的PDU会话的地址信息被错误的提供给了AF。The problem with this solution is: since NWDAF sends the address information of all PDU sessions that the terminal device may access the application to the AF, and only one of the PDU session address information is used by the terminal device to access the application of the AF, it will cause There is a security risk, that is, the address information of the PDU session that the AF should not perceive is incorrectly provided to the AF.
图4(a)为本申请实施例提供的一种数据收集方法的流程示意图。该方法包括以下步骤:Fig. 4(a) is a schematic flow chart of a data collection method provided by the embodiment of the present application. The method includes the following steps:
步骤401a,NWDAF确定收集终端设备访问应用的数据。In step 401a, the NWDAF determines to collect the data of the terminal device's access to the application.
该步骤同上述步骤301,可参考前述描述。This step is the same as the above-mentioned step 301, and reference may be made to the foregoing description.
该步骤401a为可选步骤。This step 401a is an optional step.
步骤402a,NWDAF确定终端设备访问应用使用的第一会话的地址信息。In step 402a, the NWDAF determines the address information of the first session used by the terminal device to access the application.
也即,NWDAF确定特定的终端设备访问特定的应用使用的第一会话的地址信息。比如,NWDAF确定第一终端设备访问第一应用使用的第一会话的地址信息。该会话可以是PDU会话,该地址信息可以是IPv4地址、IPv6前缀或以太地址等。That is, the NWDAF determines the address information of the first session used by the specific terminal device to access the specific application. For example, the NWDAF determines the address information of the first session used by the first terminal device to access the first application. The session may be a PDU session, and the address information may be an IPv4 address, an IPv6 prefix, or an Ethernet address.
其中,该第一会话指的是终端设备访问某个应用实际使用的那一个会话。Wherein, the first session refers to the session actually used by the terminal device to access a certain application.
步骤403a,NWDAF向提供该应用的AF发送第一请求消息(也可以称为请求消息1),该第一请求消息包括该应用的标识信息和该第一会话的地址信息。相应的,AF接收该第一请求消息。In step 403a, the NWDAF sends a first request message (also referred to as request message 1) to the AF providing the application, where the first request message includes the identification information of the application and the address information of the first session. Correspondingly, the AF receives the first request message.
该第一请求消息用于请求该终端设备通过该第一会话访问该应用的数据。比如,该AF接收到该终端设备访问该应用的数据,然后AF对该接收到的数据进行预处理,然后将处理后的数据发送给NWDAF。The first request message is used to request the terminal device to access data of the application through the first session. For example, the AF receives the data that the terminal device accesses the application, and then the AF preprocesses the received data, and then sends the processed data to the NWDAF.
或者,该第一请求消息用于请求AF收集来自该终端设备的与该应用相关的数据。Alternatively, the first request message is used to request the AF to collect data related to the application from the terminal device.
或者,该第一请求消息用于请求AF从终端设备的应用收集数据(Datacollection from UE application to AF)。Alternatively, the first request message is used to request the AF to collect data from the application of the terminal device (Datacollection from UE application to AF).
作为一种实现方法,第一请求消息可以是一个数据订阅请求消息。As an implementation method, the first request message may be a data subscription request message.
步骤404a,AF向NWDAF发送终端设备通过第一会话访问该应用的数据。相应的,NWDAF接收终端设备通过第一会话访问该应用的数据。In step 404a, the AF sends to the NWDAF the data that the terminal device accesses the application through the first session. Correspondingly, the NWDAF receives the data that the terminal device accesses the application through the first session.
NWDAF收到终端设备通过第一会话访问该应用的数据之后,可以根据终端设备通过第一会话访问该应用的数据,确定该终端设备通过第一会话访问该应用的业务体验信息和/或业务流特征信息。该业务体验信息、业务流特征信息的内容可以参考上述步骤311的描述。After receiving the data of the terminal device accessing the application through the first session, NWDAF can determine the service experience information and/or service flow of the terminal device accessing the application through the first session based on the data of the terminal device accessing the application through the first session characteristic information. For the content of the service experience information and service flow feature information, reference may be made to the description of step 311 above.
根据上述方案,NWDAF可以确定终端设备访问应用使用的那一个会话的地址信息,从而只需要向AF提供该一个会话的地址信息,而不会将终端设备的可能访问该应用的所有会话的地址信息都发送给AF,避免了将该终端设备的不应该被AF感知的会话的信息暴露给AF,降低了安全风险。According to the above scheme, NWDAF can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the one session to the AF, and will not share the address information of all sessions of the terminal device that may access the application All are sent to the AF, which avoids exposing the session information of the terminal device that should not be perceived by the AF to the AF, and reduces security risks.
作为一种实现方法,上述步骤402a中,NWDAF可以根据多种方法确定终端设备访问应用使用的第一会话的地址信息。下面结合附图,介绍三种确定终端设备访问应用使用的第一会话的地址信息的方法。As an implementation method, in the above step 402a, the NWDAF may determine the address information of the first session used by the terminal device to access the application according to various methods. Three methods for determining the address information of the first session used by the terminal device to access the application are introduced below with reference to the accompanying drawings.
参考图4(b),为本申请实施例提供的一种确定终端设备访问应用使用的第一会话的地址信息的方法示意流程图。该方法包括以下步骤:Referring to FIG. 4( b ), it is a schematic flowchart of a method for determining address information of a first session used by a terminal device to access an application provided by an embodiment of the present application. The method includes the following steps:
步骤401b,NWDAF获取应用对应的网络信息,该网络信息包括DNN和/或切片标识信息。In step 401b, the NWDAF acquires network information corresponding to the application, and the network information includes DNN and/or slice identification information.
一种实现方法,NWDAF可以从NRF获取提供该应用的AF对应的网络信息,将该AF对应的网络信息作为该应用对应的网络信息。其中,NWDAF可以从NRF获取AF对应的网络信息的实现方法可以参考步骤302的描述。In one implementation method, the NWDAF may acquire the network information corresponding to the AF providing the application from the NRF, and use the network information corresponding to the AF as the network information corresponding to the application. The implementation method for the NWDAF to obtain the network information corresponding to the AF from the NRF may refer to the description of step 302 .
另一种实现方法,NWDAF可以根据本地配置,确定AF对应的网络信息。In another implementation method, the NWDAF can determine the network information corresponding to the AF according to the local configuration.
另一种实现方法,NWDAF还可以从AM PCF获取应用对应的网络信息。比如,NWDAF向AM PCF发送第三请求消息(也称为请求消息3),该第三请求消息包括终端设备的标识信息和该应用的流描述符(TrafficDescriptor),该流描述符包括应用标识(APP ID)、三元组、完全限定域名(fully qualified domain name,FQDN)或统一资源定位符(uniform resource locator,URL)。然后AM PCF根据该终端设备的标识信息和该应用的流描述符,获取与该终端设备的标识信息和该应用的流描述符对应的网络信息。然后AM PCF向NWDAF发送该应用对应的网络信息。Another implementation method, NWDAF can also obtain the network information corresponding to the application from the AM PCF. For example, NWDAF sends a third request message (also referred to as request message 3) to AM PCF, the third request message includes the identification information of the terminal device and the flow descriptor (TrafficDescriptor) of the application, and the flow descriptor includes the application identifier ( APP ID), triplet, fully qualified domain name (fully qualified domain name, FQDN) or uniform resource locator (uniform resource locator, URL). Then the AM PCF obtains network information corresponding to the identification information of the terminal device and the flow descriptor of the application according to the identification information of the terminal device and the flow descriptor of the application. Then AM PCF sends the network information corresponding to the application to NWDAF.
步骤402b,NWDAF获取网络信息对应的通信设备和该网络信息对应的会话的标识信息。In step 402b, the NWDAF acquires the identification information of the communication device corresponding to the network information and the session corresponding to the network information.
一种实现方法中,该通信设备是SMF,NWDAF可以向UDM发送终端设备的标识信息和应用对应的网络信息,UDM根据该终端设备的标识信息和该网络信息,获取到与该终端设备的标识信息和该网络信息对应的SMF的地址信息,以及与该终端设备的标识信息和该网络信息对应的会话的标识信息。In one implementation method, the communication device is an SMF, and the NWDAF can send the identification information of the terminal device and the network information corresponding to the application to the UDM, and the UDM obtains the identification information corresponding to the terminal device according to the identification information of the terminal device and the network information The address information of the SMF corresponding to the information and the network information, and the identification information of the session corresponding to the identification information of the terminal device and the network information.
另一种实现方法中,该通信设备是SM PCF,NWDAF可以向BSF发送终端设备的标识信息和应用对应的网络信息,BSF根据该终端设备的标识信息和该网络信息,获取到与该终端设备的标识信息和该网络信息对应的SM PCF的地址信息,以及与该终端设备的标识信息和该网络信息对应的会话的标识信息。In another implementation method, the communication device is an SM PCF, and the NWDAF can send the identification information of the terminal device and the network information corresponding to the application to the BSF, and the BSF obtains the information related to the terminal device according to the identification information of the terminal device and the network information. The address information of the SM PCF corresponding to the identification information of the network information and the network information, and the identification information of the session corresponding to the identification information of the terminal equipment and the network information.
另一种实现方法中,该通信设备是SM PCF,SM PCF上可能没有存储会话的标识信息,因此NWDAF可以向BSF发送终端设备的标识信息,BSF根据该终端设备的标识信息, 获取到与该终端设备的标识信息对应的SM PCF的地址信息。In another implementation method, the communication device is the SM PCF, and the SM PCF may not store session identification information, so the NWDAF can send the identification information of the terminal device to the BSF, and the BSF obtains the information related to the terminal device according to the identification information of the terminal device. The address information of the SM PCF corresponding to the identification information of the terminal equipment.
其中,SMF的地址信息可以是该SMF的唯一标识、IP地址或FQDN等,本申请对此不做限定。SM PCF的地址信息可以是该SMF的唯一标识、IP地址或FQDN等,本申请对此不做限定。Wherein, the address information of the SMF may be the unique identifier, IP address or FQDN of the SMF, etc., which is not limited in this application. The address information of the SM PCF can be the unique identifier, IP address or FQDN of the SMF, etc., which is not limited in this application.
步骤403b,NWDAF向通信设备发送第二请求消息(也称为请求消息2)。相应的,通信设备接收该第二请求消息。In step 403b, the NWDAF sends a second request message (also referred to as request message 2) to the communication device. Correspondingly, the communication device receives the second request message.
该第二请求消息包括应用的标识信息和应用开始事件,并且该第二请求消息还包括网络信息或者网络信息对应的会话的标识信息,该应用开始事件用于该网络信息对应的会话中的应用的开始。The second request message includes application identification information and an application start event, and the second request message also includes network information or identification information of a session corresponding to the network information, and the application start event is used for the application in the session corresponding to the network information Start.
可选的,该第二请求消息中还包括该应用对应的会话参数信息,该会话参数信息包括以下信息中的一个或多个:SSC模式、接入类型(AccessType)或会话类型(SessionType)。Optionally, the second request message also includes session parameter information corresponding to the application, and the session parameter information includes one or more of the following information: SSC mode, access type (AccessType) or session type (SessionType).
其中,该应用对应的会话参数信息可以是NWDAF从AM PCF获取到的,比如在上述步骤401b的描述中,如果NWDAF向AM PCF发送了第三请求消息,一方面NWDAF从AM PCF接收到与该应用对应的网络信息,另一方面,NWDAF还可以从AM PCF接收到与该应用对应的会话参数信息。Wherein, the session parameter information corresponding to the application may be obtained by NWDAF from AM PCF. For example, in the description of step 401b above, if NWDAF sends a third request message to AM PCF, on the one hand NWDAF receives from AM PCF the same The network information corresponding to the application, on the other hand, the NWDAF can also receive the session parameter information corresponding to the application from the AM PCF.
其中,SSC模式包括SSC模式1、SSC模式2和SSC模式3。SSC模式1要求会话在生命周期内保持IP地址不变。SSC模式2不提供任何业务连续性,完全依赖于应用功能网元执行业务连续性保障。SSC模式3采用先建立新侧链路再释放老侧链路的方式,在一定程度上保障了会话连续性,但业务连续性同样对应用功能网元存在依赖。Wherein, the SSC modes include SSC mode 1, SSC mode 2 and SSC mode 3. SSC mode 1 requires the session to keep the IP address unchanged during its lifetime. SSC mode 2 does not provide any business continuity, and completely relies on the application function network element to perform business continuity guarantee. SSC mode 3 adopts the method of first establishing a new side link and then releasing the old side link, which ensures session continuity to a certain extent, but service continuity also depends on application function network elements.
接入类型包括3GPP接入和非3GPP(Non-3GPP)接入。The access type includes 3GPP access and non-3GPP (Non-3GPP) access.
会话类型包括IP类型,以太类型或非结构(Unstructured)类型。The session type includes IP type, Ethernet type or Unstructured type.
步骤404b,通信设备在第一会话上检测到应用的应用开始事件。In step 404b, the communication device detects an application start event of the application on the first session.
一种实现方法,当第二请求消息中包括网络信息,则通信设备先根据网络信息,从本地获取该网络信息对应的会话的标识信息,然后通信设备根据网络信息对应的会话的标识信息,对该网络信息对应的所有会话分别进行应用的应用事件检测,并且在其中的第一会话上述检测到应用的应用开始事件。当第二请求消息中包括网络信息对应的会话的标识信息,则通信设备根据网络信息对应的会话的标识信息,对该网络信息对应的所有会话分别进行应用的应用事件检测,并且在其中的第一会话上述检测到应用的应用开始事件。An implementation method, when the second request message includes network information, the communication device first obtains locally the identification information of the session corresponding to the network information according to the network information, and then according to the identification information of the session corresponding to the network information, the communication device All sessions corresponding to the network information respectively perform application event detection of the application, and an application start event of the application is detected in the first session among them. When the second request message includes the identification information of the session corresponding to the network information, the communication device detects the application event of the application for all the sessions corresponding to the network information according to the identification information of the session corresponding to the network information, and the first A session above detects the app's app start event.
另一种实现方法,上述第二请求消息中除了包括网络信息或网络信息对应的会话的标识信息之外,还包括与该应用对应的会话参数信息。其中,如果第二请求消息包括网络信息,则通信设备先根据网络信息,从本地获取与该网络信息对应的会话的标识信息,如果第二请求消息包括网络信息对应的会话的标识信息,则通信设备从第二请求消息中获取网络信息对应的会话的标识信息。然后,通信设备根据与该应用对应的会话参数信息,对网络信息对应的会话进行筛选,得到与该会话参数信息匹配的会话,然后对这些匹配的会话执行该应用的应用开始事件的检测,并且在其中的第一会话上述检测到应用的应用开始事件。示例性的,第二请求消息携带了5个会话的标识信息,分别是会话1的标识信息、会话2的标识信息、会话3的标识信息、会话4的标识信息以及会话5的标识信息,且第二请求消息还携带了应用对应的3个会话参数信息,分别是会话参数信息1、会话参数信息2和会话参数信息3。假设会话1对应的会话参数信息与会话参数信息1相同,会话2对应的会话参数信息与会话参数信息2相同,会话3对应的会话参数信息与会话参数信息1、 会话参数2和会话参数3均不同,则该会话1与会话参数信息1匹配,该会话2与会话参数信息2匹配,因此通信设备确定在会话1和会话2上执行该应用的应用事件检测,不在会话3上执行该应用的应用事件检测,如此,可以减少执行该应用的应用事件检测的会话的数量,可以降低通信设备的开销。In another implementation method, the above-mentioned second request message includes not only network information or identification information of a session corresponding to the network information, but also session parameter information corresponding to the application. Wherein, if the second request message includes network information, the communication device first obtains locally the identification information of the session corresponding to the network information according to the network information, and if the second request message includes the identification information of the session corresponding to the network information, then the communication device The device obtains the identification information of the session corresponding to the network information from the second request message. Then, according to the session parameter information corresponding to the application, the communication device screens the sessions corresponding to the network information to obtain the sessions matching the session parameter information, and then performs the detection of the application start event of the application on these matching sessions, and An application start event of the application in which the first session is detected above. Exemplarily, the second request message carries identification information of five sessions, which are identification information of session 1, identification information of session 2, identification information of session 3, identification information of session 4, and identification information of session 5, and The second request message also carries three pieces of session parameter information corresponding to the application, which are session parameter information 1, session parameter information 2, and session parameter information 3, respectively. Assume that the session parameter information corresponding to session 1 is the same as session parameter information 1, the session parameter information corresponding to session 2 is the same as session parameter information 2, and the session parameter information corresponding to session 3 is the same as session parameter information 1, session parameter 2, and session parameter 3. different, then the session 1 matches the session parameter information 1, and the session 2 matches the session parameter information 2, so the communication device determines that the application event detection of the application is executed on the session 1 and the session 2, and the application event detection of the application is not executed on the session 3. The application event detection, in this way, can reduce the number of sessions that perform the application event detection of the application, and can reduce the overhead of the communication device.
步骤405b,第一通信设备向NWDAF发送第一会话的地址信息。相应的,NWDAF接收该第一会话的地址信息。Step 405b, the first communication device sends the address information of the first session to the NWDAF. Correspondingly, the NWDAF receives the address information of the first session.
该第一会话的地址信息用于终端设备通过第一会话访问应用的数据的收集。或者,该第一会话的地址用于收集终端设备的该应用的数据。The address information of the first session is used for collecting data of the terminal device accessing the application through the first session. Alternatively, the address of the first session is used to collect data of the application of the terminal device.
这里的第一通信设备是网络信息对应的通信设备中的一个通信设备,也即检测到该应用的应用开始事件的那个通信设备。由于终端设备只会在一个会话上访问AF的应用,因此其他通信设备不会在其它会话上检测到该应用的应用开始事件,因此只有一个通信设备,如第一通信设备,能够检测到该应用的应用开始事件。The first communication device here is one of the communication devices corresponding to the network information, that is, the communication device that detects the application start event of the application. Since the terminal device will only access the AF application in one session, other communication devices will not detect the application start event of the application in other sessions, so only one communication device, such as the first communication device, can detect the application The app start event for .
通过上述方案,由通信设备(如SMF或SM PCF)对NWDAF提供的一个或多个会话执行应用开始事件的检测,当在某个会话,如第一会话上检测到应用的应用开始事件,则表示终端设备是在该第一会话上访问AF的应用,进而该第一通信设备向NWDAF提供该第一会话的地址信息。Through the above solution, the communication device (such as SMF or SM PCF) performs the detection of the application start event on one or more sessions provided by the NWDAF. When the application start event of the application is detected on a certain session, such as the first session, then It indicates that the terminal device is an application that accesses the AF in the first session, and then the first communication device provides the address information of the first session to the NWDAF.
参考图4(c),为本申请实施例提供的又一种确定终端设备访问应用使用的第一会话的地址信息的方法示意流程图。该方法包括以下步骤:Referring to FIG. 4( c ), it is a schematic flowchart of another method for determining address information of a first session used by a terminal device to access an application provided by an embodiment of the present application. The method includes the following steps:
步骤401c,NWDAF从AM PCF获取终端设备访问应用使用的路由选择描述符(routing selection descriptor,RSD),该RSD包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息。Step 401c, NWDAF acquires from AM PCF the routing selection descriptor (routing selection descriptor, RSD) used by the terminal device to access the application, the RSD includes network information and first session parameter information, the network information includes data network name and/or slice identifier information.
比如,NWDAF向AM PCF发送终端设备的标识信息和该应用的流描述符,该流描述符包括应用标识(APP ID)、三元组、FQDN或URL。然后AM PCF根据该终端设备的标识信息和该应用的流描述符,获取与该终端设备的标识信息和该应用的流描述符对应的一个或多个RSD,每个RSD中包括该流描述符、一个网络信息和一个会话参数信息,该会话参数信息包括以下信息中的一个或多个:SSC模式、接入类型或会话类型。然后AM PCF从与该终端设备的标识信息和该应用的流描述符对应的一个或多个RSD选择一个RSD并向NWDAF发送该选择的RSD。比如选择该一个或多个RSD中的优先级最高的RSD,或者是根据终端设备的允许接入的切片信息(即Allowed NSSAI),选择该Allowed NSSAI对应的RSD与上述一个或多个RSD的交集中的优先级最高的RSD。例如,与该终端设备的标识信息和该应用的流描述符对应的一个或多个RSD包括RSD1、RSD2、RSD3和RSD4,优先级从高到低依次为:RSD1、RSD2、RSD3、RSD4。其中,RSD1中的网络信息包括S-NSSAI1,RSD2中的网络信息包括S-NSSAI2,RSD3中的网络信息包括S-NSSAI3,RSD4中的网络信息包括S-NSSAI4,并且Allowed NSSAI包括S-NSSAI1、S-NSSAI2和S-NSSAI5,因此该Allowed NSSAI对应的RSD与上述一个或多个RSD的交集包括RSD1和RSD2,则从RSD1和RSD2中选择优先级最高的RSD1,该RSD1即为该终端设备访问该应用使用的RSD。For example, NWDAF sends the identification information of the terminal device and the flow descriptor of the application to AM PCF, and the flow descriptor includes application identification (APP ID), triplet, FQDN or URL. Then the AM PCF obtains one or more RSDs corresponding to the identification information of the terminal device and the flow descriptor of the application according to the identification information of the terminal device and the flow descriptor of the application, and each RSD includes the flow descriptor , a piece of network information and a piece of session parameter information, where the session parameter information includes one or more of the following information: SSC mode, access type or session type. Then the AM PCF selects one RSD from one or more RSDs corresponding to the identification information of the terminal device and the flow descriptor of the application and sends the selected RSD to the NWDAF. For example, select the RSD with the highest priority among the one or more RSDs, or select the intersection of the RSD corresponding to the Allowed NSSAI and the above-mentioned one or more RSDs according to the slice information (that is, the Allowed NSSAI) that is allowed to be accessed by the terminal device. Concentrate on the highest priority RSD. For example, the one or more RSDs corresponding to the identification information of the terminal device and the stream descriptor of the application include RSD1, RSD2, RSD3 and RSD4, and the priorities from high to low are: RSD1, RSD2, RSD3, RSD4. Among them, the network information in RSD1 includes S-NSSAI1, the network information in RSD2 includes S-NSSAI2, the network information in RSD3 includes S-NSSAI3, the network information in RSD4 includes S-NSSAI4, and Allowed NSSAI includes S-NSSAI1, S-NSSAI2 and S-NSSAI5, so the intersection of the RSD corresponding to the Allowed NSSAI and the above-mentioned one or more RSDs includes RSD1 and RSD2, then select the RSD1 with the highest priority from RSD1 and RSD2, and the RSD1 is the terminal device access The RSD used by the application.
步骤402c,NWDAF获取网络信息对应的通信设备和该网络信息对应的会话的标识信息。In step 402c, the NWDAF acquires the identification information of the communication device corresponding to the network information and the session corresponding to the network information.
同上述步骤402b,可参考前述描述。As with the above step 402b, reference may be made to the foregoing description.
步骤403c,NWDAF向通信设备发送第四请求消息(也称为请求消息4)。相应的,通信设备接收第四请求消息。In step 403c, the NWDAF sends a fourth request message (also referred to as request message 4) to the communication device. Correspondingly, the communication device receives the fourth request message.
这里的通信设备的数量可以是一个或多个,该通信设备可以是SMF或SM PCF。The quantity of the communication equipment here can be one or more, and this communication equipment can be SMF or SM PCF.
该第四请求消息包括第一会话参数信息,以及还包括网络信息或网络信息对应的会话的标识信息。The fourth request message includes the first session parameter information, and further includes network information or identification information of a session corresponding to the network information.
步骤404c,检测与第一会话参数信息匹配的会话。Step 404c, detecting a session matching the first session parameter information.
通信设备在收到第一会话参数信息,以及收到网络信息或网络信息对应的会话的标识信息之后,判断该网络信息对应的会话中,是否存在与第一会话参数信息匹配的会话。其中,如果在上述第四请求消息中携带了网络信息,则通信设备需要先根据网络信息,从本地获取该网络信息对应的会话。示例性的,某个通信设备收到第一会话参数信息、会话1的标识信息、会话2的标识信息以及会话3的标识信息,该通信设备如果确定该会话1对应的会话参数信息与该第一会话参数信息相同,则该会话1与该第一会话参数信息匹配,该通信设备获取该会话1的地址信息。示例性的,某个通信设备收到第一会话参数信息和网络信息,该通信设备先根据该网络信息,确定该网络信息对应的会话1的标识信息、会话2的标识信息以及会话3的标识信息,其中,该通信设备如果确定该会话1对应的会话参数信息与该第一会话参数信息相同,则该会话1与该第一会话参数信息匹配,该通信设备获取该会话1的地址信息。After receiving the first session parameter information and the network information or the identification information of the session corresponding to the network information, the communication device determines whether there is a session matching the first session parameter information among the sessions corresponding to the network information. Wherein, if the network information is carried in the fourth request message, the communication device first needs to acquire a session corresponding to the network information locally according to the network information. Exemplarily, a certain communication device receives the first session parameter information, the identification information of session 1, the identification information of session 2, and the identification information of session 3, if the communication device determines that the session parameter information corresponding to session 1 is the same as the first If the session parameter information is the same, the session 1 matches the first session parameter information, and the communication device acquires the address information of the session 1. Exemplarily, a certain communication device receives the first session parameter information and network information, the communication device first determines the identification information of session 1, the identification information of session 2 and the identification of session 3 corresponding to the network information according to the network information information, wherein, if the communication device determines that the session parameter information corresponding to the session 1 is the same as the first session parameter information, the session 1 matches the first session parameter information, and the communication device acquires the address information of the session 1.
其中,与第一会话参数信息匹配的会话称为第一会话,也即第一会话是网络信息对应的会话中的与第一会话参数信息对应的会话。Wherein, the session matching the first session parameter information is referred to as the first session, that is, the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information.
其中,检测到与第一会话参数信息匹配的会话的通信设备称为第一通信设备。由于终端设备只会在一个会话上访问AF的应用,因此其他通信设备不会检测到与第一会话参数信息匹配的会话,因此只有一个通信设备,即第一通信设备,能够检测到与第一会话参数信息匹配的会话。Wherein, the communication device that detects the session matching the first session parameter information is referred to as the first communication device. Since the terminal device will only access the AF application in one session, other communication devices will not detect a session that matches the first session parameter information, so only one communication device, that is, the first communication device, can detect a session that matches the first session parameter information. The session for which the session parameter information matches.
步骤405c,第一通信设备向NWDAF发送第一会话的地址信息。相应的,NWDAF接收该第一会话的地址信息。Step 405c, the first communication device sends the address information of the first session to the NWDAF. Correspondingly, the NWDAF receives the address information of the first session.
第一会话的地址信息用于终端设备通过第一会话访问应用的数据的收集。The address information of the first session is used for collecting data of the terminal device accessing the application through the first session.
该第一通信设备是网络信息对应的通信设备中的一个通信设备。The first communication device is one of the communication devices corresponding to the network information.
通过上述方案,由通信设备(如SMF或SM PCF)判断NWDAF提供的一个或多个会话是否与NWDAF提供的第一会话参数信息匹配,如果第一会话与第一会话参数信息匹配,表示终端设备是在该第一会话上访问AF的应用,进而该第一通信设备向NWDAF提供该第一会话的地址信息。Through the above scheme, the communication device (such as SMF or SM PCF) judges whether one or more sessions provided by NWDAF match the first session parameter information provided by NWDAF. If the first session matches the first session parameter information, it means that the terminal device It is an application that accesses the AF on the first session, and then the first communication device provides the address information of the first session to the NWDAF.
参考图4(d),为本申请实施例提供的又一种确定终端设备访问应用使用的第一会话的地址信息的方法示意流程图。该方法包括以下步骤:Referring to FIG. 4( d ), it is a schematic flowchart of another method for determining the address information of the first session used by the terminal device to access the application provided by the embodiment of the present application. The method includes the following steps:
步骤401d至步骤402d,同上述步骤401c至步骤402c,可参考前述描述。Step 401d to step 402d are the same as the above step 401c to step 402c, and reference may be made to the foregoing description.
步骤403d,NWDAF向通信设备发送第五请求消息(也称为请求消息5)。相应的,通信设备接收第五请求消息。In step 403d, the NWDAF sends a fifth request message (also referred to as request message 5) to the communication device. Correspondingly, the communication device receives the fifth request message.
这里的通信设备的数量可以是一个或多个,该通信设备可以是SMF或SM PCF。The quantity of the communication equipment here can be one or more, and this communication equipment can be SMF or SM PCF.
该第五请求消息包括网络信息或者网络信息对应的会话的标识信息。The fifth request message includes network information or identification information of a session corresponding to the network information.
步骤404d,通信设备向NWDAF发送与网络信息对应的会话的地址信息和会话的会话参数信息。相应的,NWDAF接收与网络信息对应的会话的地址信息和会话的会话参数信 息。In step 404d, the communication device sends the address information of the session corresponding to the network information and the session parameter information of the session to the NWDAF. Correspondingly, NWDAF receives the address information of the session corresponding to the network information and the session parameter information of the session.
也即,通信设备向NWDAF发送与网络信息对应的会话的地址信息,以及发送与网络信息对应的会话的会话参数信息。That is, the communication device sends the address information of the session corresponding to the network information to the NWDAF, and sends the session parameter information of the session corresponding to the network information.
其中,如果上述第五请求消息携带了网络信息,则通信设备需要根据该网络信息,从本地获取与该网络信息对应的会话的标识信息。Wherein, if the above fifth request message carries network information, the communication device needs to obtain locally the identification information of the session corresponding to the network information according to the network information.
步骤405d,NWDAF根据网络信息对应的会话的会话参数信息和第一会话参数信息,从网络信息对应的会话的地址信息中确定第一会话的地址信息,该第一会话的会话参数信息是第一会话参数信息。Step 405d, NWDAF determines the address information of the first session from the address information of the session corresponding to the network information according to the session parameter information of the session corresponding to the network information and the first session parameter information, and the session parameter information of the first session is the first Session parameter information.
上述步骤403d中,NWDAF向SMF1发送了会话1的标识信息和会话2的标识信息,以及向SMF2发送了会话3的标识信息,然后NWDAF从SMF1收到会话1的地址信息、会话1的会话参数信息1、会话2的地址信息以及会话2的会话参数信息2,从SMF2收到会话3的地址信息以及会话3的会话参数信息3。In the above step 403d, NWDAF sent the identification information of session 1 and session 2 to SMF1, and sent the identification information of session 3 to SMF2, and then NWDAF received the address information of session 1 and the session parameters of session 1 from SMF1 Information 1, address information of session 2 and session parameter information 2 of session 2, address information of session 3 and session parameter information 3 of session 3 are received from SMF2.
如果NWDAF确定会话参数信息3与步骤401d中收到的第一会话参数信息相同,则确定终端设备使用该会话3访问该应用,也即该会话3即为第一会话。从而NWDAF获取该第一会话的地址信息。If the NWDAF determines that the session parameter information 3 is the same as the first session parameter information received in step 401d, it determines that the terminal device uses the session 3 to access the application, that is, the session 3 is the first session. Thus, the NWDAF acquires the address information of the first session.
通过上述方案,由NWDAF判断网络信息对应的会话中是否存在与第一会话参数信息匹配的会话,如果第一会话与第一会话参数信息匹配,表示终端设备是在该第一会话上访问AF的应用,进而NWDAF可以获取到该第一会话的地址信息。Through the above scheme, NWDAF judges whether there is a session matching the first session parameter information in the session corresponding to the network information. If the first session matches the first session parameter information, it means that the terminal device accesses AF on the first session application, and then the NWDAF can acquire the address information of the first session.
图4(e)为本申请实施例提供的一种数据收集方法的流程示意图。该方法包括以下步骤:Fig. 4(e) is a schematic flow chart of a data collection method provided in the embodiment of the present application. The method includes the following steps:
步骤401e,NWDAF确定收集终端设备访问应用的数据。In step 401e, the NWDAF determines to collect the data of the terminal device's access to the application.
该步骤同上述步骤301,可参考前述描述。This step is the same as the above-mentioned step 301, and reference may be made to the foregoing description.
该步骤401e为可选步骤。This step 401e is an optional step.
步骤402e,NWDAF向AF发送数据订阅请求消息。相应的,AF接收该数据订阅请求消息。In step 402e, the NWDAF sends a data subscription request message to the AF. Correspondingly, the AF receives the data subscription request message.
该数据订阅请求消息包括终端设备的标识信息和外部应用标识,该终端设备的标识信息比如可以是通用公开签约标识(generic public subscription identity,GPSI)。The data subscription request message includes identification information of the terminal device and an external application identification, and the identification information of the terminal device may be, for example, a generic public subscription identity (GPSI).
该数据订阅请求消息用于请求该终端设备访问该应用的数据。The data subscription request message is used to request the terminal device to access the data of the application.
步骤403e,AF向NEF发送第一请求消息(也称为请求消息1)。相应的,NEF接收该第一请求消息。In step 403e, the AF sends a first request message (also referred to as request message 1) to the NEF. Correspondingly, the NEF receives the first request message.
该第一请求消息包括该终端设备的标识信息和外部应用标识,该第一请求消息用于查询该终端设备访问该外部应用标识对应的应用使用的会话的地址信息。The first request message includes identification information of the terminal device and an external application identification, and the first request message is used to query the address information of the session used by the terminal device to access the application corresponding to the external application identification.
作为一种实现方法,该第一请求消息可以是Nnef_UEid_Get_Request消息。As an implementation method, the first request message may be an Nnef_UEid_Get_Request message.
步骤404e,NEF获取该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息。In step 404e, the NEF acquires the address information of the first session used by the terminal device to access the application corresponding to the external application identifier.
其中,NEF获取该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息的实现方法,与上述NWDAF获取该终端设备访问该外部应用标识对应的应用使用的第一会话的地址信息的实现方法类似,具体可以参考前述图4(b)、图4(c)或图4(d)对应的实施例。Wherein, the implementation method of NEF obtaining the address information of the first session used by the terminal device to access the application corresponding to the external application identifier is the same as the above-mentioned NWDAF obtaining the address information of the first session used by the terminal device to access the application corresponding to the external application identifier The implementation method is similar, and for details, reference may be made to the embodiment corresponding to the foregoing FIG. 4(b), FIG. 4(c) or FIG. 4(d).
步骤405e,NEF向该AF发送该第一会话的地址信息。In step 405e, the NEF sends the address information of the first session to the AF.
作为一种可能的实现方法,NEF向该AF发送第一响应消息,该第一响应消息包括该 第一会话的地址信息。该第一响应消息可以是Nnef_UEid_Get_Response消息。As a possible implementation method, the NEF sends a first response message to the AF, where the first response message includes address information of the first session. The first response message may be a Nnef_UEid_Get_Response message.
步骤406e,AF根据第一会话的地址信息,收集该终端设备的与该外部应用标识对应的应用的数据。In step 406e, the AF collects application data corresponding to the external application identifier of the terminal device according to the address information of the first session.
其中,AF收集该终端设备的与该外部应用标识对应的应用的数据,比如可以是该AF向终端设备发送请求消息,以用于请求该终端设备的该应用的数据,再比如还可以是AF记录该终端设备通过第一会话访问该应用的过程中的数据。Wherein, the AF collects the data of the application corresponding to the external application identifier of the terminal device. For example, the AF may send a request message to the terminal device to request the data of the application of the terminal device. Another example may be that the AF Record the data in the process of the terminal device accessing the application through the first session.
步骤407e,AF向NWDAF发送终端设备通过第一会话访问该应用的数据。相应的,NWDAF接收终端设备通过第一会话访问该应用的数据。In step 407e, the AF sends to the NWDAF the data that the terminal device accesses the application through the first session. Correspondingly, the NWDAF receives the data that the terminal device accesses the application through the first session.
NWDAF收到终端设备通过第一会话访问该应用的数据之后,可以根据终端设备通过第一会话访问该应用的数据,确定该终端设备通过第一会话访问该应用的业务体验信息和/或业务流特征信息。该业务体验信息、业务流特征信息的内容可以参考上述步骤311的描述。After receiving the data of the terminal device accessing the application through the first session, NWDAF can determine the service experience information and/or service flow of the terminal device accessing the application through the first session based on the data of the terminal device accessing the application through the first session characteristic information. For the content of the service experience information and service flow feature information, reference may be made to the description of step 311 above.
根据上述方案,NEF可以确定终端设备访问应用使用的那一个会话的地址信息,从而只需要向AF提供该一个会话的地址信息,而不会将终端设备的可能访问该应用的所有会话的地址信息都发送给AF,避免了将该终端设备的不应该被AF感知的会话的信息暴露给AF,降低了安全风险。According to the above scheme, NEF can determine the address information of the session used by the terminal device to access the application, so that it only needs to provide the address information of the one session to the AF, and does not share the address information of all sessions of the terminal device that may access the application All are sent to the AF, which avoids exposing the session information of the terminal device that should not be perceived by the AF to the AF, and reduces security risks.
下面结合具体示例,对上述图4(a)对应的实施例进行说明。以下图5至图7对应的实施例中,以终端设备建立的会话是PDU会话为例进行说明。The embodiment corresponding to the above-mentioned Fig. 4(a) will be described below with reference to specific examples. In the following embodiments corresponding to FIG. 5 to FIG. 7 , the session established by the terminal device is a PDU session as an example for description.
图5为本申请实施例提供的一种数据收集方法的流程示意图。该方法包括以下步骤:FIG. 5 is a schematic flow chart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
步骤501,同上述步骤301。Step 501 is the same as step 301 above.
该步骤501为可选步骤。This step 501 is an optional step.
步骤502,NWDAF获取AF对应的网络信息。In step 502, the NWDAF acquires network information corresponding to the AF.
NWDF可以使用上述步骤302所描述的两种方法中的任一种,获取AF对应的网络信息。The NWDF may use any one of the two methods described in step 302 above to acquire the network information corresponding to the AF.
或者还可以使用以下第三种方法来获取AF对应的网络信息,具体的,可以参考以下步骤702至步骤704的描述,并且该第三种方法与以下步骤702至步骤704稍有不同的是:该第三种方法中,AM PCF在得到终端设备访问应用可能使用的多个RSD后,不需要结合允许接入的切片信息(即Allowed NSSAI)从该多个RSD中进一步确定终端设备访问应用实际使用的RSD。也即通过该第三种方法,NWDAF可以从AM PCF获取到多个RSD,每个RSD中包括DNN、S-NSSAI、接入类型、SSC模式和PDU会话类型。Or you can also use the following third method to obtain the network information corresponding to AF. Specifically, you can refer to the description of the following steps 702 to 704, and the third method is slightly different from the following steps 702 to 704: In the third method, after the AM PCF obtains multiple RSDs that may be used by the terminal device access application, it does not need to combine the allowed slice information (that is, Allowed NSSAI) to further determine the actual value of the terminal device access application from the multiple RSDs. RSDs used. That is to say, through the third method, NWDAF can obtain multiple RSDs from AM PCF, and each RSD includes DNN, S-NSSAI, access type, SSC mode and PDU session type.
步骤503,NWDAF向UDM发送订阅请求消息。相应地,UDM接收该订阅请求消息。In step 503, the NWDAF sends a subscription request message to the UDM. Correspondingly, the UDM receives the subscription request message.
该订阅请求消息中包括终端设备的标识信息和一个或多个网络信息,该订阅请求消息用于订阅该一个或多个网络信息对应的SMF。The subscription request message includes identification information of the terminal device and one or more pieces of network information, and the subscription request message is used to subscribe to the SMF corresponding to the one or more pieces of network information.
作为一种实现方法,该订阅请求消息中还包括订阅事件,该订阅事件为SMF数据中的UE上下文(UE context in SMF data)变更事件,当UDM收到该订阅事件,如果发现该一个或多个网络信息对应的SMF注册至该UDM,则将该SMF的地址信息发送给NWDAF。As an implementation method, the subscription request message also includes a subscription event, which is a UE context (UE context in SMF data) change event in SMF data. When UDM receives the subscription event, if it finds that one or more If the SMF corresponding to the network information is registered to the UDM, the address information of the SMF is sent to NWDAF.
一种实现方法,该订阅请求消息可以是Nudm_SDM_Subscribe Request消息。An implementation method, the subscription request message may be a Nudm_SDM_Subscribe Request message.
步骤504,UDM向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 504, the UDM sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nudm_SDM_Subscribe Response消息。An implementation method, the subscription response message may be a Nudm_SDM_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
步骤505,UDM向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 505, the UDM sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
一种实现方法,该通知消息可以是Nudm_SDM_Notify消息。An implementation method, the notification message may be a Nudm_SDM_Notify message.
该通知消息中包括携带一个或多个SMF的地址信息以及每个SMF对应的PDU会话的标识信息。The notification message includes address information of one or more SMFs and identification information of a PDU session corresponding to each SMF.
其中,UDM获取SMF的地址信息以及每个SMF对应的PDU会话的标识信息的具体实现方法,可以参考上述步骤304中的描述。Wherein, the specific implementation method for the UDM to obtain the address information of the SMF and the identification information of the PDU session corresponding to each SMF can refer to the description in the above step 304 .
与上述步骤304不同的是,由于上述步骤503是订阅请求消息,因此该步骤505可能会执行多次,即每当有与该一个或多个网络信息对应的SMF新注册至该UDM时,UDM会向NWDAF发送一个通知消息,以将新注册的SMF的地址信息以及该SMF对应的PDU会话的标识信息发送给NWDAF。Different from the above step 304, since the above step 503 is a subscription request message, this step 505 may be executed multiple times, that is, whenever there is a new registration of the SMF corresponding to the one or more network information to the UDM, the UDM A notification message will be sent to the NWDAF to send the address information of the newly registered SMF and the identification information of the PDU session corresponding to the SMF to the NWDAF.
步骤506,NWDAF向SMF发送订阅请求消息。相应地,SMF接收订阅请求消息。In step 506, the NWDAF sends a subscription request message to the SMF. Correspondingly, the SMF receives the subscription request message.
该订阅请求消息中携带事件标识终端设备的标识信息和条件信息,以及还携带网络信息或者SMF对应的PDU会话的标识信息,该事件标识为地址分配事件,该订阅请求消息用于订阅为终端设备的PDU会话分配的地址信息,该地址信息可以是IPv4地址、IPv6前缀或以太地址等。并且,该订阅请求消息中的条件信息用于指示SMF在该条件信息匹配时向NWDAF发送PDU会话的地址信息,换句话说,如果条件信息不匹配,则不发送PDU会话的地址信息。The subscription request message carries the identification information and condition information of the event identification terminal device, and also carries the network information or the identification information of the PDU session corresponding to the SMF. The event identification is an address assignment event, and the subscription request message is used to subscribe to the terminal device The address information allocated by the PDU session, the address information can be IPv4 address, IPv6 prefix or Ethernet address, etc. Moreover, the condition information in the subscription request message is used to instruct the SMF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, the address information of the PDU session will not be sent.
如果NWDAF在上述步骤505中收到多个SMF的地址信息,则NWDAF分别向各个SMF发送一个订阅请求消息。比如,NWDAF在上述步骤505中收到SMF1的地址信息、SMF1对应的PDU会话1的标识信息和PDU会话2的标识信息、SMF2的地址信息、SMF2对应的PDU会话3的标识信息,且该PDU会话1的标识信息和PDU会话2的标识信息均对应网络信息1,该PDU会话3的标识信息对应网络信息2,则NWDAF基于SMF1的地址信息向SMF1发送订阅请求消息,该订阅请求消息中携带事件标识、终端设备的标识信息和条件信息,以及还携带网络信息1或者携带PDU会话1的标识信息和PDU会话2的标识信息。NWDAF基于SMF2的地址信息向SMF2发送订阅请求消息,该订阅请求消息中携带事件标识、终端设备的标识信息和条件信息,以及还携带网络信息2或PDU会话3的标识信息。If the NWDAF receives address information of multiple SMFs in the above step 505, the NWDAF sends a subscription request message to each SMF respectively. For example, NWDAF receives the address information of SMF1, the identification information of PDU session 1 corresponding to SMF1 and the identification information of PDU session 2, the address information of SMF2, and the identification information of PDU session 3 corresponding to SMF2 in the above step 505, and the PDU Both the identification information of session 1 and the identification information of PDU session 2 correspond to network information 1, and the identification information of PDU session 3 corresponds to network information 2, then NWDAF sends a subscription request message to SMF1 based on the address information of SMF1, and the subscription request message carries The event identifier, the identifier information and the condition information of the terminal device, and also carry the network information 1 or carry the identifier information of the PDU session 1 and the identifier information of the PDU session 2. NWDAF sends a subscription request message to SMF2 based on the address information of SMF2. The subscription request message carries the event identifier, the identifier information and condition information of the terminal device, and also carries the identifier information of network information 2 or PDU session 3.
其中,上述条件信息包括应用的标识信息和应用开始事件(App_Start Event)。可选的,如果上述步骤502是通过上述描述的第三种方法获取到AF对应的网络信息,则该条件信息中还可以包括接入类型、SSC模式或PDU会话类型中的一个或多个。Wherein, the above condition information includes application identification information and an application start event (App_Start Event). Optionally, if the above step 502 obtains the network information corresponding to the AF through the third method described above, the condition information may also include one or more of the access type, SSC mode or PDU session type.
一种实现方法,该订阅请求消息可以是Nsmf_EventExposure_Subscribe Request消息。An implementation method, the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
步骤507,SMF向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 507, the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nsmf_EventExposure_Subscribe Response消息。An implementation method, the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
该步骤507为可选步骤。This step 507 is an optional step.
步骤508,SMF向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 508, the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
SMF在收到上述订阅请求消息后,根据订阅请求消息中的条件信息,对订阅请求消息中的PDU会话进行应用事件检测,或对订阅请求消息中的网络信息对应的PDU会话进行 应用事件检测。如果在某个PDU会话中检测到应用对应的应用开始事件,则确定终端设备实际使用该PDU会话访问AF中的应用。After receiving the above subscription request message, the SMF performs application event detection on the PDU session in the subscription request message according to the condition information in the subscription request message, or performs application event detection on the PDU session corresponding to the network information in the subscription request message. If an application start event corresponding to an application is detected in a certain PDU session, it is determined that the terminal device actually uses the PDU session to access the application in the AF.
结合上述步骤506中的示例,SMF1对PDU会话1和PDU会话2执行应用开始事件的检测,例如在PDU会话1中检测到应用对应的应用开始事件,则SMF1确定终端设备实际使用该PDU会话1访问AF中的应用。由于终端设备只会使用一个PDU会话访问应用,因此SMF1不会在PDU会话2中检测到应用对应的应用开始事件,同样的,SMF2也不会在PDU会话3中检测到应用对应的应用开始事件。In combination with the example in step 506 above, SMF1 performs application start event detection on PDU session 1 and PDU session 2, for example, if an application start event corresponding to an application is detected in PDU session 1, then SMF1 determines that the terminal device actually uses the PDU session 1 Visit the app in AF. Since the terminal device will only use one PDU session to access the application, SMF1 will not detect the application start event corresponding to the application in PDU session 2, and similarly, SMF2 will not detect the application start event corresponding to the application in PDU session 3 .
如果SMF检测到在某个PDU会话中检测到应用对应的应用开始事件,则SMF向NWDAF发送通知消息,该通知消息中携带该PDU会话的地址信息。以下将该PDU会话称为第一PDU会话,该第一PDU会话即为终端设备访问应用实际使用的PDU会话。If the SMF detects that an application start event corresponding to an application is detected in a certain PDU session, the SMF sends a notification message to the NWDAF, and the notification message carries the address information of the PDU session. Hereinafter, the PDU session is referred to as the first PDU session, and the first PDU session is the PDU session actually used by the terminal device to access the application.
一种实现方法,SMF对PDU会话执行应用开始事件的检测,具体可以是:SMF指示UPF对PDU会话执行应用开始事件的检测,然后UPF向SMF返回检测结果。In one implementation method, the SMF performs the detection of the application start event on the PDU session. Specifically, the SMF instructs the UPF to perform the detection of the application start event on the PDU session, and then the UPF returns the detection result to the SMF.
其中,如果条件信息中还包括接入类型、SSC模式或PDU会话类型中的一个或多个,则在对PDU会话进行应用事件检测之前,SMF先根据该接入类型、SSC模式或PDU会话类型中的一个或多个,对订阅请求消息中的多个PDU会话进行筛选,得到与条件信息中的接入类型、SSC模式或PDU会话类型中的一个或多个相匹配的PDU会话,然后再对这些匹配的PDU会话执行应用开始事件的检测。如此,可以减少执行应用开始事件检测的PDU会话的数量,有助于减少开销。其中,一个PDU会话与条件信息中的接入类型、SSC模式或PDU会话类型中的一个或多个相匹配,指的是该PDU会话的接入类型、SSC模式或PDU会话类型中的一个或多个,与该条件信息中的接入类型、SSC模式或PDU会话类型中的一个或多个,对应相同。比如条件信息中包括PDU会话的接入类型、SSC模式以及PDU会话类型,则如果一个PDU会话的接入类型、SSC模式以及PDU会话类型与条件信息中的PDU会话的接入类型、SSC模式以及PDU会话类型分别相同,则表示该PDU会话与条件信息中的接入类型、SSC模式以及PDU会话类型相匹配。再比如条件信息中包括PDU会话的接入类型以及PDU会话类型,则如果一个PDU会话的接入类型以及PDU会话类型与条件信息中的PDU会话的接入类型以及PDU会话类型分别相同,则表示该PDU会话与条件信息中的接入类型以及PDU会话类型相匹配。Wherein, if the condition information also includes one or more of the access type, SSC mode or PDU session type, before performing application event detection on the PDU session, the SMF first One or more of them, filter the multiple PDU sessions in the subscription request message, get the PDU session that matches one or more of the access type, SSC mode or PDU session type in the condition information, and then Detection of application start events is performed on these matching PDU sessions. In this way, the number of PDU sessions performing application start event detection can be reduced, helping to reduce overhead. Wherein, a PDU session matches one or more of the access type, SSC mode, or PDU session type in the condition information, and refers to one or more of the access type, SSC mode, or PDU session type of the PDU session. Multiple, corresponding to one or more of the access type, SSC mode, or PDU session type in the condition information. For example, the condition information includes the access type, SSC mode, and PDU session type of the PDU session. If the access type, SSC mode, and PDU session type of a PDU session and the access type, SSC mode, and If the PDU session types are the same, it means that the PDU session matches the access type, SSC mode and PDU session type in the condition information. For another example, the condition information includes the access type of the PDU session and the PDU session type. If the access type and the PDU session type of a PDU session are the same as the access type and the PDU session type in the condition information, it means The PDU session matches the access type and the PDU session type in the condition information.
一种实现方法,该通知消息可以是Nsmf_EventExposure_Notify消息。An implementation method, the notification message may be an Nsmf_EventExposure_Notify message.
步骤509,NWDAF向AF发送数据订阅请求消息。相应的,AF接收该数据订阅请求消息。In step 509, the NWDAF sends a data subscription request message to the AF. Correspondingly, the AF receives the data subscription request message.
该数据订阅请求消息中携带应用的标识信息以及第一PDU会话的地址信息,该第一PDU会话指的是终端设备访问应用实际使用的PDU会话的地址信息。该数据订阅请求消息用于请求获取第一PDU会话访问应用的数据。The data subscription request message carries the identification information of the application and the address information of the first PDU session, where the first PDU session refers to the address information of the PDU session actually used by the terminal device to access the application. The data subscription request message is used to request to obtain the data of the first PDU session access application.
步骤510,AF向NWDAF发送数据订阅响应消息。相应的,NWDAF接收该数据订阅响应消息。In step 510, the AF sends a data subscription response message to the NWDAF. Correspondingly, the NWDAF receives the data subscription response message.
该数据订阅响应消息用于通知订阅成功。The data subscription response message is used to notify that the subscription is successful.
该步骤510为可选步骤。This step 510 is an optional step.
步骤511,AF向NWDAF发送通知消息。相应的,NWDAF接收该通知消息。In step 511, the AF sends a notification message to the NWDAF. Correspondingly, the NWDAF receives the notification message.
AF在收到数据订阅请求消息后,可以基于应用对应的子程序,执行第一PDU会话对应的业务流的收集和统计,得到终端设备通过第一PDU会话访问应用的数据,并将终端 设备通过第一PDU会话访问应用的数据携带于通知消息中发送给NWDAF。其中,终端设备通过第一PDU会话访问应用,可以理解为终端设备发送至AF业务报文中携带的源地址是第一PDU会话的地址信息。After receiving the data subscription request message, the AF can collect and count the service flow corresponding to the first PDU session based on the subroutine corresponding to the application, obtain the data of the terminal device accessing the application through the first PDU session, and send the terminal device through the first PDU session. The data of the first PDU session access application is carried in the notification message and sent to the NWDAF. Where the terminal device accesses the application through the first PDU session, it can be understood that the source address carried in the message sent by the terminal device to the AF service is the address information of the first PDU session.
步骤512,同上述步骤311。Step 512 is the same as step 311 above.
该步骤512为可选步骤。This step 512 is an optional step.
根据上述方案,NWDAF可以从AF收集到终端设备访问该AF中的某个应用的数据,并对收集到的数据进行分析,得到终端设备访问该应用的业务体验信息和/或业务流特征信息,可以实现对应用的使用体验进行精确分析。并且,上述方案,NWDAF仅向AF提供一个PDU会话的地址信息,即终端设备访问AF的应用实际使用的PDU会话的地址信息,避免向AF暴露与该AF无关的PDU会话的地址信息,即并未被终端设备用来访问该AF的应用的PDU会话的地址信息,可以降低安全风险。而且由于减少了向AF发送的PDU会话的地址信息的数量,因此可以减少开销。According to the above solution, NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved. In addition, in the above solution, NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not The address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
图6为本申请实施例提供的一种数据收集方法的流程示意图。该方法包括以下步骤:FIG. 6 is a schematic flow chart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
步骤601至步骤602,同上述步骤501至步骤502。Step 601 to step 602 are the same as above step 501 to step 502.
该步骤601为可选步骤。This step 601 is an optional step.
步骤603,NWDAF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。In step 603, the NWDAF sends a subscription request message to the BSF. Correspondingly, the BSF receives the subscription request message.
该订阅请求消息中包括终端设备的标识信息和一个或多个网络信息,该订阅请求消息用于订阅该一个或多个网络信息对应的SM PCF的上线通知。The subscription request message includes identification information of the terminal device and one or more network information, and the subscription request message is used to subscribe to the online notification of the SM PCF corresponding to the one or more network information.
作为一种实现方法,该订阅请求消息中还包括订阅事件,该订阅事件为SM PCF上线事件,当BSF收到该订阅事件,如果发现该一个或多个网络信息对应的SM PCF注册至该BSF,则将该SM PCF的地址信息发送给NWDAF。其中,在PDU会话建立流程中,SM PCF注册至BSF的信息包括但不限于:终端设备的标识信息、网络信息、SM PCF的地址信息、SM PCF的标识信息,可选的,SM PCF注册至BSF的信息还包括一个或多个PDU会话的标识信息。As an implementation method, the subscription request message also includes a subscription event, the subscription event is an SM PCF online event, when the BSF receives the subscription event, if it is found that the SM PCF corresponding to the one or more network information is registered with the BSF , then send the address information of the SM PCF to NWDAF. Among them, in the PDU session establishment process, the information that SM PCF registers with BSF includes but not limited to: identification information of terminal equipment, network information, address information of SM PCF, identification information of SM PCF, optional, SM PCF registers to The BSF information also includes identification information of one or more PDU sessions.
一种实现方法,该订阅请求消息可以是Nbsf_NFManagement_Subscribe Request消息。An implementation method, the subscription request message may be a Nbsf_NFManagement_Subscribe Request message.
步骤604,BSF向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 604, the BSF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nbsf_NFManagement_Subscribe Response消息。An implementation method, the subscription response message may be a Nbsf_NFManagement_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
步骤605,BSF向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 605, the BSF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
一种实现方法,该通知消息可以是Nbsf_NFManagement_Notify消息。An implementation method, the notification message may be an Nbsf_NFManagement_Notify message.
该通知消息中包括携带一个或多个SM PCF的地址信息,以及携带每个SM PCF对应的PDU会话的标识信息和/或网络信息。The notification message includes address information carrying one or more SM PCFs, and carrying identification information and/or network information of a PDU session corresponding to each SM PCF.
并且,该步骤605可能会执行多次,比如每次有与该一个或多个网络信息对应的SM PCF新注册至该BSF时,BSF会向NWDAF发送一个通知消息,以将新注册的SM PCF的地址信息以及该SM PCF对应的PDU会话的标识信息和/或网络信息发送给NWDAF。And, this step 605 may be executed multiple times, for example, each time when an SM PCF corresponding to the one or more network information is newly registered to the BSF, the BSF will send a notification message to the NWDAF to send the newly registered SM PCF The address information of the SM PCF and the identification information and/or network information of the PDU session corresponding to the SM PCF are sent to the NWDAF.
步骤606,NWDAF向SM PCF发送订阅请求消息。相应地,SM PCF接收订阅请求消息。Step 606, NWDAF sends a subscription request message to SM PCF. Correspondingly, the SM PCF receives the SUBSCRIBE REQUEST message.
该订阅请求消息中携带事件标识、终端设备的标识信息和条件信息,以及携带PDU会话的标识信息或网络信息。该事件标识为地址分配事件,该订阅请求消息用于订阅为终 端设备的PDU会话分配的地址信息,该地址信息可以是IPv4地址、IPv6前缀或以太地址等。并且,该订阅请求消息中的条件信息用于指示SM PCF在该条件信息匹配时向NWDAF发送PDU会话的地址信息,换句话说,如果条件信息不匹配,则不发送PDU会话的地址信息。The subscription request message carries the event identifier, the identifier information and condition information of the terminal device, and carries the identifier information or network information of the PDU session. This event is identified as an address allocation event, and the subscription request message is used to subscribe to the address information allocated for the PDU session of the terminal device. The address information can be an IPv4 address, an IPv6 prefix, or an Ethernet address. And, the condition information in the subscription request message is used to instruct the SM PCF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, then the address information of the PDU session is not sent.
如果NWDAF在上述步骤605中收到多个SM PCF的地址信息,则NWDAF分别向各个SM PCF发送一个订阅请求消息。比如,NWDAF在上述步骤605中收到SM PCF1的地址信息、SM PCF2对应的PDU会话1的标识信息和PDU会话2的标识信息、SM PCF2的地址信息、SM PCF2对应的PDU会话3的标识信息,则NWDAF基于SM PCF1的地址信息向SM PCF1发送订阅请求消息,该订阅请求消息中携带事件标识、终端设备的标识信息以及条件信息,以及还携带网络信息1或者携带PDU会话1的标识信息和PDU会话2的标识信息。NWDAF基于SM PCF2的地址信息向SM PCF2发送订阅请求消息,该订阅请求消息中携带事件标识、终端设备的标识信息和条件信息,以及还携带网络信息2或PDU会话3的标识信息。If NWDAF receives address information of multiple SM PCFs in the above step 605, then NWDAF sends a subscription request message to each SM PCF respectively. For example, NWDAF receives the address information of SM PCF1, the identification information of PDU session 1 corresponding to SM PCF2 and the identification information of PDU session 2, the address information of SM PCF2, and the identification information of PDU session 3 corresponding to SM PCF2 in the above step 605 , then NWDAF sends a subscription request message to SM PCF1 based on the address information of SM PCF1. The subscription request message carries event identifiers, terminal device identification information and condition information, and also carries network information 1 or identification information of PDU session 1 and Identification information of PDU session 2. NWDAF sends a subscription request message to SM PCF2 based on the address information of SM PCF2. The subscription request message carries event identifiers, terminal device identification information and condition information, and also carries network information 2 or PDU session 3 identification information.
其中,上述条件信息包括应用的标识信息和应用开始事件(App_Start Event)。Wherein, the above condition information includes application identification information and an application start event (App_Start Event).
步骤607,SM PCF向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 607, the SM PCF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
该步骤607为可选步骤。This step 607 is an optional step.
步骤608,SM PCF向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 608, the SM PCF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
SM PCF在收到上述订阅请求消息后,根据订阅请求消息中的条件信息,对订阅请求消息中的PDU会话进行应用事件检测,或者对订阅请求消息中的网络信息对应的PDU会话进行应用事件检测。如果在某个PDU会话中检测到应用对应的应用开始事件,则确定终端设备实际使用该PDU会话访问AF中的应用。After receiving the above subscription request message, the SM PCF performs application event detection on the PDU session in the subscription request message according to the condition information in the subscription request message, or performs application event detection on the PDU session corresponding to the network information in the subscription request message . If an application start event corresponding to an application is detected in a certain PDU session, it is determined that the terminal device actually uses the PDU session to access the application in the AF.
比如,结合上述步骤606中的示例,SM PCF1对PDU会话1和PDU会话2执行应用开始事件的检测,例如在PDU会话1中检测到应用对应的应用开始事件,则SM PCF1确定终端设备实际使用该PDU会话1访问AF中的应用。由于终端设备只会使用一个PDU会话访问应用,因此SM PCF 1不会在PDU会话2中检测到应用对应的应用开始事件,同样的,SM PCF2也不会在PDU会话3中检测到应用对应的应用开始事件。For example, in combination with the example in the above step 606, SM PCF1 performs application start event detection on PDU session 1 and PDU session 2. This PDU session 1 accesses the application in AF. Since the terminal device will only use one PDU session to access the application, SM PCF 1 will not detect the application start event corresponding to the application in PDU session 2. Similarly, SM PCF2 will not detect the corresponding application start event in PDU session 3. Application start event.
如果SM PCF检测到在某个PDU会话中检测到应用对应的应用开始事件,则SM PCF向NWDAF发送通知消息,该通知消息中携带该PDU会话的地址信息。以下将该PDU会话称为第一PDU会话,该第一PDU会话即为终端设备访问应用实际使用的PDU会话。If the SM PCF detects that an application start event corresponding to an application is detected in a certain PDU session, the SM PCF sends a notification message to the NWDAF, and the notification message carries the address information of the PDU session. Hereinafter, the PDU session is referred to as the first PDU session, and the first PDU session is the PDU session actually used by the terminal device to access the application.
一种实现方法,SM PCF对PDU会话执行应用开始事件的检测,具体可以是:SM PCF指示SMF或UPF对PDU会话执行应用开始事件的检测,然后SMF或UPF向SM PCF返回检测结果。A kind of implementation method, SM PCF carries out the detection of application start event to PDU session, specifically can be: SM PCF instructs SMF or UPF to PDU session execution application start event detection, then SMF or UPF returns detection result to SM PCF.
步骤609至步骤612,同步骤509至步骤512。Step 609 to step 612 are the same as step 509 to step 512.
根据上述方案,NWDAF可以从AF收集到终端设备访问该AF中的某个应用的数据,并对收集到的数据进行分析,得到终端设备访问该应用的业务体验信息和/或业务流特征信息,可以实现对应用的使用体验进行精确分析。并且,上述方案,NWDAF仅向AF提供一个PDU会话的地址信息,即终端设备访问AF的应用实际使用的PDU会话的地址信息,避免向AF暴露与该AF无关的PDU会话的地址信息,即并未被终端设备用来访问该AF 的应用的PDU会话的地址信息,可以降低安全风险。而且由于减少了向AF发送的PDU会话的地址信息的数量,因此可以减少开销。According to the above solution, NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved. In addition, in the above solution, NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not The address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
该图6对应的实施例与上述图5对应的实施例的主要区别是:该图6对应的实施例中,NWDAF是从BSF获取到SM PCF的地址信息,以及从SM PCF获取到终端设备访问应用实际使用的PDU会话的地址信息,而上述图5对应的实施例中,NWDAF是从UDM获取到SMF的地址信息,以及从SMF获取到终端设备访问应用实际使用的PDU会话的地址信息。The main difference between the embodiment corresponding to Figure 6 and the embodiment corresponding to Figure 5 above is: in the embodiment corresponding to Figure 6, the NWDAF obtains the address information of the SM PCF from the BSF, and obtains the terminal device access information from the SM PCF. The address information of the PDU session actually used by the application, and in the above embodiment corresponding to Figure 5, NWDAF obtains the address information of the SMF from the UDM, and obtains the address information of the PDU session actually used by the terminal device to access the application from the SMF.
图7为本申请实施例提供的一种数据收集方法的流程示意图。该方法包括以下步骤:FIG. 7 is a schematic flowchart of a data collection method provided by an embodiment of the present application. The method includes the following steps:
步骤701,同上述步骤301。Step 701 is the same as step 301 above.
该步骤701为可选步骤。This step 701 is an optional step.
步骤702,NWDAF获取应用对应的流描述信息。In step 702, the NWDAF acquires flow description information corresponding to the application.
该流描述信息可以是应用标识(APP ID)、三元组、FQDN或URL。The stream description information can be an application identifier (APP ID), triplet, FQDN or URL.
作为一种实现方法,可以是由向NWDAF发送订阅请求的网元,如AF或PCF向NWDAF提供应用对应的流描述信息。As an implementation method, a network element that sends a subscription request to the NWDAF, such as an AF or a PCF, may provide the NWDAF with flow description information corresponding to the application.
步骤703,NWDAF向AM PCF发送请求消息。相应的,AM PCF接收该请求消息。Step 703, NWDAF sends a request message to AM PCF. Correspondingly, the AM PCF receives the request message.
该请求消息中包括终端设备的标识信息和流描述符。该流描述符是根据上述流描述信息确定的,比如该流描述符包括应用标识、三元组、FQDN或URL。The request message includes identification information and a flow descriptor of the terminal device. The stream descriptor is determined according to the above stream description information, for example, the stream descriptor includes an application identifier, triplet, FQDN or URL.
该请求消息用于请求该终端设备访问应用的RSD。The request message is used to request the terminal device to access the RSD of the application.
步骤704,AM PCF向NWDAF发送响应消息。相应的,NWDAF接收该响应消息。Step 704, AM PCF sends a response message to NWDAF. Correspondingly, the NWDAF receives the response message.
AM PCF收到上述请求消息后,根据终端设备的标识信息和流描述符,确定终端设备访问该流描述符对应的应用可能使用的一个或多个用户路由选择策略(UE routing selection policy,URSP),每个URSP中包括该流描述符和一个或多个RSD。其中,每个RSD包括DNN、S-NSSAI、接入类型、SSC模式和PDU会话类型。After receiving the above request message, the AM PCF determines one or more user routing selection policies (UE routing selection policy, URSP) that the terminal device may use to access the application corresponding to the flow descriptor according to the identification information of the terminal device and the flow descriptor , each URSP includes the stream descriptor and one or more RSDs. Wherein, each RSD includes DNN, S-NSSAI, access type, SSC mode and PDU session type.
比如,上述步骤703的请求消息中包含终端设备1的标识信息和流描述符1,AM PCF确定为终端设备1分配的包含该流描述符1的URSP,比如确定的URSP包括URSP1和URSP2,其中URSP1包括流描述符1和(RSD1,RSD2,RSD3),URSP2包括流描述符1和(RSD4,RSD5,RSD6,RSD7)。从而AM PCF根据终端设备1的标识信息和流描述符1,确定终端设备访问该流描述符对应的应用可能使用的RSD包括RSD1,RSD2,RSD3,RSD4,RSD5,RSD6和RSD7。For example, the request message in the above step 703 includes the identification information of the terminal device 1 and the flow descriptor 1, and the AM PCF determines the URSP that contains the flow descriptor 1 allocated to the terminal device 1, for example, the determined URSP includes URSP1 and URSP2, where URSP1 includes stream descriptor 1 and (RSD1, RSD2, RSD3), and URSP2 includes stream descriptor 1 and (RSD4, RSD5, RSD6, RSD7). Therefore, according to the identification information of the terminal device 1 and the flow descriptor 1, the AM PCF determines that the RSDs that the terminal device may use to access the application corresponding to the flow descriptor include RSD1, RSD2, RSD3, RSD4, RSD5, RSD6 and RSD7.
进一步的,AM PCF还结合终端设备的允许接入的切片信息(即Allowed NSSAI),从确定的RSD中筛选一个RSD,该RSD即为终端设备访问应用实际使用的RSD。比如,Allowed NSSAI包括S-NSSAI 2、S-NSSAI 3和S-NSSAI 4,其中,S-NSSAI 2、S-NSSAI 3和S-NSSAI 4分别属于RSD2、RSD3和RSD4,且RSD2、RSD3和RSD4的优先级依次降低,则AM PCF确定RSD2为终端设备访问应用实际使用的RSD。Further, the AM PCF also combines the allowed access slice information of the terminal device (that is, Allowed NSSAI), and selects one RSD from the determined RSDs, and this RSD is the RSD actually used by the terminal device to access the application. For example, Allowed NSSAI includes S-NSSAI 2, S-NSSAI 3 and S-NSSAI 4, where S-NSSAI 2, S-NSSAI 3 and S-NSSAI 4 belong to RSD2, RSD3 and RSD4 respectively, and RSD2, RSD3 and RSD4 The priority of the priority decreases in turn, and the AM PCF determines that RSD2 is the RSD actually used by the terminal device to access the application.
其中,AM PCF向NWDAF发送的响应消息中包括一个RSD,该RSD包括DNN、S-NSSAI、接入类型、SSC模式、PDU会话类型,该RSD即为终端设备访问应用实际使用的RSD,以下将终端设备访问应用实际使用的RSD称为第一RSD。Among them, the response message sent by AM PCF to NWDAF includes an RSD, which includes DNN, S-NSSAI, access type, SSC mode, and PDU session type. This RSD is the RSD actually used by the terminal device to access the application. The following will The RSD actually used by the terminal device to access the application is called the first RSD.
步骤705,NWDAF向UDM发送订阅请求消息。相应地,UDM接收该订阅请求消息。Step 705, NWDAF sends a subscription request message to UDM. Correspondingly, the UDM receives the subscription request message.
该订阅请求消息中包括终端设备的标识信息和一个网络信息,该订阅请求消息用于订阅该网络信息对应的SMF的上线通知,该网络信息来自第一RSD。The subscription request message includes identification information of the terminal device and a piece of network information, and the subscription request message is used to subscribe to the online notification of the SMF corresponding to the network information, and the network information comes from the first RSD.
作为一种实现方法,该订阅请求消息中还包括订阅事件,该订阅事件为SMF数据中的UE上下文(UE context in SMF data)变更事件,当UDM收到该订阅事件,如果发现该网络信息对应的SMF注册至该UDM,则将该SMF的地址信息发送给NWDAF。As an implementation method, the subscription request message also includes a subscription event, which is a UE context (UE context in SMF data) change event in SMF data. When UDM receives the subscription event, if it finds that the network information corresponds to The SMF registered to the UDM sends the address information of the SMF to the NWDAF.
一种实现方法,该订阅请求消息可以是Nudm_SDM_Subscribe Request消息。An implementation method, the subscription request message may be a Nudm_SDM_Subscribe Request message.
步骤706,UDM向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 706, the UDM sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nudm_SDM_Subscribe Response消息。An implementation method, the subscription response message may be a Nudm_SDM_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
步骤707,UDM向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 707, the UDM sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
一种实现方法,该通知消息可以是Nudm_SDM_Notify消息。An implementation method, the notification message may be a Nudm_SDM_Notify message.
该通知消息中包括携带一个SMF的地址信息。The notification message includes address information carrying an SMF.
步骤708,NWDAF向SMF发送订阅请求消息。相应地,SMF接收订阅请求消息。In step 708, the NWDAF sends a subscription request message to the SMF. Correspondingly, the SMF receives the subscription request message.
该订阅请求消息中携带事件标识和终端设备的标识信息,该事件标识为地址分配事件。该订阅请求消息用于订阅为终端设备的PDU会话分配的地址信息,该地址信息可以是IPv4地址、IPv6前缀或以太地址等。The subscription request message carries the event identifier and the identifier information of the terminal device, and the event identifier is an address assignment event. The subscription request message is used to subscribe to the address information allocated for the PDU session of the terminal device, and the address information may be an IPv4 address, an IPv6 prefix, or an Ethernet address.
可选的,该订阅请求消息中还包括条件信息,该条件信息用于指示SMF在该条件信息匹配时向NWDAF发送PDU会话的地址信息,换句话说,如果条件信息不匹配,则不发送PDU会话的地址信息。该条件信息包括接入类型、SSC模式或PDU会话类型中的一个或多个,该接入类型、SSC模式、PDU会话类型均来自第一RSD。Optionally, the subscription request message also includes condition information, which is used to instruct the SMF to send the address information of the PDU session to the NWDAF when the condition information matches, in other words, if the condition information does not match, the PDU is not sent Address information for the session. The condition information includes one or more of access type, SSC mode, or PDU session type, and the access type, SSC mode, and PDU session type are all from the first RSD.
一种实现方法,该订阅请求消息可以是Nsmf_EventExposure_Subscribe Request消息。An implementation method, the subscription request message may be an Nsmf_EventExposure_Subscribe Request message.
步骤709,SMF向NWDAF发送订阅响应消息,相应的,NWDAF接收该订阅响应消息。In step 709, the SMF sends a subscription response message to the NWDAF, and the NWDAF receives the subscription response message accordingly.
一种实现方法,该订阅响应消息可以是Nsmf_EventExposure_Subscribe Response消息。An implementation method, the subscription response message may be an Nsmf_EventExposure_Subscribe Response message.
该订阅响应消息用于通知订阅成功。The subscription response message is used to notify that the subscription is successful.
步骤710,SMF向NWDAF发送通知消息,相应的,NWDAF接收该通知消息。In step 710, the SMF sends a notification message to the NWDAF, and the NWDAF receives the notification message accordingly.
一种实现方法,如果上述步骤708的订阅请求消息中没有携带条件信息,则SMF在收到上述订阅请求消息后,根据事件标识和终端设备的标识信息,获取终端设备对应的PDU会话的地址信息,以及获取每个PDU会话对应的接入类型、SSC模式或PDU会话类型中的一个或多个,并在该通知消息中携带终端设备对应的PDU会话的地址信息,以及每个PDU会话对应的接入类型、SSC模式或PDU会话类型中的一个或多个。NWDAF收到通知消息后,可以根据从上述步骤704收到的第一RSD中的接入类型、SSC模式或PDU会话类型中的一个或多个,对该步骤710收到的每个PDU会话对应的接入类型、SSC模式或PDU会话类型中的一个或多个进行匹配。例如,该步骤710收到5个PDU会话的地址信息,以及每个PDU会话对应的接入类型、SSC模式或PDU会话类型中的一个或多个,其中NWDAF确定PDU会话1对应的接入类型、SSC模式或PDU会话类型中的一个或多个与第一RSD中的接入类型、SSC模式或PDU会话类型中的一个或多个分别匹配,则NWDAF确定该PDU会话1的地址信息即为终端设备访问应用实际使用的PDU会话的地址信息。以下将该匹配的PDU会话称为第一PDU会话。因此,基于该实现方法,该通知消息中携带终端设备对应的PDU会话的地址信息,以及每个PDU会话对应的接入类型、SSC模式或PDU会话类型中的一个或多个。An implementation method, if the subscription request message in the above step 708 does not carry condition information, the SMF obtains the address information of the PDU session corresponding to the terminal device according to the event identifier and the identification information of the terminal device after receiving the above subscription request message , and obtain one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session, and carry the address information of the PDU session corresponding to the terminal device in the notification message, and the address information corresponding to each PDU session One or more of access type, SSC mode, or PDU session type. After NWDAF receives the notification message, it can correspond to each PDU session received in step 710 according to one or more of the access type, SSC mode or PDU session type in the first RSD received from step 704 above. Match one or more of the access type, SSC mode, or PDU session type. For example, step 710 receives the address information of 5 PDU sessions, and one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session, wherein NWDAF determines the access type corresponding to PDU session 1 One or more of the SSC mode or PDU session type matches one or more of the access type, SSC mode or PDU session type in the first RSD respectively, then NWDAF determines that the address information of the PDU session 1 is The terminal device accesses the address information of the PDU session actually used by the application. Hereinafter, the matched PDU session is called the first PDU session. Therefore, based on this implementation method, the notification message carries the address information of the PDU session corresponding to the terminal device, and one or more of the access type, SSC mode, or PDU session type corresponding to each PDU session.
另一种实现方法,如果上述步骤708的订阅请求消息中携带条件信息,则SMF在收到上述订阅请求消息后,根据事件标识、终端设备的标识信息和条件信息,获取终端设备对应的PDU会话中与该条件信息相匹配的PDU会话的地址信息,以下将该PDU会话称为第一PDU会话。比如,终端设备对应5个PDU会话,其中PDU会话1对应的接入类型、SSC模式或PDU会话类型中的一个或多个,与条件信息中的接入类型、SSC模式或PDU会话类型中的一个或多个分别匹配,则SMF获取该PDU会话1的地址信息,该PDU会话1的地址信息即为终端设备访问应用实际使用的PDU会话的地址信息。因此,基于该实现方法,该通知消息中携带第一PDU会话的地址信息。Another implementation method, if the subscription request message in the above step 708 carries condition information, after receiving the above subscription request message, the SMF obtains the PDU session corresponding to the terminal device according to the event identifier, terminal device identification information and condition information The address information of the PDU session that matches the condition information, the PDU session is referred to as the first PDU session hereinafter. For example, the terminal device corresponds to 5 PDU sessions, and one or more of the access type, SSC mode or PDU session type corresponding to PDU session 1 is the same as the access type, SSC mode or PDU session type in the condition information. If one or more match respectively, the SMF obtains the address information of the PDU session 1, which is the address information of the PDU session actually used by the terminal device to access the application. Therefore, based on the implementation method, the notification message carries the address information of the first PDU session.
步骤711至步骤714,同步骤509至步骤512。Step 711 to step 714 are the same as step 509 to step 512.
该步骤714为可选步骤。This step 714 is an optional step.
可选的,如果AM PCF基于更新后的URSP和/或更新后的allowed NSSAI,确定终端设备当前访问AF的应用所使用的RSD发生变化,则AMF PCF可以向NWDAF发送更新的RSD,该更新的RSD是终端设备当前访问AF的应用所使用的RSD。然后触发重新执行上述步骤705至步骤714。Optionally, if the AM PCF determines, based on the updated URSP and/or the updated allowed NSSAI, that the RSD used by the terminal device's current access to the AF application has changed, the AMF PCF may send the updated RSD to the NWDAF, the updated RSD The RSD is the RSD used by the application that the terminal device currently accesses the AF. Then trigger re-execution of the above steps 705 to 714.
根据上述方案,NWDAF可以从AF收集到终端设备访问该AF中的某个应用的数据,并对收集到的数据进行分析,得到终端设备访问该应用的业务体验信息和/或业务流特征信息,可以实现对应用的使用体验进行精确分析。并且,上述方案,NWDAF仅向AF提供一个PDU会话的地址信息,即终端设备访问AF的应用实际使用的PDU会话的地址信息,避免向AF暴露与该AF无关的PDU会话的地址信息,即并未被终端设备用来访问该AF的应用的PDU会话的地址信息,可以降低安全风险。而且由于减少了向AF发送的PDU会话的地址信息的数量,因此可以减少开销。According to the above solution, NWDAF can collect data from the AF that the terminal device accesses an application in the AF, and analyze the collected data to obtain service experience information and/or service flow characteristic information of the terminal device accessing the application, Accurate analysis of application experience can be achieved. In addition, in the above solution, NWDAF only provides the address information of one PDU session to the AF, that is, the address information of the PDU session actually used by the terminal device accessing the AF application, and avoids exposing the address information of the PDU session that is not related to the AF to the AF, that is, does not The address information of the PDU session of the application that is not used by the terminal device to access the AF can reduce security risks. And since the amount of address information of the PDU session sent to the AF is reduced, overhead can be reduced.
可以理解的是,为了实现上述实施例中功能,数据分析网元和通信设备包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。It can be understood that, in order to realize the functions in the foregoing embodiments, the data analysis network element and the communication device include hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software with reference to the units and method steps of the examples described in the embodiments disclosed in the present application. Whether a certain function is executed by hardware or computer software drives the hardware depends on the specific application scenario and design constraints of the technical solution.
图8和图9为本申请的实施例提供的可能的通信装置的结构示意图。这些通信装置可以用于实现上述方法实施例中数据分析网元或通信设备的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该通信装置可以是数据分析网元或通信设备,也可以是应用于数据分析网元或通信设备的模块(如芯片)。FIG. 8 and FIG. 9 are schematic structural diagrams of possible communication devices provided by the embodiments of the present application. These communication devices can be used to implement the functions of the data analysis network element or the communication device in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments. In the embodiment of the present application, the communication device may be a data analysis network element or a communication device, or a module (such as a chip) applied to a data analysis network element or a communication device.
如图8所示,通信装置800包括处理单元810和收发单元820。通信装置800用于实现上述方法实施例中数据分析网元或通信设备的功能。As shown in FIG. 8 , a communication device 800 includes a processing unit 810 and a transceiver unit 820 . The communication device 800 is configured to implement the functions of the data analysis network element or the communication device in the foregoing method embodiments.
在第一个实施例中,该通信装置用于实现上述方法实施例中数据分析网元的功能,处理单元810,用于确定终端设备访问应用使用的第一会话的地址信息;收发单元820,用于向提供该应用的应用功能网元发送第一请求消息,该第一请求消息包括该应用的标识信息和该第一会话的地址信息;该第一会话的地址信息用于收集该终端设备的该应用的数据;以及,接收来自该应用功能网元的该应用的数据。In the first embodiment, the communication device is used to realize the function of the data analysis network element in the above method embodiment, the processing unit 810 is used to determine the address information of the first session used by the terminal device to access the application; the transceiver unit 820, It is used to send a first request message to the application function network element providing the application, where the first request message includes the identification information of the application and the address information of the first session; the address information of the first session is used to collect the terminal device data of the application; and receiving the data of the application from the application function network element.
作为一种可能的实现方法,该处理单元810,还用于确定收集该终端设备访问该应用的数据。As a possible implementation method, the processing unit 810 is further configured to determine to collect data on accessing the application by the terminal device.
作为一种可能的实现方法,该处理单元810,用于确定终端设备访问应用使用的第一 会话的地址信息,具体包括:用于获取该应用对应的网络信息,该网络信息包括数据网络名称和/或切片标识信息;用于通过该收发单元820向该网络信息对应的通信设备发送第二请求消息,该第二请求消息包括该应用的标识信息和应用开始事件,该第二请求消息还包括该网络信息或该网络信息对应的会话的标识信息;用于通过该收发单元820接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的被检测到该应用的应用开始事件的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining network information corresponding to the application, the network information including the data network name and /or slice identification information; used to send a second request message to the communication device corresponding to the network information through the transceiver unit 820, the second request message includes the application identification information and an application start event, and the second request message also includes The network information or the identification information of the session corresponding to the network information; used for receiving the address information of the first session from the first communication device through the transceiver unit 820, and the first session is a session in the session corresponding to the network information. A session in which an application start event of the application is detected, the first communication device is one of the communication devices corresponding to the network information.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息,该会话参数信息用于确定该网络信息对应的会话中的一个或多个会话,该一个或多个会话是待执行应用开始事件检测的会话。As a possible implementation method, the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, and the one or more sessions are applications to be executed Start a session for event detection.
作为一种可能的实现方法,该收发单元820,还用于向移动性管理策略控制网元发送第三请求消息,该第三请求消息包括该终端设备的标识信息和该应用的流描述符;以及接收来自该移动性管理策略控制网元的该会话参数信息,该会话参数信息与该流描述符信息和该终端设备的标识信息对应。As a possible implementation method, the transceiving unit 820 is further configured to send a third request message to the mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application; And receiving the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
作为一种可能的实现方法,该处理单元810,用于确定终端设备访问应用使用的第一会话的地址信息,具体包括:用于通过该收发单元820从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;用于通过该收发单元820向该网络信息对应的通信设备发送第四请求消息,该第四请求消息包括该第一会话参数信息,该第四请求还包括该网络信息或该网络信息对应的会话的标识信息;用于通过该收发单元820接收来自第一通信设备的该第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话,该第一通信设备是该网络信息对应的通信设备中的一个通信设备。As a possible implementation method, the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining the terminal device from the mobility management policy control network element through the transceiver unit 820 The routing descriptor used by the device to access the application, the routing descriptor includes network information and first session parameter information, and the network information includes data network name and/or slice identification information; used to send data to the network via the transceiver unit 820 The communication device corresponding to the information sends a fourth request message, the fourth request message includes the first session parameter information, and the fourth request also includes the network information or the identification information of the session corresponding to the network information; 820 Receive address information of the first session from the first communication device, where the first session is a session corresponding to the first session parameter information among the sessions corresponding to the network information, and the first communication device is the session corresponding to the network information One of the communication devices in the communication device.
作为一种可能的实现方法,该处理单元810,用于确定终端设备访问应用使用的第一会话的地址信息,具体包括:用于通过该收发单元820从移动性管理策略控制网元获取该终端设备访问该应用使用的路由选择描述符,该路由选择描述符包括网络信息和第一会话参数信息,该网络信息包括数据网络名称和/或切片标识信息;用于通过该收发单元820向该网络信息对应的通信设备发送第五请求消息,该第五请求消息包括该网络信息或该网络信息对应的会话的标识信息;用于通过该收发单元820接收来自该通信设备的与该网络信息对应的会话的地址信息,以及该网络信息对应的会话的会话参数信息;用于根据该网络信息对应的会话的会话参数信息和该第一会话参数信息,从该网络信息对应的会话的地址信息中确定该第一会话的地址信息,该第一会话的会话参数信息是该第一会话参数信息。As a possible implementation method, the processing unit 810 is configured to determine the address information of the first session used by the terminal device to access the application, specifically including: obtaining the terminal device from the mobility management policy control network element through the transceiver unit 820 The routing descriptor used by the device to access the application, the routing descriptor includes network information and first session parameter information, and the network information includes data network name and/or slice identification information; used to send data to the network via the transceiver unit 820 The communication device corresponding to the information sends a fifth request message, where the fifth request message includes the identification information of the network information or the session corresponding to the network information; and is used for receiving the communication corresponding to the network information from the communication device through the transceiver unit 820 The address information of the session, and the session parameter information of the session corresponding to the network information; used to determine from the address information of the session corresponding to the network information according to the session parameter information of the session corresponding to the network information and the first session parameter information The address information of the first session, and the session parameter information of the first session are the first session parameter information.
作为一种可能的实现方法,该处理单元810,还用于从数据管理网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理网元;或者,从绑定支持网元获取与该网络信息对应的该通信设备的地址信息和该会话的标识信息,该通信设备是会话管理策略控制网元。As a possible implementation method, the processing unit 810 is further configured to acquire address information of the communication device and identification information of the session corresponding to the network information from a data management network element, where the communication device is a session management network element; Or, acquire the address information of the communication device and the identification information of the session corresponding to the network information from the binding support network element, where the communication device is a session management policy control network element.
在第二个实施例中,该通信装置用于实现上述方法实施例中通信设备的功能,收发单元820,用于接收来自数据分析网元的第二请求消息,该第二请求消息包括应用的标识信息和应用开始事件,该第二请求消息还包括网络信息或网络信息对应的会话的标识信息;处理单元810,用于在该网络信息对应的会话中的第一会话上检测到该应用的应用开始事 件;该收发单元820,还用于向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于收集终端设备的该应用的数据。In the second embodiment, the communication device is used to implement the functions of the communication device in the above method embodiments, the transceiver unit 820 is used to receive the second request message from the data analysis network element, the second request message includes the application The identification information and the application start event, the second request message also includes identification information of the network information or the session corresponding to the network information; the processing unit 810 is configured to detect the application on the first session in the session corresponding to the network information Application start event; the transceiving unit 820 is further configured to send address information of the first session to the data analysis network element, where the address information of the first session is used to collect data of the application of the terminal device.
作为一种可能的实现方法,该第二请求消息还包括会话参数信息;该处理单元810,还用于确定该网络信息对应的会话中的与该会话参数信息对应的一个或多个会话;对该一个或多个会话执行应用开始事件的检测,该一个或多个会话包括该第一会话。As a possible implementation method, the second request message also includes session parameter information; the processing unit 810 is further configured to determine one or more sessions corresponding to the session parameter information in the session corresponding to the network information; The one or more sessions perform detection of an application start event, the one or more sessions including the first session.
在第三个实施例中,该通信装置用于实现上述方法实施例中通信设备的功能,收发单元820,用于接收来自数据分析网元的第四请求消息,该第四请求消息包括第一会话参数信息,该第四请求消息还包括网络信息或该网络信息对应的会话的标识信息;处理单元810,用于获取第一会话的地址信息,该第一会话是该网络信息对应的会话中的与该第一会话参数信息对应的会话;收发单元820,还用于向该数据分析网元发送该第一会话的地址信息,该第一会话的地址信息用于终端设备通过该第一会话访问应用的数据的收集。In the third embodiment, the communication device is used to implement the functions of the communication device in the above method embodiments, the transceiver unit 820 is used to receive the fourth request message from the data analysis network element, the fourth request message includes the first Session parameter information, the fourth request message also includes network information or the identification information of the session corresponding to the network information; the processing unit 810 is configured to obtain the address information of the first session, and the first session is in the session corresponding to the network information The session corresponding to the first session parameter information; the transceiver unit 820 is further configured to send the address information of the first session to the data analysis network element, and the address information of the first session is used by the terminal device to pass the first session Collection of data about access to the app.
有关上述处理单元810和收发单元820更详细的描述可以直接参考上述方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 810 and the transceiver unit 820 can be directly obtained by referring to related descriptions in the above method embodiments, and details are not repeated here.
如图9所示,通信装置900包括处理器910和接口电路920。处理器910和接口电路920之间相互耦合。可以理解的是,接口电路920可以为收发器或输入输出接口。可选的,通信装置900还可以包括存储器930,用于存储处理器910执行的指令或存储处理器910运行指令所需要的输入数据或存储处理器910运行指令后产生的数据。As shown in FIG. 9 , a communication device 900 includes a processor 910 and an interface circuit 920 . The processor 910 and the interface circuit 920 are coupled to each other. It can be understood that the interface circuit 920 may be a transceiver or an input-output interface. Optionally, the communication device 900 may further include a memory 930 for storing instructions executed by the processor 910 or storing input data required by the processor 910 to execute the instructions or storing data generated after the processor 910 executes the instructions.
当通信装置900用于实现上述方法实施例时,处理器910用于实现上述处理单元810的功能,接口电路920用于实现上述收发单元820的功能。When the communication device 900 is used to implement the above method embodiments, the processor 910 is used to implement the functions of the processing unit 810 , and the interface circuit 920 is used to implement the functions of the transceiver unit 820 .
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器、可擦除可编程只读存储器、电可擦除可编程只读存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于基站或终端中。当然,处理器和存储介质也可以作为分立组件存在于基站或终端中。The method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only Memory, registers, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC can be located in the base station or the terminal. Certainly, the processor and the storage medium may also exist in the base station or the terminal as discrete components.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、基站、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计 算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘;还可以是半导体介质,例如,固态硬盘。该计算机可读存储介质可以是易失性或非易失性存储介质,或可包括易失性和非易失性两种类型的存储介质。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a base station, user equipment or other programmable devices. The computer program or instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be downloaded from a website, computer, A server or data center transmits to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; and it may also be a semiconductor medium, such as a solid state disk. The computer readable storage medium may be a volatile or a nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the contextual objects are an "or" relationship; in the formulas of this application, the character "/" indicates that the contextual objects are a "division" Relationship.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.

Claims (38)

  1. 一种数据收集方法,其特征在于,包括:A data collection method, characterized in that, comprising:
    确定终端设备访问所述应用使用的第一会话的地址信息;determining the address information of the first session used by the terminal device to access the application;
    向提供所述应用的应用功能网元发送第一请求消息,所述第一请求消息包括所述应用的标识信息和所述第一会话的地址信息;所述第一会话的地址信息用于收集所述终端设备的所述应用的数据;Sending a first request message to the application function network element that provides the application, where the first request message includes the identification information of the application and the address information of the first session; the address information of the first session is used to collect data of the application of the terminal device;
    接收来自所述应用功能网元的所述应用的数据。Data of the application from the application function network element is received.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    确定收集所述终端设备访问所述应用的数据。Determine to collect the data of the terminal device accessing the application.
  3. 如权利要求1或2所述的方法,其特征在于,所述确定终端设备访问应用使用的第一会话的地址信息,包括:The method according to claim 1 or 2, wherein the determining the address information of the first session used by the terminal device to access the application comprises:
    获取所述应用对应的网络信息,所述网络信息包括数据网络名称和/或切片标识信息;Obtain network information corresponding to the application, where the network information includes data network name and/or slice identification information;
    向所述网络信息对应的通信设备发送第二请求消息,所述第二请求消息包括所述应用的标识信息和应用开始事件,所述第二请求消息还包括所述网络信息或所述网络信息对应的会话的标识信息;sending a second request message to the communication device corresponding to the network information, where the second request message includes the identification information of the application and an application start event, and the second request message also includes the network information or the network information Identification information of the corresponding session;
    接收来自第一通信设备的所述第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的被检测到所述应用的应用开始事件的会话,所述第一通信设备是所述网络信息对应的通信设备中的一个通信设备。receiving address information of the first session from the first communication device, where the first session is a session in which an application start event of the application is detected in the sessions corresponding to the network information, and the first communication device is one of the communication devices corresponding to the network information.
  4. 如权利要求3所述的方法,其特征在于,所述第二请求消息还包括会话参数信息,所述会话参数信息用于确定所述网络信息对应的会话中的一个或多个会话,所述一个或多个会话是待执行应用开始事件检测的会话。The method according to claim 3, wherein the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, the The one or more sessions are sessions for which application start event detection is to be performed.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, further comprising:
    向移动性管理策略控制网元发送第三请求消息,所述第三请求消息包括所述终端设备的标识信息和所述应用的流描述符;sending a third request message to a mobility management policy control network element, where the third request message includes the identification information of the terminal device and the flow descriptor of the application;
    接收来自所述移动性管理策略控制网元的所述会话参数信息,所述会话参数信息与所述流描述符信息和所述终端设备的标识信息对应。Receive the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  6. 如权利要求1或2所述的方法,其特征在于,所述确定终端设备访问应用使用的第一会话的地址信息,包括:The method according to claim 1 or 2, wherein the determining the address information of the first session used by the terminal device to access the application comprises:
    从移动性管理策略控制网元获取所述终端设备访问所述应用使用的路由选择描述符,所述路由选择描述符包括网络信息和第一会话参数信息,所述网络信息包括数据网络名称和/或切片标识信息;Acquire a routing descriptor used by the terminal device to access the application from a mobility management policy control network element, where the routing descriptor includes network information and first session parameter information, and the network information includes a data network name and/or or slice identification information;
    向所述网络信息对应的通信设备发送第四请求消息,所述第四请求消息包括所述第一会话参数信息,所述第四请求还包括所述网络信息或所述网络信息对应的会话的标识信息;sending a fourth request message to the communication device corresponding to the network information, where the fourth request message includes the first session parameter information, and the fourth request further includes the network information or the session information corresponding to the network information identification information;
    接收来自第一通信设备的所述第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的与所述第一会话参数信息对应的会话,所述第一通信设备是所述网络信息对应的通信设备中的一个通信设备。receiving address information of the first session from a first communication device, where the first session is a session corresponding to the first session parameter information among sessions corresponding to the network information, and the first communication device is One of the communication devices corresponding to the network information.
  7. 如权利要求1或2所述的方法,其特征在于,所述确定终端设备访问应用使用的第一会话的地址信息,包括:The method according to claim 1 or 2, wherein the determining the address information of the first session used by the terminal device to access the application comprises:
    从移动性管理策略控制网元获取所述终端设备访问所述应用使用的路由选择描述符,所述路由选择描述符包括网络信息和第一会话参数信息,所述网络信息包括数据网络名称和/或切片标识信息;Acquire a routing descriptor used by the terminal device to access the application from a mobility management policy control network element, where the routing descriptor includes network information and first session parameter information, and the network information includes a data network name and/or or slice identification information;
    向所述网络信息对应的通信设备发送第五请求消息,所述第五请求消息包括所述网络信息或所述网络信息对应的会话的标识信息;sending a fifth request message to the communication device corresponding to the network information, where the fifth request message includes the network information or identification information of a session corresponding to the network information;
    接收来自所述通信设备的与所述网络信息对应的会话的地址信息,以及所述网络信息对应的会话的会话参数信息;receiving address information of a session corresponding to the network information from the communication device, and session parameter information of the session corresponding to the network information;
    根据所述网络信息对应的会话的会话参数信息和所述第一会话参数信息,从所述网络信息对应的会话的地址信息中确定所述第一会话的地址信息,所述第一会话的会话参数信息是所述第一会话参数信息。According to the session parameter information of the session corresponding to the network information and the first session parameter information, determine the address information of the first session from the address information of the session corresponding to the network information, and the session of the first session The parameter information is the first session parameter information.
  8. 如权利要求4、5或7中任一项所述的方法,其特征在于,所述会话参数信息包括以下信息中的一个或多个:The method according to any one of claims 4, 5 or 7, wherein the session parameter information includes one or more of the following information:
    会话与业务连续性模式、接入类型或会话类型。Session and business continuity mode, access type or session type.
  9. 如权利要求3至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3 to 8, further comprising:
    从数据管理网元获取与所述网络信息对应的所述通信设备的地址信息和所述会话的标识信息,所述通信设备是会话管理网元;或者,Obtaining address information of the communication device and identification information of the session corresponding to the network information from a data management network element, where the communication device is a session management network element; or,
    从绑定支持网元获取与所述网络信息对应的所述通信设备的地址信息和所述会话的标识信息,所述通信设备是会话管理策略控制网元。Obtaining address information of the communication device and identification information of the session corresponding to the network information from a binding support network element, where the communication device is a session management policy control network element.
  10. 一种数据收集方法,其特征在于,包括:A data collection method, characterized in that, comprising:
    接收来自数据分析网元的第二请求消息,所述第二请求消息包括应用的标识信息和应用开始事件,所述第二请求消息还包括网络信息或所述网络信息对应的会话的标识信息;Receive a second request message from a data analysis network element, where the second request message includes application identification information and an application start event, and the second request message also includes network information or identification information of a session corresponding to the network information;
    在所述网络信息对应的会话中的第一会话上检测到所述应用的应用开始事件;detecting an application start event of the application on a first session among the sessions corresponding to the network information;
    向所述数据分析网元发送所述第一会话的地址信息,所述第一会话的地址信息用于收集终端设备的所述应用的数据。Sending the address information of the first session to the data analysis network element, where the address information of the first session is used to collect the data of the application of the terminal device.
  11. 如权利要求10所述的方法,其特征在于,所述第二请求消息还包括会话参数信息;The method according to claim 10, wherein the second request message further includes session parameter information;
    所述方法还包括:The method also includes:
    确定所述网络信息对应的会话中的与所述会话参数信息对应的一个或多个会话;对所述一个或多个会话执行应用开始事件的检测,所述一个或多个会话包括所述第一会话。Determining one or more sessions corresponding to the session parameter information among the sessions corresponding to the network information; performing detection of an application start event on the one or more sessions, the one or more sessions including the first a session.
  12. 如权利要求10或11所述的方法,其特征在于,所述会话参数信息包括以下信息中的一个或多个:The method according to claim 10 or 11, wherein the session parameter information includes one or more of the following information:
    会话与业务连续性模式、接入类型或会话类型。Session and business continuity mode, access type or session type.
  13. 一种数据收集方法,其特征在于,包括:A data collection method, characterized in that, comprising:
    接收来自数据分析网元的第四请求消息,所述第四请求消息包括第一会话参数信息,所述第四请求消息还包括网络信息或所述网络信息对应的会话的标识信息;Receive a fourth request message from a data analysis network element, where the fourth request message includes first session parameter information, and the fourth request message also includes network information or identification information of a session corresponding to the network information;
    获取第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的与所述第一会话参数信息对应的会话;Obtain address information of a first session, where the first session is a session corresponding to the first session parameter information among sessions corresponding to the network information;
    向所述数据分析网元发送所述第一会话的地址信息,所述第一会话的地址信息用于收集终端设备的所述应用的数据。Sending the address information of the first session to the data analysis network element, where the address information of the first session is used to collect the data of the application of the terminal device.
  14. 如权利要求13所述的方法,其特征在于,所述第一会话参数信息包括以下信息中的一个或多个:The method according to claim 13, wherein the first session parameter information includes one or more of the following information:
    会话与业务连续性模式、接入类型或会话类型。Session and business continuity mode, access type or session type.
  15. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    处理单元,用于确定终端设备访问应用使用的第一会话的地址信息;a processing unit, configured to determine the address information of the first session used by the terminal device to access the application;
    收发单元,用于向提供所述应用的应用功能网元发送第一请求消息,所述第一请求消息包括所述应用的标识信息和所述第一会话的地址信息,所述第一会话的地址信息用于收集所述终端设备的所述应用的数据;以及,接收来自所述应用功能网元的所述应用的数据。a transceiver unit, configured to send a first request message to an application function network element providing the application, where the first request message includes identification information of the application and address information of the first session, and the address information of the first session The address information is used to collect the application data of the terminal device; and receive the application data from the application function network element.
  16. 如权利要求15所述的装置,其特征在于,所述处理单元,还用于确定收集所述终端设备访问所述应用的数据。The apparatus according to claim 15, wherein the processing unit is further configured to determine to collect the data of the terminal device accessing the application.
  17. 如权利要求15或16所述的装置,其特征在于,所述处理单元,用于确定终端设备访问应用使用的第一会话的地址信息,具体包括:The apparatus according to claim 15 or 16, wherein the processing unit is configured to determine the address information of the first session used by the terminal device to access the application, specifically comprising:
    用于获取所述应用对应的网络信息,所述网络信息包括数据网络名称和/或切片标识信息;Obtaining network information corresponding to the application, where the network information includes a data network name and/or slice identification information;
    用于通过所述收发单元向所述网络信息对应的通信设备发送第二请求消息,所述第二请求消息包括所述应用的标识信息和应用开始事件,所述第二请求消息还包括所述网络信息或所述网络信息对应的会话的标识信息;It is configured to send a second request message to the communication device corresponding to the network information through the transceiver unit, the second request message includes the identification information of the application and an application start event, and the second request message also includes the Network information or identification information of a session corresponding to the network information;
    用于通过所述收发单元接收来自第一通信设备的所述第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的被检测到所述应用的应用开始事件的会话,所述第一通信设备是所述网络信息对应的通信设备中的一个通信设备。Used to receive address information of the first session from the first communication device through the transceiver unit, where the first session is a session in which an application start event of the application is detected in the sessions corresponding to the network information , the first communication device is one of the communication devices corresponding to the network information.
  18. 如权利要求17所述的装置,其特征在于,所述第二请求消息还包括会话参数信息,所述会话参数信息用于确定所述网络信息对应的会话中的一个或多个会话,所述一个或多个会话是待执行应用开始事件检测的会话。The device according to claim 17, wherein the second request message further includes session parameter information, and the session parameter information is used to determine one or more sessions in the session corresponding to the network information, the The one or more sessions are sessions for which application start event detection is to be performed.
  19. 如权利要求18所述的装置,其特征在于,所述收发单元,还用于向移动性管理策略控制网元发送第三请求消息,所述第三请求消息包括所述终端设备的标识信息和所述应用的流描述符;以及接收来自所述移动性管理策略控制网元的所述会话参数信息,所述会话参数信息与所述流描述符信息和所述终端设备的标识信息对应。The apparatus according to claim 18, wherein the transceiver unit is further configured to send a third request message to the mobility management policy control network element, the third request message includes the identification information of the terminal equipment and a flow descriptor of the application; and receiving the session parameter information from the mobility management policy control network element, where the session parameter information corresponds to the flow descriptor information and the identification information of the terminal device.
  20. 如权利要求15或16所述的装置,其特征在于,所述处理单元,用于确定终端设备访问应用使用的第一会话的地址信息,具体包括:The apparatus according to claim 15 or 16, wherein the processing unit is configured to determine the address information of the first session used by the terminal device to access the application, specifically comprising:
    用于通过所述收发单元从移动性管理策略控制网元获取所述终端设备访问所述应用使用的路由选择描述符,所述路由选择描述符包括网络信息和第一会话参数信息,所述网络信息包括数据网络名称和/或切片标识信息;Obtaining, through the transceiver unit, a routing descriptor used by the terminal device to access the application from a mobility management policy control network element, where the routing descriptor includes network information and first session parameter information, and the network The information includes data network name and/or slice identification information;
    用于通过所述收发单元向所述网络信息对应的通信设备发送第四请求消息,所述第四请求消息包括所述第一会话参数信息,所述第四请求消息还包括所述网络信息或所述网络信息对应的会话的标识信息;It is configured to send a fourth request message to the communication device corresponding to the network information through the transceiver unit, the fourth request message includes the first session parameter information, and the fourth request message also includes the network information or The identification information of the session corresponding to the network information;
    用于通过所述收发单元接收来自第一通信设备的所述第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的与所述第一会话参数信息对应的会话,所述第一通信设备是所述网络信息对应的通信设备中的一个通信设备。configured to receive address information of the first session from the first communication device through the transceiving unit, where the first session is a session corresponding to the first session parameter information among sessions corresponding to the network information, The first communication device is one of the communication devices corresponding to the network information.
  21. 如权利要求15或16所述的装置,其特征在于,所述处理单元,用于确定终端设备访问应用使用的第一会话的地址信息,具体包括:The apparatus according to claim 15 or 16, wherein the processing unit is configured to determine the address information of the first session used by the terminal device to access the application, specifically comprising:
    用于通过所述收发单元从移动性管理策略控制网元获取所述终端设备访问所述应用使用的路由选择描述符,所述路由选择描述符包括网络信息和第一会话参数信息,所述网 络信息包括数据网络名称和/或切片标识信息;Obtaining, through the transceiver unit, a routing descriptor used by the terminal device to access the application from a mobility management policy control network element, where the routing descriptor includes network information and first session parameter information, and the network The information includes data network name and/or slice identification information;
    用于通过所述收发单元向所述网络信息对应的通信设备发送第五请求消息,所述第五请求消息包括所述网络信息或所述网络信息对应的会话的标识信息;Used to send a fifth request message to a communication device corresponding to the network information through the transceiver unit, where the fifth request message includes identification information of the network information or a session corresponding to the network information;
    用于通过所述收发单元接收来自所述通信设备的与所述网络信息对应的会话的地址信息,以及所述网络信息对应的会话的会话参数信息;For receiving, through the transceiver unit, address information of a session corresponding to the network information from the communication device, and session parameter information of the session corresponding to the network information;
    用于根据所述网络信息对应的会话的会话参数信息和所述第一会话参数信息,从所述网络信息对应的会话的地址信息中确定所述第一会话的地址信息,所述第一会话的会话参数信息是所述第一会话参数信息。Determine the address information of the first session from the address information of the session corresponding to the network information according to the session parameter information of the session corresponding to the network information and the first session parameter information, and the first session The session parameter information is the first session parameter information.
  22. 如权利要求17至21中任一项所述的装置,其特征在于,所述处理单元,还用于从数据管理网元获取与所述网络信息对应的所述通信设备的地址信息和所述会话的标识信息,所述通信设备是会话管理网元;或者,从绑定支持网元获取与所述网络信息对应的所述通信设备的地址信息和所述会话的标识信息,所述通信设备是会话管理策略控制网元。The device according to any one of claims 17 to 21, wherein the processing unit is further configured to obtain, from a data management network element, the address information of the communication device corresponding to the network information and the The identification information of the session, the communication device is a session management network element; or, obtaining the address information of the communication device corresponding to the network information and the identification information of the session from the binding support network element, the communication device It is the session management policy control network element.
  23. 一种通信装置,其特征在于,包括收发单元和处理单元;A communication device, characterized by comprising a transceiver unit and a processing unit;
    所述收发单元,用于接收来自数据分析网元的第二请求消息,所述第二请求消息包括应用的标识信息和应用开始事件,所述第二请求消息还包括网络信息或所述网络信息对应的会话的标识信息;The transceiver unit is configured to receive a second request message from a data analysis network element, the second request message includes application identification information and an application start event, and the second request message also includes network information or the network information Identification information of the corresponding session;
    所述处理单元,用于在所述网络信息对应的会话中的第一会话上检测到所述应用的应用开始事件;The processing unit is configured to detect an application start event of the application on a first session among the sessions corresponding to the network information;
    所述收发单元,还用于向所述数据分析网元发送所述第一会话的地址信息,所述第一会话的地址信息用于收集终端设备的所述应用的数据。The transceiving unit is further configured to send address information of the first session to the data analysis network element, where the address information of the first session is used to collect data of the application of the terminal device.
  24. 如权利要求23所述的装置,其特征在于,所述第二请求消息还包括会话参数信息;所述处理单元,还用于确定所述网络信息对应的会话中的与所述会话参数信息对应的一个或多个会话;对所述一个或多个会话执行应用开始事件的检测,所述一个或多个会话包括所述第一会话。The device according to claim 23, wherein the second request message further includes session parameter information; and the processing unit is further configured to determine the session corresponding to the session parameter information in the session corresponding to the network information performing the detection of an application start event on the one or more sessions, the one or more sessions including the first session.
  25. 一种通信装置,其特征在于,包括:收发单元和处理单元;A communication device, characterized by comprising: a transceiver unit and a processing unit;
    所述收发单元,用于接收来自数据分析网元的第四请求消息,所述第四请求消息包括第一会话参数信息,所述第四请求消息还包括网络信息或所述网络信息对应的会话的标识信息;The transceiver unit is configured to receive a fourth request message from a data analysis network element, the fourth request message includes first session parameter information, and the fourth request message also includes network information or a session corresponding to the network information identification information;
    所述处理单元,用于获取第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的与所述第一会话参数信息对应的会话;The processing unit is configured to acquire address information of a first session, where the first session is a session corresponding to the first session parameter information among sessions corresponding to the network information;
    所述收发单元,还用于向所述数据分析网元发送所述第一会话的地址信息,所述第一会话的地址信息用于收集终端设备的所述应用的数据。The transceiving unit is further configured to send address information of the first session to the data analysis network element, where the address information of the first session is used to collect data of the application of the terminal device.
  26. 一种通信系统,其特征在于,包括:A communication system, characterized in that it includes:
    数据分析网元,用于执行如权利要求1至9中任一项所述的方法;A data analysis network element, configured to perform the method according to any one of claims 1 to 9;
    应用功能网元,用于接收来自所述数据分析网元的第一请求消息,所述第一请求消息包括应用的标识信息和第一会话的地址信息;以及向所述数据分析网元发送终端设备的所述应用的数据。An application function network element, configured to receive a first request message from the data analysis network element, where the first request message includes application identification information and address information of the first session; and send a terminal to the data analysis network element Data for said app for the device.
  27. 一种通信系统,其特征在于,包括:A communication system, characterized in that it includes:
    通信设备,用于执行如权利要求10至12中任一项所述的方法;A communication device configured to perform the method according to any one of claims 10 to 12;
    数据分析网元,用于向所述通信设备发送第二请求消息,所述第二请求消息包括应用 的标识信息和应用开始事件,所述第二请求消息还包括网络信息或所述网络信息对应的会话的标识信息;以及接收来自所述通信设备的第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的被检测到所述应用的应用开始事件的会话,所述第一会话的地址信息用于收集所述终端设备的所述应用的数据。A data analysis network element, configured to send a second request message to the communication device, the second request message includes application identification information and an application start event, and the second request message also includes network information or the network information corresponds to and receiving address information of a first session from the communication device, where the first session is a session in which an application start event of the application is detected in the sessions corresponding to the network information, the The address information of the first session is used to collect the application data of the terminal device.
  28. 如权利要求27所述的系统,其特征在于,所述数据分析网元,还用于向提供所述应用的应用功能网元发送第一请求消息,所述第一请求消息包括所述应用的标识信息和所述第一会话的地址信息;以及接收来自所述应用功能网元的所述应用的数据。The system according to claim 27, wherein the data analysis network element is further configured to send a first request message to the application function network element providing the application, and the first request message includes the identification information and address information of the first session; and receiving data of the application from the application function network element.
  29. 一种通信系统,其特征在于,包括:A communication system, characterized in that it includes:
    通信设备,用于执行如权利要求13或14所述的方法;A communication device configured to perform the method as claimed in claim 13 or 14;
    数据分析网元,用于向所述通信设备发送第四请求消息,所述第四请求消息包括第一会话参数信息,所述第四请求消息还包括网络信息或所述网络信息对应的会话的标识信息;以及接收来自所述通信设备的第一会话的地址信息,所述第一会话是所述网络信息对应的会话中的与所述第一会话参数信息对应的会话,所述第一会话的地址信息用于收集终端设备的所述应用的数据。A data analysis network element, configured to send a fourth request message to the communication device, where the fourth request message includes the first session parameter information, and the fourth request message also includes network information or the session information corresponding to the network information identification information; and receiving address information of a first session from the communication device, where the first session is a session corresponding to the first session parameter information among sessions corresponding to the network information, and the first session The address information of is used to collect the data of the application of the terminal device.
  30. 如权利要求29所述的系统,其特征在于,所述数据分析网元,还用于向提供所述应用的应用功能网元发送第一请求消息,所述第一请求消息包括所述应用的标识信息和所述第一会话的地址信息;以及接收来自所述应用功能网元的所述应用的数据。The system according to claim 29, wherein the data analysis network element is further configured to send a first request message to the application function network element providing the application, and the first request message includes the identification information and address information of the first session; and receiving data of the application from the application function network element.
  31. 如权利要求29或30所述的系统,其特征在于,所述数据分析网元,还用于从移动性管理策略控制网元获取所述终端设备访问所述应用使用的路由选择描述符,所述路由选择描述符包括网络信息和第一会话参数信息,所述网络信息包括数据网络名称和/或切片标识信息;向所述通信设备发送第五请求消息,所述第五请求消息包括所述网络信息或所述网络信息对应的会话的标识信息;接收来自所述通信设备的与所述网络信息对应的会话的地址信息,以及所述网络信息对应的会话的会话参数信息;以及根据所述网络信息对应的会话的会话参数信息和所述第一会话参数信息,从所述网络信息对应的会话的地址信息中确定所述第一会话的地址信息,所述第一会话的会话参数信息是所述第一会话参数信息。The system according to claim 29 or 30, wherein the data analysis network element is further configured to obtain the routing descriptor used by the terminal device to access the application from the mobility management policy control network element, so The routing descriptor includes network information and first session parameter information, the network information includes a data network name and/or slice identification information; a fifth request message is sent to the communication device, and the fifth request message includes the Network information or identification information of a session corresponding to the network information; receiving address information of the session corresponding to the network information from the communication device, and session parameter information of the session corresponding to the network information; and according to the The session parameter information of the session corresponding to the network information and the first session parameter information, determining the address information of the first session from the address information of the session corresponding to the network information, and the session parameter information of the first session is The first session parameter information.
  32. 一种通信装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得所述装置执行如权利要求1至9中任一项所述的方法,或执行如权利要求10至12中任一项所述的方法,或执行如权利要求13或14所述的方法。A communication device, characterized in that it includes: a processor, the processor is coupled with a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the device Carrying out the method according to any one of claims 1 to 9, or carrying out the method according to any one of claims 10 to 12, or carrying out the method according to claim 13 or 14.
  33. 一种通信装置,其特征在于,包括:处理器和接口;A communication device, characterized by comprising: a processor and an interface;
    所述处理器用于控制所述装置执行如权利要求1至9中任一项所述的方法,或执行如权利要求10至12中任一项所述的方法,或执行如权利要求13或14所述的方法;The processor is used to control the device to execute the method according to any one of claims 1 to 9, or to execute the method according to any one of claims 10 to 12, or to execute the method according to claim 13 or 14 the method described;
    所述处理器还用于控制所述接口与其他装置通信。The processor is also used to control the interface to communicate with other devices.
  34. 一种通信装置,其特征在于,用于如权利要求1至9中任一项所述的方法,或执行如权利要求10至12中任一项所述的方法,或执行如权利要求13或14所述的方法。A communication device, characterized in that it is used for the method according to any one of claims 1 to 9, or executes the method according to any one of claims 10 to 12, or executes the method according to claim 13 or 14 as described in the method.
  35. 一种通信设备,其特征在于,包括:处理器和通信接口,A communication device, characterized in that it includes: a processor and a communication interface,
    所述通信接口,用于接收代码指令并传输至所述处理器,所述处理器用于运行所述代码指令以执行如权利要求1至9中任一项所述的方法,或执行如权利要求10至12中任一项所述的方法,或执行如权利要求13或14所述的方法。The communication interface is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to execute the method according to any one of claims 1 to 9, or to execute the method according to any one of the claims. 10 to 12, or perform a method as claimed in claim 13 or 14.
  36. 一种计算机可读存储介质,其上存储有计算机程序或指令,其特征在于,所述计算 机程序或指令被执行时,使得权利要求1至9中任一项所述的方法被执行,或使得权利要求10至12中任一项所述的方法被执行,或使得权利要求13或14所述的方法被执行。A computer-readable storage medium, on which are stored computer programs or instructions, characterized in that, when the computer programs or instructions are executed, the method described in any one of claims 1 to 9 is executed, or the A method as claimed in any one of claims 10 to 12 is performed, or a method as claimed in claim 13 or 14 is caused to be performed.
  37. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,当所述计算机程序运行时,使得权利要求1至9中任一项所述的方法被执行,或使得权利要求10至12中任一项所述的方法被执行,或使得权利要求13或14所述的方法被执行。A computer program product, characterized in that the computer program product includes a computer program, and when the computer program is run, the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 9 is executed. The method of any one of claims 12 is performed, or causes the method of claim 13 or 14 to be performed.
  38. 一种芯片系统,其特征在于,包括:A system on a chip, characterized in that it comprises:
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于从所述存储器调用并运行所述计算机程序,使得安装有所述芯片系统的设备执行如权利要求1至9中任一项所述的方法,或执行如权利要求10至12中任一项所述的方法,或执行如权利要求13或14所述的方法。A processor, configured to call and run the computer program from the memory, so that the device installed with the system-on-a-chip executes the method according to any one of claims 1 to 9, or executes the method according to any one of claims 10 to 12 The method described in any one, or carry out the method described in claim 13 or 14.
PCT/CN2022/113349 2021-10-08 2022-08-18 Data collection method, communication apparatus and communication system WO2023056784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111172675.0A CN115955716A (en) 2021-10-08 2021-10-08 Data collection method, communication device and communication system
CN202111172675.0 2021-10-08

Publications (1)

Publication Number Publication Date
WO2023056784A1 true WO2023056784A1 (en) 2023-04-13

Family

ID=85803877

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113349 WO2023056784A1 (en) 2021-10-08 2022-08-18 Data collection method, communication apparatus and communication system

Country Status (2)

Country Link
CN (1) CN115955716A (en)
WO (1) WO2023056784A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769455A (en) * 2018-07-26 2020-02-07 华为技术有限公司 Data collection method, equipment and system
CN111586670A (en) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 Method for realizing service continuity and related equipment
US20200358689A1 (en) * 2019-05-07 2020-11-12 Electronics And Telecommunications Research Institute Method and system for providing communication analysis of user equipment based on network data analysis
CN112312418A (en) * 2019-07-26 2021-02-02 华为技术有限公司 Method and device for acquiring user plane data and storage medium
CN112788661A (en) * 2019-11-07 2021-05-11 华为技术有限公司 Network data processing method, network element and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769455A (en) * 2018-07-26 2020-02-07 华为技术有限公司 Data collection method, equipment and system
US20200358689A1 (en) * 2019-05-07 2020-11-12 Electronics And Telecommunications Research Institute Method and system for providing communication analysis of user equipment based on network data analysis
CN112312418A (en) * 2019-07-26 2021-02-02 华为技术有限公司 Method and device for acquiring user plane data and storage medium
CN112788661A (en) * 2019-11-07 2021-05-11 华为技术有限公司 Network data processing method, network element and system
CN111586670A (en) * 2020-04-30 2020-08-25 腾讯科技(深圳)有限公司 Method for realizing service continuity and related equipment

Also Published As

Publication number Publication date
CN115955716A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN111758279B (en) Tracking QoS violation events
US20230370383A1 (en) Systems and methods for supporting traffic steering through a service function chain
WO2020207490A1 (en) System, apparatus and method to support data server selection
CN113302880B (en) Method and apparatus for supporting Local Area Network (LAN)
JP2023098989A (en) Monitoring and reporting service performance
WO2020073919A1 (en) Packet transmission method and apparatus
US20210168902A1 (en) User Group Session Management Method and Apparatus
WO2019033920A1 (en) Method and device enabling network side to identify and control remote user equipment
CN111901135A (en) Data analysis method and device
WO2020015634A1 (en) Mec information acquisition method and device
WO2020001562A1 (en) Communication method and apparatus
WO2020073921A1 (en) Communication method and apparatus
WO2022021971A1 (en) Communication method, first policy control network element, and communication system
CN116886588A (en) Communication method, device and system
US20220263879A1 (en) Multicast session establishment method and network device
KR102397750B1 (en) GTP tunnels to support anchorless backhaul
WO2022267652A1 (en) Communication method, communication apparatus, and communication system
WO2023056784A1 (en) Data collection method, communication apparatus and communication system
WO2023082858A1 (en) Method for determining mobility management policy, communication apparatus, and communication system
WO2023016298A1 (en) Service awareness method, communication apparatus, and communication system
WO2023213156A1 (en) Communication method, communication apparatus, and communication system
WO2023030077A1 (en) Communication method, communication apparatus, and communication system
WO2023050781A1 (en) Communication method and communication apparatus
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
US11916805B2 (en) Network device provisioning based on device type

Legal Events

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

Ref document number: 22877808

Country of ref document: EP

Kind code of ref document: A1