WO2023005440A1 - 通信方法、通信装置及通信系统 - Google Patents

通信方法、通信装置及通信系统 Download PDF

Info

Publication number
WO2023005440A1
WO2023005440A1 PCT/CN2022/097710 CN2022097710W WO2023005440A1 WO 2023005440 A1 WO2023005440 A1 WO 2023005440A1 CN 2022097710 W CN2022097710 W CN 2022097710W WO 2023005440 A1 WO2023005440 A1 WO 2023005440A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
terminal
notification
identification information
policy control
Prior art date
Application number
PCT/CN2022/097710
Other languages
English (en)
French (fr)
Inventor
周晓云
丁辉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023005440A1 publication Critical patent/WO2023005440A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present application relates to the technical field of wireless communication, and in particular to a communication method, a communication device and a communication system.
  • the AMF network element when a terminal registers with an access and mobility management function (AMF) network element, the AMF network element and the access and mobility management policy control network
  • the access and mobility management policy control function (AM PCF) interacts with network elements to establish an access and mobility policy association (AMpolicy association). Then the AM PCF network element formulates a mobility policy and provides it to the AMF network element for policy execution of the AMF network element.
  • AMF access and mobility management function
  • AMF access and mobility management policy control function
  • the present application provides a communication method, a communication device and a communication system, so as to accurately determine a mobility management strategy.
  • the embodiment of the present application provides a communication method, and the method may be executed by a first policy control network element or a module (such as a chip) applied to the first policy control network element.
  • the first policy control network element sends a request message to the data management network element, the request message includes terminal identification information, event identification information and notification address, and the event identification information is used
  • the notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information
  • the request message is used to request the data management network element to save the Event identification information and the notification address
  • the first policy control network element receives a notification message from the second policy control network element, and the notification message includes the session status of the terminal or the application status of the terminal, and the session status of the terminal
  • the state of the terminal or the state of the application of the terminal is detected according to the event identification information obtained from the data management network element; the first
  • the first policy control network element determines the mobility management policy according to the session state or the application state of the terminal, which can accurately determine the mobility management policy. Moreover, since the first policy control network element only needs to save the event identification information and notification address to the data management network element, it can receive the session state of the terminal or the application state of the terminal from the second policy control network element, without The first policy control network element is required to query the address information of the second policy control network element, thereby reducing the signaling overhead of the first policy control network element.
  • the first policy control network element determines the mobility management strategy.
  • the application layer information includes (data network name (data network name, DNN), single network slice selection assistance information (single network slice selection assistance information, S-NSSAI)) combination, the request message
  • the (DNN, S-NSSAI) combination is also included in
  • the second policy control network element corresponds to the (DNN, S-NSSAI) combination.
  • the request message also includes first indication information, and the first indication information is used to indicate a notification policy.
  • the notification policy is: when the first (DNN, S-NSSAI) combination corresponds to The notification message is sent when the session is established, and/or the notification message is sent when the last session corresponding to the (DNN, S-NSSAI) combination terminates.
  • the number of sending notification messages can be reduced, thereby reducing signaling overhead.
  • the mobility management policy includes second indication information, where the second indication information is used to indicate that the mobility management policy is determined according to the application layer information.
  • the device that receives the mobility management policy can know that the mobility management policy is determined according to the application layer information, which helps to realize the rational use of the mobility management policy.
  • the first policy control network element receives a response message from the data management network element, the response message includes first identification information, and the first identification information is the event identification information and the notification address The first identification information is used to modify or delete the event identification information and/or the notification address.
  • the first policy control network element sends the mobility management policy to the application function network element.
  • the first policy control network element receives third indication information from the mobility management network element, where the third indication information is used to indicate that the mobility management policy used by the terminal is determined according to the application layer information
  • the first policy control network element delays determining the mobility management policy according to the third indication information; wherein the first policy control network element is a policy control network element that provides services for the terminal after the terminal moves.
  • the embodiment of the present application provides a communication method, and the method may be executed by a second policy control network element or a module (such as a chip) applied to the second policy control network element.
  • the second policy control network element receives the event identification information and notification address from the data management network element, the event identification information is used to indicate the state of the detection session or the state of the application, the The notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information; the second policy control network element detects the session status of the terminal or the application status of the terminal according to the event identification information; The second policy control network element sends a notification message to the first policy control network element according to the notification address, and the notification message includes the session state of the terminal or the application state of the terminal; wherein, the first policy control The network element is used to formulate a mobility management policy, and the second policy control network element is used to formulate a session management policy.
  • the session status or application status of the terminal can be used by the first policy control network element to determine the mobility management policy, which can realize accurate determination of the mobility management policy.
  • the second policy control network element can obtain the event identification information of the event to be detected from the data management network element, and obtain the address of the first policy control network element that receives the event notification, so that the event notification can be quickly notified to The first policy controls the network element.
  • the notification message further includes at least one of a session identifier of the terminal, an address of the terminal, or an identifier of the second policy control network element.
  • the second policy control network element sends a query request message to the data management network element, and the query request message is used to request to query the subscription data of the terminal;
  • a query response message of the data management network element, the query response message includes the subscription data of the terminal, and the subscription data includes the event identification information and the notification address.
  • the second policy control network element can obtain the event identification information and notification address from the data management network element in real time through the query request, which helps the second policy control network element to obtain the event identification information and notification address in time .
  • the query request message also includes a (DNN, S-NSSAI) combination
  • the second policy control network element corresponds to the (DNN, S-NSSAI) combination
  • the query request message is used to request query Subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the second strategy controls the network element to send a subscription data subscription request message to the data management network element, and the subscription data subscription request message is used to request a notification of a change in the subscription data of the terminal;
  • the second strategy The control network element receives the notification message from the data management network element, the notification message includes the changed subscription data of the terminal, and the changed subscription data includes the event identification information and the notification address.
  • the second policy control network element it is not necessary for the second policy control network element to frequently send query request messages to the data management network element for requesting to query the subscription data of the terminal. Instead, by sending a subscription data subscription request message, the subsequent data management network can The element actively sends the subscription data of the terminal to the second policy control network element, so signaling overhead can be reduced.
  • the subscription data subscription request message also includes a (DNN, S-NSSAI) combination
  • the second policy control network element corresponds to the (DNN, S-NSSAI) combination
  • the subscription data subscription request uses It is used to request the notification of the subscription data change corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the embodiment of the present application provides a communication method, and the method may be executed by a data management network element or a module (such as a chip) applied to the data management network element.
  • the data management network element receives a request message from the first policy control network element, the request message includes terminal identification information, event identification information and notification address, and the event identification information is used for Indicates the state of the detection session or the state of the application, the notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information; the request message is used to request the data management network element to save the event Identification information and the notification address; the data management network element sends the event identification information and the notification address to the second policy control network element; wherein, the first policy control network element is used to formulate a mobility management policy, and the second policy The control network element is used to formulate session management policies.
  • the data management network element as an intermediate node connecting the first policy control network element and the second policy control network element, can receive terminal identification information, event identification information and notification address from the first policy control network element, and The event identification information and the notification address are used to facilitate the second policy control network element to detect according to the event identification information, and send the detected event to the first policy control network element, thereby eliminating the need for the first policy control network element to search for the second policy control network element.
  • the second strategy is the process of controlling the address of the network element, which can reduce unnecessary signaling overhead.
  • the data management network element receives a query request message from the second policy control network element, and the query request message is used to request to query the subscription data of the terminal; the data management network element sends the second The policy control network element sends a query response message, the query response message includes the subscription data of the terminal, and the subscription data includes the event identification information and the notification address.
  • the data management network element can send event identification information and notification address to the second policy control network element in real time according to the query request sent by the second policy control network element, which helps the second policy control network element to obtain timely to the event identification information and notification address.
  • the query request message also includes a (DNN, S-NSSAI) combination
  • the second policy control network element corresponds to the (DNN, S-NSSAI) combination
  • the query request message is used to request query Subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the data management network element receives the subscription data subscription request message from the second policy control network element, and the subscription data subscription request message is used to request the notification of the subscription data change of the terminal; the data management The network element sends a notification message to the second policy control network element, the notification message includes the changed subscription data of the terminal, and the changed subscription data includes the event identification information and the notification address.
  • the second policy control network element it is not necessary for the second policy control network element to frequently send query request messages to the data management network element for requesting to query the subscription data of the terminal. Instead, by sending a subscription data subscription request message, the subsequent data management network can The element actively sends the subscription data of the terminal to the second policy control network element, so signaling overhead can be reduced.
  • the subscription data subscription request message also includes a (DNN, S-NSSAI) combination
  • the second policy control network element corresponds to the (DNN, S-NSSAI) combination
  • the subscription data subscription request uses It is used to request the notification of the subscription data change corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the data management network element sends a response message to the first policy control network element, the response message includes first identification information, and the first identification information is the event identification information and the notification address Identification information, where the first identification information is used to modify or delete the event identification information and/or the notification address.
  • the embodiment of the present application provides a communication method, and the method may be executed by a first policy control network element or a module (such as a chip) applied to the first policy control network element.
  • the first policy control network element sends a request message to the data management network element, the request message includes first identification information and a first notification address, and the first identification information is the The event identification information stored by the data management network element and the identification information of the second notification address, the event identification information is used to indicate the state of the detection session or the application state, and the first notification address is used to receive the event corresponding to the event identification information
  • the address of the first policy control network element notified, the second notification address is the address of the third policy control network element used to receive the event notification corresponding to the event identification information, and the request message is used to request the data management network element updating the second notification address to the first notification address; the first policy control network element receives a notification message from the second policy control network element, where the notification message includes
  • the first policy control network element determines the mobility management policy according to the session state or the application state of the terminal, which can accurately determine the mobility management policy. Moreover, since the first policy control network element modifies the second event notification address saved by the data management network element through the first identification information, the subsequent second policy control network element can obtain the event identification information and the updated event identification information from the data management network element. The first notification address, and then the first policy control network element can receive the session status of the terminal or the application status of the terminal from the second policy control network element, without the need for the first policy control network element to query the second policy The address information of the network element is controlled, so that the signaling overhead of the first policy control network element can be reduced.
  • the notification message further includes at least one of a session identifier of the terminal, an address of the terminal, or an identifier of the second policy control network element.
  • the embodiment of the present application provides a communication method, and the method may be executed by a first policy control network element or a module (such as a chip) applied to the first policy control network element.
  • the first policy control network element sends a first request message to the mobility management network element, the first request message contains event identification information, and the event identification information is used to indicate detection
  • the state of the session of the terminal or the state of the application of the terminal the first request message is used to request the event notification corresponding to the event identification information
  • the first policy control network element receives from the mobility management network element or the session corresponding to the session
  • a notification message of the management network element the notification message includes the session state of the terminal or the application state of the terminal, and the session state of the terminal or the application state of the terminal is detected according to the event identification information;
  • the The first policy control network element determines the mobility management policy according to the state of the session of the terminal or the state of the application of the terminal; wherein, the first policy
  • the first policy control network element determines the mobility management policy according to the session state or the application state of the terminal, which can accurately determine the mobility management policy. Moreover, since the first policy control network element only needs to send the event identification information to the mobility management network element, it can quickly receive the session status of the terminal or the application status of the terminal, which helps to improve the determination of the mobility management strategy speed.
  • the first policy control network element determines the mobility management policy according to the application layer information from the application function network element.
  • the first request message also includes first indication information, and the first indication information is used to indicate a notification policy, and the notification policy is: when the (DNN, S-NSSAI) combination corresponds to the first
  • the notification message is sent when a session is established, and/or the notification message is sent when the last session corresponding to the (DNN, S-NSSAI) combination terminates.
  • the number of sending notification messages can be reduced, thereby reducing signaling overhead.
  • the mobility management policy includes second indication information, where the second indication information is used to indicate that the mobility management policy is determined according to application layer information.
  • the device that receives the mobility management policy can know that the mobility management policy is determined according to the application layer information, which helps to realize the rational use of the mobility management policy.
  • the first policy control network element sends the mobility management policy to the application function network element.
  • the embodiment of the present application provides a communication method, and the method may be executed by a session management network element or a module (such as a chip) applied to the session management network element.
  • the session management network element receives the second request message from the mobility management network element, and the second request message includes event identification information, and the event identification information is used to indicate the detection terminal session
  • the state of the terminal or the state of the application of the terminal, the second request message is used to request the event notification corresponding to the event identification information
  • the session management network element detects the session state of the terminal or the application of the terminal according to the event identification information state
  • the session management network element sends a notification message to the mobility management network element or the first policy control network element corresponding to the terminal, and the notification message includes the state of the session of the terminal or the state of the application of the terminal;
  • the The first policy control network element is a policy control network element used to formulate mobility management policies.
  • the session status or application status of the terminal can be used by the first policy control network element to determine the mobility management policy, which can realize accurate determination of the mobility management policy.
  • the second request message also includes a (DNN, S-NSSAI) combination, and the second request message is used to request the session of the terminal corresponding to the (DNN, S-NSSAI) combination state or the state of the application.
  • the second request message also includes first indication information, and the first indication information is used to indicate a notification policy, and the notification policy is: when the (DNN, S-NSSAI) combination corresponds to the first
  • the notification message is sent when a session is established, and/or the notification message is sent when the last session corresponding to the (DNN, S-NSSAI) combination terminates.
  • the number of sending notification messages can be reduced, thereby reducing signaling overhead.
  • the embodiment of the present application provides a communication method, and the method may be executed by a mobility management network element or a module (such as a chip) applied to the mobility management network element.
  • the mobility management network element receives a first request message from a first policy control network element, the first request message includes event identification information, and the event identification information is used to indicate detection
  • the state of the session of the terminal or the state of the application of the terminal the first request message is used to request the event notification corresponding to the event identification information; after the mobility management network element detects the event corresponding to the event identification information, it sends the first
  • the policy control network element sends a notification message, the notification message includes the session state of the terminal or the application state of the terminal, and the session state of the terminal or the application state of the terminal is detected according to the event identification information; wherein, the first Policy control network elements are used to formulate mobility management policies.
  • the session status or application status of the terminal can be used by the first policy control network element to determine the mobility management policy, which can realize accurate determination of the mobility management policy.
  • the first request message further includes a (DNN, S-NSSAI) combination, and the first request message is used to request the terminal's connection with the (DNN, S-NSSAI) -NSSAI) combination corresponds to the state of the session or the state of the application.
  • the mobility management network element sends the notification message to the first policy control network element after detecting that the session corresponding to the (DNN, S-NSSAI) combination of the terminal is established, the The notification message includes the state of the session, and the state of the session is session establishment.
  • the mobility management network element sends a second request message to the session management network element, the second request message includes the event identification information, and the second request message is used to request that the event identification information correspond to event notification;
  • the mobility management network element receives a notification message from the session management network element, and the notification message includes the state of the application of the terminal or the state of the session of the terminal;
  • the mobility management network element sends the notification message to the first The policy control network element sends the notification message.
  • the event identification information is determined according to the application layer information from the application function network element.
  • the embodiment of the present application provides a communication device, and the device may be a first policy control network element, or may be a chip used for the first policy control network element.
  • the device has the function of realizing any realization method of the first aspect, the fourth aspect or the fifth aspect. 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 second policy control network element, or may be a chip used for the second policy control network element.
  • the device has the function of implementing any implementation method of the second 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, and the device may be a data management network element, or may be a chip used for the data management network element.
  • the device has the function of realizing any realization method of 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, and the device may be a session management network element, or may be a chip used for the session management network element.
  • the device has the function of implementing any implementation method of the sixth 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, and the device may be a mobility management network element, or may be a chip used for the mobility management network element.
  • the device has the function of implementing any implementation method of the seventh 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 Execute any implementation method in the first aspect to the seventh 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 seventh 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 aspect to the seventh aspect above .
  • the processor includes one or more.
  • the embodiment of the present application provides a communication device, including a processor coupled to the memory, the processor is used to call the program stored in the memory, so as to execute any implementation in the first aspect to the seventh 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 runs on the communication device, the above-mentioned first to seventh 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 seventh 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 seventh aspect above.
  • the embodiment of the present application also provides a communication system, the communication system includes a first policy control network element for performing any implementation method of the first aspect above and a network element for sending a message to the first policy control network The second policy control network element that sends the notification message.
  • the second policy control network element is further configured to implement any implementation method of the second aspect above.
  • the communication system further includes a data management network element configured to implement any implementation method of the third aspect above.
  • the embodiment of the present application also provides a communication system, the communication system includes a first policy control network element for performing any implementation method of the fourth aspect above and a network element for sending the first policy control network element The second policy controlling the network element sending the notification message by the network element.
  • the second policy control network element is further configured to implement any implementation method of the second aspect above.
  • the communication system further includes a data management network element configured to implement any implementation method of the third aspect above.
  • the embodiment of the present application also provides a communication system, the communication system includes a first policy control network element for performing any implementation method of the fifth aspect above and for receiving information from the first policy The mobility management network element controlling the first request message of the network element.
  • the mobility management network element is further configured to implement any implementation method of the seventh aspect above.
  • the communication system further includes a session management network element configured to implement any implementation method of the sixth aspect above.
  • 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 flowchart of AM strategy generation and use provided by the embodiment of the present application.
  • FIG. 4 is a schematic flow diagram of AM strategy generation and use provided by the embodiment of the present application.
  • FIG. 5(a) is a schematic flow diagram of a communication method provided by an embodiment of the present application.
  • FIG. 5(b) is a schematic flow diagram of a communication method provided by an embodiment of the present application.
  • FIG. 5(c) is a schematic flow diagram of a communication method provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a communication device provided in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • the present application provides a communication system, the system includes a first policy control network element and a second policy control network element, and optionally, a data management network Yuan.
  • the first policy control network element is used to send a request message to the data management network element, the request message includes terminal identification information, event identification information and notification address, and the event identification information is used to indicate the state of the detection session or the state of the application , the notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information, and the request message is used to request the data management network element to store the event identification information and the notification address; and receiving A notification message from the second policy control network element, the notification message includes the session state of the terminal or the application state of the terminal, and the session state of the terminal or the application state of the terminal is obtained according to the The first policy control network element determines the mobility management policy according to the state of the session of the terminal or the state of the application of the terminal.
  • the second policy control network element is configured to send the notification message to the first policy control network element.
  • the first policy control network element is used to formulate a mobility management policy
  • the second policy control network element is used to formulate a session management policy.
  • the second policy control network element is also used to receive the event identification information and the notification address from the data management network element; according to the event identification information, detect the session status of the terminal or the The state of the application.
  • the second policy control network element is configured to send a notification message to the first policy control network element according to the notification address.
  • the data management network element is configured to receive the request message from the first policy control network element, and send the event identification information and the notification address to the second policy control network element.
  • the first policy control network element is configured to receive a response message from the data management network element, where the response message includes first identification information, and the first identification information is the event identification information and The identification information of the notification address, the first identification information is used to modify or delete the event identification information and/or the notification address.
  • the data management network element is configured to send the response message to the first policy control network element.
  • the second policy control network element is used to send a query request message to the data management network element, and the query request message is used to request to query the subscription data of the terminal;
  • the query response message of the element, the query response message includes the subscription data of the terminal, and the subscription data includes the event identification information and the notification address.
  • the data management network element is configured to receive the query request message from the second policy control network element, and send the query response message to the second policy control network element.
  • the second policy control network element is configured to send a subscription data subscription request message to the data management network element, where the subscription data subscription request message is used to request a notification of a change in the subscription data of the terminal; and Receive a notification message from the data management network element, where the notification message includes the changed subscription data of the terminal, and the changed subscription data includes the event identification information and the notification address.
  • the data management network element is configured to receive the subscription data subscription request message from the second policy control network element; and send the notification message to the second policy control network element.
  • the first policy control network element is configured to send a request message to the data management network element, where the request message includes first identification information and a first notification address, where the first identification information is the event identification information stored by the data management network element and The identification information of the second notification address, where the event identification information is used to indicate the state of the detection session or the application state, and the first notification address is the first policy control network element used to receive the event notification corresponding to the event identification information address, the second notification address is the address of the third policy control network element used to receive the event notification corresponding to the event identification information, and the request message is used to request the data management network element to update the second notification address to the first A notification address; receiving a notification message from the second policy control network element, the notification message includes the state of the session of the terminal or the state of the application of the terminal, and the state of the session of the terminal or the state of the application of the terminal is obtained from the The event identification information obtained by the data management network element is detected; and the mobility management policy is determined according to the session state of the terminal or the application state
  • the second policy control network element is configured to send the notification message to the first policy control network element.
  • the first policy control network element and the third policy control network element are used to formulate a mobility management policy
  • the second policy control network element is used to formulate a session management policy
  • the first policy control network element is the terminal mobility
  • the third policy control network element is a policy control network element that provides services for the terminal before the terminal moves.
  • the second policy control network element is also used to receive the event identification information and the first notification address from the data management network element; according to the event identification information, detect the state of the session of the terminal or the terminal and sending a notification message to the first policy control network element according to the first notification address.
  • the data management network element is configured to receive the request message from the first policy control network element, and send the event identification information and the first notification address to the second policy control network element.
  • the first policy control network element is also used to Determine the mobility management strategy.
  • the first policy control network element is configured to send the mobility management policy to the application function network element.
  • the first policy control network element is configured to receive third indication information from the mobility management network element, where the third indication information is used to indicate that the mobility management policy used by the terminal is based on the application Determining the layer information; and delay determining the mobility management policy according to the third indication information; wherein, the first policy control network element is a policy control network element that provides services for the terminal after the terminal moves.
  • the system shown in Figure 1(a) 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 the sixth generation (6th generation, 6G ) network architecture, etc., which are not limited in this application.
  • 6G sixth generation
  • the present application provides a communication system, which includes a first policy control network element and a mobility management network element, and optionally, a session management network element .
  • the first policy control network element is configured to send a first request message to the mobility management network element, where the first request message includes event identification information, and the event identification information is used to indicate the state of the session of the detection terminal or the application of the terminal state, the first request message is used to request the event notification corresponding to the event identification information; the first policy control network element receives a notification message from the mobility management network element or the session management network element corresponding to the session, and the notification message Contains the state of the session of the terminal or the state of the application of the terminal, the state of the session of the terminal or the state of the application of the terminal is detected according to the event identification information; according to the state of the session of the terminal or the state of the terminal The state of the application determines the mobility management policy; wherein, the first policy control network element is used to formulate the mobility management policy; the mobility management network element is used to receive the first request message.
  • the mobility management network element is configured to send the event notification to the first policy control network element after detecting the event corresponding to the event identification information; wherein, the first policy control network element Elements are used to formulate mobility management policies.
  • the first policy control network element is configured to determine the mobility according to the application layer information from the application function network element management strategy.
  • the mobility management network element is configured to send the session to the first policy control network element after detecting that the session corresponding to the (DNN, S-NSSAI) combination of the terminal is established
  • the status of the session is session establishment.
  • the first policy control network element is configured to send the mobility management policy to the application function network element.
  • the mobility management network element is configured to send a second request message to the session management network element, the second request message includes the event identification information, and the second request message is used to request the event An event notification corresponding to the identification information; receiving a notification message from the session management network element, where the notification message includes the application status of the terminal or the session status of the terminal; and sending the terminal's status to the first policy control network element The state of the application or the state of the session for this endpoint.
  • the session management network element is configured to receive the second request message from the mobility management network element; detect the session status of the terminal or the application status of the terminal according to the event identification information; And sending the notification message to the mobility management network element or the first policy control network element corresponding to the terminal.
  • 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.
  • Figure 2(a) is a schematic diagram of a 5G network architecture based on a service-based architecture.
  • the 5G network architecture shown in Figure 2(a) may include a data network (data network, DN) and an operator network.
  • DN data network
  • Operator network operator network
  • the operator network may include one or more 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 database (Unified Data Repository, UDR), network storage 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) , application function (application function, AF) network element, policy control function (policy control function, PCF) network element, 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 funciton, BSF) network element (not shown in the figure), radio access network (radio access network, RAN) device, etc.
  • authentication server function Authentication Server Function, AUSF
  • unified data management unified data management
  • UDR Unified Data Repository, UDR
  • NRF Network Repository Function
  • the wireless access network equipment can be a base station (base station), an evolved base station (evolved NodeB, eNodeB), a transmission reception point (transmission reception point, TRP), and a next generation base station (next generation NodeB, gNB) in a 5G mobile communication system , a next-generation base station in a 6G mobile communication system, a base station in a future mobile communication system, or an access node in a wireless fidelity (Wireless Fidelity, WiFi) system, etc.; it can also be a module or unit that completes some functions of the base station, for example, It can be a centralized unit (central unit, CU) or a distributed unit (distributed unit, DU).
  • the radio access network equipment may be a macro base station, a micro base station or an indoor station, or a relay node or a donor node.
  • the embodiment of the present application does not limit the specific technology and specific equipment form adopted by the radio access network equipment.
  • a base station is used as an example of a radio access network device for description.
  • the terminal communicating with the RAN may also be called terminal equipment, user equipment (user equipment, terminal), mobile station, mobile terminal, and so on.
  • Terminals 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, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wearables, smart transportation, smart city, etc.
  • Terminals can be mobile phones, tablet computers, computers with wireless transceiver functions, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, etc.
  • the embodiment of this application does not limit the specific technology and specific equipment form adopted by the terminal.
  • Base stations and terminals can be fixed or mobile. Base stations and terminals can be deployed on land, including indoors or outdoors, 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 base station and the terminal.
  • 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 the terminal and the PCF.
  • the SMF network element includes functions such as session management execution, execution of PCF issued control policies, UPF selection, terminal Internet Protocol (internet protocol, IP) address assignment, etc.
  • the UPF network element as the interface UPF with the data network, 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, IMS
  • 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 AM PCF network elements and session management policy control function (session management PCF, SM PCF) network elements.
  • AM PCF network elements can 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.
  • 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 may refer to the meanings defined in the third generation partnership project (3rd generation partnership project, 3GPP) standard agreement, and no limitation is made here.
  • 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 the interface between the AMF and the terminal, which can be used to transmit QoS control rules and the like to the terminal.
  • N2 the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
  • N3 the interface between the RAN and the UPF, mainly used to transfer the uplink and downlink user plane data between the RAN 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 distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
  • N5 the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
  • N6 the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
  • 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 terminal current mobility management related information 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 current session-related information with UDM.
  • N11 the interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminals, transfer radio resource control information sent to RAN, 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.
  • the data management network element, mobility management network element, session management network element, user plane network element, policy control network element, and application function network element in this application can be the network elements in Figure 2(a) or Figure 2(b)
  • UDR, AMF, SMF, UPF, PCF, and AF may also be network elements that have the functions of UDR, AMF, SMF, UPF, PCF, and AF in future communications such as 6G networks, and this application does not limit this.
  • UDR, AMF, SMF, UPF, PCF, and AF are respectively referred to as data management network elements, mobility management network elements, session management network elements, user plane network elements, policy control network elements, and application functions
  • PCF includes AM PCF and SM PCF.
  • one implementation method is that the AM PCF determines the AM strategy based on the application layer information provided by the AF. Combining with Figure 3 and Figure 4, the method for AM PCF to determine the AM policy and deliver the AM policy is provided below.
  • FIG. 3 is a schematic flowchart of AM policy generation and use provided by the embodiment of the present application. This embodiment is an example for a single terminal.
  • step 301 the terminal registers with the network.
  • the terminal registers to the network through the AMF, and the AMF interacts with the UDM to obtain the terminal's subscription data from the UDM.
  • the subscription data includes the contracted service area restrictions and the contracted radio access technology.
  • RAT radio access technology
  • RAT/spectrum selection priority RAT/frequency selection priority, RFSP.
  • the service area restriction information is used to indicate the area where the terminal is allowed or not allowed to access
  • the RFSP is used for the radio access network device to determine the radio resource management policy.
  • step 302 the AMF interacts with the AM PCF to establish an AM policy association.
  • the AMF sends the Npcf_AMPolicyControl_Create request message to the AM PCF, which includes the identification information of the terminal, the contracted service area restriction information and the contracted RFSP.
  • the identification information of the terminal may be a permanent subscriber identifier (subscription permanent identifier, SUPI) or a generic external subscriber identifier (generic public subscription identifier, GPSI).
  • the AM PCF determines the AM strategy according to the contracted service area restriction information, the contracted RFSP and network policies.
  • the AM policy includes authorized service area restriction information and authorized RFSP.
  • the AM PCF determines the authorized service area restriction information according to the contracted service area restriction information and network policy, and determines the authorized RFSP according to the contracted RFSP and network policy.
  • the AM PCF sends the Npcf_AMPolicyControl_Create response message to the AMF, which contains the AM policy.
  • Step 303 the AM PCF sends a registration request message to the BSF.
  • the BSF receives the registration request message.
  • the registration request message contains the binding information of the AM PCF, and the binding information includes the identification of the AMF PCF and the identification information of the terminal.
  • the identifier of the AMF PCF may be the resource identifier of the AM PCF supporting the Npcf_AmPolicyAuthorization service.
  • the registration request message may be a Nbsf_Menagement_Register Request message.
  • step 304 the AF sends a subscription request message to the BSF.
  • the BSF receives the subscription request message.
  • the subscription request message includes the identification information of the terminal, and the subscription request message is used to subscribe to the registration information of the AM PCF that provides the AM policy for the terminal.
  • the subscription request message may be a Nbsf_Management_Subscribe Request message.
  • step 304 may be performed before step 301.
  • step 305 the BSF sends a notification message to the AF, and the AF receives the notification message accordingly.
  • the notification message includes registration information corresponding to the identification information of the terminal, and the registration information includes the ID of the AM PCF.
  • the notification message may be a Nbsf_Management_Notify Request message.
  • step 306 the AF sends an AM policy authorization request message to the AM PCF, and accordingly, the AM PCF receives the AM policy authorization request message.
  • the AM policy authorization request message may be an Npcf_AMPolicyAuthorization_Create Request message.
  • the AM policy authorization request message contains application layer information, where the application layer information includes any one of the following information 1 to information 4:
  • terminal identification information terminal identification information, service area coverage (service area coverage) and associated (DNN, S-NSSAI) combination;
  • terminal identification information terminal identification information, high throughput indication and associated (DNN, S-NSSAI) combination;
  • Terminal identification information 3 terminal identification information, service area coverage, associated (DNN, S-NSSAI) combination, and at least one application identification (Application Id);
  • Information 4 identification information of the terminal, a high throughput indication, an associated (DNN, S-NSSAI) combination, and an identification of at least one application.
  • the (DNN, S-NSSAI) combination of the above information 3 is optional information
  • the (DNN, S-NSSAI) combination of the above information 4 is also optional information.
  • DNN is the abbreviation of data network name
  • Chinese name is the name of the data network.
  • S-NSSAI is the detection of single network slice selection assistance information
  • the Chinese name is single network slice selection assistance information.
  • the coverage of the service area refers to the information provided by the AF of the area that requires policy control.
  • the high throughput indication may be indication information for indicating high throughput.
  • the AF can also subscribe to the service area coverage change event or the AM policy change event to the AM PCF through the AM policy authorization request message, for example, the AM policy authorization request message carries the identification and notification of the service area coverage change event Endpoint, or an endpoint that carries the ID and notification of an AM policy change event.
  • the notification endpoint may be the address of the AF.
  • the AM PCF can also send an AM policy authorization response message to the AF.
  • the AM policy authorization response message may be an Npcf_AMPolicyAuthorization_Create response message.
  • step 307 the AM PCF sends a subscription request message to the BSF.
  • the BSF receives the subscription request message.
  • the subscription request message is used to subscribe to the binding information of the SM PCF, and the subscription request message carries the identification information of the terminal and the (DNN, S-NSSAI) combination.
  • the subscription request message may be a Nbsf_Management_Subscribe Request message.
  • step 308 the terminal establishes a PDU session, and the session corresponds to the (DNN, S-NSSAI) combination.
  • the SMF assigns the address of the terminal to the PDU session.
  • SMF interacts with SM PCF to establish SM policy association.
  • the SMF sends the Npcf_SMPolicyControl_Create request message to the SM PCF, which includes the identification information of the terminal and the address of the terminal.
  • the SM PCF can interact with the UDR to obtain the subscription data of the terminal. Then the SM PCF determines the SM policy according to the subscription data of the terminal and the network policy.
  • SM PCF sends Npcf_SMPolicyControl_Create response message to SMF, which carries SM policy.
  • step 309 the SM PCF sends a registration request message to the BSF, and the BSF receives the registration request message accordingly.
  • the registration request message contains the binding information of the SM PCF, the binding information includes the address of the terminal, the identification information of the terminal, the combination of (DNN, S-NSSAI) and the identification of the SM PCF, and the identification of the SM PCF can be the SMPCF supports the resource identification of Npcf_PolicyAuthorization service.
  • the registration request message may be a Nbsf_Menagement_Register Request message.
  • step 310 the BSF sends the binding information of the SM PCF to the AM PCF according to the subscription of the AM PCF.
  • the BSF sends a Nbsf_Management_Notify Request message to the AM PCF, which contains the binding information of the SM PCF.
  • Step 311 the AM PCF sends a subscription request message to the SM PCF, and the SM PCF receives the subscription request message accordingly.
  • step 311 is an optional step. Specifically, in the case that the policy authorization request message in step 306 includes at least one application identifier, that is, the policy authorization request message in step 306 includes the above information 3 or information 4, then step 311 is executed.
  • the subscription request message includes at least one application identifier for subscribing to application start/stop events.
  • the subscription request message may be an Npcf_PolicyAuthorization_Subscribe Request message.
  • Step 312 the SM PCF detects an application start/stop event.
  • SM PCF interacts with SMF to request detection of application start/stop events, and then SMF further interacts with UPF to request UPF to detect application start/stop events.
  • This step 312 is an optional step. In the case that the above step 311 is performed, then step 312 is performed.
  • Step 313 when the SM PCF receives the application start event report from the SMF, the SM PCF sends a notification message to the AM PCF, and the AM PCF receives the notification message accordingly.
  • the notification message includes an application identifier and an application start event.
  • the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
  • step 3134 the AM PCF updates the AM policy.
  • the AM PCF determines that the PDU session has been established after receiving the binding information of the SM PCF in the above-mentioned step 310, Then the AM PCF determines to update the AM policy. Among them, the AM PCF receives the SM PCF binding information, indicating that the SM PCF has been selected, and the SM PCF is selected on the premise that the PDU session has been established.
  • the AM PCF determines that the PDU session has been established after receiving the application start event in the above-mentioned step 313, and the AM The PCF determines to update the AM policy.
  • the AM PCF receives the application start event, indicating that the application has started, and the premise of the application start is that the PDU session has been established.
  • the AM PCF updates the AM strategy, which may be specifically: the AM PCF updates the authorized service area restriction information in the above step 302 according to the received service area coverage, obtains the updated service area restriction information, and according to the received high throughput The amount indicates to update the authorized RFSP in the above step 302, and obtain the updated RFSP.
  • the updated AM policy contains updated service area restriction information and updated RFSP.
  • step 315 the AM PCF sends the updated AM policy to the AMF.
  • the AMF receives the updated AM policy.
  • the updated AM policy includes updated service area restriction information and updated RFSP.
  • the AMF may send the Npcf_AmPolicyControl_UpdateNotify request message to the AMF, which includes updated service area restriction information and updated RFSP.
  • step 316 the AMF executes the updated AM policy.
  • the AMF controls the terminal according to the updated AM policy.
  • step 317 the AMF sends a notification message to the terminal, and the notification message includes the updated service area restriction information.
  • the terminal determines the accessible area according to the updated service area restriction information.
  • step 318 the AMF sends a notification message to the base station, and the notification message includes the updated service area restriction information and the updated RFSP.
  • the base station controls terminal access according to the updated service area restriction information, and determines a radio resource management strategy according to the updated RFSP.
  • step 319 the AM PCF sends the event notification and the updated AM policy to the AF.
  • step 319 is executed.
  • AM PCF can send event notification and updated AM policy to AF through Npcf_AMPolicyAuthorization_Notify message.
  • the AM PCF can update the AM strategy according to the application layer information provided by the AF, so that an accurate AM strategy can be obtained, which is beneficial to realize precise control of the terminal according to the accurate AM strategy.
  • FIG. 4 is a schematic flowchart of AM policy generation and use provided by the embodiment of the present application. This embodiment is an example for a terminal group or an arbitrary terminal.
  • Step 401 to step 402 are the same as step 301 to step 302.
  • step 403 the AM PCF sends a subscription request message to the UDR, and the UDR receives the subscription request message accordingly.
  • the subscription request message includes the (S-NSSAI, DNN) combination and the external group identifier.
  • the subscription request message is used for subscribing to application data related to AM, or understood as subscribing to AM influence information (AM influence information).
  • the AM impact information may also be referred to as application layer information.
  • the subscription request message may be a Nudr_DM_Subscribe request message.
  • step 404 the AF sends AM impact information to the UDR. Accordingly, the UDR receives AM impact information.
  • AF can send AM influence information to UDR through NEF.
  • AF sends Nnef_AMInfluence_Create request message to NEF, which carries AM influence information, and then NEF sends Nudr_DM_Create Request message to UDR, which carries AM influence information.
  • UDR sends Nudr_DM_Create Response message to NEF, and then NEF sends Nnef_AMInfluence_Create Response message to AF.
  • the AM impact information includes any one of the following information 1 to information 4:
  • Information 4 external group identification or any terminal indication, high throughput indication, associated (DNN, S-NSSAI) combination and identification of at least one application.
  • the (DNN, S-NSSAI) combination of the above information 3 is optional information
  • the (DNN, S-NSSAI) combination of the above information 4 is also optional information.
  • the AF may also subscribe to the service area coverage change event or the AM policy change event to the UDR through the NEF, for example, the AM impact information also carries the service area coverage change event identifier and notification endpoint, or carries Identification and notification endpoint for AM policy change events.
  • the notification endpoint may be the address of the AF.
  • this step 404 may be performed before the foregoing step 401 .
  • Step 405 the UDR sends a notification message to the AM PCF.
  • the AM PCF receives the notification message.
  • the notification message includes AM impact information.
  • the notification message may be a Nudr_DM_Notify request message.
  • step 406 the AM PCF sends a subscription request message to the BSF.
  • the BSF receives the subscription request message.
  • the subscription request message includes terminal identification information and (DNN, S-NSSAI) combination, and the subscription request message is used for subscribing SM PCF binding information.
  • the terminal indicated by the identification information of the terminal in the subscription request message is the terminal in step 401 above.
  • the AM PCF determines that the received AM impact information is applicable to the terminal in step 401, and then determines that the subscription request message carries the identification information of the terminal.
  • Step 407 to step 409 are the same as step 308 to step 310.
  • step 410 the AM PCF sends a subscription request message to the SM PCF, and the SM PCF receives the subscription request message accordingly.
  • This step 410 is an optional step. Specifically, in the case that the notification message in step 405 includes at least one application identifier, that is, the notification message in step 405 includes the above information 3 or information 4, step 410 is executed.
  • the subscription request message includes at least one application identifier for subscribing to application start/stop events.
  • the subscription request message may be an Npcf_PolicyAuthorization_Subscribe Request message.
  • Step 411 to step 412 are the same as step 312 to step 313.
  • step 413 the AM PCF updates the AM policy.
  • the AM PCF determines that the PDU session has been established after receiving the binding information of the SM PCF in the above-mentioned step 409, and then the AM PCF Make sure to update the AM policy.
  • the AM PCF receives the SM PCF binding information, indicating that the SM PCF has been selected, and the SM PCF is selected on the premise that the PDU session has been established.
  • the AM PCF determines that the PDU session has been established after receiving the application start event in the above-mentioned step 412, and then the AM PCF determines to update AM strategy.
  • the AM PCF receives the application start event, indicating that the application has started, and the premise of the application start is that the PDU session has been established.
  • the AM PCF updates the AM policy, specifically: the AM PCF updates the authorized service area restriction information in the above step 402 according to the received service area coverage, obtains the updated service area restriction information, and receives the high throughput The amount indicates to update the authorized RFSP in the above step 402, and obtain the updated RFSP.
  • the AM policy is also referred to as a mobility management policy, which is described in a unified manner here and will not be described in detail later.
  • Step 414 to step 417 are the same as step 315 to step 318.
  • Step 418 AM PCF sends event notification and updated AM policy to AF.
  • step 418 is executed.
  • AM PCF can send event notification and updated AM policy to NEF through Npcf_AMPolicyAuthorization_Notify message, and then NEF sends event notification and updated AM policy to AF through Nnef_AMInfluence_Notify message.
  • the AM PCF can update the AM strategy according to the application layer information provided by the AF, so that an accurate AM strategy can be obtained, which is beneficial to realize precise control of the terminal according to the accurate AM strategy.
  • each BSF will register its own information to the NRF so that other network elements can discover itself.
  • BSF registers information it usually uses the IP address range of the terminal it serves as an index, so that other network elements can obtain the BSF corresponding to the IP address of the terminal from NRF according to the IP address of the terminal.
  • the AM PCF in order to find the corresponding SM PCF, the AM PCF sends a subscription request message to the BSF to request to subscribe to the binding information of the SM PCF.
  • the AM PCF cannot obtain the IP address of the terminal, so the AM PCF cannot obtain the BSF corresponding to the IP address of the terminal from the NRF according to the IP address of the terminal. Therefore, when there are multiple distributed BSFs in the network, the AM PCF needs to send a subscription request message to each BSF, which will increase signaling overhead and resource waste.
  • an embodiment of the present application provides a communication method, as shown in FIG. 5( a ).
  • the first PCF is used to formulate mobility management policies
  • the first PCF may also be called AM PCF
  • the second PCF is used to formulate session management policies
  • the second PCF may also be called SM PCF.
  • the first PCF refers to the AM PCF that provides services for the terminal after the terminal moves. Therefore, in this method, the first PCF may represent the AM PCF that provides services for the terminal in a scenario where the terminal does not move, or the AM PCF that provides services for the terminal after the terminal moves in a scenario where the terminal moves.
  • the method includes the following steps:
  • Step 501a the first PCF sends a request message to the UDR, and the UDR receives the request message accordingly.
  • the request message includes terminal identification information, event identification information and notification address.
  • the request message is used to request the UDR to save the event identification information and the notification address, or it can be understood that the request message is used to request the UDR to save the event identification information and the notification address to the information associated with the identification information of the terminal, for example, to the In the subscription data of the terminal indicated by the identification information of the terminal.
  • the UDR also stores the identification information of the terminal.
  • the event identification information and notification address may be collectively referred to as event subscription information, or the request message may include terminal identification information and event subscription information, and the event subscription information may include event identification information and notification address.
  • the request message may also include a notification correlation ID (notification correlation Id), which is used to distinguish event ID information and notification addresses of different terminals.
  • notification correlation ID notification correlation Id
  • the request message includes a uniform resource identifier (uniform resource identifier, URI), and the URI includes terminal identification information.
  • URI uniform resource identifier
  • the URI in the request message is ⁇ apiRoot ⁇ /nudr-dr/ ⁇ apiVersion>/policy-data/ues/ ⁇ ueId ⁇ /sm-data
  • the identification information of the terminal is the ueId in the URI.
  • the identification information of the terminal is information for identifying the terminal, and the identification information of the terminal may be SUPI, GPSI, or a group identification of a group to which the terminal belongs.
  • the event identification information is used to indicate the state of the detection session or the state of the application.
  • the event identification information may be the status of the PDU session (PDU Session Status) or the establishment/termination of the PDU session (PDU Session establishment/termination).
  • the state of the application may be application detection (application detection) or application start/stop (application start/stop).
  • the request message may further include an identification of at least one application, and in this case, the event identification information is used to indicate the detected status of the at least one application.
  • a notification address is an event notification address corresponding to receiving event identification information, and the event notification address is the address of the first PCF.
  • the notification address here may also be called a notification target address.
  • step 502a the UDR sends the event identification information and notification address to the second PCF, and correspondingly, the second PCF receives the event identification information and the notification address.
  • the above request message also includes the identification of at least one application, so in step 502a, the UDR also sends the identification information of the at least one application to the second PCF.
  • the UDR when the request message in step 501a includes the notification association identifier, in step 502a, the UDR also sends the notification association identifier to the second PCF.
  • the second PCF sends a query request message to the UDR, the query request message contains the identification information of the terminal, and the query request message is used to query the subscription data of the terminal.
  • the UDR sends a query response message to the second PCF, the query response message includes the subscription data of the terminal , the subscription data includes the above-mentioned event identification information and notification address.
  • the UDR sends the event identification information and notification address to the second PCF in real time based on the query request of the second PCF, which helps the second PCF to obtain the event identification information and notification address in time.
  • the second PCF sends a subscription data subscription request message to the UDR
  • the subscription data subscription request message includes the identification information of the terminal
  • the subscription data subscription request message is used to request to query the notification of the subscription data change of the terminal, Then the UDR subscribes to the request message according to the subscription data.
  • the UDR sends a notification message to the second PCF.
  • the notification message includes the changed subscription data of the terminal.
  • the subscription data contains Event identification information and notification address.
  • the second PCF sends the subscription data subscription request message to the UDR before the above step 501a.
  • the UDR When the UDR receives the above request message from the first PCF in the above step 501a, it triggers the UDR to The subscription data of the terminal stored in the UDR is updated, and then the UDR is triggered to send the foregoing notification message to the second PCF. Based on this method, the UDR sends the event identification information and notification address to the second PCF based on the subscription data subscription request message of the second PCF. This method does not require the second PCF to frequently send queries to the UDR for requesting the subscription data of the terminal. request messages, thus reducing signaling overhead.
  • Step 503a the second PCF detects the session state of the terminal or the application state of the terminal according to the event identification information.
  • the event identification information is used to indicate the state of the detection session, and the second PCF detects the state of the session of the terminal.
  • the detected state of the session may be PDU session establishment or PDU session termination.
  • the event identification information is used to indicate the state of the application to be detected, and the second PCF detects the state of the application of the terminal. Specifically, the second PCF detects the application indicated by the at least one application identification carried in the request message in step 501a status.
  • the detected application state may be application start or application stop.
  • step 504a the second PCF sends a notification message to the first PCF according to the notification address, and correspondingly, the first PCF receives the notification message.
  • the notification message includes the session state of the terminal or the application state of the terminal.
  • the notification message may also carry the notification association identifier.
  • the notification message may further include at least one of a session identifier of the terminal, an address of the terminal, or an identifier of the second PCF.
  • Step 505a the first PCF determines the mobility management policy according to the state of the session of the terminal or the state of the application of the terminal.
  • the first PCF determines the mobility management policy according to the application layer information from the AF.
  • the first PCF when the first PCF receives the session status of the terminal, and the session status of the terminal is terminated, the first PCF does not determine the mobility management policy based on the application layer information from the AF.
  • the subscription data determines the mobility management strategy.
  • the first PCF determines the mobility management policy according to the application layer information from the AF.
  • the first PCF when the first PCF receives the application status of the terminal, and the application status of the terminal is application stopped, the first PCF does not determine the mobility management policy based on the application layer information from the AF.
  • the subscription data determines the mobility management strategy.
  • the specific implementation method for the first PCF to determine the mobility management policy according to the application layer information from the AF can refer to the description of the foregoing step 314 or step 413 .
  • the first PCF can determine the mobility management strategy according to the session state or application state of the terminal, and can accurately determine the mobility management strategy. Moreover, compared with the method in FIG. 3 or FIG. 4, the method in FIG. 5(a) does not require the first PCF to send a subscription request message to each BSF in the network, but only needs to send a request message to a UDR, Then the state of the session or the state of the application of the terminal can be received, so the signaling overhead and waste of resources in the process of determining the mobility management policy can be reduced.
  • the event identification information in the above step 501a may be determined by the first PCF according to the application layer information from the AF, that is, before step 501a, the first PCF receives the application layer information from the AF, and then the first PCF
  • the event identification information is determined according to the application layer information.
  • the application layer information may be any one of information 1 to information 4 described in step 306 above.
  • the event identification information is used to indicate the status of the detection session; when the application layer information is information 3 or information 2 described in step 306 above 4.
  • the event identification information is used to indicate the status of the detection application.
  • the application layer information sent by the AF to the first PCF is for any terminal or terminal group
  • the application layer information may be any one of information 1 to information 4 described in step 404 above.
  • the event identification information is used to indicate the status of the detection session, when the application layer information is information 3 or information 2 described in step 404 above 4.
  • the event identification information is used to indicate the status of the detection application.
  • the request message in the above step 501a may also include (DNN, S-NSSAI) combination, the (DNN, S- NSSAI) combines the application layer information from the AF, and the request message is used to request the UDR to save the event identification information and notification address in the subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the request message in the above step 501a contains a (DNN, S-NSSAI) combination
  • what the UDR sends to the second PCF is the event identification information corresponding to the (DNN, S-NSSAI) combination and notification address
  • the second PCF corresponds to the (DNN, S-NSSAI) combination. Therefore, the query request message sent by the second PCF to the UDR in the above step 502a may include the (DNN, S-NSSAI) combination, and the query request message is used to request the subscription corresponding to the (DNN, S-NSSAI) combination of the query terminal.
  • the subscription data subscription request message sent by the second PCF to the UDR in step 502a above may contain the (DNN, S-NSSAI) combination, and the subscription data subscription request is used to request the combination of the terminal and (DNN, S-NSSAI) Notification of corresponding subscription data changes. Based on this method, refined management of event identification information based on (DNN, S-NSSAI) combination can be realized.
  • the request message in step 501a may also include first indication information, and the first indication information is used to indicate the notification policy
  • the notification strategy is: sending a notification message when the first session corresponding to the (DNN, S-NSSAI) combination is established, and/or sending a notification message when the last session corresponding to the (DNN, S-NSSAI) combination is terminated.
  • the UDR will also store the first indication information. Subsequently, when the UDR sends the event identification information and notification address to the second PCF in the above step 502a, it will also send the first indication information to the second PCF.
  • the second PCF when the second PCF detects the status of the first session among the multiple sessions, it sends a notification message containing the status of the first session to the first PCF, and/or when multiple sessions are detected
  • the state of the last session in the session sends a notification message containing the state of the last session to the first PCF, and for the states of other sessions except the first session and the last session, the second PCF does not need to send a notification message to the first PCF
  • the first PCF sends the status of this other session. According to this method, signaling overhead can be reduced.
  • the mobility management policy determined in step 505a includes second indication information, where the second indication information is used to indicate that the mobility management policy is determined according to the application layer information. Subsequently, the mobility management policy can be sent to the AMF, base station and terminal, so that the AMF, base station and terminal can know that the mobility management policy is determined according to the application layer information, which helps to realize the rational use of the mobility management policy.
  • the first PCF may send the mobility management policy to the AF.
  • the first PCF sends the mobility management policy to the AF based on the subscription of the AF, or the first PCF actively sends the mobility management policy to the AF.
  • the UDR may also send a response message to the first PCF to the above request message, the response message includes the first identification information, the first identification information is the event identification information and notification address
  • the first identification information is used to modify or delete the event identification information and/or notification address. That is, the subsequent first PCF or other PCFs may modify or delete the event identification information and/or notification address stored in the UDR by the first PCF according to the first identification information. According to the method, the quick modification or deletion of the event identification information and the notification address stored in the UDR can be realized.
  • the first PCF when the first PCF is the AM PCF that provides services for the terminal after the terminal moves, then before the above step 501a, the first PCF can receive the third indication information from the AMF, and the third indication information uses It is used to indicate that the mobility management policy used by the terminal is determined according to the application layer information, so that the first PCF delays determining the mobility management policy according to the third indication information, or it is understood that the first PCF determines not to use the mobility management policy based on the third indication information.
  • the subscription data determines the mobility management strategy.
  • the first PCF triggers the execution of the above step 501a to step 505a according to the third indication information, so as to determine the mobility management policy according to the application layer information. This method helps to realize precise determination of mobility management strategy.
  • an embodiment of the present application provides a communication method, as shown in FIG. 5( b ). This method is applicable to the scenario where the terminal moves.
  • the first PCF and the third PCF are used to formulate a mobility management strategy. Both the first PCF and the third PCF can be called AM PCFs.
  • the first PCF is the PCF that provides services for the terminal after the terminal moves, and the third PCF It is the PCF that provides services for the terminal before the terminal moves.
  • the second PCF is used to formulate session management policies, and the second PCF may be called SM PCF.
  • the method includes the following steps:
  • step 501b the first PCF sends a request message to the UDR, and the UDR receives the request message accordingly.
  • the request message includes first identification information and a first notification address.
  • the first notification address is an event notification address corresponding to receiving event identification information
  • the event notification address is an address of the first PCF.
  • the first identification information is the event identification information stored in the UDR and the identification information of the second notification address.
  • the event identification information is used to indicate the state of the detection session or the application state. For the specific meaning of the event identification information, refer to the description in step 501a.
  • the second notification address is an address of the third PCF for receiving the event notification corresponding to the event identification information.
  • the method for the first PCF to obtain the first identification information may be, for example: after the third PCF saves the event identification information and the second notification address to the UDR, the UDR generating the first identification information, and then sending the first identification information to a third PCF, and then the third PCF sending the first identification information to the first AMF that previously provided services for the terminal, and then the first AMF sends the The first identification information is sent to the second AMF that provides services for the terminal after the terminal, so that the second AMF can send the first identification information to the first PCF.
  • the request message is used to request the UDR to update the saved second notification address to the first notification address.
  • the request message may also include a first notification association identifier assigned by the first PCF, and the first notification association identifier is used to distinguish event identification information and notification addresses of different terminals, and the request message may also include It is used to request the UDR to update the saved second notification association identifier to the first notification association identifier, and the second notification association identifier is sent together by the third PCF when saving the event identification information and the second notification address to the UDR Saved to UDR.
  • step 502b the UDR updates the saved second notification address to the first notification address.
  • the UDR receives the event identification information and the second notification address from the third PCF, and then the UDR saves the event identification information and the second notification address. Then, after receiving the request message, the UDR updates the saved second notification address to the first notification address, so that after the update, the UDR saves the event identification information and the first notification address.
  • the UDR also updates the saved second notification association identifier to the first notification association identifier.
  • step 503b the UDR sends the event identification information and the first notification address to the second PCF, and correspondingly, the second PCF receives the event identification information and the first notification address.
  • the UDR also sends the first notification association identifier to the second PCF.
  • this step 503b is similar to the above step 502a, and reference may be made to the above description.
  • step 504b the second PCF detects the session state of the terminal or the application state of the terminal according to the event identification information.
  • this step 504b is the same as the above step 503a, and reference may be made to the foregoing description.
  • step 505b the second PCF sends a notification message to the first PCF according to the first notification address, and correspondingly, the first PCF receives the notification message.
  • the notification message further includes the first notification association identifier.
  • the notification message includes the session state of the terminal or the application state of the terminal.
  • Step 506b the first PCF determines the mobility management policy according to the state of the session of the terminal or the state of the application of the terminal.
  • this step 506b is the same as that of the above step 505a, and reference may be made to the foregoing description.
  • the first PCF can determine the mobility management strategy according to the session state or application state of the terminal, and can accurately determine the mobility management strategy.
  • the method in FIG. 5(b) does not require the first PCF to send a subscription request message to each BSF in the network, but only needs to send a request message to a UDR, Then the state of the session or the state of the application of the terminal can be received, so the signaling overhead and waste of resources in the process of determining the mobility management policy can be reduced.
  • the first PCF in the method in Figure 5(b) can modify the notification address stored in the UDR according to the first identification information, which can reduce the signaling load and help save resources.
  • FIG. 5(b) Various other possible implementation methods based on the embodiment of Figure 5(b), such as the implementation method based on (DNN, S-NSSAI) combination, the implementation method based on application layer information, and the implementation based on the above-mentioned first indication information
  • the method, the implementation method based on the above-mentioned second indication information, the implementation method based on the above-mentioned third indication information, etc. are all similar to the various implementation methods in the embodiment of Figure 5(a) above, and you can refer to the foregoing description, and will not repeat them here. .
  • this embodiment of the present application provides another communication method, as shown in FIG. 5( c ).
  • the first PCF is used to formulate mobility management policies
  • the first PCF may also be called AM PCF
  • the second PCF is used to formulate session management policies
  • the second PCF may also be called SM PCF.
  • the method includes the following steps:
  • step 501c the first PCF sends a first request message to the AMF, and correspondingly, the AMF receives the first request message.
  • the first request message includes event identification information, and the event identification information is used to indicate the state of the session of the detection terminal or the state of the application of the terminal.
  • the specific implementation of the event identification information can refer to the description in step 501a.
  • the first request message is used to request event notification corresponding to the event identification information.
  • the first PCF may send the first request message to the AMF on the session of the terminal, so that the AMF may know which terminal's session state or application state is to be detected.
  • the event identification information in the first request message may be determined by the first PCF according to the application layer information from the AF.
  • the first PCF determines the event identification information according to the application layer information from the AF.
  • the first request message further includes a (DNN, S-NSSAI) combination
  • the first request message is used to request a session state or an application state of the terminal corresponding to the (DNN, S-NSSAI) combination.
  • the (DNN, S-NSSAI) combination acquired by the first PCF may come from the application layer information of the AF. Wherein, for the specific description of the application layer information, reference may be made to the description of the aforementioned step 306 or step 404 .
  • step 502c the AMF detects the event corresponding to the event identification information.
  • the following introduces two different implementation methods for the event corresponding to the event identification information detected by the AMF.
  • Implementation method 1 when the event identification information is the state of the session, the AMF detects the state of the session of the terminal.
  • the AMF detects the session status of the terminal.
  • the first request message is used to request the session status of the terminal corresponding to the (DNN, S-NSSAI) combination or the state, so that the AMF can detect the state of the session corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the SMF detects the state of the session of the terminal.
  • the AMF sends a second request message to the SMF, the second request message includes the above event identification information, and the second request message is used to request event notification corresponding to the event identification information.
  • the SMF detects the event corresponding to the event identification information, and after detecting the event corresponding to the event identification information, the SMF sends a notification message to the AMF, and the notification message includes the state of the application of the terminal or the state of the session of the terminal.
  • the AMF receives the notification message, it indicates that the AMF has detected the event corresponding to the event identification information. Therefore, according to the second implementation method, when the AMF detects the event corresponding to the event identification information, it can be understood that the AMF receives the notification message from the SMF.
  • step 503c the AMF sends a notification message to the first PCF.
  • the first PCF receives the notification message.
  • the notification message includes the session state of the terminal or the application state of the terminal, and the session state of the terminal or the application state of the terminal is detected according to the event identification information.
  • the notification message includes the session status of the terminal, and the session status is session establishment.
  • the notification message includes the notification message from the SMF, and the notification message includes the session state of the terminal or the application state of the terminal.
  • Step 504c the first PCF determines the mobility management policy according to the state of the session of the terminal or the state of the application of the terminal.
  • this step 504c is the same as the above step 505a, and reference may be made to the foregoing description.
  • the first PCF can determine the mobility management strategy according to the session state or application state of the terminal, and can accurately determine the mobility management strategy. Moreover, compared with the method in FIG. 3 or FIG. 4, the method in FIG. 5(c) does not require the first PCF to send a subscription request message to each BSF in the network, but only needs to send a request message to one AMF, Then the state of the session or the state of the application of the terminal can be received, so the signaling overhead and waste of resources in the process of determining the mobility management policy can be reduced.
  • step 502c and step 503c may not be performed, but the following operations are performed after step 501c and before step 504c:
  • AMF sends a second request message to SMF after receiving the first request message, the The second request message includes the event identification information, and the second request message is used to request event notification corresponding to the event identification information.
  • the SMF detects the event corresponding to the event identification information, and after detecting the event corresponding to the event identification information, the SMF sends a notification message to the first PCF, and the notification message includes the application state of the terminal or the session state of the terminal.
  • the first request message may also contain the first indication information, or the above first request message and the second In the case that both the request messages include the (DNN, S-NSSAI) combination, both the first request message and the second request message may also include the first indication information.
  • the first indication information is used to indicate a notification strategy, and the notification strategy is: when the first session corresponding to the (DNN, S-NSSAI) combination is established, a notification message is sent, and/or when the (DNN, S-NSSAI) combination A notification message is sent when the corresponding last session terminates.
  • the AMF or SMF sends a notification message containing the state of the first session to the first PCF when detecting the state of the first session among the multiple sessions according to the first indication information, and/or when multiple sessions are detected
  • the state of the last session in the session sends a notification message containing the state of the last session to the first PCF, and for the states of other sessions except the first session and the last session, AMF or SMF does not need to send a notification message to the first PCF
  • the first PCF sends the status of this other session. According to this method, signaling overhead can be reduced.
  • the mobility management policy determined in step 504c includes second indication information, where the second indication information is used to indicate that the mobility management policy is determined according to the application layer information. Subsequently, the mobility management policy can be sent to the AMF, base station and terminal, so that the AMF, base station and terminal can know that the mobility management policy is determined according to the application layer information, which helps to realize the rational use of the mobility management policy.
  • the first PCF may send the mobility management policy to the AF.
  • the first PCF sends the mobility management policy to the AF based on the subscription of the AF, or the first PCF actively sends the mobility management policy to the AF.
  • FIG. 5( a ), FIG. 5( b ) and FIG. 5( c ) will be described below in conjunction with specific examples.
  • the examples shown in Figure 6 and Figure 7 below are specific examples of the solution shown in Figure 5(a) above
  • the examples shown in Figure 8 and Figure 9 below are specific examples of the solution shown in Figure 5(b) above
  • the example shown in Figure 10 below is a specific example of the solution shown in Figure 5(c) above.
  • FIG. 6 is a communication method provided by the embodiment of the present application.
  • the AF provides application layer information for a single terminal for AM policy decision-making
  • the AM PCF obtains the application layer information from the AF.
  • the method includes the following steps:
  • Step 601 to step 606 are the same as above step 301 to step 306.
  • step 607 the AM PCF sends an update request message to the UDR.
  • the UDR receives the update request message.
  • the update request message is a specific example of the request message in step 501a above.
  • the update request message includes event subscription information, terminal identification information and (DNN, S-NSSAI) combination, and the update request message is used to request the UDR to save the event subscription information in the terminal and the (DNN, S-NSSAI) combination corresponding contract data.
  • the event subscription information includes notification address and event identification information.
  • the notification address may be the address of the AM PCF.
  • the event subscription information may also include a notification association identifier, the notification The association identifier is used to distinguish the event subscription information of different terminals.
  • the update request message may be a Nudr_DM_Update Request message.
  • the condition that triggers AM PCF to execute step 607 may be, for example: AM PCF receives the application layer information for decision-making AM strategy from AF, then AM PCF determines that AM policy information needs to be determined according to the application layer information, so that AM The PCF decides to send the above update request message to the UDR. And, the AM PCF determines according to the received application layer information that it also needs to know the state of the PDU session or the state of the application. Wherein, the state of the PDU session is established or terminated, and the state of the application is started or stopped.
  • the above-mentioned event identification information can be set as the state of the PDU session (also can be PDU Session establishment/termination). If the above-mentioned information 3 or information 4 is included in the AM policy authorization request message in the above-mentioned step 606, the above-mentioned event identification information may be set as application detection (or Application start/stop). Wherein, when the event identification information is application detection, the event subscription information further includes at least one application identification.
  • indication information may also be included in the above event subscription information, and the indication information is used to indicate a notification strategy, and the notification strategy is: a multiple combination of corresponding to the same (DNN, S-NSSAI) controlled by the SM PCF PDU sessions, notify the AM PCF when the first PDU session in the multiple PDU sessions is established, and notify the AM PCF when the last PDU session in the multiple PDU sessions is terminated (or released). That is, when the first PDU session in the multiple PDU sessions is established, the AM PCF is notified, and the AM PCF does not need to be notified when establishing other PDU sessions. If there is an active PDU session, the AM PCF is notified. When at least one PDU session in the active state exists after a certain PDU session in the multiple PDU sessions is released, the AM PCF is not notified.
  • the notification strategy is: a multiple combination of corresponding to the same (DNN, S-NSSAI) controlled by the SM PCF PDU sessions, notify the AM PCF when the first
  • the UDR can send a confirmation message to the AM PCF, which includes the identifier assigned by the UDR to the event subscription information, so that the subsequent AM PCF can modify or delete the event subscription information according to the identifier.
  • the identifier assigned by UDR to event subscription information can be a resource identifier (resource uri), for example: ⁇ apiRoot ⁇ /nudr-dr/ ⁇ apiVersion>/policy-data/ues/ ⁇ ueId ⁇ /sm-data/subscriptions/ ⁇ subsId ⁇ .
  • Step 608 is the same as step 308 above.
  • step 609 the SM PCF sends a query request message to the UDR, and the UDR receives the query request message accordingly.
  • the query request message includes the identification information of the terminal and the (DNN, S-NSSAI) combination, and the query request message is used to request to query the subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
  • the query request message may be an Ndur_DM_Query request message.
  • Step 610 UDR sends query response message to SM PCF.
  • the SM PCF receives the query response message.
  • the query response message includes the terminal's subscription data corresponding to the (DNN, S-NSSAI) combination, and the subscription data includes the above-mentioned event subscription information.
  • the query response message may be a Nudr_DM_Query Response message.
  • step 611 the SM PCF sends a subscription request message to the UDR, and the UDR receives the subscription request message accordingly.
  • the subscription request message includes the identification information of the terminal and the (DNN, S-NSSAI) combination, and the subscription request message is used to request subscription of the terminal's subscription data corresponding to the (DNN, S-NSSAI) combination. That is, when the subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal in the UDR changes, the UDR actively notifies the SM PCF. Wherein, the change of the subscription data includes the change of the event subscription information.
  • the subscription request message may be an Ndur_DM_Subscribe request message.
  • Step 612 the UDR sends a subscription response message to the SM PCF.
  • the SM PCF receives the subscription response message.
  • the subscription response message may be an Ndur_DM_Subscribe response message.
  • the foregoing steps 609 to 610 may be performed, and the foregoing steps 611 to 612 may not be performed.
  • the foregoing steps 611 to 612 may be performed, and the foregoing steps 609 to 610 may not be performed.
  • Step 613 the SM PCF detects the application start/stop event.
  • the SM PCF interacts with the SMF to request detection of the application start/stop event, and then the SMF further interacts with the UPF to request the UPF to detect the application start/stop event.
  • This step is an optional step. Specifically, when the event identification information in the event subscription information acquired by the SM PCF is application detection (Application detection), then step 613 is executed.
  • application detection Application detection
  • step 614 the SM PCF sends a notification message to the AM PCF, and the AM PCF receives the notification message accordingly.
  • the SM PCF sends the notification message to the AM PCF according to the notification address in the event subscription information, and the notification message contains indication information, the indication The message indicates that the PDU session establishment is complete.
  • the SM PCF sends the notification message to the AM PCF according to the notification address , the notification message includes indication information indicating that the application has started.
  • the notification message also includes the identifiers of the applications that have started.
  • the notification message includes the notification association identifier.
  • each SM PCF sends a notification message to the AM PCF when detecting the corresponding event in the event subscription information, and the notification message includes the identification of the SM PCF, the identification of the PDU session or the terminal's at least one of the addresses.
  • the notification message may also include the identifier of the PDU session or the address of the terminal for distinguishing different PDU sessions .
  • the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
  • Step 615 to step 620 are the same as above step 314 to step 319.
  • the updated AM policy generated in step 615 may also include indication information, and the indication information is used to indicate that the updated AM policy is based on the corresponding determined by the application layer information.
  • this embodiment of the present application may also perform part or all of the following steps 621 to 627.
  • step 621 the SM PCF sends a notification message to the AM PCF, and the AM PCF receives the notification message accordingly.
  • the SM PCF detects the termination of the PDU session. For example, the SM PCF receives the SM policy association termination request message sent by the SMF, and then the SM PCF sends a notification to the AM PCF according to the notification address in the event subscription information. message, the notification message includes indication information, and the indication information indicates the termination or release of the PDU session.
  • the SMF reports to the SM PCF that the application corresponding to the application identifier is detected to be stopped, and the SM PCF sends the notification message to the AM PCF according to the notification address in the event subscription information.
  • the notification message contains an indication that the application has stopped.
  • the notification message also includes the identifiers of the stopped applications.
  • the notification message includes the notification association identifier.
  • the notification message includes at least one of the identifier of the SM PCF, the identifier of the PDU session, or the address of the terminal.
  • the notification message may also include the identifier of the PDU session or the address of the terminal for distinguishing different PDU sessions .
  • the AM PCF can determine which PDU session is terminated, or the application corresponding to which PDU session is stopped according to at least one of the identifier of the SM PCF, the identifier of the PDU session, or the address of the terminal.
  • the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
  • step 622 the AM PCF updates the AM policy.
  • the AM policy is also called a mobility management network element.
  • the AM PCF determines not to determine the AM strategy based on the application layer information provided by the AF, but to determine an updated AM strategy based on the terminal's subscription data and network strategy.
  • the specific implementation of this step can refer to the description in the aforementioned step 302.
  • Step 623 to step 627 are the same as above step 315 to step 319.
  • the updated AM policy generated in step 622 may also include indication information, and the indication information is used to indicate that the updated AM policy is not based on the terminal corresponding It is determined based on the application layer information of the terminal, or is used to indicate that the updated AM policy is determined according to the subscription data of the terminal.
  • the SM PCF obtains the event subscription information stored by the AMF in the subscription data from the UDR, and notifies the AM PCF after the PDU session is established or after the application start event is detected, thereby triggering the AM PCF to update according to the application layer information from the AF AM strategy.
  • the AM PCF does not need to subscribe to the BSF for the binding information of the SM PCF, which can prevent the AM PCF from subscribing the binding information of the SM PCF to each BSF in the network without knowing the IP address of the terminal, so that Reduce signaling overhead and resource waste.
  • FIG. 7 is a communication method provided by the embodiment of the present application.
  • the AF provides application layer information for a group of terminals or any terminal for AM policy decision-making
  • the AM PCF obtains the application layer information from the UDR.
  • the method includes the following steps:
  • Step 701 to step 705 are the same as above step 401 to step 405.
  • Step 706 to step 726 are the same as above step 607 to step 627.
  • Fig. 8 is a communication method provided by the embodiment of the present application, which is applied to the policy formulation process after the terminal moves and executes the AMF reselection process.
  • the AF provides application layer information for a single terminal for decision-making of the AM strategy
  • the target AM PCF obtains the application layer information from the AF.
  • the AMF accessed before moving is called a source AMF (source AMF), or an old AMF (old AMF).
  • the AMF accessed after moving is called the target AMF (target AMF), or called the new AMF (new AMF).
  • the AM PCF that provides services for the terminal before moving is called the source AM PCF (source AM PCF), or the old AM PCF (old AM PCF), or the third PCF.
  • the AM PCF that provides services for the terminal after moving is called the target AM PCF (target AM PCF), or the new AM PCF (new AM PCF), or the first PCF.
  • the method includes the following steps:
  • Step 801 when the terminal moves, the terminal sends a registration request message to the base station.
  • the base station receives the registration request message.
  • the registration request message carries identification information of the terminal.
  • Step 802 the base station selects a new AMF, that is, the target AMF.
  • Step 803 the base station sends a registration request message to the target AMF.
  • the target AMF receives the registration request message.
  • the registration request message carries identification information of the terminal.
  • Step 804a the target AMF sends a context request message to the source AMF.
  • the source AMF receives the context request message.
  • the context request message includes terminal identification information.
  • the context request message may be a Namf_Communication_UEContextTransfer request message.
  • Step 804b the source AMF sends a context response message to the target AMF.
  • the target AMF receives the context response message.
  • the context response message includes the context information of the terminal, and the context information includes the authorized AM strategy received by the source AMF from the source AM PCF, and the authorized AM strategy includes authorized service area restriction information and/or authorized RFSP, which can be specifically Reference is made to the foregoing description of the embodiment of FIG. 6 .
  • the context response message further includes indication information, where the indication information indicates that the AM policy in the context information is determined according to the application layer information.
  • the context response message may be a Namf_Communication_UEContextTransfer response message.
  • Step 805 the target AMF sends a status update message to the source AMF.
  • the source AMF receives the status update message.
  • the status update message is used to indicate that the status synchronization of the terminal is completed.
  • the status update message may be a Namf_Communication_RegistrationStatusUpdate message.
  • Step 806 the target AMF selects the target AM PCF, and sends an AM policy control request message to the target AM PCF.
  • the target AMF receives the AM policy control request message.
  • the AM policy control request message carries the authorized AM policy.
  • the AM policy control request message further includes the indication information of the above step 804b.
  • the AM policy control request message may be an Npcf_AMPolicyControl_Create request message.
  • Step 807 the target AM PCF sends a registration request message to the BSF.
  • the BSF receives the registration request message.
  • the target AM PCF determines not to determine the authorized AM strategy based on the subscription data of the terminal according to the received authorized AM strategy or according to the received indication information, but sends a registration request message to the BSF, and the registration request message includes
  • the specific content of the binding information of the AM PCF can refer to the description in the aforementioned 303.
  • the registration request message may be a Nbsf_Menagement_Register Request message.
  • step 808 the BSF sends a notification message to the AF.
  • the AF receives the notification message.
  • the BSF sends the notification message to the AF according to the subscription of the previous AF, and the notification message includes the identifier of the target AM PCF.
  • the subscription operation of the AF to the BSF may refer to the foregoing step 604 .
  • the notification message may be a Nbsf_Management_Notify Request message.
  • step 809 the AF sends an AM policy authorization request message to the target AM PCF, and accordingly, the target AM PCF receives the AM policy authorization request message.
  • Step 810 the target AM PCF sends an update request message to the UDR.
  • the UDR receives the update request message.
  • Step 811 UDR sends notification message to SM PCF.
  • the SM PCF receives the notification message.
  • the UDR sends a notification message to the SM PCF according to the subscription of the previous SM PCF, and the notification message includes the event subscription information saved by the target AM PCF to the UDR.
  • the subscription operation of the SM PCF to the UDR can refer to the aforementioned step 609.
  • the notification message may be a Nudr_DM_Notify request message.
  • Step 812 is the same as step 613 above.
  • step 813 the SM PCF sends a notification message to the target AM PCF, and accordingly, the target AM PCF receives the notification message.
  • Step 814 the target AM PCF sends an AM policy control response message to the target AMF.
  • the target AMF receives the AM policy control response message.
  • the target AM PCF determines that the PDU session has been established or the application has started according to the notification message received in the above step 813, then the target AM PCF determines the updated AM policy according to the application layer information received in the above step 809, wherein the updated AM policy Includes updated service area restriction information and updated RFSP.
  • the AM policy control response message does not contain the updated AM policy.
  • an indication may be included in the AM policy control response message Information to indicate that the AM policy is not updated.
  • the AM policy control response message includes the updated AM policy.
  • the AM policy control response message may be an Npcf_AmPolicyControl_Create response message.
  • Step 815 the target AMF executes the updated AM policy.
  • the AMF controls the terminal according to the updated AM policy.
  • Step 816 the target AMF sends a registration acceptance message to the terminal.
  • the terminal receives the registration acceptance message.
  • the registration acceptance message may carry the updated service area restriction information in the updated AM policy.
  • the target AMF sends a notification message to the base station, and the notification message includes the updated service area restriction information and the updated RFSP.
  • the base station controls terminal access according to the updated service area restriction information, and determines a radio resource management strategy according to the updated RFSP.
  • This step is optional, and when the target AMF receives the updated AM policy in the above step 814, this step 817 is executed.
  • Step 818 the target AM PCF sends the event notification and the updated AM policy to the AF.
  • This step is optional.
  • this step 818 is executed.
  • AM PCF can send event notification and updated AM policy to AF through Npcf_AMPolicyAuthorization_Notify message.
  • Step 819 the source AMF sends an AM policy deletion message to the source AM PCF.
  • the source AM PCF accepts the AM Policy Delete message.
  • the AM policy delete message is used to request to delete the AM policy association.
  • the AM policy deletion message may be an Npcf_AMPolicyControl_Delete message.
  • Step 820 the source AM PCF sends a de-registration request message to the BSF.
  • the BSF receives the de-registration request message.
  • the de-registration request message is used to request to delete the binding registration information of the source AM PCF.
  • the deregistration request message may be an Nbsf_Management_DeregisterRequest message.
  • Step 821 the source AM PCF sends an update request message to the UDR.
  • the UDR receives the update request message.
  • the update request message includes indication information and an identifier of the event subscription information, and the indication information is used to request deletion of the event subscription information stored in the UDR.
  • the identifier of the event subscription information in the embodiment of the present application is also referred to as first identifier information.
  • the update request message may be a Nudr_DM_Update Request message.
  • the target AMF may send the identifier of the event subscription information to the target in step 806 AM PCF, then in step 810, the target AM PCF sends an update request message to the UDR.
  • the update request message also includes the received The identifier of the event subscription information, the update request message is used to request to update the event subscription information corresponding to the identifier of the event subscription information, specifically, modify the notification address in the event subscription information from the address of the source AM PCF to the target AM The address of the PCF. In this case, the above step 821 may not need to be performed.
  • the target AM PCF can update the AM policy.
  • the target AM PCF does not need to subscribe the binding information of the SM PCF to the BSF, which can prevent the target AM PCF from subscribing the binding information of the SM PCF to each BSF in the network without knowing the IP address of the terminal.
  • signaling overhead and resource waste can be reduced.
  • FIG. 9 is a communication method provided by an embodiment of the present application, which is applied to a policy formulation process after a terminal moves and performs an AMF reselection process.
  • AF provides application layer information for a group of terminals or any terminal for AM policy decision-making
  • the target AM PCF obtains application layer information from UDR.
  • the AMF accessed before moving is called a source AMF (source AMF), or an old AMF (old AMF).
  • the AMF accessed after moving is called the target AMF (target AMF), or called the new AMF (new AMF).
  • the AM PCF that provides services for the terminal before moving is called the source AM PCF (source AM PCF), or the old AM PCF (old AM PCF), or the third PCF.
  • the AM PCF that provides services for the terminal after moving is called the target AM PCF (target AM PCF), or the new AM PCF (new AM PCF), or the first PCF.
  • the method includes the following steps:
  • Step 901 to step 903 are the same as above step 801 to step 803.
  • Step 904a to step 904b are the same as above step 804a to step 804b.
  • Step 905 to step 906 are the same as above step 805 to step 806.
  • Step 907 the target AM PCF sends a subscription request message to the UDR.
  • the UDR receives the subscription request message.
  • the target AM PCF determines not to immediately determine the authorized AM strategy based on the subscription data of the terminal according to the received authorized AM strategy or according to the received indication information, but sends a subscription request message to the UDR, in which the subscription request message Contains (S-NSSAI, DNN) combination and external group ID.
  • the subscription request message is used for subscribing to application data related to AM, or understood as subscribing to AM influence information (AM influence information).
  • the AM impact information may also be referred to as application layer information.
  • the subscription request message may be a Nudr_DM_Subscribe request message.
  • Step 908 the UDR sends a notification message to the target AM PCF.
  • the target AM PCF receives the notification message.
  • the notification message includes AM impact information.
  • the notification message may be a Nudr_DM_Notify request message.
  • Step 909 the target AM PCF sends an update request message to the UDR.
  • the UDR receives the update request message.
  • Step 910 to step 918 are the same as above step 811 to step 819.
  • Step 919 is the same as step 821 above.
  • Figure 10 is a communication method provided by the embodiment of the present application. This method is a solution for AMPCF to subscribe to the above events to SMF via AMF. In this way, the SMPCF that AMPCF obtains the SMPCF identity and initiates event subscription to SMPCF can be avoided. Find out the problems raised, for example, it can avoid that AMPCF may need to subscribe SMPCF information to multiple BSF instances.
  • the method includes the following steps:
  • Step 1001 to step 1006 are the same as above step 601 to step 606.
  • Step 1007 the AM PCF sends an update request message to the AMF.
  • the AMF receives the update request message.
  • the update request message is an example of the first request message in step 501c above.
  • the AM PCF receives the application layer information used to decide the AM policy from the AF, and the AM PCF determines that the AM policy information needs to be determined according to the application layer information, so the AM PCF decides to send the above update request message to the AMF. And, the AM PCF determines according to the received application layer information that it also needs to know the state of the PDU session or the state of the application. Wherein, the state of the PDU session is established or terminated, and the state of the application is started or stopped.
  • the update request message includes event subscription information and (DNN, S-NSSAI) combination, and the update request message is used to request the AMF to subscribe the event corresponding to the event subscription information to the SMF corresponding to the (DNN, S-NSSAI) combination.
  • the event subscription information includes event identification information.
  • the above-mentioned information 1 or information 2 is included in the AM policy authorization request message in step 1006
  • the above-mentioned event identification information may be set as the state of the PDU session.
  • the above-mentioned information 3 or information 4 is included in the AM policy authorization request message in step 1006, the above-mentioned event identification information can be set as application detection (or Application start/stop).
  • the event subscription information further includes at least one application identification.
  • the event subscription information also includes a notification address, which is the address of the AM PCF.
  • the AMF modifies the notification address in the event subscription information to the address of the AMF.
  • the above-mentioned event subscription information may also include indication information, the indication information is used to indicate the notification strategy, and the notification strategy is: multiple PDU session, notify AM PCF when the first PDU session in the multiple PDU sessions is established, and notify AM PCF when the last PDU session in the multiple PDU sessions is terminated (or released). That is, when the first PDU session in the multiple PDU sessions is established, the AM PCF is notified, and the AM PCF does not need to be notified when establishing other PDU sessions. If there is an active PDU session, the AM PCF is notified. When at least one PDU session in the active state exists after a certain PDU session in the multiple PDU sessions is released, the AM PCF is not notified.
  • the notification strategy is: multiple PDU session, notify AM PCF when the first PDU session in the multiple PDU sessions is established, and notify AM PCF when the last PDU session in the multiple PDU sessions is terminated (or released). That is, when the first PDU session in the multiple PDU sessions is established,
  • the update request message may be an Npcf_AMPolicyControl_UpdateNotify message.
  • Step 1008 after receiving the update request message, the AMF judges whether the target PDU session has been established.
  • the target PDU session is the PDU session corresponding to the (DNN, S-NSSAI) combination.
  • step 1009 is performed.
  • step 1009 the AMF sends a subscription request message to the SMF.
  • the SMF receives the subscription request message.
  • the SMF is the SMF that provides services for the target PDU session, or it can be understood that the SMF is the SMF corresponding to the combination of (DNN, S-NSSAI).
  • the subscription request message includes the above event subscription information.
  • the subscription request message may be an Nsmf_EventExposure_Subscribe message.
  • Step 1010 the terminal sends a session establishment request message to the AMF.
  • the AMF receives the session establishment request message.
  • the session establishment request message may be a PDU Session Establishment Request message.
  • Step 1011 AMF sends a subscription request message to SMF.
  • the SMF receives the subscription request message.
  • step 1011 is performed.
  • This step 1011 is the same as the above step 1009, and reference may be made to the foregoing description.
  • Step 1012 the SMF performs event detection according to the event subscription information.
  • the SMF detects the state of the PDU session. If the event identification information in the event subscription information is application detection, the SMF detects that the application is started or stopped.
  • Step 1013 the SMF sends a notification message to the AMF.
  • the AMF receives the notification message.
  • the notification message includes indication information indicating that the establishment of the PDU session is completed.
  • the notification message includes indication information indicating that the application has started.
  • the notification message also includes the identifiers of the applications that have started.
  • the notification message may be an Nsmf_EventExposure_Notify message.
  • Step 1014 AMF sends a notification message to AM PCF.
  • the AM PCF receives the notification message.
  • the content contained in the notification message is the same as the content contained in the notification message in step 1013 above.
  • the notification message may be an Npcf_AMPolicyControl_Update message.
  • Step 1015 to step 1020 are the same as above step 615 to step 620.
  • the following steps 1021 to 1028 may also be performed.
  • step 1021 the SMF sends a notification message to the AMF.
  • the AMF receives the notification message.
  • the notification message includes indication information, and the indication information indicates the termination or release of the PDU session.
  • the notification message includes indication information, and the indication information indicates that the application has stopped.
  • the notification message also includes the identifiers of the stopped applications.
  • the notification message may be an Nsmf_EventExposure_Notify message.
  • step 1022 the AMF sends a notification message to the AM PCF.
  • the AM PCF receives the notification message.
  • the content contained in the notification message is the same as the content contained in the notification message in step 1021 above.
  • the notification message may be an Npcf_AMPolicyControl_Update message.
  • Step 1023 to step 1028 are the same as above step 622 to step 627.
  • the AM PCF obtains the state of the PDU session or the state of the application from the AMF, thereby triggering the AM PCF to update the AM policy according to the application layer information from the AF.
  • the AM PCF does not need to subscribe to the BSF for the binding information of the SM PCF, which can prevent the AM PCF from subscribing the binding information of the SM PCF to each BSF in the network without knowing the IP address of the terminal, so that Reduce signaling overhead and resource waste.
  • the AF and the base station 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. 11 and FIG. 12 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 first PCF, the second PCF, UDR, AMF or SMF in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments.
  • the communication device may be the first PCF, the second PCF, UDR, AMF or SMF, or a module (such as a chip) applied to the first PCF, the second PCF, UDR, AMF or SMF ).
  • a communication device 1100 includes a processing unit 1110 and a transceiver unit 1120 .
  • the communication device 1100 is used to implement the first PCF, second PCF, UDR, AMF or SMF in the method embodiments shown in FIG. 5(a), FIG. 5(b), FIG. 5(c), and FIG. 6 to FIG. 10 function.
  • the transceiver unit 1120 is configured to send a request message to the data management network element, the request message contains terminal identification information, event identification information and notification address, the event identification information is used to indicate the state of the detection session or the application state, and the notification address is the first policy control for receiving the event notification corresponding to the event identification information
  • the address of the network element, the request message is used to request the data management network element to save the event identification information and the notification address; receive the notification message from the second policy control network element, the notification message contains the session status of the terminal or The state of the application of the terminal, the state of the session of the terminal or the state of the application of the terminal is detected according to the event identification information obtained from the data management network element
  • the processing unit 1110 is configured to, according to the state of the session of the terminal The state or the state of the application of the terminal determines the mobility management policy; wherein, the first policy control network
  • the processing unit 1110 is specifically configured to: when the session state of the terminal is session establishment or the application state of the terminal is application start, the first policy control network element according to the application function network element Application layer information determines the mobility management policy.
  • the transceiver unit 1120 is further configured to receive a response message from the data management network element, where the response message includes first identification information, and the first identification information is the event identification information and the notification address The first identification information is used to modify or delete the event identification information and/or the notification address.
  • the transceiver unit 1120 is further configured to send the mobility management policy to the application function network element.
  • the transceiver unit 1120 is further configured to receive third indication information from the mobility management network element, where the third indication information is used to indicate that the mobility management strategy used by the terminal is determined according to the application layer information
  • the first policy control network element delays determining the mobility management policy according to the third indication information; wherein the first policy control network element is a policy control network element that provides services for the terminal after the terminal moves.
  • the transceiver unit 1120 is used to receive event identification information and notifications from data management network elements address, the event identification information is used to indicate the status of the detection session or the application status, the notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information; the processing unit 1110 is configured to, according to The event identification information detects the session state of the terminal or the application state of the terminal; the transceiver unit 1120 is further configured to send a notification message to the first policy control network element according to the notification address, and the notification message includes the terminal's The state of the session or the state of the application of the terminal; wherein, the first policy control network element is used to formulate a mobility management policy, and the second policy control network element is used to formulate a session management policy.
  • the transceiver unit 1120 is configured to send a query request message to the data management network element, where the query request message is used to request to query the subscription data of the terminal; the second policy control network element receives the data from the A query response message of the management network element, the query response message includes the subscription data of the terminal, and the subscription data includes the event identification information and the notification address.
  • the transceiver unit 1120 is configured to send a subscription data subscription request message to the data management network element, and the subscription data subscription request message is used to request a notification of a change in the subscription data of the terminal;
  • a notification message of the network element, the notification message includes the changed subscription data of the terminal, and the changed subscription data includes the event identification information and the notification address.
  • the transceiver unit 1120 is configured to receive a request message from the first policy control network element, the request The message includes terminal identification information, event identification information and a notification address, the event identification information is used to indicate the state of the detection session or the application state, and the notification address is the first address used to receive the event notification corresponding to the event identification information
  • the address of the policy control network element the request message is used to request the data management network element to save the event identification information and the notification address; and send the event identification information and the notification address to the second policy control network element; wherein, the first A policy control network element is used to formulate a mobility management policy, and the second policy control network element is used to formulate a session management policy.
  • the transceiver unit 1120 is configured to receive a query request message from the second policy control network element, where the query request message is used to request to query the subscription data of the terminal; An inquiry response message is sent, the inquiry response message includes the subscription data of the terminal, and the subscription data includes the event identification information and the notification address.
  • the transceiver unit 1120 is configured to receive a subscription data subscription request message from the second policy control network element, where the subscription data subscription request message is used to request a notification of a change in the subscription data of the terminal;
  • the second policy control network element sends a notification message, the notification message includes the changed subscription data of the terminal, and the changed subscription data includes the event identification information and the notification address.
  • the transceiver unit 1120 is configured to send a response message to the first policy control network element, where the response message includes first identification information, and the first identification information is the event identification information and the notification address The first identification information is used to modify or delete the event identification information and/or the notification address.
  • the transceiver unit 1120 is configured to send a request message to the data management network element, the request message contains the first identification information and the first notification address, the first identification information is the event identification information saved by the data management network element and the identification information of the second notification address, the event identification information is used to indicate the status of the detection session or the application state, the first notification address is the address of the first policy control network element used to receive the event notification corresponding to the event identification information, and the second notification address is the third network element used to receive the event notification corresponding to the event identification information
  • the address of the policy control network element, the request message is used to request the data management network element to update the second notification address to the first notification address; and receive a notification message from the second policy control network element, the notification message includes The state of the session of the terminal or the state of the application of the terminal, the state of the session of the terminal or the state of the application of the
  • the request message includes event identification information
  • the event identification information is used to indicate the state of the session of the detection terminal or the state of the application of the terminal
  • the first request message is used to request the event notification corresponding to the event identification information
  • receiving the event notification from the A notification message from the mobility management network element or the session management network element corresponding to the session the notification message includes the session status of the terminal or the application status of the terminal, the session status of the terminal or the application status of the terminal It is detected according to the event identification information
  • the processing unit 1110 is configured to determine a mobility management policy according to the session state of the terminal or the application state of the terminal
  • the first policy control network element is used to formulate mobility management strategy.
  • the processing unit 1110 is specifically configured to: when the state of the session is session establishment or the state of the application is application start, the first policy control network element according to the application layer information from the application function network element Determine the mobility management strategy.
  • the transceiver unit 1120 is configured to send the mobility management policy to the application function network element.
  • the transceiver unit 1120 is configured to receive a second request message from a mobility management network element, the second request The message includes event identification information, the event identification information is used to indicate the state of the session of the detection terminal or the state of the application of the terminal, and the second request message is used to request the event notification corresponding to the event identification information;
  • the processing unit 1110 is configured to According to the event identification information, detect the state of the session of the terminal or the state of the application of the terminal;
  • the transceiver unit 1120 is further configured to send a notification message to the mobility management network element or the first policy control network element corresponding to the terminal, The notification message includes the session state of the terminal or the application state of the terminal; wherein the first policy control network element is a policy control network element for formulating a mobility management policy.
  • the request message includes event identification information
  • the event identification information is used to indicate the state of the session of the detection terminal or the state of the application of the terminal
  • the first request message is used to request an event notification corresponding to the event identification information
  • the processing unit 1110 After detecting the event corresponding to the event identification information, send a notification message to the first policy control network element, the notification message includes the state of the session of the terminal or the state of the application of the terminal, the state of the session of the terminal or the state of the application of the terminal.
  • the state of is detected according to the event identification information; the processing unit 1110 is configured to detect an event corresponding to the event identification information, wherein the first policy control network element is used to formulate a mobility management policy.
  • the transceiver unit 1120 is configured to send the notification to the first policy control network element after the processing unit 1110 detects that the session corresponding to the (DNN, S-NSSAI) combination of the terminal is established message, the notification message includes the status of the session, and the status of the session is session establishment.
  • the transceiver unit 1120 is configured to send a second request message to the session management network element, the second request message includes the event identification information, and the second request message is used to request that the event identification information corresponds to event notification; receive a notification message from the session management network element, the notification message includes the application state of the terminal or the session state of the terminal; send the notification message to the first policy control network element, the notification message contains the state of the terminal's application or the state of the terminal's session.
  • processing unit 1110 and the transceiver unit 1120 can be directly obtained by referring to the relevant descriptions in the method embodiments shown in Fig. 5(a), Fig. 5(b), Fig. 5(c), and Fig. 6 to Fig. 10 , without repeating them here.
  • a communication device 1200 includes a processor 1210 and an interface circuit 1220 .
  • the processor 1210 and the interface circuit 1220 are coupled to each other.
  • the interface circuit 1220 may be a transceiver or an input/output interface.
  • the communication device 1200 may further include a memory 1230 for storing instructions executed by the processor 1210 or storing input data required by the processor 1210 to execute the instructions or storing data generated after the processor 1210 executes the instructions.
  • the circuit 1220 is used to realize the functions of the transceiver unit 1120 described above.
  • the processor in the embodiments of the present application can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose 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.
  • 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; 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.

Abstract

本申请提供通信方法、通信装置及通信系统。该方法中,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息和通知地址保存至数据管理网元,便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。

Description

通信方法、通信装置及通信系统
相关申请的交叉引用
本申请要求在2021年07月30日提交中国专利局、申请号为202110875024.1、申请名称为“通信方法、通信装置及通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及无线通信技术领域,尤其涉及通信方法、通信装置及通信系统。
背景技术
在第五代(5th generation,5G)系统中,当终端注册到接入与移动性管理功能(access and mobility management function,AMF)网元时,AMF网元与接入与移动性管理策略控制网元(access and mobility management policy control function,AM PCF)网元交互,建立接入与移动性策略关联(access and mobility policy association,AMpolicy association)。然后AM PCF网元制定移动性策略提供给AMF网元,用于AMF网元的策略执行。
然而,如何实现精确确定移动性管理策略,是目前需要解决的。
发明内容
本申请提供通信方法、通信装置及通信系统,用以实现精确确定移动性管理策略。
第一方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向数据管理网元发送请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;该第一策略控制网元接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息和通知地址保存至数据管理网元,便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。
作为一种可能的实现方法,当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元根据来自应用功能网元的应用层信息确定该移动性管理 策略。
根据上述方案,可以实现准确确定移动性管理策略。
作为一种可能的实现方法,该应用层信息中包含(数据网名称(data network name,DNN),单网络切片选择辅助信息(single network slice selection assistance information,S-NSSAI))组合,该请求消息中还包含该(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合。
根据上述方案,可以实现基于(DNN,S-NSSAI)组合,对事件标识信息进行精细化管理。
作为一种可能的实现方法,该请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该通知消息。
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。
作为一种可能的实现方法,该移动性管理策略中包含第二指示信息,该第二指示信息用于指示该移动性管理策略是根据该应用层信息确定的。
根据上述方案,使得接收到移动性管理策略的设备可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。
作为一种可能的实现方法,该第一策略控制网元接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。
根据该方案,可以实现对数据管理网元保存的事件标识信息和通知地址的快速修改或删除。
作为一种可能的实现方法,该第一策略控制网元向应用功能网元发送该移动性管理策略。
作为一种可能的实现方法,该第一策略控制网元接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;该第一策略控制网元根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。
根据该方案,有助于实现准确确定移动性管理策略。
第二方面,本申请实施例提供一种通信方法,该方法可以由第二策略控制网元或应用于第二策略控制网元中的模块(如芯片)来执行。以第二策略控制网元执行该方法为例,第二策略控制网元接收来自数据管理网元的事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址;该第二策略控制网元根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;该第二策略控制网元根据该通知地址,向该第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。并且,第二策略控制网元可以从数据管 理网元获取到需要检测的事件的事件标识信息,以及获取到接收事件通知的第一策略控制网元的地址,从而可以实现将事件通知快速通知给第一策略控制网元。
作为第一方面或第二方面的一种可能的实现方法,该通知消息中还包括终端的会话的标识、终端的地址或第二策略控制网元的标识中的至少一个。
作为一种可能的实现方法,该第二策略控制网元向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该第二策略控制网元接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。
根据上述方案,第二策略控制网元可以通过查询请求,实时地从数据管理网元获取到事件标识信息和通知地址,有助于第二策略控制网元能够及时获取到事件标识信息和通知地址。
作为一种可能的实现方法,该查询请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。
作为一种可能的实现方法,该第二策略控制网元向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;该第二策略控制网元接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。
根据上述方案,不需要第二策略控制网元频繁地向数据管理网元发送用于请求查询终端的签约数据的查询请求消息,而是通过发送一个签约数据订阅请求消息,后续可以由数据管理网元主动向第二策略控制网元发送终端的签约数据,因此可以减少信令开销。
作为一种可能的实现方法,该签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该签约数据订阅请求用于请求该终端的与该(DNN,S-NSSAI)组合对应的签约数据改变的通知。
第三方面,本申请实施例提供一种通信方法,该方法可以由数据管理网元或应用于数据管理网元中的模块(如芯片)来执行。以数据管理网元执行该方法为例,数据管理网元接收来自第一策略控制网元的请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址;该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;该数据管理网元向第二策略控制网元发送该事件标识信息和该通知地址;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
根据上述方案,数据管理网元作为连接第一策略控制网元与第二策略控制网元的中间节点,可以接收来自第一策略控制网元的终端的标识信息、事件标识信息和通知地址,并将事件标识信息和通知地址,以便于第二策略控制网元根据事件标识信息进行检测,并将检测到的事件发送给第一策略控制网元,从而省去了第一策略控制网元寻找第二策略控制网元的地址的过程,可以减少不必要的信令开销。
作为一种可能的实现方法,该数据管理网元接收来自该第二策略控制网元的查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该数据管理网元向该第二策略控制网元发送查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含 该事件标识信息和该通知地址。
根据上述方案,数据管理网元可以根据第二策略控制网元发送的查询请求,实时地向第二策略控制网元发送事件标识信息和通知地址,有助于第二策略控制网元能够及时获取到事件标识信息和通知地址。
作为一种可能的实现方法,该查询请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。
作为一种可能的实现方法,该数据管理网元接收来自该第二策略控制网元的签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;该数据管理网元向该第二策略控制网元发送通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。
根据上述方案,不需要第二策略控制网元频繁地向数据管理网元发送用于请求查询终端的签约数据的查询请求消息,而是通过发送一个签约数据订阅请求消息,后续可以由数据管理网元主动向第二策略控制网元发送终端的签约数据,因此可以减少信令开销。
作为一种可能的实现方法,该签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该签约数据订阅请求用于请求该终端的与该(DNN,S-NSSAI)组合对应的签约数据改变的通知。
作为一种可能的实现方法,该数据管理网元向该第一策略控制网元发送响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。
根据该方案,可以实现对数据管理网元保存的事件标识信息和通知地址的快速修改或删除。
第四方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该第二通知地址是用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;该第一策略控制网元接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元和该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元通过第一标识信息对数据管理网元保存的第二事件通知地址进行修改,后续第二策略控制网元可以从数 据管理网元获取到事件标识信息和更新后的第一通知地址,然后第一策略控制网元便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。
作为一种可能的实现方法,该通知消息中还包括终端的会话的标识、终端的地址或第二策略控制网元的标识中的至少一个。
第五方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向移动性管理网元发送第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;该第一策略控制网元接收来自该移动性管理网元或该会话对应的会话管理网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略。
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息发送给移动性管理网元,便可以快速接收到终端的会话的状态或该终端的应用的状态,有助于提升确定移动性管理策略的速度。
作为一种可能的实现方法,当该会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元根据该来自应用功能网元的应用层信息确定该移动性管理策略。
根据上述方案,可以实现准确确定移动性管理策略。
作为一种可能的实现方法,该第一请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该通知消息。
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。
作为一种可能的实现方法,该移动性管理策略中包含第二指示信息,该第二指示信息用于指示该移动性管理策略是根据应用层信息确定的。
根据上述方案,使得接收到移动性管理策略的设备可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。
作为一种可能的实现方法,该第一策略控制网元向应用功能网元发送该移动性管理策略。
第六方面,本申请实施例提供一种通信方法,该方法可以由会话管理网元或应用于会话管理网元中的模块(如芯片)来执行。以会话管理网元执行该方法为例,会话管理网元接收来自移动性管理网元的第二请求消息,该第二请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第二请求消息用于请求该事件标识信息对应的事件通知;该会话管理网元根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;该会话管理网元向该移动性管理网元或该终端对应的第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中该第一策略控制网元为用于制定移动性管理策略的策略控制网元。
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。
作为一种可能的实现方法,该第二请求消息中还包含(DNN,S-NSSAI)组合,该第二请求消息用于请求该终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。
作为一种可能的实现方法,该第二请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该通知消息。
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。
第七方面,本申请实施例提供一种通信方法,该方法可以由移动性管理网元或应用于移动性管理网元中的模块(如芯片)来执行。以移动性管理网元执行该方法为例,移动性管理网元接收来自第一策略控制网元的第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;该移动性管理网元检测到该事件标识信息对应的事件后,向该第一策略控制网元发送通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,终端的会话的状态或终端的应用的状态是根据事件标识信息检测得到的;其中,该第一策略控制网元用于制定移动性管理策略。
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。
作为第五方面或第七方面的一种可能的实现方法,该第一请求消息中还包含(DNN,S-NSSAI)组合,该第一请求消息用于请求该终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。
根据上述方案,可以实现基于(DNN,S-NSSAI)组合,对事件标识信息进行精细化管理。
作为一种可能的实现方法,该移动性管理网元在检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该通知消息,该通知消息中包含该会话的状态,该会话的状态为会话建立。
作为一种可能的实现方法,该移动性管理网元向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;该移动性管理网元接收来自该会话管理网元的通知消息,该通知消息中包含该终端的应用的状态或该终端的会话的状态;该移动性管理网元向该第一策略控制网元发送该通知消息。
作为第一方面至第七方面的任意方面的一种可能的实现方法,该事件标识信息是根据来自应用功能网元的应用层信息确定的。
第八方面,本申请实施例提供一种通信装置,该装置可以是第一策略控制网元,还可以是用于第一策略控制网元的芯片。该装置具有实现上述第一方面、第四方面或第五方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第九方面,本申请实施例提供一种通信装置,该装置可以是第二策略控制网元,还可 以是用于第二策略控制网元的芯片。该装置具有实现上述第二方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第十方面,本申请实施例提供一种通信装置,该装置可以是数据管理网元,还可以是用于数据管理网元的芯片。该装置具有实现上述第三方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第十一方面,本申请实施例提供一种通信装置,该装置可以是会话管理网元,还可以是用于会话管理网元的芯片。该装置具有实现上述第六方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第十二方面,本申请实施例提供一种通信装置,该装置可以是移动性管理网元,还可以是用于移动性管理网元的芯片。该装置具有实现上述第七方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第十三方面,本申请实施例提供一种通信装置,包括处理器和存储器;该存储器用于存储计算机指令,当该装置运行时,该处理器执行该存储器存储的计算机指令,以使该装置执行上述第一方面至第七方面中的任意实现方法。
第十四方面,本申请实施例提供一种通信装置,包括用于执行上述第一方面至第七方面中的任意实现方法的各个步骤的单元或手段(means)。
第十五方面,本申请实施例提供一种通信装置,包括处理器和接口电路,所述处理器用于通过接口电路与其它装置通信,并执行上述第一方面至第七方面中的任意实现方法。该处理器包括一个或多个。
第十六方面,本申请实施例提供一种通信装置,包括与存储器耦合的处理器,该处理器用于调用所述存储器中存储的程序,以执行上述第一方面至第七方面中的任意实现方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器可以是一个或多个。
第十七方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在通信装置上运行时,使得上述第一方面至第七方面中的任意实现方法被执行。
第十八方面,本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当计算机程序或指令被通信装置运行时,使得上述第一方面至第七方面中的任意实现方法被执行。
第十九方面,本申请实施例还提供一种芯片系统,包括:处理器,用于执行上述第一方面至第七方面中的任意实现方法。
第二十方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第一方面的任意实现方法的第一策略控制网元和用于向所述第一策略控制网元发送通知消息的第二策略控制网元。
作为一种可能的实现方法,所述第二策略控制网元,还用于执行上述第二方面的任意实现方法。
作为一种可能的实现方法,该通信系统还包括用于执行上述第三方面的任意实现方法 的数据管理网元。
第二十一方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第四方面的任意实现方法的第一策略控制网元和用于向所述第一策略控制网元发送通知消息的第二策略控制网元。
作为一种可能的实现方法,所述第二策略控制网元,还用于执行上述第二方面的任意实现方法。
作为一种可能的实现方法,该通信系统还包括用于执行上述第三方面的任意实现方法的数据管理网元。
第二十二方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第五方面的任意实现方法的第一策略控制网元和用于接收来自所述第一策略控制网元的第一请求消息的移动性管理网元。
作为一种可能的实现方法,该移动性管理网元还用于执行上述第七方面的任意实现方法。
作为一种可能的实现方法,该通信系统还包括用于执行上述第六方面的任意实现方法的会话管理网元。
附图说明
图1(a)为本申请实施例提供的一种通信系统示意图;
图1(b)为本申请实施例提供的另一种通信系统示意图;
图2(a)为基于服务化架构的5G网络架构示意图;
图2(b)为基于点对点接口的5G网络架构示意图;
图3为本申请实施例提供的AM策略生成及使用的流程示意图;
图4为本申请实施例提供的AM策略生成及使用的流程示意图;
图5(a)为本申请实施例提供的一种通信方法的流程示意图;
图5(b)为本申请实施例提供的一种通信方法的流程示意图;
图5(c)为本申请实施例提供的一种通信方法的流程示意图;
图6为本申请实施例提供的一种通信方法的流程示意图;
图7为本申请实施例提供的一种通信方法的流程示意图;
图8为本申请实施例提供的一种通信方法的流程示意图;
图9为本申请实施例提供的一种通信方法的流程示意图;
图10为本申请实施例提供的一种通信方法的流程示意图;
图11为本申请实施例提供的一种通信装置示意图;
图12为本申请实施例提供的一种通信装置示意图。
具体实施方式
为实现精确确定AM策略,如图1(a)所示,本申请提供一种通信系统,该系统包括第一策略控制网元和第二策略控制网元,可选的,还包括数据管理网元。
在第一个实施例中:
第一策略控制网元,用于向数据管理网元发送请求消息,该请求消息中包含终端的标 识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;以及接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略。第二策略控制网元,用于向第一策略控制网元发送该通知消息。其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
作为一种可能的实现方法,该第二策略控制网元,还用于接收来自数据管理网元的该事件标识信息和该通知地址;根据该事件标识信息,检测终端的会话的状态或终端的应用的状态。该第二策略控制网元,用于根据该通知地址,向该第一策略控制网元发送通知消息。
作为一种可能的实现方法,数据管理网元,用于接收来自第一策略控制网元的该请求消息,以及向第二策略控制网元发送该事件标识信息和该通知地址。
作为一种可能的实现方法,该第一策略控制网元,用于接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。数据管理网元,用于向该第一策略控制网元发送该响应消息。
作为一种可能的实现方法,该第二策略控制网元,用于向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;以及接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。该数据管理网元,用于接收来自该第二策略控制网元的该查询请求消息,以及向该第二策略控制网元发送该查询响应消息。
作为一种可能的实现方法,该第二策略控制网元,用于向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;以及接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。数据管理网元,用于接收来自该第二策略控制网元的签约数据订阅请求消息;以及向该第二策略控制网元发送该通知消息。
在第二个实施例中:
第一策略控制网元,用于向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该第二通知地址是用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;以及根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略。第二策略控制网元,用于向第一策略控制网元发送该通知消息。其中,该第一策略控制网元和 该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。
作为一种可能的实现方法,第二策略控制网元,还用于接收来自数据管理网元的该事件标识信息和该第一通知地址;根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;以及根据该第一通知地址,向该第一策略控制网元发送通知消息。
作为一种可能的实现方法,数据管理网元,用于接收来自第一策略控制网元的该请求消息,以及向第二策略控制网元发送该事件标识信息和该第一通知地址。
基于上述第一个实施例或第二个实施例:
作为一种可能的实现方法,当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元,还用于根据来自应用功能网元的应用层信息确定该移动性管理策略。
作为一种可能的实现方法,该第一策略控制网元,用于向应用功能网元发送该移动性管理策略。
作为一种可能的实现方法,该第一策略控制网元,用于接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;以及根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。
图1(a)所示的系统可以用在图2(a)或图2(b)所示的5G网络架构中,当然,也可以用在未来网络架构,比如第六代(6th generation,6G)网络架构等,本申请不做限定。
为实现精确确定AM策略,如图1(b)所示,本申请提供一种通信系统,该系统包括第一策略控制网元和移动性管理网元,可选的,还包括会话管理网元。
第一策略控制网元,用于向移动性管理网元发送第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;该第一策略控制网元接收来自该移动性管理网元或该会话对应的会话管理网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据该事件标识信息检测得到的;根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略;移动性管理网元,用于接收该第一请求消息。
作为一种可能的实现方法,该移动性管理网元,用于在检测到该事件标识信息对应的事件后,向该第一策略控制网元发送该事件通知;其中,该第一策略控制网元用于制定移动性管理策略。
作为一种可能的实现方法,当该会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元,用于根据该来自应用功能网元的应用层信息确定该移动性管理策略。
作为一种可能的实现方法,该移动性管理网元,用于在检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该会话的状态,该会话的状态为会话建立。
作为一种可能的实现方法,该第一策略控制网元,用于向应用功能网元发送该移动性 管理策略。
作为一种可能的实现方法,该移动性管理网元,用于向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;接收来自该会话管理网元的通知消息,该通知消息中包含该终端的应用的状态或该终端的会话的状态;以及向该第一策略控制网元发送该终端的应用的状态或该终端的会话的状态。
作为一种可能的实现方法,会话管理网元,用于接收来自移动性管理网元的该第二请求消息;根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;以及向该移动性管理网元或该终端对应的第一策略控制网元发送该通知消息。
图1(b)所示的系统可以用在图2(a)或图2(b)所示的5G网络架构中,当然,也可以用在未来网络架构,比如6G网络架构等,本申请不做限定。
图2(a)为基于服务化架构的5G网络架构示意图。图2(a)所示的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)网元、AMF网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、绑定支持功能(binding support funciton,BSF)网元(图中未示出)、无线接入网(radio access network,RAN)设备等。上述运营商网络中,除无线接入网设备之外的网元或设备可以称为核心网网元或核心网设备。
无线接入网设备可以是基站(base station)、演进型基站(evolved NodeB,eNodeB)、发送接收点(transmission reception point,TRP)、5G移动通信系统中的下一代基站(next generation NodeB,gNB)、6G移动通信系统中的下一代基站、未来移动通信系统中的基站或无线保真(wireless fidelity,WiFi)系统中的接入节点等;也可以是完成基站部分功能的模块或单元,例如,可以是集中式单元(central unit,CU),也可以是分布式单元(distributed unit,DU)。无线接入网设备可以是宏基站,也可以是微基站或室内站,还可以是中继节点或施主节点等。本申请的实施例对无线接入网设备所采用的具体技术和具体设备形态不做限定。为便于说明,在本申请的实施例中,以基站作为无线接入网设备的一个举例进行描述。
与RAN通信的终端也可以称为终端设备、用户设备(user equipment,终端)、移动台、移动终端等。终端可以广泛应用于各种场景,例如,设备到设备(device-to-device,D2D)、车物(vehicle to everything,V2X)通信、机器类通信(machine-type communication,MTC)、物联网(internet of things,IOT)、虚拟现实、增强现实、工业控制、自动驾驶、远程医疗、智能电网、智能家具、智能办公、智能穿戴、智能交通、智慧城市等。终端可以是手机、平板电脑、带无线收发功能的电脑、可穿戴设备、车辆、无人机、直升机、飞机、轮船、机器人、机械臂、智能家居设备等。本申请的实施例对终端所采用的具体技术和具体设备 形态不做限定。
基站和终端可以是固定位置的,也可以是可移动的。基站和终端可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对基站和终端的应用场景不做限定。
AMF网元,包含执行移动性管理、接入鉴权/授权等功能。此外,还负责在终端与PCF间传递用户策略。
SMF网元,包含执行会话管理、PCF下发控制策略的执行、UPF的选择、终端的互联网协议(internet protocol,IP)地址分配等功能。
UPF网元,作为和数据网络的接口UPF,包含完成用户面数据转发、基于会话/流级的计费统计,带宽限制等功能。
UDM网元,包含执行管理签约数据、用户接入授权等功能。
UDR,包含执行签约数据、策略数据、应用数据等类型数据的存取功能。
NEF网元,用于支持能力和事件的开放。
AF网元,传递应用侧对网络侧的需求,例如,QoS需求或用户状态事件订阅等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP Multimedia Subsystem,IMS)语音呼叫业务。
PCF网元,包含负责针对会话、业务流级别进行计费、QoS带宽保障及移动性管理、终端策略决策等策略控制功能。PCF网元包括AM PCF网元和会话管理策略控制功能(session management PCF,SM PCF)网元,AM PCF网元可以提供移动性管理策略,SM PCF网元可以提供会话管理策略。
NRF网元,可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。NRF还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。
BSF网元,可提供BSF服务注册/注销/更新,与NRF连接检测,会话绑定信息创建,UE信息的获取,IP地址重复的会话绑定信息查询等功能。
AUSF网元,负责对用户进行鉴权,以确定是否允许用户或设备接入网络。
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。
图2(a)中Npcf、Nufr、Nudm、Naf、Namf、Nsmf分别为上述PCF、UDR、UDM、AF、AMF和SMF提供的服务化接口,用于调用相应的服务化操作。N1、N2、N3、N4,以及N6为接口序列号。这些接口序列号的含义可参见第三代合作伙伴计划(3rd generation partnership project,3GPP)标准协议中定义的含义,在此不做限制。
图2(b)为基于点对点接口的5G网络架构示意图,其中的网元的功能的介绍可以参考图2(a)中对应的网元的功能的介绍,不再赘述。图2(b)与图2(a)的主要区别在于:图2(a) 中的各个控制面网元之间的接口是服务化的接口,图2(b)中的各个控制面网元之间的接口是点对点的接口。
在图2(b)所示的架构中,各个网元之间的接口名称及功能如下:
1)、N1:AMF与终端之间的接口,可以用于向终端传递QoS控制规则等。
2)、N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。
3)、N3:RAN与UPF之间的接口,主要用于传递RAN与UPF间的上下行用户面数据。
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。
5)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。
6)、N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。
7)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。
8)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端当前移动性管理相关信息等。
9)、N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。
10)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端当前会话相关信息等。
11)、N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给终端的控制消息、传递发送给RAN的无线资源控制信息等。
12)、N15:PCF与AMF之间的接口,可以用于下发终端策略及接入控制相关策略。
13)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。
14)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。
本申请中的数据管理网元、移动性管理网元、会话管理网元、用户面网元、策略控制网元、应用功能网元分别可以是图2(a)或图2(b)中的UDR、AMF、SMF、UPF、PCF、AF,也可以是未来通信如6G网络中具有上述UDR、AMF、SMF、UPF、PCF、AF的功能的网元,本申请对此不限定。在本申请的实施例中,以UDR、AMF、SMF、UPF、PCF、AF分别为数据管理网元、移动性管理网元、会话管理网元、用户面网元、策略控制网元、应用功能网元的一个举例进行描述。并且,PCF包括AM PCF和SM PCF。
为实现精确确定AM策略,一种实现方法是AM PCF根据AF提供的应用层信息确定AM策略。下面结合图3和图4,提供AM PCF确定AM策略以及下发AM策略的方法。
图3为本申请实施例提供的AM策略生成及使用的流程示意图。该实施例是针对单个 终端的示例。
步骤301,终端注册到网络。
终端通过AMF注册至网络,且AMF会与UDM交互,从UDM中获取终端的签约数据,该签约数据包括签约的服务区域限制信息(service area restrictions)和签约的无线接入技术(radio access technology,RAT)/频谱选择优先级(RAT/frequency selection priority,RFSP)。
其中,服务区域限制信息用于表示允许或不允许终端接入的区域,RFSP用于无线接入网设备确定无线资源管理策略。
步骤302,AMF与AM PCF交互,建立AM策略关联。
比如,AMF向AM PCF发送Npcf_AMPolicyControl_Create request消息,该消息中包括终端的标识信息、签约的服务区域限制信息和签约的RFSP。其中,终端的标识信息可以是用户永久标识(subscription permanent identifier,SUPI)或通用外部用户标识(generic public subscription identifier,GPSI)。
AM PCF根据签约的服务区域限制信息、签约的RFSP和网络策略确定AM策略。其中,AM策略中包含授权的服务区域限制信息和授权的RFSP。具体的,AM PCF根据签约的服务区域限制信息和网络策略确定授权的服务区域限制信息,以及根据签约的RFSP和网络策略确定授权的RFSP。
然后AM PCF向AMF发送Npcf_AMPolicyControl_Create response消息,该消息中包含AM策略。
步骤303,AM PCF向BSF发送注册请求消息。相应地,BSF接收该注册请求消息。
该注册请求消息中包含AM PCF的绑定信息,该绑定信息包括AMF PCF的标识和终端的标识信息。其中,该AMF PCF的标识可以是该AM PCF支持Npcf_AmPolicyAuthorization服务的资源标识。
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。
步骤304,AF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。
该订阅请求消息中包含终端的标识信息,该订阅请求消息用于订阅为该终端提供AM策略的AM PCF的注册信息。
可选的,该订阅请求消息可以是Nbsf_Management_Subscribe Request消息。
可选的,该步骤304可以在步骤301之前执行。
步骤305,BSF向AF发送通知消息,相应地,AF接收该通知消息。
该通知消息中包含与终端的标识信息对应的注册信息,该注册信息中包含AM PCF的标识。
可选的,该通知消息可以是Nbsf_Management_Notify Request消息。
步骤306,AF向AM PCF发送AM策略授权请求消息,相应地,AM PCF接收该AM策略授权请求消息。
可选的,该AM策略授权请求消息可以是Npcf_AMPolicyAuthorization_Create Request消息。
该AM策略授权请求消息中包含应用层信息,其中应用层信息包括以下信息1至信息4中的任一项:
信息1:终端的标识信息、服务区域覆盖范围(service area coverage)以及关联的(DNN, S-NSSAI)组合;
信息2:终端的标识信息、高吞吐量(high throughput)指示以及关联的(DNN,S-NSSAI)组合;
信息3:终端的标识信息、服务区域覆盖范围、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识(Application Id);
信息4:终端的标识信息、高吞吐量指示、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识。
其中,上述信息3的(DNN,S-NSSAI)组合是可选的信息,上述信息4的(DNN,S-NSSAI)组合也是可选的信息。
其中,DNN是data network name的简称,中文名称是数据网名称。S-NSSAI是single network slice selection assistance information的检测,中文名称是单网络切片选择辅助信息。
其中,服务区域覆盖范围指的是AF提供的需要做策略控制的区域的信息。高吞吐量指示可以是一个指示信息,用于指示吞吐量高。
可选的,AF还可以通过该AM策略授权请求消息向AM PCF订阅服务区域覆盖范围改变事件或AM策略改变事件,比如在该AM策略授权请求消息中携带服务区域覆盖范围改变事件的标识和通知端点,或者携带AM策略改变事件的标识和通知端点。该通知端点可以是AF的地址。
可选的,AM PCF在保存收到的上述信息之后,还可以向AF发送AM策略授权响应消息。可选的,该AM策略授权响应消息可以是Npcf_AMPolicyAuthorization_Create response消息。
步骤307,AM PCF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。
该订阅请求消息用于订阅SM PCF的绑定信息,该订阅请求消息中携带终端的标识信息以及(DNN,S-NSSAI)组合。
可选的,该订阅请求消息可以是Nbsf_Management_Subscribe Request消息。
步骤308,终端建立PDU会话,该会话对应(DNN,S-NSSAI)组合。
在终端建立PDU会话的过程中,SMF为该PDU会话分配终端的地址。SMF与SM PCF交互,建立SM策略关联。比如,SMF向SM PCF发送Npcf_SMPolicyControl_Create request消息,该消息中包括终端的标识信息、终端的地址。SM PCF收到该消息后,如果SM PCF中没有终端的签约数据,则SM PCF可以与UDR交互,获取终端的签约数据。然后SM PCF根据终端的签约数据和网络策略确定SM策略。SM PCF向SMF发送Npcf_SMPolicyControl_Create response消息,该消息中携带SM策略。
步骤309,SM PCF向BSF发送注册请求消息,相应地,BSF接收该注册请求消息。
该注册请求消息中包含SM PCF的绑定信息,该绑定信息包括终端的地址、终端的标识信息、(DNN,S-NSSAI)组合和该SM PCF的标识,该SM PCF的标识可以是该SMPCF支持Npcf_PolicyAuthorization服务的资源标识。
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。
步骤310,BSF根据AM PCF的订阅,向AM PCF发送SM PCF的绑定信息。
可选的,BSF向AM PCF发送Nbsf_Management_Notify Request消息,该消息中包含SM PCF的绑定信息。
步骤311,AM PCF向SM PCF发送订阅请求消息,相应地SM PCF接收该订阅请求 消息。
该步骤311为可选步骤。具体的,在上述步骤306的策略授权请求消息中包含至少一个应用的标识的情形下,也即上述步骤306的策略授权请求消息中包含上述信息3或信息4,则执行该步骤311。该订阅请求消息中包含至少一个应用的标识,用于订阅应用开始/停止事件。
可选的,该订阅请求消息可以是Npcf_PolicyAuthorization_Subscribe Request消息。
步骤312,SM PCF检测应用开始/停止事件。
比如,SM PCF与SMF交互,请求检测应用开始/停止事件,然后SMF与UPF进一步交互,请求UPF检测应用开始/停止事件。
该步骤312为可选步骤。在执行上述步骤311的情况下,则执行该步骤312。
步骤313,当SM PCF接收到来自SMF的应用开始事件报告,则SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。
该通知消息中包含应用的标识和应用开始事件。
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。
步骤314,AM PCF更新AM策略。
在一种实现方法中,如果上述步骤306的AM策略授权请求消息中携带上述信息1或信息2,则AM PCF在上述步骤310中收到SM PCF的绑定信息后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到SM PCF的绑定信息,表明SM PCF已经被选择出来,而SM PCF被选择出来的前提是PDU会话已经建立完成。
在另一种实现方法中,如果上述步骤306的AM策略授权请求消息中携带上述信息3或信息4,则AM PCF在上述步骤313中收到应用开始事件后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到应用开始事件,表明应用已经开始,而应用开始的前提是PDU会话已经建立完成。
其中,AM PCF更新AM策略,具体可以是:AM PCF根据收到的服务区域覆盖范围更新上述步骤302中的授权的服务区域限制信息,得到更新的服务区域限制信息,以及根据收到的高吞吐量指示更新上述步骤302中的授权的RFSP,得到更新的RFSP。更新的AM策略中包含更新的服务区域限制信息和更新的RFSP。
步骤315,AM PCF向AMF发送更新的AM策略。相应地,AMF接收更新的AM策略。
其中,更新的AM策略中包括更新的服务区域限制信息和更新的RFSP。
可选的,AMF可以向AMF发送Npcf_AmPolicyControl_UpdateNotify request消息,该消息中包括更新的服务区域限制信息和更新的RFSP。
步骤316,AMF执行更新的AM策略。
即AMF根据更新的AM策略,对终端执行控制。
步骤317,AMF向终端发送通知消息,该通知消息中包含更新的服务区域限制信息。
终端根据更新的服务区域限制信息确定能够接入的区域。
步骤318,AMF向基站发送通知消息,该通知消息中包含更新的服务区域限制信息和更新的RFSP。
基站根据更新的服务区域限制信息控制终端的接入,以及根据更新的RFSP确定无线资源管理策略。
步骤319,AM PCF向AF发送事件通知和更新的AM策略。
该步骤为可选步骤。具体的,若上述步骤306中AF订阅了服务区域覆盖范围改变事件或AM策略改变事件,则执行该步骤319。
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向AF发送事件通知和更新的AM策略。
通过上述方案,可以实现AM PCF根据AF提供的应用层信息,更新AM策略,从而可以得到精确的AM策略,有利于实现根据该精确的AM策略对终端实施精确控制。
图4为本申请实施例提供的AM策略生成及使用的流程示意图。该实施例是针对终端组或任意终端的示例。
步骤401至步骤402,同步骤301至步骤302。
步骤403,AM PCF向UDR发送订阅请求消息,相应地,UDR接收该订阅请求消息。
该订阅请求消息中包含(S-NSSAI,DNN)组合以及外部组标识。该订阅请求消息用于订阅与AM相关的应用数据,或者理解为订阅AM影响信息(AM influence information)。
其中,AM影响信息也可以称为应用层信息。
可选的,该订阅请求消息可以是Nudr_DM_Subscribe request消息。
步骤404,AF向UDR发送AM影响信息。相应地,UDR接收AM影响信息。
比如,AF可以通过NEF向UDR发送AM影响信息,具体的AF向NEF发送Nnef_AMInfluence_Create request消息,该消息中携带AM影响信息,然后NEF向UDR发送Nudr_DM_Create Request消息,该消息中携带AM影响信息。可选的,UDR向NEF发送Nudr_DM_Create Response消息,然后NEF向AF发送Nnef_AMInfluence_Create Response消息。
其中,AM影响信息中包括以下信息1至信息4中的任一项:
信息1:外部组标识或任意终端指示、服务区域覆盖范围(service area coverage)以及关联的(DNN,S-NSSAI)组合;
信息2:外部组标识或任意终端指示、高吞吐量(high throughput)指示以及关联的(DNN,S-NSSAI)组合;
信息3:外部组标识或任意终端指示、服务区域覆盖范围、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识(Application Id);
信息4:外部组标识或任意终端指示、高吞吐量指示、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识。
其中,上述信息3的(DNN,S-NSSAI)组合是可选的信息,上述信息4的(DNN,S-NSSAI)组合也是可选的信息。
其中,服务区域覆盖范围和高吞吐量指示的含义可以参考步骤306中的描述。
可选的,该步骤中AF还可以通过NEF向UDR订阅服务区域覆盖范围改变事件或AM策略改变事件,比如在该AM影响信息中还携带服务区域覆盖范围改变事件的标识和通知端点,或者携带AM策略改变事件的标识和通知端点。该通知端点可以是AF的地址。
可选的,该步骤404可以在上述步骤401之前执行。
步骤405,UDR向AM PCF发送通知消息。相应地,AM PCF接收该通知消息。
该通知消息中包含AM影响信息。
可选的,该通知消息可以是Nudr_DM_Notify request消息。
步骤406,AM PCF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。
该订阅请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该订阅请求消息用于订阅SM PCF绑定信息。
其中,订阅请求消息中的终端的标识信息所指示的终端即为上述步骤401中的终端。具体的,AM PCF判断收到的AM影响信息应用于步骤401中的终端,则确定该订阅请求消息中携带该终端的标识信息。
步骤407至步骤409,同步骤308至步骤310。
步骤410,AM PCF向SM PCF发送订阅请求消息,相应地SM PCF接收该订阅请求消息。
该步骤410为可选步骤。具体的,在上述步骤405的通知消息中包含至少一个应用的标识的情形下,也即上述步骤405的通知消息中包含上述信息3或信息4,则执行该步骤410。该订阅请求消息中包含至少一个应用的标识,用于订阅应用开始/停止事件。
可选的,该订阅请求消息可以是Npcf_PolicyAuthorization_Subscribe Request消息。
步骤411至步骤412,同步骤312至步骤313。
步骤413,AM PCF更新AM策略。
在一种实现方法中,如果上述步骤405的通知消息中携带上述信息1或信息2,则AM PCF在上述步骤409中收到SM PCF的绑定信息后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到SM PCF的绑定信息,表明SM PCF已经被选择出来,而SM PCF被选择出来的前提是PDU会话已经建立完成。
在另一种实现方法中,如果上述步骤405的通知消息中携带上述信息3或信息4,则AM PCF在上述步骤412中收到应用开始事件后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到应用开始事件,表明应用已经开始,而应用开始的前提是PDU会话已经建立完成。
其中,AM PCF更新AM策略,具体可以是:AM PCF根据收到的服务区域覆盖范围更新上述步骤402中的授权的服务区域限制信息,得到更新的服务区域限制信息,以及根据收到的高吞吐量指示更新上述步骤402中的授权的RFSP,得到更新的RFSP。
本申请实施例中,AM策略也称为移动性管理策略,这里统一说明,后续不赘述。
步骤414至步骤417,同步骤315至步骤318。
步骤418,AM PCF向AF发送事件通知和更新的AM策略。
该步骤为可选步骤。比如,若上述步骤405中AF订阅了服务区域覆盖范围改变事件或AM策略改变事件,则执行该步骤418。
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向NEF发送事件通知和更新的AM策略,然后NEF通过Nnef_AMInfluence_Notify消息向AF发送事件通知和更新的AM策略。
通过上述方案,可以实现AM PCF根据AF提供的应用层信息,更新AM策略,从而可以得到精确的AM策略,有利于实现根据该精确的AM策略对终端实施精确控制。
目前,每个BSF会将自己的信息注册到NRF,以便其它网元能够发现自己。BSF在注册信息时通常是将自己服务的终端的IP地址范围作为索引,从而其它网元可以根据终端 的IP地址从NRF获取到与该终端的IP地址对应的BSF。
在上述图3或图4的流程中,AM PCF为了能找到对应的SM PCF,AM PCF向BSF发送订阅请求消息,以请求订阅SM PCF的绑定信息。
然而,在上述图3或图4的流程中,AM PCF不能获取到终端的IP地址,因此AM PCF无法根据终端的IP地址从NRF获取到与该终端的IP地址对应的BSF。因此,在网络中存在多个分布式的BSF的情况下,AM PCF需要向每个BSF发送订阅请求消息,这将增加信令开销和资源浪费。
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供一种通信方法,如图5(a)所示。该方法中,第一PCF用于制定移动性管理策略,第一PCF也可以称为AM PCF,第二PCF用于制定会话管理策略,第二PCF也可以称为SM PCF。在终端发生移动的场景下,该第一PCF指的是终端移动后为该终端提供服务的AM PCF。因此该方法中,第一PCF既可以表示终端未发生移动的场景中为终端提供服务的AM PCF,也可以表示终端发生移动的场景中,在终端移动之后为该终端提供服务的AM PCF。
该方法包括以下步骤:
步骤501a,第一PCF向UDR发送请求消息,相应的,UDR接收该请求消息。
该请求消息中包含终端的标识信息、事件标识信息和通知地址。该请求消息用于请求UDR保存事件标识信息和通知地址,或者理解为该请求消息用于请求UDR将该事件标识信息和通知地址保存至与该终端的标识信息关联的信息中,比如保存至该终端的标识信息所指示的终端的签约数据中。可选的,UDR还存储该终端的标识信息。
作为一种实现方法,该事件标识信息和通知地址可以统称为事件订阅信息,也可以请求消息中包含终端的标识信息和事件订阅信息,事件订阅信息中包含事件标识信息和通知地址。
作为一种实现方法,该请求消息中还可以包括通知关联标识(notification correlation Id),该通知关联标识用于对不同终端的事件标识信息和通知地址加以区分。
在一种实现方法中,该请求消息中包含统一资源标识符(uniform resource identifier,URI),该URI中包含终端的标识信息。示例性地,该请求消息中的URI是{apiRoot}/nudr-dr/<apiVersion>/policy-data/ues/{ueId}/sm-data,终端的标识信息是该URI中的ueId。
终端的标识信息为用于标识终端的信息,终端的标识信息可以是SUPI、GPSI或终端所属的组的组标识。
事件标识信息用于指示检测会话的状态或应用的状态。比如当事件标识信息用于指示检测会话的状态,事件标识信息可以是PDU会话的状态(PDU Session Status)或者是PDU会话建立/终结(PDU Session establishment/termination)。再比如当事件标识信息用于指示检测应用的状态,应用的状态(application status)可以是应用检测(application detection),也可以是应用开始/停止(application start/stop)。
示例性的,当事件标识信息用于指示检测应用的状态,则该请求消息中还可以包含至少一个应用的标识,此时该事件标识信息用于指示检测该至少一个应用的状态。
通知地址(notification address)是用于接收事件标识信息对应的事件通知地址,该事 件通知地址是第一PCF的地址。这里的通知地址,也可以称为通知目标地址(notification target address)。
步骤502a,UDR向第二PCF发送事件标识信息和通知地址,相应的,第二PCF接收该事件标识信息和该通知地址。
若上述步骤501a的事件标识信息用于指示检测应用的状态,则上述请求消息中还包含至少一个应用的标识,因此该步骤502a中UDR还向第二PCF发送该至少一个应用的标识信息。
作为一种实现方法,当上述步骤501a的请求消息中包含通知关联标识,则该步骤502a中,UDR还向第二PCF发送该通知关联标识。
作为一种实现方法,第二PCF向UDR发送查询请求消息,该查询请求消息中包含终端的标识信息,该查询请求消息用于请求查询终端的签约数据,然后UDR根据该查询请求消息,从UDR保存的信息中获取该终端的签约数据,该终端的签约数据中包含上述步骤501a中事件标识信息和通知地址,接着UDR向第二PCF发送查询响应消息,该查询响应消息中包括终端的签约数据,该签约数据中包含上述事件标识信息和通知地址。基于该方法,UDR基于第二PCF的查询请求,实时地向第二PCF发送事件标识信息和通知地址,有助于第二PCF能够及时获取到事件标识信息和通知地址。
作为另一种实现方法,第二PCF向UDR发送签约数据订阅请求消息,该签约数据订阅请求消息中包含终端的标识信息,该签约数据订阅请求消息用于请求查询终端的签约数据改变的通知,然后UDR根据该签约数据订阅请求消息,一旦发现UDR中保存的终端的签约数据发生改变,则UDR向第二PCF发送通知消息,该通知消息中包括终端的改变后签约数据,该签约数据中包含事件标识信息和通知地址。比如,第二PCF在上述步骤501a之前向UDR发送该签约数据订阅请求消息,当UDR在上述步骤501a中从第一PCF收到上述请求消息,则触发UDR根据收到的事件标识信息和通知地址对UDR中保存的该终端的签约数据进行更新,进而触发UDR向第二PCF发送上述通知消息。基于该方法,UDR基于第二PCF的签约数据订阅请求消息,向第二PCF发送事件标识信息和通知地址,该方法不需要第二PCF频繁地向UDR发送用于请求查询终端的签约数据的查询请求消息,因此可以减少信令开销。
步骤503a,第二PCF根据事件标识信息,检测终端的会话的状态或终端的应用的状态。
比如,事件标识信息用于指示检测会话的状态,则第二PCF检测终端的会话的状态。其中,检测到的会话的状态可以是PDU会话建立或PDU会话终止。
再比如,事件标识信息用于指示检测应用的状态,则第二PCF检测终端的应用的状态,具体的,第二PCF检测上述步骤501a的请求消息中携带的至少一个应用的标识所指示的应用的状态。其中,检测到的应用状态可以是应用开始或应用停止。
步骤504a,第二PCF根据通知地址,向第一PCF发送通知消息,相应的,第一PCF接收该通知消息。
该通知消息中包含终端的会话的状态或终端的应用的状态。
作为一种实现方法,当上述步骤502a中UDR还向第二PCF发送通知关联标识,则该通知消息中还可以携带该通知关联标识。
作为一种实现方法,该通知消息中还可以包括终端的会话的标识、终端的地址或第二PCF的标识中的至少一个。
步骤505a,第一PCF根据终端的会话的状态或终端的应用的状态确定移动性管理策略。
比如,当第一PCF收到终端的会话的状态,且终端的会话的状态为会话建立,则第一PCF根据来自AF的应用层信息确定移动性管理策略。
再比如,当第一PCF收到终端的会话的状态,且终端的会话的状态为会话终止,则第一PCF不根据来自AF的应用层信息确定移动性管理策略,比如第一PCF可以根据终端的签约数据确定移动性管理策略。
再比如,当第一PCF收到终端的应用的状态,且终端的应用的状态为应用开始,则第一PCF根据来自AF的应用层信息确定移动性管理策略。
再比如,当第一PCF收到终端的应用的状态,且终端的应用的状态为应用停止,则第一PCF不根据来自AF的应用层信息确定移动性管理策略,比如第一PCF可以根据终端的签约数据确定移动性管理策略。
其中,第一PCF根据来自AF的应用层信息确定移动性管理策略的具体实现方法,可以参考前述步骤314或步骤413的描述。
根据上述步骤501a至步骤505a的方法,第一PCF可以根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(a)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个UDR发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。
作为一种实现方法,上述步骤501a的事件标识信息可以是第一PCF根据来自AF的应用层信息确定的,也即在步骤501a之前,第一PCF从AF收到应用层信息,然后第一PCF根据该应用层信息确定事件标识信息。比如,当AF向第一PCF发送的应用层信息是针对单个终端,则该应用层信息可以是上述步骤306中描述的信息1至信息4中的任一个。可选的,当该应用层信息是上述步骤306中描述的信息1或信息2,该事件标识信息用于指示检测会话的状态,当该应用层信息是上述步骤306中描述的信息3或信息4,该事件标识信息用于指示检测应用的状态。再比如,当AF向第一PCF发送的应用层信息是针对任意终端或终端组,则该应用层信息可以是上述步骤404中描述的信息1至信息4中的任一个。可选的,当该应用层信息是上述步骤404中描述的信息1或信息2,该事件标识信息用于指示检测会话的状态,当该应用层信息是上述步骤404中描述的信息3或信息4,该事件标识信息用于指示检测应用的状态。
作为一种实现方法,当第一PCF在上述步骤501a之前,从AF收到应用层信息,则上述步骤501a的请求消息中还可以包含(DNN,S-NSSAI)组合,该(DNN,S-NSSAI)组合来自AF的应用层信息,该请求消息用于请求UDR将事件标识信息和通知地址保存至该终端的与该(DNN,S-NSSAI)组合对应的签约数据中。在上述步骤501a的请求消息中包含(DNN,S-NSSAI)组合的情况下,则上述步骤502a中,UDR向第二PCF发送的是与该(DNN,S-NSSAI)组合对应的事件标识信息和通知地址,也可以理解为该第二PCF对应该(DNN,S-NSSAI)组合。因此,上述步骤502a中第二PCF向UDR发送的查询请求消息可以包含该(DNN,S-NSSAI)组合,该查询请求消息用于请求查询终端的与(DNN,S-NSSAI)组合对应的签约数据,或者上述步骤502a中第二PCF向UDR发送的签约数据订阅请求消息可以包含该(DNN,S-NSSAI)组合,该签约数据订阅请求用于请求终端的与(DNN,S-NSSAI)组合对应的签约数据改变的通知。基于该方法,可以实现基于(DNN, S-NSSAI)组合,对事件标识信息进行精细化管理。
作为一种实现方法,在上述步骤501a的请求消息中包含(DNN,S-NSSAI)组合的情况下,该请求消息中还可以包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送通知消息,和/或当(DNN,S-NSSAI)组合对应的最后一个会话终止时发送通知消息。UDR也会存储该第一指示信息。后续在上述步骤502a中UDR向第二PCF发送事件标识信息和通知地址时,还会向第二PCF发送该第一指示信息。根据该第一指示信息,第二PCF在检测到多个会话中的第一个会话的状态时向第一PCF发送包含该第一个会话的状态的通知消息,和/或在检测到多个会话中的最后一个会话的状态时向第一PCF发送包含该最后一个会话的状态的通知消息,而对于除第一个会话和最后一个会话之外的其它会话的状态,第二PCF不需要向第一PCF发送该其它会话的状态。根据该方法,可以减少信令开销。
作为一种实现方法,在上述步骤505a中确定的移动性管理策略中包含第二指示信息,该第二指示信息用于指示移动性管理策略是根据应用层信息确定的。后续该移动性管理策略可以发送至AMF、基站及终端,从而AMF、基站及终端可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。
作为一种实现方法,在上述步骤505a之后,第一PCF可以向AF发送该移动性管理策略。比如,第一PCF基于AF的订阅向AF发送该移动性管理策略,或者是第一PCF主动向AF发送该移动性管理策略。
作为一种实现方法,在上述步骤505a之后,UDR还可以向第一PCF发送针对上述请求消息的响应消息,该响应消息中包括第一标识信息,该第一标识信息是事件标识信息及通知地址的标识信息,该第一标识信息用于对事件标识信息和/或通知地址进行修改或删除。也即后续第一PCF或者其它PCF可以根据该第一标识信息对由第一PCF保存至UDR的事件标识信息和/或通知地址进行修改或删除。根据该方法,可以实现对UDR保存的事件标识信息和通知地址的快速修改或删除。
作为一种实现方法,当该第一PCF是终端发生移动之后为终端提供服务的AM PCF,则在上述步骤501a之前,第一PCF可以接收来自AMF的第三指示信息,该第三指示信息用于指示终端使用的移动性管理策略是根据应用层信息确定的,从而第一PCF根据该第三指示信息,延迟确定移动性管理策略,或者理解为第一PCF根据第三指示信息确定不根据终端的签约数据确定移动性管理策略。然后,第一PCF根据该第三指示信息,触发执行上述步骤501a至步骤505a,实现根据应用层信息确定移动性管理策略。该方法有助于实现精确确定移动性管理策略。
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供一种通信方法,如图5(b)所示。该方法适用于终端发生移动的场景。该方法中,第一PCF和第三PCF用于制定移动性管理策略,第一PCF和第三PCF均可以称为AM PCF,第一PCF是终端移动后为终端提供服务的PCF,第三PCF是终端移动前为终端提供服务的PCF。第二PCF用于制定会话管理策略,第二PCF可以称为SM PCF。
该方法包括以下步骤:
步骤501b,第一PCF向UDR发送请求消息,相应的,UDR接收该请求消息。
该请求消息中包含第一标识信息和第一通知地址。
其中,第一通知地址是用于接收事件标识信息对应的事件通知地址,该事件通知地址是第一PCF的地址。
该第一标识信息是UDR保存的事件标识信息及第二通知地址的标识信息。该事件标识信息用于指示检测会话的状态或应用的状态,该事件标识信息的具体含义可以参考步骤501a中的描述。该第二通知地址是用于接收事件标识信息对应的事件通知的第三PCF的地址。
示例性的,第一PCF获取到第一标识信息的方法比如可以是:第三PCF在向UDR保存该事件标识信息及该第二通知地址之后,UDR根据该事件标识信息及该第二通知地址生成该第一标识信息,然后将该第一标识信息发送给第三PCF,接着第三PCF将该第一标识信息发送给终端之前为该终端提供服务的第一AMF,然后该第一AMF将该第一标识信息发送给终端之后为该终端提供服务的第二AMF,从而第二AMF可以将该第一标识信息发送给第一PCF。
该请求消息用于请求UDR将保存的第二通知地址更新为第一通知地址。
作为一种实现方法,该请求消息中还可以包括第一PCF分配的第一通知关联标识,该第一通知关联标识用于对不同终端的事件标识信息和通知地址加以区分,则该请求消息还用于请求UDR将保存的第二通知关联标识更新为该第一通知关联标识,该第二通知关联标识是由第三PCF在将事件标识信息和第二通知地址保存至UDR时,一并发送至UDR进行保存的。
步骤502b,UDR将保存的第二通知地址更新为第一通知地址。
示例性的,UDR在步骤501b之前,从第三PCF收到事件标识信息和第二通知地址,然后UDR保存该事件标识信息和第二通知地址。然后UDR在收到上述请求消息之后,将保存的第二通知地址更新为第一通知地址,从而在发生更新之后,UDR保存该事件标识信息和第一通知地址。
作为一种实现方法,UDR还将保存的第二通知关联标识更新为第一通知关联标识。
步骤503b,UDR向第二PCF发送事件标识信息和第一通知地址,相应的,第二PCF接收该事件标识信息和该第一通知地址。
作为一种实现方法,UDR在该步骤503b中,还向第二PCF发送第一通知关联标识。
该步骤503b的具体实现与上述步骤502a类似,可以参考上述描述。
步骤504b,第二PCF根据事件标识信息,检测终端的会话的状态或终端的应用的状态。
该步骤504b的具体实现与上述步骤503a相同,可以参考前述描述。
步骤505b,第二PCF根据第一通知地址,向第一PCF发送通知消息,相应的,第一PCF接收该通知消息。
作为一种实现方法,通知消息中还包括第一通知关联标识。
该通知消息中包含终端的会话的状态或终端的应用的状态。
步骤506b,第一PCF根据终端的会话的状态或终端的应用的状态确定移动性管理策略。
该步骤506b的具体实现与上述步骤505a相同,可以参考前述描述。
根据上述步骤501b至步骤506b的方法,第一PCF可以根据终端的会话的状态或应用 的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(b)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个UDR发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。另外,相较于图5(a)的方法,该图5(b)的方法中第一PCF可以根据第一标识信息对UDR保存的通知地址进行修改,可以减少信令的负荷,有助于节约资源。
基于该图5(b)的实施例中的其它各种可能的实现方法,比如基于(DNN,S-NSSAI)组合的实现方法、基于应用层信息的实现方法、基于上述第一指示信息的实现方法、基于上述第二指示信息的实现方法、基于上述第三指示信息的实现方法等,均与上述图5(a)的实施例中的各种实现方法类似,可以参考前述描述,不再赘述。
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供另一种通信方法,如图5(c)所示。该方法中,第一PCF用于制定移动性管理策略,第一PCF也可以称为AM PCF,第二PCF用于制定会话管理策略,第二PCF也可以称为SM PCF。
该方法包括以下步骤:
步骤501c,第一PCF向AMF发送第一请求消息,相应的,AMF接收该第一请求消息。
该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该事件标识信息的具体实现可以参考步骤501a中的描述。
该第一请求消息用于请求事件标识信息对应的事件通知。
示例性的,第一PCF可以在终端的会话上,向AMF发送该第一请求消息,从而AMF可以获知是检测哪个终端的会话的状态或应用的状态。
可选的,该第一请求消息中的事件标识信息可以是第一PCF根据来自AF的应用层信息确定的。第一PCF根据来自AF的应用层信息确定事件标识信息的具体方法可以参考前述图5(a)的实施例中的相关描述。
可选的,第一请求消息中还包含(DNN,S-NSSAI)组合,该第一请求消息用于请求终端的与(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。第一PCF获取的(DNN,S-NSSAI)组合可以来自AF的应用层信息。其中,应用层信息的具体描述可以参考前述步骤306或步骤404的描述。
步骤502c,AMF检测到事件标识信息对应的事件。
下面介绍AMF检测到事件标识信息对应的事件的两种不同实现方法。
实现方法一,当事件标识信息是会话的状态,由AMF检测终端的会话的状态。
根据该实现方法一,是由AMF检测终端的会话的状态。
可选的,如果上述第一请求消息中还包含(DNN,S-NSSAI)组合,则第一请求消息用于请求终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态,从而AMF可以检测终端的与该(DNN,S-NSSAI)组合对应的会话的状态。
实现方法二,当事件标识信息是应用的状态或会话的状态,由SMF检测终端的会话的状态。
比如,在上述步骤501c之后,AMF向SMF发送第二请求消息,该第二请求消息中包 含上述事件标识信息,该第二请求消息用于请求事件标识信息对应的事件通知。然后,SMF检测事件标识信息对应的事件,SMF在检测到事件标识信息对应的事件后,向AMF发送通知消息,该通知消息中包含终端的应用的状态或终端的会话的状态。AMF收到该通知消息,则表明AMF检测到事件标识信息对应的事件。因此,根据该实现方法二,AMF检测到事件标识信息对应的事件,可以理解为AMF收到来自SMF的该通知消息。
步骤503c,AMF向第一PCF发送通知消息。相应的,第一PCF接收该通知消息。
该通知消息中包含终端的会话的状态或终端的应用的状态,终端的会话的状态或终端的应用的状态是根据事件标识信息检测得到的。
如果AMF是根据上述步骤502c的实现方法一检测到事件标识信息对应的事件,则该通知消息中包含终端的会话的状态,且该会话的状态为会话建立。
如果AMF是根据上述步骤502c的实现方法二检测到事件标识信息对应的事件,则该通知消息中包含上述来自SMF的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态。
步骤504c,第一PCF根据终端的会话的状态或终端的应用的状态确定移动性管理策略。
该步骤504c的具体实现与上述步骤505a相同,可以参考前述描述。
根据上述步骤501c至步骤504c的方法,第一PCF可以根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(c)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个AMF发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。
作为一种实现方法,也可以不执行上述步骤502c和步骤503c,而是在步骤501c之后和步骤504c之前执行以下操作:AMF在收到第一请求消息后,向SMF发送第二请求消息,该第二请求消息中包含上述事件标识信息,该第二请求消息用于请求事件标识信息对应的事件通知。然后,SMF检测事件标识信息对应的事件,SMF在检测到事件标识信息对应的事件后,向第一PCF发送通知消息,该通知消息中包含终端的应用的状态或终端的会话的状态。
作为一种实现方法,在上述第一请求消息中包含(DNN,S-NSSAI)组合的情况下,该第一请求消息中还可以包含第一指示信息,或者在上述第一请求消息和第二请求消息中均包含(DNN,S-NSSAI)组合的情况下,该第一请求消息和该第二请求消息中还可以均包含第一指示信息。该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送通知消息,和/或当(DNN,S-NSSAI)组合对应的最后一个会话终止时发送通知消息。然后AMF或SMF根据该第一指示信息,检测到多个会话中的第一个会话的状态时向第一PCF发送包含该第一个会话的状态的通知消息,和/或在检测到多个会话中的最后一个会话的状态时向第一PCF发送包含该最后一个会话的状态的通知消息,而对于除第一个会话和最后一个会话之外的其它会话的状态,AMF或SMF不需要向第一PCF发送该其它会话的状态。根据该方法,可以减少信令开销。
作为一种实现方法,在上述步骤504c中确定的移动性管理策略中包含第二指示信息,该第二指示信息用于指示移动性管理策略是根据应用层信息确定的。后续该移动性管理策略可以发送至AMF、基站及终端,从而AMF、基站及终端可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。
作为一种实现方法,在上述步骤504c之后,第一PCF可以向AF发送该移动性管理策略。比如,第一PCF基于AF的订阅向AF发送该移动性管理策略,或者是第一PCF主动向AF发送该移动性管理策略。
下面结合具体示例,对上述图5(a)、图5(b)以及图5(c)所示的方案进行说明。其中,以下图6和图7所示的示例是上述图5(a)所示的方案的具体示例,以下图8和图9所示的示例是上述图5(b)所示的方案的具体示例,以下图10所示的示例是上述图5(c)所示的方案的具体示例。
图6为本申请实施例提供的一种通信方法,该方法是AF针对单个终端提供应用层信息用于AM策略的决策,AM PCF从AF获取应用层信息。
该方法包括以下步骤:
步骤601至步骤606,同上述步骤301至步骤306。
步骤607,AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。
该更新请求消息是上述步骤501a的请求消息的一个具体示例。
该更新请求消息中包含事件订阅信息、终端的标识信息和(DNN,S-NSSAI)组合,该更新请求消息用于请求UDR将事件订阅信息保存在终端的与该(DNN,S-NSSAI)组合对应的签约数据中。
该事件订阅信息包括通知地址和事件标识信息。其中,通知地址可以是AM PCF的地址。可选的,当AM PCF需要将多个终端对应的事件订阅信息保存至UDR时,如果AM PCF为不同终端分配了相同的通知地址,则该事件订阅信息中还可以包括通知关联标识,该通知关联标识用于对不同终端的事件订阅信息加以区分。
可选的,该更新请求消息可以是Nudr_DM_Update Request消息。
作为一种实现方法,触发AM PCF执行步骤607的条件比如可以是:AM PCF从AF收到了用于决策AM策略的应用层信息,则AM PCF确定需要根据应用层信息确定AM策略信息,从而AM PCF决定向UDR发送上述更新请求消息。并且,AM PCF根据收到的应用层信息确定还需要获知PDU会话的状态或者应用的状态。其中,PDU会话的状态是建立或终结,应用的状态是开始或停止。
作为一种实现方法,若上述步骤606的AM策略授权请求消息中包括上述信息1或信息2,则上述事件标识信息可以设置为PDU会话的状态(也可以是PDU Session establishment/termination)。若上述步骤606的AM策略授权请求消息中包括上述信息3或信息4,则上述事件标识信息可以设置为应用检测(也可以是Application start/stop)。其中的,当事件标识信息是应用检测时,则上述事件订阅信息中还包含至少一个应用的标识。
作为一种实现方法,在上述事件订阅信息中还可以包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对SM PCF控制的对应同一个(DNN,S-NSSAI)组合的多个PDU会话,当该多个PDU会话中的第一个PDU会话建立时通知AM PCF,以及当该多个PDU会话中的最后一个PDU会话终结(或释放)时通知AM PCF。也即,当建立该多个PDU会话中的第一个PDU会话时通知AM PCF,建立其它PDU会话时不需要通知AM PCF,当该多个PDU会话中的某个PDU会话释放之后不存在处于激活态的PDU会话,则通知AM PCF,当该多个PDU会话中的某个PDU会话释放之后还存在至少一个PDU会话处于激活态的PDU会话,则不通知AM PCF。
可选的,在上述步骤607之后,UDR可以向AM PCF发送确认消息,该消息中包括UDR为事件订阅信息分配的标识,从而后续AM PCF可以根据该标识对事件订阅信息进行修改或删除。UDR为事件订阅信息分配的标识可以是资源标识(resource uri),比如具体是:{apiRoot}/nudr-dr/<apiVersion>/policy-data/ues/{ueId}/sm-data/subscriptions/{subsId}。
步骤608,同上述步骤308。
步骤609,SM PCF向UDR发送查询请求消息,相应地,UDR接收该查询请求消息。
该查询请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。
可选的,该查询请求消息可以是Ndur_DM_Query request消息。
步骤610,UDR向SM PCF发送查询响应消息。相应地,SM PCF接收该查询响应消息。
该查询响应消息中包括终端的与该(DNN,S-NSSAI)组合对应的签约数据,该签约数据中包含上述事件订阅信息。
可选的,该查询响应消息可以是Nudr_DM_Query Response消息。
步骤611,SM PCF向UDR发送订阅请求消息,相应地,UDR接收该订阅请求消息。
该订阅请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该订阅请求消息用于请求订阅该终端的与该(DNN,S-NSSAI)组合对应的签约数据。也即,当UDR中的该终端的与该(DNN,S-NSSAI)组合对应的签约数据发生改变时,则UDR主动通知SM PCF。其中,签约数据发生改变包括事件订阅信息发生改变。
可选的,该订阅请求消息可以是Ndur_DM_Subscribe request消息。
步骤612,UDR向SM PCF发送订阅响应消息。相应地,SM PCF接收该订阅响应消息。
可选的,该订阅响应消息可以是Ndur_DM_Subscribe response消息。
作为一种实现方法,可以执行上述步骤609至步骤610,不执行上述步骤611至步骤612。
作为一种实现方法,可以执行上述步骤611至步骤612,不执行上述步骤609至步骤610。
作为一种实现方法,既执行上述步骤609至步骤610,也执行上述步骤611至步骤612。
步骤613,SM PCF检测应用开始/停止事件。
具体的,SM PCF与SMF交互,请求检测应用开始/停止事件,然后SMF与UPF进一步交互,请求UPF检测应用开始/停止事件。
该步骤为可选步骤,具体的,当SM PCF获取到的事件订阅信息中的事件标识信息是应用检测(Application detection)时,则执行该步骤613。
步骤614,SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。
作为一种实现方法,若事件订阅信息中的事件标识信息是PDU会话的状态,则SM PCF根据事件订阅信息中的通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示PDU会话建立完成。
作为另一种实现方法,若事件订阅信息中的事件标识信息是应用检测,且SMF向SM PCF上报检测到了应用的标识对应的应用开始事件,则SM PCF根据通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示应用已经开始。可选的, 如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经开始的应用的标识。
可选的,如果事件订阅信息中包括通知关联标识,则通知消息中包括该通知关联标识。
可选的,当UE针对同一个(DNN,S-NSSAI)组合建立了多个PDU会话,并且这多个PDU会话选择了不同的SMF,而SMF选择了不同的SM PCF(即存在多个SM PCF都接收到了事件订阅信息),则每个SM PCF在检测到事件订阅信息中对应的事件时,向AM PCF发送通知消息,在通知消息中包括SM PCF的标识、PDU会话的标识或终端的地址中的至少一个。
可选的,当SM PCF控制对应同一个(DNN,S-NSSAI)组合的多个PDU会话时,则该通知消息中还可以包含PDU会话的标识或终端的地址,用于区分不同的PDU会话。
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。
步骤615至步骤620,同上述步骤314至步骤319。
可选的,步骤615中生成的更新的AM策略中除了包含更新的服务区域限制信息和更新的RFSP之外,还可以包含指示信息,该指示信息用于指示该更新的AM策略是根据终端对应的应用层信息确定的。
可选的,在上述步骤620之后,本申请实施例还可以执行以下步骤621至步骤627中的部分或全部步骤。
步骤621,SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。
作为一种实现方法,在某个时刻,SM PCF检测到PDU会话终结,比如SM PCF收到SMF发送的SM策略关联终结请求消息,则SM PCF根据事件订阅信息中的通知地址向AM PCF发送通知消息,该通知消息中包含指示信息,该指示信息指示PDU会话终结或释放。
作为另一种实现方法,在某个时刻,SMF向SM PCF报告了检测到应用的标识对应的应用停止,则SM PCF根据事件订阅信息中的通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示应用已经停止。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经停止的应用的标识。
可选的,如果事件订阅信息中包括通知关联标识,则通知消息中包括该通知关联标识。
可选的,当UE针对同一个(DNN,S-NSSAI)组合建立了多个PDU会话,并且这多个PDU会话选择了不同的SMF,而SMF选择了不同的SM PCF(即存在多个SM PCF都接收到了事件订阅信息),则通知消息中包括SM PCF的标识、PDU会话的标识或终端的地址中的至少一个。
可选的,当SM PCF控制对应同一个(DNN,S-NSSAI)组合的多个PDU会话时,则该通知消息中还可以包含PDU会话的标识或终端的地址,用于区分不同的PDU会话。
AM PCF可以根据SM PCF的标识、PDU会话的标识或终端的地址中的至少一个确定哪个PDU会话终结,或是哪个PDU会话对应的应用停止。
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。
步骤622,AM PCF更新AM策略。
该AM策略也称为移动性管理网元。
具体的,AM PCF收到步骤621的通知消息后,确定不根据AF提供的应用层信息确定AM策略,而是根据终端的签约数据和网络策略确定更新的AM策略。该步骤的具体实 现可以参考前述步骤302中的描述。
步骤623至步骤627,同上述步骤315至步骤319。
可选的,步骤622中生成的更新的AM策略中除了包含更新的服务区域限制信息和更新的RFSP之外,还可以包含指示信息,该指示信息用于指示该更新的AM策略不是根据终端对应的应用层信息确定的,或者用于指示该更新的AM策略是根据终端的签约数据确定的。
根据上述方案,SM PCF从UDR获取AMF在签约数据中保存的事件订阅信息,并在PDU会话建立后或在检测到应用开始事件后通知AM PCF,从而触发AM PCF根据来自AF的应用层信息更新AM策略。该方案中,AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。
图7为本申请实施例提供的一种通信方法,该方法是AF针对一组终端或任意终端提供应用层信息用于AM策略的决策,AM PCF从UDR获取应用层信息。
该方法包括以下步骤:
步骤701至步骤705,同上述步骤401至步骤405。
步骤706至步骤726,同上述步骤607至步骤627。
该实施例的有益效果可以参考前述图6的实施例的有益效果,不再赘述。
图8为本申请实施例提供的一种通信方法,该方法应用于终端发生移动并执行AMF重选流程后的策略制定流程。该方法是AF针对单个终端提供应用层信息用于AM策略的决策,目标AM PCF从AF获取应用层信息。
该方法中,将移动前接入的AMF称为源AMF(source AMF),或称为老的AMF(old AMF)。将移动后接入的AMF称为目标AMF(target AMF),或称为新的AMF(new AMF)。将移动前为终端提供服务的AM PCF称为源AM PCF(source AM PCF),或称为老的AM PCF(old AM PCF),或称为第三PCF。将移动后为终端提供服务的AM PCF称为目标AM PCF(target AM PCF),或称为新的AM PCF(new AM PCF),或称为第一PCF。
该方法包括以下步骤:
步骤801,终端发生移动,终端向基站发送注册请求消息。相应地,基站接收该注册请求消息。
该注册请求消息中携带终端的标识信息。
步骤802,基站选择新的AMF,即目标AMF。
步骤803,基站向目标AMF发送注册请求消息。相应地,目标AMF接收该注册请求消息。
该注册请求消息中携带终端的标识信息。
步骤804a,目标AMF向源AMF发送上下文请求消息。相应地,源AMF接收该上下文请求消息。
该上下文请求消息中包含终端的标识信息。
可选的,该上下文请求消息可以是Namf_Communication_UEContextTransfer request消息。
步骤804b,源AMF向目标AMF发送上下文响应消息。相应地,目标AMF接收该上下文响应消息。
该上下文响应消息中包含终端的上下文信息,该上下文信息包含源AMF从源AM PCF接收到的授权的AM策略,该授权的AM策略包括授权的服务区域限制信息和/或授权的RFSP,具体可以参考前述图6的实施例的描述。
可选的,该上下文响应消息中还包含指示信息,该指示信息指示该上下文信息中的AM策略是根据应用层信息确定的。
可选的,该上下文响应消息可以是Namf_Communication_UEContextTransfer response消息。
步骤805,目标AMF向源AMF发送状态更新消息。相应地,源AMF接收该状态更新消息。
该状态更新消息用于表示终端的状态同步完成。
可选的,该状态更新消息可以是Namf_Communication_RegistrationStatusUpdate消息。
步骤806,目标AMF选择目标AM PCF,并向目标AM PCF发送AM策略控制请求消息。相应地,目标AMF接收该AM策略控制请求消息。
该AM策略控制请求消息中携带授权的AM策略。可选的,该AM策略控制请求消息中还包括上述步骤804b的指示信息。
可选的,该AM策略控制请求消息可以是Npcf_AMPolicyControl_Create request消息。
步骤807,目标AM PCF向BSF发送注册请求消息。相应地,BSF接收该注册请求消息。
具体的,目标AM PCF根据收到的授权的AM策略或根据收到的指示信息,确定不根据终端的签约数据确定授权的AM策略,而是向BSF发送注册请求消息,该注册请求消息中包括AM PCF的绑定信息,该AM PCF的绑定信息的具体内容可以参考前述303中的描述。
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。
步骤808,BSF向AF发送通知消息。相应地,AF接收该通知消息。
具体的,BSF根据之前AF的订阅,向AF发送该通知消息,该通知消息中包括目标AM PCF的标识。其中,AF向BSF的订阅操作可以参考前述步骤604。
可选的,该通知消息可以是Nbsf_Management_Notify Request消息。
步骤809,AF向目标AM PCF发送AM策略授权请求消息,相应地,目标AM PCF接收该AM策略授权请求消息。
该步骤的具体实现可以参考前述步骤306的描述。
步骤810,目标AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。
该步骤的具体实现可以参考前述步骤607的描述。
步骤811,UDR向SM PCF发送通知消息。相应地,SM PCF接收该通知消息。
具体的,UDR根据之前SM PCF的订阅,向SM PCF发送通知消息,该通知消息中包括目标AM PCF向UDR保存的事件订阅信息。其中,SM PCF向UDR的订阅操作可以参考前述步骤609。
可选的,该通知消息可以是Nudr_DM_Notify request消息。
步骤812,同上述步骤613。
步骤813,SM PCF向目标AM PCF发送通知消息,相应地,目标AM PCF接收该通知消息。
该步骤的具体实现可以参考前述步骤614的描述。
步骤814,目标AM PCF向目标AMF发送AM策略控制响应消息。相应地,目标AMF接收该AM策略控制响应消息。
如果目标AM PCF根据上述步骤813中收到的通知消息,确定PDU会话已经建立或者应用已经开始则目标AM PCF根据上述步骤809中收到的应用层信息确定更新的AM策略,其中更新的AM策略中包括更新的服务区域限制信息和更新的RFSP。
如果更新的AM策略与上述步骤806中收到的授权的AM策略相同,则该AM策略控制响应消息中不包含该更新的AM策略,可选的,该AM策略控制响应消息中可以包含一个指示信息,用于指示AM策略未更新。
如果更新的AM策略与上述步骤806中收到的授权的AM策略不同,则该AM策略控制响应消息中包含该更新的AM策略。
可选的,该AM策略控制响应消息可以是Npcf_AmPolicyControl_Create response消息。
步骤815,目标AMF执行更新的AM策略。
即AMF根据更新的AM策略,对终端执行控制。
步骤816,目标AMF向终端发送注册接受消息。相应地,终端接收该注册接受消息。
若目标AMF在上述步骤814中收到了更新的AM策略,则该注册接受消息中可以携带更新的AM策略中的更新的服务区域限制信息。
步骤817,目标AMF向基站发送通知消息,该通知消息中包含更新的服务区域限制信息和更新的RFSP。
基站根据更新的服务区域限制信息控制终端的接入,以及根据更新的RFSP确定无线资源管理策略。
该步骤为可选步骤,当目标AMF在上述步骤814中收到了更新的AM策略,则执行该步骤817。
步骤818,目标AM PCF向AF发送事件通知和更新的AM策略。
该步骤为可选步骤。当目标AMF在上述步骤814中收到了更新的AM策略,则执行该步骤818。
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向AF发送事件通知和更新的AM策略。
步骤819,源AMF向源AM PCF发送AM策略删除消息。相应地,源AM PCF接受该AM策略删除消息。
该AM策略删除消息用于请求删除AM策略关联。
可选的,该AM策略删除消息可以是Npcf_AMPolicyControl_Delete消息。
步骤820,源AM PCF向BSF发送去注册请求消息。相应地,BSF接收该去注册请求消息。
该去注册请求消息用于请求删除源AM PCF的绑定注册信息。
可选的,该去注册请求消息可以是Nbsf_Management_DeregisterRequest消息。
步骤821,源AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消 息。
该更新请求消息中包含指示信息和事件订阅信息的标识,该指示信息用于请求删除UDR中保存的事件订阅信息。其中,本申请实施例中的事件订阅信息的标识也称为第一标识信息。
可选的,该更新请求消息可以是Nudr_DM_Update Request消息。
作为一种实现方法,若源AMF将源AM PCF在UDR中保存的事件订阅信息的标识通过步骤804发送给了目标AMF,则目标AMF可以在步骤806中将该事件订阅信息的标识发送给目标AM PCF,那么在步骤810中,目标AM PCF向UDR发送更新请求消息,该更新请求消息中除了包含事件订阅信息、终端的标识信息和(DNN,S-NSSAI)组合之外,还包含收到的事件订阅信息的标识,该更新请求消息用于请求对该事件订阅信息的标识对应的事件订阅信息进行更新,具体的,将事件订阅信息中的通知地址由源AM PCF的地址修改为目标AM PCF的地址。该情形下,可以不需要执行上述步骤821。
根据上述方案,在终端发生移动,导致AMF、AM PCF均发生重选的场景下,可以实现由目标AM PCF对AM策略进行更新。该方案中,目标AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免目标AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。
图9为本申请实施例提供的一种通信方法,该方法应用于终端发生移动并执行AMF重选流程后的策略制定流程。该方法是AF针对一组终端或任意终端提供应用层信息用于AM策略的决策,目标AM PCF从UDR获取应用层信息。
该方法中,将移动前接入的AMF称为源AMF(source AMF),或称为老的AMF(old AMF)。将移动后接入的AMF称为目标AMF(target AMF),或称为新的AMF(new AMF)。将移动前为终端提供服务的AM PCF称为源AM PCF(source AM PCF),或称为老的AM PCF(old AM PCF),或称为第三PCF。将移动后为终端提供服务的AM PCF称为目标AM PCF(target AM PCF),或称为新的AM PCF(new AM PCF),或称为第一PCF。
该方法包括以下步骤:
步骤901至步骤903,同上述步骤801至步骤803。
步骤904a至步骤904b,同上述步骤804a至步骤804b。
步骤905至步骤906,同上述步骤805至步骤806。
步骤907,目标AM PCF向UDR发送订阅请求消息。相应地,UDR接收该订阅请求消息。
具体的,目标AM PCF根据收到的授权的AM策略或根据收到的指示信息,确定不立即根据终端的签约数据确定授权的AM策略,而是向UDR发送订阅请求消息,该订阅请求消息中包含(S-NSSAI,DNN)组合以及外部组标识。该订阅请求消息用于订阅与AM相关的应用数据,或者理解为订阅AM影响信息(AM influence information)。
其中,AM影响信息也可以称为应用层信息。
可选的,该订阅请求消息可以是Nudr_DM_Subscribe request消息。
步骤908,UDR向目标AM PCF发送通知消息。相应地,目标AM PCF接收该通知消息。
该通知消息中包含AM影响信息。可选的,该通知消息可以是Nudr_DM_Notify request 消息。
步骤909,目标AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。
该步骤的具体实现可以参考上述步骤607。
步骤910至步骤918,同上述步骤811至步骤819。
步骤919,同上述步骤821。
该实施例的有益效果可以参考前述图8的实施例的有益效果,不再赘述。
图10为本申请实施例提供的一种通信方法,该方法是AMPCF经由AMF向SMF订阅上述事件的方案,通过该方式,可以规避AMPCF获取SMPCF的标识及向SMPCF发起事件订阅所带来的SMPCF查找所引出的问题,比如可以规避AMPCF可能需要向多个BSF实例订阅SMPCF的信息。
该方法包括以下步骤:
步骤1001至步骤1006,同上述步骤601至步骤606。
步骤1007,AM PCF向AMF发送更新请求消息。相应地,AMF接收该更新请求消息。
该更新请求消息是上述步骤501c的第一请求消息的一个示例。
具体的,AM PCF从AF收到了用于决策AM策略的应用层信息,则AM PCF确定需要根据应用层信息确定AM策略信息,从而AM PCF决定向AMF发送上述更新请求消息。并且,AM PCF根据收到的应用层信息确定还需要获知PDU会话的状态或者应用的状态。其中,PDU会话的状态是建立或终结,应用的状态是开始或停止。
该更新请求消息中包含事件订阅信息和(DNN,S-NSSAI)组合,该更新请求消息用于请求AMF向该(DNN,S-NSSAI)组合对应的SMF订阅该事件订阅信息对应的事件。
该事件订阅信息包括事件标识信息。作为一种实现方法,若上述步骤1006的AM策略授权请求消息中包括上述信息1或信息2,则上述事件标识信息可以设置为PDU会话的状态。若上述步骤1006的AM策略授权请求消息中包括上述信息3或信息4,则上述事件标识信息可以设置为应用检测(也可以是Application start/stop)。其中的,当事件标识信息是应用检测时,则上述事件订阅信息中还包含至少一个应用的标识。
可选的,该事件订阅信息中还包含通知地址,该通知地址是AM PCF的地址。AMF收到该事件订阅信息后,将事件订阅信息中的通知地址修改为AMF的地址。
作为一种实现方法,在上述事件订阅信息中还可以包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对SMF控制的对应同一个(DNN,S-NSSAI)组合的多个PDU会话,当该多个PDU会话中的第一个PDU会话建立时通知AM PCF,以及当该多个PDU会话中的最后一个PDU会话终结(或释放)时通知AM PCF。也即,当建立该多个PDU会话中的第一个PDU会话时通知AM PCF,建立其它PDU会话时不需要通知AM PCF,当该多个PDU会话中的某个PDU会话释放之后不存在处于激活态的PDU会话,则通知AM PCF,当该多个PDU会话中的某个PDU会话释放之后还存在至少一个PDU会话处于激活态的PDU会话,则不通知AM PCF。
可选的,该更新请求消息可以是Npcf_AMPolicyControl_UpdateNotify消息。
步骤1008,AMF收到上述更新请求消息后,判断目标PDU会话是否已经建立。
该目标PDU会话是与(DNN,S-NSSAI)组合对应的PDU会话。
若目标PDU会话已经建立,则执行以下步骤1009。
若目标PDU会话尚未建立,则执行以下步骤1010至步骤1011。
步骤1009,AMF向SMF发送订阅请求消息。相应地,SMF接收该订阅请求消息。
该SMF是为目标PDU会话提供服务的SMF,或者理解为该SMF是与(DNN,S-NSSAI)组合对应的SMF。
该订阅请求消息中包含上述事件订阅信息。
可选的,该订阅请求消息可以是Nsmf_EventExposure_Subscribe消息。
步骤1010,终端向AMF发送会话建立请求消息。相应地,AMF接收该会话建立请求消息。
可选的,该会话建立请求消息可以是PDU Session Establishment Request消息。
步骤1011,AMF向SMF发送订阅请求消息。相应地,SMF接收该订阅请求消息。
AMF确定收到会话建立请求消息,则执行该步骤1011。
该步骤1011同上述步骤1009,可参考前述描述。
步骤1012,SMF根据事件订阅信息,执行事件检测。
若事件订阅信息中的事件标识信息是PDU会话的状态,则SMF检测PDU会话的状态。若事件订阅信息中的事件标识信息是应用检测,则SMF检测应用开启或停止。
步骤1013,SMF向AMF发送通知消息。相应地,AMF接收该通知消息。
作为一种实现方法,若事件订阅信息中的事件标识信息是PDU会话的状态,则该通知消息中包含指示信息,该指示信息指示PDU会话建立完成。
作为另一种实现方法,若事件订阅信息中的事件标识信息是应用检测,且SMF检测到了应用的标识对应的应用开始事件,则该通知消息中包含指示信息,该指示信息指示应用已经开始。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经开始的应用的标识。
可选的,该通知消息可以是Nsmf_EventExposure_Notify消息。
步骤1014,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。
该通知消息包含的内容与上述步骤1013的通知消息包含的内容相同。
可选的,该通知消息可以是Npcf_AMPolicyControl_Update消息。
步骤1015至步骤1020,同上述步骤615至步骤620。
可选的,如果SMF确定PDU会话的状态发生改变或应用的状态发生改变,则还可以执行以下步骤1021至步骤1028。
步骤1021,SMF向AMF发送通知消息。相应地,AMF接收该通知消息。
作为一种实现方法,在某个时刻,SMF检测到PDU会话终结,则该通知消息中包含指示信息,该指示信息指示PDU会话终结或释放。
作为另一种实现方法,在某个时刻,SMF检测到应用的标识对应的应用停止,则该通知消息中包含指示信息,该指示信息指示应用已经停止。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经停止的应用的标识。
可选的,该通知消息可以是Nsmf_EventExposure_Notify消息。
步骤1022,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。
该通知消息包含的内容与上述步骤1021的通知消息包含的内容相同。
可选的,该通知消息可以是Npcf_AMPolicyControl_Update消息。
步骤1023至步骤1028,同上述步骤622至步骤627。
根据上述方案,AM PCF从AMF获取到PDU会话的状态或应用的状态,从而触发AM PCF根据来自AF的应用层信息更新AM策略。该方案中,AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。
可以理解的是,为了实现上述实施例中功能,AF和基站包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。
图11和图12为本申请的实施例提供的可能的通信装置的结构示意图。这些通信装置可以用于实现上述方法实施例中第一PCF、第二PCF、UDR、AMF或SMF的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该通信装置可以是第一PCF、第二PCF、UDR、AMF或SMF,也可以是应用于第一PCF、第二PCF、UDR、AMF或SMF的模块(如芯片)。
如图11所示,通信装置1100包括处理单元1110和收发单元1120。通信装置1100用于实现上述图5(a)、图5(b)、图5(c)、图6至图10所示的方法实施例中第一PCF、第二PCF、UDR、AMF或SMF的功能。
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中第一PCF的功能时:收发单元1120,用于向数据管理网元发送请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
作为一种可能的实现方法,处理单元1110,具体用于当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元根据来自应用功能网元的应用层信息确定该移动性管理策略。
作为一种可能的实现方法,收发单元1120,还用于接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。
作为一种可能的实现方法,收发单元1120,还用于向应用功能网元发送该移动性管理策略。
作为一种可能的实现方法,收发单元1120,还用于接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;该第一策略控制网元根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略 控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中第二PCF的功能时:收发单元1120,用于接收来自数据管理网元的事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址;处理单元1110,用于根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;收发单元1120,还用于根据该通知地址,向该第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中,该第一策略控制网元用于制定移动性管理策略,第二策略控制网元用于制定会话管理策略。
作为一种可能的实现方法,收发单元1120,用于向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该第二策略控制网元接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。
作为一种可能的实现方法,收发单元1120,用于向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中UDR的功能时:收发单元1120,用于接收来自第一策略控制网元的请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址;该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;以及向第二策略控制网元发送该事件标识信息和该通知地址;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。
作为一种可能的实现方法,收发单元1120,用于接收来自该第二策略控制网元的查询请求消息,该查询请求消息用于请求查询该终端的签约数据;向该第二策略控制网元发送查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。
作为一种可能的实现方法,收发单元1120,用于接收来自该第二策略控制网元的签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;向该第二策略控制网元发送通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。
作为一种可能的实现方法,收发单元1120,用于向该第一策略控制网元发送响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。
当通信装置1100用于实现图5(b)、图8或图9所示的方法实施例中第一PCF的功能时:收发单元1120,用于向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址,该第二通知地址是 用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;以及接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元和该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。
当通信装置1100用于实现图5(c)或图10所示的方法实施例中第一PCF的功能时:收发单元1120,用于向移动性管理网元发送第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;以及,接收来自该移动性管理网元或该会话对应的会话管理网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略。
作为一种可能的实现方法,处理单元1110,具体用于当该会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元根据该来自应用功能网元的应用层信息确定该移动性管理策略。
作为一种可能的实现方法,收发单元1120,用于向应用功能网元发送该移动性管理策略。
当通信装置1100用于实现图5(c)或图10所示的方法实施例中SMF的功能时:收发单元1120,用于接收来自移动性管理网元的第二请求消息,该第二请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第二请求消息用于请求该事件标识信息对应的事件通知;处理单元1110,用于根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;收发单元1120,还用于向该移动性管理网元或该终端对应的第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中该第一策略控制网元为用于制定移动性管理策略的策略控制网元。
当通信装置1100用于实现图5(c)或图10所示的方法实施例中AMF的功能时:收发单元1120,用于接收来自第一策略控制网元的第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;以及,在处理单元1110检测到该事件标识信息对应的事件后,向该第一策略控制网元发送通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,终端的会话的状态或终端的应用的状态是根据事件标识信息检测得到的;处理单元1110,用于检测该事件标识信息对应的事件,其中,该第一策略控制网元用于制定移动性管理策略。
作为一种可能的实现方法,收发单元1120,用于在处理单元1110检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该通知消息, 该通知消息中包含会话的状态,该会话的状态为会话建立。
作为一种可能的实现方法,收发单元1120,用于向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;接收来自该会话管理网元的通知消息,该通知消息中包含该终端的应用的状态或该终端的会话的状态;向该第一策略控制网元发送该通知消息,该通知消息中包含终端的应用的状态或该终端的会话的状态。
有关上述处理单元1110和收发单元1120更详细的描述可以直接参考图5(a)、图5(b)、图5(c)、图6至图10所示的方法实施例中相关描述直接得到,这里不加赘述。
如图12所示,通信装置1200包括处理器1210和接口电路1220。处理器1210和接口电路1220之间相互耦合。可以理解的是,接口电路1220可以为收发器或输入输出接口。可选的,通信装置1200还可以包括存储器1230,用于存储处理器1210执行的指令或存储处理器1210运行指令所需要的输入数据或存储处理器1210运行指令后产生的数据。
当通信装置1200用于实现图5(a)、图5(b)、图5(c)、图6至图10所示的方法时,处理器1210用于实现上述处理单元1110的功能,接口电路1220用于实现上述收发单元1120的功能。
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器、可擦除可编程只读存储器、电可擦除可编程只读存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于基站或终端中。当然,处理器和存储介质也可以作为分立组件存在于基站或终端中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、基站、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘;还可以是半导体介质,例如,固态硬 盘。该计算机可读存储介质可以是易失性或非易失性存储介质,或可包括易失性和非易失性两种类型的存储介质。
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。

Claims (29)

  1. 一种通信方法,其特征在于,包括:
    第一策略控制网元向数据管理网元发送请求消息,所述请求消息中包含终端的标识信息、事件标识信息和通知地址,所述事件标识信息用于指示检测会话的状态或应用的状态,所述通知地址是用于接收所述事件标识信息对应的事件通知的所述第一策略控制网元的地址,所述请求消息用于请求所述数据管理网元保存所述事件标识信息和所述通知地址;
    所述第一策略控制网元接收来自第二策略控制网元的通知消息,所述通知消息中包含所述终端的会话的状态或所述终端的应用的状态,所述终端的会话的状态或所述终端的应用的状态是根据从所述数据管理网元获取的所述事件标识信息检测得到的;
    所述第一策略控制网元根据所述终端的会话的状态或所述终端的应用的状态确定移动性管理策略;
    其中,所述第一策略控制网元用于制定移动性管理策略,所述第二策略控制网元用于制定会话管理策略。
  2. 如权利要求1所述的方法,其特征在于,所述事件标识信息是根据来自应用功能网元的应用层信息确定的。
  3. 如权利要求1或2所述的方法,其特征在于,所述第一策略控制网元根据所述终端的会话的状态或所述终端的应用的状态确定移动性管理策略,包括:
    当所述终端的会话的状态为会话建立或所述终端的应用的状态为应用开始,所述第一策略控制网元根据来自应用功能网元的应用层信息确定所述移动性管理策略。
  4. 如权利要求2或3所述的方法,其特征在于,所述应用层信息中包含(数据网络名称DNN,单网络切片选择辅助信息S-NSSAI)组合,所述请求消息中还包含所述(DNN,S-NSSAI)组合,所述第二策略控制网元对应所述(DNN,S-NSSAI)组合。
  5. 如权利要求4所述的方法,其特征在于,所述请求消息中还包含第一指示信息,所述第一指示信息用于指示通知策略,所述通知策略为:当所述(DNN,S-NSSAI)组合对应的第一个会话建立时发送所述通知消息,和/或当所述(DNN,S-NSSAI)组合对应的最后一个会话终结时发送所述通知消息。
  6. 如权利要求2至5中任一项所述的方法,其特征在于,
    所述移动性管理策略中包含第二指示信息,所述第二指示信息用于指示所述移动性管理策略是根据所述应用层信息确定的。
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一策略控制网元接收来自所述数据管理网元的响应消息,所述响应消息中包括第一标识信息,所述第一标识信息是所述事件标识信息及所述通知地址的标识信息,所述第一标识信息用于对所述事件标识信息和/或所述通知地址进行修改或删除。
  8. 如权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一策略控制网元向应用功能网元发送所述移动性管理策略。
  9. 如权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一策略控制网元接收来自移动性管理网元的第三指示信息,所述第三指示信息用于指示所述终端使用的移动性管理策略是根据应用层信息确定的;
    所述第一策略控制网元根据所述第三指示信息,延迟确定移动性管理策略;
    其中,所述第一策略控制网元是所述终端发生移动之后为所述终端提供服务的策略控制网元。
  10. 一种通信方法,其特征在于,包括:
    第二策略控制网元接收来自数据管理网元的事件标识信息和通知地址,所述事件标识信息用于指示检测会话的状态或应用的状态,所述通知地址是用于接收所述事件标识信息对应的事件通知的第一策略控制网元的地址;
    所述第二策略控制网元根据所述事件标识信息,检测终端的会话的状态或终端的应用的状态;
    所述第二策略控制网元根据所述通知地址,向所述第一策略控制网元发送通知消息,所述通知消息中包含所述终端的会话的状态或所述终端的应用的状态;
    其中,所述第一策略控制网元用于制定移动性管理策略,所述第二策略控制网元用于制定会话管理策略。
  11. 如权利要求10所述的方法,其特征在于,所述事件标识信息是根据来自应用功能网元的应用层信息确定的。
  12. 如权利要求10或11所述的方法,其特征在于,所述方法还包括:
    所述第二策略控制网元向所述数据管理网元发送查询请求消息,所述查询请求消息用于请求查询所述终端的签约数据;
    所述第二策略控制网元接收来自数据管理网元的事件标识信息和通知地址,包括:
    所述第二策略控制网元接收来自所述数据管理网元的查询响应消息,所述查询响应消息中包括所述终端的签约数据,所述签约数据中包含所述事件标识信息和所述通知地址。
  13. 如权利要求12所述的方法,其特征在于,所述查询请求消息中还包含(数据网络名称DNN,单网络切片选择辅助信息S-NSSAI)组合,所述第二策略控制网元对应所述(DNN,S-NSSAI)组合,所述查询请求消息用于请求查询所述终端的与所述(DNN,S-NSSAI)组合对应的签约数据。
  14. 如权利要求10所述的方法,其特征在于,所述方法还包括:
    所述第二策略控制网元向所述数据管理网元发送签约数据订阅请求消息,所述签约数据订阅请求消息用于请求所述终端的签约数据改变的通知;
    所述第二策略控制网元接收来自数据管理网元的事件标识信息和通知地址,包括:
    所述第二策略控制网元接收来自所述数据管理网元的通知消息,所述通知消息中包括所述终端的改变后的签约数据,所述改变后的签约数据中包含所述事件标识信息和所述通知地址。
  15. 如权利要求14所述的方法,其特征在于,所述签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,所述第二策略控制网元对应所述(DNN,S-NSSAI)组合,所述签约数据订阅请求用于请求所述终端的与所述(DNN,S-NSSAI)组合对应的签约数据改变的通知。
  16. 如权利要求10至15中任一项所述的方法,其特征在于,所述通知消息中还包括所述终端的会话的标识、所述终端的地址或所述第二策略控制网元的标识中的至少一个。
  17. 一种通信方法,其特征在于,包括:
    数据管理网元接收来自第一策略控制网元的请求消息,所述请求消息中包含终端的标 识信息、事件标识信息和通知地址,所述事件标识信息用于指示检测会话的状态或应用的状态,所述通知地址是用于接收所述事件标识信息对应的事件通知的所述第一策略控制网元的地址;所述请求消息用于请求所述数据管理网元保存所述事件标识信息和所述通知地址;
    所述数据管理网元向第二策略控制网元发送所述事件标识信息和所述通知地址;
    其中,所述第一策略控制网元用于制定移动性管理策略,所述第二策略控制网元用于制定会话管理策略。
  18. 如权利要求17所述的方法,其特征在于,所述事件标识信息是根据来自应用功能网元的应用层信息确定的。
  19. 如权利要求17或18所述的方法,其特征在于,所述方法还包括:
    所述数据管理网元接收来自所述第二策略控制网元的查询请求消息,所述查询请求消息用于请求查询所述终端的签约数据;
    所述数据管理网元向所述第二策略控制网元发送查询响应消息,所述查询响应消息中包括所述终端的签约数据,所述签约数据中包含所述事件标识信息和所述通知地址。
  20. 如权利要求19所述的方法,其特征在于,所述查询请求消息中还包含(数据网络名称DNN,单网络切片选择辅助信息S-NSSAI)组合,所述第二策略控制网元对应所述(DNN,S-NSSAI)组合,所述查询请求消息用于请求查询所述终端的与所述(DNN,S-NSSAI)组合对应的签约数据。
  21. 如权利要求17所述的方法,其特征在于,所述方法还包括:
    所述数据管理网元接收来自所述第二策略控制网元的签约数据订阅请求消息,所述签约数据订阅请求消息用于请求所述终端的签约数据改变的通知;
    所述数据管理网元向所述第二策略控制网元发送通知消息,所述通知消息中包括所述终端的改变后的签约数据,所述改变后的签约数据中包含所述事件标识信息和所述通知地址。
  22. 如权利要求21所述的方法,其特征在于,所述签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,所述第二策略控制网元对应所述(DNN,S-NSSAI)组合,所述签约数据订阅请求用于请求所述终端的与所述(DNN,S-NSSAI)组合对应的签约数据改变的通知。
  23. 如权利要求17至22中任一项所述的方法,其特征在于,所述方法还包括:
    所述数据管理网元向所述第一策略控制网元发送响应消息,所述响应消息中包括第一标识信息,所述第一标识信息是所述事件标识信息及所述通知地址的标识信息,所述第一标识信息用于对所述事件标识信息和/或所述通知地址进行修改或删除。
  24. 一种通信装置,其特征在于,包括用于执行如权利要求1至9中任一项所述方法的模块,或用于执行如权利要求10至16中任一项所述方法的模块,或用于执行如权利要求17至23中任一项所述方法的模块。
  25. 一种通信系统,其特征在于,包括用于执行如权利要求1至9中任一项所述方法的第一策略控制网元,和第二策略控制网元,
    所述第二策略控制网元,用于向所述第一策略控制网元发送通知消息。
  26. 如权利要求25所述的系统,其特征在于,所述第二策略控制网元为用于执行如权利要求10至16中任一项所述方法的第二策略控制网元。
  27. 如权利要求25所述的系统,其特征在于,所述系统还包括用于执行如权利要求17至23中任一项所述方法的数据管理网元。
  28. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至9,或权利要求10至23中任一项所述的方法。
  29. 一种通信方法,其特征在于,包括:
    第一策略控制网元向数据管理网元发送请求消息,所述请求消息中包含终端的标识信息、事件标识信息和通知地址,所述事件标识信息用于指示检测会话的状态或应用的状态,所述通知地址是用于接收所述事件标识信息对应的事件通知的所述第一策略控制网元的地址,所述请求消息用于请求所述数据管理网元保存所述事件标识信息和所述通知地址;
    第二策略控制网元向所述第一策略控制网元发送通知消息,所述通知消息中包含所述终端的会话的状态或所述终端的应用的状态,所述终端的会话的状态或所述终端的应用的状态是根据从所述数据管理网元获取的所述事件标识信息检测得到的;
    所述第一策略控制网元接收所述通知消息,根据所述终端的会话的状态或所述终端的应用的状态确定移动性管理策略;
    其中,所述第一策略控制网元用于制定移动性管理策略,所述第二策略控制网元用于制定会话管理策略。
PCT/CN2022/097710 2021-07-30 2022-06-08 通信方法、通信装置及通信系统 WO2023005440A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110875024.1 2021-07-30
CN202110875024 2021-07-30

Publications (1)

Publication Number Publication Date
WO2023005440A1 true WO2023005440A1 (zh) 2023-02-02

Family

ID=85060148

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2022/097710 WO2023005440A1 (zh) 2021-07-30 2022-06-08 通信方法、通信装置及通信系统
PCT/CN2022/097709 WO2023005439A1 (zh) 2021-07-30 2022-06-08 通信方法、通信装置及通信系统

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097709 WO2023005439A1 (zh) 2021-07-30 2022-06-08 通信方法、通信装置及通信系统

Country Status (2)

Country Link
CN (1) CN115696299A (zh)
WO (2) WO2023005440A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035424A (zh) * 2018-01-12 2019-07-19 华为技术有限公司 策略相关的通信方法、装置和系统
CN110048867A (zh) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 一种策略控制功能管理方法和装置
US20200367141A1 (en) * 2019-05-16 2020-11-19 Verizon Patent And Licensing Inc. System and method for enabling subscriber-based policy decisions

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166983B (zh) * 2018-02-11 2021-11-19 中国移动通信有限公司研究院 一种事件订阅方法及网元设备
CN112449399B (zh) * 2019-09-02 2023-03-10 华为技术有限公司 一种通信方法、装置及系统
EP4057657A4 (en) * 2019-11-08 2023-11-22 LG Electronics Inc. NETWORK CONTROL METHOD FOR EU POLICY TRANSMISSION

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035424A (zh) * 2018-01-12 2019-07-19 华为技术有限公司 策略相关的通信方法、装置和系统
CN110048867A (zh) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 一种策略控制功能管理方法和装置
US20200367141A1 (en) * 2019-05-16 2020-11-19 Verizon Patent And Licensing Inc. System and method for enabling subscriber-based policy decisions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Support of Generic Public Subscription Identifier", 3GPP DRAFT; C3-176024, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. CT WG3, no. Reno, USA; 20171127 - 20171201, 20 November 2017 (2017-11-20), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051367815 *

Also Published As

Publication number Publication date
WO2023005439A1 (zh) 2023-02-02
CN115696299A (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
JP6908720B2 (ja) コアネットワーク制御プレーンデバイス選択方法および装置
WO2021031562A1 (zh) 一种获取信息的方法及装置
US20200280892A1 (en) Session context handling method, network element, and terminal device
WO2021212939A1 (zh) 通信方法、装置及系统
WO2021023139A1 (zh) 一种切换的方法及装置
EP4185010A1 (en) Method and device for accessing local network
WO2022267652A1 (zh) 一种通信方法、通信装置及通信系统
CN114071649B (zh) 访问本地网络的方法和装置
WO2023005440A1 (zh) 通信方法、通信装置及通信系统
WO2021218244A1 (zh) 通信方法、装置及系统
WO2021159415A1 (zh) 通信方法、装置及系统
WO2021081712A1 (zh) 一种dns查询方法及装置
WO2021128157A1 (zh) 切换方法、设备及系统
WO2023082858A1 (zh) 确定移动性管理策略的方法、通信装置及通信系统
WO2023071320A1 (zh) 一种保障语音业务的方法及通信装置
WO2023061207A1 (zh) 一种通信方法、通信装置及通信系统
WO2023016298A1 (zh) 一种业务感知方法、通信装置及通信系统
WO2023197737A1 (zh) 报文发送方法、pin管理方法、通信装置及通信系统
WO2023134431A1 (zh) 一种授时方法、通信装置及通信系统
WO2024078305A1 (zh) 通信方法、通信装置及通信系统
WO2023231450A1 (zh) 一种时间同步方法及通信装置
WO2022237516A1 (zh) 一种无线通信方法及通信装置
WO2023185062A1 (zh) 一种备份方法、通信装置及通信系统
WO2023169225A1 (zh) 一种pin管理方法、通信装置及通信系统
WO2023246427A1 (zh) 一种测距方法和通信装置

Legal Events

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

Ref document number: 22848050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE