CN115696299A - Communication method, communication device and communication system - Google Patents
Communication method, communication device and communication system Download PDFInfo
- Publication number
- CN115696299A CN115696299A CN202111364836.6A CN202111364836A CN115696299A CN 115696299 A CN115696299 A CN 115696299A CN 202111364836 A CN202111364836 A CN 202111364836A CN 115696299 A CN115696299 A CN 115696299A
- Authority
- CN
- China
- Prior art keywords
- network element
- session
- terminal
- pcf
- policy
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing 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/08—Mobility data transfer
- H04W8/14—Mobility data transfer between corresponding nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供通信方法、通信装置及通信系统。该方法中,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息和通知地址保存至数据管理网元,便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。
The present application provides a communication method, a communication device and a communication system. In this method, the first policy control network element determines the mobility management policy according to the session state or the application state of the terminal, so that the precise determination of the mobility management policy can be realized. 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.
Description
本申请要求在2021年7月30日提交中华人民共和国知识产权局、申请号为This application is required to be submitted to the Intellectual Property Office of the People's Republic of China on July 30, 2021, and the application number is 202110875024.1、发明名称为“通信方法、通信装置及通信系统”的中国专利申请的优先权,202110875024.1, the priority of the Chinese patent application titled "Communication Method, Communication Device and Communication System", 其全部内容通过引用结合在本申请中。The entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及通信方法、通信装置及通信系统。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.
背景技术Background technique
在第五代(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网元的策略执行。In the fifth generation (5th generation, 5G) system, 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 An access and mobility management policy control function (AM PCF) network element interacts to establish an access and mobility policy association (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.
然而,如何实现精确确定移动性管理策略,是目前需要解决的。However, how to accurately determine the mobility management strategy needs to be solved at present.
发明内容Contents of the invention
本申请提供通信方法、通信装置及通信系统,用以实现精确确定移动性管理策略。The present application provides a communication method, a communication device and a communication system, so as to accurately determine a mobility management strategy.
第一方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向数据管理网元发送请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;该第一策略控制网元接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。In a first aspect, 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. Taking the first policy control network element to execute the method as an example, 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 In order 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 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 policy control network element determines the mobile mobility management policy; 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.
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息和通知地址保存至数据管理网元,便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。According to the above solution, 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.
作为一种可能的实现方法,当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元根据来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, 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 determines the mobility management strategy.
根据上述方案,可以实现准确确定移动性管理策略。According to the above solution, it is possible to accurately determine the mobility management policy.
作为一种可能的实现方法,该应用层信息中包含(数据网名称(data networkname,DNN),单网络切片选择辅助信息(single network slice selection assistanceinformation,S-NSSAI))组合,该请求消息中还包含该(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合。As a possible implementation method, the application layer information includes (data network name (data networkname, DNN), single network slice selection assistance information (single network slice selection assistance information, S-NSSAI)) combination, and the request message also includes Including the (DNN, S-NSSAI) combination, the second policy control network element corresponds to the (DNN, S-NSSAI) combination.
根据上述方案,可以实现基于(DNN,S-NSSAI)组合,对事件标识信息进行精细化管理。According to the above solution, refined management of event identification information based on (DNN, S-NSSAI) combination can be realized.
作为一种可能的实现方法,该请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该通知消息。As a possible implementation method, 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.
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。According to the above solution, the number of sending notification messages can be reduced, thereby reducing signaling overhead.
作为一种可能的实现方法,该移动性管理策略中包含第二指示信息,该第二指示信息用于指示该移动性管理策略是根据该应用层信息确定的。As a possible implementation method, 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.
根据上述方案,使得接收到移动性管理策略的设备可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。According to the above solution, 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.
作为一种可能的实现方法,该第一策略控制网元接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。As a possible implementation method, 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.
根据该方案,可以实现对数据管理网元保存的事件标识信息和通知地址的快速修改或删除。According to this solution, it is possible to quickly modify or delete the event identification information and the notification address saved by the data management network element.
作为一种可能的实现方法,该第一策略控制网元向应用功能网元发送该移动性管理策略。As a possible implementation method, the first policy control network element sends the mobility management policy to the application function network element.
作为一种可能的实现方法,该第一策略控制网元接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;该第一策略控制网元根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。As a possible implementation method, 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.
根据该方案,有助于实现准确确定移动性管理策略。According to the solution, it is helpful to accurately determine the mobility management strategy.
第二方面,本申请实施例提供一种通信方法,该方法可以由第二策略控制网元或应用于第二策略控制网元中的模块(如芯片)来执行。以第二策略控制网元执行该方法为例,第二策略控制网元接收来自数据管理网元的事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址;该第二策略控制网元根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;该第二策略控制网元根据该通知地址,向该第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。In a second aspect, 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. Taking the method executed by the second policy control network element as an example, 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.
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。并且,第二策略控制网元可以从数据管理网元获取到需要检测的事件的事件标识信息,以及获取到接收事件通知的第一策略控制网元的地址,从而可以实现将事件通知快速通知给第一策略控制网元。According to the above solution, 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. Moreover, 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.
作为第一方面或第二方面的一种可能的实现方法,该通知消息中还包括终端的会话的标识、终端的地址或第二策略控制网元的标识中的至少一个。As a possible implementation method of the first aspect or the second aspect, 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.
作为一种可能的实现方法,该第二策略控制网元向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该第二策略控制网元接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
根据上述方案,第二策略控制网元可以通过查询请求,实时地从数据管理网元获取到事件标识信息和通知地址,有助于第二策略控制网元能够及时获取到事件标识信息和通知地址。According to the above solution, 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 .
作为一种可能的实现方法,该查询请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。As a possible implementation method, the query request message also includes a (DNN, S-NSSAI) combination, the second policy control network element corresponds to the (DNN, S-NSSAI) combination, and the query request message is used to request query Subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
作为一种可能的实现方法,该第二策略控制网元向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;该第二策略控制网元接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
根据上述方案,不需要第二策略控制网元频繁地向数据管理网元发送用于请求查询终端的签约数据的查询请求消息,而是通过发送一个签约数据订阅请求消息,后续可以由数据管理网元主动向第二策略控制网元发送终端的签约数据,因此可以减少信令开销。According to the above scheme, 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.
作为一种可能的实现方法,该签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该签约数据订阅请求用于请求该终端的与该(DNN,S-NSSAI)组合对应的签约数据改变的通知。As a possible implementation method, 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, and 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.
第三方面,本申请实施例提供一种通信方法,该方法可以由数据管理网元或应用于数据管理网元中的模块(如芯片)来执行。以数据管理网元执行该方法为例,数据管理网元接收来自第一策略控制网元的请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址;该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;该数据管理网元向第二策略控制网元发送该事件标识信息和该通知地址;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。In a third aspect, 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. Taking the method performed by the data management network element as an example, 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.
根据上述方案,数据管理网元作为连接第一策略控制网元与第二策略控制网元的中间节点,可以接收来自第一策略控制网元的终端的标识信息、事件标识信息和通知地址,并将事件标识信息和通知地址,以便于第二策略控制网元根据事件标识信息进行检测,并将检测到的事件发送给第一策略控制网元,从而省去了第一策略控制网元寻找第二策略控制网元的地址的过程,可以减少不必要的信令开销。According to the above solution, 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.
作为一种可能的实现方法,该数据管理网元接收来自该第二策略控制网元的查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该数据管理网元向该第二策略控制网元发送查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
根据上述方案,数据管理网元可以根据第二策略控制网元发送的查询请求,实时地向第二策略控制网元发送事件标识信息和通知地址,有助于第二策略控制网元能够及时获取到事件标识信息和通知地址。According to the above solution, 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.
作为一种可能的实现方法,该查询请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。As a possible implementation method, the query request message also includes a (DNN, S-NSSAI) combination, the second policy control network element corresponds to the (DNN, S-NSSAI) combination, and the query request message is used to request query Subscription data corresponding to the (DNN, S-NSSAI) combination of the terminal.
作为一种可能的实现方法,该数据管理网元接收来自该第二策略控制网元的签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;该数据管理网元向该第二策略控制网元发送通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
根据上述方案,不需要第二策略控制网元频繁地向数据管理网元发送用于请求查询终端的签约数据的查询请求消息,而是通过发送一个签约数据订阅请求消息,后续可以由数据管理网元主动向第二策略控制网元发送终端的签约数据,因此可以减少信令开销。According to the above scheme, 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.
作为一种可能的实现方法,该签约数据订阅请求消息中还包含(DNN,S-NSSAI)组合,该第二策略控制网元对应该(DNN,S-NSSAI)组合,该签约数据订阅请求用于请求该终端的与该(DNN,S-NSSAI)组合对应的签约数据改变的通知。As a possible implementation method, 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, and 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.
作为一种可能的实现方法,该数据管理网元向该第一策略控制网元发送响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。As a possible implementation method, 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.
根据该方案,可以实现对数据管理网元保存的事件标识信息和通知地址的快速修改或删除。According to this solution, it is possible to quickly modify or delete the event identification information and the notification address saved by the data management network element.
第四方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该第二通知地址是用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;该第一策略控制网元接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元和该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。In a fourth aspect, 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. Taking the method executed by the first policy control network element as an example, 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 session status of the terminal or the application status 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 first policy control network element is based on the state of the session of the terminal or the application of the terminal The status determines the mobility management policy; wherein, the first policy control network element and the third policy control network element are used to formulate mobility management policies, the second policy control network element is used to formulate session management policies, and the first policy control network element is used to formulate session management policies. The policy control network element is a policy control network element that provides services for the terminal after the terminal moves, and the third policy control network element is a policy control network element that provides services for the terminal before the terminal moves.
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元通过第一标识信息对数据管理网元保存的第二事件通知地址进行修改,后续第二策略控制网元可以从数据管理网元获取到事件标识信息和更新后的第一通知地址,然后第一策略控制网元便可以从第二策略控制网元接收到终端的会话的状态或该终端的应用的状态,不需要第一策略控制网元去查询第二策略控制网元的地址信息,从而可以减少第一策略控制网元的信令开销。According to the above solution, 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.
作为一种可能的实现方法,该通知消息中还包括终端的会话的标识、终端的地址或第二策略控制网元的标识中的至少一个。As a possible implementation method, 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.
第五方面,本申请实施例提供一种通信方法,该方法可以由第一策略控制网元或应用于第一策略控制网元中的模块(如芯片)来执行。以第一策略控制网元执行该方法为例,第一策略控制网元向移动性管理网元发送第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;该第一策略控制网元接收来自该移动性管理网元或该会话对应的会话管理网元的第一通知消息,该第一通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略。In a fifth aspect, 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. Taking the method executed by the first policy control network element as an example, 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 managing the first notification message of the network element, the first 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 Obtained: 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 control network element is used to formulate the mobility management policy.
根据上述方案,第一策略控制网元根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,由于第一策略控制网元只需要将事件标识信息发送给移动性管理网元,便可以快速接收到终端的会话的状态或该终端的应用的状态,有助于提升确定移动性管理策略的速度。According to the above solution, 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.
作为一种可能的实现方法,当该会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元根据该来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, when the state of the session is session establishment or the state of the application is application start, the first policy control network element determines the mobility management policy according to the application layer information from the application function network element.
根据上述方案,可以实现准确确定移动性管理策略。According to the above solution, it is possible to accurately determine the mobility management policy.
作为一种可能的实现方法,该第一请求消息中还包含该(DNN,S-NSSAI)组合,该(DNN,S-NSSAI)组合是根据来自应用功能网元的应用层信息确定的。As a possible implementation method, the first request message further includes the (DNN, S-NSSAI) combination, and the (DNN, S-NSSAI) combination is determined according to the application layer information from the application function network element.
作为一种可能的实现方法,该会话的状态包括该(DNN,S-NSSAI)组合对应的会话的建立或该(DNN,S-NSSAI)组合对应的会话的终结。As a possible implementation method, the state of the session includes establishment of the session corresponding to the (DNN, S-NSSAI) combination or termination of the session corresponding to the (DNN, S-NSSAI) combination.
作为一种可能的实现方法,该第一请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该第一通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该第一通知消息。As a possible implementation method, 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 first notification message is sent when a session is established, and/or the first notification message is sent when the last session corresponding to the (DNN, S-NSSAI) combination terminates.
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。According to the above solution, the number of sending notification messages can be reduced, thereby reducing signaling overhead.
作为一种可能的实现方法,该会话的状态为:该(DNN,S-NSSAI)组合对应的第一个会话的建立,或该(DNN,S-NSSAI)组合对应的最后一个会话的终结。As a possible implementation method, the state of the session is: establishment of the first session corresponding to the (DNN, S-NSSAI) combination, or termination of the last session corresponding to the (DNN, S-NSSAI) combination.
作为一种可能的实现方法,该移动性管理策略中包含第二指示信息,该第二指示信息用于指示该移动性管理策略是根据应用层信息确定的。As a possible implementation method, 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.
根据上述方案,使得接收到移动性管理策略的设备可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。According to the above solution, 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.
作为一种可能的实现方法,该第一策略控制网元向应用功能网元发送该移动性管理策略。As a possible implementation method, the first policy control network element sends the mobility management policy to the application function network element.
作为一种可能的实现方法,当该终端的会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元根据来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, when the session state of the terminal is session establishment or the application state is application start, the first policy control network element determines the mobility management policy according to the application layer information from the application function network element .
作为一种可能的实现方法,该会话的状态用于指示该(DNN,S-NSSAI)组合对应的第一个会话的建立或该(DNN,S-NSSAI)组合对应的最后一个会话终结。As a possible implementation method, the session status is used to indicate the establishment of the first session corresponding to the (DNN, S-NSSAI) combination or the termination of the last session corresponding to the (DNN, S-NSSAI) combination.
第六方面,本申请实施例提供一种通信方法,该方法可以由会话管理网元或应用于会话管理网元中的模块(如芯片)来执行。以会话管理网元执行该方法为例,会话管理网元接收来自移动性管理网元的第二请求消息,该第二请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第二请求消息用于请求该事件标识信息对应的事件通知;该会话管理网元根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;该会话管理网元向该移动性管理网元或该终端对应的第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中该第一策略控制网元为用于制定移动性管理策略的策略控制网元。In a sixth aspect, 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. Taking the method performed by the session management network element as an example, 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; wherein the The first policy control network element is a policy control network element used to formulate mobility management policies.
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。According to the above solution, 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.
作为一种可能的实现方法,该第二请求消息中还包含(DNN,S-NSSAI)组合,该第二请求消息用于请求该终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。As a possible implementation method, 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.
作为一种可能的实现方法,该第二请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该通知消息。As a possible implementation method, 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.
根据上述方案,可以减少发送通知消息的次数,从而可以减少信令开销。According to the above solution, the number of sending notification messages can be reduced, thereby reducing signaling overhead.
第七方面,本申请实施例提供一种通信方法,该方法可以由移动性管理网元或应用于移动性管理网元中的模块(如芯片)来执行。以移动性管理网元执行该方法为例,移动性管理网元接收来自第一策略控制网元的第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;该移动性管理网元检测到该事件标识信息对应的事件后,向该第一策略控制网元发送第一通知消息,该第一通知消息中包含终端的会话的状态或终端的应用的状态,终端的会话的状态或终端的应用的状态是根据事件标识信息检测得到的;其中,该第一策略控制网元用于制定移动性管理策略。In a seventh aspect, 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. Taking the mobility management network element executing the method as an example, 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 first notification message, the first 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 element is used to formulate a mobility management policy.
根据上述方案,终端的会话的状态或应用的状态可以用于第一策略控制网元确定移动性管理策略,可以实现精确确定移动性管理策略。According to the above solution, 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.
作为第五方面或第七方面的一种可能的实现方法,该第一请求消息中还包含(DNN,S-NSSAI)组合,该第一请求消息用于请求该终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。As a possible implementation method of the fifth aspect or the seventh aspect, 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.
根据上述方案,可以实现基于(DNN,S-NSSAI)组合,对事件标识信息进行精细化管理。According to the above solution, refined management of event identification information based on (DNN, S-NSSAI) combination can be realized.
作为一种可能的实现方法,该移动性管理网元在检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话建立。As a possible implementation method, the mobility management network element sends the first 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 first notification message includes the state of the session, and the state of the session is session establishment.
作为一种可能的实现方法,该移动性管理网元在检测到该终端的与该(DNN,S-NSSAI)组合对应的会话终结后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话终结。As a possible implementation method, the mobility management network element sends the first notification message to the first policy control network element after detecting that the session of the terminal corresponding to the (DNN, S-NSSAI) combination is terminated , the first notification message includes the state of the session, and the state of the session is session termination.
作为一种可能的实现方法,该第一请求消息中还包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送该第一通知消息,和/或当该(DNN,S-NSSAI)组合对应的最后一个会话终结时发送该第一通知消息。As a possible implementation method, 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 first notification message is sent when a session is established, and/or the first notification message is sent when the last session corresponding to the (DNN, S-NSSAI) combination terminates.
作为一种可能的实现方法,该会话的状态为:该(DNN,S-NSSAI)组合对应的第一个会话建立,或该(DNN,S-NSSAI)组合对应的最后一个会话终结。As a possible implementation method, the state of the session is: the first session corresponding to the (DNN, S-NSSAI) combination is established, or the last session corresponding to the (DNN, S-NSSAI) combination is terminated.
作为一种可能的实现方法,该移动性管理网元在检测到该终端的与该(DNN,S-NSSAI)组合对应的第一个会话建立后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话建立。As a possible implementation method, after the mobility management network element detects that the first session corresponding to the (DNN, S-NSSAI) combination of the terminal is established, it sends the second A notification message, the first notification message includes the state of the session, and the state of the session is session establishment.
作为一种可能的实现方法,该移动性管理网元在检测到该终端的与该(DNN,S-NSSAI)组合对应的最后一个会话终结后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话终结。As a possible implementation method, the mobility management network element sends the first A notification message, the first notification message includes the state of the session, and the state of the session is session termination.
作为一种可能的实现方法,该移动性管理网元向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;该移动性管理网元接收来自该会话管理网元的第二通知消息,该第二通知消息中包含该终端的应用的状态或该终端的会话的状态;该移动性管理网元向该第一策略控制网元发送该第一通知消息。As a possible implementation method, 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 second notification message from the session management network element, and the second 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 Send the first notification message to the first policy control network element.
作为第一方面至第七方面的任意方面的一种可能的实现方法,该事件标识信息是根据来自应用功能网元的应用层信息确定的。As a possible implementation method of any aspect from the first aspect to the seventh aspect, the event identification information is determined according to the application layer information from the application function network element.
第八方面,本申请实施例提供一种通信装置,该装置可以是第一策略控制网元,还可以是用于第一策略控制网元的芯片。该装置具有实现上述第一方面、第四方面或第五方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In an eighth aspect, 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.
第九方面,本申请实施例提供一种通信装置,该装置可以是第二策略控制网元,还可以是用于第二策略控制网元的芯片。该装置具有实现上述第二方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a ninth aspect, 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.
第十方面,本申请实施例提供一种通信装置,该装置可以是数据管理网元,还可以是用于数据管理网元的芯片。该装置具有实现上述第三方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a tenth aspect, 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.
第十一方面,本申请实施例提供一种通信装置,该装置可以是会话管理网元,还可以是用于会话管理网元的芯片。该装置具有实现上述第六方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In an eleventh aspect, 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.
第十二方面,本申请实施例提供一种通信装置,该装置可以是移动性管理网元,还可以是用于移动性管理网元的芯片。该装置具有实现上述第七方面的任意实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a twelfth aspect, 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.
第十三方面,本申请实施例提供一种通信装置,包括处理器和存储器;该存储器用于存储计算机指令,当该装置运行时,该处理器执行该存储器存储的计算机指令,以使该装置执行上述第一方面至第七方面中的任意实现方法。In a thirteenth aspect, the embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the device Execute any implementation method in the first aspect to the seventh aspect above.
第十四方面,本申请实施例提供一种通信装置,包括用于执行上述第一方面至第七方面中的任意实现方法的各个步骤的单元或手段(means)。In a fourteenth aspect, the embodiment of the present application provides a communication device, including a unit or means (means) for performing each step of any implementation method in the first aspect to the seventh aspect.
第十五方面,本申请实施例提供一种通信装置,包括处理器和接口电路,所述处理器用于通过接口电路与其它装置通信,并执行上述第一方面至第七方面中的任意实现方法。该处理器包括一个或多个。In the fifteenth 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.
第十六方面,本申请实施例提供一种通信装置,包括与存储器耦合的处理器,该处理器用于调用所述存储器中存储的程序,以执行上述第一方面至第七方面中的任意实现方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器可以是一个或多个。In the sixteenth aspect, 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.
第十七方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在通信装置上运行时,使得上述第一方面至第七方面中的任意实现方法被执行。In the seventeenth aspect, 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.
第十八方面,本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当计算机程序或指令被通信装置运行时,使得上述第一方面至第七方面中的任意实现方法被执行。In the eighteenth aspect, the embodiment of the present application also provides a computer program product, the computer program product includes a computer program or instruction, when the computer program or instruction is run by the communication device, any of the above first to seventh aspects The implementation method is executed.
第十九方面,本申请实施例还提供一种芯片系统,包括:处理器,用于执行上述第一方面至第七方面中的任意实现方法。In a nineteenth aspect, the embodiment of the present application further provides a chip system, including: a processor, configured to execute any implementation method in the first aspect to the seventh aspect above.
第二十方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第一方面的任意实现方法的第一策略控制网元和用于向所述第一策略控制网元发送通知消息的第二策略控制网元。In a twentieth aspect, 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.
作为一种可能的实现方法,所述第二策略控制网元,还用于执行上述第二方面的任意实现方法。As a possible implementation method, the second policy control network element is further configured to implement any implementation method of the second aspect above.
作为一种可能的实现方法,该通信系统还包括用于执行上述第三方面的任意实现方法的数据管理网元。As a possible implementation method, the communication system further includes a data management network element configured to implement any implementation method of the third aspect above.
第二十一方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第四方面的任意实现方法的第一策略控制网元和用于向所述第一策略控制网元发送通知消息的第二策略控制网元。In the twenty-first aspect, 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.
作为一种可能的实现方法,所述第二策略控制网元,还用于执行上述第二方面的任意实现方法。As a possible implementation method, the second policy control network element is further configured to implement any implementation method of the second aspect above.
作为一种可能的实现方法,该通信系统还包括用于执行上述第三方面的任意实现方法的数据管理网元。As a possible implementation method, the communication system further includes a data management network element configured to implement any implementation method of the third aspect above.
第二十二方面,本申请实施例还提供了一种通信系统,该通信系统包括用于执行上述第五方面的任意实现方法的第一策略控制网元和用于接收来自所述第一策略控制网元的第一请求消息的移动性管理网元。In the twenty-second aspect, 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.
作为一种可能的实现方法,该移动性管理网元还用于执行上述第七方面的任意实现方法。As a possible implementation method, the mobility management network element is further configured to implement any implementation method of the seventh aspect above.
作为一种可能的实现方法,该通信系统还包括用于执行上述第六方面的任意实现方法的会话管理网元。As a possible implementation method, the communication system further includes a session management network element configured to implement any implementation method of the sixth aspect above.
附图说明Description of drawings
图1(a)为本申请实施例提供的一种通信系统示意图;FIG. 1(a) is a schematic diagram of a communication system provided by an embodiment of the present application;
图1(b)为本申请实施例提供的另一种通信系统示意图;Figure 1(b) is a schematic diagram of another communication system provided by the embodiment of the present application;
图2(a)为基于服务化架构的5G网络架构示意图;Figure 2(a) is a schematic diagram of a 5G network architecture based on a service architecture;
图2(b)为基于点对点接口的5G网络架构示意图;Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface;
图3为本申请实施例提供的AM策略生成及使用的流程示意图;FIG. 3 is a schematic flowchart of AM strategy generation and use provided by the embodiment of the present application;
图4为本申请实施例提供的AM策略生成及使用的流程示意图;FIG. 4 is a schematic flow diagram of AM strategy generation and use provided by the embodiment of the present application;
图5(a)为本申请实施例提供的一种通信方法的流程示意图;FIG. 5(a) is a schematic flow diagram of a communication method provided by an embodiment of the present application;
图5(b)为本申请实施例提供的一种通信方法的流程示意图;FIG. 5(b) is a schematic flow diagram of a communication method provided by an embodiment of the present application;
图5(c)为本申请实施例提供的一种通信方法的流程示意图;FIG. 5(c) is a schematic flow diagram of a communication method provided by an embodiment of the present application;
图6为本申请实施例提供的一种通信方法的流程示意图;FIG. 6 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图7为本申请实施例提供的一种通信方法的流程示意图;FIG. 7 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图8为本申请实施例提供的一种通信方法的流程示意图;FIG. 8 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图9为本申请实施例提供的一种通信方法的流程示意图;FIG. 9 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图10为本申请实施例提供的一种通信方法的流程示意图;FIG. 10 is a schematic flowchart of a communication method provided by an embodiment of the present application;
图10(a)为本申请实施例提供的一种通信方法的流程示意图;Fig. 10(a) is a schematic flowchart of a communication method provided by the embodiment of the present application;
图11为本申请实施例提供的一种通信装置示意图;FIG. 11 is a schematic diagram of a communication device provided in an embodiment of the present application;
图12为本申请实施例提供的一种通信装置示意图。FIG. 12 is a schematic diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
为实现精确确定AM策略,如图1(a)所示,本申请提供一种通信系统,该系统包括第一策略控制网元和第二策略控制网元,可选的,还包括数据管理网元。In order to accurately determine the AM policy, as shown in Figure 1(a), 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.
在第一个实施例中:In the first example:
第一策略控制网元,用于向数据管理网元发送请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;以及接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;该第一策略控制网元根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略。第二策略控制网元,用于向第一策略控制网元发送该通知消息。其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。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. 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.
作为一种可能的实现方法,该第二策略控制网元,还用于接收来自数据管理网元的该事件标识信息和该通知地址;根据该事件标识信息,检测终端的会话的状态或终端的应用的状态。该第二策略控制网元,用于根据该通知地址,向该第一策略控制网元发送通知消息。As a possible implementation method, 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.
作为一种可能的实现方法,数据管理网元,用于接收来自第一策略控制网元的该请求消息,以及向第二策略控制网元发送该事件标识信息和该通知地址。As a possible implementation method, 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.
作为一种可能的实现方法,该第一策略控制网元,用于接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。数据管理网元,用于向该第一策略控制网元发送该响应消息。As a possible implementation method, 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.
作为一种可能的实现方法,该第二策略控制网元,用于向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;以及接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。该数据管理网元,用于接收来自该第二策略控制网元的该查询请求消息,以及向该第二策略控制网元发送该查询响应消息。As a possible implementation method, 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.
作为一种可能的实现方法,该第二策略控制网元,用于向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;以及接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。数据管理网元,用于接收来自该第二策略控制网元的签约数据订阅请求消息;以及向该第二策略控制网元发送该通知消息。As a possible implementation method, 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.
在第二个实施例中:In the second embodiment:
第一策略控制网元,用于向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址,该第二通知地址是用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;以及根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略。第二策略控制网元,用于向第一策略控制网元发送该通知消息。其中,该第一策略控制网元和该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。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 of the terminal. The second policy control network element is configured to send the notification message to the first policy control network element. Wherein, 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, and 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.
作为一种可能的实现方法,第二策略控制网元,还用于接收来自数据管理网元的该事件标识信息和该第一通知地址;根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;以及根据该第一通知地址,向该第一策略控制网元发送通知消息。As a possible implementation method, 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.
作为一种可能的实现方法,数据管理网元,用于接收来自第一策略控制网元的该请求消息,以及向第二策略控制网元发送该事件标识信息和该第一通知地址。As a possible implementation method, 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.
基于上述第一个实施例或第二个实施例:Based on the first embodiment or the second embodiment above:
作为一种可能的实现方法,当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元,还用于根据来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, 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 is also used to Determine the mobility management strategy.
作为一种可能的实现方法,该第一策略控制网元,用于向应用功能网元发送该移动性管理策略。As a possible implementation method, the first policy control network element is configured to send the mobility management policy to the application function network element.
作为一种可能的实现方法,该第一策略控制网元,用于接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;以及根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。As a possible implementation method, 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.
图1(a)所示的系统可以用在图2(a)或图2(b)所示的5G网络架构中,当然,也可以用在未来网络架构,比如第六代(6th generation,6G)网络架构等,本申请不做限定。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.
为实现精确确定AM策略,如图1(b)所示,本申请提供一种通信系统,该系统包括第一策略控制网元和移动性管理网元,可选的,还包括会话管理网元。In order to accurately determine the AM policy, as shown in Figure 1(b), 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.
作为一种可能的实现方法,该移动性管理网元,用于在检测到该事件标识信息对应的事件后,向该第一策略控制网元发送该事件通知;其中,该第一策略控制网元用于制定移动性管理策略。As a possible implementation method, 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.
作为一种可能的实现方法,当该会话的状态为会话建立或该应用的状态为应用开始,该第一策略控制网元,用于根据该来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, when the state of the session is session establishment or the state of the application is application start, 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.
作为一种可能的实现方法,该移动性管理网元,用于在检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该会话的状态,该会话的状态为会话建立。As a possible implementation method, 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.
作为一种可能的实现方法,该第一策略控制网元,用于向应用功能网元发送该移动性管理策略。As a possible implementation method, the first policy control network element is configured to send the mobility management policy to the application function network element.
作为一种可能的实现方法,该移动性管理网元,用于向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;接收来自该会话管理网元的通知消息,该通知消息中包含该终端的应用的状态或该终端的会话的状态;以及向该第一策略控制网元发送该终端的应用的状态或该终端的会话的状态。As a possible implementation method, 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.
作为一种可能的实现方法,会话管理网元,用于接收来自移动性管理网元的该第二请求消息;根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;以及向该移动性管理网元或该终端对应的第一策略控制网元发送该通知消息。As a possible implementation method, 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.
图1(b)所示的系统可以用在图2(a)或图2(b)所示的5G网络架构中,当然,也可以用在未来网络架构,比如6G网络架构等,本申请不做限定。The system shown in Figure 1(b) can be used in the 5G network architecture shown in Figure 2(a) or Figure 2(b). Of course, it can also be used in future network architectures, such as 6G network architectures. This application does not Do limited.
图2(a)为基于服务化架构的5G网络架构示意图。图2(a)所示的5G网络架构中可包括数据网络(data network,DN)和运营商网络。下面对其中的部分网元的功能进行简单介绍说明。Figure 2(a) is a schematic diagram of a 5G network architecture based on a service-based architecture. The 5G network architecture shown in FIG. 2(a) may include a data network (data network, DN) and an operator network. The functions of some of the network elements are briefly introduced and described below.
其中,运营商网络可包括以下网元中的一个或多个:鉴权服务器功能(Authentication Server Function,AUSF)网元(图中未示出)、统一数据管理(unifieddata management,UDM)网元、统一数据库(Unified Data Repository,UDR)、网络存储功能(Network Repository Function,NRF)网元(图中未示出)、网络开放功能(networkexposure function,NEF)网元(图中未示出)、应用功能(application function,AF)网元、策略控制功能(policy control function,PCF)网元、AMF网元、会话管理功能(sessionmanagement function,SMF)网元、用户面功能(user plane function,UPF)网元、绑定支持功能(binding support funciton,BSF)网元(图中未示出)、无线接入网(radio accessnetwork,RAN)设备等。上述运营商网络中,除无线接入网设备之外的网元或设备可以称为核心网网元或核心网设备。Wherein, the operator network may include one or more of the following network elements: an authentication server function (Authentication Server Function, AUSF) network element (not shown in the figure), a unified data management (unifieddata management, UDM) network element, A unified database (Unified Data Repository, UDR), a network storage function (Network Repository Function, NRF) network element (not shown in the figure), a network exposure function (network exposure function, NEF) network element (not shown in the figure), an application 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 element, a binding support function (binding support funciton, BSF) network element (not shown in the figure), a radio access network (radio access network, RAN) device, and the like. In the above operator network, network elements or devices other than radio access network devices may be referred to as core network elements or core network devices.
无线接入网设备可以是基站(base station)、演进型基站(evolved NodeB,eNodeB)、发送接收点(transmission reception point,TRP)、5G移动通信系统中的下一代基站(next generation NodeB,gNB)、6G移动通信系统中的下一代基站、未来移动通信系统中的基站或无线保真(wireless fidelity,WiFi)系统中的接入节点等;也可以是完成基站部分功能的模块或单元,例如,可以是集中式单元(central unit,CU),也可以是分布式单元(distributed unit,DU)。无线接入网设备可以是宏基站,也可以是微基站或室内站,还可以是中继节点或施主节点等。本申请的实施例对无线接入网设备所采用的具体技术和具体设备形态不做限定。为便于说明,在本申请的实施例中,以基站作为无线接入网设备的一个举例进行描述。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 (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. For ease of description, in the embodiments of the present application, a base station is used as an example of a radio access network device for description.
与RAN通信的终端也可以称为终端设备、用户设备(user equipment,终端)、移动台、移动终端等。终端可以广泛应用于各种场景,例如,设备到设备(device-to-device,D2D)、车物(vehicle to everything,V2X)通信、机器类通信(machine-typecommunication,MTC)、物联网(internet of things,IOT)、虚拟现实、增强现实、工业控制、自动驾驶、远程医疗、智能电网、智能家具、智能办公、智能穿戴、智能交通、智慧城市等。终端可以是手机、平板电脑、带无线收发功能的电脑、可穿戴设备、车辆、无人机、直升机、飞机、轮船、机器人、机械臂、智能家居设备等。本申请的实施例对终端所采用的具体技术和具体设备形态不做限定。A terminal communicating with the RAN may also be referred to as 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) of things, IOT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wear, 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 the present application does not limit the specific technology and specific device 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.
AMF网元,包含执行移动性管理、接入鉴权/授权等功能。此外,还负责在终端与PCF间传递用户策略。The AMF network element includes functions such as mobility management and access authentication/authorization. In addition, it is also responsible for transferring user policies between the terminal and the PCF.
SMF网元,包含执行会话管理、PCF下发控制策略的执行、UPF的选择、终端的互联网协议(internet protocol,IP)地址分配等功能。The SMF network element includes functions such as executing session management, executing control policies delivered by the PCF, selecting UPFs, and assigning Internet Protocol (internet protocol, IP) addresses to terminals.
UPF网元,作为和数据网络的接口UPF,包含完成用户面数据转发、基于会话/流级的计费统计,带宽限制等功能。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网元,包含执行管理签约数据、用户接入授权等功能。UDM network element, including the execution management of subscription data, user access authorization and other functions.
UDR,包含执行签约数据、策略数据、应用数据等类型数据的存取功能。UDR, including the access function of execution contract data, policy data, application data and other types of data.
NEF网元,用于支持能力和事件的开放。NEF network elements are used to support the opening of capabilities and events.
AF网元,传递应用侧对网络侧的需求,例如,QoS需求或用户状态事件订阅等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IPMultimedia Subsystem,IMS)语音呼叫业务。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.
PCF网元,包含负责针对会话、业务流级别进行计费、QoS带宽保障及移动性管理、终端策略决策等策略控制功能。PCF网元包括AM PCF网元和会话管理策略控制功能(session management PCF,SM PCF)网元,AM PCF网元可以提供移动性管理策略,SM PCF网元可以提供会话管理策略。The PCF network element includes policy control functions such as charging for sessions and service flow levels, QoS bandwidth guarantee, mobility management, and terminal policy decision-making. The PCF network element includes an AM PCF network element and a session management policy control function (session management PCF, SM PCF) network element. The AM PCF network element can provide a mobility management policy, and the SM PCF network element can provide a session management policy.
NRF网元,可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。NRF还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。The NRF network element can be used to provide a network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements. NRF also provides network element management services, such as network element registration, update, de-registration, network element status subscription and push, etc.
BSF网元,可提供BSF服务注册/注销/更新,与NRF连接检测,会话绑定信息创建,UE信息的获取,IP地址重复的会话绑定信息查询等功能。BSF network element can provide functions such as BSF service registration/deregistration/update, connection detection with NRF, creation of session binding information, acquisition of UE information, query of session binding information with duplicate IP addresses, etc.
AUSF网元,负责对用户进行鉴权,以确定是否允许用户或设备接入网络。The AUSF network element is responsible for authenticating users to determine whether users or devices are allowed to access the network.
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。DN is a network outside the operator's network. The operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminals. For example, DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminals, and the control server of the sensors is deployed in the DN, and the control server can provide services for the sensors. The sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, DN is a company's internal office network. The mobile phone or computer of the company's employees can be a terminal, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
图2(a)中Npcf、Nufr、Nudm、Naf、Namf、Nsmf分别为上述PCF、UDR、UDM、AF、AMF和SMF提供的服务化接口,用于调用相应的服务化操作。N1、N2、N3、N4,以及N6为接口序列号。这些接口序列号的含义可参见第三代合作伙伴计划(3rd generation partnership project,3GPP)标准协议中定义的含义,在此不做限制。In Figure 2(a), Npcf, Nufr, Nudm, Naf, Namf, and Nsmf are the service interfaces provided by the above-mentioned PCF, UDR, UDM, AF, AMF, and SMF, respectively, and are used to call corresponding service operations. N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers 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.
图2(b)为基于点对点接口的5G网络架构示意图,其中的网元的功能的介绍可以参考图2(a)中对应的网元的功能的介绍,不再赘述。图2(b)与图2(a)的主要区别在于:图2(a)中的各个控制面网元之间的接口是服务化的接口,图2(b)中的各个控制面网元之间的接口是点对点的接口。Figure 2(b) is a schematic diagram of a 5G network architecture based on a point-to-point interface, and the introduction of the functions of the network elements can refer to the introduction of the functions of the corresponding network elements in Figure 2(a), and will not be repeated here. The main difference between Figure 2(b) and Figure 2(a) is that the interface between each control plane network element in Figure 2(a) is a service interface, and each control plane network element in Figure 2(b) The interface between them is a point-to-point interface.
在图2(b)所示的架构中,各个网元之间的接口名称及功能如下:In the architecture shown in Figure 2(b), the interface names and functions between each network element are as follows:
1)、N1:AMF与终端之间的接口,可以用于向终端传递QoS控制规则等。1), N1: the interface between the AMF and the terminal, which can be used to transmit QoS control rules and the like to the terminal.
2)、N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。2), 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.
3)、N3:RAN与UPF之间的接口,主要用于传递RAN与UPF间的上下行用户面数据。3), 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.
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。4), N4: The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
5)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。5), N5: the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
6)、N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。6), N6: the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
7)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。7), N7: the interface between the PCF and the SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policies.
8)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端当前移动性管理相关信息等。8), 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.
9)、N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。9), N9: a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
10)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端当前会话相关信息等。10), 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.
11)、N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给终端的控制消息、传递发送给RAN的无线资源控制信息等。11), 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.
12)、N15:PCF与AMF之间的接口,可以用于下发终端策略及接入控制相关策略。12), N15: the interface between the PCF and the AMF, which can be used to issue terminal policies and access control-related policies.
13)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。13), N35: the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
14)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。14), N36: the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It can be understood that the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
本申请中的数据管理网元、移动性管理网元、会话管理网元、用户面网元、策略控制网元、应用功能网元分别可以是图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。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. In the embodiment of this application, 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 An example of a network element is described. And, the PCF includes AM PCF and SM PCF.
为实现精确确定AM策略,一种实现方法是AM PCF根据AF提供的应用层信息确定AM策略。下面结合图3和图4,提供AM PCF确定AM策略以及下发AM策略的方法。In order to accurately determine the AM strategy, one implementation method is that the AM PCF determines the AM strategy according to the application layer information provided by the AF. Referring to FIG. 3 and FIG. 4 , the AM PCF provides methods for determining the AM policy and delivering the AM policy.
图3为本申请实施例提供的AM策略生成及使用的流程示意图。该实施例是针对单个终端的示例。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.
步骤301,终端注册到网络。In step 301, the terminal registers with the network.
终端通过AMF注册至网络,且AMF会与UDM交互,从UDM中获取终端的签约数据,该签约数据包括签约的服务区域限制信息(service area restrictions)和签约的无线接入技术(radio access technology,RAT)/频谱选择优先级(RAT/frequency selectionpriority,RFSP)。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 (radio access technology, RAT)/spectrum selection priority (RAT/frequency selection priority, RFSP).
其中,服务区域限制信息用于表示允许或不允许终端接入的区域,RFSP用于无线接入网设备确定无线资源管理策略。Wherein, the service area restriction information is used to indicate the area where the terminal is allowed or not allowed to access, and the RFSP is used for the radio access network device to determine the radio resource management policy.
步骤302,AMF与AM PCF交互,建立AM策略关联。In step 302, the AMF interacts with the AM PCF to establish an AM policy association.
比如,AMF向AM PCF发送Npcf_AMPolicyControl_Create request消息,该消息中包括终端的标识信息、签约的服务区域限制信息和签约的RFSP。其中,终端的标识信息可以是用户永久标识(subscription permanent identifier,SUPI)或通用外部用户标识(generic public subscription identifier,GPSI)。For example, the AMF sends an Npcf_AMPolicyControl_Create request message to the AM PCF, and the message includes terminal identification information, contracted service area restriction information, and contracted RFSP. Wherein, 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).
AM PCF根据签约的服务区域限制信息、签约的RFSP和网络策略确定AM策略。其中,AM策略中包含授权的服务区域限制信息和授权的RFSP。具体的,AM PCF根据签约的服务区域限制信息和网络策略确定授权的服务区域限制信息,以及根据签约的RFSP和网络策略确定授权的RFSP。The AM PCF determines the AM policy according to the contracted service area restriction information, the contracted RFSP and network policies. Wherein, the AM policy includes authorized service area restriction information and authorized RFSP. Specifically, 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.
然后AM PCF向AMF发送Npcf_AMPolicyControl_Create response消息,该消息中包含AM策略。Then the AM PCF sends the Npcf_AMPolicyControl_Create response message to the AMF, which contains the AM policy.
步骤303,AM PCF向BSF发送注册请求消息。相应地,BSF接收该注册请求消息。In step 303, the AM PCF sends a registration request message to the BSF. Correspondingly, the BSF receives the registration request message.
该注册请求消息中包含AM PCF的绑定信息,该绑定信息包括AMF PCF的标识和终端的标识信息。其中,该AMF PCF的标识可以是该AM PCF支持Npcf_AmPolicyAuthorization服务的资源标识。The registration request message includes binding information of the AM PCF, and the binding information includes the identification of the AMF PCF and the identification information of the terminal. Wherein, the identifier of the AMF PCF may be a resource identifier of the AM PCF supporting the Npcf_AmPolicyAuthorization service.
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。Optionally, the registration request message may be an Nbsf_Menagement_Register Request message.
步骤304,AF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。In step 304, the AF sends a subscription request message to the BSF. Correspondingly, the BSF receives the subscription request message.
该订阅请求消息中包含终端的标识信息,该订阅请求消息用于订阅为该终端提供AM策略的AM PCF的注册信息。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.
可选的,该订阅请求消息可以是Nbsf_Management_Subscribe Request消息。Optionally, the subscription request message may be an Nbsf_Management_Subscribe Request message.
可选的,该步骤304可以在步骤301之前执行。Optionally, step 304 may be performed before step 301.
步骤305,BSF向AF发送通知消息,相应地,AF接收该通知消息。In step 305, the BSF sends a notification message to the AF, and the AF receives the notification message accordingly.
该通知消息中包含与终端的标识信息对应的注册信息,该注册信息中包含AM PCF的标识。The notification message includes registration information corresponding to the identification information of the terminal, and the registration information includes the identification of the AM PCF.
可选的,该通知消息可以是Nbsf_Management_Notify Request消息。Optionally, the notification message may be a Nbsf_Management_Notify Request message.
步骤306,AF向AM PCF发送AM策略授权请求消息,相应地,AM PCF接收该AM策略授权请求消息。In 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.
可选的,该AM策略授权请求消息可以是Npcf_AMPolicyAuthorization_CreateRequest消息。Optionally, the AM policy authorization request message may be an Npcf_AMPolicyAuthorization_CreateRequest message.
该AM策略授权请求消息中包含应用层信息,其中应用层信息包括以下信息1至信息4中的任一项:The AM policy authorization request message contains application layer information, where the application layer information includes any one of the
信息1:终端的标识信息、服务区域覆盖范围(service area coverage)以及关联的(DNN,S-NSSAI)组合;Information 1: terminal identification information, service area coverage (service area coverage) and associated (DNN, S-NSSAI) combination;
信息2:终端的标识信息、高吞吐量(high throughput)指示以及关联的(DNN,S-NSSAI)组合;Information 2: terminal identification information, high throughput indication and associated (DNN, S-NSSAI) combination;
信息3:终端的标识信息、服务区域覆盖范围、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识(Application Id);Information 3: terminal identification information, service area coverage, associated (DNN, S-NSSAI) combination, and at least one application identification (Application Id);
信息4:终端的标识信息、高吞吐量指示、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识。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.
其中,上述信息3的(DNN,S-NSSAI)组合是可选的信息,上述信息4的(DNN,S-NSSAI)组合也是可选的信息。Wherein, the (DNN, S-NSSAI) combination of the above information 3 is optional information, and the (DNN, S-NSSAI) combination of the above information 4 is also optional information.
其中,DNN是data network name的简称,中文名称是数据网名称。S-NSSAI是single network slice selection assistance information的检测,中文名称是单网络切片选择辅助信息。Among them, DNN is the abbreviation of data network name, and the Chinese name is the name of the data network. S-NSSAI is the detection of single network slice selection assistance information, and the Chinese name is single network slice selection assistance information.
其中,服务区域覆盖范围指的是AF提供的需要做策略控制的区域的信息。高吞吐量指示可以是一个指示信息,用于指示吞吐量高。Wherein, 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.
可选的,AF还可以通过该AM策略授权请求消息向AM PCF订阅服务区域覆盖范围改变事件或AM策略改变事件,比如在该AM策略授权请求消息中携带服务区域覆盖范围改变事件的标识和通知端点,或者携带AM策略改变事件的标识和通知端点。该通知端点可以是AF的地址。Optionally, the AF may also subscribe to the AM PCF for service area coverage change events or AM policy change events 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.
可选的,AM PCF在保存收到的上述信息之后,还可以向AF发送AM策略授权响应消息。可选的,该AM策略授权响应消息可以是Npcf_AMPolicyAuthorization_Createresponse消息。Optionally, the AM PCF may also send an AM policy authorization response message to the AF after storing the received above information. Optionally, the AM policy authorization response message may be an Npcf_AMPolicyAuthorization_Createresponse message.
步骤307,AM PCF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。In step 307, the AM PCF sends a subscription request message to the BSF. Correspondingly, the BSF receives the subscription request message.
该订阅请求消息用于订阅SM PCF的绑定信息,该订阅请求消息中携带终端的标识信息以及(DNN,S-NSSAI)组合。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 combination of (DNN, S-NSSAI).
可选的,该订阅请求消息可以是Nbsf_Management_Subscribe Request消息。Optionally, the subscription request message may be an Nbsf_Management_Subscribe Request message.
步骤308,终端建立PDU会话,该会话对应(DNN,S-NSSAI)组合。In step 308, the terminal establishes a PDU session, and the session corresponds to the (DNN, S-NSSAI) combination.
在终端建立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_Createresponse消息,该消息中携带SM策略。When the terminal establishes a PDU session, the SMF assigns the address of the terminal to the PDU session. SMF interacts with SM PCF to establish SM policy association. For example, the SMF sends the Npcf_SMPolicyControl_Create request message to the SM PCF, and the message includes the identification information of the terminal and the address of the terminal. After the SM PCF receives the message, if there is no subscription data of the terminal in the SM PCF, the SM PCF can interact with the UDR to obtain the subscription data of the terminal. Then the SM PCF determines the SM strategy according to the subscription data of the terminal and the network strategy. The SM PCF sends the Npcf_SMPolicyControl_Createresponse message to the SMF, and the message carries the SM policy.
步骤309,SM PCF向BSF发送注册请求消息,相应地,BSF接收该注册请求消息。In step 309, the SM PCF sends a registration request message to the BSF, and the BSF receives the registration request message accordingly.
该注册请求消息中包含SM PCF的绑定信息,该绑定信息包括终端的地址、终端的标识信息、(DNN,S-NSSAI)组合和该SM PCF的标识,该SM PCF的标识可以是该SMPCF支持Npcf_PolicyAuthorization服务的资源标识。The registration request message contains 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 may be the SMPCF supports the resource identification of Npcf_PolicyAuthorization service.
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。Optionally, the registration request message may be an Nbsf_Menagement_Register Request message.
步骤310,BSF根据AM PCF的订阅,向AM PCF发送SM PCF的绑定信息。In step 310, the BSF sends the binding information of the SM PCF to the AM PCF according to the subscription of the AM PCF.
可选的,BSF向AM PCF发送Nbsf_Management_Notify Request消息,该消息中包含SM PCF的绑定信息。Optionally, the BSF sends a Nbsf_Management_Notify Request message to the AM PCF, and the message includes binding information of the SM PCF.
步骤311,AM PCF向SM PCF发送订阅请求消息,相应地SM PCF接收该订阅请求消息。In step 311, the AM PCF sends a subscription request message to the SM PCF, and the SM PCF receives the subscription request message accordingly.
该步骤311为可选步骤。具体的,在上述步骤306的策略授权请求消息中包含至少一个应用的标识的情形下,也即上述步骤306的策略授权请求消息中包含上述信息3或信息4,则执行该步骤311。该订阅请求消息中包含至少一个应用的标识,用于订阅应用开始/停止事件。This 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.
可选的,该订阅请求消息可以是Npcf_PolicyAuthorization_Subscribe Request消息。Optionally, the subscription request message may be an Npcf_PolicyAuthorization_Subscribe Request message.
步骤312,SM PCF检测应用开始/停止事件。In step 312, the SM PCF detects an application start/stop event.
比如,SM PCF与SMF交互,请求检测应用开始/停止事件,然后SMF与UPF进一步交互,请求UPF检测应用开始/停止事件。For example, the SM PCF interacts with the SMF to request detection of application start/stop events, and then the SMF further interacts with the UPF to request the UPF to detect application start/stop events.
该步骤312为可选步骤。在执行上述步骤311的情况下,则执行该步骤312。This step 312 is an optional step. In the case that the above step 311 is performed, then step 312 is performed.
步骤313,当SM PCF接收到来自SMF的应用开始事件报告,则SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。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.
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。Optionally, the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
步骤314,AM PCF更新AM策略。Step 314, the AM PCF updates the AM policy.
在一种实现方法中,如果上述步骤306的AM策略授权请求消息中携带上述信息1或信息2,则AM PCF在上述步骤310中收到SM PCF的绑定信息后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到SM PCF的绑定信息,表明SM PCF已经被选择出来,而SM PCF被选择出来的前提是PDU会话已经建立完成。In an implementation method, if the above-mentioned
在另一种实现方法中,如果上述步骤306的AM策略授权请求消息中携带上述信息3或信息4,则AM PCF在上述步骤313中收到应用开始事件后确定PDU会话已经建立完成,则AMPCF确定更新AM策略。其中,AM PCF收到应用开始事件,表明应用已经开始,而应用开始的前提是PDU会话已经建立完成。In another implementation method, if the above information 3 or information 4 is carried in the AM policy authorization request message in the above step 306, the AM PCF determines that the PDU session has been established after receiving the application start event in the above step 313, and the AMPCF Make sure to update the AM policy. Wherein, 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.
其中,AM PCF更新AM策略,具体可以是:AM PCF根据收到的服务区域覆盖范围更新上述步骤302中的授权的服务区域限制信息,得到更新的服务区域限制信息,以及根据收到的高吞吐量指示更新上述步骤302中的授权的RFSP,得到更新的RFSP。更新的AM策略中包含更新的服务区域限制信息和更新的RFSP。Wherein, the AM PCF updates the AM policy, 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.
步骤315,AM PCF向AMF发送更新的AM策略。相应地,AMF接收更新的AM策略。In step 315, the AM PCF sends the updated AM policy to the AMF. Correspondingly, the AMF receives the updated AM policy.
其中,更新的AM策略中包括更新的服务区域限制信息和更新的RFSP。Wherein, the updated AM policy includes updated service area restriction information and updated RFSP.
可选的,AMF可以向AMF发送Npcf_AmPolicyControl_UpdateNotify request消息,该消息中包括更新的服务区域限制信息和更新的RFSP。Optionally, the AMF may send an Npcf_AmPolicyControl_UpdateNotify request message to the AMF, which includes updated service area restriction information and updated RFSP.
步骤316,AMF执行更新的AM策略。In step 316, the AMF executes the updated AM policy.
即AMF根据更新的AM策略,对终端执行控制。That is, the AMF controls the terminal according to the updated AM policy.
步骤317,AMF向终端发送通知消息,该通知消息中包含更新的服务区域限制信息。In 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.
步骤318,AMF向基站发送通知消息,该通知消息中包含更新的服务区域限制信息和更新的RFSP。In 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.
基站根据更新的服务区域限制信息控制终端的接入,以及根据更新的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.
步骤319,AM PCF向AF发送事件通知和更新的AM策略。In step 319, the AM PCF sends the event notification and the updated AM policy to the AF.
该步骤为可选步骤。具体的,若上述步骤306中AF订阅了服务区域覆盖范围改变事件或AM策略改变事件,则执行该步骤319。This step is optional. Specifically, if the AF subscribes to the service area coverage change event or the AM policy change event in step 306 above, step 319 is executed.
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向AF发送事件通知和更新的AM策略。Optionally, the AM PCF may send the event notification and the updated AM policy to the AF through the Npcf_AMPolicyAuthorization_Notify message.
通过上述方案,可以实现AM PCF根据AF提供的应用层信息,更新AM策略,从而可以得到精确的AM策略,有利于实现根据该精确的AM策略对终端实施精确控制。Through the above solution, the AM PCF can update the AM policy according to the application layer information provided by the AF, so that an accurate AM policy can be obtained, which is beneficial to implement precise control on the terminal according to the accurate AM policy.
图4为本申请实施例提供的AM策略生成及使用的流程示意图。该实施例是针对终端组或任意终端的示例。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.
步骤401至步骤402,同步骤301至步骤302。Step 401 to step 402 are the same as step 301 to step 302.
步骤403,AM PCF向UDR发送订阅请求消息,相应地,UDR接收该订阅请求消息。In step 403, the AM PCF sends a subscription request message to the UDR, and the UDR receives the subscription request message accordingly.
该订阅请求消息中包含(S-NSSAI,DNN)组合以及外部组标识。该订阅请求消息用于订阅与AM相关的应用数据,或者理解为订阅AM影响信息(AM influence information)。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).
其中,AM影响信息也可以称为应用层信息。Wherein, the AM impact information may also be referred to as application layer information.
可选的,该订阅请求消息可以是Nudr_DM_Subscribe request消息。Optionally, the subscription request message may be a Nudr_DM_Subscribe request message.
步骤404,AF向UDR发送AM影响信息。相应地,UDR接收AM影响信息。In step 404, the AF sends AM impact information to the UDR. Accordingly, the UDR receives AM impact information.
比如,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消息。For example, the AF can send AM influence information to the UDR through the NEF. The specific AF sends a Nnef_AMInfluence_Create request message to the NEF, which carries the AM influence information, and then the NEF sends a Nudr_DM_Create Request message to the UDR, which carries the AM influence information. Optionally, UDR sends Nudr_DM_Create Response message to NEF, and then NEF sends Nnef_AMInfluence_Create Response message to AF.
其中,AM影响信息中包括以下信息1至信息4中的任一项:Among them, the AM impact information includes any one of the
信息1:外部组标识或任意终端指示、服务区域覆盖范围(service areacoverage)以及关联的(DNN,S-NSSAI)组合;Information 1: external group identifier or any terminal indication, service area coverage (service area coverage) and associated (DNN, S-NSSAI) combination;
信息2:外部组标识或任意终端指示、高吞吐量(high throughput)指示以及关联的(DNN,S-NSSAI)组合;Information 2: external group identifier or any terminal indication, high throughput (high throughput) indication and associated (DNN, S-NSSAI) combination;
信息3:外部组标识或任意终端指示、服务区域覆盖范围、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识(Application Id);Information 3: external group identifier or any terminal indication, service area coverage, associated (DNN, S-NSSAI) combination and at least one application identifier (Application Id);
信息4:外部组标识或任意终端指示、高吞吐量指示、关联的(DNN,S-NSSAI)组合以及至少一个应用的标识。Information 4: external group identification or any terminal indication, high throughput indication, associated (DNN, S-NSSAI) combination and identification of at least one application.
其中,上述信息3的(DNN,S-NSSAI)组合是可选的信息,上述信息4的(DNN,S-NSSAI)组合也是可选的信息。Wherein, the (DNN, S-NSSAI) combination of the above information 3 is optional information, and the (DNN, S-NSSAI) combination of the above information 4 is also optional information.
其中,服务区域覆盖范围和高吞吐量指示的含义可以参考步骤306中的描述。For the meanings of the coverage of the service area and the high throughput indication, reference may be made to the description in step 306 .
可选的,该步骤中AF还可以通过NEF向UDR订阅服务区域覆盖范围改变事件或AM策略改变事件,比如在该AM影响信息中还携带服务区域覆盖范围改变事件的标识和通知端点,或者携带AM策略改变事件的标识和通知端点。该通知端点可以是AF的地址。Optionally, in this step, 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.
可选的,该步骤404可以在上述步骤401之前执行。Optionally, this step 404 may be performed before the foregoing step 401 .
步骤405,UDR向AM PCF发送通知消息。相应地,AM PCF接收该通知消息。Step 405, the UDR sends a notification message to the AM PCF. Correspondingly, the AM PCF receives the notification message.
该通知消息中包含AM影响信息。The notification message includes AM impact information.
可选的,该通知消息可以是Nudr_DM_Notify request消息。Optionally, the notification message may be a Nudr_DM_Notify request message.
步骤406,AM PCF向BSF发送订阅请求消息。相应地,BSF接收该订阅请求消息。In step 406, the AM PCF sends a subscription request message to the BSF. Correspondingly, the BSF receives the subscription request message.
该订阅请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该订阅请求消息用于订阅SM PCF绑定信息。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.
其中,订阅请求消息中的终端的标识信息所指示的终端即为上述步骤401中的终端。具体的,AM PCF判断收到的AM影响信息应用于步骤401中的终端,则确定该订阅请求消息中携带该终端的标识信息。Wherein, the terminal indicated by the identification information of the terminal in the subscription request message is the terminal in step 401 above. Specifically, the AM PCF judges that the received AM influence information applies to the terminal in step 401, and then determines that the subscription request message carries the identification information of the terminal.
步骤407至步骤409,同步骤308至步骤310。Step 407 to step 409 are the same as step 308 to step 310.
步骤410,AM PCF向SM PCF发送订阅请求消息,相应地SM PCF接收该订阅请求消息。In step 410, the AM PCF sends a subscription request message to the SM PCF, and the SM PCF receives the subscription request message accordingly.
该步骤410为可选步骤。具体的,在上述步骤405的通知消息中包含至少一个应用的标识的情形下,也即上述步骤405的通知消息中包含上述信息3或信息4,则执行该步骤410。该订阅请求消息中包含至少一个应用的标识,用于订阅应用开始/停止事件。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.
可选的,该订阅请求消息可以是Npcf_PolicyAuthorization_Subscribe Request消息。Optionally, the subscription request message may be an Npcf_PolicyAuthorization_Subscribe Request message.
步骤411至步骤412,同步骤312至步骤313。Step 411 to step 412 are the same as step 312 to step 313.
步骤413,AM PCF更新AM策略。Step 413, the AM PCF updates the AM policy.
在一种实现方法中,如果上述步骤405的通知消息中携带上述信息1或信息2,则AMPCF在上述步骤409中收到SM PCF的绑定信息后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到SM PCF的绑定信息,表明SM PCF已经被选择出来,而SM PCF被选择出来的前提是PDU会话已经建立完成。In one implementation method, if the above-mentioned
在另一种实现方法中,如果上述步骤405的通知消息中携带上述信息3或信息4,则AM PCF在上述步骤412中收到应用开始事件后确定PDU会话已经建立完成,则AM PCF确定更新AM策略。其中,AM PCF收到应用开始事件,表明应用已经开始,而应用开始的前提是PDU会话已经建立完成。In another implementation method, if the above-mentioned information 3 or information 4 is carried in the notification message of the above-mentioned step 405, 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. Wherein, 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.
其中,AM PCF更新AM策略,具体可以是:AM PCF根据收到的服务区域覆盖范围更新上述步骤402中的授权的服务区域限制信息,得到更新的服务区域限制信息,以及根据收到的高吞吐量指示更新上述步骤402中的授权的RFSP,得到更新的RFSP。Wherein, 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 according to the received high throughput The amount indicates to update the authorized RFSP in the above step 402, and obtain the updated RFSP.
本申请实施例中,AM策略也称为移动性管理策略,这里统一说明,后续不赘述。In the embodiment of the present application, 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.
步骤414至步骤417,同步骤315至步骤318。Step 414 to step 417 are the same as step 315 to step 318.
步骤418,AM PCF向AF发送事件通知和更新的AM策略。In step 418, the AM PCF sends the event notification and the updated AM policy to the AF.
该步骤为可选步骤。比如,若上述步骤405中AF订阅了服务区域覆盖范围改变事件或AM策略改变事件,则执行该步骤418。This step is optional. For example, if the AF subscribes to the service area coverage change event or the AM policy change event in step 405 above, step 418 is executed.
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向NEF发送事件通知和更新的AM策略,然后NEF通过Nnef_AMInfluence_Notify消息向AF发送事件通知和更新的AM策略。Optionally, 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.
通过上述方案,可以实现AM PCF根据AF提供的应用层信息,更新AM策略,从而可以得到精确的AM策略,有利于实现根据该精确的AM策略对终端实施精确控制。Through the above solution, the AM PCF can update the AM policy according to the application layer information provided by the AF, so that an accurate AM policy can be obtained, which is beneficial to implement precise control on the terminal according to the accurate AM policy.
目前,每个BSF会将自己的信息注册到NRF,以便其它网元能够发现自己。BSF在注册信息时通常是将自己服务的终端的IP地址范围作为索引,从而其它网元可以根据终端的IP地址从NRF获取到与该终端的IP地址对应的BSF。Currently, each BSF will register its own information to the NRF so that other network elements can discover itself. When 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 the NRF according to the IP address of the terminal.
在上述图3或图4的流程中,AM PCF为了能找到对应的SM PCF,AM PCF向BSF发送订阅请求消息,以请求订阅SM PCF的绑定信息。In the process shown in FIG. 3 or FIG. 4, 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.
然而,在上述图3或图4的流程中,AM PCF不能获取到终端的IP地址,因此AM PCF无法根据终端的IP地址从NRF获取到与该终端的IP地址对应的BSF。因此,在网络中存在多个分布式的BSF的情况下,AM PCF需要向每个BSF发送订阅请求消息,这将增加信令开销和资源浪费。However, in the process shown in FIG. 3 or FIG. 4, 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 waste resources.
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供一种通信方法,如图5(a)所示。该方法中,第一PCF用于制定移动性管理策略,第一PCF也可以称为AM PCF,第二PCF用于制定会话管理策略,第二PCF也可以称为SM PCF。在终端发生移动的场景下,该第一PCF指的是终端移动后为该终端提供服务的AM PCF。因此该方法中,第一PCF既可以表示终端未发生移动的场景中为终端提供服务的AM PCF,也可以表示终端发生移动的场景中,在终端移动之后为该终端提供服务的AM PCF。In order to accurately determine the mobility management policy and reduce signaling overhead and resource waste in the process of determining the mobility management policy, an embodiment of the present application provides a communication method, as shown in FIG. 5( a ). In this method, the first PCF is used to formulate a mobility management policy, and the first PCF may also be called an AM PCF, and the second PCF is used to formulate a session management policy, and the second PCF may also be called an SM PCF. In the scenario where the terminal moves, 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:
步骤501a,第一PCF向UDR发送请求消息,相应的,UDR接收该请求消息。Step 501a, the first PCF sends a request message to the UDR, and the UDR receives the request message accordingly.
该请求消息中包含终端的标识信息、事件标识信息和通知地址。该请求消息用于请求UDR保存事件标识信息和通知地址,或者理解为该请求消息用于请求UDR将该事件标识信息和通知地址保存至与该终端的标识信息关联的信息中,比如保存至该终端的标识信息所指示的终端的签约数据中。可选的,UDR还存储该终端的标识信息。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. Optionally, the UDR also stores the identification information of the terminal.
作为一种实现方法,该事件标识信息和通知地址可以统称为事件订阅信息,也可以请求消息中包含终端的标识信息和事件订阅信息,事件订阅信息中包含事件标识信息和通知地址。As an implementation method, 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.
作为一种实现方法,该请求消息中还可以包括通知关联标识(notificationcorrelation Id),该通知关联标识用于对不同终端的事件标识信息和通知地址加以区分。As an implementation method, 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.
在一种实现方法中,该请求消息中包含统一资源标识符(uniform resourceidentifier,URI),该URI中包含终端的标识信息。示例性地,该请求消息中的URI是{apiRoot}/nudr-dr/<apiVersion>/policy-data/ues/{ueId}/sm-data,终端的标识信息是该URI中的ueId。In an implementation method, the request message includes a uniform resource identifier (uniform resource identifier, URI), and the URI includes identification information of the terminal. Exemplarily, the URI in the request message is {apiRoot}/nudr-dr/<apiVersion>/policy-data/ues/{ueId}/sm-data, and the identification information of the terminal is the ueId in the URI.
终端的标识信息为用于标识终端的信息,终端的标识信息可以是SUPI、GPSI或终端所属的组的组标识。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.
事件标识信息用于指示检测会话的状态或应用的状态。比如当事件标识信息用于指示检测会话的状态,事件标识信息可以是PDU会话的状态(PDU Session Status)或者是PDU会话建立/终结(PDU Session establishment/termination)。再比如当事件标识信息用于指示检测应用的状态,应用的状态(application status)可以是应用检测(application detection),也可以是应用开始/停止(application start/stop)。The event identification information is used to indicate the state of the detection session or the state of the application. For example, when the event identification information is used to indicate the status of the detection session, 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). For another example, when the event identification information is used to indicate the state of the detected application, the state of the application (application status) may be application detection (application detection) or application start/stop (application start/stop).
示例性的,当事件标识信息用于指示检测应用的状态,则该请求消息中还可以包含至少一个应用的标识,此时该事件标识信息用于指示检测该至少一个应用的状态。Exemplarily, when the event identification information is used to indicate the status of the detected application, 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.
通知地址(notification address)是用于接收事件标识信息对应的事件通知地址,该事件通知地址是第一PCF的地址。这里的通知地址,也可以称为通知目标地址(notification target address)。A notification address (notification address) is used for receiving an event notification address corresponding to the event identification information, and the event notification address is an address of the first PCF. The notification address here may also be called a notification target address (notification target address).
步骤502a,UDR向第二PCF发送事件标识信息和通知地址,相应的,第二PCF接收该事件标识信息和该通知地址。In 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.
若上述步骤501a的事件标识信息用于指示检测应用的状态,则上述请求消息中还包含至少一个应用的标识,因此该步骤502a中UDR还向第二PCF发送该至少一个应用的标识信息。If the event identification information in step 501a is used to indicate the state of the detected application, 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.
作为一种实现方法,当上述步骤501a的请求消息中包含通知关联标识,则该步骤502a中,UDR还向第二PCF发送该通知关联标识。As an implementation method, 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.
作为一种实现方法,第二PCF向UDR发送查询请求消息,该查询请求消息中包含终端的标识信息,该查询请求消息用于请求查询终端的签约数据,然后UDR根据该查询请求消息,从UDR保存的信息中获取该终端的签约数据,该终端的签约数据中包含上述步骤501a中事件标识信息和通知地址,接着UDR向第二PCF发送查询响应消息,该查询响应消息中包括终端的签约数据,该签约数据中包含上述事件标识信息和通知地址。基于该方法,UDR基于第二PCF的查询请求,实时地向第二PCF发送事件标识信息和通知地址,有助于第二PCF能够及时获取到事件标识信息和通知地址。As an implementation method, 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. Obtain the subscription data of the terminal from the saved information, the subscription data of the terminal includes the event identification information and notification address in step 501a above, and then 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. Based on this method, 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.
作为另一种实现方法,第二PCF向UDR发送签约数据订阅请求消息,该签约数据订阅请求消息中包含终端的标识信息,该签约数据订阅请求消息用于请求查询终端的签约数据改变的通知,然后UDR根据该签约数据订阅请求消息,一旦发现UDR中保存的终端的签约数据发生改变,则UDR向第二PCF发送通知消息,该通知消息中包括终端的改变后签约数据,该签约数据中包含事件标识信息和通知地址。比如,第二PCF在上述步骤501a之前向UDR发送该签约数据订阅请求消息,当UDR在上述步骤501a中从第一PCF收到上述请求消息,则触发UDR根据收到的事件标识信息和通知地址对UDR中保存的该终端的签约数据进行更新,进而触发UDR向第二PCF发送上述通知消息。基于该方法,UDR基于第二PCF的签约数据订阅请求消息,向第二PCF发送事件标识信息和通知地址,该方法不需要第二PCF频繁地向UDR发送用于请求查询终端的签约数据的查询请求消息,因此可以减少信令开销。As another implementation method, 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, and 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. Once the subscription data of the terminal stored in the UDR is found to be changed, 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. For example, the second PCF sends the subscription data subscription request message to the UDR before the above step 501a. 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 message, thus reducing signaling overhead.
步骤503a,第二PCF根据事件标识信息,检测终端的会话的状态或终端的应用的状态。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.
比如,事件标识信息用于指示检测会话的状态,则第二PCF检测终端的会话的状态。其中,检测到的会话的状态可以是PDU会话建立或PDU会话终止。For example, 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. Wherein, the detected state of the session may be PDU session establishment or PDU session termination.
再比如,事件标识信息用于指示检测应用的状态,则第二PCF检测终端的应用的状态,具体的,第二PCF检测上述步骤501a的请求消息中携带的至少一个应用的标识所指示的应用的状态。其中,检测到的应用状态可以是应用开始或应用停止。For another example, 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. Wherein, the detected application state may be application start or application stop.
步骤504a,第二PCF根据通知地址,向第一PCF发送通知消息,相应的,第一PCF接收该通知消息。In 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.
作为一种实现方法,当上述步骤502a中UDR还向第二PCF发送通知关联标识,则该通知消息中还可以携带该通知关联标识。As an implementation method, when the UDR also sends the notification association identifier to the second PCF in step 502a above, the notification message may also carry the notification association identifier.
作为一种实现方法,该通知消息中还可以包括终端的会话的标识、终端的地址或第二PCF的标识中的至少一个。As an implementation method, 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.
步骤505a,第一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.
比如,当第一PCF收到终端的会话的状态,且终端的会话的状态为会话建立,则第一PCF根据来自AF的应用层信息确定移动性管理策略。For example, when the first PCF receives the session status of the terminal, and the session status of the terminal is session establishment, the first PCF determines the mobility management policy according to the application layer information from the AF.
再比如,当第一PCF收到终端的会话的状态,且终端的会话的状态为会话终止,则第一PCF不根据来自AF的应用层信息确定移动性管理策略,比如第一PCF可以根据终端的签约数据确定移动性管理策略。For another example, 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.
再比如,当第一PCF收到终端的应用的状态,且终端的应用的状态为应用开始,则第一PCF根据来自AF的应用层信息确定移动性管理策略。For another example, when the first PCF receives the application status of the terminal, and the application status of the terminal is application start, the first PCF determines the mobility management policy according to the application layer information from the AF.
再比如,当第一PCF收到终端的应用的状态,且终端的应用的状态为应用停止,则第一PCF不根据来自AF的应用层信息确定移动性管理策略,比如第一PCF可以根据终端的签约数据确定移动性管理策略。For another example, 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.
其中,第一PCF根据来自AF的应用层信息确定移动性管理策略的具体实现方法,可以参考前述步骤314或步骤413的描述。Wherein, 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 .
根据上述步骤501a至步骤505a的方法,第一PCF可以根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(a)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个UDR发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。According to the above method from step 501a to step 505a, 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.
作为一种实现方法,上述步骤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,该事件标识信息用于指示检测应用的状态。As an implementation method, 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. For example, when the application layer information sent by the AF to the first PCF is for a single terminal, the application layer information may be any one of
作为一种实现方法,当第一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)组合,对事件标识信息进行精细化管理。As an implementation method, when the first PCF receives the application layer information from the AF before the above step 501a, 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. In the case that the request message in the above step 501a contains a (DNN, S-NSSAI) combination, then in the above step 502a, what the UDR sends to the second PCF is the event identification information corresponding to the (DNN, S-NSSAI) combination and notification address, it can also be understood that 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. data, or the subscription data subscription request message sent by the second PCF to the UDR in step 502a above may include 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, the refined management of event identification information based on (DNN, S-NSSAI) combination can be realized.
作为一种实现方法,在上述步骤501a的请求消息中包含(DNN,S-NSSAI)组合的情况下,该请求消息中还可以包含第一指示信息,该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送通知消息,和/或当(DNN,S-NSSAI)组合对应的最后一个会话终止时发送通知消息。UDR也会存储该第一指示信息。后续在上述步骤502a中UDR向第二PCF发送事件标识信息和通知地址时,还会向第二PCF发送该第一指示信息。根据该第一指示信息,第二PCF在检测到多个会话中的第一个会话的状态时向第一PCF发送包含该第一个会话的状态的通知消息,和/或在检测到多个会话中的最后一个会话的状态时向第一PCF发送包含该最后一个会话的状态的通知消息,而对于除第一个会话和最后一个会话之外的其它会话的状态,第二PCF不需要向第一PCF发送该其它会话的状态。根据该方法,可以减少信令开销。As an implementation method, in the case that the request message in step 501a includes a combination of (DNN, S-NSSAI), the request message may also include first indication information, where the first indication information is used to indicate the notification policy, The notification policy 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. According to the first indication information, 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.
作为一种实现方法,在上述步骤505a中确定的移动性管理策略中包含第二指示信息,该第二指示信息用于指示移动性管理策略是根据应用层信息确定的。后续该移动性管理策略可以发送至AMF、基站及终端,从而AMF、基站及终端可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。As an implementation method, 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.
作为一种实现方法,在上述步骤505a之后,第一PCF可以向AF发送该移动性管理策略。比如,第一PCF基于AF的订阅向AF发送该移动性管理策略,或者是第一PCF主动向AF发送该移动性管理策略。As an implementation method, after the above step 505a, the first PCF may send the mobility management policy to the AF. For example, 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.
作为一种实现方法,在上述步骤505a之后,UDR还可以向第一PCF发送针对上述请求消息的响应消息,该响应消息中包括第一标识信息,该第一标识信息是事件标识信息及通知地址的标识信息,该第一标识信息用于对事件标识信息和/或通知地址进行修改或删除。也即后续第一PCF或者其它PCF可以根据该第一标识信息对由第一PCF保存至UDR的事件标识信息和/或通知地址进行修改或删除。根据该方法,可以实现对UDR保存的事件标识信息和通知地址的快速修改或删除。As an implementation method, after the above step 505a, 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.
作为一种实现方法,当该第一PCF是终端发生移动之后为终端提供服务的AM PCF,则在上述步骤501a之前,第一PCF可以接收来自AMF的第三指示信息,该第三指示信息用于指示终端使用的移动性管理策略是根据应用层信息确定的,从而第一PCF根据该第三指示信息,延迟确定移动性管理策略,或者理解为第一PCF根据第三指示信息确定不根据终端的签约数据确定移动性管理策略。然后,第一PCF根据该第三指示信息,触发执行上述步骤501a至步骤505a,实现根据应用层信息确定移动性管理策略。该方法有助于实现精确确定移动性管理策略。As an implementation method, when the first PCF is an AM PCF that provides services for the terminal after the terminal moves, before the above step 501a, the first PCF may receive third indication information from the AMF, and the third indication information is used 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. Then, 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.
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供一种通信方法,如图5(b)所示。该方法适用于终端发生移动的场景。该方法中,第一PCF和第三PCF用于制定移动性管理策略,第一PCF和第三PCF均可以称为AM PCF,第一PCF是终端移动后为终端提供服务的PCF,第三PCF是终端移动前为终端提供服务的PCF。第二PCF用于制定会话管理策略,第二PCF可以称为SM PCF。In order to accurately determine the mobility management policy and reduce signaling overhead and resource waste in the process of determining the mobility management policy, 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. In this method, 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 a session management policy, and the second PCF may be called an SM PCF.
该方法包括以下步骤:The method includes the following steps:
步骤501b,第一PCF向UDR发送请求消息,相应的,UDR接收该请求消息。In 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.
其中,第一通知地址是用于接收事件标识信息对应的事件通知地址,该事件通知地址是第一PCF的地址。Wherein, the first notification address is an event notification address corresponding to receiving event identification information, and the event notification address is an address of the first PCF.
该第一标识信息是UDR保存的事件标识信息及第二通知地址的标识信息。该事件标识信息用于指示检测会话的状态或应用的状态,该事件标识信息的具体含义可以参考步骤501a中的描述。该第二通知地址是用于接收事件标识信息对应的事件通知的第三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.
示例性的,第一PCF获取到第一标识信息的方法比如可以是:第三PCF在向UDR保存该事件标识信息及该第二通知地址之后,UDR根据该事件标识信息及该第二通知地址生成该第一标识信息,然后将该第一标识信息发送给第三PCF,接着第三PCF将该第一标识信息发送给终端之前为该终端提供服务的第一AMF,然后该第一AMF将该第一标识信息发送给终端之后为该终端提供服务的第二AMF,从而第二AMF可以将该第一标识信息发送给第一PCF。Exemplarily, 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.
该请求消息用于请求UDR将保存的第二通知地址更新为第一通知地址。The request message is used to request the UDR to update the saved second notification address to the first notification address.
作为一种实现方法,该请求消息中还可以包括第一PCF分配的第一通知关联标识,该第一通知关联标识用于对不同终端的事件标识信息和通知地址加以区分,则该请求消息还用于请求UDR将保存的第二通知关联标识更新为该第一通知关联标识,该第二通知关联标识是由第三PCF在将事件标识信息和第二通知地址保存至UDR时,一并发送至UDR进行保存的。As an implementation method, 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.
步骤502b,UDR将保存的第二通知地址更新为第一通知地址。In step 502b, the UDR updates the saved second notification address to the first notification address.
示例性的,UDR在步骤501b之前,从第三PCF收到事件标识信息和第二通知地址,然后UDR保存该事件标识信息和第二通知地址。然后UDR在收到上述请求消息之后,将保存的第二通知地址更新为第一通知地址,从而在发生更新之后,UDR保存该事件标识信息和第一通知地址。Exemplarily, before step 501b, 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.
作为一种实现方法,UDR还将保存的第二通知关联标识更新为第一通知关联标识。As an implementation method, the UDR also updates the saved second notification association identifier to the first notification association identifier.
步骤503b,UDR向第二PCF发送事件标识信息和第一通知地址,相应的,第二PCF接收该事件标识信息和该第一通知地址。In 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.
作为一种实现方法,UDR在该步骤503b中,还向第二PCF发送第一通知关联标识。As an implementation method, in the step 503b, the UDR also sends the first notification association identifier to the second PCF.
该步骤503b的具体实现与上述步骤502a类似,可以参考上述描述。The specific implementation of this step 503b is similar to the above step 502a, and reference may be made to the above description.
步骤504b,第二PCF根据事件标识信息,检测终端的会话的状态或终端的应用的状态。In 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.
该步骤504b的具体实现与上述步骤503a相同,可以参考前述描述。The specific implementation of this step 504b is the same as the above step 503a, and reference may be made to the foregoing description.
步骤505b,第二PCF根据第一通知地址,向第一PCF发送通知消息,相应的,第一PCF接收该通知消息。In 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.
作为一种实现方法,通知消息中还包括第一通知关联标识。As an implementation method, 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.
步骤506b,第一PCF根据终端的会话的状态或终端的应用的状态确定移动性管理策略。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.
该步骤506b的具体实现与上述步骤505a相同,可以参考前述描述。The specific implementation of this step 506b is the same as that of the above step 505a, and reference may be made to the foregoing description.
根据上述步骤501b至步骤506b的方法,第一PCF可以根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(b)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个UDR发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。另外,相较于图5(a)的方法,该图5(b)的方法中第一PCF可以根据第一标识信息对UDR保存的通知地址进行修改,可以减少信令的负荷,有助于节约资源。According to the above method from step 501b to step 506b, 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(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. In addition, compared with the method in Figure 5(a), 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.
基于该图5(b)的实施例中的其它各种可能的实现方法,比如基于(DNN,S-NSSAI)组合的实现方法、基于应用层信息的实现方法、基于上述第一指示信息的实现方法、基于上述第二指示信息的实现方法、基于上述第三指示信息的实现方法等,均与上述图5(a)的实施例中的各种实现方法类似,可以参考前述描述,不再赘述。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. .
为实现精确确定移动性管理策略,以及减少确定移动性管理策略的流程中的信令开销和资源浪费,本申请实施例提供另一种通信方法,如图5(c)所示。该方法中,第一PCF用于制定移动性管理策略,第一PCF也可以称为AM PCF,第二PCF用于制定会话管理策略,第二PCF也可以称为SM PCF。In order to accurately determine the mobility management policy and reduce signaling overhead and resource waste in the process of determining the mobility management policy, this embodiment of the present application provides another communication method, as shown in FIG. 5( c ). In this method, the first PCF is used to formulate a mobility management policy, and the first PCF may also be called an AM PCF, and the second PCF is used to formulate a session management policy, and the second PCF may also be called an SM PCF.
该方法包括以下步骤:The method includes the following steps:
步骤501c,第一PCF向AMF发送第一请求消息,相应的,AMF接收该第一请求消息。In step 501c, the first PCF sends a first request message to the AMF, and correspondingly, the AMF receives the first request message.
该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该事件标识信息对应的事件为终端的会话的状态或终端的应用的状态,该事件标识信息的具体实现可以参考步骤501a中的描述。The first 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, and the event corresponding to the event identification information is the state of the session of the 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.
示例性的,第一PCF可以在终端的会话上,向AMF发送该第一请求消息,从而AMF可以获知是检测哪个终端的会话的状态或应用的状态。Exemplarily, 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.
可选的,该第一请求消息中的事件标识信息可以是第一PCF根据来自AF的应用层信息确定的。第一PCF根据来自AF的应用层信息确定事件标识信息的具体方法可以参考前述图5(a)的实施例中的相关描述。Optionally, 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. For a specific method for the first PCF to determine the event identification information according to the application layer information from the AF, reference may be made to the related description in the embodiment of FIG. 5( a ).
可选的,第一请求消息中还包含(DNN,S-NSSAI)组合,该第一请求消息用于请求终端的与(DNN,S-NSSAI)组合对应的会话的状态或应用的状态。第一PCF获取的(DNN,S-NSSAI)组合可以来自AF的应用层信息。其中,应用层信息的具体描述可以参考前述步骤306或步骤404的描述。Optionally, the first request message further includes a (DNN, S-NSSAI) combination, and 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 .
步骤502c,AMF检测到事件标识信息对应的事件。In step 502c, the AMF detects the event corresponding to the event identification information.
下面介绍AMF检测到事件标识信息对应的事件的两种不同实现方法。The following introduces two different implementation methods for the event corresponding to the event identification information detected by the AMF.
实现方法一,当事件标识信息是会话的状态,由AMF检测终端的会话的状态。
根据该实现方法一,是由AMF检测终端的会话的状态。According to the first implementation method, the AMF detects the session status of the terminal.
可选的,如果上述第一请求消息中还包含(DNN,S-NSSAI)组合,则第一请求消息用于请求终端的与该(DNN,S-NSSAI)组合对应的会话的状态或应用的状态,从而AMF可以检测终端的与该(DNN,S-NSSAI)组合对应的会话的状态。该会话的状态包括(DNN,S-NSSAI)组合对应的会话的建立或(DNN,S-NSSAI)组合对应的会话的终结。或者,会话的状态为(DNN,S-NSSAI)组合对应的第一个会话的建立,或(DNN,S-NSSAI)组合对应的最后一个会话的终结。Optionally, if the above-mentioned first request message also includes a (DNN, S-NSSAI) combination, 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 state of the session includes the establishment of the session corresponding to the (DNN, S-NSSAI) combination or the termination of the session corresponding to the (DNN, S-NSSAI) combination. Alternatively, the state of the session is the establishment of the first session corresponding to the (DNN, S-NSSAI) combination, or the termination of the last session corresponding to the (DNN, S-NSSAI) combination.
实现方法二,当事件标识信息是应用的状态或会话的状态,由SMF检测终端的会话的状态。In the second implementation method, when the event identification information is the state of the application or the state of the session, the SMF detects the state of the session of the terminal.
比如,在上述步骤501c之后,AMF向SMF发送第二请求消息,该第二请求消息中包含上述事件标识信息,该第二请求消息用于请求事件标识信息对应的事件通知。然后,SMF检测事件标识信息对应的事件,SMF在检测到事件标识信息对应的事件后,向AMF发送通知消息,该通知消息中包含终端的应用的状态或终端的会话的状态。AMF收到该通知消息,则表明AMF检测到事件标识信息对应的事件。因此,根据该实现方法二,AMF检测到事件标识信息对应的事件,可以理解为AMF收到来自SMF的该通知消息。For example, after the above step 501c, 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. Then, 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. When 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.
步骤503c,AMF向第一PCF发送通知消息。相应的,第一PCF接收该通知消息。In step 503c, the AMF sends a notification message to the first PCF. 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, and the session state of the terminal or the application state of the terminal is detected according to the event identification information.
如果AMF是根据上述步骤502c的实现方法一检测到事件标识信息对应的事件,则该通知消息中包含终端的会话的状态,且该会话的状态为会话建立。If the AMF detects the event corresponding to the event identification information according to the first implementation method of step 502c, the notification message includes the session status of the terminal, and the session status is session establishment.
如果AMF是根据上述步骤502c的实现方法二检测到事件标识信息对应的事件,则该通知消息中包含上述来自SMF的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态。If the AMF detects the event corresponding to the event identification information according to the second implementation method of step 502c, 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.
步骤504c,第一PCF根据终端的会话的状态或终端的应用的状态确定移动性管理策略。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.
该步骤504c的具体实现与上述步骤505a相同,可以参考前述描述。The specific implementation of this step 504c is the same as the above step 505a, and reference may be made to the foregoing description.
根据上述步骤501c至步骤504c的方法,第一PCF可以根据终端的会话的状态或应用的状态确定移动性管理策略,可以实现精确确定移动性管理策略。并且,相较于图3或图4的方法,该图5(c)的方法中不需要第一PCF向网络中的每个BSF发送订阅请求消息,而只需要向一个AMF发送一个请求消息,便可以接收到终端的会话的状态或应用的状态,因此可以减少确定移动性管理策略的流程中的信令开销和资源浪费。According to the above method from step 501c to step 504c, 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.
作为一种实现方法,也可以不执行上述步骤502c和步骤503c,而是在步骤501c之后和步骤504c之前执行以下操作:AMF在收到第一请求消息后,向SMF发送第二请求消息,该第二请求消息中包含上述事件标识信息,该第二请求消息用于请求事件标识信息对应的事件通知。然后,SMF检测事件标识信息对应的事件,SMF在检测到事件标识信息对应的事件后,向第一PCF发送通知消息,该通知消息中包含终端的应用的状态或终端的会话的状态。As an implementation method, the above 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. Then, 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.
作为一种实现方法,在上述第一请求消息中包含(DNN,S-NSSAI)组合的情况下,该第一请求消息中还可以包含第一指示信息,或者在上述第一请求消息和第二请求消息中均包含(DNN,S-NSSAI)组合的情况下,该第一请求消息和该第二请求消息中还可以均包含第一指示信息。该第一指示信息用于指示通知策略,该通知策略为:当该(DNN,S-NSSAI)组合对应的第一个会话建立时发送通知消息,和/或当(DNN,S-NSSAI)组合对应的最后一个会话终止时发送通知消息。然后AMF或SMF根据该第一指示信息,检测到多个会话中的第一个会话的状态时向第一PCF发送包含该第一个会话的状态的通知消息,和/或在检测到多个会话中的最后一个会话的状态时向第一PCF发送包含该最后一个会话的状态的通知消息,而对于除第一个会话和最后一个会话之外的其它会话的状态,AMF或SMF不需要向第一PCF发送该其它会话的状态。根据该方法,可以减少信令开销。As an implementation method, if the combination of (DNN, S-NSSAI) is contained in the above first request message, 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. Then 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.
作为一种实现方法,在上述步骤504c中确定的移动性管理策略中包含第二指示信息,该第二指示信息用于指示移动性管理策略是根据应用层信息确定的。后续该移动性管理策略可以发送至AMF、基站及终端,从而AMF、基站及终端可以获知该移动性管理策略是根据应用层信息确定的,有助于实现移动性管理策略的合理使用。As an implementation method, 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 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.
作为一种实现方法,在上述步骤504c之后,第一PCF可以向AF发送该移动性管理策略。比如,第一PCF基于AF的订阅向AF发送该移动性管理策略,或者是第一PCF主动向AF发送该移动性管理策略。As an implementation method, after the above step 504c, the first PCF may send the mobility management policy to the AF. For example, 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.
下面结合具体示例,对上述图5(a)、图5(b)以及图5(c)所示的方案进行说明。其中,以下图6和图7所示的示例是上述图5(a)所示的方案的具体示例,以下图8和图9所示的示例是上述图5(b)所示的方案的具体示例,以下图10和图10(a)所示的示例是上述图5(c)所示的方案的具体示例。The solutions shown in FIG. 5( a ), FIG. 5( b ) and FIG. 5( c ) will be described below in conjunction with specific examples. Among them, the examples shown in Figure 6 and Figure 7 below are specific examples of the solution shown in Figure 5(a) above, and the examples shown in Figure 8 and Figure 9 below are specific examples of the solution shown in Figure 5(b) above As an example, the example shown in FIG. 10 and FIG. 10( a ) below is a specific example of the solution shown in FIG. 5( c ).
图6为本申请实施例提供的一种通信方法,该方法是AF针对单个终端提供应用层信息用于AM策略的决策,AM PCF从AF获取应用层信息。FIG. 6 shows a communication method provided by an embodiment of the present application. In this method, the AF provides application layer information for a single terminal for AM policy decision-making, and the AM PCF obtains the application layer information from the AF.
该方法包括以下步骤:The method includes the following steps:
步骤601至步骤606,同上述步骤301至步骤306。Step 601 to step 606 are the same as above step 301 to step 306.
步骤607,AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。In step 607, the AM PCF sends an update request message to the UDR. Correspondingly, the UDR receives the update request message.
该更新请求消息是上述步骤501a的请求消息的一个具体示例。The update request message is a specific example of the request message in step 501a above.
该更新请求消息中包含事件订阅信息、终端的标识信息和(DNN,S-NSSAI)组合,该更新请求消息用于请求UDR将事件订阅信息保存在终端的与该(DNN,S-NSSAI)组合对应的签约数据中。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.
该事件订阅信息包括通知地址和事件标识信息。其中,通知地址可以是AM PCF的地址。可选的,当AM PCF需要将多个终端对应的事件订阅信息保存至UDR时,如果AM PCF为不同终端分配了相同的通知地址,则该事件订阅信息中还可以包括通知关联标识,该通知关联标识用于对不同终端的事件订阅信息加以区分。The event subscription information includes notification address and event identification information. Wherein, the notification address may be the address of the AM PCF. Optionally, when the AM PCF needs to save the event subscription information corresponding to multiple terminals to the UDR, if the AM PCF allocates the same notification address for different terminals, the event subscription information may also include a notification association identifier, the notification The association identifier is used to distinguish event subscription information of different terminals.
可选的,该更新请求消息可以是Nudr_DM_Update Request消息。Optionally, the update request message may be a Nudr_DM_Update Request message.
作为一种实现方法,触发AM PCF执行步骤607的条件比如可以是:AM PCF从AF收到了用于决策AM策略的应用层信息,则AM PCF确定需要根据应用层信息确定AM策略信息,从而AM PCF决定向UDR发送上述更新请求消息。并且,AM PCF根据收到的应用层信息确定还需要获知PDU会话的状态或者应用的状态。其中,PDU会话的状态是建立或终结,应用的状态是开始或停止。As an implementation method, the condition that triggers the AM PCF to execute step 607 may be, for example: the AM PCF receives the application layer information used to decide the AM policy from the AF, and the AM PCF determines that it needs to determine the AM policy information according to the application layer information, so that the AM PCF The PCF decides to send the above update request message to the UDR. Moreover, the AM PCF determines according to the received application layer information that it 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.
作为一种实现方法,若上述步骤606的AM策略授权请求消息中包括上述信息1或信息2,则上述事件标识信息可以设置为PDU会话的状态(也可以是PDU Sessionestablishment/termination)。若上述步骤606的AM策略授权请求消息中包括上述信息3或信息4,则上述事件标识信息可以设置为应用检测(也可以是Application start/stop)。其中的,当事件标识信息是应用检测时,则上述事件订阅信息中还包含至少一个应用的标识。As an implementation method, if the above-mentioned
作为一种实现方法,在上述事件订阅信息中还可以包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对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。As an implementation method, the above-mentioned event subscription information may also include indication information, and the indication information is used to indicate a notification strategy, and the notification strategy is: multiple 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 among the multiple PDU sessions is established, the AM PCF is notified. When other PDU sessions are established, the AM PCF does not need to be notified. When a PDU session among the multiple PDU sessions is released, there is no 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.
可选的,在上述步骤607之后,UDR可以向AM PCF发送确认消息,该消息中包括UDR为事件订阅信息分配的标识,从而后续AM PCF可以根据该标识对事件订阅信息进行修改或删除。UDR为事件订阅信息分配的标识可以是资源标识(resource uri),比如具体是:{apiRoot}/nudr-dr/<apiVersion>/policy-data/ues/{ueId}/sm-data/subscriptions/{subsId}。Optionally, after the above step 607, the UDR may send a confirmation message to the AM PCF, and the message includes the identifier assigned by the UDR to the event subscription information, so that the subsequent AM PCF may 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}.
步骤608,同上述步骤308。Step 608 is the same as step 308 above.
步骤609,SM PCF向UDR发送查询请求消息,相应地,UDR接收该查询请求消息。In step 609, the SM PCF sends a query request message to the UDR, and the UDR receives the query request message accordingly.
该查询请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该查询请求消息用于请求查询该终端的与该(DNN,S-NSSAI)组合对应的签约数据。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.
可选的,该查询请求消息可以是Ndur_DM_Query request消息。Optionally, the query request message may be an Ndur_DM_Query request message.
步骤610,UDR向SM PCF发送查询响应消息。相应地,SM PCF接收该查询响应消息。In step 610, the UDR sends a query response message to the SM PCF. Correspondingly, the SM PCF receives the query response message.
该查询响应消息中包括终端的与该(DNN,S-NSSAI)组合对应的签约数据,该签约数据中包含上述事件订阅信息。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.
可选的,该查询响应消息可以是Nudr_DM_Query Response消息。Optionally, the query response message may be a Nudr_DM_Query Response message.
步骤611,SM PCF向UDR发送订阅请求消息,相应地,UDR接收该订阅请求消息。In step 611, the SM PCF sends a subscription request message to the UDR, and the UDR receives the subscription request message accordingly.
该订阅请求消息中包含终端的标识信息以及(DNN,S-NSSAI)组合,该订阅请求消息用于请求订阅该终端的与该(DNN,S-NSSAI)组合对应的签约数据。也即,当UDR中的该终端的与该(DNN,S-NSSAI)组合对应的签约数据发生改变时,则UDR主动通知SM PCF。其中,签约数据发生改变包括事件订阅信息发生改变。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.
可选的,该订阅请求消息可以是Ndur_DM_Subscribe request消息。Optionally, the subscription request message may be an Ndur_DM_Subscribe request message.
步骤612,UDR向SM PCF发送订阅响应消息。相应地,SM PCF接收该订阅响应消息。In step 612, the UDR sends a subscription response message to the SM PCF. Correspondingly, the SM PCF receives the subscription response message.
可选的,该订阅响应消息可以是Ndur_DM_Subscribe response消息。Optionally, the subscription response message may be an Ndur_DM_Subscribe response message.
作为一种实现方法,可以执行上述步骤609至步骤610,不执行上述步骤611至步骤612。As an implementation method, the foregoing steps 609 to 610 may be performed, and the foregoing steps 611 to 612 may not be performed.
作为一种实现方法,可以执行上述步骤611至步骤612,不执行上述步骤609至步骤610。As an implementation method, the foregoing steps 611 to 612 may be performed, and the foregoing steps 609 to 610 may not be performed.
作为一种实现方法,既执行上述步骤609至步骤610,也执行上述步骤611至步骤612。As an implementation method, not only the above steps 609 to 610, but also the above steps 611 to 612 are performed.
步骤613,SM PCF检测应用开始/停止事件。In step 613, the SM PCF detects an application start/stop event.
具体的,SM PCF与SMF交互,请求检测应用开始/停止事件,然后SMF与UPF进一步交互,请求UPF检测应用开始/停止事件。Specifically, 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.
该步骤为可选步骤,具体的,当SM PCF获取到的事件订阅信息中的事件标识信息是应用检测(Application detection)时,则执行该步骤613。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), step 613 is executed.
步骤614,SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。In step 614, the SM PCF sends a notification message to the AM PCF, and the AM PCF receives the notification message accordingly.
作为一种实现方法,若事件订阅信息中的事件标识信息是PDU会话的状态,则SMPCF根据事件订阅信息中的通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示PDU会话建立完成。As an implementation method, if the event identification information in the event subscription information is the state of the PDU session, the SMPCF 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 information Indicates that the PDU session establishment is complete.
作为另一种实现方法,若事件订阅信息中的事件标识信息是应用检测,且SMF向SMPCF上报检测到了应用的标识对应的应用开始事件,则SM PCF根据通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示应用已经开始。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经开始的应用的标识。As another implementation method, if the event identification information in the event subscription information is application detection, and the SMF reports to the SMPCF that the application start event corresponding to the application identification is detected, the SM PCF sends the notification message to the AM PCF according to the notification address, The notification message includes indication information, and the indication information indicates that the application has started. Optionally, if the event subscription information includes identifiers of multiple applications, the notification message also includes the identifiers of the applications that have started.
可选的,如果事件订阅信息中包括通知关联标识,则通知消息中包括该通知关联标识。Optionally, if the event subscription information includes a notification association identifier, the notification message includes the notification association identifier.
可选的,当UE针对同一个(DNN,S-NSSAI)组合建立了多个PDU会话,并且这多个PDU会话选择了不同的SMF,而SMF选择了不同的SM PCF(即存在多个SM PCF都接收到了事件订阅信息),则每个SM PCF在检测到事件订阅信息中对应的事件时,向AM PCF发送通知消息,在通知消息中包括SM PCF的标识、PDU会话的标识或终端的地址中的至少一个。Optionally, when the UE establishes multiple PDU sessions for the same (DNN, S-NSSAI) combination, and these multiple PDU sessions select different SMFs, and the SMFs select different SM PCFs (that is, there are multiple SMs PCF has received the event subscription information), 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.
可选的,当SM PCF控制对应同一个(DNN,S-NSSAI)组合的多个PDU会话时,则该通知消息中还可以包含PDU会话的标识或终端的地址,用于区分不同的PDU会话。Optionally, when the SM PCF controls multiple PDU sessions corresponding to the same (DNN, S-NSSAI) combination, the notification message may also include the identification of the PDU session or the address of the terminal to distinguish different PDU sessions .
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。Optionally, the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
步骤615至步骤620,同上述步骤314至步骤319。Step 615 to step 620 are the same as above step 314 to step 319.
可选的,步骤615中生成的更新的AM策略中除了包含更新的服务区域限制信息和更新的RFSP之外,还可以包含指示信息,该指示信息用于指示该更新的AM策略是根据终端对应的应用层信息确定的。Optionally, in addition to the updated service area restriction information and the updated RFSP, 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.
可选的,在上述步骤620之后,本申请实施例还可以执行以下步骤621至步骤627中的部分或全部步骤。Optionally, after the foregoing step 620, this embodiment of the present application may also perform part or all of the following steps 621 to 627.
步骤621,SM PCF向AM PCF发送通知消息,相应地,AM PCF接收该通知消息。In step 621, the SM PCF sends a notification message to the AM PCF, and the AM PCF receives the notification message accordingly.
作为一种实现方法,在某个时刻,SM PCF检测到PDU会话终结,比如SM PCF收到SMF发送的SM策略关联终结请求消息,则SM PCF根据事件订阅信息中的通知地址向AM PCF发送通知消息,该通知消息中包含指示信息,该指示信息指示PDU会话终结或释放。As an implementation method, at a certain moment, 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.
作为另一种实现方法,在某个时刻,SMF向SM PCF报告了检测到应用的标识对应的应用停止,则SM PCF根据事件订阅信息中的通知地址向AM PCF发送该通知消息,该通知消息中包含指示信息,该指示信息指示应用已经停止。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经停止的应用的标识。As another implementation method, at a certain moment, the SMF reports to the SM PCF that the application corresponding to the application identifier is detected to stop, and the SM PCF sends the notification message to the AM PCF according to the notification address in the event subscription information. contains an indication that the application has stopped. Optionally, if the event subscription information includes identifiers of multiple applications, the notification message also includes the identifiers of the stopped applications.
可选的,如果事件订阅信息中包括通知关联标识,则通知消息中包括该通知关联标识。Optionally, if the event subscription information includes a notification association identifier, the notification message includes the notification association identifier.
可选的,当UE针对同一个(DNN,S-NSSAI)组合建立了多个PDU会话,并且这多个PDU会话选择了不同的SMF,而SMF选择了不同的SM PCF(即存在多个SM PCF都接收到了事件订阅信息),则通知消息中包括SM PCF的标识、PDU会话的标识或终端的地址中的至少一个。Optionally, when the UE establishes multiple PDU sessions for the same (DNN, S-NSSAI) combination, and these multiple PDU sessions select different SMFs, and the SMFs select different SM PCFs (that is, there are multiple SMs PCF has received the event subscription information), 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.
可选的,当SM PCF控制对应同一个(DNN,S-NSSAI)组合的多个PDU会话时,则该通知消息中还可以包含PDU会话的标识或终端的地址,用于区分不同的PDU会话。Optionally, when the SM PCF controls multiple PDU sessions corresponding to the same (DNN, S-NSSAI) combination, the notification message may also include the identification of the PDU session or the address of the terminal to distinguish different PDU sessions .
AM PCF可以根据SM PCF的标识、PDU会话的标识或终端的地址中的至少一个确定哪个PDU会话终结,或是哪个PDU会话对应的应用停止。The AM PCF may determine, according to at least one of the identifier of the SM PCF, the identifier of the PDU session, or the address of the terminal, which PDU session is terminated, or the application corresponding to which PDU session is stopped.
可选的,该通知消息可以是Npcf_PolicyAuthorization_Notify Request消息。Optionally, the notification message may be an Npcf_PolicyAuthorization_Notify Request message.
步骤622,AM PCF更新AM策略。In step 622, the AM PCF updates the AM policy.
该AM策略也称为移动性管理网元。The AM policy is also called a mobility management network element.
具体的,AM PCF收到步骤621的通知消息后,确定不根据AF提供的应用层信息确定AM策略,而是根据终端的签约数据和网络策略确定更新的AM策略。该步骤的具体实现可以参考前述步骤302中的描述。Specifically, after receiving the notification message in step 621, the AM PCF determines not to determine the AM policy based on the application layer information provided by the AF, but to determine an updated AM policy based on the terminal's subscription data and network policies. For the specific implementation of this step, reference may be made to the description in the foregoing step 302 .
步骤623至步骤627,同上述步骤315至步骤319。Step 623 to step 627 are the same as above step 315 to step 319.
可选的,步骤622中生成的更新的AM策略中除了包含更新的服务区域限制信息和更新的RFSP之外,还可以包含指示信息,该指示信息用于指示该更新的AM策略不是根据终端对应的应用层信息确定的,或者用于指示该更新的AM策略是根据终端的签约数据确定的。Optionally, in addition to the updated service area restriction information and the updated RFSP, 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.
根据上述方案,SM PCF从UDR获取AMF在签约数据中保存的事件订阅信息,并在PDU会话建立后或在检测到应用开始事件后通知AM PCF,从而触发AM PCF根据来自AF的应用层信息更新AM策略。该方案中,AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。According to the above solution, 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. In this solution, the AM PCF does not need to subscribe the binding information of the SM PCF to the BSF, 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.
图7为本申请实施例提供的一种通信方法,该方法是AF针对一组终端或任意终端提供应用层信息用于AM策略的决策,AM PCF从UDR获取应用层信息。Fig. 7 is a communication method provided by the embodiment of the present application. In this method, the AF provides application layer information for a group of terminals or any terminal for AM policy decision-making, and the AM PCF obtains the application layer information from the UDR.
该方法包括以下步骤:The method includes the following steps:
步骤701至步骤705,同上述步骤401至步骤405。Step 701 to step 705 are the same as above step 401 to step 405.
步骤706至步骤726,同上述步骤607至步骤627。Step 706 to step 726 are the same as above step 607 to step 627.
该实施例的有益效果可以参考前述图6的实施例的有益效果,不再赘述。For the beneficial effects of this embodiment, reference may be made to the beneficial effects of the foregoing embodiment in FIG. 6 , and details are not repeated here.
图8为本申请实施例提供的一种通信方法,该方法应用于终端发生移动并执行AMF重选流程后的策略制定流程。该方法是AF针对单个终端提供应用层信息用于AM策略的决策,目标AM PCF从AF获取应用层信息。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. In this method, the AF provides application layer information for a single terminal for AM policy decision-making, and the target AM PCF obtains the application layer information from the AF.
该方法中,将移动前接入的AMF称为源AMF(source AMF),或称为老的AMF(oldAMF)。将移动后接入的AMF称为目标AMF(target AMF),或称为新的AMF(new AMF)。将移动前为终端提供服务的AM PCF称为源AM PCF(source AM PCF),或称为老的AM PCF(old AMPCF),或称为第三PCF。将移动后为终端提供服务的AM PCF称为目标AM PCF(target AMPCF),或称为新的AM PCF(new AM PCF),或称为第一PCF。In this method, the AMF accessed before moving is called a source AMF (source AMF), or an old AMF (oldAMF). The AMF accessed after moving is called a target AMF (target AMF), or a new AMF (new AMF). The AM PCF that provides services for the terminal before moving is called a source AM PCF (source AM PCF), or an old AM PCF (old AMPCF), or a third PCF. The AM PCF that provides services for the terminal after moving is called a target AM PCF (target AMPCF), or a new AM PCF (new AM PCF), or a first PCF.
该方法包括以下步骤:The method includes the following steps:
步骤801,终端发生移动,终端向基站发送注册请求消息。相应地,基站接收该注册请求消息。Step 801, when the terminal moves, the terminal sends a registration request message to the base station. Correspondingly, the base station receives the registration request message.
该注册请求消息中携带终端的标识信息。The registration request message carries identification information of the terminal.
步骤802,基站选择新的AMF,即目标AMF。Step 802, the base station selects a new AMF, that is, the target AMF.
步骤803,基站向目标AMF发送注册请求消息。相应地,目标AMF接收该注册请求消息。Step 803, the base station sends a registration request message to the target AMF. Correspondingly, the target AMF receives the registration request message.
该注册请求消息中携带终端的标识信息。The registration request message carries identification information of the terminal.
步骤804a,目标AMF向源AMF发送上下文请求消息。相应地,源AMF接收该上下文请求消息。Step 804a, the target AMF sends a context request message to the source AMF. Correspondingly, the source AMF receives the context request message.
该上下文请求消息中包含终端的标识信息。The context request message includes terminal identification information.
可选的,该上下文请求消息可以是Namf_Communication_UEContextTransferrequest消息。Optionally, the context request message may be a Namf_Communication_UEContextTransferrequest message.
步骤804b,源AMF向目标AMF发送上下文响应消息。相应地,目标AMF接收该上下文响应消息。Step 804b, the source AMF sends a context response message to the target AMF. Correspondingly, the target AMF receives the context response message.
该上下文响应消息中包含终端的上下文信息,该上下文信息包含源AMF从源AMPCF接收到的授权的AM策略,该授权的AM策略包括授权的服务区域限制信息和/或授权的RFSP,具体可以参考前述图6的实施例的描述。The context response message contains the context information of the terminal. The context information includes the authorized AM policy received by the source AMF from the source AMPCF. The authorized AM policy includes authorized service area restriction information and/or authorized RFSP. For details, please refer to The description of the embodiment of FIG. 6 is described above.
可选的,该上下文响应消息中还包含指示信息,该指示信息指示该上下文信息中的AM策略是根据应用层信息确定的。Optionally, 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.
可选的,该上下文响应消息可以是Namf_Communication_UEContextTransferresponse消息。Optionally, the context response message may be a Namf_Communication_UEContextTransferresponse message.
步骤805,目标AMF向源AMF发送状态更新消息。相应地,源AMF接收该状态更新消息。Step 805, the target AMF sends a status update message to the source AMF. Correspondingly, 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.
可选的,该状态更新消息可以是Namf_Communication_RegistrationStatusUpdate消息。Optionally, the status update message may be a Namf_Communication_RegistrationStatusUpdate message.
步骤806,目标AMF选择目标AM PCF,并向目标AM PCF发送AM策略控制请求消息。相应地,目标AMF接收该AM策略控制请求消息。Step 806, the target AMF selects the target AM PCF, and sends an AM policy control request message to the target AM PCF. Correspondingly, the target AMF receives the AM policy control request message.
该AM策略控制请求消息中携带授权的AM策略。可选的,该AM策略控制请求消息中还包括上述步骤804b的指示信息。The AM policy control request message carries the authorized AM policy. Optionally, the AM policy control request message further includes the indication information of the above step 804b.
可选的,该AM策略控制请求消息可以是Npcf_AMPolicyControl_Create request消息。Optionally, the AM policy control request message may be an Npcf_AMPolicyControl_Create request message.
步骤807,目标AM PCF向BSF发送注册请求消息。相应地,BSF接收该注册请求消息。Step 807, the target AM PCF sends a registration request message to the BSF. Correspondingly, the BSF receives the registration request message.
具体的,目标AM PCF根据收到的授权的AM策略或根据收到的指示信息,确定不根据终端的签约数据确定授权的AM策略,而是向BSF发送注册请求消息,该注册请求消息中包括AM PCF的绑定信息,该AM PCF的绑定信息的具体内容可以参考前述303中的描述。Specifically, the target AM PCF determines not to determine the authorized AM policy based on the subscription data of the terminal according to the received authorized AM policy or according to the received indication information, but sends a registration request message to the BSF, and the registration request message includes For the binding information of the AM PCF, for the specific content of the binding information of the AM PCF, refer to the description in 303 above.
可选的,该注册请求消息可以是Nbsf_Menagement_Register Request消息。Optionally, the registration request message may be an Nbsf_Menagement_Register Request message.
步骤808,BSF向AF发送通知消息。相应地,AF接收该通知消息。In step 808, the BSF sends a notification message to the AF. Correspondingly, the AF receives the notification message.
具体的,BSF根据之前AF的订阅,向AF发送该通知消息,该通知消息中包括目标AMPCF的标识。其中,AF向BSF的订阅操作可以参考前述步骤604。Specifically, 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 AMPCF. Wherein, the subscription operation of the AF to the BSF may refer to the foregoing step 604 .
可选的,该通知消息可以是Nbsf_Management_Notify Request消息。Optionally, the notification message may be a Nbsf_Management_Notify Request message.
步骤809,AF向目标AM PCF发送AM策略授权请求消息,相应地,目标AM PCF接收该AM策略授权请求消息。In 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.
该步骤的具体实现可以参考前述步骤306的描述。For the specific implementation of this step, reference may be made to the description of the foregoing step 306 .
步骤810,目标AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。Step 810, the target AM PCF sends an update request message to the UDR. Correspondingly, the UDR receives the update request message.
该步骤的具体实现可以参考前述步骤607的描述。For the specific implementation of this step, reference may be made to the description of the foregoing step 607 .
步骤811,UDR向SM PCF发送通知消息。相应地,SM PCF接收该通知消息。In step 811, the UDR sends a notification message to the SM PCF. Correspondingly, the SM PCF receives the notification message.
具体的,UDR根据之前SM PCF的订阅,向SM PCF发送通知消息,该通知消息中包括目标AM PCF向UDR保存的事件订阅信息。其中,SM PCF向UDR的订阅操作可以参考前述步骤609。Specifically, the UDR sends a notification message to the SM PCF according to the previous SM PCF subscription, and the notification message includes the event subscription information saved by the target AM PCF to the UDR. Wherein, the subscription operation of the SM PCF to the UDR may refer to the foregoing step 609 .
可选的,该通知消息可以是Nudr_DM_Notify request消息。Optionally, the notification message may be a Nudr_DM_Notify request message.
步骤812,同上述步骤613。Step 812 is the same as step 613 above.
步骤813,SM PCF向目标AM PCF发送通知消息,相应地,目标AM PCF接收该通知消息。In step 813, the SM PCF sends a notification message to the target AM PCF, and the target AM PCF receives the notification message accordingly.
该步骤的具体实现可以参考前述步骤614的描述。For the specific implementation of this step, reference may be made to the description of the foregoing step 614 .
步骤814,目标AM PCF向目标AMF发送AM策略控制响应消息。相应地,目标AMF接收该AM策略控制响应消息。Step 814, the target AM PCF sends an AM policy control response message to the target AMF. Correspondingly, the target AMF receives the AM policy control response message.
如果目标AM PCF根据上述步骤813中收到的通知消息,确定PDU会话已经建立或者应用已经开始则目标AM PCF根据上述步骤809中收到的应用层信息确定更新的AM策略,其中更新的AM策略中包括更新的服务区域限制信息和更新的RFSP。If 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.
如果更新的AM策略与上述步骤806中收到的授权的AM策略相同,则该AM策略控制响应消息中不包含该更新的AM策略,可选的,该AM策略控制响应消息中可以包含一个指示信息,用于指示AM策略未更新。If the updated AM policy is the same as the authorized AM policy received in step 806 above, the AM policy control response message does not contain the updated AM policy. Optionally, an indication may be included in the AM policy control response message Information to indicate that the AM policy is not updated.
如果更新的AM策略与上述步骤806中收到的授权的AM策略不同,则该AM策略控制响应消息中包含该更新的AM策略。If the updated AM policy is different from the authorized AM policy received in step 806, the AM policy control response message includes the updated AM policy.
可选的,该AM策略控制响应消息可以是Npcf_AmPolicyControl_Create response消息。Optionally, the AM policy control response message may be an Npcf_AmPolicyControl_Create response message.
步骤815,目标AMF执行更新的AM策略。Step 815, the target AMF executes the updated AM policy.
即AMF根据更新的AM策略,对终端执行控制。That is, the AMF controls the terminal according to the updated AM policy.
步骤816,目标AMF向终端发送注册接受消息。相应地,终端接收该注册接受消息。Step 816, the target AMF sends a registration acceptance message to the terminal. Correspondingly, the terminal receives the registration acceptance message.
若目标AMF在上述步骤814中收到了更新的AM策略,则该注册接受消息中可以携带更新的AM策略中的更新的服务区域限制信息。If the target AMF has received the updated AM policy in the above step 814, the registration acceptance message may carry the updated service area restriction information in the updated AM policy.
步骤817,目标AMF向基站发送通知消息,该通知消息中包含更新的服务区域限制信息和更新的RFSP。In step 817, 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.
基站根据更新的服务区域限制信息控制终端的接入,以及根据更新的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.
该步骤为可选步骤,当目标AMF在上述步骤814中收到了更新的AM策略,则执行该步骤817。This step is optional, and when the target AMF receives the updated AM policy in the above step 814, this step 817 is executed.
步骤818,目标AM PCF向AF发送事件通知和更新的AM策略。Step 818, the target AM PCF sends the event notification and the updated AM policy to the AF.
该步骤为可选步骤。当目标AMF在上述步骤814中收到了更新的AM策略,则执行该步骤818。This step is optional. When the target AMF receives the updated AM policy in the above step 814, this step 818 is executed.
可选的,AM PCF可以通过Npcf_AMPolicyAuthorization_Notify消息向AF发送事件通知和更新的AM策略。Optionally, the AM PCF may send the event notification and the updated AM policy to the AF through the Npcf_AMPolicyAuthorization_Notify message.
步骤819,源AMF向源AM PCF发送AM策略删除消息。相应地,源AM PCF接受该AM策略删除消息。Step 819, the source AMF sends an AM policy deletion message to the source AM PCF. Correspondingly, the source AM PCF accepts the AM policy deletion message.
该AM策略删除消息用于请求删除AM策略关联。The AM policy delete message is used to request to delete the AM policy association.
可选的,该AM策略删除消息可以是Npcf_AMPolicyControl_Delete消息。Optionally, the AM policy deletion message may be an Npcf_AMPolicyControl_Delete message.
步骤820,源AM PCF向BSF发送去注册请求消息。相应地,BSF接收该去注册请求消息。Step 820, the source AM PCF sends a de-registration request message to the BSF. Correspondingly, the BSF receives the de-registration request message.
该去注册请求消息用于请求删除源AM PCF的绑定注册信息。The de-registration request message is used to request to delete the binding registration information of the source AM PCF.
可选的,该去注册请求消息可以是Nbsf_Management_DeregisterRequest消息。Optionally, the deregistration request message may be an Nbsf_Management_DeregisterRequest message.
步骤821,源AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。Step 821, the source AM PCF sends an update request message to the UDR. Correspondingly, the UDR receives the update request message.
该更新请求消息中包含指示信息和事件订阅信息的标识,该指示信息用于请求删除UDR中保存的事件订阅信息。其中,本申请实施例中的事件订阅信息的标识也称为第一标识信息。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. Wherein, the identifier of the event subscription information in the embodiment of the present application is also referred to as first identifier information.
可选的,该更新请求消息可以是Nudr_DM_Update Request消息。Optionally, the update request message may be a Nudr_DM_Update Request message.
作为一种实现方法,若源AMF将源AM PCF在UDR中保存的事件订阅信息的标识通过步骤804发送给了目标AMF,则目标AMF可以在步骤806中将该事件订阅信息的标识发送给目标AM PCF,那么在步骤810中,目标AM PCF向UDR发送更新请求消息,该更新请求消息中除了包含事件订阅信息、终端的标识信息和(DNN,S-NSSAI)组合之外,还包含收到的事件订阅信息的标识,该更新请求消息用于请求对该事件订阅信息的标识对应的事件订阅信息进行更新,具体的,将事件订阅信息中的通知地址由源AM PCF的地址修改为目标AM PCF的地址。该情形下,可以不需要执行上述步骤821。As an implementation method, if the source AMF sends the identifier of the event subscription information stored in the UDR by the source AM PCF to the target AMF through step 804, 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 includes event subscription information, terminal identification information and (DNN, S-NSSAI) combination, and the received The identifier of the event subscription information, the update request message is used to request that the event subscription information corresponding to the identifier of the event subscription information be updated, specifically, the notification address in the event subscription information is changed from the address of the source AM PCF to the address of the target AM The address of the PCF. In this case, the above step 821 may not need to be performed.
根据上述方案,在终端发生移动,导致AMF、AM PCF均发生重选的场景下,可以实现由目标AM PCF对AM策略进行更新。该方案中,目标AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免目标AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。According to the above solution, in the scenario where the terminal moves, causing both the AMF and the AM PCF to be reselected, the target AM PCF can update the AM policy. In this solution, 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. Thus, signaling overhead and resource waste can be reduced.
图9为本申请实施例提供的一种通信方法,该方法应用于终端发生移动并执行AMF重选流程后的策略制定流程。该方法是AF针对一组终端或任意终端提供应用层信息用于AM策略的决策,目标AM PCF从UDR获取应用层信息。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. In this method, the AF provides application layer information for a group of terminals or any terminal for AM policy decision-making, and the target AM PCF obtains the application layer information from the UDR.
该方法中,将移动前接入的AMF称为源AMF(source AMF),或称为老的AMF(oldAMF)。将移动后接入的AMF称为目标AMF(target AMF),或称为新的AMF(new AMF)。将移动前为终端提供服务的AM PCF称为源AM PCF(source AM PCF),或称为老的AM PCF(old AMPCF),或称为第三PCF。将移动后为终端提供服务的AM PCF称为目标AM PCF(target AMPCF),或称为新的AM PCF(new AM PCF),或称为第一PCF。In this method, the AMF accessed before moving is called a source AMF (source AMF), or an old AMF (oldAMF). The AMF accessed after moving is called a target AMF (target AMF), or a new AMF (new AMF). The AM PCF that provides services for the terminal before moving is called a source AM PCF (source AM PCF), or an old AM PCF (old AMPCF), or a third PCF. The AM PCF that provides services for the terminal after moving is called a target AM PCF (target AMPCF), or a new AM PCF (new AM PCF), or a first PCF.
该方法包括以下步骤:The method includes the following steps:
步骤901至步骤903,同上述步骤801至步骤803。Step 901 to step 903 are the same as above step 801 to step 803.
步骤904a至步骤904b,同上述步骤804a至步骤804b。Step 904a to step 904b are the same as above step 804a to step 804b.
步骤905至步骤906,同上述步骤805至步骤806。Step 905 to step 906 are the same as above step 805 to step 806.
步骤907,目标AM PCF向UDR发送订阅请求消息。相应地,UDR接收该订阅请求消息。Step 907, the target AM PCF sends a subscription request message to the UDR. Correspondingly, the UDR receives the subscription request message.
具体的,目标AM PCF根据收到的授权的AM策略或根据收到的指示信息,确定不立即根据终端的签约数据确定授权的AM策略,而是向UDR发送订阅请求消息,该订阅请求消息中包含(S-NSSAI,DNN)组合以及外部组标识。该订阅请求消息用于订阅与AM相关的应用数据,或者理解为订阅AM影响信息(AM influence information)。Specifically, the target AM PCF determines not to immediately determine the authorized AM policy based on the subscription data of the terminal according to the received authorized AM policy or according to the received indication information, but sends a subscription request message to the UDR, in which 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).
其中,AM影响信息也可以称为应用层信息。Wherein, the AM impact information may also be referred to as application layer information.
可选的,该订阅请求消息可以是Nudr_DM_Subscribe request消息。Optionally, the subscription request message may be a Nudr_DM_Subscribe request message.
步骤908,UDR向目标AM PCF发送通知消息。相应地,目标AM PCF接收该通知消息。Step 908, the UDR sends a notification message to the target AM PCF. Correspondingly, the target AM PCF receives the notification message.
该通知消息中包含AM影响信息。可选的,该通知消息可以是Nudr_DM_Notifyrequest消息。The notification message includes AM impact information. Optionally, the notification message may be a Nudr_DM_Notifyrequest message.
步骤909,目标AM PCF向UDR发送更新请求消息。相应地,UDR接收该更新请求消息。Step 909, the target AM PCF sends an update request message to the UDR. Correspondingly, the UDR receives the update request message.
该步骤的具体实现可以参考上述步骤607。For the specific implementation of this step, reference may be made to the above step 607.
步骤910至步骤918,同上述步骤811至步骤819。Step 910 to step 918 are the same as above step 811 to step 819.
步骤919,同上述步骤821。Step 919 is the same as step 821 above.
该实施例的有益效果可以参考前述图8的实施例的有益效果,不再赘述。For the beneficial effects of this embodiment, reference may be made to the beneficial effects of the foregoing embodiment in FIG. 8 , and details are not repeated here.
图10为本申请实施例提供的一种通信方法,该方法是AMPCF经由AMF向SMF订阅上述事件的方案,通过该方式,可以规避AMPCF获取SMPCF的标识及向SMPCF发起事件订阅所带来的SMPCF查找所引出的问题,比如可以规避AMPCF可能需要向多个BSF实例订阅SMPCF的信息。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:
步骤1001至步骤1006,同上述步骤601至步骤606。Step 1001 to step 1006 are the same as above step 601 to step 606.
步骤1007,AM PCF向AMF发送更新请求消息。相应地,AMF接收该更新请求消息。Step 1007, the AM PCF sends an update request message to the AMF. Correspondingly, the AMF receives the update request message.
该更新请求消息是上述步骤501c的第一请求消息的一个示例。The update request message is an example of the first request message in step 501c above.
具体的,AM PCF从AF收到了用于决策AM策略的应用层信息,则AM PCF确定需要根据应用层信息确定AM策略信息,从而AM PCF决定向AMF发送上述更新请求消息。并且,AMPCF根据收到的应用层信息确定还需要获知PDU会话的状态或者应用的状态。其中,PDU会话的状态是建立或终结,应用的状态是开始或停止。Specifically, the AM PCF receives the application layer information for determining 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. In addition, the AMPCF determines according to the received application layer information that it 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.
该更新请求消息中包含事件订阅信息和(DNN,S-NSSAI)组合,该更新请求消息用于请求AMF向该(DNN,S-NSSAI)组合对应的SMF订阅该事件订阅信息对应的事件,该事件为终端的PDU会话的状态或终端的应用的状态。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 The event is the state of the PDU session of the terminal or the state of the application of the terminal.
该事件订阅信息包括事件标识信息。作为一种实现方法,若上述步骤1006的AM策略授权请求消息中包括上述信息1或信息2,则上述事件标识信息可以设置为PDU会话的状态。若上述步骤1006的AM策略授权请求消息中包括上述信息3或信息4,则上述事件标识信息可以设置为应用检测(也可以是Application start/stop)。其中的,当事件标识信息是应用检测时,则上述事件订阅信息中还包含至少一个应用的标识。The event subscription information includes event identification information. As an implementation method, if the above-mentioned
可选的,该事件订阅信息中还包含通知地址,该通知地址是AM PCF的地址。AMF收到该事件订阅信息后,将事件订阅信息中的通知地址修改为AMF的地址。Optionally, the event subscription information also includes a notification address, which is the address of the AM PCF. After receiving the event subscription information, the AMF modifies the notification address in the event subscription information to the address of the 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。As an implementation method, 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 The PDU session notifies the AM PCF when the first PDU session of the multiple PDU sessions is established, and notifies the AM PCF when the last PDU session of the multiple PDU sessions is terminated (or released). That is, when the first PDU session among the multiple PDU sessions is established, the AM PCF is notified. When other PDU sessions are established, the AM PCF does not need to be notified. When a PDU session among the multiple PDU sessions is released, there is no 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.
作为另一种实现方法,上述步骤1006的AM策略授权请求消息中包括上述信息1或信息2,事件标识信息对应的事件为PDU会话的状态,该PDU会话的状态为(DNN,S-NSSAI)组合对应的第一个会话的建立,或(DNN,S-NSSAI)组合对应的最后一个会话的终结,可以理解为事件标识信息用于指示检测所述(DNN,S-NSSAI)组合对应的第一个会话的建立,和/或所述(DNN,S-NSSAI)组合对应的最后一个会话的终结,或者理解为,事件标识信息用于指示当一个(DNN,S-NSSAI)组合对应的第一个PDU会话建立时通知AM PCF和/或当一个(DNN,S-NSSAI)组合对应的最后一个PDU会话终结时通知AM PCF。因此,当AMF确定该步骤1007的更新请求消息中的(DNN,S-NSSAI)组合对应的第一个PDU会话建立,则AMF可以通知AM PCF第一个PDU会话建立。当AMF确定该步骤1007的更新请求消息中的(DNN,S-NSSAI)组合对应的最后一个PDU会话终结,则AMF可以通知AM PCF最后一个PDU会话终结。As another implementation method, the above-mentioned
可选的,该更新请求消息可以是Npcf_AMPolicyControl_UpdateNotify消息。Optionally, the update request message may be an Npcf_AMPolicyControl_UpdateNotify message.
步骤1008,AMF收到上述更新请求消息后,判断目标PDU会话是否已经建立。Step 1008, after receiving the update request message, the AMF judges whether the target PDU session has been established.
该目标PDU会话是与(DNN,S-NSSAI)组合对应的PDU会话。The target PDU session is the PDU session corresponding to the (DNN, S-NSSAI) combination.
若目标PDU会话已经建立,则执行以下步骤1009。If the target PDU session has been established, the following step 1009 is performed.
若目标PDU会话尚未建立,则执行以下步骤1010至步骤1011。If the target PDU session has not been established, perform the following steps 1010 to 1011.
步骤1009,AMF向SMF发送订阅请求消息。相应地,SMF接收该订阅请求消息。In step 1009, the AMF sends a subscription request message to the SMF. Correspondingly, the SMF receives the subscription request message.
该SMF是为目标PDU会话提供服务的SMF,或者理解为该SMF是与(DNN,S-NSSAI)组合对应的SMF。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.
可选的,该订阅请求消息可以是Nsmf_EventExposure_Subscribe消息。Optionally, the subscription request message may be an Nsmf_EventExposure_Subscribe message.
步骤1010,终端向AMF发送会话建立请求消息。相应地,AMF接收该会话建立请求消息。Step 1010, the terminal sends a session establishment request message to the AMF. Correspondingly, the AMF receives the session establishment request message.
可选的,该会话建立请求消息可以是PDU Session Establishment Request消息。Optionally, the session establishment request message may be a PDU Session Establishment Request message.
步骤1011,AMF向SMF发送订阅请求消息。相应地,SMF接收该订阅请求消息。Step 1011, AMF sends a subscription request message to SMF. Correspondingly, the SMF receives the subscription request message.
AMF确定收到会话建立请求消息,则执行该步骤1011。After the AMF determines that the session establishment request message is received, step 1011 is executed.
该步骤1011同上述步骤1009,可参考前述描述。This step 1011 is the same as the above step 1009, and reference may be made to the foregoing description.
步骤1012,SMF根据事件订阅信息,执行事件检测。Step 1012, the SMF performs event detection according to the event subscription information.
若事件订阅信息中的事件标识信息是PDU会话的状态,则SMF检测PDU会话的状态。若事件订阅信息中的事件标识信息是应用检测,则SMF检测应用开启或停止。If the event identification information in the event subscription information is the state of the PDU session, 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.
步骤1013,SMF向AMF发送通知消息。相应地,AMF接收该通知消息。Step 1013, the SMF sends a notification message to the AMF. Correspondingly, the AMF receives the notification message.
作为一种实现方法,若事件订阅信息中的事件标识信息是PDU会话的状态,则该通知消息中包含指示信息,该指示信息指示PDU会话建立完成。可选的,当上述步骤1007的更新请求消息中包括多个(DNN,S-NSSAI)组合时,则该通知消息还包括建立的PDU会话对应的(DNN,S-NSSAI)组合。As an implementation method, if the event identification information in the event subscription information is the state of the PDU session, the notification message includes indication information indicating that the establishment of the PDU session is completed. Optionally, when the update request message in step 1007 includes multiple (DNN, S-NSSAI) combinations, the notification message also includes the (DNN, S-NSSAI) combination corresponding to the established PDU session.
作为另一种实现方法,若事件订阅信息中的事件标识信息是应用检测,且SMF检测到了应用的标识对应的应用开始事件,则该通知消息中包含指示信息,该指示信息指示应用已经开始。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经开始的应用的标识。As another implementation method, if the event identification information in the event subscription information is application detection, and the SMF detects the application start event corresponding to the application identification, the notification message includes indication information indicating that the application has started. Optionally, if the event subscription information includes identifiers of multiple applications, the notification message also includes the identifiers of the applications that have started.
可选的,该通知消息可以是Nsmf_EventExposure_Notify消息。Optionally, the notification message may be an Nsmf_EventExposure_Notify message.
步骤1014,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。Step 1014, the AMF sends a notification message to the AM PCF. Correspondingly, the AM PCF receives the notification message.
作为一种实现方法,该通知消息包含的内容与上述步骤1013的通知消息包含的内容相同。As an implementation method, the content contained in the notification message is the same as the content contained in the notification message in step 1013 above.
作为另一种实现方法,若步骤1007中的事件标识信息用于指示检测(DNN,S-NSSAI)组合对应的第一个会话的建立,和/或(DNN,S-NSSAI)组合对应的最后一个会话的终结,或者,事件标识信息用于指示当一个(DNN,S-NSSAI)组合对应的第一个PDU会话建立时通知AM PCF和/或当一个(DNN,S-NSSAI)组合对应的最后一个PDU会话终结时通知AM PCF,则该通知消息中包含指示信息,该指示信息指示PDU会话建立,进一步表示(DNN,S-NSSAI)组合对应的第一个PDU会话建立。As another implementation method, if the event identification information in step 1007 is used to indicate the establishment of the first session corresponding to the detection (DNN, S-NSSAI) combination, and/or the last session corresponding to the (DNN, S-NSSAI) combination The termination of a session, or the event identification information is used to indicate that the AM PCF is notified when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established and/or when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established. When the last PDU session is terminated, the AM PCF is notified, and the notification message includes indication information, which indicates the establishment of the PDU session, and further indicates the establishment of the first PDU session corresponding to the (DNN, S-NSSAI) combination.
可选的,该通知消息可以是Npcf_AMPolicyControl_Update消息。Optionally, the notification message may be an Npcf_AMPolicyControl_Update message.
步骤1015至步骤1020,同上述步骤615至步骤620。Step 1015 to step 1020 are the same as above step 615 to step 620.
可选的,如果SMF确定PDU会话的状态发生改变或应用的状态发生改变,则还可以执行以下步骤1021至步骤1028。Optionally, if the SMF determines that the state of the PDU session or the state of the application changes, the following steps 1021 to 1028 may also be performed.
步骤1021,SMF向AMF发送通知消息。相应地,AMF接收该通知消息。In step 1021, the SMF sends a notification message to the AMF. Correspondingly, the AMF receives the notification message.
作为一种实现方法,在某个时刻,SMF检测到PDU会话终结,则该通知消息中包含指示信息,该指示信息指示PDU会话终结或释放。As an implementation method, at a certain moment, when the SMF detects that the PDU session is terminated, the notification message includes indication information, and the indication information indicates the termination or release of the PDU session.
作为另一种实现方法,在某个时刻,SMF检测到应用的标识对应的应用停止,则该通知消息中包含指示信息,该指示信息指示应用已经停止。可选的,如果事件订阅信息中包括多个应用的标识,则该通知消息中还包含该已经停止的应用的标识。As another implementation method, at a certain moment, when the SMF detects that the application corresponding to the application identifier is stopped, the notification message includes indication information, and the indication information indicates that the application has stopped. Optionally, if the event subscription information includes identifiers of multiple applications, the notification message also includes the identifiers of the stopped applications.
可选的,该通知消息可以是Nsmf_EventExposure_Notify消息。Optionally, the notification message may be an Nsmf_EventExposure_Notify message.
步骤1022,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。In step 1022, the AMF sends a notification message to the AM PCF. Correspondingly, the AM PCF receives the notification message.
该通知消息包含的内容与上述步骤1021的通知消息包含的内容相同。The content contained in the notification message is the same as the content contained in the notification message in step 1021 above.
可选的,该通知消息可以是Npcf_AMPolicyControl_Update消息。Optionally, the notification message may be an Npcf_AMPolicyControl_Update message.
步骤1023至步骤1028,同上述步骤622至步骤627。Step 1023 to step 1028 are the same as above step 622 to step 627.
根据上述方案,AM PCF从AMF获取到PDU会话的状态或应用的状态,从而触发AMPCF根据来自AF的应用层信息更新AM策略。该方案中,AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。According to the above solution, the AM PCF obtains the status of the PDU session or the status 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. In this solution, the AM PCF does not need to subscribe the binding information of the SM PCF to the BSF, 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.
图10(a)为本申请实施例提供的一种通信方法,该方法是AMPCF经由AMF向SMF订阅上述事件的方案,通过该方式,可以规避AMPCF获取SMPCF的标识及向SMPCF发起事件订阅所带来的SMPCF查找所引出的问题,比如可以规避AMPCF可能需要向多个BSF实例订阅SMPCF的信息。Figure 10(a) is a communication method provided by the embodiment of the present application. This method is a solution for AMPCF to subscribe to the above event to SMF via AMF. In this way, it can avoid the problems caused by AMPCF obtaining the SMPCF identity and initiating event subscription to SMPCF. The problems caused by the SMPCF search from the source can be avoided, for example, the AMPCF may need to subscribe to the SMPCF information from multiple BSF instances.
该方法包括以下步骤:The method includes the following steps:
步骤1001a至步骤1006a,同上述步骤601至步骤606。Step 1001a to step 1006a are the same as step 601 to step 606 above.
步骤1007a,AM PCF向AMF发送更新请求消息。相应地,AMF接收该更新请求消息。In step 1007a, the AM PCF sends an update request message to the AMF. Correspondingly, the AMF receives the update request message.
该更新请求消息是上述步骤501c的第一请求消息的一个示例。The update request message is an example of the first request message in step 501c above.
具体的,AM PCF从AF收到了用于决策AM策略的应用层信息,则AM PCF确定需要根据应用层信息确定AM策略信息,从而AM PCF决定向AMF发送上述更新请求消息。并且,AMPCF根据收到的应用层信息确定还需要获知PDU会话的状态。其中,PDU会话的状态是建立或终结。Specifically, the AM PCF receives the application layer information for determining 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. In addition, the AMPCF determines according to the received application layer information that it needs to know the status of the PDU session. Wherein, the state of the PDU session is established or terminated.
该更新请求消息中包含事件订阅信息和(DNN,S-NSSAI)组合,该更新请求消息用于请求向AMF订阅与该(DNN,S-NSSAI)组合和该事件订阅信息对应的事件。The update request message includes event subscription information and (DNN, S-NSSAI) combination, and the update request message is used to request AMF to subscribe to events corresponding to the (DNN, S-NSSAI) combination and the event subscription information.
该事件订阅信息包括事件标识信息。作为一种实现方法,若上述步骤1006a的AM策略授权请求消息中包括上述信息1或信息2,则上述事件标识信息可以设置为PDU会话的状态。针对该实现方法,该更新请求消息用于请求向AMF订阅与该(DNN,S-NSSAI)组合对应的PDU会话的状态。The event subscription information includes event identification information. As an implementation method, if the above-mentioned
作为一种实现方法,在上述事件订阅信息中还可以包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对对应同一个(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。As an implementation method, indication information may also be included in the above event subscription information, and the indication information is used to indicate a notification strategy. The notification strategy is: for multiple PDU sessions corresponding to the same (DNN, S-NSSAI) combination, The AM PCF is notified when the first PDU session of the plurality of PDU sessions is established, and the AM PCF is notified when the last PDU session of the plurality of PDU sessions is terminated (or released). That is, when the first PDU session among the multiple PDU sessions is established, the AM PCF is notified. When other PDU sessions are established, the AM PCF does not need to be notified. When a PDU session among the multiple PDU sessions is released, there is no 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.
作为另一种实现方法,若上述步骤1006a的AM策略授权请求消息中包括上述信息1或信息2,事件标识信息对应的事件为PDU会话的状态,该PDU会话的状态为(DNN,S-NSSAI)组合对应的第一个会话的建立,或(DNN,S-NSSAI)组合对应的最后一个会话的终结,可以理解为事件标识信息用于指示检测(DNN,S-NSSAI)组合对应的第一个会话的建立,和/或(DNN,S-NSSAI)组合对应的最后一个会话的终结,或者理解为,事件标识信息用于指示当一个(DNN,S-NSSAI)组合对应的第一个PDU会话建立时通知AM PCF和/或当一个(DNN,S-NSSAI)组合对应的最后一个PDU会话终结时通知AM PCF。因此,当AMF确定该步骤1007a的更新请求消息中的(DNN,S-NSSAI)组合对应的第一个PDU会话建立,则AMF可以通知AM PCF第一PDU会话已经建立。当AMF确定该步骤1007a的更新请求消息中的(DNN,S-NSSAI)组合对应的最后一个PDU会话终结,则AMF可以通知AM PCF最后一个PDU会话已经终结。As another implementation method, if the above-mentioned
可选的,该更新请求消息可以是Npcf_AMPolicyControl_UpdateNotify消息。Optionally, the update request message may be an Npcf_AMPolicyControl_UpdateNotify message.
步骤1008a,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。In step 1008a, the AMF sends a notification message to the AM PCF. Correspondingly, the AM PCF receives the notification message.
作为一种实现方法,若步骤1007a中的事件标识信息是PDU会话的状态,当AMF自己判断出(DNN,S-NSSAI)组合对应的PDU会话已经建立,则执行该步骤1008a,且该步骤1008a的通知消息中包含指示信息,该指示信息指示PDU会话建立完成。可选的,当上述步骤1007a的更新请求消息中包括多个(DNN,S-NSSAI)组合时,则该步骤1008a的通知消息还包括建立的PDU会话对应的(DNN,S-NSSAI)组合。As an implementation method, if the event identification information in step 1007a is the state of the PDU session, when the AMF judges that the PDU session corresponding to the (DNN, S-NSSAI) combination has been established, then execute this step 1008a, and this step 1008a The notification message includes indication information, and the indication information indicates that the establishment of the PDU session is completed. Optionally, when the update request message in step 1007a includes multiple (DNN, S-NSSAI) combinations, the notification message in step 1008a also includes the (DNN, S-NSSAI) combination corresponding to the established PDU session.
作为另一种实现方法,若步骤1007a中的事件订阅信息包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对SMF控制的对应同一个(DNN,S-NSSAI)组合的多个PDU会话,当该多个PDU会话中的第一个PDU会话建立时通知AM PCF,以及当该多个PDU会话中的最后一个PDU会话终结(或释放)时通知AM PCF,当AMF自己判断出(DNN,S-NSSAI)组合对应的PDU会话已经建立,则执行该步骤1008a,且该步骤1008a的通知消息中包含指示信息,该指示信息指示PDU会话建立,进一步表示(DNN,S-NSSAI)组合对应的第一个PDU会话建立。As another implementation method, if the event subscription information in step 1007a includes indication information, the indication information is used to indicate the notification strategy, and the notification strategy is: multiple PDU sessions, notify the AM PCF when the first PDU session among the multiple PDU sessions is established, and notify the AM PCF when the last PDU session among the multiple PDU sessions is terminated (or released), when the AMF judges by itself If the PDU session corresponding to the (DNN, S-NSSAI) combination has been established, then step 1008a is performed, and the notification message in step 1008a includes indication information, which indicates that the PDU session is established, further indicating that (DNN, S-NSSAI ) The first PDU session corresponding to the combination is established.
作为另一种实现方法,若步骤1007a中的事件标识信息用于指示检测(DNN,S-NSSAI)组合对应的第一个会话的建立,和/或(DNN,S-NSSAI)组合对应的最后一个会话的终结,或者,事件标识信息用于指示当一个(DNN,S-NSSAI)组合对应的第一个PDU会话建立时通知AM PCF和/或当一个(DNN,S-NSSAI)组合对应的最后一个PDU会话终结时通知AM PCF,当AMF自己判断出(DNN,S-NSSAI)组合对应的PDU会话已经建立,则执行该步骤1008a,且该步骤1008a的通知消息中包含指示信息,该指示信息指示PDU会话建立,进一步表示(DNN,S-NSSAI)组合对应的第一个PDU会话建立。As another implementation method, if the event identification information in step 1007a is used to indicate the establishment of the first session corresponding to the detection (DNN, S-NSSAI) combination, and/or the last session corresponding to the (DNN, S-NSSAI) combination The termination of a session, or the event identification information is used to indicate that the AM PCF is notified when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established and/or when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established. Notify the AM PCF when the last PDU session is terminated. When the AMF judges that the PDU session corresponding to the (DNN, S-NSSAI) combination has been established, the step 1008a is executed, and the notification message of the step 1008a contains indication information, the indication The information indicates the establishment of the PDU session, and further indicates the establishment of the first PDU session corresponding to the (DNN, S-NSSAI) combination.
可选的,该步骤1008a的通知消息可以是Npcf_AMPolicyControl_Update消息。Optionally, the notification message in step 1008a may be an Npcf_AMPolicyControl_Update message.
作为一种实现方法,在步骤1008a之前,终端通过与网络侧网元(包括AMF)的交互,建立了该(DNN,S-NSSAI)组合对应的PDU会话,因此AMF可以根据保存的该PDU会话的上下文,确定(或者说:检测到)该(DNN,S-NSSAI)组合对应的该PDU会话已经建立。As an implementation method, before step 1008a, the terminal establishes the PDU session corresponding to the (DNN, S-NSSAI) combination by interacting with network elements (including AMF) on the network side, so AMF can context, determine (or say: detect) that the PDU session corresponding to the (DNN, S-NSSAI) combination has been established.
步骤1009a至步骤1014a,同上述步骤615至步骤620。Step 1009a to step 1014a are the same as step 615 to step 620 above.
可选的,如果AMF确定PDU会话的状态发生改变,则还可以执行以下步骤1015a至步骤1021a。Optionally, if the AMF determines that the state of the PDU session changes, it may also perform the following steps 1015a to 1021a.
步骤1015a,AMF向AM PCF发送通知消息。相应地AM PCF接收该通知消息。In step 1015a, the AMF sends a notification message to the AM PCF. Correspondingly, the AM PCF receives the notification message.
在某个时刻,AMF确定PDU会话终结,则可以执行该步骤1015a。比如,AMF可以收到来自终端的PDU会话终结/释放请求消息,则AMF可以根据该PDU会话终结/释放请求消息,确定该PDU会话终结。再比如,AMF收到来自SMF的通知消息,该通知消息指示该PDU会话终结,则AMF可以根据该通知消息,确定该PDU会话终结。At a certain moment, the AMF determines that the PDU session is terminated, and then this step 1015a can be executed. For example, the AMF may receive a PDU session termination/release request message from the terminal, and then the AMF may determine that the PDU session is terminated according to the PDU session termination/release request message. For another example, when the AMF receives a notification message from the SMF indicating that the PDU session is terminated, the AMF may determine that the PDU session is terminated according to the notification message.
作为一种实现方法,若步骤1007a中的事件标识信息是PDU会话的状态,则该步骤1015a的通知消息中包含指示信息,该指示信息指示PDU会话终结。可选的,当上述步骤1007a的更新请求消息中包括多个(DNN,S-NSSAI)组合时,则该步骤1015a的通知消息还包括建立的PDU会话对应的(DNN,S-NSSAI)组合。As an implementation method, if the event identification information in step 1007a is the state of the PDU session, the notification message in step 1015a includes indication information, and the indication information indicates the termination of the PDU session. Optionally, when the update request message in step 1007a includes multiple (DNN, S-NSSAI) combinations, the notification message in step 1015a also includes the (DNN, S-NSSAI) combination corresponding to the established PDU session.
作为另一种实现方法,若步骤1007a中的事件订阅信息包含指示信息,该指示信息用于指示通知策略,该通知策略为:针对SMF控制的对应同一个(DNN,S-NSSAI)组合的多个PDU会话,当该多个PDU会话中的第一个PDU会话建立时通知AM PCF,以及当该多个PDU会话中的最后一个PDU会话终结(或释放)时通知AM PCF,则该步骤1015a的通知消息中包含指示信息,该指示信息指示PDU会话终结,进一步表示(DNN,S-NSSAI)组合对应的第一个PDU会话建立。As another implementation method, if the event subscription information in step 1007a includes indication information, the indication information is used to indicate the notification strategy, and the notification strategy is: multiple PDU sessions, notify AM PCF when the first PDU session in the multiple PDU sessions is set up, and notify AM PCF when the last PDU session in the multiple PDU sessions terminates (or releases), then this step 1015a The notification message includes indication information, which indicates the termination of the PDU session, and further indicates the establishment of the first PDU session corresponding to the (DNN, S-NSSAI) combination.
作为另一种实现方法,若步骤1007a中的事件标识信息用于指示检测(DNN,S-NSSAI)组合对应的第一个会话的建立,和/或(DNN,S-NSSAI)组合对应的最后一个会话的终结,或者,事件标识信息用于指示当一个(DNN,S-NSSAI)组合对应的第一个PDU会话建立时通知AM PCF和/或当一个(DNN,S-NSSAI)组合对应的最后一个PDU会话终结时通知AM PCF,则该步骤1015a的通知消息中包含指示信息,该指示信息指示PDU会话终结,进一步表示(DNN,S-NSSAI)组合对应的最后一个PDU终结。As another implementation method, if the event identification information in step 1007a is used to indicate the establishment of the first session corresponding to the detection (DNN, S-NSSAI) combination, and/or the last session corresponding to the (DNN, S-NSSAI) combination The termination of a session, or the event identification information is used to indicate that the AM PCF is notified when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established and/or when the first PDU session corresponding to a (DNN, S-NSSAI) combination is established. When the last PDU session is terminated, the AM PCF is notified, and the notification message in step 1015a includes indication information, which indicates the termination of the PDU session, and further indicates the termination of the last PDU corresponding to the (DNN, S-NSSAI) combination.
可选的,该步骤1015a的通知消息可以是Npcf_AMPolicyControl_Update消息。Optionally, the notification message in step 1015a may be an Npcf_AMPolicyControl_Update message.
步骤1016a至步骤1021a,同上述步骤622至步骤627。Step 1016a to step 1021a are the same as step 622 to step 627 above.
根据上述方案,AM PCF从AMF获取到PDU会话的状态,从而触发AM PCF根据来自AF的应用层信息更新AM策略。该方案中,AM PCF不需要向BSF订阅SM PCF的绑定信息,可以避免AM PCF在不知道终端的IP地址的情况下,向网络中的每个BSF订阅SM PCF的绑定信息,从而可以减少信令开销和资源浪费。According to the above solution, the AM PCF obtains the status of the PDU session from the AMF, thereby triggering the AM PCF to update the AM policy according to the application layer information from the AF. In this solution, the AM PCF does not need to subscribe the binding information of the SM PCF to the BSF, 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.
可以理解的是,为了实现上述实施例中功能,AF和基站包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。It can be understood that, in order to implement the functions in the foregoing embodiments, the AF and the base station include hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software with reference to the units and method steps of the examples described in the embodiments disclosed in the present application. Whether a certain function is executed by hardware or computer software drives the hardware depends on the specific application scenario and design constraints of the technical solution.
图11和图12为本申请的实施例提供的可能的通信装置的结构示意图。这些通信装置可以用于实现上述方法实施例中第一PCF、第二PCF、UDR、AMF或SMF的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该通信装置可以是第一PCF、第二PCF、UDR、AMF或SMF,也可以是应用于第一PCF、第二PCF、UDR、AMF或SMF的模块(如芯片)。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. In the embodiment of the present application, 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 ).
如图11所示,通信装置1100包括处理单元1110和收发单元1120。通信装置1100用于实现上述图5(a)、图5(b)、图5(c)、图6至图10、图10(a)所示的方法实施例中第一PCF、第二PCF、UDR、AMF或SMF的功能。As shown in FIG. 11 , 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 and the second PCF in the method embodiments shown in Fig. 5(a), Fig. 5(b), Fig. 5(c), Fig. 6 to Fig. 10 and Fig. 10(a) , UDR, AMF or SMF functions.
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中第一PCF的功能时:收发单元1120,用于向数据管理网元发送请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址,该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;接收来自第二策略控制网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。When the communication device 1100 is used to realize the function of the first PCF in the method embodiment shown in FIG. 5(a), FIG. 6 or FIG. 7: 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 element is used to formulate the mobility management policy, and the second policy control network element is used to formulate the session management policy.
作为一种可能的实现方法,处理单元1110,具体用于当该终端的会话的状态为会话建立或该终端的应用的状态为应用开始,该第一策略控制网元根据来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, 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.
作为一种可能的实现方法,收发单元1120,还用于接收来自该数据管理网元的响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。As a possible implementation method, 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.
作为一种可能的实现方法,收发单元1120,还用于向应用功能网元发送该移动性管理策略。As a possible implementation method, the transceiver unit 1120 is further configured to send the mobility management policy to the application function network element.
作为一种可能的实现方法,收发单元1120,还用于接收来自移动性管理网元的第三指示信息,该第三指示信息用于指示该终端使用的移动性管理策略是根据应用层信息确定的;该第一策略控制网元根据该第三指示信息,延迟确定移动性管理策略;其中,该第一策略控制网元是该终端发生移动之后为该终端提供服务的策略控制网元。As a possible implementation method, 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.
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中第二PCF的功能时:收发单元1120,用于接收来自数据管理网元的事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址;处理单元1110,用于根据该事件标识信息,检测终端的会话的状态或终端的应用的状态;收发单元1120,还用于根据该通知地址,向该第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中,该第一策略控制网元用于制定移动性管理策略,第二策略控制网元用于制定会话管理策略。When the communication device 1100 is used to realize the function of the second PCF in the method embodiment shown in FIG. 5(a), FIG. 6 or FIG. 7: 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.
作为一种可能的实现方法,收发单元1120,用于向该数据管理网元发送查询请求消息,该查询请求消息用于请求查询该终端的签约数据;该第二策略控制网元接收来自该数据管理网元的查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
作为一种可能的实现方法,收发单元1120,用于向该数据管理网元发送签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;接收来自该数据管理网元的通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
当通信装置1100用于实现图5(a)、图6或图7所示的方法实施例中UDR的功能时:收发单元1120,用于接收来自第一策略控制网元的请求消息,该请求消息中包含终端的标识信息、事件标识信息和通知地址,该事件标识信息用于指示检测会话的状态或应用的状态,该通知地址是用于接收该事件标识信息对应的事件通知的该第一策略控制网元的地址;该请求消息用于请求该数据管理网元保存该事件标识信息和该通知地址;以及向第二策略控制网元发送该事件标识信息和该通知地址;其中,该第一策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略。When the communication device 1100 is used to implement the UDR function in the method embodiment shown in FIG. 5(a), FIG. 6 or FIG. 7: 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.
作为一种可能的实现方法,收发单元1120,用于接收来自该第二策略控制网元的查询请求消息,该查询请求消息用于请求查询该终端的签约数据;向该第二策略控制网元发送查询响应消息,该查询响应消息中包括该终端的签约数据,该签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
作为一种可能的实现方法,收发单元1120,用于接收来自该第二策略控制网元的签约数据订阅请求消息,该签约数据订阅请求消息用于请求该终端的签约数据改变的通知;向该第二策略控制网元发送通知消息,该通知消息中包括该终端的改变后的签约数据,该改变后的签约数据中包含该事件标识信息和该通知地址。As a possible implementation method, 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.
作为一种可能的实现方法,收发单元1120,用于向该第一策略控制网元发送响应消息,该响应消息中包括第一标识信息,该第一标识信息是该事件标识信息及该通知地址的标识信息,该第一标识信息用于对该事件标识信息和/或该通知地址进行修改或删除。As a possible implementation method, 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.
当通信装置1100用于实现图5(b)、图8或图9所示的方法实施例中第一PCF的功能时:收发单元1120,用于向数据管理网元发送请求消息,该请求消息中包含第一标识信息和第一通知地址,该第一标识信息是该数据管理网元保存的事件标识信息及第二通知地址的标识信息,该事件标识信息用于指示检测会话的状态或应用的状态,该第一通知地址是用于接收该事件标识信息对应的事件通知的第一策略控制网元的地址,该第二通知地址是用于接收该事件标识信息对应的事件通知的第三策略控制网元的地址,该请求消息用于请求该数据管理网元将该第二通知地址更新为该第一通知地址;以及接收来自第二策略控制网元的通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据从该数据管理网元获取的该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元和该第三策略控制网元用于制定移动性管理策略,该第二策略控制网元用于制定会话管理策略,该第一策略控制网元是该终端移动后为该终端提供服务的策略控制网元,该第三策略控制网元是该终端移动前为该终端提供服务的策略控制网元。When the communication device 1100 is used to realize the function of the first PCF in the method embodiment shown in FIG. 5(b), FIG. 8 or FIG. 9: 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 terminal is detected according to the event identification information obtained from the data management network element; the processing unit 1110 is configured to The state of the session of the terminal or the state of the application of the terminal determines the mobility management policy; wherein, the first policy control network element and the third policy control network element are used to formulate a mobility management policy, and the second policy control network The first policy control network element is the policy control network element that provides services for the terminal after the terminal moves, and the third policy control network element is the policy control network element that provides services for the terminal before the terminal moves Control network elements.
当通信装置1100用于实现图5(c)、图10或图10(a)所示的方法实施例中第一PCF的功能时:收发单元1120,用于向移动性管理网元发送第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;以及,接收来自该移动性管理网元或该会话对应的会话管理网元的通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态,该终端的会话的状态或该终端的应用的状态是根据该事件标识信息检测得到的;处理单元1110,用于根据该终端的会话的状态或该终端的应用的状态确定移动性管理策略;其中,该第一策略控制网元用于制定移动性管理策略。When the communication device 1100 is used to realize the function of the first PCF in the method embodiment shown in FIG. 5(c), FIG. 10 or FIG. 10(a): the transceiver unit 1120 is configured to send the first A request message, the first request message includes event identification information, the event identification information is used to indicate the session status of the detection terminal or the application status of the terminal, and the first request message is used to request event notification corresponding to the event identification information and, receiving a notification message from the mobility management network element or the session management network element corresponding to the session, where 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 is detected according to the event identification information; the processing unit 1110 is configured to determine a 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 control network Elements are used to formulate mobility management policies.
作为一种可能的实现方法,处理单元1110,具体用于当该会话的状态为会话建立或该应用的状态为应用开始,根据该来自应用功能网元的应用层信息确定该移动性管理策略。As a possible implementation method, the processing unit 1110 is specifically configured to determine the mobility management policy according to the application layer information from the application function network element when the state of the session is session establishment or the state of the application is application start.
作为一种可能的实现方法,收发单元1120,用于向应用功能网元发送该移动性管理策略。As a possible implementation method, the transceiver unit 1120 is configured to send the mobility management policy to the application function network element.
当通信装置1100用于实现图5(c)或图10所示的方法实施例中SMF的功能时:收发单元1120,用于接收来自移动性管理网元的第二请求消息,该第二请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第二请求消息用于请求该事件标识信息对应的事件通知;处理单元1110,用于根据该事件标识信息,检测该终端的会话的状态或该终端的应用的状态;收发单元1120,还用于向该移动性管理网元或该终端对应的第一策略控制网元发送通知消息,该通知消息中包含该终端的会话的状态或该终端的应用的状态;其中该第一策略控制网元为用于制定移动性管理策略的策略控制网元。When the communication device 1100 is used to implement the function of SMF in the method embodiment shown in FIG. 5(c) or FIG. 10: 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.
当通信装置1100用于实现图5(c)、图10或图10(a)所示的方法实施例中AMF的功能时:收发单元1120,用于接收来自第一策略控制网元的第一请求消息,该第一请求消息中包含事件标识信息,该事件标识信息用于指示检测终端的会话的状态或终端的应用的状态,该第一请求消息用于请求该事件标识信息对应的事件通知;以及,在处理单元1110检测到该事件标识信息对应的事件后,向该第一策略控制网元发送通知消息,该通知消息中包含终端的会话的状态或终端的应用的状态,终端的会话的状态或终端的应用的状态是根据事件标识信息检测得到的;处理单元1110,用于检测该事件标识信息对应的事件,其中,该第一策略控制网元用于制定移动性管理策略。When the communication device 1100 is used to implement the AMF function in the method embodiment shown in FIG. 5(c), FIG. 10 or FIG. 10(a): the transceiver unit 1120 is configured to receive the first policy control network element from the first A request message, the first request message includes event identification information, the event identification information is used to indicate the session status of the detection terminal or the application status of the terminal, and the first request message is used to request event notification corresponding to the event identification information and, after the processing unit 1110 detects 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 session 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; the processing unit 1110 is configured to detect the event corresponding to the event identification information, wherein the first policy control network element is used to formulate a mobility management policy.
作为一种可能的实现方法,收发单元1120,用于在处理单元1110检测到该终端的与该(DNN,S-NSSAI)组合对应的会话建立后,向该第一策略控制网元发送该通知消息,该通知消息中包含会话的状态,该会话的状态为会话建立。As a possible implementation method, 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 state of the session, and the state of the session is session establishment.
作为一种可能的实现方法,收发单元1120,用于在处理单元1110检测到该终端的与该(DNN,S-NSSAI)组合对应的会话终结后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话终结。As a possible implementation method, the transceiver unit 1120 is configured to send the first policy control network element to the first policy control network element after the processing unit 1110 detects that the terminal's session corresponding to the (DNN, S-NSSAI) combination ends. A notification message, the first notification message includes the state of the session, and the state of the session is session termination.
作为一种可能的实现方法,收发单元1120,用于在处理单元1110检测到该终端的与该(DNN,S-NSSAI)组合对应的第一个会话建立后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话建立。As a possible implementation method, the transceiver unit 1120 is configured to, after the processing unit 1110 detects that the terminal's first session corresponding to the (DNN, S-NSSAI) combination is established, send The first notification message is sent, the first notification message includes the state of the session, and the state of the session is session establishment.
作为一种可能的实现方法,收发单元1120,用于在处理单元1110检测到该终端的与该(DNN,S-NSSAI)组合对应的最后一个会话终结后,向该第一策略控制网元发送该第一通知消息,该第一通知消息中包含该会话的状态,该会话的状态为会话终结。As a possible implementation method, the transceiver unit 1120 is configured to, after the processing unit 1110 detects that the terminal's last session corresponding to the (DNN, S-NSSAI) combination ends, send The first notification message includes the state of the session, and the state of the session is session termination.
作为一种可能的实现方法,收发单元1120,用于向会话管理网元发送第二请求消息,该第二请求消息中包含该事件标识信息,该第二请求消息用于请求该事件标识信息对应的事件通知;接收来自该会话管理网元的通知消息,该通知消息中包含该终端的应用的状态或该终端的会话的状态;向该第一策略控制网元发送该通知消息,该通知消息中包含终端的应用的状态或该终端的会话的状态。As a possible implementation method, 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.
有关上述处理单元1110和收发单元1120更详细的描述可以直接参考图5(a)、图5(b)、图5(c)、图6至图10所示的方法实施例中相关描述直接得到,这里不加赘述。A more detailed description of the 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.
如图12所示,通信装置1200包括处理器1210和接口电路1220。处理器1210和接口电路1220之间相互耦合。可以理解的是,接口电路1220可以为收发器或输入输出接口。可选的,通信装置1200还可以包括存储器1230,用于存储处理器1210执行的指令或存储处理器1210运行指令所需要的输入数据或存储处理器1210运行指令后产生的数据。As shown in FIG. 12 , 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. It can be understood that the interface circuit 1220 may be a transceiver or an input/output interface. Optionally, 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.
当通信装置1200用于实现图5(a)、图5(b)、图5(c)、图6至图10所示的方法时,处理器1210用于实现上述处理单元1110的功能,接口电路1220用于实现上述收发单元1120的功能。When the communication device 1200 is used to implement the methods shown in FIG. 5(a), FIG. 5(b), FIG. 5(c), and FIG. 6 to FIG. The circuit 1220 is used to realize the functions of the transceiver unit 1120 described above.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(CentralProcessing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiment of the present application may be a central processing unit (Central Processing Unit, CPU), and may also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器、可擦除可编程只读存储器、电可擦除可编程只读存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于基站或终端中。当然,处理器和存储介质也可以作为分立组件存在于基站或终端中。The method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only Memory, registers, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC can be located in the base station or the terminal. Certainly, the processor and the storage medium may also exist in the base station or the terminal as discrete components.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、基站、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘;还可以是半导体介质,例如,固态硬盘。该计算机可读存储介质可以是易失性或非易失性存储介质,或可包括易失性和非易失性两种类型的存储介质。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a base station, user equipment or other programmable devices. The computer program or instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be downloaded from a website, computer, A server or data center transmits to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; or it may be a semiconductor medium, such as a solid-state hard disk. The computer readable storage medium may be a volatile or a nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the contextual objects are an "or" relationship; in the formulas of this application, the character "/" indicates that the contextual objects are a "division" Relationship.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/097709 WO2023005439A1 (en) | 2021-07-30 | 2022-06-08 | Communication method, communication apparatus, and communication system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110875024 | 2021-07-30 | ||
| CN2021108750241 | 2021-07-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115696299A true CN115696299A (en) | 2023-02-03 |
Family
ID=85060148
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111364836.6A Pending CN115696299A (en) | 2021-07-30 | 2021-11-17 | Communication method, communication device and communication system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115696299A (en) |
| WO (2) | WO2023005440A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180270782A1 (en) * | 2017-03-20 | 2018-09-20 | Samsung Electronics Co., Ltd. | Method for supporting efficient pdu session activation and deactivation in cellular networks |
| CN110035424A (en) * | 2018-01-12 | 2019-07-19 | 华为技术有限公司 | Policy-related (noun) communication means, device and system |
| CN110366216A (en) * | 2018-04-10 | 2019-10-22 | 华为技术有限公司 | Communication method and communication device |
| 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 (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110048867A (en) * | 2018-01-15 | 2019-07-23 | 中兴通讯股份有限公司 | A kind of policy control functions management method and device |
| CN110166983B (en) * | 2018-02-11 | 2021-11-19 | 中国移动通信有限公司研究院 | Event subscription method and network element equipment |
| CN112449399B (en) * | 2019-09-02 | 2023-03-10 | 华为技术有限公司 | A communication method, device and system |
| CN114788316A (en) * | 2019-11-08 | 2022-07-22 | Lg 电子株式会社 | Network control method for sending UE strategy |
-
2021
- 2021-11-17 CN CN202111364836.6A patent/CN115696299A/en active Pending
-
2022
- 2022-06-08 WO PCT/CN2022/097710 patent/WO2023005440A1/en not_active Ceased
- 2022-06-08 WO PCT/CN2022/097709 patent/WO2023005439A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180270782A1 (en) * | 2017-03-20 | 2018-09-20 | Samsung Electronics Co., Ltd. | Method for supporting efficient pdu session activation and deactivation in cellular networks |
| CN110035424A (en) * | 2018-01-12 | 2019-07-19 | 华为技术有限公司 | Policy-related (noun) communication means, device and system |
| CN110366216A (en) * | 2018-04-10 | 2019-10-22 | 华为技术有限公司 | Communication method and communication device |
| 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)
| Title |
|---|
| CHINA MOBILE: ""S2-2104617 Updates of Processing AF requests to influence AM policies procedure"", 《SA WG2 MEETING #S2-145E S2-2104617》, 10 May 2021 (2021-05-10), pages 4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2023005439A1 (en) | 2023-02-02 |
| WO2023005440A1 (en) | 2023-02-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113543165B (en) | Communication method, device and system | |
| WO2022237516A1 (en) | Wireless communication method and communication apparatus | |
| CN114071649A (en) | Method and device for accessing local network | |
| WO2023020046A1 (en) | Communication method and communication apparatus | |
| WO2023016298A1 (en) | Service awareness method, communication apparatus, and communication system | |
| WO2023231450A1 (en) | Time synchronization method and communication apparatus | |
| CN115915196A (en) | A link state detection method, communication device and communication system | |
| WO2023134431A1 (en) | Timing method, communication apparatus, and communication system | |
| WO2021218244A1 (en) | Communication method, apparatus and system | |
| WO2024208017A1 (en) | Communication method, communication apparatus, and communication system | |
| TW202337182A (en) | Method for managing pin, communication apparatus, and communication system | |
| WO2021081712A1 (en) | Dns query method and apparatus | |
| CN113727329B (en) | Communication method and device | |
| WO2023005439A1 (en) | Communication method, communication apparatus, and communication system | |
| CN116889005A (en) | Information transmission, information acquisition methods, devices, equipment and storage media | |
| US20250267612A1 (en) | Communication method, communication apparatus, and communication system | |
| WO2023082858A1 (en) | Method for determining mobility management policy, communication apparatus, and communication system | |
| WO2023071320A1 (en) | Method for ensuring voice service and communication apparatus | |
| WO2025102808A1 (en) | Communication method, communication apparatus, and communication system | |
| WO2025145751A1 (en) | Communication method, communication apparatus, and communication system | |
| WO2025086786A1 (en) | Communication method, communication apparatus, and communication system | |
| WO2025081940A1 (en) | Communication method, communication apparatus and communication system | |
| WO2025086788A1 (en) | Communication method, communication apparatus and communication system | |
| CN119450369A (en) | Communication method and device | |
| WO2023197737A1 (en) | Message sending method, pin management method, communication apparatus, and communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |
